@castlabs/ui 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/castlabs-ui-editor.common.js +50 -50
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +51 -51
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +3 -3
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +3 -3
- package/dist/castlabs-ui.umd.js +7 -7
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClAlert/style.scss +1 -0
- package/src/components/ClButton/style.scss +6 -3
- package/src/components/ClCard/style.variables.scss +1 -1
- package/src/components/ClDropdown/style.scss +1 -3
- package/src/components/ClFooter/style.scss +1 -2
- package/src/components/ClIconotron/style.scss +1 -1
- package/src/components/form/ClFieldFile/style.scss +3 -1
- package/src/components/form/ClFieldGroup/style.scss +1 -1
- package/src/components/modal/ClModal/style.scss +2 -2
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +11 -3
- package/src/components/navigation/ClNavTop/style.scss +2 -7
- package/src/components/section/ClSectionHeadline/style.scss +1 -1
- package/src/components/table/ClTableCel/ID/style.scss +2 -3
- package/src/components/table/ClTableCel/Links/style.scss +3 -3
- package/src/components/text/ClCopy/style.scss +7 -6
- package/src/components/text/ClHashtag/style.scss +1 -0
- package/src/components/text/ClLinkExternal/style.scss +42 -34
- package/src/components/text/ClPlan/style.scss +1 -0
- package/src/components/text/ClRole/style.scss +1 -0
- package/src/styles/abstracts/app.scss +1 -0
- package/src/styles/abstracts/color.scss +21 -37
- package/src/styles/abstracts/fontawesome.scss +16 -6
- package/src/styles/abstracts/form.scss +1 -8
- package/src/styles/abstracts/typography.scss +84 -65
- package/src/styles/layout/color.scss +12 -7
- package/src/styles/layout/typography.scss +1 -1
- /package/dist/fonts/{DM_Mono_500.3f958442.woff2 → DM_Mono_500.03f95844.woff2} +0 -0
- /package/dist/fonts/{fa-brands-400.5faf8763.woff2 → fa-brands-400.05faf876.woff2} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function wa(){return Zs||(Zs=1,function(){var e=function(v,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(v,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(v){var f=typeof v;return v!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,m=p||b||Function("return this")(),u=m,N=function(){return u.Date.now()},U=/\s/,ae=function(v){for(var f=v.length;f--&&U.test(v.charAt(f)););return f},we=/^\s+/,Se=function(v){return v&&v.slice(0,ae(v)+1).replace(we,"")},bt=m.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(v){var f=Jn.call(v,ne),h=v[ne];try{v[ne]=void 0;var l=!0}catch{}var y=Vn.call(v);return l&&(f?v[ne]=h:delete v[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(v){return oe.call(v)},ei=bt?bt.toStringTag:void 0,Oi=function(v){return v==null?v===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(v)?Zn(v):Mn(v)},Di=function(v){return v!=null&&typeof v=="object"},zn=Se,Ln=c,ti=function(v){return typeof v=="symbol"||Di(v)&&Oi(v)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(v){if(typeof v=="number")return v;if(ti(v))return NaN;if(Ln(v)){var f=typeof v.valueOf=="function"?v.valueOf():v;v=Ln(f)?f+"":f}if(typeof v!="string")return v===0?v:+v;v=zn(v);var h=ni.test(v);return h||ii.test(v)?oi(v.slice(2),h?2:8):Vi.test(v)?NaN:+v},Mi=Math.max,ri=Math.min,_=function(v,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof v!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=v.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de}(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(v,f,h){var l=!0,y=!0;if(typeof v!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(v,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(v){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(v[y]=f[y]);return v},se.apply(this,arguments)};function Ye(v){return v&&v.ownerDocument&&v.ownerDocument.defaultView?v.ownerDocument.defaultView:window}function ge(v){return v&&v.ownerDocument?v.ownerDocument:document}var Ct=function(v){return Array.prototype.reduce.call(v,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,function(T,D){return D.toUpperCase()});switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f},{})};function S(v,f){var h;v&&(h=v.classList).add.apply(h,f.split(" "))}function it(v,f){v&&f.split(" ").forEach(function(h){v.classList.remove(h)})}function Pn(v){return".".concat(v.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var v=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),v.appendChild(f);var h=f.getBoundingClientRect().right;v.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)});var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=function(){function v(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=v.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},v.defaultOptions),h),this.classNames=se(se({},v.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return v.getRtlHelpers=function(){if(v.rtlHelpers)return v.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=v.getOffset(h),T=v.getOffset(l);h.scrollLeft=-999;var D=v.getOffset(l);return document.body.removeChild(h),v.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},v.rtlHelpers},v.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},v.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},v.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=v.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},v.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},v.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){y&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){y=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},v.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},v.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},v.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=v.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=v.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},v.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},v.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},v.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},v.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},v.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},v.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},v.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},v.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},v.prototype.getContentElement=function(){return this.contentEl},v.prototype.getScrollElement=function(){return this.contentWrapperEl},v.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},v.prototype.unMount=function(){this.removeListeners()},v.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},v.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(y){return l.call(y,h)})[0]},v.rtlHelpers=null,v.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,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",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},v.getOptions=Li,v.helpers=zi,v}(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=function(v){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=v.apply(this,h)||this;return f.instances.set(h[0],y),y}return function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)}(f,v),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(T.classNames.wrapper)}).length){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"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,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),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))}))}),l.removedNodes.forEach(function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())}))})})},f.instances=new WeakMap,f}(kt);return ai&&ci.initHtmlApi(),ci}()),Js}wa();const Sa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.3.0"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Na(e,s,c,p,b,m){return n.toDisplayString(e.VITE_APP_VERSION())}const Ta=B(Sa,[["render",Na]]),Aa=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Ba(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Aa,[["render",Ba]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function wa(){return Zs||(Zs=1,(function(){var e=function(v,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(v,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(v){var f=typeof v;return v!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,m=p||b||Function("return this")(),u=m,N=function(){return u.Date.now()},U=/\s/,ae=function(v){for(var f=v.length;f--&&U.test(v.charAt(f)););return f},we=/^\s+/,Se=function(v){return v&&v.slice(0,ae(v)+1).replace(we,"")},bt=m.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(v){var f=Jn.call(v,ne),h=v[ne];try{v[ne]=void 0;var l=!0}catch{}var y=Vn.call(v);return l&&(f?v[ne]=h:delete v[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(v){return oe.call(v)},ei=bt?bt.toStringTag:void 0,Oi=function(v){return v==null?v===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(v)?Zn(v):Mn(v)},Di=function(v){return v!=null&&typeof v=="object"},zn=Se,Ln=c,ti=function(v){return typeof v=="symbol"||Di(v)&&Oi(v)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(v){if(typeof v=="number")return v;if(ti(v))return NaN;if(Ln(v)){var f=typeof v.valueOf=="function"?v.valueOf():v;v=Ln(f)?f+"":f}if(typeof v!="string")return v===0?v:+v;v=zn(v);var h=ni.test(v);return h||ii.test(v)?oi(v.slice(2),h?2:8):Vi.test(v)?NaN:+v},Mi=Math.max,ri=Math.min,_=function(v,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof v!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=v.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,(function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de})(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(v,f,h){var l=!0,y=!0;if(typeof v!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(v,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(v){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(v[y]=f[y]);return v},se.apply(this,arguments)};function Ye(v){return v&&v.ownerDocument&&v.ownerDocument.defaultView?v.ownerDocument.defaultView:window}function ge(v){return v&&v.ownerDocument?v.ownerDocument:document}var Ct=function(v){return Array.prototype.reduce.call(v,(function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,(function(T,D){return D.toUpperCase()}));switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f}),{})};function S(v,f){var h;v&&(h=v.classList).add.apply(h,f.split(" "))}function it(v,f){v&&f.split(" ").forEach((function(h){v.classList.remove(h)}))}function Pn(v){return".".concat(v.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var v=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),v.appendChild(f);var h=f.getBoundingClientRect().right;v.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",(function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)}));var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=(function(){function v(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=v.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout((function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null}))},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},v.defaultOptions),h),this.classNames=se(se({},v.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return v.getRtlHelpers=function(){if(v.rtlHelpers)return v.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=v.getOffset(h),T=v.getOffset(l);h.scrollLeft=-999;var D=v.getOffset(l);return document.body.removeChild(h),v.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},v.rtlHelpers},v.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},v.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},v.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=v.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},v.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},v.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T((function(){y&&l.requestAnimationFrame((function(){h.recalculate()}))})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame((function(){y=!0}))}this.mutationObserver=new l.MutationObserver((function(){l.requestAnimationFrame((function(){h.recalculate()}))})),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},v.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},v.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},v.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=v.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=v.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},v.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},v.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},v.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},v.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},v.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},v.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},v.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},v.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},v.prototype.getContentElement=function(){return this.contentEl},v.prototype.getScrollElement=function(){return this.contentWrapperEl},v.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},v.prototype.unMount=function(){this.removeListeners()},v.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},v.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,(function(y){return l.call(y,h)}))[0]},v.rtlHelpers=null,v.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,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",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},v.getOptions=Li,v.helpers=zi,v})(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=(function(v){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=v.apply(this,h)||this;return f.instances.set(h[0],y),y}return(function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)})(f,v),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))}))},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,(function(K){return K.classList.contains(T.classNames.wrapper)})).length){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"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,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),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach((function(l){l.addedNodes.forEach((function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach((function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))})))})),l.removedNodes.forEach((function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),(function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())})))}))}))},f.instances=new WeakMap,f})(kt);return ai&&ci.initHtmlApi(),ci})()),Js}wa();const Sa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.4.0"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Na(e,s,c,p,b,m){return n.toDisplayString(e.VITE_APP_VERSION())}const Ta=B(Sa,[["render",Na]]),Aa=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Ba(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Aa,[["render",Ba]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
2
2
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
3
3
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
|
-
*/var Oa=Ti.exports,er;function Da(){return er||(er=1,function(e,s){(function(c,p){e.exports=p()})(Oa,function(){const c=new Map,p={set(o,t,i){c.has(o)||c.set(o,new Map);const r=c.get(o);r.has(t)||r.size===0?r.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(o,t)=>c.has(o)&&c.get(o).get(t)||null,remove(o,t){if(!c.has(o))return;const i=c.get(o);i.delete(t),i.size===0&&c.delete(o)}},b="transitionend",m=o=>(o&&window.CSS&&window.CSS.escape&&(o=o.replace(/#([^\s"#']+)/g,(t,i)=>`#${CSS.escape(i)}`)),o),u=o=>o==null?`${o}`:Object.prototype.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase(),N=o=>{o.dispatchEvent(new Event(b))},U=o=>!(!o||typeof o!="object")&&(o.jquery!==void 0&&(o=o[0]),o.nodeType!==void 0),ae=o=>U(o)?o.jquery?o[0]:o:typeof o=="string"&&o.length>0?document.querySelector(m(o)):null,we=o=>{if(!U(o)||o.getClientRects().length===0)return!1;const t=getComputedStyle(o).getPropertyValue("visibility")==="visible",i=o.closest("details:not([open])");if(!i)return t;if(i!==o){const r=o.closest("summary");if(r&&r.parentNode!==i||r===null)return!1}return t},Se=o=>!o||o.nodeType!==Node.ELEMENT_NODE||!!o.classList.contains("disabled")||(o.disabled!==void 0?o.disabled:o.hasAttribute("disabled")&&o.getAttribute("disabled")!=="false"),bt=o=>{if(!document.documentElement.attachShadow)return null;if(typeof o.getRootNode=="function"){const t=o.getRootNode();return t instanceof ShadowRoot?t:null}return o instanceof ShadowRoot?o:o.parentNode?bt(o.parentNode):null},nt=()=>{},Xe=o=>{o.offsetHeight},Jn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Vn=[],ne=()=>document.documentElement.dir==="rtl",me=o=>{var t;t=()=>{const i=Jn();if(i){const r=o.NAME,a=i.fn[r];i.fn[r]=o.jQueryInterface,i.fn[r].Constructor=o,i.fn[r].noConflict=()=>(i.fn[r]=a,o.jQueryInterface)}},document.readyState==="loading"?(Vn.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Vn)i()}),Vn.push(t)):t()},oe=(o,t=[],i=o)=>typeof o=="function"?o.call(...t):i,Zn=(o,t,i=!0)=>{if(!i)return void oe(o);const r=(g=>{if(!g)return 0;let{transitionDuration:C,transitionDelay:k}=window.getComputedStyle(g);const E=Number.parseFloat(C),w=Number.parseFloat(k);return E||w?(C=C.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(C)+Number.parseFloat(k))):0})(t)+5;let a=!1;const d=({target:g})=>{g===t&&(a=!0,t.removeEventListener(b,d),oe(o))};t.addEventListener(b,d),setTimeout(()=>{a||N(t)},r)},Mn=(o,t,i,r)=>{const a=o.length;let d=o.indexOf(t);return d===-1?!i&&r?o[a-1]:o[0]:(d+=i?1:-1,r&&(d=(d+a)%a),o[Math.max(0,Math.min(d,a-1))])},ei=/[^.]*(?=\..*)\.|.*/,Oi=/\..*/,Di=/::\d+$/,zn={};let Ln=1;const ti={mouseenter:"mouseover",mouseleave:"mouseout"},Vi=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 ni(o,t){return t&&`${t}::${Ln++}`||o.uidEvent||Ln++}function ii(o){const t=ni(o);return o.uidEvent=t,zn[t]=zn[t]||{},zn[t]}function oi(o,t,i=null){return Object.values(o).find(r=>r.callable===t&&r.delegationSelector===i)}function si(o,t,i){const r=typeof t=="string",a=r?i:t||i;let d=ri(o);return Vi.has(d)||(d=o),[r,a,d]}function yt(o,t,i,r,a){if(typeof t!="string"||!o)return;let[d,g,C]=si(t,i,r);t in ti&&(g=(V=>function(O){if(!O.relatedTarget||O.relatedTarget!==O.delegateTarget&&!O.delegateTarget.contains(O.relatedTarget))return V.call(this,O)})(g));const k=ii(o),E=k[C]||(k[C]={}),w=oi(E,g,d?i:null);if(w)return void(w.oneOff=w.oneOff&&a);const $=ni(g,t.replace(ei,"")),z=d?function(A,V,O){return function M(R){const Y=A.querySelectorAll(V);for(let{target:F}=R;F&&F!==this;F=F.parentNode)for(const x of Y)if(x===F)return In(R,{delegateTarget:F}),M.oneOff&&_.off(A,R.type,V,O),O.apply(F,[R])}}(o,i,g):function(A,V){return function O(M){return In(M,{delegateTarget:A}),O.oneOff&&_.off(A,M.type,V),V.apply(A,[M])}}(o,g);z.delegationSelector=d?i:null,z.callable=g,z.oneOff=a,z.uidEvent=$,E[$]=z,o.addEventListener(C,z,d)}function _t(o,t,i,r,a){const d=oi(t[i],r,a);d&&(o.removeEventListener(i,d,!!a),delete t[i][d.uidEvent])}function Mi(o,t,i,r){const a=t[i]||{};for(const[d,g]of Object.entries(a))d.includes(r)&&_t(o,t,i,g.callable,g.delegationSelector)}function ri(o){return o=o.replace(Oi,""),ti[o]||o}const _={on(o,t,i,r){yt(o,t,i,r,!1)},one(o,t,i,r){yt(o,t,i,r,!0)},off(o,t,i,r){if(typeof t!="string"||!o)return;const[a,d,g]=si(t,i,r),C=g!==t,k=ii(o),E=k[g]||{},w=t.startsWith(".");if(d===void 0){if(w)for(const $ of Object.keys(k))Mi(o,k,$,t.slice(1));for(const[$,z]of Object.entries(E)){const A=$.replace(Di,"");C&&!t.includes(A)||_t(o,k,g,z.callable,z.delegationSelector)}}else{if(!Object.keys(E).length)return;_t(o,k,g,d,a?i:null)}},trigger(o,t,i){if(typeof t!="string"||!o)return null;const r=Jn();let a=null,d=!0,g=!0,C=!1;t!==ri(t)&&r&&(a=r.Event(t,i),r(o).trigger(a),d=!a.isPropagationStopped(),g=!a.isImmediatePropagationStopped(),C=a.isDefaultPrevented());const k=In(new Event(t,{bubbles:d,cancelable:!0}),i);return C&&k.preventDefault(),g&&o.dispatchEvent(k),k.defaultPrevented&&a&&a.preventDefault(),k}};function In(o,t={}){for(const[i,r]of Object.entries(t))try{o[i]=r}catch{Object.defineProperty(o,i,{configurable:!0,get:()=>r})}return o}function li(o){if(o==="true")return!0;if(o==="false")return!1;if(o===Number(o).toString())return Number(o);if(o===""||o==="null")return null;if(typeof o!="string")return o;try{return JSON.parse(decodeURIComponent(o))}catch{return o}}function Fn(o){return o.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const se={setDataAttribute(o,t,i){o.setAttribute(`data-bs-${Fn(t)}`,i)},removeDataAttribute(o,t){o.removeAttribute(`data-bs-${Fn(t)}`)},getDataAttributes(o){if(!o)return{};const t={},i=Object.keys(o.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of i){let a=r.replace(/^bs/,"");a=a.charAt(0).toLowerCase()+a.slice(1),t[a]=li(o.dataset[r])}return t},getDataAttribute:(o,t)=>li(o.getAttribute(`data-bs-${Fn(t)}`))};class Ye{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,i){const r=U(i)?se.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...U(i)?se.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[r,a]of Object.entries(i)){const d=t[r],g=U(d)?"element":u(d);if(!new RegExp(a).test(g))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${g}" but expected type "${a}".`)}}}class ge extends Ye{constructor(t,i){super(),(t=ae(t))&&(this._element=t,this._config=this._getConfig(i),p.set(this._element,this.constructor.DATA_KEY,this))}dispose(){p.remove(this._element,this.constructor.DATA_KEY),_.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,r=!0){Zn(t,i,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return p.get(ae(t),this.DATA_KEY)}static getOrCreateInstance(t,i={}){return this.getInstance(t)||new this(t,typeof i=="object"?i:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Ct=o=>{let t=o.getAttribute("data-bs-target");if(!t||t==="#"){let i=o.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?t.split(",").map(i=>m(i)).join(","):null},S={find:(o,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,o)),findOne:(o,t=document.documentElement)=>Element.prototype.querySelector.call(t,o),children:(o,t)=>[].concat(...o.children).filter(i=>i.matches(t)),parents(o,t){const i=[];let r=o.parentNode.closest(t);for(;r;)i.push(r),r=r.parentNode.closest(t);return i},prev(o,t){let i=o.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(o,t){let i=o.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(o){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,o).filter(i=>!Se(i)&&we(i))},getSelectorFromElement(o){const t=Ct(o);return t&&S.findOne(t)?t:null},getElementFromSelector(o){const t=Ct(o);return t?S.findOne(t):null},getMultipleElementsFromSelector(o){const t=Ct(o);return t?S.find(t):[]}},it=(o,t="hide")=>{const i=`click.dismiss${o.EVENT_KEY}`,r=o.NAME;_.on(document,i,`[data-bs-dismiss="${r}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),Se(this))return;const d=S.getElementFromSelector(this)||this.closest(`.${r}`);o.getOrCreateInstance(d)[t]()})},Pn=".bs.alert",xn=`close${Pn}`,zi=`closed${Pn}`;class De extends ge{static get NAME(){return"alert"}close(){if(_.trigger(this._element,xn).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),_.trigger(this._element,zi),this.dispose()}static jQueryInterface(t){return this.each(function(){const i=De.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}}it(De,"close"),me(De);const jn='[data-bs-toggle="button"]';class Ke extends ge{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const i=Ke.getOrCreateInstance(this);t==="toggle"&&i[t]()})}}_.on(document,"click.bs.button.data-api",jn,o=>{o.preventDefault();const t=o.target.closest(jn);Ke.getOrCreateInstance(t).toggle()}),me(Ke);const ce=".bs.swipe",Wn=`touchstart${ce}`,Li=`touchmove${ce}`,Le=`touchend${ce}`,Ie=`pointerdown${ce}`,re=`pointerup${ce}`,kt={endCallback:null,leftCallback:null,rightCallback:null},Rn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ge extends Ye{constructor(t,i){super(),this._element=t,t&&Ge.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return kt}static get DefaultType(){return Rn}static get NAME(){return"swipe"}dispose(){_.off(this._element,ce)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),oe(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const i=t/this._deltaX;this._deltaX=0,i&&oe(i>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(_.on(this._element,Ie,t=>this._start(t)),_.on(this._element,re,t=>this._end(t)),this._element.classList.add("pointer-event")):(_.on(this._element,Wn,t=>this._start(t)),_.on(this._element,Li,t=>this._move(t)),_.on(this._element,Le,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType==="pen"||t.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Q=".bs.carousel",ai=".data-api",ci="ArrowLeft",v="ArrowRight",f="next",h="prev",l="left",y="right",T=`slide${Q}`,D=`slid${Q}`,L=`keydown${Q}`,K=`mouseenter${Q}`,X=`mouseleave${Q}`,le=`dragstart${Q}`,J=`load${Q}${ai}`,ee=`click${Q}${ai}`,ve="carousel",be="active",ye=".active",Ve=".carousel-item",$t=ye+Ve,Qe={[ci]:y,[v]:l},te={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_e={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class de extends ge{constructor(t,i){super(t,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=S.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ve&&this.cycle()}static get Default(){return te}static get DefaultType(){return _e}static get NAME(){return"carousel"}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&we(this._element)&&this.next()}prev(){this._slide(h)}pause(){this._isSliding&&N(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?_.one(this._element,D,()=>this.cycle()):this.cycle())}to(t){const i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding)return void _.one(this._element,D,()=>this.to(t));const r=this._getItemIndex(this._getActive());if(r===t)return;const a=t>r?f:h;this._slide(a,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&_.on(this._element,L,t=>this._keydown(t)),this._config.pause==="hover"&&(_.on(this._element,K,()=>this.pause()),_.on(this._element,X,()=>this._maybeEnableCycle())),this._config.touch&&Ge.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of S.find(".carousel-item img",this._element))_.on(i,le,r=>r.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(l)),rightCallback:()=>this._slide(this._directionToOrder(y)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ge(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const i=Qe[t.key];i&&(t.preventDefault(),this._slide(this._directionToOrder(i)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const i=S.findOne(ye,this._indicatorsElement);i.classList.remove(be),i.removeAttribute("aria-current");const r=S.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(be),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const i=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=i||this._config.defaultInterval}_slide(t,i=null){if(this._isSliding)return;const r=this._getActive(),a=t===f,d=i||Mn(this._getItems(),r,a,this._config.wrap);if(d===r)return;const g=this._getItemIndex(d),C=$=>_.trigger(this._element,$,{relatedTarget:d,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:g});if(C(T).defaultPrevented||!r||!d)return;const k=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(g),this._activeElement=d;const E=a?"carousel-item-start":"carousel-item-end",w=a?"carousel-item-next":"carousel-item-prev";d.classList.add(w),Xe(d),r.classList.add(E),d.classList.add(E),this._queueCallback(()=>{d.classList.remove(E,w),d.classList.add(be),r.classList.remove(be,w,E),this._isSliding=!1,C(D)},r,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return S.findOne($t,this._element)}_getItems(){return S.find(Ve,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ne()?t===l?h:f:t===l?f:h}_orderToDirection(t){return ne()?t===h?l:y:t===h?y:l}static jQueryInterface(t){return this.each(function(){const i=de.getOrCreateInstance(this,t);if(typeof t!="number"){if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}}else i.to(t)})}}_.on(document,ee,"[data-bs-slide], [data-bs-slide-to]",function(o){const t=S.getElementFromSelector(this);if(!t||!t.classList.contains(ve))return;o.preventDefault();const i=de.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(i.to(r),void i._maybeEnableCycle()):se.getDataAttribute(this,"slide")==="next"?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),_.on(window,J,()=>{const o=S.find('[data-bs-ride="carousel"]');for(const t of o)de.getOrCreateInstance(t)}),me(de);const Fe=".bs.collapse",Sr=`show${Fe}`,Nr=`shown${Fe}`,Tr=`hide${Fe}`,Ar=`hidden${Fe}`,Br=`click${Fe}.data-api`,Ii="show",Et="collapse",di="collapsing",Or=`:scope .${Et} .${Et}`,Fi='[data-bs-toggle="collapse"]',Dr={parent:null,toggle:!0},Vr={parent:"(null|element)",toggle:"boolean"};class wt extends ge{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];const r=S.find(Fi);for(const a of r){const d=S.getSelectorFromElement(a),g=S.find(d).filter(C=>C===this._element);d!==null&&g.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Dr}static get DefaultType(){return Vr}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(a=>a!==this._element).map(a=>wt.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||_.trigger(this._element,Sr).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(Et),this._element.classList.add(di),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(di),this._element.classList.add(Et,Ii),this._element.style[i]="",_.trigger(this._element,Nr)},this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||_.trigger(this._element,Tr).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Xe(this._element),this._element.classList.add(di),this._element.classList.remove(Et,Ii);for(const i of this._triggerArray){const r=S.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(di),this._element.classList.add(Et),_.trigger(this._element,Ar)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ii)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ae(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Fi);for(const i of t){const r=S.getElementFromSelector(i);r&&this._addAriaAndCollapsedClass([i],this._isShown(r))}}_getFirstLevelChildren(t){const i=S.find(Or,this._config.parent);return S.find(t,this._config.parent).filter(r=>!i.includes(r))}_addAriaAndCollapsedClass(t,i){if(t.length)for(const r of t)r.classList.toggle("collapsed",!i),r.setAttribute("aria-expanded",i)}static jQueryInterface(t){const i={};return typeof t=="string"&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){const r=wt.getOrCreateInstance(this,i);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t]()}})}}_.on(document,Br,Fi,function(o){(o.target.tagName==="A"||o.delegateTarget&&o.delegateTarget.tagName==="A")&&o.preventDefault();for(const t of S.getMultipleElementsFromSelector(this))wt.getOrCreateInstance(t,{toggle:!1}).toggle()}),me(wt);var ue="top",Ce="bottom",ke="right",fe="left",ui="auto",St=[ue,Ce,ke,fe],ot="start",Nt="end",wo="clippingParents",Pi="viewport",Tt="popper",So="reference",xi=St.reduce(function(o,t){return o.concat([t+"-"+ot,t+"-"+Nt])},[]),ji=[].concat(St,[ui]).reduce(function(o,t){return o.concat([t,t+"-"+ot,t+"-"+Nt])},[]),No="beforeRead",To="read",Ao="afterRead",Bo="beforeMain",Oo="main",Do="afterMain",Vo="beforeWrite",Mo="write",zo="afterWrite",Lo=[No,To,Ao,Bo,Oo,Do,Vo,Mo,zo];function Pe(o){return o?(o.nodeName||"").toLowerCase():null}function $e(o){if(o==null)return window;if(o.toString()!=="[object Window]"){var t=o.ownerDocument;return t&&t.defaultView||window}return o}function st(o){return o instanceof $e(o).Element||o instanceof Element}function Ne(o){return o instanceof $e(o).HTMLElement||o instanceof HTMLElement}function Wi(o){return typeof ShadowRoot<"u"&&(o instanceof $e(o).ShadowRoot||o instanceof ShadowRoot)}const Ri={name:"applyStyles",enabled:!0,phase:"write",fn:function(o){var t=o.state;Object.keys(t.elements).forEach(function(i){var r=t.styles[i]||{},a=t.attributes[i]||{},d=t.elements[i];Ne(d)&&Pe(d)&&(Object.assign(d.style,r),Object.keys(a).forEach(function(g){var C=a[g];C===!1?d.removeAttribute(g):d.setAttribute(g,C===!0?"":C)}))})},effect:function(o){var t=o.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(r){var a=t.elements[r],d=t.attributes[r]||{},g=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:i[r]).reduce(function(C,k){return C[k]="",C},{});Ne(a)&&Pe(a)&&(Object.assign(a.style,g),Object.keys(d).forEach(function(C){a.removeAttribute(C)}))})}},requires:["computeStyles"]};function xe(o){return o.split("-")[0]}var rt=Math.max,fi=Math.min,At=Math.round;function qi(){var o=navigator.userAgentData;return o!=null&&o.brands&&Array.isArray(o.brands)?o.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Io(){return!/^((?!chrome|android).)*safari/i.test(qi())}function Bt(o,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=o.getBoundingClientRect(),a=1,d=1;t&&Ne(o)&&(a=o.offsetWidth>0&&At(r.width)/o.offsetWidth||1,d=o.offsetHeight>0&&At(r.height)/o.offsetHeight||1);var g=(st(o)?$e(o):window).visualViewport,C=!Io()&&i,k=(r.left+(C&&g?g.offsetLeft:0))/a,E=(r.top+(C&&g?g.offsetTop:0))/d,w=r.width/a,$=r.height/d;return{width:w,height:$,top:E,right:k+w,bottom:E+$,left:k,x:k,y:E}}function Hi(o){var t=Bt(o),i=o.offsetWidth,r=o.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:o.offsetLeft,y:o.offsetTop,width:i,height:r}}function Fo(o,t){var i=t.getRootNode&&t.getRootNode();if(o.contains(t))return!0;if(i&&Wi(i)){var r=t;do{if(r&&o.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qe(o){return $e(o).getComputedStyle(o)}function Mr(o){return["table","td","th"].indexOf(Pe(o))>=0}function Je(o){return((st(o)?o.ownerDocument:o.document)||window.document).documentElement}function pi(o){return Pe(o)==="html"?o:o.assignedSlot||o.parentNode||(Wi(o)?o.host:null)||Je(o)}function Po(o){return Ne(o)&&qe(o).position!=="fixed"?o.offsetParent:null}function qn(o){for(var t=$e(o),i=Po(o);i&&Mr(i)&&qe(i).position==="static";)i=Po(i);return i&&(Pe(i)==="html"||Pe(i)==="body"&&qe(i).position==="static")?t:i||function(r){var a=/firefox/i.test(qi());if(/Trident/i.test(qi())&&Ne(r)&&qe(r).position==="fixed")return null;var d=pi(r);for(Wi(d)&&(d=d.host);Ne(d)&&["html","body"].indexOf(Pe(d))<0;){var g=qe(d);if(g.transform!=="none"||g.perspective!=="none"||g.contain==="paint"||["transform","perspective"].indexOf(g.willChange)!==-1||a&&g.willChange==="filter"||a&&g.filter&&g.filter!=="none")return d;d=d.parentNode}return null}(o)||t}function Ui(o){return["top","bottom"].indexOf(o)>=0?"x":"y"}function Hn(o,t,i){return rt(o,fi(t,i))}function xo(o){return Object.assign({},{top:0,right:0,bottom:0,left:0},o)}function jo(o,t){return t.reduce(function(i,r){return i[r]=o,i},{})}const Wo={name:"arrow",enabled:!0,phase:"main",fn:function(o){var t,i=o.state,r=o.name,a=o.options,d=i.elements.arrow,g=i.modifiersData.popperOffsets,C=xe(i.placement),k=Ui(C),E=[fe,ke].indexOf(C)>=0?"height":"width";if(d&&g){var w=function(q,W){return xo(typeof(q=typeof q=="function"?q(Object.assign({},W.rects,{placement:W.placement})):q)!="number"?q:jo(q,St))}(a.padding,i),$=Hi(d),z=k==="y"?ue:fe,A=k==="y"?Ce:ke,V=i.rects.reference[E]+i.rects.reference[k]-g[k]-i.rects.popper[E],O=g[k]-i.rects.reference[k],M=qn(d),R=M?k==="y"?M.clientHeight||0:M.clientWidth||0:0,Y=V/2-O/2,F=w[z],x=R-$[E]-w[A],I=R/2-$[E]/2+Y,P=Hn(F,I,x),j=k;i.modifiersData[r]=((t={})[j]=P,t.centerOffset=P-I,t)}},effect:function(o){var t=o.state,i=o.options.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r!="string"||(r=t.elements.popper.querySelector(r)))&&Fo(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ot(o){return o.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ro(o){var t,i=o.popper,r=o.popperRect,a=o.placement,d=o.variation,g=o.offsets,C=o.position,k=o.gpuAcceleration,E=o.adaptive,w=o.roundOffsets,$=o.isFixed,z=g.x,A=z===void 0?0:z,V=g.y,O=V===void 0?0:V,M=typeof w=="function"?w({x:A,y:O}):{x:A,y:O};A=M.x,O=M.y;var R=g.hasOwnProperty("x"),Y=g.hasOwnProperty("y"),F=fe,x=ue,I=window;if(E){var P=qn(i),j="clientHeight",q="clientWidth";P===$e(i)&&qe(P=Je(i)).position!=="static"&&C==="absolute"&&(j="scrollHeight",q="scrollWidth"),(a===ue||(a===fe||a===ke)&&d===Nt)&&(x=Ce,O-=($&&P===I&&I.visualViewport?I.visualViewport.height:P[j])-r.height,O*=k?1:-1),a!==fe&&(a!==ue&&a!==Ce||d!==Nt)||(F=ke,A-=($&&P===I&&I.visualViewport?I.visualViewport.width:P[q])-r.width,A*=k?1:-1)}var W,Z=Object.assign({position:C},E&&zr),Ee=w===!0?function(ze,pe){var Ae=ze.x,Be=ze.y,G=pe.devicePixelRatio||1;return{x:At(Ae*G)/G||0,y:At(Be*G)/G||0}}({x:A,y:O},$e(i)):{x:A,y:O};return A=Ee.x,O=Ee.y,k?Object.assign({},Z,((W={})[x]=Y?"0":"",W[F]=R?"0":"",W.transform=(I.devicePixelRatio||1)<=1?"translate("+A+"px, "+O+"px)":"translate3d("+A+"px, "+O+"px, 0)",W)):Object.assign({},Z,((t={})[x]=Y?O+"px":"",t[F]=R?A+"px":"",t.transform="",t))}const Xi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(o){var t=o.state,i=o.options,r=i.gpuAcceleration,a=r===void 0||r,d=i.adaptive,g=d===void 0||d,C=i.roundOffsets,k=C===void 0||C,E={placement:xe(t.placement),variation:Ot(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ro(Object.assign({},E,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:g,roundOffsets:k})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ro(Object.assign({},E,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:k})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var hi={passive:!0};const Yi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(o){var t=o.state,i=o.instance,r=o.options,a=r.scroll,d=a===void 0||a,g=r.resize,C=g===void 0||g,k=$e(t.elements.popper),E=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&E.forEach(function(w){w.addEventListener("scroll",i.update,hi)}),C&&k.addEventListener("resize",i.update,hi),function(){d&&E.forEach(function(w){w.removeEventListener("scroll",i.update,hi)}),C&&k.removeEventListener("resize",i.update,hi)}},data:{}};var Lr={left:"right",right:"left",bottom:"top",top:"bottom"};function mi(o){return o.replace(/left|right|bottom|top/g,function(t){return Lr[t]})}var Ir={start:"end",end:"start"};function qo(o){return o.replace(/start|end/g,function(t){return Ir[t]})}function Ki(o){var t=$e(o);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gi(o){return Bt(Je(o)).left+Ki(o).scrollLeft}function Qi(o){var t=qe(o),i=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+r)}function Ho(o){return["html","body","#document"].indexOf(Pe(o))>=0?o.ownerDocument.body:Ne(o)&&Qi(o)?o:Ho(pi(o))}function Un(o,t){var i;t===void 0&&(t=[]);var r=Ho(o),a=r===((i=o.ownerDocument)==null?void 0:i.body),d=$e(r),g=a?[d].concat(d.visualViewport||[],Qi(r)?r:[]):r,C=t.concat(g);return a?C:C.concat(Un(pi(g)))}function Ji(o){return Object.assign({},o,{left:o.x,top:o.y,right:o.x+o.width,bottom:o.y+o.height})}function Uo(o,t,i){return t===Pi?Ji(function(r,a){var d=$e(r),g=Je(r),C=d.visualViewport,k=g.clientWidth,E=g.clientHeight,w=0,$=0;if(C){k=C.width,E=C.height;var z=Io();(z||!z&&a==="fixed")&&(w=C.offsetLeft,$=C.offsetTop)}return{width:k,height:E,x:w+Gi(r),y:$}}(o,i)):st(t)?function(r,a){var d=Bt(r,!1,a==="fixed");return d.top=d.top+r.clientTop,d.left=d.left+r.clientLeft,d.bottom=d.top+r.clientHeight,d.right=d.left+r.clientWidth,d.width=r.clientWidth,d.height=r.clientHeight,d.x=d.left,d.y=d.top,d}(t,i):Ji(function(r){var a,d=Je(r),g=Ki(r),C=(a=r.ownerDocument)==null?void 0:a.body,k=rt(d.scrollWidth,d.clientWidth,C?C.scrollWidth:0,C?C.clientWidth:0),E=rt(d.scrollHeight,d.clientHeight,C?C.scrollHeight:0,C?C.clientHeight:0),w=-g.scrollLeft+Gi(r),$=-g.scrollTop;return qe(C||d).direction==="rtl"&&(w+=rt(d.clientWidth,C?C.clientWidth:0)-k),{width:k,height:E,x:w,y:$}}(Je(o)))}function Xo(o){var t,i=o.reference,r=o.element,a=o.placement,d=a?xe(a):null,g=a?Ot(a):null,C=i.x+i.width/2-r.width/2,k=i.y+i.height/2-r.height/2;switch(d){case ue:t={x:C,y:i.y-r.height};break;case Ce:t={x:C,y:i.y+i.height};break;case ke:t={x:i.x+i.width,y:k};break;case fe:t={x:i.x-r.width,y:k};break;default:t={x:i.x,y:i.y}}var E=d?Ui(d):null;if(E!=null){var w=E==="y"?"height":"width";switch(g){case ot:t[E]=t[E]-(i[w]/2-r[w]/2);break;case Nt:t[E]=t[E]+(i[w]/2-r[w]/2)}}return t}function Dt(o,t){t===void 0&&(t={});var i=t,r=i.placement,a=r===void 0?o.placement:r,d=i.strategy,g=d===void 0?o.strategy:d,C=i.boundary,k=C===void 0?wo:C,E=i.rootBoundary,w=E===void 0?Pi:E,$=i.elementContext,z=$===void 0?Tt:$,A=i.altBoundary,V=A!==void 0&&A,O=i.padding,M=O===void 0?0:O,R=xo(typeof M!="number"?M:jo(M,St)),Y=z===Tt?So:Tt,F=o.rects.popper,x=o.elements[V?Y:z],I=function(pe,Ae,Be,G){var je=Ae==="clippingParents"?function(H){var he=Un(pi(H)),Oe=["absolute","fixed"].indexOf(qe(H).position)>=0&&Ne(H)?qn(H):H;return st(Oe)?he.filter(function(et){return st(et)&&Fo(et,Oe)&&Pe(et)!=="body"}):[]}(pe):[].concat(Ae),We=[].concat(je,[Be]),zt=We[0],ie=We.reduce(function(H,he){var Oe=Uo(pe,he,G);return H.top=rt(Oe.top,H.top),H.right=fi(Oe.right,H.right),H.bottom=fi(Oe.bottom,H.bottom),H.left=rt(Oe.left,H.left),H},Uo(pe,zt,G));return ie.width=ie.right-ie.left,ie.height=ie.bottom-ie.top,ie.x=ie.left,ie.y=ie.top,ie}(st(x)?x:x.contextElement||Je(o.elements.popper),k,w,g),P=Bt(o.elements.reference),j=Xo({reference:P,element:F,placement:a}),q=Ji(Object.assign({},F,j)),W=z===Tt?q:P,Z={top:I.top-W.top+R.top,bottom:W.bottom-I.bottom+R.bottom,left:I.left-W.left+R.left,right:W.right-I.right+R.right},Ee=o.modifiersData.offset;if(z===Tt&&Ee){var ze=Ee[a];Object.keys(Z).forEach(function(pe){var Ae=[ke,Ce].indexOf(pe)>=0?1:-1,Be=[ue,Ce].indexOf(pe)>=0?"y":"x";Z[pe]+=ze[Be]*Ae})}return Z}function Fr(o,t){t===void 0&&(t={});var i=t,r=i.placement,a=i.boundary,d=i.rootBoundary,g=i.padding,C=i.flipVariations,k=i.allowedAutoPlacements,E=k===void 0?ji:k,w=Ot(r),$=w?C?xi:xi.filter(function(V){return Ot(V)===w}):St,z=$.filter(function(V){return E.indexOf(V)>=0});z.length===0&&(z=$);var A=z.reduce(function(V,O){return V[O]=Dt(o,{placement:O,boundary:a,rootBoundary:d,padding:g})[xe(O)],V},{});return Object.keys(A).sort(function(V,O){return A[V]-A[O]})}const Yo={name:"flip",enabled:!0,phase:"main",fn:function(o){var t=o.state,i=o.options,r=o.name;if(!t.modifiersData[r]._skip){for(var a=i.mainAxis,d=a===void 0||a,g=i.altAxis,C=g===void 0||g,k=i.fallbackPlacements,E=i.padding,w=i.boundary,$=i.rootBoundary,z=i.altBoundary,A=i.flipVariations,V=A===void 0||A,O=i.allowedAutoPlacements,M=t.options.placement,R=xe(M),Y=k||(R!==M&&V?function(H){if(xe(H)===ui)return[];var he=mi(H);return[qo(H),he,qo(he)]}(M):[mi(M)]),F=[M].concat(Y).reduce(function(H,he){return H.concat(xe(he)===ui?Fr(t,{placement:he,boundary:w,rootBoundary:$,padding:E,flipVariations:V,allowedAutoPlacements:O}):he)},[]),x=t.rects.reference,I=t.rects.popper,P=new Map,j=!0,q=F[0],W=0;W<F.length;W++){var Z=F[W],Ee=xe(Z),ze=Ot(Z)===ot,pe=[ue,Ce].indexOf(Ee)>=0,Ae=pe?"width":"height",Be=Dt(t,{placement:Z,boundary:w,rootBoundary:$,altBoundary:z,padding:E}),G=pe?ze?ke:fe:ze?Ce:ue;x[Ae]>I[Ae]&&(G=mi(G));var je=mi(G),We=[];if(d&&We.push(Be[Ee]<=0),C&&We.push(Be[G]<=0,Be[je]<=0),We.every(function(H){return H})){q=Z,j=!1;break}P.set(Z,We)}if(j)for(var zt=function(H){var he=F.find(function(Oe){var et=P.get(Oe);if(et)return et.slice(0,H).every(function(Ei){return Ei})});if(he)return q=he,"break"},ie=V?3:1;ie>0&&zt(ie)!=="break";ie--);t.placement!==q&&(t.modifiersData[r]._skip=!0,t.placement=q,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ko(o,t,i){return i===void 0&&(i={x:0,y:0}),{top:o.top-t.height-i.y,right:o.right-t.width+i.x,bottom:o.bottom-t.height+i.y,left:o.left-t.width-i.x}}function Go(o){return[ue,ke,Ce,fe].some(function(t){return o[t]>=0})}const Qo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(o){var t=o.state,i=o.name,r=t.rects.reference,a=t.rects.popper,d=t.modifiersData.preventOverflow,g=Dt(t,{elementContext:"reference"}),C=Dt(t,{altBoundary:!0}),k=Ko(g,r),E=Ko(C,a,d),w=Go(k),$=Go(E);t.modifiersData[i]={referenceClippingOffsets:k,popperEscapeOffsets:E,isReferenceHidden:w,hasPopperEscaped:$},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":w,"data-popper-escaped":$})}},Jo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(o){var t=o.state,i=o.options,r=o.name,a=i.offset,d=a===void 0?[0,0]:a,g=ji.reduce(function(w,$){return w[$]=function(z,A,V){var O=xe(z),M=[fe,ue].indexOf(O)>=0?-1:1,R=typeof V=="function"?V(Object.assign({},A,{placement:z})):V,Y=R[0],F=R[1];return Y=Y||0,F=(F||0)*M,[fe,ke].indexOf(O)>=0?{x:F,y:Y}:{x:Y,y:F}}($,t.rects,d),w},{}),C=g[t.placement],k=C.x,E=C.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=k,t.modifiersData.popperOffsets.y+=E),t.modifiersData[r]=g}},Zi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(o){var t=o.state,i=o.name;t.modifiersData[i]=Xo({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},Zo={name:"preventOverflow",enabled:!0,phase:"main",fn:function(o){var t=o.state,i=o.options,r=o.name,a=i.mainAxis,d=a===void 0||a,g=i.altAxis,C=g!==void 0&&g,k=i.boundary,E=i.rootBoundary,w=i.altBoundary,$=i.padding,z=i.tether,A=z===void 0||z,V=i.tetherOffset,O=V===void 0?0:V,M=Dt(t,{boundary:k,rootBoundary:E,padding:$,altBoundary:w}),R=xe(t.placement),Y=Ot(t.placement),F=!Y,x=Ui(R),I=x==="x"?"y":"x",P=t.modifiersData.popperOffsets,j=t.rects.reference,q=t.rects.popper,W=typeof O=="function"?O(Object.assign({},t.rects,{placement:t.placement})):O,Z=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),Ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ze={x:0,y:0};if(P){if(d){var pe,Ae=x==="y"?ue:fe,Be=x==="y"?Ce:ke,G=x==="y"?"height":"width",je=P[x],We=je+M[Ae],zt=je-M[Be],ie=A?-q[G]/2:0,H=Y===ot?j[G]:q[G],he=Y===ot?-q[G]:-j[G],Oe=t.elements.arrow,et=A&&Oe?Hi(Oe):{width:0,height:0},Ei=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Ps=Ei[Ae],xs=Ei[Be],wi=Hn(0,j[G],et[G]),ga=F?j[G]/2-ie-wi-Ps-Z.mainAxis:H-wi-Ps-Z.mainAxis,va=F?-j[G]/2+ie+wi+xs+Z.mainAxis:he+wi+xs+Z.mainAxis,ho=t.elements.arrow&&qn(t.elements.arrow),ba=ho?x==="y"?ho.clientTop||0:ho.clientLeft||0:0,js=(pe=Ee?.[x])!=null?pe:0,ya=je+va-js,Ws=Hn(A?fi(We,je+ga-js-ba):We,je,A?rt(zt,ya):zt);P[x]=Ws,ze[x]=Ws-je}if(C){var Rs,_a=x==="x"?ue:fe,Ca=x==="x"?Ce:ke,ht=P[I],Si=I==="y"?"height":"width",qs=ht+M[_a],Hs=ht-M[Ca],mo=[ue,fe].indexOf(R)!==-1,Us=(Rs=Ee?.[I])!=null?Rs:0,Xs=mo?qs:ht-j[Si]-q[Si]-Us+Z.altAxis,Ys=mo?ht+j[Si]+q[Si]-Us-Z.altAxis:Hs,Ks=A&&mo?function(ka,$a,go){var Gs=Hn(ka,$a,go);return Gs>go?go:Gs}(Xs,ht,Ys):Hn(A?Xs:qs,ht,A?Ys:Hs);P[I]=Ks,ze[I]=Ks-ht}t.modifiersData[r]=ze}},requiresIfExists:["offset"]};function Pr(o,t,i){i===void 0&&(i=!1);var r,a,d=Ne(t),g=Ne(t)&&function($){var z=$.getBoundingClientRect(),A=At(z.width)/$.offsetWidth||1,V=At(z.height)/$.offsetHeight||1;return A!==1||V!==1}(t),C=Je(t),k=Bt(o,g,i),E={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(d||!d&&!i)&&((Pe(t)!=="body"||Qi(C))&&(E=(r=t)!==$e(r)&&Ne(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:Ki(r)),Ne(t)?((w=Bt(t,!0)).x+=t.clientLeft,w.y+=t.clientTop):C&&(w.x=Gi(C))),{x:k.left+E.scrollLeft-w.x,y:k.top+E.scrollTop-w.y,width:k.width,height:k.height}}function xr(o){var t=new Map,i=new Set,r=[];function a(d){i.add(d.name),[].concat(d.requires||[],d.requiresIfExists||[]).forEach(function(g){if(!i.has(g)){var C=t.get(g);C&&a(C)}}),r.push(d)}return o.forEach(function(d){t.set(d.name,d)}),o.forEach(function(d){i.has(d.name)||a(d)}),r}var es={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){for(var o=arguments.length,t=new Array(o),i=0;i<o;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function gi(o){o===void 0&&(o={});var t=o,i=t.defaultModifiers,r=i===void 0?[]:i,a=t.defaultOptions,d=a===void 0?es:a;return function(g,C,k){k===void 0&&(k=d);var E,w,$={placement:"bottom",orderedModifiers:[],options:Object.assign({},es,d),modifiersData:{},elements:{reference:g,popper:C},attributes:{},styles:{}},z=[],A=!1,V={state:$,setOptions:function(M){var R=typeof M=="function"?M($.options):M;O(),$.options=Object.assign({},d,$.options,R),$.scrollParents={reference:st(g)?Un(g):g.contextElement?Un(g.contextElement):[],popper:Un(C)};var Y,F,x=function(I){var P=xr(I);return Lo.reduce(function(j,q){return j.concat(P.filter(function(W){return W.phase===q}))},[])}((Y=[].concat(r,$.options.modifiers),F=Y.reduce(function(I,P){var j=I[P.name];return I[P.name]=j?Object.assign({},j,P,{options:Object.assign({},j.options,P.options),data:Object.assign({},j.data,P.data)}):P,I},{}),Object.keys(F).map(function(I){return F[I]})));return $.orderedModifiers=x.filter(function(I){return I.enabled}),$.orderedModifiers.forEach(function(I){var P=I.name,j=I.options,q=j===void 0?{}:j,W=I.effect;if(typeof W=="function"){var Z=W({state:$,name:P,instance:V,options:q});z.push(Z||function(){})}}),V.update()},forceUpdate:function(){if(!A){var M=$.elements,R=M.reference,Y=M.popper;if(ts(R,Y)){$.rects={reference:Pr(R,qn(Y),$.options.strategy==="fixed"),popper:Hi(Y)},$.reset=!1,$.placement=$.options.placement,$.orderedModifiers.forEach(function(W){return $.modifiersData[W.name]=Object.assign({},W.data)});for(var F=0;F<$.orderedModifiers.length;F++)if($.reset!==!0){var x=$.orderedModifiers[F],I=x.fn,P=x.options,j=P===void 0?{}:P,q=x.name;typeof I=="function"&&($=I({state:$,options:j,name:q,instance:V})||$)}else $.reset=!1,F=-1}}},update:(E=function(){return new Promise(function(M){V.forceUpdate(),M($)})},function(){return w||(w=new Promise(function(M){Promise.resolve().then(function(){w=void 0,M(E())})})),w}),destroy:function(){O(),A=!0}};if(!ts(g,C))return V;function O(){z.forEach(function(M){return M()}),z=[]}return V.setOptions(k).then(function(M){!A&&k.onFirstUpdate&&k.onFirstUpdate(M)}),V}}var jr=gi(),Wr=gi({defaultModifiers:[Yi,Zi,Xi,Ri]}),eo=gi({defaultModifiers:[Yi,Zi,Xi,Ri,Jo,Yo,Zo,Wo,Qo]});const ns=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Do,afterRead:Ao,afterWrite:zo,applyStyles:Ri,arrow:Wo,auto:ui,basePlacements:St,beforeMain:Bo,beforeRead:No,beforeWrite:Vo,bottom:Ce,clippingParents:wo,computeStyles:Xi,createPopper:eo,createPopperBase:jr,createPopperLite:Wr,detectOverflow:Dt,end:Nt,eventListeners:Yi,flip:Yo,hide:Qo,left:fe,main:Oo,modifierPhases:Lo,offset:Jo,placements:ji,popper:Tt,popperGenerator:gi,popperOffsets:Zi,preventOverflow:Zo,read:To,reference:So,right:ke,start:ot,top:ue,variationPlacements:xi,viewport:Pi,write:Mo},Symbol.toStringTag,{value:"Module"})),is="dropdown",lt=".bs.dropdown",to=".data-api",Rr="ArrowUp",os="ArrowDown",qr=`hide${lt}`,Hr=`hidden${lt}`,Ur=`show${lt}`,Xr=`shown${lt}`,ss=`click${lt}${to}`,rs=`keydown${lt}${to}`,Yr=`keyup${lt}${to}`,Vt="show",at='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Kr=`${at}.${Vt}`,vi=".dropdown-menu",Gr=ne()?"top-end":"top-start",Qr=ne()?"top-start":"top-end",Jr=ne()?"bottom-end":"bottom-start",Zr=ne()?"bottom-start":"bottom-end",el=ne()?"left-start":"right-start",tl=ne()?"right-start":"left-start",nl={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},il={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Me extends ge{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=S.next(this._element,vi)[0]||S.prev(this._element,vi)[0]||S.findOne(vi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return nl}static get DefaultType(){return il}static get NAME(){return is}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Se(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!_.trigger(this._element,Ur,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))_.on(i,"mouseover",nt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Vt),this._element.classList.add(Vt),_.trigger(this._element,Xr,t)}}hide(){if(Se(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!_.trigger(this._element,qr,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))_.off(i,"mouseover",nt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Vt),this._element.classList.remove(Vt),this._element.setAttribute("aria-expanded","false"),se.removeDataAttribute(this._menu,"popper"),_.trigger(this._element,Hr,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!U(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${is.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(ns===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:U(this._config.reference)?t=ae(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const i=this._getPopperConfig();this._popper=eo(t,this._menu,i)}_isShown(){return this._menu.classList.contains(Vt)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return el;if(t.classList.contains("dropstart"))return tl;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const i=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains("dropup")?i?Qr:Gr:i?Zr:Jr}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(se.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...oe(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:i}){const r=S.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(a=>we(a));r.length&&Mn(r,i,t===os,!r.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){const i=Me.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}static clearMenus(t){if(t.button===2||t.type==="keyup"&&t.key!=="Tab")return;const i=S.find(Kr);for(const r of i){const a=Me.getInstance(r);if(!a||a._config.autoClose===!1)continue;const d=t.composedPath(),g=d.includes(a._menu);if(d.includes(a._element)||a._config.autoClose==="inside"&&!g||a._config.autoClose==="outside"&&g||a._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const C={relatedTarget:a._element};t.type==="click"&&(C.clickEvent=t),a._completeHide(C)}}static dataApiKeydownHandler(t){const i=/input|textarea/i.test(t.target.tagName),r=t.key==="Escape",a=[Rr,os].includes(t.key);if(!a&&!r||i&&!r)return;t.preventDefault();const d=this.matches(at)?this:S.prev(this,at)[0]||S.next(this,at)[0]||S.findOne(at,t.delegateTarget.parentNode),g=Me.getOrCreateInstance(d);if(a)return t.stopPropagation(),g.show(),void g._selectMenuItem(t);g._isShown()&&(t.stopPropagation(),g.hide(),d.focus())}}_.on(document,rs,at,Me.dataApiKeydownHandler),_.on(document,rs,vi,Me.dataApiKeydownHandler),_.on(document,ss,Me.clearMenus),_.on(document,Yr,Me.clearMenus),_.on(document,ss,at,function(o){o.preventDefault(),Me.getOrCreateInstance(this).toggle()}),me(Me);const ls="backdrop",as="show",cs=`mousedown.bs.${ls}`,ol={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},sl={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ds extends Ye{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ol}static get DefaultType(){return sl}static get NAME(){return ls}show(t){if(!this._config.isVisible)return void oe(t);this._append();const i=this._getElement();this._config.isAnimated&&Xe(i),i.classList.add(as),this._emulateAnimation(()=>{oe(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(as),this._emulateAnimation(()=>{this.dispose(),oe(t)})):oe(t)}dispose(){this._isAppended&&(_.off(this._element,cs),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ae(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),_.on(t,cs,()=>{oe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Zn(t,this._getElement(),this._config.isAnimated)}}const bi=".bs.focustrap",rl=`focusin${bi}`,ll=`keydown.tab${bi}`,us="backward",al={autofocus:!0,trapElement:null},cl={autofocus:"boolean",trapElement:"element"};class fs extends Ye{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return al}static get DefaultType(){return cl}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),_.off(document,bi),_.on(document,rl,t=>this._handleFocusin(t)),_.on(document,ll,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,_.off(document,bi))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const r=S.focusableChildren(i);r.length===0?i.focus():this._lastTabNavDirection===us?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?us:"forward")}}const ps=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hs=".sticky-top",yi="padding-right",ms="margin-right";class no{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,i=>i+t),this._setElementAttributes(ps,yi,i=>i+t),this._setElementAttributes(hs,ms,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(ps,yi),this._resetElementAttributes(hs,ms)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,r){const a=this.getWidth();this._applyManipulationCallback(t,d=>{if(d!==this._element&&window.innerWidth>d.clientWidth+a)return;this._saveInitialAttribute(d,i);const g=window.getComputedStyle(d).getPropertyValue(i);d.style.setProperty(i,`${r(Number.parseFloat(g))}px`)})}_saveInitialAttribute(t,i){const r=t.style.getPropertyValue(i);r&&se.setDataAttribute(t,i,r)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,r=>{const a=se.getDataAttribute(r,i);a!==null?(se.removeDataAttribute(r,i),r.style.setProperty(i,a)):r.style.removeProperty(i)})}_applyManipulationCallback(t,i){if(U(t))i(t);else for(const r of S.find(t,this._element))i(r)}}const Te=".bs.modal",dl=`hide${Te}`,ul=`hidePrevented${Te}`,gs=`hidden${Te}`,vs=`show${Te}`,fl=`shown${Te}`,pl=`resize${Te}`,hl=`click.dismiss${Te}`,ml=`mousedown.dismiss${Te}`,gl=`keydown.dismiss${Te}`,vl=`click${Te}.data-api`,bs="modal-open",ys="show",io="modal-static",bl={backdrop:!0,focus:!0,keyboard:!0},yl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ct extends ge{constructor(t,i){super(t,i),this._dialog=S.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new no,this._addEventListeners()}static get Default(){return bl}static get DefaultType(){return yl}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||_.trigger(this._element,vs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(bs),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(_.trigger(this._element,dl).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ys),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){_.off(window,Te),_.off(this._dialog,Te),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ds({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fs({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const i=S.findOne(".modal-body",this._dialog);i&&(i.scrollTop=0),Xe(this._element),this._element.classList.add(ys),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,_.trigger(this._element,fl,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){_.on(this._element,gl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),_.on(window,pl,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),_.on(this._element,ml,t=>{_.one(this._element,hl,i=>{this._element===t.target&&this._element===i.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(bs),this._resetAdjustments(),this._scrollBar.reset(),_.trigger(this._element,gs)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(_.trigger(this._element,ul).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(io)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(io),this._queueCallback(()=>{this._element.classList.remove(io),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),r=i>0;if(r&&!t){const a=ne()?"paddingLeft":"paddingRight";this._element.style[a]=`${i}px`}if(!r&&t){const a=ne()?"paddingRight":"paddingLeft";this._element.style[a]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){const r=ct.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t](i)}})}}_.on(document,vl,'[data-bs-toggle="modal"]',function(o){const t=S.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&o.preventDefault(),_.one(t,vs,r=>{r.defaultPrevented||_.one(t,gs,()=>{we(this)&&this.focus()})});const i=S.findOne(".modal.show");i&&ct.getInstance(i).hide(),ct.getOrCreateInstance(t).toggle(this)}),it(ct),me(ct);const He=".bs.offcanvas",_s=".data-api",_l=`load${He}${_s}`,Cs="show",ks="showing",$s="hiding",Es=".offcanvas.show",Cl=`show${He}`,kl=`shown${He}`,$l=`hide${He}`,ws=`hidePrevented${He}`,Ss=`hidden${He}`,El=`resize${He}`,wl=`click${He}${_s}`,Sl=`keydown.dismiss${He}`,Nl={backdrop:!0,keyboard:!0,scroll:!1},Tl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ue extends ge{constructor(t,i){super(t,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Nl}static get DefaultType(){return Tl}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||_.trigger(this._element,Cl,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new no().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ks),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Cs),this._element.classList.remove(ks),_.trigger(this._element,kl,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(_.trigger(this._element,$l).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($s),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Cs,$s),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new no().reset(),_.trigger(this._element,Ss)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new ds({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():_.trigger(this._element,ws)}:null})}_initializeFocusTrap(){return new fs({trapElement:this._element})}_addEventListeners(){_.on(this._element,Sl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():_.trigger(this._element,ws))})}static jQueryInterface(t){return this.each(function(){const i=Ue.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}}_.on(document,wl,'[data-bs-toggle="offcanvas"]',function(o){const t=S.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Se(this))return;_.one(t,Ss,()=>{we(this)&&this.focus()});const i=S.findOne(Es);i&&i!==t&&Ue.getInstance(i).hide(),Ue.getOrCreateInstance(t).toggle(this)}),_.on(window,_l,()=>{for(const o of S.find(Es))Ue.getOrCreateInstance(o).show()}),_.on(window,El,()=>{for(const o of S.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(o).position!=="fixed"&&Ue.getOrCreateInstance(o).hide()}),it(Ue),me(Ue);const Ns={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},Al=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Bl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ol=(o,t)=>{const i=o.nodeName.toLowerCase();return t.includes(i)?!Al.has(i)||!!Bl.test(o.nodeValue):t.filter(r=>r instanceof RegExp).some(r=>r.test(i))},Dl={allowList:Ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Vl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ml={entry:"(string|element|function|null)",selector:"(string|element)"};class zl extends Ye{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Dl}static get DefaultType(){return Vl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[a,d]of Object.entries(this._config.content))this._setContent(t,d,a);const i=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&i.classList.add(...r.split(" ")),i}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[i,r]of Object.entries(t))super._typeCheckConfig({selector:i,entry:r},Ml)}_setContent(t,i,r){const a=S.findOne(r,t);a&&((i=this._resolvePossibleFunction(i))?U(i)?this._putElementInTemplate(ae(i),a):this._config.html?a.innerHTML=this._maybeSanitize(i):a.textContent=i:a.remove())}_maybeSanitize(t){return this._config.sanitize?function(i,r,a){if(!i.length)return i;if(a&&typeof a=="function")return a(i);const d=new window.DOMParser().parseFromString(i,"text/html"),g=[].concat(...d.body.querySelectorAll("*"));for(const C of g){const k=C.nodeName.toLowerCase();if(!Object.keys(r).includes(k)){C.remove();continue}const E=[].concat(...C.attributes),w=[].concat(r["*"]||[],r[k]||[]);for(const $ of E)Ol($,w)||C.removeAttribute($.nodeName)}return d.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return oe(t,[void 0,this])}_putElementInTemplate(t,i){if(this._config.html)return i.innerHTML="",void i.append(t);i.textContent=t.textContent}}const Ll=new Set(["sanitize","allowList","sanitizeFn"]),oo="fade",_i="show",Il=".tooltip-inner",Ts=".modal",As="hide.bs.modal",Xn="hover",so="focus",ro="click",Fl={AUTO:"auto",TOP:"top",RIGHT:ne()?"left":"right",BOTTOM:"bottom",LEFT:ne()?"right":"left"},Pl={allowList:Ns,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},xl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class dt extends ge{constructor(t,i){if(ns===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Pl}static get DefaultType(){return xl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),_.off(this._element.closest(Ts),As,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=_.trigger(this._element,this.constructor.eventName("show")),i=(bt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(r),_.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(_i),"ontouchstart"in document.documentElement)for(const d of[].concat(...document.body.children))_.on(d,"mouseover",nt);this._queueCallback(()=>{_.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!_.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(_i),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))_.off(t,"mouseover",nt);this._activeTrigger[ro]=!1,this._activeTrigger[so]=!1,this._activeTrigger[Xn]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),_.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const i=this._getTemplateFactory(t).toHtml();if(!i)return null;i.classList.remove(oo,_i),i.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(a=>{do a+=Math.floor(1e6*Math.random());while(document.getElementById(a));return a})(this.constructor.NAME).toString();return i.setAttribute("id",r),this._isAnimated()&&i.classList.add(oo),i}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Il]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(oo)}_isShown(){return this.tip&&this.tip.classList.contains(_i)}_createPopper(t){const i=oe(this._config.placement,[this,t,this._element]),r=Fl[i.toUpperCase()];return eo(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_resolvePossibleFunction(t){return oe(t,[this._element,this._element])}_getPopperConfig(t){const i={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...i,...oe(this._config.popperConfig,[void 0,i])}}_setListeners(){const t=this._config.trigger.split(" ");for(const i of t)if(i==="click")_.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger[ro]=!(a._isShown()&&a._activeTrigger[ro]),a.toggle()});else if(i!=="manual"){const r=i===Xn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),a=i===Xn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");_.on(this._element,r,this._config.selector,d=>{const g=this._initializeOnDelegatedTarget(d);g._activeTrigger[d.type==="focusin"?so:Xn]=!0,g._enter()}),_.on(this._element,a,this._config.selector,d=>{const g=this._initializeOnDelegatedTarget(d);g._activeTrigger[d.type==="focusout"?so:Xn]=g._element.contains(d.relatedTarget),g._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},_.on(this._element.closest(Ts),As,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,i){clearTimeout(this._timeout),this._timeout=setTimeout(t,i)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const i=se.getDataAttributes(this._element);for(const r of Object.keys(i))Ll.has(r)&&delete i[r];return t={...i,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:ae(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[i,r]of Object.entries(this._config))this.constructor.Default[i]!==r&&(t[i]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const i=dt.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}me(dt);const jl=".popover-header",Wl=".popover-body",Rl={...dt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ql={...dt.DefaultType,content:"(null|string|element|function)"};class Ci extends dt{static get Default(){return Rl}static get DefaultType(){return ql}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Wl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const i=Ci.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}me(Ci);const lo=".bs.scrollspy",Hl=`activate${lo}`,Bs=`click${lo}`,Ul=`load${lo}.data-api`,Mt="active",ao="[href]",Os=".nav-link",Xl=`${Os}, .nav-item > ${Os}, .list-group-item`,Yl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Kl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Yn extends ge{constructor(t,i){super(t,i),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Yl}static get DefaultType(){return Kl}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ae(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(i=>Number.parseFloat(i))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(_.off(this._config.target,Bs),_.on(this._config.target,Bs,ao,t=>{const i=this._observableSections.get(t.target.hash);if(i){t.preventDefault();const r=this._rootElement||window,a=i.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:a,behavior:"smooth"});r.scrollTop=a}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(i=>this._observerCallback(i),t)}_observerCallback(t){const i=g=>this._targetLinks.get(`#${g.target.id}`),r=g=>{this._previousScrollData.visibleEntryTop=g.target.offsetTop,this._process(i(g))},a=(this._rootElement||document.documentElement).scrollTop,d=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(const g of t){if(!g.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(g));continue}const C=g.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&C){if(r(g),!a)return}else d||C||r(g)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=S.find(ao,this._config.target);for(const i of t){if(!i.hash||Se(i))continue;const r=S.findOne(decodeURI(i.hash),this._element);we(r)&&(this._targetLinks.set(decodeURI(i.hash),i),this._observableSections.set(i.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Mt),this._activateParents(t),_.trigger(this._element,Hl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))S.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Mt);else for(const i of S.parents(t,".nav, .list-group"))for(const r of S.prev(i,Xl))r.classList.add(Mt)}_clearActiveClass(t){t.classList.remove(Mt);const i=S.find(`${ao}.${Mt}`,t);for(const r of i)r.classList.remove(Mt)}static jQueryInterface(t){return this.each(function(){const i=Yn.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}_.on(window,Ul,()=>{for(const o of S.find('[data-bs-spy="scroll"]'))Yn.getOrCreateInstance(o)}),me(Yn);const ut=".bs.tab",Gl=`hide${ut}`,Ql=`hidden${ut}`,Jl=`show${ut}`,Zl=`shown${ut}`,ea=`click${ut}`,ta=`keydown${ut}`,na=`load${ut}`,ia="ArrowLeft",Ds="ArrowRight",oa="ArrowUp",Vs="ArrowDown",co="Home",Ms="End",ft="active",zs="fade",uo="show",Ls=".dropdown-toggle",fo=`:not(${Ls})`,Is='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',po=`.nav-link${fo}, .list-group-item${fo}, [role="tab"]${fo}, ${Is}`,sa=`.${ft}[data-bs-toggle="tab"], .${ft}[data-bs-toggle="pill"], .${ft}[data-bs-toggle="list"]`;class pt extends ge{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),_.on(this._element,ta,i=>this._keydown(i)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const i=this._getActiveElem(),r=i?_.trigger(i,Gl,{relatedTarget:t}):null;_.trigger(t,Jl,{relatedTarget:i}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){t&&(t.classList.add(ft),this._activate(S.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),_.trigger(t,Zl,{relatedTarget:i})):t.classList.add(uo)},t,t.classList.contains(zs)))}_deactivate(t,i){t&&(t.classList.remove(ft),t.blur(),this._deactivate(S.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),_.trigger(t,Ql,{relatedTarget:i})):t.classList.remove(uo)},t,t.classList.contains(zs)))}_keydown(t){if(![ia,Ds,oa,Vs,co,Ms].includes(t.key))return;t.stopPropagation(),t.preventDefault();const i=this._getChildren().filter(a=>!Se(a));let r;if([co,Ms].includes(t.key))r=i[t.key===co?0:i.length-1];else{const a=[Ds,Vs].includes(t.key);r=Mn(i,t.target,a,!0)}r&&(r.focus({preventScroll:!0}),pt.getOrCreateInstance(r).show())}_getChildren(){return S.find(po,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,i){this._setAttributeIfNotExists(t,"role","tablist");for(const r of i)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const i=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",i),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),i||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const i=S.getElementFromSelector(t);i&&(this._setAttributeIfNotExists(i,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(i,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,i){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const a=(d,g)=>{const C=S.findOne(d,r);C&&C.classList.toggle(g,i)};a(Ls,ft),a(".dropdown-menu",uo),r.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(t,i,r){t.hasAttribute(i)||t.setAttribute(i,r)}_elemIsActive(t){return t.classList.contains(ft)}_getInnerElement(t){return t.matches(po)?t:S.findOne(po,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const i=pt.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}_.on(document,ea,Is,function(o){["A","AREA"].includes(this.tagName)&&o.preventDefault(),Se(this)||pt.getOrCreateInstance(this).show()}),_.on(window,na,()=>{for(const o of S.find(sa))pt.getOrCreateInstance(o)}),me(pt);const Ze=".bs.toast",ra=`mouseover${Ze}`,la=`mouseout${Ze}`,aa=`focusin${Ze}`,ca=`focusout${Ze}`,da=`hide${Ze}`,ua=`hidden${Ze}`,fa=`show${Ze}`,pa=`shown${Ze}`,Fs="hide",ki="show",$i="showing",ha={animation:"boolean",autohide:"boolean",delay:"number"},ma={animation:!0,autohide:!0,delay:5e3};class Kn extends ge{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ma}static get DefaultType(){return ha}static get NAME(){return"toast"}show(){_.trigger(this._element,fa).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Fs),Xe(this._element),this._element.classList.add(ki,$i),this._queueCallback(()=>{this._element.classList.remove($i),_.trigger(this._element,pa),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(_.trigger(this._element,da).defaultPrevented||(this._element.classList.add($i),this._queueCallback(()=>{this._element.classList.add(Fs),this._element.classList.remove($i,ki),_.trigger(this._element,ua)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ki),super.dispose()}isShown(){return this._element.classList.contains(ki)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,i){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=i;break;case"focusin":case"focusout":this._hasKeyboardInteraction=i}if(i)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){_.on(this._element,ra,t=>this._onInteraction(t,!0)),_.on(this._element,la,t=>this._onInteraction(t,!1)),_.on(this._element,aa,t=>this._onInteraction(t,!0)),_.on(this._element,ca,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const i=Kn.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t](this)}})}}return it(Kn),me(Kn),{Alert:De,Button:Ke,Carousel:de,Collapse:wt,Dropdown:Me,Modal:ct,Offcanvas:Ue,Popover:Ci,ScrollSpy:Yn,Tab:pt,Toast:Kn,Tooltip:dt}})}(Ti)),Ti.exports}var Va=Da();const bo=Ea(Va);function or(e,s=!0){const c=document.getElementById(e);let p=c?.parentElement;for(;p;){const b=(p.getAttribute("class")??"").match(/cl-tab-[0-9]+/);if(b){const m=document.querySelector(`input.${b}`);if(m){m.checked=!0;break}}p=p.parentElement}setTimeout(()=>{s?c?.scrollIntoView({behavior:"smooth"}):c?.scrollIntoView()},0)}let Re=null;function Bn(){Re?.hide(),Re=null}function yo(e,s){Bn();const c=document.getElementById(e);if(c){Re=new bo.Modal(c,{backdrop:"static"}),Re.value=s,Re.id=e,Re.show();const p=document.querySelector(`#${e} [autofocus]`);p&&p.focus()}}function Ai(e){return bo.Modal.getInstance(document.getElementById(e))?.value}function Ma(e){return Re?e?Re.id===e&&Re._isShown:Re._isShown:!1}function sr(e,s=0,c=25){return e?.slice(s*c,s*c+c)??[]}function za(e="#invalid"){document.querySelector(e)?.focus()}function rr(e,s=[]){for(const p of s)p.valid=!0;document.querySelector(`#${e} [autofocus]`)?.focus()}function lr(e,s){e&&(e.modelValue=s,e.valid=!0)}function _o(e){const s=document.querySelector(`#${e}`);return s?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(c=>{c.focus(),c.blur()}),s.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)?(Co(e),!1):!0):(console.error("can't find/validate form",e),!1)}async function ar(e){const s=document.getElementById(e);return s?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(c=>{c.focus(),c.blur()}),document.querySelectorAll(`#${e} .ace_editor`).forEach(c=>{c.click()}),new Promise(c=>setTimeout(()=>{if(s.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)){Co(e),c(!1);return}c(!0)}))):(console.error("can't find/validate form",e),Promise.resolve(!1))}function La(e){document.querySelector(`#${e} [autofocus]`)?.focus()}function Co(e){document.querySelector(`#${e} :invalid, #${e} .invalid`)?.focus()}function Ia(e){return e<1024?`${e}B`:e<1024*1024?`${Math.floor(e/1024)}kB`:e<1024*1024*1024?`${Math.floor(e/1024/1024)}MB`:`${Math.floor(e/1024/1024/1024)}GB`}function cr(e){const s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),c=new Intl.DateTimeFormat("en",{month:"short"}).format(e);return`${new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e)} ${c} ${s}`}function dr(e,s=!1){const[c,p,b]=[(""+e.getUTCHours()).padStart(2,"0"),(""+e.getUTCMinutes()).padStart(2,"0"),(""+e.getUTCSeconds()).padStart(2,"0")];return s?`${c}:${p}:${b}`:`${c}:${p}`}function Fa(e,s=!1){return`${cr(e)} ${dr(e,s)}`}function Pa(e,s,c=!0,p=!1){let b=s.getTime()-e.getTime();p?b+=1:c?b+=1e3:b+=60*1e3;const m=(""+b%1e3).padStart(3,"0");b=Math.floor(b/1e3);const u=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const N=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const U=(""+b).padStart(2,"0");return p?`${U}:${N}:${u}.${m}`:c?`${U}:${N}:${u}`:`${U}:${N}`}function xa(e){const s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e);return`${new Intl.DateTimeFormat("en",{month:"short"}).format(e)} ${s}`}function Bi(e,s=0){return e.toLocaleString("en",{minimumFractionDigits:s})}function ja(e,s,c=2){switch(s){case"EUR":s="€";break;case"USD":s="$";break}return`${s} ${Bi(e/10**c,c)}`}function Wa(e,s){return`${Bi(e)} - ${Bi(s)}`}function ur(e){return`**** **** **** ${e.replace(/ /g,"").substr(-4)}`}function Ra(e,s,c=e.ID_FORM){if(c){if(_o(c)&&!e.submitting)return e.submitting=!0,s().finally(()=>{e.submitting=!1})}else if(!e.submitting)return e.submitting=!0,s().finally(()=>{e.submitting=!1});return Promise.resolve()}function qa(e,s,c=e.ID_FORM){return e.submitting?Promise.resolve():ar(c).then(p=>{if(p)return e.submitting=!0,s().finally(()=>{e.submitting=!1})})}function Lt(e,s){const c=s.split("."),p=c.shift(),b=e[p];return[void 0,null].includes(b)?b:c.length>0?Lt(b,c.join(".")):b}function fr(e,s,c="ASC",p=!1){if(!e)return[];const b=typeof e=="function"?[...e()]:[...e],m=(u,N)=>u.localeCompare(N,void 0,{ignorePunctuation:!0});return c==="ASC"?b.sort((u,N)=>(u=Lt(u,s)??"",N=Lt(N,s)??"",typeof u=="string"&&typeof N=="string"?p?m(u.toUpperCase(),N.toUpperCase()):m(u,N):u>N?1:u<N?-1:0)):b.sort((u,N)=>(u=Lt(u,s)??"",N=Lt(N,s)??"",typeof u=="string"&&typeof N=="string"?p?m(N.toUpperCase(),u.toUpperCase()):m(N,u):u<N?1:u>N?-1:0))}function pr(e,s=0,c="ASC"){return{col:s,order:c,set:function(p,b){const m=this.sort(p,b);this.col=p,this.order=m},get:function(p){return this.col===p?this.order:"NONE"},sorted:[],sorter:e,sort:function(p=this.col,b=this.order){const{sorted:m,sortedOrder:u}=this.sorter(p,b);return this.sorted=m,u}}}function Ha(e,s,c=0,p=()=>0,b=()=>Number.MAX_SAFE_INTEGER){return pr((m,u)=>({sorted:sr(fr(e,s[m],u),p(),b()),sortedOrder:u}),c)}function Ua(e,s=500,c="none"){clearTimeout(tr.get(c)),tr.set(c,setTimeout(e,s))}const tr=new Map;function Xa(e=3,s=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","eiusmod","tempor","incididunt","labore","et","dolore","magna","aliqua"]){let c="";for(let p=0;p<e;p++)c+=" "+s[Math.floor(Math.random()*s.length)];return c.substr(1)}function Ya(e=3,s=["alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","omicorn"]){const c=[];for(let p=0;p<e;p++)c.push(s[Math.floor(Math.random()*s.length)]);return c}function Ka(e){navigator.clipboard.writeText(e)}function Ga(e,s=[],c=[],p=!0){const b=[];for(const m of s)if(typeof m=="function")b.push(m());else if(m){const u=m.shift();b.push(u(...m))}for(const m of c)if(typeof m=="function")b.push(m(!1));else if(m){const u=m.shift();b.push(u(m.shift(),!1))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Qa(e,s=[],c=[],p=!0){const b=[];for(const m of s)if(typeof m=="function")b.push(m(!0));else if(m){const u=m.shift();b.push(u(!0,...m))}for(const m of c)if(typeof m=="function")b.push(m(!1));else if(m){const u=m.shift();b.push(u(!1,...m))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Ja(e){return new Promise(s=>setTimeout(s,e))}function Za(e){return e}function ec(e){return e}function tc(e){return e}const nc=n.defineComponent({name:"ClBackCancelOk",props:{ok:{type:String,default:"Ok"},back:{type:String,default:"Back"},cancel:{type:String,default:"Cancel"},disabled:{type:Boolean,default:!1},dirty:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},backHidden:{type:Boolean,default:!1},spinner:{type:Boolean,default:!1}},emits:["ok","cancel"],data(){return{ID_MODAL:"cl-modal-back-cancel-ok"}},methods:{clModalHide:Bn,abort:function(){this.dirty?yo(this.ID_MODAL,{}):this.$emit("cancel")},emit:function(e){Bn(),this.$emit(e)}}}),ic={key:0},oc={key:1},sc=["disabled"];function rc(e,s,c,p,b,m){const u=n.resolveComponent("cl-modal"),N=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(N,{class:"cl-back-cancel-ok"},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createElementVNode("div",{class:n.normalizeClass(["cl-spacing-box cl-spacing-medium it-buttons",[e.backHidden?"text-end":"cl-spread"]])},[e.backHidden?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"btn btn-sm cl-color-secondary it-cancel",onClick:s[0]||(s[0]=U=>e.abort())},[e.dirty?(n.openBlock(),n.createElementBlock("span",ic,n.toDisplayString(e.cancel),1)):(n.openBlock(),n.createElementBlock("span",oc,n.toDisplayString(e.back),1))])),e.hidden?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:1,type:"button",class:n.normalizeClass(["btn btn-sm cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),disabled:e.disabled||!e.dirty,onClick:s[1]||(s[1]=U=>e.$emit("ok"))},[n.createElementVNode("span",null,n.toDisplayString(e.ok),1)],10,sc))],2),n.createVNode(u,{id:e.ID_MODAL},{title:n.withCtx(()=>[...s[4]||(s[4]=[n.createTextVNode(" Unsaved changes ",-1)])]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"modal",{},()=>[s[5]||(s[5]=n.createElementVNode("p",null,"There are unsaved changes. Do you want to discard them or continue editing?",-1))])]),"footer-left":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-color-secondary it-cancel",onClick:s[2]||(s[2]=U=>e.emit("cancel",!0))}," Discard changes ")]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-color-primary it-ok",onClick:s[3]||(s[3]=U=>e.clModalHide())}," Continue editing ")]),_:3},8,["id"])]),_:3})}const Ft=B(nc,[["render",rc]]);Ft.install=e=>{e.component(Ft.name??"ClNoName",Ft)};const lc=n.defineComponent({name:"ClCookieBanner",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},local:{type:Boolean,default:!1}},emits:["consent"],data(){return{fade:!1,visible:!0,cookie:"cl_banner_nok"}},computed:{clazz:function(){return(this.fade?" cl-fade-away":"")+(this.class?` ${this.class}`:"")}},created(){for(const e of document?.cookie?.split(/; */)??[]){const[s,c]=e.split("=");if(s===this.cookie&&["-mtm","+mtm"].includes(c)){this.visible=!1;break}}},methods:{accept:function(){document.cookie=this.cookieString("+mtm"),this.hide(),this.$emit("consent")},decline:function(){document.cookie=this.cookieString("-mtm"),this.hide()},cookieString:function(e){return this.local?`${this.cookie}=${e}; max-age=${3600*24*395}; path=/; SameSite=Lax;`:`${this.cookie}=${e}; max-age=${3600*24*395}; domain=.castlabs.com; path=/; SameSite=Lax;`},hide:function(){this.fade=!0,setTimeout(()=>{this.visible=!1},500)}}}),ac=["id"],cc={class:"card-body"},dc={class:"cl-spacing-box text-center"};function uc(e,s,c,p,b,m){return e.visible?(n.openBlock(),n.createElementBlock("div",{key:0,id:e.id,class:n.normalizeClass(["card cl-card cl-cookie-banner",e.clazz])},[n.createElementVNode("div",cc,[n.renderSlot(e.$slots,"default",{},()=>[s[2]||(s[2]=n.createElementVNode("p",{class:"cl-p-small"},[n.createTextVNode(" For our services to work, we use essential cookies which we control. We'd also like to include others to analyze how our site is used to help improve it - but only if you accept. Learn more in our "),n.createElementVNode("a",{class:"cl-a-text",href:"https://castlabs.com/privacy-cookie-policy/"},"privacy policy"),n.createTextVNode(". ")],-1))]),n.createElementVNode("div",dc,[n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-primary it-ok",onClick:s[0]||(s[0]=u=>e.accept())}," Accept "),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-secondary it-cancel",onClick:s[1]||(s[1]=u=>e.decline())}," Decline ")])])],10,ac)):n.createCommentVNode("",!0)}const Pt=B(lc,[["render",uc]]);Pt.install=e=>{e.component(Pt.name??"ClNoName",Pt)};const Dn={mounted(e,s){let c="";for(const b of["cl-tooltip-primary","cl-tooltip-secondary","cl-tooltip-light","cl-tooltip-dark"])e.classList.contains(b)&&(c+=` ${b}`);const p=new bo.Tooltip(e,{title:s.value,placement:s.arg,html:!0,trigger:"hover",delay:{show:65,hide:0},template:`<div class="tooltip cl-tooltip${c}" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`});return e.__tooltipInstance=p,e.addEventListener("show.bs.tooltip",function(){document.querySelectorAll(".cl-tooltip").forEach(m=>m.remove())}),p},unmounted(e){const s=e.__tooltipInstance;if(s){typeof s.dispose=="function"&&s.dispose();const c=document.querySelector(".cl-tooltip");c&&c.remove(),delete e.__tooltipInstance}}},ko={mounted(e,s){e.addEventListener("click",function(){const c=typeof s.value=="function"?s.value():s.value;s.value!==""&&navigator.clipboard?.writeText(c),e.classList.add("cl-animation-flash-text"),setTimeout(()=>{e.classList.remove("cl-animation-flash-text")},1500)})}},fc=n.defineComponent({name:"ClCopy",directives:{tooltip:Dn,clipboard:ko},props:{show:{type:String,default:void 0},copy:{type:String,default:void 0},underline:{type:Boolean,default:!1},code:{type:Boolean,default:!1},unstyled:{type:Boolean,default:!1}},methods:{tooltip:function(){return this.show&&this.contentToCopy()!==this.show?`${this.contentToCopy()}<br><small>Click-to-copy!</small>`:"<small>Click-to-copy!</small>"},contentToCopy:function(){return this.copy??this.$refs.content?.textContent.trim()}}}),pc={key:0,ref:"content",class:"cl-copy"},hc={ref:"content"};function mc(e,s,c,p,b,m){const u=n.resolveDirective("tooltip"),N=n.resolveDirective("clipboard");return e.unstyled?n.withDirectives((n.openBlock(),n.createElementBlock("span",pc,[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))])),[[u,e.tooltip,"top"],[N,e.contentToCopy]]):e.code?n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(e.underline?"cl-copy cl-copy-text":"cl-copy cl-copy-transparent")},[n.createElementVNode("code",hc,[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))],512)],2)),[[u,e.tooltip,"top"],[N,e.contentToCopy]]):n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:2,ref:"content",class:n.normalizeClass(e.underline?"cl-copy cl-copy-text":"cl-copy cl-copy-transparent")},[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))],2)),[[u,e.tooltip,"top"],[N,e.contentToCopy]])}const xt=B(fc,[["render",mc]]);xt.install=e=>{e.component(xt.name??"ClNoName",xt)};const gc=n.defineComponent({name:"ClCreditcardNumber",props:{id:{type:String,default:void 0},class:{type:String,default:""},number:{type:String,default:"0000000000000000"},expires:{type:String,default:"MM/YYYY"},expired:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""},validText:function(){return this.expired?"expired":"valid until"}},methods:{clFormatCardNumber:ur}}),vc=["id"];function bc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("code",{id:e.id,class:n.normalizeClass(e.clazz)},n.toDisplayString(e.clFormatCardNumber(e.number)),11,vc),n.createTextVNode(", "+n.toDisplayString(e.validText)+" ",1),n.createElementVNode("code",null,n.toDisplayString(e.expires),1)],64)}const jt=B(gc,[["render",bc]]);jt.install=e=>{e.component(jt.name??"ClNoName",jt)};function nr(e){e.preventDefault()}const yc=n.defineComponent({name:"ClDropzone",props:{what:{type:String,default:"a file"},why:{type:String,default:"to add"},accept:{type:String,default:void 0},camera:{type:Boolean,default:!1}},emits:["file","content"],data(){return{$uid:0,dragging:!1}},mounted(){["dragenter","dragover","dragleave","drop"].forEach(e=>{document.body.addEventListener(e,nr)})},unmounted(){["dragenter","dragover","dragleave","drop"].forEach(e=>{document.body.removeEventListener(e,nr)})},methods:{browse:function(){const e=document.getElementById(`cl-dropzone-file-${this.$uid}`);if(e&&document.createEvent){const s=document.createEvent("MouseEvents");s.initEvent("click",!0,!1),e.dispatchEvent(s)}},browsed:function(){const s=document.getElementById(`cl-dropzone-file-${this.$uid}`).files??[];s.length>0&&this.loadFile(s[0])},mock:function(e){this.$emit("file",e)},loadFile:function(e){const s=new FileReader,c=this.$emit;c("file",e),s.onload=function(p){c("content",p.target?.result)},s.readAsText(e)},onDrop:function(e){e.dataTransfer&&this.loadFile(e.dataTransfer.files[0]),this.dragging=!1},onDrag:function(e){this.dragging=e}}}),_c=["id"],Cc=["id","accept"];function kc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["cl-spacing-small",e.dragging?"cl-dragging":""]),onDragover:s[6]||(s[6]=u=>e.onDrag(!0)),onDragleave:s[7]||(s[7]=u=>e.onDrag(!1)),onDrop:s[8]||(s[8]=n.withModifiers((...u)=>e.onDrop&&e.onDrop(...u),["prevent"]))},[e.camera?(n.openBlock(),n.createElementBlock("input",{key:0,id:`cl-dropzone-file-${e.$uid}`,type:"file",accept:"image/*",class:"cl-dropzone-file",capture:"environment",onChange:s[0]||(s[0]=(...u)=>e.browsed&&e.browsed(...u)),tabindex:"-1"},null,40,_c)):n.createCommentVNode("",!0),n.createElementVNode("input",{id:`cl-dropzone-file-${e.$uid}`,type:"file",accept:e.accept,class:"cl-dropzone-file",onChange:s[1]||(s[1]=(...u)=>e.browsed&&e.browsed(...u)),tabindex:"-1"},null,40,Cc),e.camera?(n.openBlock(),n.createElementBlock("div",{key:1,class:"cl-dropzone",onClick:s[3]||(s[3]=u=>e.browse())},[s[9]||(s[9]=n.createElementVNode("i",{class:"fas fa-camera"},null,-1)),s[10]||(s[10]=n.createTextVNode("Use your ",-1)),n.createElementVNode("a",{href:"#",onClick:s[2]||(s[2]=n.withModifiers(()=>{},["prevent"]))},"camera"),n.createTextVNode(" to take a picture "+n.toDisplayString(e.why)+". ",1)])):(n.openBlock(),n.createElementBlock("div",{key:2,class:"cl-dropzone",onClick:s[5]||(s[5]=u=>e.browse())},[s[11]||(s[11]=n.createElementVNode("i",{class:"fas fa-file-upload"},null,-1)),s[12]||(s[12]=n.createTextVNode("Drop or ",-1)),n.createElementVNode("a",{href:"#",onClick:s[4]||(s[4]=n.withModifiers(()=>{},["prevent"]))},"browse"),n.createTextVNode(" "+n.toDisplayString(e.what)+" "+n.toDisplayString(e.why)+". ",1)])),n.renderSlot(e.$slots,"default")],34)}const Wt=B(yc,[["render",kc]]);Wt.install=e=>{e.component(Wt.name??"ClNoName",Wt)};const $c=n.defineComponent({name:"ClField",inheritAttrs:!1,props:{value:{type:String,default:void 0},type:{type:String,default:"text"},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},class:{type:String,default:""},help:{type:String,default:void 0},error:{type:String,default:void 0},nofeedback:{type:Boolean,default:!1},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autotrim:{type:Boolean,default:!1},prevalidate:{type:Boolean,default:!1},minlength:{type:String,default:void 0},maxlength:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0},pattern:{type:String,default:void 0}},emits:["valid","invalid","changed","update:modelValue"],data(){return{valid:!0,modelValue:this.value??"",invalidMessage:this.error??"Input invalid.",filePlaceholder:this.placeholder??"Please select ..."}},computed:{clazz:function(){return this.type==="file"?this.class+" cl-file"+(this.valid?"":" invalid"):this.class+" form-control"+(this.valid?"":" invalid")}},watch:{value(e){this.modelValue!==e&&(this.modelValue=e)}},mounted:function(){this.prevalidate&&this.validate()},methods:{runAutotrim:function(){if(this.autotrim||["number"].includes(this.type)){const e=this.$refs.input;e.value=e.value.trim(),this.modelValue=e.value}},focus:function(){this.$nextTick(()=>{this.$refs.input?.focus()})},validate:function(e=!1){if(this.valid=!0,e&&this.runAutotrim(),this.type==="file"&&this.modelValue!==""&&(this.filePlaceholder=this.modelValue.replace(/.*[/\\]/,"")),this.required&&(this.modelValue?.length??0)<=0)this.setInvalid("This field may not be blank.");else switch(this.type){case"number":this.validateNumber();break;case"email":this.validateEMail();break;default:this.validateText()}this.valid&&this.setValid(this.modelValue)},validateText:function(){const e=Number(this.minlength),s=Number(this.maxlength);this.minlength&&(this.modelValue?.length??0)<e&&this.setInvalid(this.error??`Please enter at least ${e} character`+(e>1?"s.":".")),this.maxlength&&(this.modelValue?.length??0)>s&&this.setInvalid(this.error??`Please enter at most ${s} character`+(e>1?"s.":".")),this.pattern&&!new RegExp(this.pattern,"g").test(this.modelValue)&&this.setInvalid(this.error)},validateNumber:function(){const e=this.modelValue.trim();if(!/^-?[0-9]*$/.test(e.trim())){this.setInvalid("Please enter a number.");return}const s=parseInt(e.trim());if(s.toString()!==e){this.setInvalid("Please enter a number.");return}this.min!==void 0&&this.max!==void 0?(s<parseInt(this.min)||s>parseInt(this.max))&&this.setInvalid(`Please enter a number between ${this.min} and ${this.max}.`):this.min!==void 0?s<parseInt(this.min)&&this.setInvalid(`Please enter a number >= ${this.min}.`):this.max!==void 0&&s>parseInt(this.max)&&this.setInvalid(`Please enter a number <= ${this.max}.`)},validateEMail:function(){/^[^\s@]+@[^\s@]+\.[^\s@]+[^\s@.]$/.test(this.modelValue)||this.setInvalid("Please enter a valid email address.")},setValid:function(e=""){this.valid=!0,this.modelValue=e,this.$emit("update:modelValue",this.modelValue),this.$emit("valid",this.help??""),this.$emit("changed",this.modelValue)},setInvalid:function(e){this.valid=!1,this.invalidMessage=e??"Input invalid.",this.$emit("update:modelValue",this.modelValue),this.$emit("invalid",this.invalidMessage),this.$emit("changed",this.modelValue)}}}),Ec=["for"],wc={key:0,class:"required"},Sc=["id","autofocus","disabled","maxlength","minlength","placeholder","required"],Nc=["id","autofocus","disabled","required"],Tc=["id","autofocus","disabled","min","max","maxlength","minlength","pattern","placeholder","required","type"],Ac=["id","for"],Bc={key:1,class:"valid-feedback valid-feedback-none"};function Oc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.label?(n.openBlock(),n.createElementBlock("label",{key:0,for:e.$uid,class:n.normalizeClass(["form-label",{disabled:e.disabled}])},[n.createTextVNode(n.toDisplayString(e.label),1),e.required?(n.openBlock(),n.createElementBlock("span",wc,"*")):n.createCommentVNode("",!0)],10,Ec)):n.createCommentVNode("",!0),e.type==="textarea"?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",n.mergeProps({key:1,id:e.$uid},e.$attrs,{ref:"input","onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),autofocus:e.autofocus,class:e.clazz,disabled:e.disabled,maxlength:e.maxlength,minlength:e.minlength,placeholder:e.placeholder,required:e.required,onBlur:s[1]||(s[1]=u=>e.validate(!0)),onChange:s[2]||(s[2]=u=>e.validate()),onInput:s[3]||(s[3]=u=>e.validate())}),null,16,Sc)),[[n.vModelText,e.modelValue]]):e.type==="select"?n.withDirectives((n.openBlock(),n.createElementBlock("select",n.mergeProps({key:2,id:e.$uid,"onUpdate:modelValue":s[4]||(s[4]=u=>e.modelValue=u),class:["form-select",e.clazz],autofocus:e.autofocus,disabled:e.disabled,required:e.required},e.$attrs,{onBlur:s[5]||(s[5]=u=>e.validate(!0)),onChange:s[6]||(s[6]=u=>e.validate())}),[n.renderSlot(e.$slots,"default")],16,Nc)),[[n.vModelSelect,e.modelValue]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",n.mergeProps({key:3,id:e.$uid},e.$attrs,{ref:"input","onUpdate:modelValue":s[7]||(s[7]=u=>e.modelValue=u),autofocus:e.autofocus,class:e.clazz,disabled:e.disabled,min:e.min,max:e.max,maxlength:e.maxlength,minlength:e.minlength,pattern:e.pattern,placeholder:e.placeholder,required:e.required,type:["number"].includes(e.type)?"text":e.type,onBlur:s[8]||(s[8]=u=>e.validate(!0)),onChange:s[9]||(s[9]=u=>e.validate()),onInput:s[10]||(s[10]=u=>e.validate())}),null,16,Tc)),[[n.vModelDynamic,e.modelValue]]),e.type==="file"?(n.openBlock(),n.createElementBlock("label",{key:4,id:`${e.$uid}-companion`,for:e.$uid,class:"cl-file-companion"},n.toDisplayString(e.filePlaceholder),9,Ac)):n.createCommentVNode("",!0),e.nofeedback?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock(n.Fragment,{key:5},[n.createElementVNode("p",{class:n.normalizeClass(["invalid-feedback",{disabled:e.disabled}])},n.toDisplayString(e.invalidMessage),3),e.help?(n.openBlock(),n.createElementBlock("p",{key:0,class:n.normalizeClass(["valid-feedback",{disabled:e.disabled}])},n.toDisplayString(e.help),3)):(n.openBlock(),n.createElementBlock("p",Bc))],64))],64)}const Rt=B($c,[["render",Oc]]);Rt.install=e=>{e.component(Rt.name??"ClNoName",Rt)};const Dc=n.defineComponent({name:"ClFieldCheck",inheritAttrs:!1,props:{id:{type:String,default:void 0},value:{type:Boolean,default:!1},label:{type:String,default:void 0},class:{type:String,default:""},inline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{modelValue:this.value}},computed:{clazz:function(){return`form-check${this.inline?" form-check-inline":""} ${this.class}`}},watch:{value(e){this.modelValue!==e&&(this.modelValue=e)}},methods:{check:function(e=!1){this.modelValue=e,this.$refs.input.checked=e},focus:function(){this.$nextTick(()=>{this.$refs.input.focus()})}}}),Vc=["id","disabled","indeterminate","autofocus"],Mc=["for"];function zc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(e.clazz)},[n.withDirectives(n.createElementVNode("input",n.mergeProps({id:e.id??e.$uid,"onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,indeterminate:e.indeterminate,autofocus:e.autofocus},e.$attrs,{onChange:s[1]||(s[1]=u=>e.$emit("update:modelValue",e.modelValue))}),null,16,Vc),[[n.vModelCheckbox,e.modelValue]]),n.createElementVNode("label",{class:"form-check-label",for:e.id??e.$uid},[n.renderSlot(e.$slots,"default")],8,Mc)],2)}const qt=B(Dc,[["render",zc]]);qt.install=e=>{e.component(qt.name??"ClNoName",qt)};const Lc=n.defineComponent({name:"ClFieldGroup",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:void 0},label:{type:String,default:void 0},help:{type:String,default:void 0},error:{type:String,default:void 0},required:{type:Boolean,default:!1}},data(){return{valid:!0,invalidMessage:this.error??"Input invalid."}},computed:{clazz:function(){return(this.valid?"":" invalid")+(this.class?` ${this.class}`:"")}},methods:{setValid:function(){this.valid=!0,this.invalidMessage="Input invalid."},setInvalid:function(e){this.valid=!1,this.invalidMessage=e??"Input invalid."}}}),Ic={key:0,class:"form-label"},Fc={key:0,class:"required"},Pc=["id"],xc={class:"invalid-feedback"},jc={key:1,class:"valid-feedback"};function Wc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.label?(n.openBlock(),n.createElementBlock("label",Ic,[n.createTextVNode(n.toDisplayString(e.label),1),e.required?(n.openBlock(),n.createElementBlock("span",Fc,"*")):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(`input-group${e.clazz}`),id:e.id},[n.renderSlot(e.$slots,"default")],10,Pc),n.createElementVNode("p",xc,n.toDisplayString(e.invalidMessage),1),e.help?(n.openBlock(),n.createElementBlock("p",jc,n.toDisplayString(e.help),1)):n.createCommentVNode("",!0)],64)}const Ht=B(Lc,[["render",Wc]]);Ht.install=e=>{e.component(Ht.name??"ClNoName",Ht)};const Rc=n.defineComponent({name:"ClHashtag",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-hashtag ";return!this.primary&&!this.secondary?this.class.includes("cl-color")||(e+=" cl-color-clay"):this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-color-night"),e+(this.class?` ${this.class}`:"")}}}),qc={key:0,class:"cl-badge-derived"},Hc=["id"],Uc=["id"];function Xc(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",qc,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,Hc)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,Uc))}const Ut=B(Rc,[["render",Xc]]);Ut.install=e=>{e.component(Ut.name??"ClNoName",Ut)};const Yc=n.defineComponent({name:"ClIconotron",props:{src:{type:String,default:void 0}}}),Kc={class:"container cl-container-iconotron"},Gc={class:"row"},Qc={class:"col-12 col-md-3"},Jc=["src"],Zc={class:"col-12 col-md-9"};function ed(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Kc,[n.createElementVNode("div",Gc,[n.createElementVNode("div",Qc,[n.createElementVNode("img",{src:e.src,alt:""},null,8,Jc)]),n.createElementVNode("div",Zc,[n.renderSlot(e.$slots,"default")])])])}const Xt=B(Yc,[["render",ed]]);Xt.install=e=>{e.component(Xt.name??"ClNoName",Xt)};const td=n.defineComponent({name:"ClInfo",directives:{tooltip:Dn},props:{bottom:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},top:{type:Boolean,default:!0},info:{type:String,default:"Tooltip"},faded:{type:Boolean,default:!0},icon:{type:String,default:"far fa-question-circle"}},computed:{classes:function(){return this.icon+(this.faded?" cl-faded":"")}}});function nd(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return e.bottom?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"bottom"]]):e.left?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"left"]]):e.right?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:2,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"right"]]):n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:3,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"top"]])}const Yt=B(td,[["render",nd]]);Yt.install=e=>{e.component(Yt.name??"ClNoName",Yt)};const id=n.defineComponent({name:"ClLinkExternal",props:{noicon:{type:Boolean,default:!1}}});function od(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:n.normalizeClass({"cl-a-external":!e.noicon}),target:"_blank",rel:"noopener noreferrer"},[n.renderSlot(e.$slots,"default")],2)}const Kt=B(id,[["render",od]]);Kt.install=e=>{e.component(Kt.name??"ClNoName",Kt)};const sd=`
|
|
5
|
+
*/var Oa=Ti.exports,er;function Da(){return er||(er=1,(function(e,s){(function(c,p){e.exports=p()})(Oa,function(){const c=new Map,p={set(o,t,i){c.has(o)||c.set(o,new Map);const r=c.get(o);r.has(t)||r.size===0?r.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(o,t)=>c.has(o)&&c.get(o).get(t)||null,remove(o,t){if(!c.has(o))return;const i=c.get(o);i.delete(t),i.size===0&&c.delete(o)}},b="transitionend",m=o=>(o&&window.CSS&&window.CSS.escape&&(o=o.replace(/#([^\s"#']+)/g,(t,i)=>`#${CSS.escape(i)}`)),o),u=o=>o==null?`${o}`:Object.prototype.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase(),N=o=>{o.dispatchEvent(new Event(b))},U=o=>!(!o||typeof o!="object")&&(o.jquery!==void 0&&(o=o[0]),o.nodeType!==void 0),ae=o=>U(o)?o.jquery?o[0]:o:typeof o=="string"&&o.length>0?document.querySelector(m(o)):null,we=o=>{if(!U(o)||o.getClientRects().length===0)return!1;const t=getComputedStyle(o).getPropertyValue("visibility")==="visible",i=o.closest("details:not([open])");if(!i)return t;if(i!==o){const r=o.closest("summary");if(r&&r.parentNode!==i||r===null)return!1}return t},Se=o=>!o||o.nodeType!==Node.ELEMENT_NODE||!!o.classList.contains("disabled")||(o.disabled!==void 0?o.disabled:o.hasAttribute("disabled")&&o.getAttribute("disabled")!=="false"),bt=o=>{if(!document.documentElement.attachShadow)return null;if(typeof o.getRootNode=="function"){const t=o.getRootNode();return t instanceof ShadowRoot?t:null}return o instanceof ShadowRoot?o:o.parentNode?bt(o.parentNode):null},nt=()=>{},Xe=o=>{o.offsetHeight},Jn=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Vn=[],ne=()=>document.documentElement.dir==="rtl",me=o=>{var t;t=()=>{const i=Jn();if(i){const r=o.NAME,a=i.fn[r];i.fn[r]=o.jQueryInterface,i.fn[r].Constructor=o,i.fn[r].noConflict=()=>(i.fn[r]=a,o.jQueryInterface)}},document.readyState==="loading"?(Vn.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Vn)i()}),Vn.push(t)):t()},oe=(o,t=[],i=o)=>typeof o=="function"?o.call(...t):i,Zn=(o,t,i=!0)=>{if(!i)return void oe(o);const r=(g=>{if(!g)return 0;let{transitionDuration:C,transitionDelay:k}=window.getComputedStyle(g);const E=Number.parseFloat(C),w=Number.parseFloat(k);return E||w?(C=C.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(C)+Number.parseFloat(k))):0})(t)+5;let a=!1;const d=({target:g})=>{g===t&&(a=!0,t.removeEventListener(b,d),oe(o))};t.addEventListener(b,d),setTimeout(()=>{a||N(t)},r)},Mn=(o,t,i,r)=>{const a=o.length;let d=o.indexOf(t);return d===-1?!i&&r?o[a-1]:o[0]:(d+=i?1:-1,r&&(d=(d+a)%a),o[Math.max(0,Math.min(d,a-1))])},ei=/[^.]*(?=\..*)\.|.*/,Oi=/\..*/,Di=/::\d+$/,zn={};let Ln=1;const ti={mouseenter:"mouseover",mouseleave:"mouseout"},Vi=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 ni(o,t){return t&&`${t}::${Ln++}`||o.uidEvent||Ln++}function ii(o){const t=ni(o);return o.uidEvent=t,zn[t]=zn[t]||{},zn[t]}function oi(o,t,i=null){return Object.values(o).find(r=>r.callable===t&&r.delegationSelector===i)}function si(o,t,i){const r=typeof t=="string",a=r?i:t||i;let d=ri(o);return Vi.has(d)||(d=o),[r,a,d]}function yt(o,t,i,r,a){if(typeof t!="string"||!o)return;let[d,g,C]=si(t,i,r);t in ti&&(g=(V=>function(O){if(!O.relatedTarget||O.relatedTarget!==O.delegateTarget&&!O.delegateTarget.contains(O.relatedTarget))return V.call(this,O)})(g));const k=ii(o),E=k[C]||(k[C]={}),w=oi(E,g,d?i:null);if(w)return void(w.oneOff=w.oneOff&&a);const $=ni(g,t.replace(ei,"")),z=d?(function(A,V,O){return function M(R){const Y=A.querySelectorAll(V);for(let{target:F}=R;F&&F!==this;F=F.parentNode)for(const x of Y)if(x===F)return In(R,{delegateTarget:F}),M.oneOff&&_.off(A,R.type,V,O),O.apply(F,[R])}})(o,i,g):(function(A,V){return function O(M){return In(M,{delegateTarget:A}),O.oneOff&&_.off(A,M.type,V),V.apply(A,[M])}})(o,g);z.delegationSelector=d?i:null,z.callable=g,z.oneOff=a,z.uidEvent=$,E[$]=z,o.addEventListener(C,z,d)}function _t(o,t,i,r,a){const d=oi(t[i],r,a);d&&(o.removeEventListener(i,d,!!a),delete t[i][d.uidEvent])}function Mi(o,t,i,r){const a=t[i]||{};for(const[d,g]of Object.entries(a))d.includes(r)&&_t(o,t,i,g.callable,g.delegationSelector)}function ri(o){return o=o.replace(Oi,""),ti[o]||o}const _={on(o,t,i,r){yt(o,t,i,r,!1)},one(o,t,i,r){yt(o,t,i,r,!0)},off(o,t,i,r){if(typeof t!="string"||!o)return;const[a,d,g]=si(t,i,r),C=g!==t,k=ii(o),E=k[g]||{},w=t.startsWith(".");if(d===void 0){if(w)for(const $ of Object.keys(k))Mi(o,k,$,t.slice(1));for(const[$,z]of Object.entries(E)){const A=$.replace(Di,"");C&&!t.includes(A)||_t(o,k,g,z.callable,z.delegationSelector)}}else{if(!Object.keys(E).length)return;_t(o,k,g,d,a?i:null)}},trigger(o,t,i){if(typeof t!="string"||!o)return null;const r=Jn();let a=null,d=!0,g=!0,C=!1;t!==ri(t)&&r&&(a=r.Event(t,i),r(o).trigger(a),d=!a.isPropagationStopped(),g=!a.isImmediatePropagationStopped(),C=a.isDefaultPrevented());const k=In(new Event(t,{bubbles:d,cancelable:!0}),i);return C&&k.preventDefault(),g&&o.dispatchEvent(k),k.defaultPrevented&&a&&a.preventDefault(),k}};function In(o,t={}){for(const[i,r]of Object.entries(t))try{o[i]=r}catch{Object.defineProperty(o,i,{configurable:!0,get:()=>r})}return o}function li(o){if(o==="true")return!0;if(o==="false")return!1;if(o===Number(o).toString())return Number(o);if(o===""||o==="null")return null;if(typeof o!="string")return o;try{return JSON.parse(decodeURIComponent(o))}catch{return o}}function Fn(o){return o.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const se={setDataAttribute(o,t,i){o.setAttribute(`data-bs-${Fn(t)}`,i)},removeDataAttribute(o,t){o.removeAttribute(`data-bs-${Fn(t)}`)},getDataAttributes(o){if(!o)return{};const t={},i=Object.keys(o.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of i){let a=r.replace(/^bs/,"");a=a.charAt(0).toLowerCase()+a.slice(1),t[a]=li(o.dataset[r])}return t},getDataAttribute:(o,t)=>li(o.getAttribute(`data-bs-${Fn(t)}`))};class Ye{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,i){const r=U(i)?se.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...U(i)?se.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[r,a]of Object.entries(i)){const d=t[r],g=U(d)?"element":u(d);if(!new RegExp(a).test(g))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${g}" but expected type "${a}".`)}}}class ge extends Ye{constructor(t,i){super(),(t=ae(t))&&(this._element=t,this._config=this._getConfig(i),p.set(this._element,this.constructor.DATA_KEY,this))}dispose(){p.remove(this._element,this.constructor.DATA_KEY),_.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,r=!0){Zn(t,i,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return p.get(ae(t),this.DATA_KEY)}static getOrCreateInstance(t,i={}){return this.getInstance(t)||new this(t,typeof i=="object"?i:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Ct=o=>{let t=o.getAttribute("data-bs-target");if(!t||t==="#"){let i=o.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?t.split(",").map(i=>m(i)).join(","):null},S={find:(o,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,o)),findOne:(o,t=document.documentElement)=>Element.prototype.querySelector.call(t,o),children:(o,t)=>[].concat(...o.children).filter(i=>i.matches(t)),parents(o,t){const i=[];let r=o.parentNode.closest(t);for(;r;)i.push(r),r=r.parentNode.closest(t);return i},prev(o,t){let i=o.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(o,t){let i=o.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(o){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,o).filter(i=>!Se(i)&&we(i))},getSelectorFromElement(o){const t=Ct(o);return t&&S.findOne(t)?t:null},getElementFromSelector(o){const t=Ct(o);return t?S.findOne(t):null},getMultipleElementsFromSelector(o){const t=Ct(o);return t?S.find(t):[]}},it=(o,t="hide")=>{const i=`click.dismiss${o.EVENT_KEY}`,r=o.NAME;_.on(document,i,`[data-bs-dismiss="${r}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),Se(this))return;const d=S.getElementFromSelector(this)||this.closest(`.${r}`);o.getOrCreateInstance(d)[t]()})},Pn=".bs.alert",xn=`close${Pn}`,zi=`closed${Pn}`;class De extends ge{static get NAME(){return"alert"}close(){if(_.trigger(this._element,xn).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),_.trigger(this._element,zi),this.dispose()}static jQueryInterface(t){return this.each(function(){const i=De.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}}it(De,"close"),me(De);const jn='[data-bs-toggle="button"]';class Ke extends ge{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const i=Ke.getOrCreateInstance(this);t==="toggle"&&i[t]()})}}_.on(document,"click.bs.button.data-api",jn,o=>{o.preventDefault();const t=o.target.closest(jn);Ke.getOrCreateInstance(t).toggle()}),me(Ke);const ce=".bs.swipe",Wn=`touchstart${ce}`,Li=`touchmove${ce}`,Le=`touchend${ce}`,Ie=`pointerdown${ce}`,re=`pointerup${ce}`,kt={endCallback:null,leftCallback:null,rightCallback:null},Rn={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ge extends Ye{constructor(t,i){super(),this._element=t,t&&Ge.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return kt}static get DefaultType(){return Rn}static get NAME(){return"swipe"}dispose(){_.off(this._element,ce)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),oe(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const i=t/this._deltaX;this._deltaX=0,i&&oe(i>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(_.on(this._element,Ie,t=>this._start(t)),_.on(this._element,re,t=>this._end(t)),this._element.classList.add("pointer-event")):(_.on(this._element,Wn,t=>this._start(t)),_.on(this._element,Li,t=>this._move(t)),_.on(this._element,Le,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType==="pen"||t.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Q=".bs.carousel",ai=".data-api",ci="ArrowLeft",v="ArrowRight",f="next",h="prev",l="left",y="right",T=`slide${Q}`,D=`slid${Q}`,L=`keydown${Q}`,K=`mouseenter${Q}`,X=`mouseleave${Q}`,le=`dragstart${Q}`,J=`load${Q}${ai}`,ee=`click${Q}${ai}`,ve="carousel",be="active",ye=".active",Ve=".carousel-item",$t=ye+Ve,Qe={[ci]:y,[v]:l},te={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_e={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class de extends ge{constructor(t,i){super(t,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=S.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ve&&this.cycle()}static get Default(){return te}static get DefaultType(){return _e}static get NAME(){return"carousel"}next(){this._slide(f)}nextWhenVisible(){!document.hidden&&we(this._element)&&this.next()}prev(){this._slide(h)}pause(){this._isSliding&&N(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?_.one(this._element,D,()=>this.cycle()):this.cycle())}to(t){const i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding)return void _.one(this._element,D,()=>this.to(t));const r=this._getItemIndex(this._getActive());if(r===t)return;const a=t>r?f:h;this._slide(a,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&_.on(this._element,L,t=>this._keydown(t)),this._config.pause==="hover"&&(_.on(this._element,K,()=>this.pause()),_.on(this._element,X,()=>this._maybeEnableCycle())),this._config.touch&&Ge.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of S.find(".carousel-item img",this._element))_.on(i,le,r=>r.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(l)),rightCallback:()=>this._slide(this._directionToOrder(y)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ge(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const i=Qe[t.key];i&&(t.preventDefault(),this._slide(this._directionToOrder(i)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const i=S.findOne(ye,this._indicatorsElement);i.classList.remove(be),i.removeAttribute("aria-current");const r=S.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(be),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const i=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=i||this._config.defaultInterval}_slide(t,i=null){if(this._isSliding)return;const r=this._getActive(),a=t===f,d=i||Mn(this._getItems(),r,a,this._config.wrap);if(d===r)return;const g=this._getItemIndex(d),C=$=>_.trigger(this._element,$,{relatedTarget:d,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:g});if(C(T).defaultPrevented||!r||!d)return;const k=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(g),this._activeElement=d;const E=a?"carousel-item-start":"carousel-item-end",w=a?"carousel-item-next":"carousel-item-prev";d.classList.add(w),Xe(d),r.classList.add(E),d.classList.add(E),this._queueCallback(()=>{d.classList.remove(E,w),d.classList.add(be),r.classList.remove(be,w,E),this._isSliding=!1,C(D)},r,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return S.findOne($t,this._element)}_getItems(){return S.find(Ve,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ne()?t===l?h:f:t===l?f:h}_orderToDirection(t){return ne()?t===h?l:y:t===h?y:l}static jQueryInterface(t){return this.each(function(){const i=de.getOrCreateInstance(this,t);if(typeof t!="number"){if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}}else i.to(t)})}}_.on(document,ee,"[data-bs-slide], [data-bs-slide-to]",function(o){const t=S.getElementFromSelector(this);if(!t||!t.classList.contains(ve))return;o.preventDefault();const i=de.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(i.to(r),void i._maybeEnableCycle()):se.getDataAttribute(this,"slide")==="next"?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),_.on(window,J,()=>{const o=S.find('[data-bs-ride="carousel"]');for(const t of o)de.getOrCreateInstance(t)}),me(de);const Fe=".bs.collapse",Sr=`show${Fe}`,Nr=`shown${Fe}`,Tr=`hide${Fe}`,Ar=`hidden${Fe}`,Br=`click${Fe}.data-api`,Ii="show",Et="collapse",di="collapsing",Or=`:scope .${Et} .${Et}`,Fi='[data-bs-toggle="collapse"]',Dr={parent:null,toggle:!0},Vr={parent:"(null|element)",toggle:"boolean"};class wt extends ge{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];const r=S.find(Fi);for(const a of r){const d=S.getSelectorFromElement(a),g=S.find(d).filter(C=>C===this._element);d!==null&&g.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Dr}static get DefaultType(){return Vr}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(a=>a!==this._element).map(a=>wt.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||_.trigger(this._element,Sr).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(Et),this._element.classList.add(di),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(di),this._element.classList.add(Et,Ii),this._element.style[i]="",_.trigger(this._element,Nr)},this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||_.trigger(this._element,Tr).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Xe(this._element),this._element.classList.add(di),this._element.classList.remove(Et,Ii);for(const i of this._triggerArray){const r=S.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(di),this._element.classList.add(Et),_.trigger(this._element,Ar)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ii)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ae(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Fi);for(const i of t){const r=S.getElementFromSelector(i);r&&this._addAriaAndCollapsedClass([i],this._isShown(r))}}_getFirstLevelChildren(t){const i=S.find(Or,this._config.parent);return S.find(t,this._config.parent).filter(r=>!i.includes(r))}_addAriaAndCollapsedClass(t,i){if(t.length)for(const r of t)r.classList.toggle("collapsed",!i),r.setAttribute("aria-expanded",i)}static jQueryInterface(t){const i={};return typeof t=="string"&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){const r=wt.getOrCreateInstance(this,i);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t]()}})}}_.on(document,Br,Fi,function(o){(o.target.tagName==="A"||o.delegateTarget&&o.delegateTarget.tagName==="A")&&o.preventDefault();for(const t of S.getMultipleElementsFromSelector(this))wt.getOrCreateInstance(t,{toggle:!1}).toggle()}),me(wt);var ue="top",Ce="bottom",ke="right",fe="left",ui="auto",St=[ue,Ce,ke,fe],ot="start",Nt="end",wo="clippingParents",Pi="viewport",Tt="popper",So="reference",xi=St.reduce(function(o,t){return o.concat([t+"-"+ot,t+"-"+Nt])},[]),ji=[].concat(St,[ui]).reduce(function(o,t){return o.concat([t,t+"-"+ot,t+"-"+Nt])},[]),No="beforeRead",To="read",Ao="afterRead",Bo="beforeMain",Oo="main",Do="afterMain",Vo="beforeWrite",Mo="write",zo="afterWrite",Lo=[No,To,Ao,Bo,Oo,Do,Vo,Mo,zo];function Pe(o){return o?(o.nodeName||"").toLowerCase():null}function $e(o){if(o==null)return window;if(o.toString()!=="[object Window]"){var t=o.ownerDocument;return t&&t.defaultView||window}return o}function st(o){return o instanceof $e(o).Element||o instanceof Element}function Ne(o){return o instanceof $e(o).HTMLElement||o instanceof HTMLElement}function Wi(o){return typeof ShadowRoot<"u"&&(o instanceof $e(o).ShadowRoot||o instanceof ShadowRoot)}const Ri={name:"applyStyles",enabled:!0,phase:"write",fn:function(o){var t=o.state;Object.keys(t.elements).forEach(function(i){var r=t.styles[i]||{},a=t.attributes[i]||{},d=t.elements[i];Ne(d)&&Pe(d)&&(Object.assign(d.style,r),Object.keys(a).forEach(function(g){var C=a[g];C===!1?d.removeAttribute(g):d.setAttribute(g,C===!0?"":C)}))})},effect:function(o){var t=o.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(r){var a=t.elements[r],d=t.attributes[r]||{},g=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:i[r]).reduce(function(C,k){return C[k]="",C},{});Ne(a)&&Pe(a)&&(Object.assign(a.style,g),Object.keys(d).forEach(function(C){a.removeAttribute(C)}))})}},requires:["computeStyles"]};function xe(o){return o.split("-")[0]}var rt=Math.max,fi=Math.min,At=Math.round;function qi(){var o=navigator.userAgentData;return o!=null&&o.brands&&Array.isArray(o.brands)?o.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Io(){return!/^((?!chrome|android).)*safari/i.test(qi())}function Bt(o,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=o.getBoundingClientRect(),a=1,d=1;t&&Ne(o)&&(a=o.offsetWidth>0&&At(r.width)/o.offsetWidth||1,d=o.offsetHeight>0&&At(r.height)/o.offsetHeight||1);var g=(st(o)?$e(o):window).visualViewport,C=!Io()&&i,k=(r.left+(C&&g?g.offsetLeft:0))/a,E=(r.top+(C&&g?g.offsetTop:0))/d,w=r.width/a,$=r.height/d;return{width:w,height:$,top:E,right:k+w,bottom:E+$,left:k,x:k,y:E}}function Hi(o){var t=Bt(o),i=o.offsetWidth,r=o.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:o.offsetLeft,y:o.offsetTop,width:i,height:r}}function Fo(o,t){var i=t.getRootNode&&t.getRootNode();if(o.contains(t))return!0;if(i&&Wi(i)){var r=t;do{if(r&&o.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qe(o){return $e(o).getComputedStyle(o)}function Mr(o){return["table","td","th"].indexOf(Pe(o))>=0}function Je(o){return((st(o)?o.ownerDocument:o.document)||window.document).documentElement}function pi(o){return Pe(o)==="html"?o:o.assignedSlot||o.parentNode||(Wi(o)?o.host:null)||Je(o)}function Po(o){return Ne(o)&&qe(o).position!=="fixed"?o.offsetParent:null}function qn(o){for(var t=$e(o),i=Po(o);i&&Mr(i)&&qe(i).position==="static";)i=Po(i);return i&&(Pe(i)==="html"||Pe(i)==="body"&&qe(i).position==="static")?t:i||(function(r){var a=/firefox/i.test(qi());if(/Trident/i.test(qi())&&Ne(r)&&qe(r).position==="fixed")return null;var d=pi(r);for(Wi(d)&&(d=d.host);Ne(d)&&["html","body"].indexOf(Pe(d))<0;){var g=qe(d);if(g.transform!=="none"||g.perspective!=="none"||g.contain==="paint"||["transform","perspective"].indexOf(g.willChange)!==-1||a&&g.willChange==="filter"||a&&g.filter&&g.filter!=="none")return d;d=d.parentNode}return null})(o)||t}function Ui(o){return["top","bottom"].indexOf(o)>=0?"x":"y"}function Hn(o,t,i){return rt(o,fi(t,i))}function xo(o){return Object.assign({},{top:0,right:0,bottom:0,left:0},o)}function jo(o,t){return t.reduce(function(i,r){return i[r]=o,i},{})}const Wo={name:"arrow",enabled:!0,phase:"main",fn:function(o){var t,i=o.state,r=o.name,a=o.options,d=i.elements.arrow,g=i.modifiersData.popperOffsets,C=xe(i.placement),k=Ui(C),E=[fe,ke].indexOf(C)>=0?"height":"width";if(d&&g){var w=(function(q,W){return xo(typeof(q=typeof q=="function"?q(Object.assign({},W.rects,{placement:W.placement})):q)!="number"?q:jo(q,St))})(a.padding,i),$=Hi(d),z=k==="y"?ue:fe,A=k==="y"?Ce:ke,V=i.rects.reference[E]+i.rects.reference[k]-g[k]-i.rects.popper[E],O=g[k]-i.rects.reference[k],M=qn(d),R=M?k==="y"?M.clientHeight||0:M.clientWidth||0:0,Y=V/2-O/2,F=w[z],x=R-$[E]-w[A],I=R/2-$[E]/2+Y,P=Hn(F,I,x),j=k;i.modifiersData[r]=((t={})[j]=P,t.centerOffset=P-I,t)}},effect:function(o){var t=o.state,i=o.options.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r!="string"||(r=t.elements.popper.querySelector(r)))&&Fo(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ot(o){return o.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ro(o){var t,i=o.popper,r=o.popperRect,a=o.placement,d=o.variation,g=o.offsets,C=o.position,k=o.gpuAcceleration,E=o.adaptive,w=o.roundOffsets,$=o.isFixed,z=g.x,A=z===void 0?0:z,V=g.y,O=V===void 0?0:V,M=typeof w=="function"?w({x:A,y:O}):{x:A,y:O};A=M.x,O=M.y;var R=g.hasOwnProperty("x"),Y=g.hasOwnProperty("y"),F=fe,x=ue,I=window;if(E){var P=qn(i),j="clientHeight",q="clientWidth";P===$e(i)&&qe(P=Je(i)).position!=="static"&&C==="absolute"&&(j="scrollHeight",q="scrollWidth"),(a===ue||(a===fe||a===ke)&&d===Nt)&&(x=Ce,O-=($&&P===I&&I.visualViewport?I.visualViewport.height:P[j])-r.height,O*=k?1:-1),a!==fe&&(a!==ue&&a!==Ce||d!==Nt)||(F=ke,A-=($&&P===I&&I.visualViewport?I.visualViewport.width:P[q])-r.width,A*=k?1:-1)}var W,Z=Object.assign({position:C},E&&zr),Ee=w===!0?(function(ze,pe){var Ae=ze.x,Be=ze.y,G=pe.devicePixelRatio||1;return{x:At(Ae*G)/G||0,y:At(Be*G)/G||0}})({x:A,y:O},$e(i)):{x:A,y:O};return A=Ee.x,O=Ee.y,k?Object.assign({},Z,((W={})[x]=Y?"0":"",W[F]=R?"0":"",W.transform=(I.devicePixelRatio||1)<=1?"translate("+A+"px, "+O+"px)":"translate3d("+A+"px, "+O+"px, 0)",W)):Object.assign({},Z,((t={})[x]=Y?O+"px":"",t[F]=R?A+"px":"",t.transform="",t))}const Xi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(o){var t=o.state,i=o.options,r=i.gpuAcceleration,a=r===void 0||r,d=i.adaptive,g=d===void 0||d,C=i.roundOffsets,k=C===void 0||C,E={placement:xe(t.placement),variation:Ot(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ro(Object.assign({},E,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:g,roundOffsets:k})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ro(Object.assign({},E,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:k})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var hi={passive:!0};const Yi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(o){var t=o.state,i=o.instance,r=o.options,a=r.scroll,d=a===void 0||a,g=r.resize,C=g===void 0||g,k=$e(t.elements.popper),E=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&E.forEach(function(w){w.addEventListener("scroll",i.update,hi)}),C&&k.addEventListener("resize",i.update,hi),function(){d&&E.forEach(function(w){w.removeEventListener("scroll",i.update,hi)}),C&&k.removeEventListener("resize",i.update,hi)}},data:{}};var Lr={left:"right",right:"left",bottom:"top",top:"bottom"};function mi(o){return o.replace(/left|right|bottom|top/g,function(t){return Lr[t]})}var Ir={start:"end",end:"start"};function qo(o){return o.replace(/start|end/g,function(t){return Ir[t]})}function Ki(o){var t=$e(o);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gi(o){return Bt(Je(o)).left+Ki(o).scrollLeft}function Qi(o){var t=qe(o),i=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+r)}function Ho(o){return["html","body","#document"].indexOf(Pe(o))>=0?o.ownerDocument.body:Ne(o)&&Qi(o)?o:Ho(pi(o))}function Un(o,t){var i;t===void 0&&(t=[]);var r=Ho(o),a=r===((i=o.ownerDocument)==null?void 0:i.body),d=$e(r),g=a?[d].concat(d.visualViewport||[],Qi(r)?r:[]):r,C=t.concat(g);return a?C:C.concat(Un(pi(g)))}function Ji(o){return Object.assign({},o,{left:o.x,top:o.y,right:o.x+o.width,bottom:o.y+o.height})}function Uo(o,t,i){return t===Pi?Ji((function(r,a){var d=$e(r),g=Je(r),C=d.visualViewport,k=g.clientWidth,E=g.clientHeight,w=0,$=0;if(C){k=C.width,E=C.height;var z=Io();(z||!z&&a==="fixed")&&(w=C.offsetLeft,$=C.offsetTop)}return{width:k,height:E,x:w+Gi(r),y:$}})(o,i)):st(t)?(function(r,a){var d=Bt(r,!1,a==="fixed");return d.top=d.top+r.clientTop,d.left=d.left+r.clientLeft,d.bottom=d.top+r.clientHeight,d.right=d.left+r.clientWidth,d.width=r.clientWidth,d.height=r.clientHeight,d.x=d.left,d.y=d.top,d})(t,i):Ji((function(r){var a,d=Je(r),g=Ki(r),C=(a=r.ownerDocument)==null?void 0:a.body,k=rt(d.scrollWidth,d.clientWidth,C?C.scrollWidth:0,C?C.clientWidth:0),E=rt(d.scrollHeight,d.clientHeight,C?C.scrollHeight:0,C?C.clientHeight:0),w=-g.scrollLeft+Gi(r),$=-g.scrollTop;return qe(C||d).direction==="rtl"&&(w+=rt(d.clientWidth,C?C.clientWidth:0)-k),{width:k,height:E,x:w,y:$}})(Je(o)))}function Xo(o){var t,i=o.reference,r=o.element,a=o.placement,d=a?xe(a):null,g=a?Ot(a):null,C=i.x+i.width/2-r.width/2,k=i.y+i.height/2-r.height/2;switch(d){case ue:t={x:C,y:i.y-r.height};break;case Ce:t={x:C,y:i.y+i.height};break;case ke:t={x:i.x+i.width,y:k};break;case fe:t={x:i.x-r.width,y:k};break;default:t={x:i.x,y:i.y}}var E=d?Ui(d):null;if(E!=null){var w=E==="y"?"height":"width";switch(g){case ot:t[E]=t[E]-(i[w]/2-r[w]/2);break;case Nt:t[E]=t[E]+(i[w]/2-r[w]/2)}}return t}function Dt(o,t){t===void 0&&(t={});var i=t,r=i.placement,a=r===void 0?o.placement:r,d=i.strategy,g=d===void 0?o.strategy:d,C=i.boundary,k=C===void 0?wo:C,E=i.rootBoundary,w=E===void 0?Pi:E,$=i.elementContext,z=$===void 0?Tt:$,A=i.altBoundary,V=A!==void 0&&A,O=i.padding,M=O===void 0?0:O,R=xo(typeof M!="number"?M:jo(M,St)),Y=z===Tt?So:Tt,F=o.rects.popper,x=o.elements[V?Y:z],I=(function(pe,Ae,Be,G){var je=Ae==="clippingParents"?(function(H){var he=Un(pi(H)),Oe=["absolute","fixed"].indexOf(qe(H).position)>=0&&Ne(H)?qn(H):H;return st(Oe)?he.filter(function(et){return st(et)&&Fo(et,Oe)&&Pe(et)!=="body"}):[]})(pe):[].concat(Ae),We=[].concat(je,[Be]),zt=We[0],ie=We.reduce(function(H,he){var Oe=Uo(pe,he,G);return H.top=rt(Oe.top,H.top),H.right=fi(Oe.right,H.right),H.bottom=fi(Oe.bottom,H.bottom),H.left=rt(Oe.left,H.left),H},Uo(pe,zt,G));return ie.width=ie.right-ie.left,ie.height=ie.bottom-ie.top,ie.x=ie.left,ie.y=ie.top,ie})(st(x)?x:x.contextElement||Je(o.elements.popper),k,w,g),P=Bt(o.elements.reference),j=Xo({reference:P,element:F,placement:a}),q=Ji(Object.assign({},F,j)),W=z===Tt?q:P,Z={top:I.top-W.top+R.top,bottom:W.bottom-I.bottom+R.bottom,left:I.left-W.left+R.left,right:W.right-I.right+R.right},Ee=o.modifiersData.offset;if(z===Tt&&Ee){var ze=Ee[a];Object.keys(Z).forEach(function(pe){var Ae=[ke,Ce].indexOf(pe)>=0?1:-1,Be=[ue,Ce].indexOf(pe)>=0?"y":"x";Z[pe]+=ze[Be]*Ae})}return Z}function Fr(o,t){t===void 0&&(t={});var i=t,r=i.placement,a=i.boundary,d=i.rootBoundary,g=i.padding,C=i.flipVariations,k=i.allowedAutoPlacements,E=k===void 0?ji:k,w=Ot(r),$=w?C?xi:xi.filter(function(V){return Ot(V)===w}):St,z=$.filter(function(V){return E.indexOf(V)>=0});z.length===0&&(z=$);var A=z.reduce(function(V,O){return V[O]=Dt(o,{placement:O,boundary:a,rootBoundary:d,padding:g})[xe(O)],V},{});return Object.keys(A).sort(function(V,O){return A[V]-A[O]})}const Yo={name:"flip",enabled:!0,phase:"main",fn:function(o){var t=o.state,i=o.options,r=o.name;if(!t.modifiersData[r]._skip){for(var a=i.mainAxis,d=a===void 0||a,g=i.altAxis,C=g===void 0||g,k=i.fallbackPlacements,E=i.padding,w=i.boundary,$=i.rootBoundary,z=i.altBoundary,A=i.flipVariations,V=A===void 0||A,O=i.allowedAutoPlacements,M=t.options.placement,R=xe(M),Y=k||(R!==M&&V?(function(H){if(xe(H)===ui)return[];var he=mi(H);return[qo(H),he,qo(he)]})(M):[mi(M)]),F=[M].concat(Y).reduce(function(H,he){return H.concat(xe(he)===ui?Fr(t,{placement:he,boundary:w,rootBoundary:$,padding:E,flipVariations:V,allowedAutoPlacements:O}):he)},[]),x=t.rects.reference,I=t.rects.popper,P=new Map,j=!0,q=F[0],W=0;W<F.length;W++){var Z=F[W],Ee=xe(Z),ze=Ot(Z)===ot,pe=[ue,Ce].indexOf(Ee)>=0,Ae=pe?"width":"height",Be=Dt(t,{placement:Z,boundary:w,rootBoundary:$,altBoundary:z,padding:E}),G=pe?ze?ke:fe:ze?Ce:ue;x[Ae]>I[Ae]&&(G=mi(G));var je=mi(G),We=[];if(d&&We.push(Be[Ee]<=0),C&&We.push(Be[G]<=0,Be[je]<=0),We.every(function(H){return H})){q=Z,j=!1;break}P.set(Z,We)}if(j)for(var zt=function(H){var he=F.find(function(Oe){var et=P.get(Oe);if(et)return et.slice(0,H).every(function(Ei){return Ei})});if(he)return q=he,"break"},ie=V?3:1;ie>0&&zt(ie)!=="break";ie--);t.placement!==q&&(t.modifiersData[r]._skip=!0,t.placement=q,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ko(o,t,i){return i===void 0&&(i={x:0,y:0}),{top:o.top-t.height-i.y,right:o.right-t.width+i.x,bottom:o.bottom-t.height+i.y,left:o.left-t.width-i.x}}function Go(o){return[ue,ke,Ce,fe].some(function(t){return o[t]>=0})}const Qo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(o){var t=o.state,i=o.name,r=t.rects.reference,a=t.rects.popper,d=t.modifiersData.preventOverflow,g=Dt(t,{elementContext:"reference"}),C=Dt(t,{altBoundary:!0}),k=Ko(g,r),E=Ko(C,a,d),w=Go(k),$=Go(E);t.modifiersData[i]={referenceClippingOffsets:k,popperEscapeOffsets:E,isReferenceHidden:w,hasPopperEscaped:$},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":w,"data-popper-escaped":$})}},Jo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(o){var t=o.state,i=o.options,r=o.name,a=i.offset,d=a===void 0?[0,0]:a,g=ji.reduce(function(w,$){return w[$]=(function(z,A,V){var O=xe(z),M=[fe,ue].indexOf(O)>=0?-1:1,R=typeof V=="function"?V(Object.assign({},A,{placement:z})):V,Y=R[0],F=R[1];return Y=Y||0,F=(F||0)*M,[fe,ke].indexOf(O)>=0?{x:F,y:Y}:{x:Y,y:F}})($,t.rects,d),w},{}),C=g[t.placement],k=C.x,E=C.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=k,t.modifiersData.popperOffsets.y+=E),t.modifiersData[r]=g}},Zi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(o){var t=o.state,i=o.name;t.modifiersData[i]=Xo({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},Zo={name:"preventOverflow",enabled:!0,phase:"main",fn:function(o){var t=o.state,i=o.options,r=o.name,a=i.mainAxis,d=a===void 0||a,g=i.altAxis,C=g!==void 0&&g,k=i.boundary,E=i.rootBoundary,w=i.altBoundary,$=i.padding,z=i.tether,A=z===void 0||z,V=i.tetherOffset,O=V===void 0?0:V,M=Dt(t,{boundary:k,rootBoundary:E,padding:$,altBoundary:w}),R=xe(t.placement),Y=Ot(t.placement),F=!Y,x=Ui(R),I=x==="x"?"y":"x",P=t.modifiersData.popperOffsets,j=t.rects.reference,q=t.rects.popper,W=typeof O=="function"?O(Object.assign({},t.rects,{placement:t.placement})):O,Z=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),Ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ze={x:0,y:0};if(P){if(d){var pe,Ae=x==="y"?ue:fe,Be=x==="y"?Ce:ke,G=x==="y"?"height":"width",je=P[x],We=je+M[Ae],zt=je-M[Be],ie=A?-q[G]/2:0,H=Y===ot?j[G]:q[G],he=Y===ot?-q[G]:-j[G],Oe=t.elements.arrow,et=A&&Oe?Hi(Oe):{width:0,height:0},Ei=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Ps=Ei[Ae],xs=Ei[Be],wi=Hn(0,j[G],et[G]),ga=F?j[G]/2-ie-wi-Ps-Z.mainAxis:H-wi-Ps-Z.mainAxis,va=F?-j[G]/2+ie+wi+xs+Z.mainAxis:he+wi+xs+Z.mainAxis,ho=t.elements.arrow&&qn(t.elements.arrow),ba=ho?x==="y"?ho.clientTop||0:ho.clientLeft||0:0,js=(pe=Ee?.[x])!=null?pe:0,ya=je+va-js,Ws=Hn(A?fi(We,je+ga-js-ba):We,je,A?rt(zt,ya):zt);P[x]=Ws,ze[x]=Ws-je}if(C){var Rs,_a=x==="x"?ue:fe,Ca=x==="x"?Ce:ke,ht=P[I],Si=I==="y"?"height":"width",qs=ht+M[_a],Hs=ht-M[Ca],mo=[ue,fe].indexOf(R)!==-1,Us=(Rs=Ee?.[I])!=null?Rs:0,Xs=mo?qs:ht-j[Si]-q[Si]-Us+Z.altAxis,Ys=mo?ht+j[Si]+q[Si]-Us-Z.altAxis:Hs,Ks=A&&mo?(function(ka,$a,go){var Gs=Hn(ka,$a,go);return Gs>go?go:Gs})(Xs,ht,Ys):Hn(A?Xs:qs,ht,A?Ys:Hs);P[I]=Ks,ze[I]=Ks-ht}t.modifiersData[r]=ze}},requiresIfExists:["offset"]};function Pr(o,t,i){i===void 0&&(i=!1);var r,a,d=Ne(t),g=Ne(t)&&(function($){var z=$.getBoundingClientRect(),A=At(z.width)/$.offsetWidth||1,V=At(z.height)/$.offsetHeight||1;return A!==1||V!==1})(t),C=Je(t),k=Bt(o,g,i),E={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(d||!d&&!i)&&((Pe(t)!=="body"||Qi(C))&&(E=(r=t)!==$e(r)&&Ne(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:Ki(r)),Ne(t)?((w=Bt(t,!0)).x+=t.clientLeft,w.y+=t.clientTop):C&&(w.x=Gi(C))),{x:k.left+E.scrollLeft-w.x,y:k.top+E.scrollTop-w.y,width:k.width,height:k.height}}function xr(o){var t=new Map,i=new Set,r=[];function a(d){i.add(d.name),[].concat(d.requires||[],d.requiresIfExists||[]).forEach(function(g){if(!i.has(g)){var C=t.get(g);C&&a(C)}}),r.push(d)}return o.forEach(function(d){t.set(d.name,d)}),o.forEach(function(d){i.has(d.name)||a(d)}),r}var es={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){for(var o=arguments.length,t=new Array(o),i=0;i<o;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function gi(o){o===void 0&&(o={});var t=o,i=t.defaultModifiers,r=i===void 0?[]:i,a=t.defaultOptions,d=a===void 0?es:a;return function(g,C,k){k===void 0&&(k=d);var E,w,$={placement:"bottom",orderedModifiers:[],options:Object.assign({},es,d),modifiersData:{},elements:{reference:g,popper:C},attributes:{},styles:{}},z=[],A=!1,V={state:$,setOptions:function(M){var R=typeof M=="function"?M($.options):M;O(),$.options=Object.assign({},d,$.options,R),$.scrollParents={reference:st(g)?Un(g):g.contextElement?Un(g.contextElement):[],popper:Un(C)};var Y,F,x=(function(I){var P=xr(I);return Lo.reduce(function(j,q){return j.concat(P.filter(function(W){return W.phase===q}))},[])})((Y=[].concat(r,$.options.modifiers),F=Y.reduce(function(I,P){var j=I[P.name];return I[P.name]=j?Object.assign({},j,P,{options:Object.assign({},j.options,P.options),data:Object.assign({},j.data,P.data)}):P,I},{}),Object.keys(F).map(function(I){return F[I]})));return $.orderedModifiers=x.filter(function(I){return I.enabled}),$.orderedModifiers.forEach(function(I){var P=I.name,j=I.options,q=j===void 0?{}:j,W=I.effect;if(typeof W=="function"){var Z=W({state:$,name:P,instance:V,options:q});z.push(Z||function(){})}}),V.update()},forceUpdate:function(){if(!A){var M=$.elements,R=M.reference,Y=M.popper;if(ts(R,Y)){$.rects={reference:Pr(R,qn(Y),$.options.strategy==="fixed"),popper:Hi(Y)},$.reset=!1,$.placement=$.options.placement,$.orderedModifiers.forEach(function(W){return $.modifiersData[W.name]=Object.assign({},W.data)});for(var F=0;F<$.orderedModifiers.length;F++)if($.reset!==!0){var x=$.orderedModifiers[F],I=x.fn,P=x.options,j=P===void 0?{}:P,q=x.name;typeof I=="function"&&($=I({state:$,options:j,name:q,instance:V})||$)}else $.reset=!1,F=-1}}},update:(E=function(){return new Promise(function(M){V.forceUpdate(),M($)})},function(){return w||(w=new Promise(function(M){Promise.resolve().then(function(){w=void 0,M(E())})})),w}),destroy:function(){O(),A=!0}};if(!ts(g,C))return V;function O(){z.forEach(function(M){return M()}),z=[]}return V.setOptions(k).then(function(M){!A&&k.onFirstUpdate&&k.onFirstUpdate(M)}),V}}var jr=gi(),Wr=gi({defaultModifiers:[Yi,Zi,Xi,Ri]}),eo=gi({defaultModifiers:[Yi,Zi,Xi,Ri,Jo,Yo,Zo,Wo,Qo]});const ns=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Do,afterRead:Ao,afterWrite:zo,applyStyles:Ri,arrow:Wo,auto:ui,basePlacements:St,beforeMain:Bo,beforeRead:No,beforeWrite:Vo,bottom:Ce,clippingParents:wo,computeStyles:Xi,createPopper:eo,createPopperBase:jr,createPopperLite:Wr,detectOverflow:Dt,end:Nt,eventListeners:Yi,flip:Yo,hide:Qo,left:fe,main:Oo,modifierPhases:Lo,offset:Jo,placements:ji,popper:Tt,popperGenerator:gi,popperOffsets:Zi,preventOverflow:Zo,read:To,reference:So,right:ke,start:ot,top:ue,variationPlacements:xi,viewport:Pi,write:Mo},Symbol.toStringTag,{value:"Module"})),is="dropdown",lt=".bs.dropdown",to=".data-api",Rr="ArrowUp",os="ArrowDown",qr=`hide${lt}`,Hr=`hidden${lt}`,Ur=`show${lt}`,Xr=`shown${lt}`,ss=`click${lt}${to}`,rs=`keydown${lt}${to}`,Yr=`keyup${lt}${to}`,Vt="show",at='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Kr=`${at}.${Vt}`,vi=".dropdown-menu",Gr=ne()?"top-end":"top-start",Qr=ne()?"top-start":"top-end",Jr=ne()?"bottom-end":"bottom-start",Zr=ne()?"bottom-start":"bottom-end",el=ne()?"left-start":"right-start",tl=ne()?"right-start":"left-start",nl={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},il={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Me extends ge{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=S.next(this._element,vi)[0]||S.prev(this._element,vi)[0]||S.findOne(vi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return nl}static get DefaultType(){return il}static get NAME(){return is}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Se(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!_.trigger(this._element,Ur,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))_.on(i,"mouseover",nt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Vt),this._element.classList.add(Vt),_.trigger(this._element,Xr,t)}}hide(){if(Se(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!_.trigger(this._element,qr,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))_.off(i,"mouseover",nt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Vt),this._element.classList.remove(Vt),this._element.setAttribute("aria-expanded","false"),se.removeDataAttribute(this._menu,"popper"),_.trigger(this._element,Hr,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!U(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${is.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(ns===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:U(this._config.reference)?t=ae(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const i=this._getPopperConfig();this._popper=eo(t,this._menu,i)}_isShown(){return this._menu.classList.contains(Vt)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return el;if(t.classList.contains("dropstart"))return tl;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const i=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains("dropup")?i?Qr:Gr:i?Zr:Jr}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(se.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...oe(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:i}){const r=S.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(a=>we(a));r.length&&Mn(r,i,t===os,!r.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){const i=Me.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}static clearMenus(t){if(t.button===2||t.type==="keyup"&&t.key!=="Tab")return;const i=S.find(Kr);for(const r of i){const a=Me.getInstance(r);if(!a||a._config.autoClose===!1)continue;const d=t.composedPath(),g=d.includes(a._menu);if(d.includes(a._element)||a._config.autoClose==="inside"&&!g||a._config.autoClose==="outside"&&g||a._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const C={relatedTarget:a._element};t.type==="click"&&(C.clickEvent=t),a._completeHide(C)}}static dataApiKeydownHandler(t){const i=/input|textarea/i.test(t.target.tagName),r=t.key==="Escape",a=[Rr,os].includes(t.key);if(!a&&!r||i&&!r)return;t.preventDefault();const d=this.matches(at)?this:S.prev(this,at)[0]||S.next(this,at)[0]||S.findOne(at,t.delegateTarget.parentNode),g=Me.getOrCreateInstance(d);if(a)return t.stopPropagation(),g.show(),void g._selectMenuItem(t);g._isShown()&&(t.stopPropagation(),g.hide(),d.focus())}}_.on(document,rs,at,Me.dataApiKeydownHandler),_.on(document,rs,vi,Me.dataApiKeydownHandler),_.on(document,ss,Me.clearMenus),_.on(document,Yr,Me.clearMenus),_.on(document,ss,at,function(o){o.preventDefault(),Me.getOrCreateInstance(this).toggle()}),me(Me);const ls="backdrop",as="show",cs=`mousedown.bs.${ls}`,ol={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},sl={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ds extends Ye{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ol}static get DefaultType(){return sl}static get NAME(){return ls}show(t){if(!this._config.isVisible)return void oe(t);this._append();const i=this._getElement();this._config.isAnimated&&Xe(i),i.classList.add(as),this._emulateAnimation(()=>{oe(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(as),this._emulateAnimation(()=>{this.dispose(),oe(t)})):oe(t)}dispose(){this._isAppended&&(_.off(this._element,cs),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ae(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),_.on(t,cs,()=>{oe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Zn(t,this._getElement(),this._config.isAnimated)}}const bi=".bs.focustrap",rl=`focusin${bi}`,ll=`keydown.tab${bi}`,us="backward",al={autofocus:!0,trapElement:null},cl={autofocus:"boolean",trapElement:"element"};class fs extends Ye{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return al}static get DefaultType(){return cl}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),_.off(document,bi),_.on(document,rl,t=>this._handleFocusin(t)),_.on(document,ll,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,_.off(document,bi))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const r=S.focusableChildren(i);r.length===0?i.focus():this._lastTabNavDirection===us?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?us:"forward")}}const ps=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hs=".sticky-top",yi="padding-right",ms="margin-right";class no{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,i=>i+t),this._setElementAttributes(ps,yi,i=>i+t),this._setElementAttributes(hs,ms,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(ps,yi),this._resetElementAttributes(hs,ms)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,r){const a=this.getWidth();this._applyManipulationCallback(t,d=>{if(d!==this._element&&window.innerWidth>d.clientWidth+a)return;this._saveInitialAttribute(d,i);const g=window.getComputedStyle(d).getPropertyValue(i);d.style.setProperty(i,`${r(Number.parseFloat(g))}px`)})}_saveInitialAttribute(t,i){const r=t.style.getPropertyValue(i);r&&se.setDataAttribute(t,i,r)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,r=>{const a=se.getDataAttribute(r,i);a!==null?(se.removeDataAttribute(r,i),r.style.setProperty(i,a)):r.style.removeProperty(i)})}_applyManipulationCallback(t,i){if(U(t))i(t);else for(const r of S.find(t,this._element))i(r)}}const Te=".bs.modal",dl=`hide${Te}`,ul=`hidePrevented${Te}`,gs=`hidden${Te}`,vs=`show${Te}`,fl=`shown${Te}`,pl=`resize${Te}`,hl=`click.dismiss${Te}`,ml=`mousedown.dismiss${Te}`,gl=`keydown.dismiss${Te}`,vl=`click${Te}.data-api`,bs="modal-open",ys="show",io="modal-static",bl={backdrop:!0,focus:!0,keyboard:!0},yl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ct extends ge{constructor(t,i){super(t,i),this._dialog=S.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new no,this._addEventListeners()}static get Default(){return bl}static get DefaultType(){return yl}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||_.trigger(this._element,vs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(bs),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(_.trigger(this._element,dl).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ys),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){_.off(window,Te),_.off(this._dialog,Te),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ds({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fs({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const i=S.findOne(".modal-body",this._dialog);i&&(i.scrollTop=0),Xe(this._element),this._element.classList.add(ys),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,_.trigger(this._element,fl,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){_.on(this._element,gl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),_.on(window,pl,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),_.on(this._element,ml,t=>{_.one(this._element,hl,i=>{this._element===t.target&&this._element===i.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(bs),this._resetAdjustments(),this._scrollBar.reset(),_.trigger(this._element,gs)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(_.trigger(this._element,ul).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(io)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(io),this._queueCallback(()=>{this._element.classList.remove(io),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),r=i>0;if(r&&!t){const a=ne()?"paddingLeft":"paddingRight";this._element.style[a]=`${i}px`}if(!r&&t){const a=ne()?"paddingRight":"paddingLeft";this._element.style[a]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){const r=ct.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t](i)}})}}_.on(document,vl,'[data-bs-toggle="modal"]',function(o){const t=S.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&o.preventDefault(),_.one(t,vs,r=>{r.defaultPrevented||_.one(t,gs,()=>{we(this)&&this.focus()})});const i=S.findOne(".modal.show");i&&ct.getInstance(i).hide(),ct.getOrCreateInstance(t).toggle(this)}),it(ct),me(ct);const He=".bs.offcanvas",_s=".data-api",_l=`load${He}${_s}`,Cs="show",ks="showing",$s="hiding",Es=".offcanvas.show",Cl=`show${He}`,kl=`shown${He}`,$l=`hide${He}`,ws=`hidePrevented${He}`,Ss=`hidden${He}`,El=`resize${He}`,wl=`click${He}${_s}`,Sl=`keydown.dismiss${He}`,Nl={backdrop:!0,keyboard:!0,scroll:!1},Tl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ue extends ge{constructor(t,i){super(t,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Nl}static get DefaultType(){return Tl}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||_.trigger(this._element,Cl,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new no().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ks),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Cs),this._element.classList.remove(ks),_.trigger(this._element,kl,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(_.trigger(this._element,$l).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($s),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Cs,$s),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new no().reset(),_.trigger(this._element,Ss)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new ds({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():_.trigger(this._element,ws)}:null})}_initializeFocusTrap(){return new fs({trapElement:this._element})}_addEventListeners(){_.on(this._element,Sl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():_.trigger(this._element,ws))})}static jQueryInterface(t){return this.each(function(){const i=Ue.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t](this)}})}}_.on(document,wl,'[data-bs-toggle="offcanvas"]',function(o){const t=S.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Se(this))return;_.one(t,Ss,()=>{we(this)&&this.focus()});const i=S.findOne(Es);i&&i!==t&&Ue.getInstance(i).hide(),Ue.getOrCreateInstance(t).toggle(this)}),_.on(window,_l,()=>{for(const o of S.find(Es))Ue.getOrCreateInstance(o).show()}),_.on(window,El,()=>{for(const o of S.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(o).position!=="fixed"&&Ue.getOrCreateInstance(o).hide()}),it(Ue),me(Ue);const Ns={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},Al=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Bl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ol=(o,t)=>{const i=o.nodeName.toLowerCase();return t.includes(i)?!Al.has(i)||!!Bl.test(o.nodeValue):t.filter(r=>r instanceof RegExp).some(r=>r.test(i))},Dl={allowList:Ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Vl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ml={entry:"(string|element|function|null)",selector:"(string|element)"};class zl extends Ye{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Dl}static get DefaultType(){return Vl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[a,d]of Object.entries(this._config.content))this._setContent(t,d,a);const i=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&i.classList.add(...r.split(" ")),i}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[i,r]of Object.entries(t))super._typeCheckConfig({selector:i,entry:r},Ml)}_setContent(t,i,r){const a=S.findOne(r,t);a&&((i=this._resolvePossibleFunction(i))?U(i)?this._putElementInTemplate(ae(i),a):this._config.html?a.innerHTML=this._maybeSanitize(i):a.textContent=i:a.remove())}_maybeSanitize(t){return this._config.sanitize?(function(i,r,a){if(!i.length)return i;if(a&&typeof a=="function")return a(i);const d=new window.DOMParser().parseFromString(i,"text/html"),g=[].concat(...d.body.querySelectorAll("*"));for(const C of g){const k=C.nodeName.toLowerCase();if(!Object.keys(r).includes(k)){C.remove();continue}const E=[].concat(...C.attributes),w=[].concat(r["*"]||[],r[k]||[]);for(const $ of E)Ol($,w)||C.removeAttribute($.nodeName)}return d.body.innerHTML})(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return oe(t,[void 0,this])}_putElementInTemplate(t,i){if(this._config.html)return i.innerHTML="",void i.append(t);i.textContent=t.textContent}}const Ll=new Set(["sanitize","allowList","sanitizeFn"]),oo="fade",_i="show",Il=".tooltip-inner",Ts=".modal",As="hide.bs.modal",Xn="hover",so="focus",ro="click",Fl={AUTO:"auto",TOP:"top",RIGHT:ne()?"left":"right",BOTTOM:"bottom",LEFT:ne()?"right":"left"},Pl={allowList:Ns,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},xl={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class dt extends ge{constructor(t,i){if(ns===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,i),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Pl}static get DefaultType(){return xl}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),_.off(this._element.closest(Ts),As,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=_.trigger(this._element,this.constructor.eventName("show")),i=(bt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(r),_.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(_i),"ontouchstart"in document.documentElement)for(const d of[].concat(...document.body.children))_.on(d,"mouseover",nt);this._queueCallback(()=>{_.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!_.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(_i),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))_.off(t,"mouseover",nt);this._activeTrigger[ro]=!1,this._activeTrigger[so]=!1,this._activeTrigger[Xn]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),_.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const i=this._getTemplateFactory(t).toHtml();if(!i)return null;i.classList.remove(oo,_i),i.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(a=>{do a+=Math.floor(1e6*Math.random());while(document.getElementById(a));return a})(this.constructor.NAME).toString();return i.setAttribute("id",r),this._isAnimated()&&i.classList.add(oo),i}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Il]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(oo)}_isShown(){return this.tip&&this.tip.classList.contains(_i)}_createPopper(t){const i=oe(this._config.placement,[this,t,this._element]),r=Fl[i.toUpperCase()];return eo(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(i=>Number.parseInt(i,10)):typeof t=="function"?i=>t(i,this._element):t}_resolvePossibleFunction(t){return oe(t,[this._element,this._element])}_getPopperConfig(t){const i={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...i,...oe(this._config.popperConfig,[void 0,i])}}_setListeners(){const t=this._config.trigger.split(" ");for(const i of t)if(i==="click")_.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger[ro]=!(a._isShown()&&a._activeTrigger[ro]),a.toggle()});else if(i!=="manual"){const r=i===Xn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),a=i===Xn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");_.on(this._element,r,this._config.selector,d=>{const g=this._initializeOnDelegatedTarget(d);g._activeTrigger[d.type==="focusin"?so:Xn]=!0,g._enter()}),_.on(this._element,a,this._config.selector,d=>{const g=this._initializeOnDelegatedTarget(d);g._activeTrigger[d.type==="focusout"?so:Xn]=g._element.contains(d.relatedTarget),g._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},_.on(this._element.closest(Ts),As,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,i){clearTimeout(this._timeout),this._timeout=setTimeout(t,i)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const i=se.getDataAttributes(this._element);for(const r of Object.keys(i))Ll.has(r)&&delete i[r];return t={...i,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:ae(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[i,r]of Object.entries(this._config))this.constructor.Default[i]!==r&&(t[i]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const i=dt.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}me(dt);const jl=".popover-header",Wl=".popover-body",Rl={...dt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ql={...dt.DefaultType,content:"(null|string|element|function)"};class Ci extends dt{static get Default(){return Rl}static get DefaultType(){return ql}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Wl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const i=Ci.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}me(Ci);const lo=".bs.scrollspy",Hl=`activate${lo}`,Bs=`click${lo}`,Ul=`load${lo}.data-api`,Mt="active",ao="[href]",Os=".nav-link",Xl=`${Os}, .nav-item > ${Os}, .list-group-item`,Yl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Kl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Yn extends ge{constructor(t,i){super(t,i),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Yl}static get DefaultType(){return Kl}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ae(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(i=>Number.parseFloat(i))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(_.off(this._config.target,Bs),_.on(this._config.target,Bs,ao,t=>{const i=this._observableSections.get(t.target.hash);if(i){t.preventDefault();const r=this._rootElement||window,a=i.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:a,behavior:"smooth"});r.scrollTop=a}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(i=>this._observerCallback(i),t)}_observerCallback(t){const i=g=>this._targetLinks.get(`#${g.target.id}`),r=g=>{this._previousScrollData.visibleEntryTop=g.target.offsetTop,this._process(i(g))},a=(this._rootElement||document.documentElement).scrollTop,d=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(const g of t){if(!g.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(g));continue}const C=g.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&C){if(r(g),!a)return}else d||C||r(g)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=S.find(ao,this._config.target);for(const i of t){if(!i.hash||Se(i))continue;const r=S.findOne(decodeURI(i.hash),this._element);we(r)&&(this._targetLinks.set(decodeURI(i.hash),i),this._observableSections.set(i.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Mt),this._activateParents(t),_.trigger(this._element,Hl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))S.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Mt);else for(const i of S.parents(t,".nav, .list-group"))for(const r of S.prev(i,Xl))r.classList.add(Mt)}_clearActiveClass(t){t.classList.remove(Mt);const i=S.find(`${ao}.${Mt}`,t);for(const r of i)r.classList.remove(Mt)}static jQueryInterface(t){return this.each(function(){const i=Yn.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}_.on(window,Ul,()=>{for(const o of S.find('[data-bs-spy="scroll"]'))Yn.getOrCreateInstance(o)}),me(Yn);const ut=".bs.tab",Gl=`hide${ut}`,Ql=`hidden${ut}`,Jl=`show${ut}`,Zl=`shown${ut}`,ea=`click${ut}`,ta=`keydown${ut}`,na=`load${ut}`,ia="ArrowLeft",Ds="ArrowRight",oa="ArrowUp",Vs="ArrowDown",co="Home",Ms="End",ft="active",zs="fade",uo="show",Ls=".dropdown-toggle",fo=`:not(${Ls})`,Is='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',po=`.nav-link${fo}, .list-group-item${fo}, [role="tab"]${fo}, ${Is}`,sa=`.${ft}[data-bs-toggle="tab"], .${ft}[data-bs-toggle="pill"], .${ft}[data-bs-toggle="list"]`;class pt extends ge{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),_.on(this._element,ta,i=>this._keydown(i)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const i=this._getActiveElem(),r=i?_.trigger(i,Gl,{relatedTarget:t}):null;_.trigger(t,Jl,{relatedTarget:i}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){t&&(t.classList.add(ft),this._activate(S.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),_.trigger(t,Zl,{relatedTarget:i})):t.classList.add(uo)},t,t.classList.contains(zs)))}_deactivate(t,i){t&&(t.classList.remove(ft),t.blur(),this._deactivate(S.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),_.trigger(t,Ql,{relatedTarget:i})):t.classList.remove(uo)},t,t.classList.contains(zs)))}_keydown(t){if(![ia,Ds,oa,Vs,co,Ms].includes(t.key))return;t.stopPropagation(),t.preventDefault();const i=this._getChildren().filter(a=>!Se(a));let r;if([co,Ms].includes(t.key))r=i[t.key===co?0:i.length-1];else{const a=[Ds,Vs].includes(t.key);r=Mn(i,t.target,a,!0)}r&&(r.focus({preventScroll:!0}),pt.getOrCreateInstance(r).show())}_getChildren(){return S.find(po,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,i){this._setAttributeIfNotExists(t,"role","tablist");for(const r of i)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const i=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",i),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),i||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const i=S.getElementFromSelector(t);i&&(this._setAttributeIfNotExists(i,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(i,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,i){const r=this._getOuterElement(t);if(!r.classList.contains("dropdown"))return;const a=(d,g)=>{const C=S.findOne(d,r);C&&C.classList.toggle(g,i)};a(Ls,ft),a(".dropdown-menu",uo),r.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(t,i,r){t.hasAttribute(i)||t.setAttribute(i,r)}_elemIsActive(t){return t.classList.contains(ft)}_getInnerElement(t){return t.matches(po)?t:S.findOne(po,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const i=pt.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}_.on(document,ea,Is,function(o){["A","AREA"].includes(this.tagName)&&o.preventDefault(),Se(this)||pt.getOrCreateInstance(this).show()}),_.on(window,na,()=>{for(const o of S.find(sa))pt.getOrCreateInstance(o)}),me(pt);const Ze=".bs.toast",ra=`mouseover${Ze}`,la=`mouseout${Ze}`,aa=`focusin${Ze}`,ca=`focusout${Ze}`,da=`hide${Ze}`,ua=`hidden${Ze}`,fa=`show${Ze}`,pa=`shown${Ze}`,Fs="hide",ki="show",$i="showing",ha={animation:"boolean",autohide:"boolean",delay:"number"},ma={animation:!0,autohide:!0,delay:5e3};class Kn extends ge{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ma}static get DefaultType(){return ha}static get NAME(){return"toast"}show(){_.trigger(this._element,fa).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Fs),Xe(this._element),this._element.classList.add(ki,$i),this._queueCallback(()=>{this._element.classList.remove($i),_.trigger(this._element,pa),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(_.trigger(this._element,da).defaultPrevented||(this._element.classList.add($i),this._queueCallback(()=>{this._element.classList.add(Fs),this._element.classList.remove($i,ki),_.trigger(this._element,ua)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ki),super.dispose()}isShown(){return this._element.classList.contains(ki)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,i){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=i;break;case"focusin":case"focusout":this._hasKeyboardInteraction=i}if(i)return void this._clearTimeout();const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){_.on(this._element,ra,t=>this._onInteraction(t,!0)),_.on(this._element,la,t=>this._onInteraction(t,!1)),_.on(this._element,aa,t=>this._onInteraction(t,!0)),_.on(this._element,ca,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const i=Kn.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t](this)}})}}return it(Kn),me(Kn),{Alert:De,Button:Ke,Carousel:de,Collapse:wt,Dropdown:Me,Modal:ct,Offcanvas:Ue,Popover:Ci,ScrollSpy:Yn,Tab:pt,Toast:Kn,Tooltip:dt}})})(Ti)),Ti.exports}var Va=Da();const bo=Ea(Va);function or(e,s=!0){const c=document.getElementById(e);let p=c?.parentElement;for(;p;){const b=(p.getAttribute("class")??"").match(/cl-tab-[0-9]+/);if(b){const m=document.querySelector(`input.${b}`);if(m){m.checked=!0;break}}p=p.parentElement}setTimeout(()=>{s?c?.scrollIntoView({behavior:"smooth"}):c?.scrollIntoView()},0)}let Re=null;function Bn(){Re?.hide(),Re=null}function yo(e,s){Bn();const c=document.getElementById(e);if(c){Re=new bo.Modal(c,{backdrop:"static"}),Re.value=s,Re.id=e,Re.show();const p=document.querySelector(`#${e} [autofocus]`);p&&p.focus()}}function Ai(e){return bo.Modal.getInstance(document.getElementById(e))?.value}function Ma(e){return Re?e?Re.id===e&&Re._isShown:Re._isShown:!1}function sr(e,s=0,c=25){return e?.slice(s*c,s*c+c)??[]}function za(e="#invalid"){document.querySelector(e)?.focus()}function rr(e,s=[]){for(const p of s)p.valid=!0;document.querySelector(`#${e} [autofocus]`)?.focus()}function lr(e,s){e&&(e.modelValue=s,e.valid=!0)}function _o(e){const s=document.querySelector(`#${e}`);return s?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(c=>{c.focus(),c.blur()}),s.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)?(Co(e),!1):!0):(console.error("can't find/validate form",e),!1)}async function ar(e){const s=document.getElementById(e);return s?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(c=>{c.focus(),c.blur()}),document.querySelectorAll(`#${e} .ace_editor`).forEach(c=>{c.click()}),new Promise(c=>setTimeout(()=>{if(s.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)){Co(e),c(!1);return}c(!0)}))):(console.error("can't find/validate form",e),Promise.resolve(!1))}function La(e){document.querySelector(`#${e} [autofocus]`)?.focus()}function Co(e){document.querySelector(`#${e} :invalid, #${e} .invalid`)?.focus()}function Ia(e){return e<1024?`${e}B`:e<1024*1024?`${Math.floor(e/1024)}kB`:e<1024*1024*1024?`${Math.floor(e/1024/1024)}MB`:`${Math.floor(e/1024/1024/1024)}GB`}function cr(e){const s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),c=new Intl.DateTimeFormat("en",{month:"short"}).format(e);return`${new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e)} ${c} ${s}`}function dr(e,s=!1){const[c,p,b]=[(""+e.getUTCHours()).padStart(2,"0"),(""+e.getUTCMinutes()).padStart(2,"0"),(""+e.getUTCSeconds()).padStart(2,"0")];return s?`${c}:${p}:${b}`:`${c}:${p}`}function Fa(e,s=!1){return`${cr(e)} ${dr(e,s)}`}function Pa(e,s,c=!0,p=!1){let b=s.getTime()-e.getTime();p?b+=1:c?b+=1e3:b+=60*1e3;const m=(""+b%1e3).padStart(3,"0");b=Math.floor(b/1e3);const u=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const N=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const U=(""+b).padStart(2,"0");return p?`${U}:${N}:${u}.${m}`:c?`${U}:${N}:${u}`:`${U}:${N}`}function xa(e){const s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e);return`${new Intl.DateTimeFormat("en",{month:"short"}).format(e)} ${s}`}function Bi(e,s=0){return e.toLocaleString("en",{minimumFractionDigits:s})}function ja(e,s,c=2){switch(s){case"EUR":s="€";break;case"USD":s="$";break}return`${s} ${Bi(e/10**c,c)}`}function Wa(e,s){return`${Bi(e)} - ${Bi(s)}`}function ur(e){return`**** **** **** ${e.replace(/ /g,"").substr(-4)}`}function Ra(e,s,c=e.ID_FORM){if(c){if(_o(c)&&!e.submitting)return e.submitting=!0,s().finally(()=>{e.submitting=!1})}else if(!e.submitting)return e.submitting=!0,s().finally(()=>{e.submitting=!1});return Promise.resolve()}function qa(e,s,c=e.ID_FORM){return e.submitting?Promise.resolve():ar(c).then(p=>{if(p)return e.submitting=!0,s().finally(()=>{e.submitting=!1})})}function Lt(e,s){const c=s.split("."),p=c.shift(),b=e[p];return[void 0,null].includes(b)?b:c.length>0?Lt(b,c.join(".")):b}function fr(e,s,c="ASC",p=!1){if(!e)return[];const b=typeof e=="function"?[...e()]:[...e],m=(u,N)=>u.localeCompare(N,void 0,{ignorePunctuation:!0});return c==="ASC"?b.sort((u,N)=>(u=Lt(u,s)??"",N=Lt(N,s)??"",typeof u=="string"&&typeof N=="string"?p?m(u.toUpperCase(),N.toUpperCase()):m(u,N):u>N?1:u<N?-1:0)):b.sort((u,N)=>(u=Lt(u,s)??"",N=Lt(N,s)??"",typeof u=="string"&&typeof N=="string"?p?m(N.toUpperCase(),u.toUpperCase()):m(N,u):u<N?1:u>N?-1:0))}function pr(e,s=0,c="ASC"){return{col:s,order:c,set:function(p,b){const m=this.sort(p,b);this.col=p,this.order=m},get:function(p){return this.col===p?this.order:"NONE"},sorted:[],sorter:e,sort:function(p=this.col,b=this.order){const{sorted:m,sortedOrder:u}=this.sorter(p,b);return this.sorted=m,u}}}function Ha(e,s,c=0,p=()=>0,b=()=>Number.MAX_SAFE_INTEGER){return pr((m,u)=>({sorted:sr(fr(e,s[m],u),p(),b()),sortedOrder:u}),c)}function Ua(e,s=500,c="none"){clearTimeout(tr.get(c)),tr.set(c,setTimeout(e,s))}const tr=new Map;function Xa(e=3,s=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","eiusmod","tempor","incididunt","labore","et","dolore","magna","aliqua"]){let c="";for(let p=0;p<e;p++)c+=" "+s[Math.floor(Math.random()*s.length)];return c.substr(1)}function Ya(e=3,s=["alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","omicorn"]){const c=[];for(let p=0;p<e;p++)c.push(s[Math.floor(Math.random()*s.length)]);return c}function Ka(e){navigator.clipboard.writeText(e)}function Ga(e,s=[],c=[],p=!0){const b=[];for(const m of s)if(typeof m=="function")b.push(m());else if(m){const u=m.shift();b.push(u(...m))}for(const m of c)if(typeof m=="function")b.push(m(!1));else if(m){const u=m.shift();b.push(u(m.shift(),!1))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Qa(e,s=[],c=[],p=!0){const b=[];for(const m of s)if(typeof m=="function")b.push(m(!0));else if(m){const u=m.shift();b.push(u(!0,...m))}for(const m of c)if(typeof m=="function")b.push(m(!1));else if(m){const u=m.shift();b.push(u(!1,...m))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Ja(e){return new Promise(s=>setTimeout(s,e))}function Za(e){return e}function ec(e){return e}function tc(e){return e}const nc=n.defineComponent({name:"ClBackCancelOk",props:{ok:{type:String,default:"Ok"},back:{type:String,default:"Back"},cancel:{type:String,default:"Cancel"},disabled:{type:Boolean,default:!1},dirty:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},backHidden:{type:Boolean,default:!1},spinner:{type:Boolean,default:!1}},emits:["ok","cancel"],data(){return{ID_MODAL:"cl-modal-back-cancel-ok"}},methods:{clModalHide:Bn,abort:function(){this.dirty?yo(this.ID_MODAL,{}):this.$emit("cancel")},emit:function(e){Bn(),this.$emit(e)}}}),ic={key:0},oc={key:1},sc=["disabled"];function rc(e,s,c,p,b,m){const u=n.resolveComponent("cl-modal"),N=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(N,{class:"cl-back-cancel-ok"},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createElementVNode("div",{class:n.normalizeClass(["cl-spacing-box cl-spacing-medium it-buttons",[e.backHidden?"text-end":"cl-spread"]])},[e.backHidden?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"btn btn-sm cl-color-secondary it-cancel",onClick:s[0]||(s[0]=U=>e.abort())},[e.dirty?(n.openBlock(),n.createElementBlock("span",ic,n.toDisplayString(e.cancel),1)):(n.openBlock(),n.createElementBlock("span",oc,n.toDisplayString(e.back),1))])),e.hidden?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:1,type:"button",class:n.normalizeClass(["btn btn-sm cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),disabled:e.disabled||!e.dirty,onClick:s[1]||(s[1]=U=>e.$emit("ok"))},[n.createElementVNode("span",null,n.toDisplayString(e.ok),1)],10,sc))],2),n.createVNode(u,{id:e.ID_MODAL},{title:n.withCtx(()=>[...s[4]||(s[4]=[n.createTextVNode(" Unsaved changes ",-1)])]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"modal",{},()=>[s[5]||(s[5]=n.createElementVNode("p",null,"There are unsaved changes. Do you want to discard them or continue editing?",-1))])]),"footer-left":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-color-secondary it-cancel",onClick:s[2]||(s[2]=U=>e.emit("cancel",!0))}," Discard changes ")]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-color-primary it-ok",onClick:s[3]||(s[3]=U=>e.clModalHide())}," Continue editing ")]),_:3},8,["id"])]),_:3})}const Ft=B(nc,[["render",rc]]);Ft.install=e=>{e.component(Ft.name??"ClNoName",Ft)};const lc=n.defineComponent({name:"ClCookieBanner",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},local:{type:Boolean,default:!1}},emits:["consent"],data(){return{fade:!1,visible:!0,cookie:"cl_banner_nok"}},computed:{clazz:function(){return(this.fade?" cl-fade-away":"")+(this.class?` ${this.class}`:"")}},created(){for(const e of document?.cookie?.split(/; */)??[]){const[s,c]=e.split("=");if(s===this.cookie&&["-mtm","+mtm"].includes(c)){this.visible=!1;break}}},methods:{accept:function(){document.cookie=this.cookieString("+mtm"),this.hide(),this.$emit("consent")},decline:function(){document.cookie=this.cookieString("-mtm"),this.hide()},cookieString:function(e){return this.local?`${this.cookie}=${e}; max-age=${3600*24*395}; path=/; SameSite=Lax;`:`${this.cookie}=${e}; max-age=${3600*24*395}; domain=.castlabs.com; path=/; SameSite=Lax;`},hide:function(){this.fade=!0,setTimeout(()=>{this.visible=!1},500)}}}),ac=["id"],cc={class:"card-body"},dc={class:"cl-spacing-box text-center"};function uc(e,s,c,p,b,m){return e.visible?(n.openBlock(),n.createElementBlock("div",{key:0,id:e.id,class:n.normalizeClass(["card cl-card cl-cookie-banner",e.clazz])},[n.createElementVNode("div",cc,[n.renderSlot(e.$slots,"default",{},()=>[s[2]||(s[2]=n.createElementVNode("p",{class:"cl-p-small"},[n.createTextVNode(" For our services to work, we use essential cookies which we control. We'd also like to include others to analyze how our site is used to help improve it - but only if you accept. Learn more in our "),n.createElementVNode("a",{class:"cl-a-text",href:"https://castlabs.com/privacy-cookie-policy/"},"privacy policy"),n.createTextVNode(". ")],-1))]),n.createElementVNode("div",dc,[n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-primary it-ok",onClick:s[0]||(s[0]=u=>e.accept())}," Accept "),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-secondary it-cancel",onClick:s[1]||(s[1]=u=>e.decline())}," Decline ")])])],10,ac)):n.createCommentVNode("",!0)}const Pt=B(lc,[["render",uc]]);Pt.install=e=>{e.component(Pt.name??"ClNoName",Pt)};const Dn={mounted(e,s){let c="";for(const b of["cl-tooltip-primary","cl-tooltip-secondary","cl-tooltip-light","cl-tooltip-dark"])e.classList.contains(b)&&(c+=` ${b}`);const p=new bo.Tooltip(e,{title:s.value,placement:s.arg,html:!0,trigger:"hover",delay:{show:65,hide:0},template:`<div class="tooltip cl-tooltip${c}" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`});return e.__tooltipInstance=p,e.addEventListener("show.bs.tooltip",function(){document.querySelectorAll(".cl-tooltip").forEach(m=>m.remove())}),p},unmounted(e){const s=e.__tooltipInstance;if(s){typeof s.dispose=="function"&&s.dispose();const c=document.querySelector(".cl-tooltip");c&&c.remove(),delete e.__tooltipInstance}}},ko={mounted(e,s){e.addEventListener("click",function(){const c=typeof s.value=="function"?s.value():s.value;s.value!==""&&navigator.clipboard?.writeText(c),e.classList.add("cl-animation-flash-text"),setTimeout(()=>{e.classList.remove("cl-animation-flash-text")},1500)})}},fc=n.defineComponent({name:"ClCopy",directives:{tooltip:Dn,clipboard:ko},props:{show:{type:String,default:void 0},copy:{type:String,default:void 0},underline:{type:Boolean,default:!1},code:{type:Boolean,default:!1},unstyled:{type:Boolean,default:!1}},methods:{tooltip:function(){return this.show&&this.contentToCopy()!==this.show?`${this.contentToCopy()}<br><small>Click-to-copy!</small>`:"<small>Click-to-copy!</small>"},contentToCopy:function(){return this.copy??this.$refs.content?.textContent.trim()}}}),pc={key:0,ref:"content",class:"cl-copy"},hc={ref:"content"};function mc(e,s,c,p,b,m){const u=n.resolveDirective("tooltip"),N=n.resolveDirective("clipboard");return e.unstyled?n.withDirectives((n.openBlock(),n.createElementBlock("span",pc,[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))])),[[u,e.tooltip,"top"],[N,e.contentToCopy]]):e.code?n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(e.underline?"cl-copy cl-copy-text":"cl-copy cl-copy-transparent")},[n.createElementVNode("code",hc,[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))],512)],2)),[[u,e.tooltip,"top"],[N,e.contentToCopy]]):n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:2,ref:"content",class:n.normalizeClass(e.underline?"cl-copy cl-copy-text":"cl-copy cl-copy-transparent")},[e.show?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.show),1)],64)):e.$slots.default?n.renderSlot(e.$slots,"default",{key:1}):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(n.toDisplayString(e.copy??"?"),1)],64))],2)),[[u,e.tooltip,"top"],[N,e.contentToCopy]])}const xt=B(fc,[["render",mc]]);xt.install=e=>{e.component(xt.name??"ClNoName",xt)};const gc=n.defineComponent({name:"ClCreditcardNumber",props:{id:{type:String,default:void 0},class:{type:String,default:""},number:{type:String,default:"0000000000000000"},expires:{type:String,default:"MM/YYYY"},expired:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""},validText:function(){return this.expired?"expired":"valid until"}},methods:{clFormatCardNumber:ur}}),vc=["id"];function bc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("code",{id:e.id,class:n.normalizeClass(e.clazz)},n.toDisplayString(e.clFormatCardNumber(e.number)),11,vc),n.createTextVNode(", "+n.toDisplayString(e.validText)+" ",1),n.createElementVNode("code",null,n.toDisplayString(e.expires),1)],64)}const jt=B(gc,[["render",bc]]);jt.install=e=>{e.component(jt.name??"ClNoName",jt)};function nr(e){e.preventDefault()}const yc=n.defineComponent({name:"ClDropzone",props:{what:{type:String,default:"a file"},why:{type:String,default:"to add"},accept:{type:String,default:void 0},camera:{type:Boolean,default:!1}},emits:["file","content"],data(){return{$uid:0,dragging:!1}},mounted(){["dragenter","dragover","dragleave","drop"].forEach(e=>{document.body.addEventListener(e,nr)})},unmounted(){["dragenter","dragover","dragleave","drop"].forEach(e=>{document.body.removeEventListener(e,nr)})},methods:{browse:function(){const e=document.getElementById(`cl-dropzone-file-${this.$uid}`);if(e&&document.createEvent){const s=document.createEvent("MouseEvents");s.initEvent("click",!0,!1),e.dispatchEvent(s)}},browsed:function(){const s=document.getElementById(`cl-dropzone-file-${this.$uid}`).files??[];s.length>0&&this.loadFile(s[0])},mock:function(e){this.$emit("file",e)},loadFile:function(e){const s=new FileReader,c=this.$emit;c("file",e),s.onload=function(p){c("content",p.target?.result)},s.readAsText(e)},onDrop:function(e){e.dataTransfer&&this.loadFile(e.dataTransfer.files[0]),this.dragging=!1},onDrag:function(e){this.dragging=e}}}),_c=["id"],Cc=["id","accept"];function kc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["cl-spacing-small",e.dragging?"cl-dragging":""]),onDragover:s[6]||(s[6]=u=>e.onDrag(!0)),onDragleave:s[7]||(s[7]=u=>e.onDrag(!1)),onDrop:s[8]||(s[8]=n.withModifiers((...u)=>e.onDrop&&e.onDrop(...u),["prevent"]))},[e.camera?(n.openBlock(),n.createElementBlock("input",{key:0,id:`cl-dropzone-file-${e.$uid}`,type:"file",accept:"image/*",class:"cl-dropzone-file",capture:"environment",onChange:s[0]||(s[0]=(...u)=>e.browsed&&e.browsed(...u)),tabindex:"-1"},null,40,_c)):n.createCommentVNode("",!0),n.createElementVNode("input",{id:`cl-dropzone-file-${e.$uid}`,type:"file",accept:e.accept,class:"cl-dropzone-file",onChange:s[1]||(s[1]=(...u)=>e.browsed&&e.browsed(...u)),tabindex:"-1"},null,40,Cc),e.camera?(n.openBlock(),n.createElementBlock("div",{key:1,class:"cl-dropzone",onClick:s[3]||(s[3]=u=>e.browse())},[s[9]||(s[9]=n.createElementVNode("i",{class:"fas fa-camera"},null,-1)),s[10]||(s[10]=n.createTextVNode("Use your ",-1)),n.createElementVNode("a",{href:"#",onClick:s[2]||(s[2]=n.withModifiers(()=>{},["prevent"]))},"camera"),n.createTextVNode(" to take a picture "+n.toDisplayString(e.why)+". ",1)])):(n.openBlock(),n.createElementBlock("div",{key:2,class:"cl-dropzone",onClick:s[5]||(s[5]=u=>e.browse())},[s[11]||(s[11]=n.createElementVNode("i",{class:"fas fa-file-upload"},null,-1)),s[12]||(s[12]=n.createTextVNode("Drop or ",-1)),n.createElementVNode("a",{href:"#",onClick:s[4]||(s[4]=n.withModifiers(()=>{},["prevent"]))},"browse"),n.createTextVNode(" "+n.toDisplayString(e.what)+" "+n.toDisplayString(e.why)+". ",1)])),n.renderSlot(e.$slots,"default")],34)}const Wt=B(yc,[["render",kc]]);Wt.install=e=>{e.component(Wt.name??"ClNoName",Wt)};const $c=n.defineComponent({name:"ClField",inheritAttrs:!1,props:{value:{type:String,default:void 0},type:{type:String,default:"text"},label:{type:String,default:void 0},placeholder:{type:String,default:void 0},class:{type:String,default:""},help:{type:String,default:void 0},error:{type:String,default:void 0},nofeedback:{type:Boolean,default:!1},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autotrim:{type:Boolean,default:!1},prevalidate:{type:Boolean,default:!1},minlength:{type:String,default:void 0},maxlength:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0},pattern:{type:String,default:void 0}},emits:["valid","invalid","changed","update:modelValue"],data(){return{valid:!0,modelValue:this.value??"",invalidMessage:this.error??"Input invalid.",filePlaceholder:this.placeholder??"Please select ..."}},computed:{clazz:function(){return this.type==="file"?this.class+" cl-file"+(this.valid?"":" invalid"):this.class+" form-control"+(this.valid?"":" invalid")}},watch:{value(e){this.modelValue!==e&&(this.modelValue=e)}},mounted:function(){this.prevalidate&&this.validate()},methods:{runAutotrim:function(){if(this.autotrim||["number"].includes(this.type)){const e=this.$refs.input;e.value=e.value.trim(),this.modelValue=e.value}},focus:function(){this.$nextTick(()=>{this.$refs.input?.focus()})},validate:function(e=!1){if(this.valid=!0,e&&this.runAutotrim(),this.type==="file"&&this.modelValue!==""&&(this.filePlaceholder=this.modelValue.replace(/.*[/\\]/,"")),this.required&&(this.modelValue?.length??0)<=0)this.setInvalid("This field may not be blank.");else switch(this.type){case"number":this.validateNumber();break;case"email":this.validateEMail();break;default:this.validateText()}this.valid&&this.setValid(this.modelValue)},validateText:function(){const e=Number(this.minlength),s=Number(this.maxlength);this.minlength&&(this.modelValue?.length??0)<e&&this.setInvalid(this.error??`Please enter at least ${e} character`+(e>1?"s.":".")),this.maxlength&&(this.modelValue?.length??0)>s&&this.setInvalid(this.error??`Please enter at most ${s} character`+(e>1?"s.":".")),this.pattern&&!new RegExp(this.pattern,"g").test(this.modelValue)&&this.setInvalid(this.error)},validateNumber:function(){const e=this.modelValue.trim();if(!/^-?[0-9]*$/.test(e.trim())){this.setInvalid("Please enter a number.");return}const s=parseInt(e.trim());if(s.toString()!==e){this.setInvalid("Please enter a number.");return}this.min!==void 0&&this.max!==void 0?(s<parseInt(this.min)||s>parseInt(this.max))&&this.setInvalid(`Please enter a number between ${this.min} and ${this.max}.`):this.min!==void 0?s<parseInt(this.min)&&this.setInvalid(`Please enter a number >= ${this.min}.`):this.max!==void 0&&s>parseInt(this.max)&&this.setInvalid(`Please enter a number <= ${this.max}.`)},validateEMail:function(){/^[^\s@]+@[^\s@]+\.[^\s@]+[^\s@.]$/.test(this.modelValue)||this.setInvalid("Please enter a valid email address.")},setValid:function(e=""){this.valid=!0,this.modelValue=e,this.$emit("update:modelValue",this.modelValue),this.$emit("valid",this.help??""),this.$emit("changed",this.modelValue)},setInvalid:function(e){this.valid=!1,this.invalidMessage=e??"Input invalid.",this.$emit("update:modelValue",this.modelValue),this.$emit("invalid",this.invalidMessage),this.$emit("changed",this.modelValue)}}}),Ec=["for"],wc={key:0,class:"required"},Sc=["id","autofocus","disabled","maxlength","minlength","placeholder","required"],Nc=["id","autofocus","disabled","required"],Tc=["id","autofocus","disabled","min","max","maxlength","minlength","pattern","placeholder","required","type"],Ac=["id","for"],Bc={key:1,class:"valid-feedback valid-feedback-none"};function Oc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.label?(n.openBlock(),n.createElementBlock("label",{key:0,for:e.$uid,class:n.normalizeClass(["form-label",{disabled:e.disabled}])},[n.createTextVNode(n.toDisplayString(e.label),1),e.required?(n.openBlock(),n.createElementBlock("span",wc,"*")):n.createCommentVNode("",!0)],10,Ec)):n.createCommentVNode("",!0),e.type==="textarea"?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",n.mergeProps({key:1,id:e.$uid},e.$attrs,{ref:"input","onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),autofocus:e.autofocus,class:e.clazz,disabled:e.disabled,maxlength:e.maxlength,minlength:e.minlength,placeholder:e.placeholder,required:e.required,onBlur:s[1]||(s[1]=u=>e.validate(!0)),onChange:s[2]||(s[2]=u=>e.validate()),onInput:s[3]||(s[3]=u=>e.validate())}),null,16,Sc)),[[n.vModelText,e.modelValue]]):e.type==="select"?n.withDirectives((n.openBlock(),n.createElementBlock("select",n.mergeProps({key:2,id:e.$uid,"onUpdate:modelValue":s[4]||(s[4]=u=>e.modelValue=u),class:["form-select",e.clazz],autofocus:e.autofocus,disabled:e.disabled,required:e.required},e.$attrs,{onBlur:s[5]||(s[5]=u=>e.validate(!0)),onChange:s[6]||(s[6]=u=>e.validate())}),[n.renderSlot(e.$slots,"default")],16,Nc)),[[n.vModelSelect,e.modelValue]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",n.mergeProps({key:3,id:e.$uid},e.$attrs,{ref:"input","onUpdate:modelValue":s[7]||(s[7]=u=>e.modelValue=u),autofocus:e.autofocus,class:e.clazz,disabled:e.disabled,min:e.min,max:e.max,maxlength:e.maxlength,minlength:e.minlength,pattern:e.pattern,placeholder:e.placeholder,required:e.required,type:["number"].includes(e.type)?"text":e.type,onBlur:s[8]||(s[8]=u=>e.validate(!0)),onChange:s[9]||(s[9]=u=>e.validate()),onInput:s[10]||(s[10]=u=>e.validate())}),null,16,Tc)),[[n.vModelDynamic,e.modelValue]]),e.type==="file"?(n.openBlock(),n.createElementBlock("label",{key:4,id:`${e.$uid}-companion`,for:e.$uid,class:"cl-file-companion"},n.toDisplayString(e.filePlaceholder),9,Ac)):n.createCommentVNode("",!0),e.nofeedback?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock(n.Fragment,{key:5},[n.createElementVNode("p",{class:n.normalizeClass(["invalid-feedback",{disabled:e.disabled}])},n.toDisplayString(e.invalidMessage),3),e.help?(n.openBlock(),n.createElementBlock("p",{key:0,class:n.normalizeClass(["valid-feedback",{disabled:e.disabled}])},n.toDisplayString(e.help),3)):(n.openBlock(),n.createElementBlock("p",Bc))],64))],64)}const Rt=B($c,[["render",Oc]]);Rt.install=e=>{e.component(Rt.name??"ClNoName",Rt)};const Dc=n.defineComponent({name:"ClFieldCheck",inheritAttrs:!1,props:{id:{type:String,default:void 0},value:{type:Boolean,default:!1},label:{type:String,default:void 0},class:{type:String,default:""},inline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{modelValue:this.value}},computed:{clazz:function(){return`form-check${this.inline?" form-check-inline":""} ${this.class}`}},watch:{value(e){this.modelValue!==e&&(this.modelValue=e)}},methods:{check:function(e=!1){this.modelValue=e,this.$refs.input.checked=e},focus:function(){this.$nextTick(()=>{this.$refs.input.focus()})}}}),Vc=["id","disabled","indeterminate","autofocus"],Mc=["for"];function zc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(e.clazz)},[n.withDirectives(n.createElementVNode("input",n.mergeProps({id:e.id??e.$uid,"onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,indeterminate:e.indeterminate,autofocus:e.autofocus},e.$attrs,{onChange:s[1]||(s[1]=u=>e.$emit("update:modelValue",e.modelValue))}),null,16,Vc),[[n.vModelCheckbox,e.modelValue]]),n.createElementVNode("label",{class:"form-check-label",for:e.id??e.$uid},[n.renderSlot(e.$slots,"default")],8,Mc)],2)}const qt=B(Dc,[["render",zc]]);qt.install=e=>{e.component(qt.name??"ClNoName",qt)};const Lc=n.defineComponent({name:"ClFieldGroup",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:void 0},label:{type:String,default:void 0},help:{type:String,default:void 0},error:{type:String,default:void 0},required:{type:Boolean,default:!1}},data(){return{valid:!0,invalidMessage:this.error??"Input invalid."}},computed:{clazz:function(){return(this.valid?"":" invalid")+(this.class?` ${this.class}`:"")}},methods:{setValid:function(){this.valid=!0,this.invalidMessage="Input invalid."},setInvalid:function(e){this.valid=!1,this.invalidMessage=e??"Input invalid."}}}),Ic={key:0,class:"form-label"},Fc={key:0,class:"required"},Pc=["id"],xc={class:"invalid-feedback"},jc={key:1,class:"valid-feedback"};function Wc(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.label?(n.openBlock(),n.createElementBlock("label",Ic,[n.createTextVNode(n.toDisplayString(e.label),1),e.required?(n.openBlock(),n.createElementBlock("span",Fc,"*")):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(`input-group${e.clazz}`),id:e.id},[n.renderSlot(e.$slots,"default")],10,Pc),n.createElementVNode("p",xc,n.toDisplayString(e.invalidMessage),1),e.help?(n.openBlock(),n.createElementBlock("p",jc,n.toDisplayString(e.help),1)):n.createCommentVNode("",!0)],64)}const Ht=B(Lc,[["render",Wc]]);Ht.install=e=>{e.component(Ht.name??"ClNoName",Ht)};const Rc=n.defineComponent({name:"ClHashtag",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-hashtag ";return!this.primary&&!this.secondary?this.class.includes("cl-color")||(e+=" cl-color-steel"):this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-color-steel"),e+(this.class?` ${this.class}`:"")}}}),qc={key:0,class:"cl-badge-derived"},Hc=["id"],Uc=["id"];function Xc(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",qc,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,Hc)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,Uc))}const Ut=B(Rc,[["render",Xc]]);Ut.install=e=>{e.component(Ut.name??"ClNoName",Ut)};const Yc=n.defineComponent({name:"ClIconotron",props:{src:{type:String,default:void 0}}}),Kc={class:"container cl-container-iconotron"},Gc={class:"row"},Qc={class:"col-12 col-md-3"},Jc=["src"],Zc={class:"col-12 col-md-9"};function ed(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Kc,[n.createElementVNode("div",Gc,[n.createElementVNode("div",Qc,[n.createElementVNode("img",{src:e.src,alt:""},null,8,Jc)]),n.createElementVNode("div",Zc,[n.renderSlot(e.$slots,"default")])])])}const Xt=B(Yc,[["render",ed]]);Xt.install=e=>{e.component(Xt.name??"ClNoName",Xt)};const td=n.defineComponent({name:"ClInfo",directives:{tooltip:Dn},props:{bottom:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},top:{type:Boolean,default:!0},info:{type:String,default:"Tooltip"},faded:{type:Boolean,default:!0},icon:{type:String,default:"far fa-question-circle"}},computed:{classes:function(){return this.icon+(this.faded?" cl-faded":"")}}});function nd(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return e.bottom?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"bottom"]]):e.left?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"left"]]):e.right?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:2,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"right"]]):n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:3,class:n.normalizeClass(e.classes)},null,2)),[[u,e.info,"top"]])}const Yt=B(td,[["render",nd]]);Yt.install=e=>{e.component(Yt.name??"ClNoName",Yt)};const id=n.defineComponent({name:"ClLinkExternal",props:{noicon:{type:Boolean,default:!1}}});function od(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:n.normalizeClass({"cl-a-external":!e.noicon}),target:"_blank",rel:"noopener noreferrer"},[n.renderSlot(e.$slots,"default")],2)}const Kt=B(id,[["render",od]]);Kt.install=e=>{e.component(Kt.name??"ClNoName",Kt)};const sd=`
|
|
6
6
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
|
|
7
7
|
incididunt ut labore et dolore magna aliqua. Sed ullamcorper morbi tincidunt
|
|
8
8
|
ornare massa eget egestas purus viverra. Faucibus in ornare quam viverra orci
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
Congue eu consequat ac felis donec. Aliquam etiam erat velit scelerisque in
|
|
27
27
|
dictum non. Dis parturient montes nascetur ridiculus mus mauris vitae ultricies.
|
|
28
28
|
Morbi quis commodo odio aenean sed adipiscing diam donec adipiscing. Sit amet
|
|
29
|
-
justo donec enim diam.`,ld=n.defineComponent({name:"ClLorem",props:{words:{type:Number,default:10},paragraphs:{type:Number,default:0}},methods:{lorem(e){return((e%2?rd:sd).trim().replace(/\s+/g," ").split(" ").splice(0,this.words).join(" ")+".").replace(/\.+/g,".")}}});function ad(e,s,c,p,b,m){return e.paragraphs<=0?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.lorem(0)),1)],64)):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(parseInt(e.paragraphs),u=>(n.openBlock(),n.createElementBlock("p",{key:u},n.toDisplayString(e.lorem(u)),1))),128))}const Gt=B(ld,[["render",ad]]);Gt.install=e=>{e.component(Gt.name??"ClNoName",Gt)};const cd=n.defineComponent({name:"ClMailto",props:{to:{type:String,default:"office@castlabs.com"}}}),dd=["href"];function ud(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:"cl-a-email",href:`mailto:${e.to}`},n.toDisplayString(e.to),9,dd)}const Qt=B(cd,[["render",ud]]);Qt.install=e=>{e.component(Qt.name??"ClNoName",Qt)};const fd=n.defineComponent({props:{to:{type:void 0,default:()=>({})},class:{type:String,default:""}},computed:{classes:function(){return this.class}},methods:{push:function(){this.$router.push(this.to)}}}),pd=["to","name","aid","bid","cid","did","eid","fid","gid","hid","iid","jid","kid","lid","mid","nid","oid","pid","qid","rid","sid","tid","uid","vid","wid","xid","yid","zid"];function hd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:n.normalizeClass(e.classes),to:JSON.stringify(e.to),name:e.to.name,aid:e.to.params?.aid,bid:e.to.params?.bid,cid:e.to.params?.cid,did:e.to.params?.did,eid:e.to.params?.eid,fid:e.to.params?.fid,gid:e.to.params?.gid,hid:e.to.params?.hid,iid:e.to.params?.iid,jid:e.to.params?.jid,kid:e.to.params?.kid,lid:e.to.params?.lid,mid:e.to.params?.mid,nid:e.to.params?.nid,oid:e.to.params?.oid,pid:e.to.params?.pid,qid:e.to.params?.qid,rid:e.to.params?.rid,sid:e.to.params?.sid,tid:e.to.params?.tid,uid:e.to.params?.uid,vid:e.to.params?.vid,wid:e.to.params?.wid,xid:e.to.params?.xid,yid:e.to.params?.yid,zid:e.to.params?.zid,onClick:s[0]||(s[0]=u=>e.push())},[n.renderSlot(e.$slots,"default")],10,pd)}const Gn=B(fd,[["render",hd]]);Gn.install=e=>{e.component(Gn.name??"ClNoName",Gn)};const md=n.defineComponent({name:"ClModal",inheritAttrs:!1,props:{id:{type:String,default:null},form:{type:Boolean,default:!1},class:{type:String,default:null},helpUrl:{type:String,default:null},onClose:{type:Function,default:null},onOpen:{type:Function,default:null}},computed:{clazz:function(){return this.class}},mounted(){const e=document.getElementById(this.id||""),s=this;e&&(e.addEventListener("hidden.bs.modal",function(){s.onClose&&s.onClose()}),e.addEventListener("show.bs.modal",function(){s.onOpen&&s.onOpen()}))}}),gd=["id"],vd={class:"modal-dialog"},bd={class:"modal-content"},yd={class:"modal-header"},_d=["href"],Cd=["id"],kd={key:1,class:"modal-body"},$d={class:"modal-footer"},Ed={class:"modal-footer-left cl-spacing-box cl-spacing-none"},wd={class:"modal-footer-center cl-spacing-box cl-spacing-none"},Sd={class:"modal-footer-right cl-spacing-box cl-spacing-none"};function Nd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{id:e.id,class:n.normalizeClass(`modal ${e.clazz}`),tabindex:"-1","data-bs-backdrop":"static"},[n.createElementVNode("div",vd,[n.createElementVNode("div",bd,[n.createElementVNode("div",yd,[n.renderSlot(e.$slots,"title",{},()=>[s[1]||(s[1]=n.createTextVNode("Information",-1))]),e.helpUrl?(n.openBlock(),n.createElementBlock("a",{key:0,class:"modal-help",href:e.helpUrl,target:"_blank",title:"Show help in new window."},[...s[2]||(s[2]=[n.createElementVNode("i",{class:"far fa-question-circle"},null,-1)])],8,_d)):n.createCommentVNode("",!0)]),e.form?(n.openBlock(),n.createElementBlock("form",{key:0,id:`${e.id}-form`,class:"modal-body cl-form container",novalidate:"",onSubmit:s[0]||(s[0]=n.withModifiers(()=>{},["prevent"]))},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")],40,Cd)):(n.openBlock(),n.createElementBlock("div",kd,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])),n.createElementVNode("div",$d,[n.createElementVNode("span",Ed,[n.renderSlot(e.$slots,"footer-left")]),n.createElementVNode("span",wd,[n.renderSlot(e.$slots,"footer")]),n.createElementVNode("span",Sd,[n.renderSlot(e.$slots,"footer-right")])])])])],10,gd)}const Jt=B(md,[["render",Nd]]);Jt.install=e=>{e.component(Jt.name??"ClNoName",Jt)};const Td=n.defineComponent({name:"ClModalConfirm",inheritAttrs:!1,props:{id:{type:String,default:"modal-confirm"},class:{type:String,default:void 0},text:{type:String,default:"confirm"},title:{type:String,default:"Are you sure?"},ok:{type:String,default:void 0},button:{type:String,default:"OK"},spinner:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},emits:["ok"],methods:{reset:function(){lr(this.$refs.text,""),rr(`${this.id}-form`)},submit:function(){_o(`${this.id}-form`)&&this.$emit("ok")}}});function Ad(e,s,c,p,b,m){const u=n.resolveComponent("cl-field"),N=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(N,{id:e.id,class:n.normalizeClass(e.clazz),form:"","on-open":e.reset},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.title),1)]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createElementVNode("p",null,[s[2]||(s[2]=n.createTextVNode(" To confirm your intention, please type ",-1)),n.createElementVNode("code",null,n.toDisplayString(e.text),1),s[3]||(s[3]=n.createTextVNode(" into this text field: ",-1))]),n.createVNode(u,{ref:"text",type:"text",required:"",pattern:`^${e.text}$`,class:"text-center cl-field-monospace it-confirm",autofocus:"",onKeyup:s[0]||(s[0]=n.withKeys(U=>e.submit(),["enter"]))},null,8,["pattern"])]),"footer-left":n.withCtx(()=>[...s[4]||(s[4]=[n.createElementVNode("button",{type:"button",class:"btn cl-color-secondary it-cancel","data-bs-dismiss":"modal"},[n.createElementVNode("span",null,"Cancel")],-1)])]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:s[1]||(s[1]=U=>e.submit())},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1)],2)]),_:3},8,["id","class","on-open"])}const Zt=B(Td,[["render",Ad]]);Zt.install=e=>{e.component(Zt.name??"ClNoName",Zt)};const Bd=n.defineComponent({name:"ClModalOk",inheritAttrs:!1,props:{id:{type:String,default:"modal-ok"},class:{type:String,default:void 0},title:{type:String,default:"Information"},form:{type:Boolean,default:!1},body:{type:String,default:void 0},ok:{type:String,default:void 0},button:{type:String,default:"OK"},cancel:{type:String,default:null},spinner:{type:Boolean,default:!1},onClose:{type:Function,default:null},onOpen:{type:Function,default:null}},emits:["ok","cancel"],data(){return{emitted:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},methods:{buttonOk:function(){this.emitted=!0,Bn(),this.$emit("ok",Ai(this.id))},buttonCancel:function(){this.emitted=!0,Bn(),this.$emit("cancel",Ai(this.id))},opened:function(){this.emitted=!1,this.onOpen&&this.onOpen()},closed:function(){this.emitted||this.$emit("cancel",Ai(this.id)),this.onClose&&this.onClose()}}});function Od(e,s,c,p,b,m){const u=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(u,{id:e.id,class:n.normalizeClass(e.clazz),form:e.form,"on-open":e.opened,"on-close":e.closed},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.title),1)]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createTextVNode(n.toDisplayString(e.body),1)]),"footer-left":n.withCtx(()=>[e.cancel?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"btn cl-color-secondary it-cancel",onClick:s[0]||(s[0]=(...N)=>e.buttonCancel&&e.buttonCancel(...N))},[n.createElementVNode("span",null,n.toDisplayString(e.cancel),1)])):n.createCommentVNode("",!0)]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:s[1]||(s[1]=(...N)=>e.buttonOk&&e.buttonOk(...N))},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1)],2)]),_:3},8,["id","class","form","on-open","on-close"])}const en=B(Bd,[["render",Od]]);en.install=e=>{e.component(en.name??"ClNoName",en)};function hr(){const e=document.getElementById("cl-nav-side");if(e)if(e.checked){e.parentNode.classList.add("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","true")}catch(s){s.ignore?.()}}else{e.parentNode.classList.remove("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","false")}catch(s){s.ignore?.()}}}function Dd(){ir(Vd()),document.querySelectorAll(".cl-nav-drawer a").forEach(e=>{e.addEventListener("click",()=>{if(mr()){ir(!1);try{localStorage.setItem("sidenavOpen","false")}catch(s){s.ignore?.()}}})}),document.getElementById("cl-nav-side")?.addEventListener("change",function(){hr()}),document.querySelectorAll(".cl-nav-drawer details[id]").forEach(e=>{e.addEventListener("toggle",s=>{try{localStorage.setItem(`cl-nav-${e.id}`,s.target.hasAttribute("open"))}catch(c){c.ignore?.()}});try{localStorage.getItem(`cl-nav-${e.id}`)==="true"&&(e.open=!0)}catch(s){s.ignore?.()}}),setTimeout(function(){document.querySelectorAll("body").forEach(e=>{e.classList.add("cl-animate")})},1e3)}function ir(e){const s=document.getElementById("cl-nav-side");s&&(s.checked=e)}function mr(){return Math.max(document?.documentElement?.clientWidth||0,window?.innerWidth||0)<1200}function Vd(){const e=localStorage.getItem("sidenavOpen");return e==null?!mr():JSON.parse(e)}const Md=n.defineComponent({name:"ClNavSide",inheritAttrs:!1,props:{class:{type:String,default:void 0}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},mounted(){this.setup()},methods:{toggle:function(){hr()},setup:function(){this.$nextTick(()=>{Dd()})}}}),zd={class:"cl-nav-side"},Ld={class:"cl-nav-drawer"},Id={"data-simplebar":""};function Fd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("input",{id:"cl-nav-side",type:"checkbox",class:n.normalizeClass(`cl-nav-checkbox${e.clazz}`),onChange:s[0]||(s[0]=(...u)=>e.toggle&&e.toggle(...u)),tabindex:"-1"},null,34),n.createElementVNode("nav",zd,[s[1]||(s[1]=n.createElementVNode("label",{class:"cl-nav-backdrop",for:"cl-nav-side"},null,-1)),n.createElementVNode("div",Ld,[n.createElementVNode("div",Id,[n.renderSlot(e.$slots,"default")])])])],64)}const tn=B(Md,[["render",Fd]]);tn.install=e=>{e.component(tn.name??"ClNoName",tn)};const Pd=n.defineComponent({name:"ClNavTop",inheritAttrs:!1,props:{class:{type:String,default:void 0}},computed:{isFluid:function(){return this.$route.meta?.fluid},clazz:function(){return this.class?` ${this.class}`:""},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),xd={class:"row"},jd={class:"col-12 cl-grid-flex-centered"};function Wd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("nav",{id:"cl-nav-top",class:n.normalizeClass(`cl-nav-top${e.clazz}`)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",xd,[n.createElementVNode("div",jd,[s[0]||(s[0]=n.createElementVNode("label",{class:"cl-nav-side-burger",for:"cl-nav-side"},[n.createElementVNode("i",{class:"fas fa-bars"})],-1)),n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"title")])])],2)],2)}const nn=B(Pd,[["render",Wd]]);nn.install=e=>{e.component(nn.name??"ClNoName",nn)};const Rd=n.defineComponent({name:"ClOrg",props:{name:{type:String,default:"No organization"}}}),qd={class:"cl-org"};function Hd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("span",qd,[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")])}const on=B(Rd,[["render",Hd]]);on.install=e=>{e.component(on.name??"ClNoName",on)};const Ud=n.defineComponent({name:"ClPage",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},title:{type:String,default:void 0},loading:{type:Boolean,default:!1},notFound:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},mounted(){const e=this.$route?.query?.goto;e&&or(e)},methods:{back(){history.go(-1)}}}),Xd={key:0,class:"cl-page-spinner"};function Yd(e,s,c,p,b,m){const u=n.resolveComponent("cl-section-headline"),N=n.resolveComponent("cl-spinner"),U=n.resolveComponent("cl-section-main");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(u,{id:e.id??e.$route.name,title:e.title??e.$route.meta?.title??"Castlabs",class:n.normalizeClass(e.clazz),fluid:e.$route.meta?.fluid},null,8,["id","title","class","fluid"]),e.loading?(n.openBlock(),n.createElementBlock("div",Xd,[n.createVNode(N)])):e.notFound?n.renderSlot(e.$slots,"notFound",{key:1},()=>[n.createVNode(U,{fluid:e.$route.meta?.fluid},{default:n.withCtx(()=>[s[2]||(s[2]=n.createElementVNode("p",{class:"cl-p-large"},"Hmm, it seems we can’t find what you’re looking for.",-1)),s[3]||(s[3]=n.createElementVNode("p",{class:"alert cl-alert-info"},"This resource may have been moved or it might have expired.",-1)),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-secondary cl-spacing-large",onClick:s[0]||(s[0]=(...ae)=>e.back&&e.back(...ae))},[...s[1]||(s[1]=[n.createElementVNode("span",null,"Back",-1)])])]),_:1},8,["fluid"])]):n.renderSlot(e.$slots,"default",{key:2})],64)}const sn=B(Ud,[["render",Yd]]);sn.install=e=>{e.component(sn.name??"ClNoName",sn)};function Kd(e,s,c,p){const b=[],m=Math.ceil(e/s);c<1&&(c=1),c>m&&(c=m);for(let u=1;u<=m;u++)(u>=c-p&&u<=c+p||u===1||u===m)&&b.push(u);return{previous:c>1?c-1:null,next:c<m?c+1:null,current:c,pages:b}}const Gd=n.defineComponent({name:"ClPagination",props:{items:{type:Number,default:0},pagesize:{type:Number,default:25},current:{type:Number,default:1},window:{type:Number,default:3},test:{type:Boolean,default:!1}},emits:["page"],computed:{pager:function(){return Kd(this.items,this.pagesize,this.current,this.window)}}}),Qd={key:0,class:"col-12 cl-spacing-medium"},Jd={class:"pagination"},Zd={key:0,class:"page-item"},eu={key:1,class:"page-item disabled"},tu={key:0,class:"page-item disabled"},nu=["onClick"],iu={key:2,class:"page-item"},ou={key:3,class:"page-item disabled"};function su(e,s,c,p,b,m){return e.pager?.pages?.length>1?(n.openBlock(),n.createElementBlock("nav",Qd,[n.createElementVNode("ul",Jd,[e.pager.previous?(n.openBlock(),n.createElementBlock("li",Zd,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:s[0]||(s[0]=u=>e.$emit("page",e.pager.previous))},[s[2]||(s[2]=n.createElementVNode("i",{class:"fas fa-arrow-left"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("P")],64)):n.createCommentVNode("",!0)])])):(n.openBlock(),n.createElementBlock("li",eu,[s[3]||(s[3]=n.createElementVNode("i",{class:"fas fa-arrow-left"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("P")],64)):n.createCommentVNode("",!0)])),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.pager.pages,(u,N)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[N>0&&e.pager.pages[N-1]!==u-1?(n.openBlock(),n.createElementBlock("li",tu," … ")):n.createCommentVNode("",!0),n.createElementVNode("li",{class:n.normalizeClass(["page-item",{active:u===e.pager.current}])},[n.createElementVNode("button",{class:"page-link",onClick:U=>e.$emit("page",u)},n.toDisplayString(u),9,nu)],2)],64))),128)),e.pager.next?(n.openBlock(),n.createElementBlock("li",iu,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:s[1]||(s[1]=u=>e.$emit("page",e.pager.next))},[s[4]||(s[4]=n.createElementVNode("i",{class:"fas fa-arrow-right"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("N")],64)):n.createCommentVNode("",!0)])])):(n.openBlock(),n.createElementBlock("li",ou,[s[5]||(s[5]=n.createElementVNode("i",{class:"fas fa-arrow-right"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("N")],64)):n.createCommentVNode("",!0)]))])])):n.createCommentVNode("",!0)}const rn=B(Gd,[["render",su]]);rn.install=e=>{e.component(rn.name??"ClNoName",rn)};const ru=n.defineComponent({name:"ClPlan",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-plan ";return!this.primary&&!this.secondary?e+=" cl-color-clay":this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-color-night"),e+(this.class?` ${this.class}`:"")}}}),lu={key:0,class:"cl-badge-derived"},au=["id"],cu=["id"];function du(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",lu,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,au)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,cu))}const ln=B(ru,[["render",du]]);ln.install=e=>{e.component(ln.name??"ClNoName",ln)};const uu=n.defineComponent({name:"ClRole",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-role ";return!this.primary&&!this.secondary?e+=" cl-color-clay":this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-role-night"),e+(this.class?` ${this.class}`:"")}}}),fu={key:0,class:"cl-badge-derived"},pu=["id"],hu=["id"];function mu(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",fu,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,pu)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,hu))}const an=B(uu,[["render",mu]]);an.install=e=>{e.component(an.name??"ClNoName",an)};const gu=n.defineComponent({name:"ClSectionForm",props:{id:{type:String,default:"FORM"},fluid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noCol:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},containerClass:function(){return this.isFluid?"cl-form container-fluid":"cl-form container"}}}),vu={class:"cl-section cl-section-form"},bu=["id"],yu=["disabled"],_u={key:1,class:"col-12"};function Cu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",vu,[n.createElementVNode("form",{id:e.id,novalidate:"",class:n.normalizeClass(e.containerClass),onSubmit:s[0]||(s[0]=n.withModifiers(()=>{},["prevent"]))},[n.createElementVNode("fieldset",{class:"row",disabled:e.disabled},[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",_u,[n.renderSlot(e.$slots,"default")]))],8,yu)],42,bu)])}const cn=B(gu,[["render",Cu]]);cn.install=e=>{e.component(cn.name??"ClNoName",cn)};const ku=n.defineComponent({name:"ClSectionHeadline",props:{fluid:{type:Boolean,default:!1},title:{type:String,default:void 0},href:{type:String,default:void 0}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},containerClass:function(){return this.isFluid?"container-fluid cl-container-spacing-small":"container cl-container-spacing-small"}}}),$u={class:"cl-section cl-section-headline"},Eu={class:"row"},wu={class:"col-12"},Su={key:0},Nu=["href"];function Tu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",$u,[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Eu,[n.createElementVNode("div",wu,[e.title?(n.openBlock(),n.createElementBlock("h1",Su,[n.createTextVNode(n.toDisplayString(e.title),1),e.href?(n.openBlock(),n.createElementBlock("a",{key:0,href:e.href,class:"cl-headline-help-icon",target:"_blank",rel:"noopener noreferrer",title:"Help"},[...s[0]||(s[0]=[n.createElementVNode("i",{class:"fas fa-question-circle"},null,-1)])],8,Nu)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"default")])])],2)])}const dn=B(ku,[["render",Tu]]);dn.install=e=>{e.component(dn.name??"ClNoName",dn)};const Au=n.defineComponent({name:"ClSectionMain",props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},noCol:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},sectionClass:function(){return this.alternate?"cl-section-alternate":"cl-section"},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),Bu={class:"row"},Ou={key:1,class:"col-12"};function Du(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",{class:n.normalizeClass(e.sectionClass)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Bu,[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",Ou,[n.renderSlot(e.$slots,"default")]))])],2)],2)}const gt=B(Au,[["render",Du]]);gt.install=e=>{e.component(gt.name??"ClNoName",gt)};const Vu=n.defineComponent({name:"ClSectionMainSide",components:{ClSectionMain:gt},props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},slim:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},mainClass:function(){return"col-12 "+(this.slim?"col-lg-9":"col-lg-8")},sideClass:function(){return"col-12 "+(this.slim?"col-lg-3":"col-lg-4")},sectionClass:function(){return"cl-section-main-side "+(this.alternate?"cl-section-alternate":"")}}});function Mu(e,s,c,p,b,m){const u=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(u,{class:n.normalizeClass(e.sectionClass),"no-col":"",fluid:e.isFluid},{default:n.withCtx(()=>[n.createElementVNode("div",{class:n.normalizeClass(e.mainClass)},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"main")],2),e.$slots.side?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(e.sideClass)},[n.renderSlot(e.$slots,"side")],2)):n.createCommentVNode("",!0)]),_:3},8,["class","fluid"])}const un=B(Vu,[["render",Mu]]);un.install=e=>{e.component(un.name??"ClNoName",un)};const zu=n.defineComponent({name:"ClSpinner",props:{title:{type:String,default:"Loading ..."}}}),Lu={class:"cl-spinner"};function Iu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Lu,[n.createTextVNode(n.toDisplayString(e.title),1),s[0]||(s[0]=n.createElementVNode("i",{class:"fas fa-spinner fa-spin"},null,-1))])}const fn=B(zu,[["render",Iu]]);fn.install=e=>{e.component(fn.name??"ClNoName",fn)};function Fu(e){document.querySelectorAll(`#${e} .cl-resizer`).forEach(s=>{Pu(s)})}let Qn=0,On=null;function Pu(e){Qn=0,On=null,e.addEventListener("mousedown",xu),document.addEventListener("mousemove",ju),document.addEventListener("mouseup",Wu)}const xu=e=>{e.preventDefault(),On=e.target?e.target.parentElement:null,Qn=e.pageX},ju=e=>{if(On!==null){e.preventDefault();const s=e.pageX-Qn;Qn=e.pageX;const c=Ru(On),p=e.target?.closest("table")?.id??"unknown";!!document.querySelector(`#${p}.cl-table-nowrap`)?document.querySelectorAll(`#${p} tr th:nth-child(${c-1})`).forEach(m=>{const u=(m.style.maxWidth===""?m.offsetWidth:parseInt(m.style.maxWidth))+s;m.style.width=(u>32?u:32)+"px",m.style.maxWidth=(u>32?u:32)+"px"}):(document.querySelectorAll(`#${p} tr td:nth-child(${c-1})`).forEach(m=>{const u=m.offsetWidth+s;m.style.width=(u>32?u:32)+"px"}),document.querySelectorAll(`#${p} tr td:nth-child(${c})`).forEach(m=>{const u=m.offsetWidth-s;m.style.width=(u>32?u:32)+"px"}))}},Wu=e=>{On!==null&&(e.preventDefault(),Qn=0,On=null)};function Ru(e){let s=0;for(;e;)s++,e=e.previousElementSibling;return s}const qu=n.defineComponent({name:"ClTable",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},nowrap:{type:Boolean,default:!1},noDataText:{type:String,default:"No data available."},rows:{type:Number,default:1},nonresponsive:{type:Boolean,default:!1},hideCols:{type:Array,default:void 0},fixed:{type:Boolean,default:!1}},data(){return{show:Array(32).fill(!0)}},computed:{clazz:function(){let e=this.class;this.nonresponsive&&(e+=" cl-table-nonresponsive"),this.nowrap&&(e+=" cl-table-nowrap"),this.fixed&&(e+=" cl-table-fixed");for(let s=1;s<=this.show.length;s++)this.show[s-1]||(e+=` cl-table-col-${s}-hide`);return e}},watch:{rows:function(){this.setupResizer()}},mounted(){this.setupResizer()},methods:{setupResizer:function(){this.$nextTick(()=>{Fu(this.$uid)})}}}),Hu=["id"],Uu=["id"],Xu={key:0},Yu={key:1},Ku={class:"cl-tr-no-data"},Gu={colspan:"100"},Qu={key:2},Ju={class:"cl-tr-no-data"},Zu={colspan:"100"},ef={key:3};function tf(e,s,c,p,b,m){const u=n.resolveComponent("cl-spinner"),N=n.resolveComponent("cl-field-check"),U=n.resolveComponent("cl-modal-ok");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",{id:e.id,class:"cl-table-scroll"},[n.createElementVNode("table",{id:e.$uid,class:n.normalizeClass(`cl-table-data ${e.clazz}`)},[n.createElementVNode("thead",null,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"header")])]),e.rows>=1?(n.openBlock(),n.createElementBlock("tbody",Xu,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])):e.rows===0?(n.openBlock(),n.createElementBlock("tbody",Yu,[n.createElementVNode("tr",Ku,[n.createElementVNode("td",Gu,n.toDisplayString(e.noDataText),1)])])):(n.openBlock(),n.createElementBlock("tbody",Qu,[n.createElementVNode("tr",Ju,[n.createElementVNode("td",Zu,[n.createVNode(u)])])])),e.$slots.footer?(n.openBlock(),n.createElementBlock("tfoot",ef,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"footer")])])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"tfoot")],10,Uu)],8,Hu),e.hideCols?(n.openBlock(),n.createBlock(U,{key:0,id:e.$uid+"-settings",title:"Configure table"},{default:n.withCtx(()=>[s[0]||(s[0]=n.createElementVNode("p",null,"Which of the following columns would you like to see?",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.hideCols,(ae,we)=>(n.openBlock(),n.createBlock(N,{key:ae,value:e.show[we],modelValue:e.show[we],"onUpdate:modelValue":Se=>e.show[we]=Se},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(ae),1)]),_:2},1032,["value","modelValue","onUpdate:modelValue"]))),128))]),_:1},8,["id"])):n.createCommentVNode("",!0)],64)}const pn=B(qu,[["render",tf]]);pn.install=e=>{e.component(pn.name??"ClNoName",pn)};const nf=n.defineComponent({name:"ClTableCel",props:{condensed:{type:Boolean,default:!1}}});function of(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(e.condensed?"cl-font-condensed":"")},[n.renderSlot(e.$slots,"default")],2)}const hn=B(nf,[["render",of]]);hn.install=e=>{e.component(hn.name??"ClNoName",hn)};const sf=n.defineComponent({name:"ClTableCelActions",props:{content:{type:String,default:""}}}),rf={class:"cl-td-actions"};function lf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",rf,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const mn=B(sf,[["render",lf]]);mn.install=e=>{e.component(mn.name??"ClNoName",mn)};const af=n.defineComponent({name:"ClTableCelAudit",directives:{tooltip:Dn},props:{value:{type:String,default:"???"}}}),cf={class:"cl-td-audit"},df={class:"fas fa-info-circle"};function uf(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("td",cf,[n.withDirectives(n.createElementVNode("i",df,null,512),[[u,e.value,"left"]])])}const gn=B(af,[["render",uf]]);gn.install=e=>{e.component(gn.name??"ClNoName",gn)};const ff=n.defineComponent({name:"ClTableCelBoolean",props:{value:{type:Boolean,default:!1}}}),pf={class:"cl-td-boolean"};function hf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",pf,[n.createElementVNode("i",{class:n.normalizeClass(`fas ${e.value?"fa-check":"fa-minus"}`)},null,2)])}const vn=B(ff,[["render",hf]]);vn.install=e=>{e.component(vn.name??"ClNoName",vn)};const mf=n.defineComponent({name:"ClTableCelCheckbox",props:{id:{type:String,default:void 0},disabled:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},emits:["update:modelValue","changed"],data(){return{modelValue:this.value}},watch:{value:function(e){this.modelValue=e}},methods:{emitAll:function(){this.$emit("update:modelValue",this.modelValue),this.$emit("changed",this.modelValue)}}}),gf={class:"cl-td-checkbox"},vf={class:"form-check text-center"},bf=["id","disabled"];function yf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",gf,[n.createElementVNode("div",vf,[n.withDirectives(n.createElementVNode("input",{id:e.id??e.$uid,"onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,onChange:s[1]||(s[1]=u=>e.emitAll())},null,40,bf),[[n.vModelCheckbox,e.modelValue]])])])}const bn=B(mf,[["render",yf]]);bn.install=e=>{e.component(bn.name??"ClNoName",bn)};const _f=n.defineComponent({name:"ClTableCelCode"}),Cf={class:"cl-td-code"};function kf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Cf,[n.renderSlot(e.$slots,"default")])}const yn=B(_f,[["render",kf]]);yn.install=e=>{e.component(yn.name??"ClNoName",yn)};const $f=n.defineComponent({name:"ClTableCelCurrency",props:{amount:{type:Number,default:0},currency:{type:String,default:"EUR"}}}),Ef={class:"cl-td-currency"};function wf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Ef,n.toDisplayString(e.currency)+" "+n.toDisplayString(e.amount),1)}const _n=B($f,[["render",wf]]);_n.install=e=>{e.component(_n.name??"ClNoName",_n)};const Sf=n.defineComponent({name:"ClTableCelDate",props:{value:{type:String,default:void 0}},computed:{content:function(){if(this.value){const e=new Date(this.value),s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),c=new Intl.DateTimeFormat("en",{month:"2-digit"}).format(e),p=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e),b=new Intl.DateTimeFormat("en",{hour:"2-digit",hour12:!1}).format(e),m=new Intl.DateTimeFormat("en",{minute:"2-digit"}).format(e);return`${s}-${c}-${p} ${b}:${m}`}return"-"}}}),Nf={class:"cl-td-date"};function Tf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Nf,n.toDisplayString(e.content),1)}const Cn=B(Sf,[["render",Tf]]);Cn.install=e=>{e.component(Cn.name??"ClNoName",Cn)};const Af=n.defineComponent({name:"ClTableCelId",directives:{tooltip:Dn,clipboard:ko},props:{value:{type:String,default:"ABCDEF01"},full:{type:String,default:void 0}},computed:{tooltip:function(){return(this.full??this.value)+"<br><small>click-to-copy!</small>"}}}),Bf={class:"cl-td-id"};function Of(e,s,c,p,b,m){const u=n.resolveDirective("tooltip"),N=n.resolveDirective("clipboard");return n.withDirectives((n.openBlock(),n.createElementBlock("td",Bf,[n.createTextVNode(n.toDisplayString(e.value),1)])),[[u,e.tooltip,"right"],[N,e.full??e.value]])}const kn=B(Af,[["render",Of]]);kn.install=e=>{e.component(kn.name??"ClNoName",kn)};const Df=n.defineComponent({name:"ClTableCelLinks",props:{content:{type:String,default:""}}}),Vf={class:"cl-td-links"};function Mf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Vf,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const $n=B(Df,[["render",Mf]]);$n.install=e=>{e.component($n.name??"ClNoName",$n)};const zf=n.defineComponent({name:"ClTableCelUuid",props:{value:{type:String,default:"00000000-0000-0000-0000-000000000000"}}});function Lf(e,s,c,p,b,m){const u=n.resolveComponent("cl-table-cel-id");return n.openBlock(),n.createBlock(u,{value:e.value.substring(0,8),full:e.value},null,8,["value","full"])}const En=B(zf,[["render",Lf]]);En.install=e=>{e.component(En.name??"ClNoName",En)};const If=n.defineComponent({name:"ClTableFootChecked",props:{checked:{type:Object,default:()=>({})}},computed:{any:function(){for(const e in this.checked)if(this.checked[e])return!0;return!1}}}),Ff={key:0,class:"cl-table-foot-checked"},Pf={class:"cl-td-links",colspan:"100"};function xf(e,s,c,p,b,m){return e.any?(n.openBlock(),n.createElementBlock("tfoot",Ff,[n.createElementVNode("tr",null,[n.createElementVNode("td",Pf,[s[0]||(s[0]=n.createElementVNode("small",null,[n.createElementVNode("i",{class:"fas fa-share fa-rotate-270 cl-faded"})],-1)),s[1]||(s[1]=n.createTextVNode(" ",-1)),n.renderSlot(e.$slots,"default")])])])):n.createCommentVNode("",!0)}const wn=B(If,[["render",xf]]);wn.install=e=>{e.component(wn.name??"ClNoName",wn)};const jf=n.defineComponent({name:"ClTableHead",directives:{tooltip:Dn},props:{resize:{type:Boolean,default:!1},sort:{type:String,default:"OFF"},width:{type:String,default:""},checkbox:{type:Boolean,default:!1},initial:{type:String,default:"NONE"},sorter:{type:Object,default:null},col:{type:Number,default:0},settings:{type:Boolean,default:!1}},emits:["sort","all","none"],data(){return{checkState:this.initial,modelValue:this.initial==="ALL",mySorter:this.sorter}},watch:{initial:function(e,s){e!==s&&(this.checkState=e,this.modelValue=this.checkState==="ALL")}},mounted(){this.$nextTick(()=>{this.mySorter&&this.mySorter.col===this.col&&this.mySorter.sort()})},methods:{check(){switch(this.checkState){case"NONE":case"SOME":this.checkState="ALL",this.$emit("all");break;case"ALL":this.checkState="NONE",this.$emit("none");break}},openSettings(e){let s=e?.target;for(;s;){if(s.tagName==="TABLE"){yo(`${s.id}-settings`);return}s=s.parentElement}},sortCol(){let e="NONE";switch(this.mySorter.col===this.col&&(e=this.mySorter?this.mySorter.order.toUpperCase():this.sort.toUpperCase()),e){case"OFF":break;case"ASC":this.mySorter?this.mySorter.set(this.col,"DESC"):this.$emit("sort","DESC");break;case"DESC":default:this.mySorter?this.mySorter.set(this.col,"ASC"):this.$emit("sort","ASC")}}}}),Wf=["id","width"],Rf={class:"fas fa-cog cl-faded"},qf={key:0,class:"cl-resizer"},Hf={key:1,class:"form-check text-center"},Uf=["indeterminate"],Xf={key:2,class:"cl-resizer"};function Yf(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("th",{id:e.$uid,class:n.normalizeClass(["cl-table-head",{"cl-table-head-sort":e.sort!==null,"cl-table-head-checkbox":e.checkbox,"cl-th-links":e.settings}]),width:e.settings?"1%":e.width},[e.settings?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("button",{type:"button",class:"cl-btn-ghost",onClick:s[0]||(s[0]=(...N)=>e.openSettings&&e.openSettings(...N))},[n.withDirectives(n.createElementVNode("i",Rf,null,512),[[u,"Configure table","left"]])]),e.resize?(n.openBlock(),n.createElementBlock("div",qf)):n.createCommentVNode("",!0)],64)):e.checkbox?(n.openBlock(),n.createElementBlock("div",Hf,[n.withDirectives(n.createElementVNode("input",{ref:"checkbox","onUpdate:modelValue":s[1]||(s[1]=N=>e.modelValue=N),class:"form-check-input",type:"checkbox",indeterminate:e.checkState==="SOME",onChange:s[2]||(s[2]=N=>e.check())},null,40,Uf),[[n.vModelCheckbox,e.modelValue]])])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[e.sort?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"cl-btn-ghost",onClick:s[3]||(s[3]=(...N)=>e.sortCol&&e.sortCol(...N))},[n.renderSlot(e.$slots,"default"),e.sorter?.col===e.col?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(["fas fa-fw",{"fa-sort-up":e.sorter.order.toUpperCase()==="ASC","fa-sort-down":e.sorter.order.toUpperCase()==="DESC","fa-sort":!["ASC","DESC"].includes(e.sorter.order.toUpperCase())}])},null,2)):e.sort!==null?(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(["fas fa-fw",{"fa-sort-up":e.sort.toUpperCase()==="ASC","fa-sort-down":e.sort.toUpperCase()==="DESC","fa-sort":!["ASC","DESC"].includes(e.sort.toUpperCase())}])},null,2)):n.createCommentVNode("",!0)])):n.renderSlot(e.$slots,"default",{key:1}),e.resize?(n.openBlock(),n.createElementBlock("div",Xf)):n.createCommentVNode("",!0)],64))],10,Wf)}const Sn=B(jf,[["render",Yf]]);Sn.install=e=>{e.component(Sn.name??"ClNoName",Sn)};const Kf=n.defineComponent({name:"ClTableRow",props:{id:{type:String,default:null},class:{type:String,default:null},highlight:{type:Boolean,default:!1}},computed:{clazz:function(){return this.highlight?this.class+" cl-highlight":this.class}}}),Gf=["id"];function Qf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("tr",{id:e.id,class:n.normalizeClass(e.clazz)},[n.renderSlot(e.$slots,"default")],10,Gf)}const Nn=B(Kf,[["render",Qf]]);Nn.install=e=>{e.component(Nn.name??"ClNoName",Nn)};const Jf=n.defineComponent({name:"ClTabs",props:{index:{type:Number,default:0}},emits:["tab"],data(){return{tabs:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}},methods:{slotExists(e){return this.$slots[`tabs-${e}-label`]!==void 0},emit(e){this.$emit("tab",e)}}}),Zf={class:"cl-tabs"},ep=["id","name","checked","onChange"],tp=["for"];function np(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Zf,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("input",{key:0,id:`tabs-${e.$uid}-${u}`,class:n.normalizeClass(`cl-tab-${u}`),type:"radio",name:`tabs-${e.$uid}`,checked:e.index===u-1,onChange:N=>e.emit(u)},null,42,ep)):n.createCommentVNode("",!0)],64))),128)),n.createElementVNode("ul",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("li",{key:0,class:n.normalizeClass(`cl-tab-${u}`)},[n.createElementVNode("label",{for:`tabs-${e.$uid}-${u}`},[n.renderSlot(e.$slots,`tabs-${u}-label`)],8,tp)],2)):n.createCommentVNode("",!0)],64))),128))]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(`cl-tab-${u} cl-tab-content`)},[n.renderSlot(e.$slots,`tabs-${u}-content`)],2)):n.createCommentVNode("",!0)],64))),128))])}const Tn=B(Jf,[["render",np]]);Tn.install=e=>{e.component(Tn.name??"ClNoName",Tn)};const ip=n.defineComponent({name:"ClToggle",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:void 0},modelValue:{type:Boolean,default:!1},enabled:{type:Boolean,default:!0},title:{type:String,default:""},iconOn:{type:String,default:"fas fa-check"},iconOff:{type:String,default:"fas fa-times"}},emits:["update:modelValue"],data(){return{myclass:"cl-badge "+this.class}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},methods:{toggle:function(){if(this.enabled){const e=document.getElementById(this.$uid);e&&(this.$emit("update:modelValue",e.checked),e.focus(),e.blur(),e.focus())}}}}),op=["id","checked","disabled"],sp=["id","for","disabled"];function rp(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("input",{id:e.$uid,type:"checkbox",class:n.normalizeClass(`cl-toggle-checkbox${e.clazz}`),checked:e.modelValue,disabled:e.enabled?null:!0,onChange:s[0]||(s[0]=u=>e.toggle())},null,42,op),n.createElementVNode("label",{id:e.id,class:n.normalizeClass(e.myclass),for:e.$uid,disabled:e.enabled?null:!0},[n.createElementVNode("i",{class:n.normalizeClass(`${e.iconOn} fa-fw`)},null,2),n.createElementVNode("i",{class:n.normalizeClass(`${e.iconOff} fa-fw`)},null,2),n.createTextVNode(n.toDisplayString(e.title),1)],10,sp)],64)}const An=B(ip,[["render",rp]]);An.install=e=>{e.component(An.name??"ClNoName",An)};const lp={install:e=>{let s=0;e.mixin({beforeCreate:function(){let p;const b="uid-"+s++;Object.defineProperties(this,(p={},p.$uid={get:function(){return b}},p))}})}};function ap(){return{ClAlert:It,ClBackCancelOk:Ft,ClCookieBanner:Pt,ClCopy:xt,ClCreditcardNumber:jt,ClDropzone:Wt,ClField:Rt,ClFieldCheck:qt,ClFieldGroup:Ht,ClHashtag:Ut,ClIconotron:Xt,ClInfo:Yt,ClLinkExternal:Kt,ClLorem:Gt,ClMailto:Qt,ClModal:Jt,ClModalConfirm:Zt,ClModalOk:en,ClNavSide:tn,ClNavTop:nn,ClOrg:on,ClPage:sn,ClPagination:rn,ClPlan:ln,ClRole:an,ClSectionForm:cn,ClSectionHeadline:dn,ClSectionMain:gt,ClSectionMainSide:un,ClSpinner:fn,ClTable:pn,ClTableCel:hn,ClTableCelActions:mn,ClTableCelAudit:gn,ClTableCelBoolean:vn,ClTableCelCheckbox:bn,ClTableCelCode:yn,ClTableCelCurrency:_n,ClTableCelDate:Cn,ClTableCelId:kn,ClTableCelLinks:$n,ClTableCelUuid:En,ClTableFootChecked:wn,ClTableHead:Sn,ClTableRow:Nn,ClTabs:Tn,ClToggle:An}}function cp(){return[lp]}function $o(e,s){const c=JSON.parse(JSON.stringify(e));for(const p in s)typeof s[p]=="object"&&!Array.isArray(s[p])?c[p]=$o(e[p]??{},s[p]):c[p]=s[p];return c}function dp(e,s){return{store:$o(e,s)}}const gr="✺";let Ni={};function up(e,s="",c=!1){const p=Ni[s]??tt(vr(s));return Object.keys(Ni).length>100&&(Ni={}),Ni[s]=p,mt(c?e.toLowerCase():e,p,c)}function mt(e,s,c){if(typeof s=="string"){const p=s.replaceAll(gr," ");return p[0]==="-"?!mt(e,p.substring(1),c):c?e.includes(p):e.toLowerCase().includes(p.toLowerCase())}else switch(s[0]){case"&":return mt(e,s[1])&&mt(e,s[2]);case"|":return mt(e,s[1])||mt(e,s[2]);default:return!1}}function vr(e){const s=[];let c=!1;for(let u=0;u<e.length;u++)c?e[u]===c?c=!1:s.push([" "].includes(e[u])?gr:e[u]):["'",'"'].includes(e[u])?c=e[u]:s.push(e[u]);const p=s.join("").replace(/\s+/g," ").trim();if(p.length<=0)return"";const b=p.split(" ");if(b.length<=0)return"";const m=[];["NOT","-"].includes(b[0])||m.push(b.shift());for(let u=0;u<b.length;u++)switch(b[u]){case"AND":case"&":case"&&":switch(b[++u]){case"NOT":case"-":b[u+1]&&(m.push("&"),m.push("-"),m.push(b[++u]));break;case void 0:break;default:m.push("&"),m.push(b[u])}break;case"OR":case"|":case"||":switch(b[++u]){case"NOT":case"-":b[u+1]&&(m.push("|"),m.push("-"),m.push(b[++u]));break;case void 0:break;default:m.push("|"),m.push(b[u])}break;case"NOT":case"-":m.push("-"),m.push(b[++u]);break;default:m.push("&"),m.push(b[u])}return` ${m.join(" ")} `.replace(/ - /g," -").trim()}function tt(e){const s=e.indexOf(" | ");if(s>=0)return["|",tt(e.substring(0,s)),tt(e.substring(s+3))];const c=e.indexOf(" & ");if(c>=0)return["&",tt(e.substring(0,c)),tt(e.substring(c+3))];const p=e.indexOf(" ");return p>=0?["&",tt(e.substring(0,p)),tt(e.substring(p+1))]:e}const vt={DEV:"DEV",TEST:"TEST",PROD:"PROD"},br={id:"CP",subtitle:"Access the Content Platform, manage, encode and watermark assets",title:"Content Platform",urlManage:function(e,s){return e===vt.PROD?`https://platform.content.castlabs.com/#/o/${s??""}`:`https://platform.content-stag.castlabs.com/#/o/${s??""}`},sidenav:!1},yr={id:"CS",subtitle:"Manage organizations, plans, downloads",title:"Castlabs hub",urlManage:function(e,s){return Eo(e,`https://account.test.cs.castlabs.com/o/${s??""}`,`https://account.castlabs.com/o/${s??""}`)},sidenav:!0},_r={id:"DT",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday",urlManage:function(e,s){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${s?`${s}/`:""}index`,`https://fe.drmtoday.com/dashboard/${s?`${s}/`:""}index`)},sidenav:!0},Cr={id:"DTO",subtitle:"",title:"DRMtoday Onboard (staging)",urlManage:function(e,s){return`https://onboard.castlabs.com/o/${s??""}/devices`},sidenav:!1},kr={id:"DTS",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday (staging)",urlManage:function(e,s){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${s?`${s}/`:""}index`,`https://fe.staging.drmtoday.com/dashboard/${s?`${s}/`:""}index`)},sidenav:!1},$r={id:"PP",subtitle:"Cross-platform video players (via Castlabs hub)",title:"PRESTOplay",urlManage:function(e,s){return e===vt.PROD?`https://account.castlabs.com/o/${s}/prestoplay`:`https://account.test.cs.castlabs.com/o/${s}/prestoplay`},sidenav:!0},Er={id:"VTK",subtitle:"Cloud encoding, packaging, watermarking",title:"Video Toolkit",urlManage:function(e){return e===vt.PROD?"https://vtk.castlabs.com/":"https://vtks.castlabs.com/"},sidenav:!0},wr={id:"WM",subtitle:"Video & image forensic watermarking",title:"STARDUSTmark",urlManage:function(e,s){return e===vt.PROD?`https://watermark.castlabs.com/#/o/${s}`:`https://demo-stag.fwm.castlabs.com/#/o/${s}`},sidenav:!0};function Eo(e=vt.PROD,s,c){return[vt.DEV,vt.TEST].includes(e)?s:c}function fp(){return[yr,br,_r,kr,Cr,$r,wr,Er]}const pp={CP:br,CS:yr,DT:_r,DTS:kr,DTO:Cr,PP:$r,WM:wr,VTK:Er},vo={ClAlert:It,ClBackCancelOk:Ft,ClCookieBanner:Pt,ClCopy:xt,ClCreditcardNumber:jt,ClDropzone:Wt,ClField:Rt,ClFieldCheck:qt,ClFieldGroup:Ht,ClHashtag:Ut,ClIconotron:Xt,ClInfo:Yt,ClLinkExternal:Kt,ClLorem:Gt,ClMailto:Qt,ClModal:Jt,ClModalConfirm:Zt,ClModalOk:en,ClNavSide:tn,ClNavTop:nn,ClOrg:on,ClPage:sn,ClPagination:rn,ClPlan:ln,ClRole:an,ClSectionForm:cn,ClSectionHeadline:dn,ClSectionMain:gt,ClSectionMainSide:un,ClSpinner:fn,ClTable:pn,ClTableCel:hn,ClTableCelActions:mn,ClTableCelAudit:gn,ClTableCelBoolean:vn,ClTableCelCheckbox:bn,ClTableCelCode:yn,ClTableCelCurrency:_n,ClTableCelDate:Cn,ClTableCelId:kn,ClTableCelLinks:$n,ClTableCelUuid:En,ClTableFootChecked:wn,ClTableHead:Sn,ClTableRow:Nn,ClTabs:Tn,ClToggle:An,ClMockRouterLink:Gn,ClUI:Ta};function hp(e){for(const s in vo)e.component(vo[s].name,vo[s])}exports.ClAlert=It;exports.ClBackCancelOk=Ft;exports.ClCookieBanner=Pt;exports.ClCopy=xt;exports.ClCreditcardNumber=jt;exports.ClDropzone=Wt;exports.ClField=Rt;exports.ClFieldCheck=qt;exports.ClFieldGroup=Ht;exports.ClHashtag=Ut;exports.ClIconotron=Xt;exports.ClInfo=Yt;exports.ClLinkExternal=Kt;exports.ClLorem=Gt;exports.ClMailto=Qt;exports.ClMockRouterLink=Gn;exports.ClModal=Jt;exports.ClModalConfirm=Zt;exports.ClModalOk=en;exports.ClNavSide=tn;exports.ClNavTop=nn;exports.ClOrg=on;exports.ClPage=sn;exports.ClPagination=rn;exports.ClPlan=ln;exports.ClRole=an;exports.ClSectionForm=cn;exports.ClSectionHeadline=dn;exports.ClSectionMain=gt;exports.ClSectionMainSide=un;exports.ClSpinner=fn;exports.ClTable=pn;exports.ClTableCel=hn;exports.ClTableCelActions=mn;exports.ClTableCelAudit=gn;exports.ClTableCelBoolean=vn;exports.ClTableCelCheckbox=bn;exports.ClTableCelCode=yn;exports.ClTableCelCurrency=_n;exports.ClTableCelDate=Cn;exports.ClTableCelId=kn;exports.ClTableCelLinks=$n;exports.ClTableCelUuid=En;exports.ClTableFootChecked=wn;exports.ClTableHead=Sn;exports.ClTableRow=Nn;exports.ClTabs=Tn;exports.ClToggle=An;exports.NAV=pp;exports._getProperty=Lt;exports._sanitize=vr;exports._tokenize=tt;exports.castlabsUi=hp;exports.clCopyData=Ka;exports.clDebounce=Ua;exports.clFocus=za;exports.clFormAutofocus=La;exports.clFormFieldFocusFirstInvalid=Co;exports.clFormFieldReset=lr;exports.clFormIsValid=_o;exports.clFormIsValidAsync=ar;exports.clFormReset=rr;exports.clFormatAmount=ja;exports.clFormatCardNumber=ur;exports.clFormatDate=cr;exports.clFormatDateTimeUTC=Fa;exports.clFormatDuration=Pa;exports.clFormatFilesize=Ia;exports.clFormatNumber=Bi;exports.clFormatPeriod=xa;exports.clFormatRange=Wa;exports.clFormatTimeUTC=dr;exports.clGetAllComponents=ap;exports.clGetAllPlugins=cp;exports.clGetServices=fp;exports.clMatch=up;exports.clModalHide=Bn;exports.clModalIsShown=Ma;exports.clModalShow=yo;exports.clModalValue=Ai;exports.clPaginate=sr;exports.clPatch=$o;exports.clPatchStore=dp;exports.clRandomList=Ya;exports.clRandomString=Xa;exports.clRefClField=Za;exports.clRefClFieldGroup=ec;exports.clRefHTMLElement=tc;exports.clReload=Qa;exports.clReloadStore=Ga;exports.clScrollToId=or;exports.clSleep=Ja;exports.clSort=fr;exports.clSynchronizedSubmit=Ra;exports.clSynchronizedSubmitAsync=qa;exports.clTableSorter=pr;exports.clTableSorterObjects=Ha;exports.clVClipboard=ko;exports.clVTooltip=Dn;
|
|
29
|
+
justo donec enim diam.`,ld=n.defineComponent({name:"ClLorem",props:{words:{type:Number,default:10},paragraphs:{type:Number,default:0}},methods:{lorem(e){return((e%2?rd:sd).trim().replace(/\s+/g," ").split(" ").splice(0,this.words).join(" ")+".").replace(/\.+/g,".")}}});function ad(e,s,c,p,b,m){return e.paragraphs<=0?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(e.lorem(0)),1)],64)):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(parseInt(e.paragraphs),u=>(n.openBlock(),n.createElementBlock("p",{key:u},n.toDisplayString(e.lorem(u)),1))),128))}const Gt=B(ld,[["render",ad]]);Gt.install=e=>{e.component(Gt.name??"ClNoName",Gt)};const cd=n.defineComponent({name:"ClMailto",props:{to:{type:String,default:"office@castlabs.com"}}}),dd=["href"];function ud(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:"cl-a-email",href:`mailto:${e.to}`},n.toDisplayString(e.to),9,dd)}const Qt=B(cd,[["render",ud]]);Qt.install=e=>{e.component(Qt.name??"ClNoName",Qt)};const fd=n.defineComponent({props:{to:{type:void 0,default:()=>({})},class:{type:String,default:""}},computed:{classes:function(){return this.class}},methods:{push:function(){this.$router.push(this.to)}}}),pd=["to","name","aid","bid","cid","did","eid","fid","gid","hid","iid","jid","kid","lid","mid","nid","oid","pid","qid","rid","sid","tid","uid","vid","wid","xid","yid","zid"];function hd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("a",{class:n.normalizeClass(e.classes),to:JSON.stringify(e.to),name:e.to.name,aid:e.to.params?.aid,bid:e.to.params?.bid,cid:e.to.params?.cid,did:e.to.params?.did,eid:e.to.params?.eid,fid:e.to.params?.fid,gid:e.to.params?.gid,hid:e.to.params?.hid,iid:e.to.params?.iid,jid:e.to.params?.jid,kid:e.to.params?.kid,lid:e.to.params?.lid,mid:e.to.params?.mid,nid:e.to.params?.nid,oid:e.to.params?.oid,pid:e.to.params?.pid,qid:e.to.params?.qid,rid:e.to.params?.rid,sid:e.to.params?.sid,tid:e.to.params?.tid,uid:e.to.params?.uid,vid:e.to.params?.vid,wid:e.to.params?.wid,xid:e.to.params?.xid,yid:e.to.params?.yid,zid:e.to.params?.zid,onClick:s[0]||(s[0]=u=>e.push())},[n.renderSlot(e.$slots,"default")],10,pd)}const Gn=B(fd,[["render",hd]]);Gn.install=e=>{e.component(Gn.name??"ClNoName",Gn)};const md=n.defineComponent({name:"ClModal",inheritAttrs:!1,props:{id:{type:String,default:null},form:{type:Boolean,default:!1},class:{type:String,default:null},helpUrl:{type:String,default:null},onClose:{type:Function,default:null},onOpen:{type:Function,default:null}},computed:{clazz:function(){return this.class}},mounted(){const e=document.getElementById(this.id||""),s=this;e&&(e.addEventListener("hidden.bs.modal",function(){s.onClose&&s.onClose()}),e.addEventListener("show.bs.modal",function(){s.onOpen&&s.onOpen()}))}}),gd=["id"],vd={class:"modal-dialog"},bd={class:"modal-content"},yd={class:"modal-header"},_d=["href"],Cd=["id"],kd={key:1,class:"modal-body"},$d={class:"modal-footer"},Ed={class:"modal-footer-left cl-spacing-box cl-spacing-none"},wd={class:"modal-footer-center cl-spacing-box cl-spacing-none"},Sd={class:"modal-footer-right cl-spacing-box cl-spacing-none"};function Nd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",{id:e.id,class:n.normalizeClass(`modal ${e.clazz}`),tabindex:"-1","data-bs-backdrop":"static"},[n.createElementVNode("div",vd,[n.createElementVNode("div",bd,[n.createElementVNode("div",yd,[n.renderSlot(e.$slots,"title",{},()=>[s[1]||(s[1]=n.createTextVNode("Information",-1))]),e.helpUrl?(n.openBlock(),n.createElementBlock("a",{key:0,class:"modal-help",href:e.helpUrl,target:"_blank",title:"Show help in new window."},[...s[2]||(s[2]=[n.createElementVNode("i",{class:"far fa-question-circle"},null,-1)])],8,_d)):n.createCommentVNode("",!0)]),e.form?(n.openBlock(),n.createElementBlock("form",{key:0,id:`${e.id}-form`,class:"modal-body cl-form container",novalidate:"",onSubmit:s[0]||(s[0]=n.withModifiers(()=>{},["prevent"]))},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")],40,Cd)):(n.openBlock(),n.createElementBlock("div",kd,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])),n.createElementVNode("div",$d,[n.createElementVNode("span",Ed,[n.renderSlot(e.$slots,"footer-left")]),n.createElementVNode("span",wd,[n.renderSlot(e.$slots,"footer")]),n.createElementVNode("span",Sd,[n.renderSlot(e.$slots,"footer-right")])])])])],10,gd)}const Jt=B(md,[["render",Nd]]);Jt.install=e=>{e.component(Jt.name??"ClNoName",Jt)};const Td=n.defineComponent({name:"ClModalConfirm",inheritAttrs:!1,props:{id:{type:String,default:"modal-confirm"},class:{type:String,default:void 0},text:{type:String,default:"confirm"},title:{type:String,default:"Are you sure?"},ok:{type:String,default:void 0},button:{type:String,default:"OK"},spinner:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},emits:["ok"],methods:{reset:function(){lr(this.$refs.text,""),rr(`${this.id}-form`)},submit:function(){_o(`${this.id}-form`)&&this.$emit("ok")}}});function Ad(e,s,c,p,b,m){const u=n.resolveComponent("cl-field"),N=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(N,{id:e.id,class:n.normalizeClass(e.clazz),form:"","on-open":e.reset},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.title),1)]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createElementVNode("p",null,[s[2]||(s[2]=n.createTextVNode(" To confirm your intention, please type ",-1)),n.createElementVNode("code",null,n.toDisplayString(e.text),1),s[3]||(s[3]=n.createTextVNode(" into this text field: ",-1))]),n.createVNode(u,{ref:"text",type:"text",required:"",pattern:`^${e.text}$`,class:"text-center cl-field-monospace it-confirm",autofocus:"",onKeyup:s[0]||(s[0]=n.withKeys(U=>e.submit(),["enter"]))},null,8,["pattern"])]),"footer-left":n.withCtx(()=>[...s[4]||(s[4]=[n.createElementVNode("button",{type:"button",class:"btn cl-color-secondary it-cancel","data-bs-dismiss":"modal"},[n.createElementVNode("span",null,"Cancel")],-1)])]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:s[1]||(s[1]=U=>e.submit())},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1)],2)]),_:3},8,["id","class","on-open"])}const Zt=B(Td,[["render",Ad]]);Zt.install=e=>{e.component(Zt.name??"ClNoName",Zt)};const Bd=n.defineComponent({name:"ClModalOk",inheritAttrs:!1,props:{id:{type:String,default:"modal-ok"},class:{type:String,default:void 0},title:{type:String,default:"Information"},form:{type:Boolean,default:!1},body:{type:String,default:void 0},ok:{type:String,default:void 0},button:{type:String,default:"OK"},cancel:{type:String,default:null},spinner:{type:Boolean,default:!1},onClose:{type:Function,default:null},onOpen:{type:Function,default:null}},emits:["ok","cancel"],data(){return{emitted:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},methods:{buttonOk:function(){this.emitted=!0,Bn(),this.$emit("ok",Ai(this.id))},buttonCancel:function(){this.emitted=!0,Bn(),this.$emit("cancel",Ai(this.id))},opened:function(){this.emitted=!1,this.onOpen&&this.onOpen()},closed:function(){this.emitted||this.$emit("cancel",Ai(this.id)),this.onClose&&this.onClose()}}});function Od(e,s,c,p,b,m){const u=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(u,{id:e.id,class:n.normalizeClass(e.clazz),form:e.form,"on-open":e.opened,"on-close":e.closed},{title:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.title),1)]),body:n.withCtx(()=>[n.renderSlot(e.$slots,"default"),n.createTextVNode(n.toDisplayString(e.body),1)]),"footer-left":n.withCtx(()=>[e.cancel?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"btn cl-color-secondary it-cancel",onClick:s[0]||(s[0]=(...N)=>e.buttonCancel&&e.buttonCancel(...N))},[n.createElementVNode("span",null,n.toDisplayString(e.cancel),1)])):n.createCommentVNode("",!0)]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-color-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:s[1]||(s[1]=(...N)=>e.buttonOk&&e.buttonOk(...N))},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1)],2)]),_:3},8,["id","class","form","on-open","on-close"])}const en=B(Bd,[["render",Od]]);en.install=e=>{e.component(en.name??"ClNoName",en)};function hr(){const e=document.getElementById("cl-nav-side");if(e)if(e.checked){e.parentNode.classList.add("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","true")}catch(s){s.ignore?.()}}else{e.parentNode.classList.remove("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","false")}catch(s){s.ignore?.()}}}function Dd(){ir(Vd()),document.querySelectorAll(".cl-nav-drawer a").forEach(e=>{e.addEventListener("click",()=>{if(mr()){ir(!1);try{localStorage.setItem("sidenavOpen","false")}catch(s){s.ignore?.()}}})}),document.getElementById("cl-nav-side")?.addEventListener("change",function(){hr()}),document.querySelectorAll(".cl-nav-drawer details[id]").forEach(e=>{e.addEventListener("toggle",s=>{try{localStorage.setItem(`cl-nav-${e.id}`,s.target.hasAttribute("open"))}catch(c){c.ignore?.()}});try{localStorage.getItem(`cl-nav-${e.id}`)==="true"&&(e.open=!0)}catch(s){s.ignore?.()}}),setTimeout(function(){document.querySelectorAll("body").forEach(e=>{e.classList.add("cl-animate")})},1e3)}function ir(e){const s=document.getElementById("cl-nav-side");s&&(s.checked=e)}function mr(){return Math.max(document?.documentElement?.clientWidth||0,window?.innerWidth||0)<1200}function Vd(){const e=localStorage.getItem("sidenavOpen");return e==null?!mr():JSON.parse(e)}const Md=n.defineComponent({name:"ClNavSide",inheritAttrs:!1,props:{class:{type:String,default:void 0}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},mounted(){this.setup()},methods:{toggle:function(){hr()},setup:function(){this.$nextTick(()=>{Dd()})}}}),zd={class:"cl-nav-side"},Ld={class:"cl-nav-drawer"},Id={"data-simplebar":""};function Fd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("input",{id:"cl-nav-side",type:"checkbox",class:n.normalizeClass(`cl-nav-checkbox${e.clazz}`),onChange:s[0]||(s[0]=(...u)=>e.toggle&&e.toggle(...u)),tabindex:"-1"},null,34),n.createElementVNode("nav",zd,[s[1]||(s[1]=n.createElementVNode("label",{class:"cl-nav-backdrop",for:"cl-nav-side"},null,-1)),n.createElementVNode("div",Ld,[n.createElementVNode("div",Id,[n.renderSlot(e.$slots,"default")])])])],64)}const tn=B(Md,[["render",Fd]]);tn.install=e=>{e.component(tn.name??"ClNoName",tn)};const Pd=n.defineComponent({name:"ClNavTop",inheritAttrs:!1,props:{class:{type:String,default:void 0}},computed:{isFluid:function(){return this.$route.meta?.fluid},clazz:function(){return this.class?` ${this.class}`:""},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),xd={class:"row"},jd={class:"col-12 cl-grid-flex-centered"};function Wd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("nav",{id:"cl-nav-top",class:n.normalizeClass(`cl-nav-top${e.clazz}`)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",xd,[n.createElementVNode("div",jd,[s[0]||(s[0]=n.createElementVNode("label",{class:"cl-nav-side-burger",for:"cl-nav-side"},[n.createElementVNode("i",{class:"fas fa-bars"})],-1)),n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"title")])])],2)],2)}const nn=B(Pd,[["render",Wd]]);nn.install=e=>{e.component(nn.name??"ClNoName",nn)};const Rd=n.defineComponent({name:"ClOrg",props:{name:{type:String,default:"No organization"}}}),qd={class:"cl-org"};function Hd(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("span",qd,[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")])}const on=B(Rd,[["render",Hd]]);on.install=e=>{e.component(on.name??"ClNoName",on)};const Ud=n.defineComponent({name:"ClPage",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},title:{type:String,default:void 0},loading:{type:Boolean,default:!1},notFound:{type:Boolean,default:!1}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},mounted(){const e=this.$route?.query?.goto;e&&or(e)},methods:{back(){history.go(-1)}}}),Xd={key:0,class:"cl-page-spinner"};function Yd(e,s,c,p,b,m){const u=n.resolveComponent("cl-section-headline"),N=n.resolveComponent("cl-spinner"),U=n.resolveComponent("cl-section-main");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(u,{id:e.id??e.$route.name,title:e.title??e.$route.meta?.title??"Castlabs",class:n.normalizeClass(e.clazz),fluid:e.$route.meta?.fluid},null,8,["id","title","class","fluid"]),e.loading?(n.openBlock(),n.createElementBlock("div",Xd,[n.createVNode(N)])):e.notFound?n.renderSlot(e.$slots,"notFound",{key:1},()=>[n.createVNode(U,{fluid:e.$route.meta?.fluid},{default:n.withCtx(()=>[s[2]||(s[2]=n.createElementVNode("p",{class:"cl-p-large"},"Hmm, it seems we can’t find what you’re looking for.",-1)),s[3]||(s[3]=n.createElementVNode("p",{class:"alert cl-alert-info"},"This resource may have been moved or it might have expired.",-1)),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-color-secondary cl-spacing-large",onClick:s[0]||(s[0]=(...ae)=>e.back&&e.back(...ae))},[...s[1]||(s[1]=[n.createElementVNode("span",null,"Back",-1)])])]),_:1},8,["fluid"])]):n.renderSlot(e.$slots,"default",{key:2})],64)}const sn=B(Ud,[["render",Yd]]);sn.install=e=>{e.component(sn.name??"ClNoName",sn)};function Kd(e,s,c,p){const b=[],m=Math.ceil(e/s);c<1&&(c=1),c>m&&(c=m);for(let u=1;u<=m;u++)(u>=c-p&&u<=c+p||u===1||u===m)&&b.push(u);return{previous:c>1?c-1:null,next:c<m?c+1:null,current:c,pages:b}}const Gd=n.defineComponent({name:"ClPagination",props:{items:{type:Number,default:0},pagesize:{type:Number,default:25},current:{type:Number,default:1},window:{type:Number,default:3},test:{type:Boolean,default:!1}},emits:["page"],computed:{pager:function(){return Kd(this.items,this.pagesize,this.current,this.window)}}}),Qd={key:0,class:"col-12 cl-spacing-medium"},Jd={class:"pagination"},Zd={key:0,class:"page-item"},eu={key:1,class:"page-item disabled"},tu={key:0,class:"page-item disabled"},nu=["onClick"],iu={key:2,class:"page-item"},ou={key:3,class:"page-item disabled"};function su(e,s,c,p,b,m){return e.pager?.pages?.length>1?(n.openBlock(),n.createElementBlock("nav",Qd,[n.createElementVNode("ul",Jd,[e.pager.previous?(n.openBlock(),n.createElementBlock("li",Zd,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:s[0]||(s[0]=u=>e.$emit("page",e.pager.previous))},[s[2]||(s[2]=n.createElementVNode("i",{class:"fas fa-arrow-left"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("P")],64)):n.createCommentVNode("",!0)])])):(n.openBlock(),n.createElementBlock("li",eu,[s[3]||(s[3]=n.createElementVNode("i",{class:"fas fa-arrow-left"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("P")],64)):n.createCommentVNode("",!0)])),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.pager.pages,(u,N)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[N>0&&e.pager.pages[N-1]!==u-1?(n.openBlock(),n.createElementBlock("li",tu," … ")):n.createCommentVNode("",!0),n.createElementVNode("li",{class:n.normalizeClass(["page-item",{active:u===e.pager.current}])},[n.createElementVNode("button",{class:"page-link",onClick:U=>e.$emit("page",u)},n.toDisplayString(u),9,nu)],2)],64))),128)),e.pager.next?(n.openBlock(),n.createElementBlock("li",iu,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:s[1]||(s[1]=u=>e.$emit("page",e.pager.next))},[s[4]||(s[4]=n.createElementVNode("i",{class:"fas fa-arrow-right"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("N")],64)):n.createCommentVNode("",!0)])])):(n.openBlock(),n.createElementBlock("li",ou,[s[5]||(s[5]=n.createElementVNode("i",{class:"fas fa-arrow-right"},null,-1)),e.test?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode("N")],64)):n.createCommentVNode("",!0)]))])])):n.createCommentVNode("",!0)}const rn=B(Gd,[["render",su]]);rn.install=e=>{e.component(rn.name??"ClNoName",rn)};const ru=n.defineComponent({name:"ClPlan",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-plan ";return!this.primary&&!this.secondary?e+=" cl-color-steel":this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-color-steel"),e+(this.class?` ${this.class}`:"")}}}),lu={key:0,class:"cl-badge-derived"},au=["id"],cu=["id"];function du(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",lu,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,au)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,cu))}const ln=B(ru,[["render",du]]);ln.install=e=>{e.component(ln.name??"ClNoName",ln)};const uu=n.defineComponent({name:"ClRole",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},name:{type:String,default:""},primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},derived:{type:Boolean,default:!1}},computed:{clazz:function(){let e="cl-role ";return!this.primary&&!this.secondary?e+=" cl-color-steel":this.primary?e+=" cl-color-red":this.secondary&&(e+=" cl-role-steel"),e+(this.class?` ${this.class}`:"")}}}),fu={key:0,class:"cl-badge-derived"},pu=["id"],hu=["id"];function mu(e,s,c,p,b,m){return e.derived?(n.openBlock(),n.createElementBlock("span",fu,[n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,pu)])):(n.openBlock(),n.createElementBlock("span",{key:1,id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,hu))}const an=B(uu,[["render",mu]]);an.install=e=>{e.component(an.name??"ClNoName",an)};const gu=n.defineComponent({name:"ClSectionForm",props:{id:{type:String,default:"FORM"},fluid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},noCol:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},containerClass:function(){return this.isFluid?"cl-form container-fluid":"cl-form container"}}}),vu={class:"cl-section cl-section-form"},bu=["id"],yu=["disabled"],_u={key:1,class:"col-12"};function Cu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",vu,[n.createElementVNode("form",{id:e.id,novalidate:"",class:n.normalizeClass(e.containerClass),onSubmit:s[0]||(s[0]=n.withModifiers(()=>{},["prevent"]))},[n.createElementVNode("fieldset",{class:"row",disabled:e.disabled},[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",_u,[n.renderSlot(e.$slots,"default")]))],8,yu)],42,bu)])}const cn=B(gu,[["render",Cu]]);cn.install=e=>{e.component(cn.name??"ClNoName",cn)};const ku=n.defineComponent({name:"ClSectionHeadline",props:{fluid:{type:Boolean,default:!1},title:{type:String,default:void 0},href:{type:String,default:void 0}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},containerClass:function(){return this.isFluid?"container-fluid cl-container-spacing-small":"container cl-container-spacing-small"}}}),$u={class:"cl-section cl-section-headline"},Eu={class:"row"},wu={class:"col-12"},Su={key:0},Nu=["href"];function Tu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",$u,[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Eu,[n.createElementVNode("div",wu,[e.title?(n.openBlock(),n.createElementBlock("h1",Su,[n.createTextVNode(n.toDisplayString(e.title),1),e.href?(n.openBlock(),n.createElementBlock("a",{key:0,href:e.href,class:"cl-headline-help-icon",target:"_blank",rel:"noopener noreferrer",title:"Help"},[...s[0]||(s[0]=[n.createElementVNode("i",{class:"fas fa-question-circle"},null,-1)])],8,Nu)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"default")])])],2)])}const dn=B(ku,[["render",Tu]]);dn.install=e=>{e.component(dn.name??"ClNoName",dn)};const Au=n.defineComponent({name:"ClSectionMain",props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},noCol:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},sectionClass:function(){return this.alternate?"cl-section-alternate":"cl-section"},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),Bu={class:"row"},Ou={key:1,class:"col-12"};function Du(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("section",{class:n.normalizeClass(e.sectionClass)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Bu,[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",Ou,[n.renderSlot(e.$slots,"default")]))])],2)],2)}const gt=B(Au,[["render",Du]]);gt.install=e=>{e.component(gt.name??"ClNoName",gt)};const Vu=n.defineComponent({name:"ClSectionMainSide",components:{ClSectionMain:gt},props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},slim:{type:Boolean,default:!1}},computed:{isFluid:function(){return this.fluid||this.$route.meta?.fluid},mainClass:function(){return"col-12 "+(this.slim?"col-lg-9":"col-lg-8")},sideClass:function(){return"col-12 "+(this.slim?"col-lg-3":"col-lg-4")},sectionClass:function(){return"cl-section-main-side "+(this.alternate?"cl-section-alternate":"")}}});function Mu(e,s,c,p,b,m){const u=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(u,{class:n.normalizeClass(e.sectionClass),"no-col":"",fluid:e.isFluid},{default:n.withCtx(()=>[n.createElementVNode("div",{class:n.normalizeClass(e.mainClass)},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"main")],2),e.$slots.side?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(e.sideClass)},[n.renderSlot(e.$slots,"side")],2)):n.createCommentVNode("",!0)]),_:3},8,["class","fluid"])}const un=B(Vu,[["render",Mu]]);un.install=e=>{e.component(un.name??"ClNoName",un)};const zu=n.defineComponent({name:"ClSpinner",props:{title:{type:String,default:"Loading ..."}}}),Lu={class:"cl-spinner"};function Iu(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Lu,[n.createTextVNode(n.toDisplayString(e.title),1),s[0]||(s[0]=n.createElementVNode("i",{class:"fas fa-spinner fa-spin"},null,-1))])}const fn=B(zu,[["render",Iu]]);fn.install=e=>{e.component(fn.name??"ClNoName",fn)};function Fu(e){document.querySelectorAll(`#${e} .cl-resizer`).forEach(s=>{Pu(s)})}let Qn=0,On=null;function Pu(e){Qn=0,On=null,e.addEventListener("mousedown",xu),document.addEventListener("mousemove",ju),document.addEventListener("mouseup",Wu)}const xu=e=>{e.preventDefault(),On=e.target?e.target.parentElement:null,Qn=e.pageX},ju=e=>{if(On!==null){e.preventDefault();const s=e.pageX-Qn;Qn=e.pageX;const c=Ru(On),p=e.target?.closest("table")?.id??"unknown";!!document.querySelector(`#${p}.cl-table-nowrap`)?document.querySelectorAll(`#${p} tr th:nth-child(${c-1})`).forEach(m=>{const u=(m.style.maxWidth===""?m.offsetWidth:parseInt(m.style.maxWidth))+s;m.style.width=(u>32?u:32)+"px",m.style.maxWidth=(u>32?u:32)+"px"}):(document.querySelectorAll(`#${p} tr td:nth-child(${c-1})`).forEach(m=>{const u=m.offsetWidth+s;m.style.width=(u>32?u:32)+"px"}),document.querySelectorAll(`#${p} tr td:nth-child(${c})`).forEach(m=>{const u=m.offsetWidth-s;m.style.width=(u>32?u:32)+"px"}))}},Wu=e=>{On!==null&&(e.preventDefault(),Qn=0,On=null)};function Ru(e){let s=0;for(;e;)s++,e=e.previousElementSibling;return s}const qu=n.defineComponent({name:"ClTable",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:""},nowrap:{type:Boolean,default:!1},noDataText:{type:String,default:"No data available."},rows:{type:Number,default:1},nonresponsive:{type:Boolean,default:!1},hideCols:{type:Array,default:void 0},fixed:{type:Boolean,default:!1}},data(){return{show:Array(32).fill(!0)}},computed:{clazz:function(){let e=this.class;this.nonresponsive&&(e+=" cl-table-nonresponsive"),this.nowrap&&(e+=" cl-table-nowrap"),this.fixed&&(e+=" cl-table-fixed");for(let s=1;s<=this.show.length;s++)this.show[s-1]||(e+=` cl-table-col-${s}-hide`);return e}},watch:{rows:function(){this.setupResizer()}},mounted(){this.setupResizer()},methods:{setupResizer:function(){this.$nextTick(()=>{Fu(this.$uid)})}}}),Hu=["id"],Uu=["id"],Xu={key:0},Yu={key:1},Ku={class:"cl-tr-no-data"},Gu={colspan:"100"},Qu={key:2},Ju={class:"cl-tr-no-data"},Zu={colspan:"100"},ef={key:3};function tf(e,s,c,p,b,m){const u=n.resolveComponent("cl-spinner"),N=n.resolveComponent("cl-field-check"),U=n.resolveComponent("cl-modal-ok");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",{id:e.id,class:"cl-table-scroll"},[n.createElementVNode("table",{id:e.$uid,class:n.normalizeClass(`cl-table-data ${e.clazz}`)},[n.createElementVNode("thead",null,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"header")])]),e.rows>=1?(n.openBlock(),n.createElementBlock("tbody",Xu,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])):e.rows===0?(n.openBlock(),n.createElementBlock("tbody",Yu,[n.createElementVNode("tr",Ku,[n.createElementVNode("td",Gu,n.toDisplayString(e.noDataText),1)])])):(n.openBlock(),n.createElementBlock("tbody",Qu,[n.createElementVNode("tr",Ju,[n.createElementVNode("td",Zu,[n.createVNode(u)])])])),e.$slots.footer?(n.openBlock(),n.createElementBlock("tfoot",ef,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"footer")])])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"tfoot")],10,Uu)],8,Hu),e.hideCols?(n.openBlock(),n.createBlock(U,{key:0,id:e.$uid+"-settings",title:"Configure table"},{default:n.withCtx(()=>[s[0]||(s[0]=n.createElementVNode("p",null,"Which of the following columns would you like to see?",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.hideCols,(ae,we)=>(n.openBlock(),n.createBlock(N,{key:ae,value:e.show[we],modelValue:e.show[we],"onUpdate:modelValue":Se=>e.show[we]=Se},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(ae),1)]),_:2},1032,["value","modelValue","onUpdate:modelValue"]))),128))]),_:1},8,["id"])):n.createCommentVNode("",!0)],64)}const pn=B(qu,[["render",tf]]);pn.install=e=>{e.component(pn.name??"ClNoName",pn)};const nf=n.defineComponent({name:"ClTableCel",props:{condensed:{type:Boolean,default:!1}}});function of(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(e.condensed?"cl-font-condensed":"")},[n.renderSlot(e.$slots,"default")],2)}const hn=B(nf,[["render",of]]);hn.install=e=>{e.component(hn.name??"ClNoName",hn)};const sf=n.defineComponent({name:"ClTableCelActions",props:{content:{type:String,default:""}}}),rf={class:"cl-td-actions"};function lf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",rf,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const mn=B(sf,[["render",lf]]);mn.install=e=>{e.component(mn.name??"ClNoName",mn)};const af=n.defineComponent({name:"ClTableCelAudit",directives:{tooltip:Dn},props:{value:{type:String,default:"???"}}}),cf={class:"cl-td-audit"},df={class:"fas fa-info-circle"};function uf(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("td",cf,[n.withDirectives(n.createElementVNode("i",df,null,512),[[u,e.value,"left"]])])}const gn=B(af,[["render",uf]]);gn.install=e=>{e.component(gn.name??"ClNoName",gn)};const ff=n.defineComponent({name:"ClTableCelBoolean",props:{value:{type:Boolean,default:!1}}}),pf={class:"cl-td-boolean"};function hf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",pf,[n.createElementVNode("i",{class:n.normalizeClass(`fas ${e.value?"fa-check":"fa-minus"}`)},null,2)])}const vn=B(ff,[["render",hf]]);vn.install=e=>{e.component(vn.name??"ClNoName",vn)};const mf=n.defineComponent({name:"ClTableCelCheckbox",props:{id:{type:String,default:void 0},disabled:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},emits:["update:modelValue","changed"],data(){return{modelValue:this.value}},watch:{value:function(e){this.modelValue=e}},methods:{emitAll:function(){this.$emit("update:modelValue",this.modelValue),this.$emit("changed",this.modelValue)}}}),gf={class:"cl-td-checkbox"},vf={class:"form-check text-center"},bf=["id","disabled"];function yf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",gf,[n.createElementVNode("div",vf,[n.withDirectives(n.createElementVNode("input",{id:e.id??e.$uid,"onUpdate:modelValue":s[0]||(s[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,onChange:s[1]||(s[1]=u=>e.emitAll())},null,40,bf),[[n.vModelCheckbox,e.modelValue]])])])}const bn=B(mf,[["render",yf]]);bn.install=e=>{e.component(bn.name??"ClNoName",bn)};const _f=n.defineComponent({name:"ClTableCelCode"}),Cf={class:"cl-td-code"};function kf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Cf,[n.renderSlot(e.$slots,"default")])}const yn=B(_f,[["render",kf]]);yn.install=e=>{e.component(yn.name??"ClNoName",yn)};const $f=n.defineComponent({name:"ClTableCelCurrency",props:{amount:{type:Number,default:0},currency:{type:String,default:"EUR"}}}),Ef={class:"cl-td-currency"};function wf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Ef,n.toDisplayString(e.currency)+" "+n.toDisplayString(e.amount),1)}const _n=B($f,[["render",wf]]);_n.install=e=>{e.component(_n.name??"ClNoName",_n)};const Sf=n.defineComponent({name:"ClTableCelDate",props:{value:{type:String,default:void 0}},computed:{content:function(){if(this.value){const e=new Date(this.value),s=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),c=new Intl.DateTimeFormat("en",{month:"2-digit"}).format(e),p=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e),b=new Intl.DateTimeFormat("en",{hour:"2-digit",hour12:!1}).format(e),m=new Intl.DateTimeFormat("en",{minute:"2-digit"}).format(e);return`${s}-${c}-${p} ${b}:${m}`}return"-"}}}),Nf={class:"cl-td-date"};function Tf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Nf,n.toDisplayString(e.content),1)}const Cn=B(Sf,[["render",Tf]]);Cn.install=e=>{e.component(Cn.name??"ClNoName",Cn)};const Af=n.defineComponent({name:"ClTableCelId",directives:{tooltip:Dn,clipboard:ko},props:{value:{type:String,default:"ABCDEF01"},full:{type:String,default:void 0}},computed:{tooltip:function(){return(this.full??this.value)+"<br><small>click-to-copy!</small>"}}}),Bf={class:"cl-td-id"};function Of(e,s,c,p,b,m){const u=n.resolveDirective("tooltip"),N=n.resolveDirective("clipboard");return n.withDirectives((n.openBlock(),n.createElementBlock("td",Bf,[n.createTextVNode(n.toDisplayString(e.value),1)])),[[u,e.tooltip,"right"],[N,e.full??e.value]])}const kn=B(Af,[["render",Of]]);kn.install=e=>{e.component(kn.name??"ClNoName",kn)};const Df=n.defineComponent({name:"ClTableCelLinks",props:{content:{type:String,default:""}}}),Vf={class:"cl-td-links"};function Mf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("td",Vf,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const $n=B(Df,[["render",Mf]]);$n.install=e=>{e.component($n.name??"ClNoName",$n)};const zf=n.defineComponent({name:"ClTableCelUuid",props:{value:{type:String,default:"00000000-0000-0000-0000-000000000000"}}});function Lf(e,s,c,p,b,m){const u=n.resolveComponent("cl-table-cel-id");return n.openBlock(),n.createBlock(u,{value:e.value.substring(0,8),full:e.value},null,8,["value","full"])}const En=B(zf,[["render",Lf]]);En.install=e=>{e.component(En.name??"ClNoName",En)};const If=n.defineComponent({name:"ClTableFootChecked",props:{checked:{type:Object,default:()=>({})}},computed:{any:function(){for(const e in this.checked)if(this.checked[e])return!0;return!1}}}),Ff={key:0,class:"cl-table-foot-checked"},Pf={class:"cl-td-links",colspan:"100"};function xf(e,s,c,p,b,m){return e.any?(n.openBlock(),n.createElementBlock("tfoot",Ff,[n.createElementVNode("tr",null,[n.createElementVNode("td",Pf,[s[0]||(s[0]=n.createElementVNode("small",null,[n.createElementVNode("i",{class:"fas fa-share fa-rotate-270 cl-faded"})],-1)),s[1]||(s[1]=n.createTextVNode(" ",-1)),n.renderSlot(e.$slots,"default")])])])):n.createCommentVNode("",!0)}const wn=B(If,[["render",xf]]);wn.install=e=>{e.component(wn.name??"ClNoName",wn)};const jf=n.defineComponent({name:"ClTableHead",directives:{tooltip:Dn},props:{resize:{type:Boolean,default:!1},sort:{type:String,default:"OFF"},width:{type:String,default:""},checkbox:{type:Boolean,default:!1},initial:{type:String,default:"NONE"},sorter:{type:Object,default:null},col:{type:Number,default:0},settings:{type:Boolean,default:!1}},emits:["sort","all","none"],data(){return{checkState:this.initial,modelValue:this.initial==="ALL",mySorter:this.sorter}},watch:{initial:function(e,s){e!==s&&(this.checkState=e,this.modelValue=this.checkState==="ALL")}},mounted(){this.$nextTick(()=>{this.mySorter&&this.mySorter.col===this.col&&this.mySorter.sort()})},methods:{check(){switch(this.checkState){case"NONE":case"SOME":this.checkState="ALL",this.$emit("all");break;case"ALL":this.checkState="NONE",this.$emit("none");break}},openSettings(e){let s=e?.target;for(;s;){if(s.tagName==="TABLE"){yo(`${s.id}-settings`);return}s=s.parentElement}},sortCol(){let e="NONE";switch(this.mySorter.col===this.col&&(e=this.mySorter?this.mySorter.order.toUpperCase():this.sort.toUpperCase()),e){case"OFF":break;case"ASC":this.mySorter?this.mySorter.set(this.col,"DESC"):this.$emit("sort","DESC");break;case"DESC":default:this.mySorter?this.mySorter.set(this.col,"ASC"):this.$emit("sort","ASC")}}}}),Wf=["id","width"],Rf={class:"fas fa-cog cl-faded"},qf={key:0,class:"cl-resizer"},Hf={key:1,class:"form-check text-center"},Uf=["indeterminate"],Xf={key:2,class:"cl-resizer"};function Yf(e,s,c,p,b,m){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("th",{id:e.$uid,class:n.normalizeClass(["cl-table-head",{"cl-table-head-sort":e.sort!==null,"cl-table-head-checkbox":e.checkbox,"cl-th-links":e.settings}]),width:e.settings?"1%":e.width},[e.settings?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("button",{type:"button",class:"cl-btn-ghost",onClick:s[0]||(s[0]=(...N)=>e.openSettings&&e.openSettings(...N))},[n.withDirectives(n.createElementVNode("i",Rf,null,512),[[u,"Configure table","left"]])]),e.resize?(n.openBlock(),n.createElementBlock("div",qf)):n.createCommentVNode("",!0)],64)):e.checkbox?(n.openBlock(),n.createElementBlock("div",Hf,[n.withDirectives(n.createElementVNode("input",{ref:"checkbox","onUpdate:modelValue":s[1]||(s[1]=N=>e.modelValue=N),class:"form-check-input",type:"checkbox",indeterminate:e.checkState==="SOME",onChange:s[2]||(s[2]=N=>e.check())},null,40,Uf),[[n.vModelCheckbox,e.modelValue]])])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[e.sort?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"cl-btn-ghost",onClick:s[3]||(s[3]=(...N)=>e.sortCol&&e.sortCol(...N))},[n.renderSlot(e.$slots,"default"),e.sorter?.col===e.col?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(["fas fa-fw",{"fa-sort-up":e.sorter.order.toUpperCase()==="ASC","fa-sort-down":e.sorter.order.toUpperCase()==="DESC","fa-sort":!["ASC","DESC"].includes(e.sorter.order.toUpperCase())}])},null,2)):e.sort!==null?(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(["fas fa-fw",{"fa-sort-up":e.sort.toUpperCase()==="ASC","fa-sort-down":e.sort.toUpperCase()==="DESC","fa-sort":!["ASC","DESC"].includes(e.sort.toUpperCase())}])},null,2)):n.createCommentVNode("",!0)])):n.renderSlot(e.$slots,"default",{key:1}),e.resize?(n.openBlock(),n.createElementBlock("div",Xf)):n.createCommentVNode("",!0)],64))],10,Wf)}const Sn=B(jf,[["render",Yf]]);Sn.install=e=>{e.component(Sn.name??"ClNoName",Sn)};const Kf=n.defineComponent({name:"ClTableRow",props:{id:{type:String,default:null},class:{type:String,default:null},highlight:{type:Boolean,default:!1}},computed:{clazz:function(){return this.highlight?this.class+" cl-highlight":this.class}}}),Gf=["id"];function Qf(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("tr",{id:e.id,class:n.normalizeClass(e.clazz)},[n.renderSlot(e.$slots,"default")],10,Gf)}const Nn=B(Kf,[["render",Qf]]);Nn.install=e=>{e.component(Nn.name??"ClNoName",Nn)};const Jf=n.defineComponent({name:"ClTabs",props:{index:{type:Number,default:0}},emits:["tab"],data(){return{tabs:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}},methods:{slotExists(e){return this.$slots[`tabs-${e}-label`]!==void 0},emit(e){this.$emit("tab",e)}}}),Zf={class:"cl-tabs"},ep=["id","name","checked","onChange"],tp=["for"];function np(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock("div",Zf,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("input",{key:0,id:`tabs-${e.$uid}-${u}`,class:n.normalizeClass(`cl-tab-${u}`),type:"radio",name:`tabs-${e.$uid}`,checked:e.index===u-1,onChange:N=>e.emit(u)},null,42,ep)):n.createCommentVNode("",!0)],64))),128)),n.createElementVNode("ul",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("li",{key:0,class:n.normalizeClass(`cl-tab-${u}`)},[n.createElementVNode("label",{for:`tabs-${e.$uid}-${u}`},[n.renderSlot(e.$slots,`tabs-${u}-label`)],8,tp)],2)):n.createCommentVNode("",!0)],64))),128))]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,u=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[e.slotExists(u)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(`cl-tab-${u} cl-tab-content`)},[n.renderSlot(e.$slots,`tabs-${u}-content`)],2)):n.createCommentVNode("",!0)],64))),128))])}const Tn=B(Jf,[["render",np]]);Tn.install=e=>{e.component(Tn.name??"ClNoName",Tn)};const ip=n.defineComponent({name:"ClToggle",inheritAttrs:!1,props:{id:{type:String,default:void 0},class:{type:String,default:void 0},modelValue:{type:Boolean,default:!1},enabled:{type:Boolean,default:!0},title:{type:String,default:""},iconOn:{type:String,default:"fas fa-check"},iconOff:{type:String,default:"fas fa-times"}},emits:["update:modelValue"],data(){return{myclass:"cl-badge "+this.class}},computed:{clazz:function(){return this.class?` ${this.class}`:""}},methods:{toggle:function(){if(this.enabled){const e=document.getElementById(this.$uid);e&&(this.$emit("update:modelValue",e.checked),e.focus(),e.blur(),e.focus())}}}}),op=["id","checked","disabled"],sp=["id","for","disabled"];function rp(e,s,c,p,b,m){return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("input",{id:e.$uid,type:"checkbox",class:n.normalizeClass(`cl-toggle-checkbox${e.clazz}`),checked:e.modelValue,disabled:e.enabled?null:!0,onChange:s[0]||(s[0]=u=>e.toggle())},null,42,op),n.createElementVNode("label",{id:e.id,class:n.normalizeClass(e.myclass),for:e.$uid,disabled:e.enabled?null:!0},[n.createElementVNode("i",{class:n.normalizeClass(`${e.iconOn} fa-fw`)},null,2),n.createElementVNode("i",{class:n.normalizeClass(`${e.iconOff} fa-fw`)},null,2),n.createTextVNode(n.toDisplayString(e.title),1)],10,sp)],64)}const An=B(ip,[["render",rp]]);An.install=e=>{e.component(An.name??"ClNoName",An)};const lp={install:e=>{let s=0;e.mixin({beforeCreate:function(){let p;const b="uid-"+s++;Object.defineProperties(this,(p={},p.$uid={get:function(){return b}},p))}})}};function ap(){return{ClAlert:It,ClBackCancelOk:Ft,ClCookieBanner:Pt,ClCopy:xt,ClCreditcardNumber:jt,ClDropzone:Wt,ClField:Rt,ClFieldCheck:qt,ClFieldGroup:Ht,ClHashtag:Ut,ClIconotron:Xt,ClInfo:Yt,ClLinkExternal:Kt,ClLorem:Gt,ClMailto:Qt,ClModal:Jt,ClModalConfirm:Zt,ClModalOk:en,ClNavSide:tn,ClNavTop:nn,ClOrg:on,ClPage:sn,ClPagination:rn,ClPlan:ln,ClRole:an,ClSectionForm:cn,ClSectionHeadline:dn,ClSectionMain:gt,ClSectionMainSide:un,ClSpinner:fn,ClTable:pn,ClTableCel:hn,ClTableCelActions:mn,ClTableCelAudit:gn,ClTableCelBoolean:vn,ClTableCelCheckbox:bn,ClTableCelCode:yn,ClTableCelCurrency:_n,ClTableCelDate:Cn,ClTableCelId:kn,ClTableCelLinks:$n,ClTableCelUuid:En,ClTableFootChecked:wn,ClTableHead:Sn,ClTableRow:Nn,ClTabs:Tn,ClToggle:An}}function cp(){return[lp]}function $o(e,s){const c=JSON.parse(JSON.stringify(e));for(const p in s)typeof s[p]=="object"&&!Array.isArray(s[p])?c[p]=$o(e[p]??{},s[p]):c[p]=s[p];return c}function dp(e,s){return{store:$o(e,s)}}const gr="✺";let Ni={};function up(e,s="",c=!1){const p=Ni[s]??tt(vr(s));return Object.keys(Ni).length>100&&(Ni={}),Ni[s]=p,mt(c?e.toLowerCase():e,p,c)}function mt(e,s,c){if(typeof s=="string"){const p=s.replaceAll(gr," ");return p[0]==="-"?!mt(e,p.substring(1),c):c?e.includes(p):e.toLowerCase().includes(p.toLowerCase())}else switch(s[0]){case"&":return mt(e,s[1])&&mt(e,s[2]);case"|":return mt(e,s[1])||mt(e,s[2]);default:return!1}}function vr(e){const s=[];let c=!1;for(let u=0;u<e.length;u++)c?e[u]===c?c=!1:s.push([" "].includes(e[u])?gr:e[u]):["'",'"'].includes(e[u])?c=e[u]:s.push(e[u]);const p=s.join("").replace(/\s+/g," ").trim();if(p.length<=0)return"";const b=p.split(" ");if(b.length<=0)return"";const m=[];["NOT","-"].includes(b[0])||m.push(b.shift());for(let u=0;u<b.length;u++)switch(b[u]){case"AND":case"&":case"&&":switch(b[++u]){case"NOT":case"-":b[u+1]&&(m.push("&"),m.push("-"),m.push(b[++u]));break;case void 0:break;default:m.push("&"),m.push(b[u])}break;case"OR":case"|":case"||":switch(b[++u]){case"NOT":case"-":b[u+1]&&(m.push("|"),m.push("-"),m.push(b[++u]));break;case void 0:break;default:m.push("|"),m.push(b[u])}break;case"NOT":case"-":m.push("-"),m.push(b[++u]);break;default:m.push("&"),m.push(b[u])}return` ${m.join(" ")} `.replace(/ - /g," -").trim()}function tt(e){const s=e.indexOf(" | ");if(s>=0)return["|",tt(e.substring(0,s)),tt(e.substring(s+3))];const c=e.indexOf(" & ");if(c>=0)return["&",tt(e.substring(0,c)),tt(e.substring(c+3))];const p=e.indexOf(" ");return p>=0?["&",tt(e.substring(0,p)),tt(e.substring(p+1))]:e}const vt={DEV:"DEV",TEST:"TEST",PROD:"PROD"},br={id:"CP",subtitle:"Access the Content Platform, manage, encode and watermark assets",title:"Content Platform",urlManage:function(e,s){return e===vt.PROD?`https://platform.content.castlabs.com/#/o/${s??""}`:`https://platform.content-stag.castlabs.com/#/o/${s??""}`},sidenav:!1},yr={id:"CS",subtitle:"Manage organizations, plans, downloads",title:"Castlabs hub",urlManage:function(e,s){return Eo(e,`https://account.test.cs.castlabs.com/o/${s??""}`,`https://account.castlabs.com/o/${s??""}`)},sidenav:!0},_r={id:"DT",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday",urlManage:function(e,s){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${s?`${s}/`:""}index`,`https://fe.drmtoday.com/dashboard/${s?`${s}/`:""}index`)},sidenav:!0},Cr={id:"DTO",subtitle:"",title:"DRMtoday Onboard (staging)",urlManage:function(e,s){return`https://onboard.castlabs.com/o/${s??""}/devices`},sidenav:!1},kr={id:"DTS",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday (staging)",urlManage:function(e,s){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${s?`${s}/`:""}index`,`https://fe.staging.drmtoday.com/dashboard/${s?`${s}/`:""}index`)},sidenav:!1},$r={id:"PP",subtitle:"Cross-platform video players (via Castlabs hub)",title:"PRESTOplay",urlManage:function(e,s){return e===vt.PROD?`https://account.castlabs.com/o/${s}/prestoplay`:`https://account.test.cs.castlabs.com/o/${s}/prestoplay`},sidenav:!0},Er={id:"VTK",subtitle:"Cloud encoding, packaging, watermarking",title:"Video Toolkit",urlManage:function(e){return e===vt.PROD?"https://vtk.castlabs.com/":"https://vtks.castlabs.com/"},sidenav:!0},wr={id:"WM",subtitle:"Video & image forensic watermarking",title:"STARDUSTmark",urlManage:function(e,s){return e===vt.PROD?`https://watermark.castlabs.com/#/o/${s}`:`https://demo-stag.fwm.castlabs.com/#/o/${s}`},sidenav:!0};function Eo(e=vt.PROD,s,c){return[vt.DEV,vt.TEST].includes(e)?s:c}function fp(){return[yr,br,_r,kr,Cr,$r,wr,Er]}const pp={CP:br,CS:yr,DT:_r,DTS:kr,DTO:Cr,PP:$r,WM:wr,VTK:Er},vo={ClAlert:It,ClBackCancelOk:Ft,ClCookieBanner:Pt,ClCopy:xt,ClCreditcardNumber:jt,ClDropzone:Wt,ClField:Rt,ClFieldCheck:qt,ClFieldGroup:Ht,ClHashtag:Ut,ClIconotron:Xt,ClInfo:Yt,ClLinkExternal:Kt,ClLorem:Gt,ClMailto:Qt,ClModal:Jt,ClModalConfirm:Zt,ClModalOk:en,ClNavSide:tn,ClNavTop:nn,ClOrg:on,ClPage:sn,ClPagination:rn,ClPlan:ln,ClRole:an,ClSectionForm:cn,ClSectionHeadline:dn,ClSectionMain:gt,ClSectionMainSide:un,ClSpinner:fn,ClTable:pn,ClTableCel:hn,ClTableCelActions:mn,ClTableCelAudit:gn,ClTableCelBoolean:vn,ClTableCelCheckbox:bn,ClTableCelCode:yn,ClTableCelCurrency:_n,ClTableCelDate:Cn,ClTableCelId:kn,ClTableCelLinks:$n,ClTableCelUuid:En,ClTableFootChecked:wn,ClTableHead:Sn,ClTableRow:Nn,ClTabs:Tn,ClToggle:An,ClMockRouterLink:Gn,ClUI:Ta};function hp(e){for(const s in vo)e.component(vo[s].name,vo[s])}exports.ClAlert=It;exports.ClBackCancelOk=Ft;exports.ClCookieBanner=Pt;exports.ClCopy=xt;exports.ClCreditcardNumber=jt;exports.ClDropzone=Wt;exports.ClField=Rt;exports.ClFieldCheck=qt;exports.ClFieldGroup=Ht;exports.ClHashtag=Ut;exports.ClIconotron=Xt;exports.ClInfo=Yt;exports.ClLinkExternal=Kt;exports.ClLorem=Gt;exports.ClMailto=Qt;exports.ClMockRouterLink=Gn;exports.ClModal=Jt;exports.ClModalConfirm=Zt;exports.ClModalOk=en;exports.ClNavSide=tn;exports.ClNavTop=nn;exports.ClOrg=on;exports.ClPage=sn;exports.ClPagination=rn;exports.ClPlan=ln;exports.ClRole=an;exports.ClSectionForm=cn;exports.ClSectionHeadline=dn;exports.ClSectionMain=gt;exports.ClSectionMainSide=un;exports.ClSpinner=fn;exports.ClTable=pn;exports.ClTableCel=hn;exports.ClTableCelActions=mn;exports.ClTableCelAudit=gn;exports.ClTableCelBoolean=vn;exports.ClTableCelCheckbox=bn;exports.ClTableCelCode=yn;exports.ClTableCelCurrency=_n;exports.ClTableCelDate=Cn;exports.ClTableCelId=kn;exports.ClTableCelLinks=$n;exports.ClTableCelUuid=En;exports.ClTableFootChecked=wn;exports.ClTableHead=Sn;exports.ClTableRow=Nn;exports.ClTabs=Tn;exports.ClToggle=An;exports.NAV=pp;exports._getProperty=Lt;exports._sanitize=vr;exports._tokenize=tt;exports.castlabsUi=hp;exports.clCopyData=Ka;exports.clDebounce=Ua;exports.clFocus=za;exports.clFormAutofocus=La;exports.clFormFieldFocusFirstInvalid=Co;exports.clFormFieldReset=lr;exports.clFormIsValid=_o;exports.clFormIsValidAsync=ar;exports.clFormReset=rr;exports.clFormatAmount=ja;exports.clFormatCardNumber=ur;exports.clFormatDate=cr;exports.clFormatDateTimeUTC=Fa;exports.clFormatDuration=Pa;exports.clFormatFilesize=Ia;exports.clFormatNumber=Bi;exports.clFormatPeriod=xa;exports.clFormatRange=Wa;exports.clFormatTimeUTC=dr;exports.clGetAllComponents=ap;exports.clGetAllPlugins=cp;exports.clGetServices=fp;exports.clMatch=up;exports.clModalHide=Bn;exports.clModalIsShown=Ma;exports.clModalShow=yo;exports.clModalValue=Ai;exports.clPaginate=sr;exports.clPatch=$o;exports.clPatchStore=dp;exports.clRandomList=Ya;exports.clRandomString=Xa;exports.clRefClField=Za;exports.clRefClFieldGroup=ec;exports.clRefHTMLElement=tc;exports.clReload=Qa;exports.clReloadStore=Ga;exports.clScrollToId=or;exports.clSleep=Ja;exports.clSort=fr;exports.clSynchronizedSubmit=Ra;exports.clSynchronizedSubmitAsync=qa;exports.clTableSorter=pr;exports.clTableSorterObjects=Ha;exports.clVClipboard=ko;exports.clVTooltip=Dn;
|
|
30
30
|
//# sourceMappingURL=castlabs-ui.common.js.map
|