@castlabs/ui 5.5.3 → 6.0.1
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/README.md +1 -1
- package/dist/assets/castlabs-logo-eggshell.svg +164 -0
- package/dist/assets/castlabs-logo.svg +164 -2
- package/dist/castlabs-ui-editor.common.js +64 -57
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.css +1 -1
- package/dist/castlabs-ui-editor.umd.js +65 -58
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +5 -5
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +302 -2
- package/dist/castlabs-ui.css +5 -5
- package/dist/castlabs-ui.module.js +2 -2
- package/dist/castlabs-ui.umd.js +11 -11
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/favicon/192.png +0 -0
- package/dist/favicon/512.png +0 -0
- package/dist/favicon/apple-touch-icon.png +0 -0
- package/dist/favicon/favicon.ico +0 -0
- package/dist/favicon/favicon.svg +23 -43
- package/package.json +23 -22
- package/src/assets/castlabs-logo-eggshell.svg +164 -0
- package/src/assets/castlabs-logo.svg +164 -2
- package/src/components/ClIcon/style.scss +1 -1
- package/src/components/table/ClTable/style.scss +1 -1
- package/src/components/table/ClTable/style.variables.scss +1 -1
- package/src/styles/abstracts/color.scss +3 -3
- package/src/styles/assets/logo.scss +9 -1
- package/types/index.d.ts +50 -50
- package/dist/favicon/favicon-unread.svg +0 -75
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Gs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qs={},Js;function ka(){return Js||(Js=1,function(){var e=function(g,u){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&(h[_]=l[_])},e(g,u)},o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Gs<"u"?Gs:typeof self<"u"?self:{},a=function(g){var u=typeof g;return g!=null&&(u=="object"||u=="function")},f=typeof o=="object"&&o&&o.Object===Object&&o,m=typeof self=="object"&&self&&self.Object===Object&&self,b=f||m||Function("return this")(),p=b,$=function(){return p.Date.now()},T=/\s/,ne=function(g){for(var u=g.length;u--&&T.test(g.charAt(u)););return u},Q=/^\s+/,Ee=function(g){return g&&g.slice(0,ne(g)+1).replace(Q,"")},be=b.Symbol,Ve=be,Ge=Object.prototype,Qe=Ge.hasOwnProperty,le=Ge.toString,J=Ve?Ve.toStringTag:void 0,oe=function(g){var u=Qe.call(g,J),h=g[J];try{g[J]=void 0;var l=!0}catch{}var _=le.call(g);return l&&(u?g[J]=h:delete g[J]),_},dt=Object.prototype.toString,Je=oe,Vt=function(g){return dt.call(g)},ut=be?be.toStringTag:void 0,Mt=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":ut&&ut in Object(g)?Je(g):Vt(g)},Ze=function(g){return g!=null&&typeof g=="object"},ft=Ee,et=a,Lt=function(g){return typeof g=="symbol"||Ze(g)&&Mt(g)=="[object Symbol]"},pt=/^[-+]0x[0-9a-f]+$/i,ht=/^0b[01]+$/i,mt=/^0o[0-7]+$/i,gt=parseInt,Kn=a,vt=$,ci=function(g){if(typeof g=="number")return g;if(Lt(g))return NaN;if(et(g)){var u=typeof g.valueOf=="function"?g.valueOf():g;g=et(u)?u+"":u}if(typeof g!="string")return g===0?g:+g;g=ft(g);var h=ht.test(g);return h||mt.test(g)?gt(g.slice(2),h?2:8):pt.test(g)?NaN:+g},di=Math.max,C=Math.min,tt=function(g,u,h){var l,_,A,L,I,K,X=0,ce=!1,Z=!1,ee=!0;if(typeof g!="function")throw new TypeError("Expected a function");function ue(ie){var se=l,ve=_;return l=_=void 0,X=ie,L=g.apply(ve,se)}function Le(ie){return X=ie,I=setTimeout(je,u),ce?ue(ie):L}function ye(ie){var se=ie-K;return K===void 0||se>=u||se<0||Z&&ie-X>=A}function je(){var ie=vt();if(ye(ie))return Ft(ie);I=setTimeout(je,function(se){var ve=u-(se-K);return Z?C(ve,A-(se-X)):ve}(ie))}function Ft(ie){return I=void 0,ee&&l?ue(ie):(l=_=void 0,L)}function st(){var ie=vt(),se=ye(ie);if(l=arguments,_=this,K=ie,se){if(I===void 0)return Le(K);if(Z)return clearTimeout(I),I=setTimeout(je,u),ue(K)}return I===void 0&&(I=setTimeout(je,u)),L}return u=ci(u)||0,Kn(h)&&(ce=!!h.leading,A=(Z="maxWait"in h)?di(ci(h.maxWait)||0,u):A,ee="trailing"in h?!!h.trailing:ee),st.cancel=function(){I!==void 0&&clearTimeout(I),X=0,l=K=_=I=void 0},st.flush=function(){return I===void 0?L:Ft(vt())},st},ui=tt,Gn=a,Me=function(g,u,h){var l=!0,_=!0;if(typeof g!="function")throw new TypeError("Expected a function");return Gn(h)&&(l="leading"in h?!!h.leading:l,_="trailing"in h?!!h.trailing:_),ui(g,u,{leading:l,maxWait:u,trailing:_})},we=function(){return we=Object.assign||function(g){for(var u,h=1,l=arguments.length;h<l;h++)for(var _ in u=arguments[h])Object.prototype.hasOwnProperty.call(u,_)&&(g[_]=u[_]);return g},we.apply(this,arguments)};function ge(g){return g&&g.ownerDocument&&g.ownerDocument.defaultView?g.ownerDocument.defaultView:window}function zt(g){return g&&g.ownerDocument?g.ownerDocument:document}var N=function(g){return Array.prototype.reduce.call(g,function(u,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var _=l[1].replace(/\W+(.)/g,function(A,L){return L.toUpperCase()});switch(h.value){case"true":u[_]=!0;break;case"false":u[_]=!1;break;case void 0:u[_]=!0;break;default:u[_]=h.value}}return u},{})};function bt(g,u){var h;g&&(h=g.classList).add.apply(h,u.split(" "))}function Qn(g,u){g&&u.split(" ").forEach(function(h){g.classList.remove(h)})}function fi(g){return".".concat(g.split(" ").join("."))}var Jn=!(typeof window>"u"||!window.document||!window.document.createElement),yt=Object.freeze({__proto__:null,addClasses:bt,canUseDOM:Jn,classNamesToQuery:fi,getElementDocument:zt,getElementWindow:ge,getOptions:N,removeClasses:Qn}),nt=null,it=null;function Ue(){if(nt===null){if(typeof document>"u")return nt=0;var g=document.body,u=document.createElement("div");u.classList.add("simplebar-hide-scrollbar"),g.appendChild(u);var h=u.getBoundingClientRect().right;g.removeChild(u),nt=h}return nt}Jn&&window.addEventListener("resize",function(){it!==window.devicePixelRatio&&(it=window.devicePixelRatio,nt=null)});var Fe=ge,Zn=zt,Li=N,xe=bt,Pe=Qn,ae=fi,It=function(){function g(u,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 _=Fe(l.el);l.scrollXTicking||(_.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(_.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,xe(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(){Pe(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(xe(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Pe(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(_){l.mouseX=_.clientX,l.mouseY=_.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(_){var A,L;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)&&(A=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(L=l.isWithinBounds(l.axis.y.track.rect)),(A||L)&&(_.stopPropagation(),_.type==="pointerdown"&&_.pointerType!=="touch"&&(A&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(_,"x"):l.onTrackClick(_,"x")),L&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(_,"y"):l.onTrackClick(_,"y")))))},this.drag=function(_){var A,L,I,K,X,ce,Z,ee,ue,Le,ye;if(l.draggedAxis&&l.contentWrapperEl){var je=l.axis[l.draggedAxis].track,Ft=(L=(A=je.rect)===null||A===void 0?void 0:A[l.axis[l.draggedAxis].sizeAttr])!==null&&L!==void 0?L:0,st=l.axis[l.draggedAxis].scrollbar,ie=(K=(I=l.contentWrapperEl)===null||I===void 0?void 0:I[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,se=parseInt((ce=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&ce!==void 0?ce:"0px",10);_.preventDefault(),_.stopPropagation();var ve=(l.draggedAxis==="y"?_.pageY:_.pageX)-((ee=(Z=je.rect)===null||Z===void 0?void 0:Z[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,xt=(ve=l.draggedAxis==="x"&&l.isRtl?((Le=(ue=je.rect)===null||ue===void 0?void 0:ue[l.axis[l.draggedAxis].sizeAttr])!==null&&Le!==void 0?Le:0)-st.size-ve:ve)/(Ft-st.size)*(ie-se);l.draggedAxis==="x"&&l.isRtl&&(xt=!((ye=g.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-xt:xt),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=xt}},this.onEndDrag=function(_){l.isDragging=!1;var A=Zn(l.el),L=Fe(l.el);_.preventDefault(),_.stopPropagation(),Pe(l.el,l.classNames.dragging),l.onStopScrolling(),A.removeEventListener("mousemove",l.drag,!0),A.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=L.setTimeout(function(){A.removeEventListener("click",l.preventClick,!0),A.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(_){_.preventDefault(),_.stopPropagation()},this.el=u,this.options=we(we({},g.defaultOptions),h),this.classNames=we(we({},g.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=Me(this._onMouseMove,64),this.onWindowResize=tt(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=tt(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=tt(this._onMouseEntered,this.stopScrollDelay),this.init()}return g.getRtlHelpers=function(){if(g.rtlHelpers)return g.rtlHelpers;var u=document.createElement("div");u.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=u.firstElementChild,l=h==null?void 0:h.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var _=g.getOffset(h),A=g.getOffset(l);h.scrollLeft=-999;var L=g.getOffset(l);return document.body.removeChild(h),g.rtlHelpers={isScrollOriginAtZero:_.left!==A.left,isScrollingToNegative:A.left!==L.left},g.rtlHelpers},g.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:Ue()}catch{return Ue()}},g.getOffset=function(u){var h=u.getBoundingClientRect(),l=Zn(u),_=Fe(u);return{top:h.top+(_.pageYOffset||l.documentElement.scrollTop),left:h.left+(_.pageXOffset||l.documentElement.scrollLeft)}},g.prototype.init=function(){Jn&&(this.initDOM(),this.rtlHelpers=g.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},g.prototype.initDOM=function(){var u,h;this.wrapperEl=this.el.querySelector(ae(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ae(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ae(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ae(this.classNames.offset)),this.maskEl=this.el.querySelector(ae(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ae(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ae(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ae(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ae(this.classNames.track)).concat(ae(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ae(this.classNames.track)).concat(ae(this.classNames.vertical))),this.axis.x.scrollbar.el=((u=this.axis.x.track.el)===null||u===void 0?void 0:u.querySelector(ae(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(ae(this.classNames.scrollbar)))||null,this.options.autoHide||(xe(this.axis.x.scrollbar.el,this.classNames.visible),xe(this.axis.y.scrollbar.el,this.classNames.visible))},g.prototype.initListeners=function(){var u,h=this,l=Fe(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),(u=this.contentWrapperEl)===null||u===void 0||u.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var _=!1,A=l.ResizeObserver||ResizeObserver;this.resizeObserver=new A(function(){_&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){_=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},g.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var u=Fe(this.el);this.elStyles=u.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,_=this.heightAutoObserverEl.offsetWidth<=1||h>0,A=this.contentWrapperEl.offsetWidth,L=this.elStyles.overflowX,I=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=_?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var ce=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>ce,this.axis.x.isOverflowing=L!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=I!=="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 Z=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>A-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>ce-Z,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")}},g.prototype.getScrollbarSize=function(u){var h,l;if(u===void 0&&(u="y"),!this.axis[u].isOverflowing||!this.contentEl)return 0;var _,A=this.contentEl[this.axis[u].scrollSizeAttr],L=(l=(h=this.axis[u].track.el)===null||h===void 0?void 0:h[this.axis[u].offsetSizeAttr])!==null&&l!==void 0?l:0,I=L/A;return _=Math.max(~~(I*L),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(_=Math.min(_,this.options.scrollbarMaxSize)),_},g.prototype.positionScrollbar=function(u){var h,l,_;u===void 0&&(u="y");var A=this.axis[u].scrollbar;if(this.axis[u].isOverflowing&&this.contentWrapperEl&&A.el&&this.elStyles){var L=this.contentWrapperEl[this.axis[u].scrollSizeAttr],I=((h=this.axis[u].track.el)===null||h===void 0?void 0:h[this.axis[u].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[u].sizeAttr],10),X=this.contentWrapperEl[this.axis[u].scrollOffsetAttr];X=u==="x"&&this.isRtl&&(!((l=g.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,u==="x"&&this.isRtl&&(X=!((_=g.getRtlHelpers())===null||_===void 0)&&_.isScrollingToNegative?X:-X);var ce=X/(L-K),Z=~~((I-A.size)*ce);Z=u==="x"&&this.isRtl?-Z+(I-A.size):Z,A.el.style.transform=u==="x"?"translate3d(".concat(Z,"px, 0, 0)"):"translate3d(0, ".concat(Z,"px, 0)")}},g.prototype.toggleTrackVisibility=function(u){u===void 0&&(u="y");var h=this.axis[u].track.el,l=this.axis[u].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[u].isOverflowing||this.axis[u].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[u].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(u))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[u].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(u))),this.axis[u].isOverflowing?l.style.display="block":l.style.display="none")},g.prototype.showScrollbar=function(u){u===void 0&&(u="y"),this.axis[u].isOverflowing&&!this.axis[u].scrollbar.isVisible&&(xe(this.axis[u].scrollbar.el,this.classNames.visible),this.axis[u].scrollbar.isVisible=!0)},g.prototype.hideScrollbar=function(u){u===void 0&&(u="y"),this.isDragging||this.axis[u].isOverflowing&&this.axis[u].scrollbar.isVisible&&(Pe(this.axis[u].scrollbar.el,this.classNames.visible),this.axis[u].scrollbar.isVisible=!1)},g.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")},g.prototype.onMouseMoveForAxis=function(u){u===void 0&&(u="y");var h=this.axis[u];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(u),xe(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?xe(h.scrollbar.el,this.classNames.hover):Pe(h.scrollbar.el,this.classNames.hover)):(Pe(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(u)))},g.prototype.onMouseLeaveForAxis=function(u){u===void 0&&(u="y"),Pe(this.axis[u].track.el,this.classNames.hover),Pe(this.axis[u].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(u)},g.prototype.onDragStart=function(u,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var _=Zn(this.el),A=Fe(this.el),L=this.axis[h].scrollbar,I=h==="y"?u.pageY:u.pageX;this.axis[h].dragOffset=I-(((l=L.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,xe(this.el,this.classNames.dragging),_.addEventListener("mousemove",this.drag,!0),_.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(_.addEventListener("click",this.preventClick,!0),_.addEventListener("dblclick",this.preventClick,!0)):(A.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},g.prototype.onTrackClick=function(u,h){var l,_,A,L,I=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){u.preventDefault();var X=Fe(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var ce=(_=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&_!==void 0?_:0,Z=parseInt((L=(A=this.elStyles)===null||A===void 0?void 0:A[this.axis[h].sizeAttr])!==null&&L!==void 0?L:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ue=(h==="y"?this.mouseY-ce:this.mouseX-ce)<0?-1:1,Le=ue===-1?ee-Z:ee+Z,ye=function(){I.contentWrapperEl&&(ue===-1?ee>Le&&(ee-=40,I.contentWrapperEl[I.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<Le&&(ee+=40,I.contentWrapperEl[I.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},g.prototype.getContentElement=function(){return this.contentEl},g.prototype.getScrollElement=function(){return this.contentWrapperEl},g.prototype.removeListeners=function(){var u=Fe(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),u.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()},g.prototype.unMount=function(){this.removeListeners()},g.prototype.isWithinBounds=function(u){return this.mouseX>=u.left&&this.mouseX<=u.left+u.width&&this.mouseY>=u.top&&this.mouseY<=u.top+u.height},g.prototype.findChild=function(u,h){var l=u.matches||u.webkitMatchesSelector||u.mozMatchesSelector||u.msMatchesSelector;return Array.prototype.filter.call(u.children,function(_){return l.call(_,h)})[0]},g.rtlHelpers=null,g.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},g.getOptions=Li,g.helpers=yt,g}(),ot=It.helpers,Se=ot.getOptions,de=ot.addClasses,zi=ot.canUseDOM,pi=function(g){function u(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var _=g.apply(this,h)||this;return u.instances.set(h[0],_),_}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 _(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(_.prototype=l.prototype,new _)}(u,g),u.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"||u.instances.has(h)||new u(h,Se(h.attributes))})},u.removeObserver=function(){var h;(h=u.globalObserver)===null||h===void 0||h.disconnect()},u.prototype.initDOM=function(){var h,l,_,A=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(A.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"),de(this.wrapperEl,this.classNames.wrapper),de(this.contentWrapperEl,this.classNames.contentWrapper),de(this.offsetEl,this.classNames.offset),de(this.maskEl,this.classNames.mask),de(this.contentEl,this.classNames.contentEl),de(this.placeholderEl,this.classNames.placeholder),de(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),de(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"),(_=this.contentWrapperEl)===null||_===void 0||_.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var L=document.createElement("div"),I=document.createElement("div");de(L,this.classNames.track),de(I,this.classNames.scrollbar),L.appendChild(I),this.axis.x.track.el=L.cloneNode(!0),de(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=L.cloneNode(!0),de(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}It.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},u.prototype.unMount=function(){It.prototype.unMount.call(this),u.instances.delete(this.el)},u.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(u.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))},u.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(_){_.nodeType===1&&(_.hasAttribute("data-simplebar")?!u.instances.has(_)&&document.documentElement.contains(_)&&new u(_,Se(_.attributes)):_.querySelectorAll("[data-simplebar]").forEach(function(A){A.getAttribute("data-simplebar")!=="init"&&!u.instances.has(A)&&document.documentElement.contains(A)&&new u(A,Se(A.attributes))}))}),l.removedNodes.forEach(function(_){var A;_.nodeType===1&&(_.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(_)&&((A=u.instances.get(_))===null||A===void 0||A.unMount()):Array.prototype.forEach.call(_.querySelectorAll('[data-simplebar="init"]'),function(L){var I;!document.documentElement.contains(L)&&((I=u.instances.get(L))===null||I===void 0||I.unMount())}))})})},u.instances=new WeakMap,u}(It);return zi&&pi.initHtmlApi(),pi}()),Qs}ka();const $a=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"5.5.3"}}),O=(e,o)=>{const a=e.__vccOpts||e;for(const[f,m]of o)a[f]=m;return a};function Ea(e,o,a,f,m,b){return n.toDisplayString(e.VITE_APP_VERSION())}const wa=O($a,[["render",Ea]]),Sa=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Na(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const Zt=O(Sa,[["render",Na]]);Zt.install=e=>{e.component(Zt.name??"ClNoName",Zt)};var Di={exports:{}};/*!
|
|
2
|
-
* Bootstrap v5.3.
|
|
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 ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function $a(){return Zs||(Zs=1,function(){var e=function(m,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&(h[_]=l[_])},e(m,f)},o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(m){var f=typeof m;return m!=null&&(f=="object"||f=="function")},p=typeof o=="object"&&o&&o.Object===Object&&o,b=typeof self=="object"&&self&&self.Object===Object&&self,v=p||b||Function("return this")(),u=v,S=function(){return u.Date.now()},Y=/\s/,ve=function(m){for(var f=m.length;f--&&Y.test(m.charAt(f)););return f},pe=/^\s+/,Ct=function(m){return m&&m.slice(0,ve(m)+1).replace(pe,"")},Xe=v.Symbol,Ye=Xe,Ln=Object.prototype,zn=Ln.hasOwnProperty,he=Ln.toString,te=Ye?Ye.toStringTag:void 0,oe=function(m){var f=zn.call(m,te),h=m[te];try{m[te]=void 0;var l=!0}catch{}var _=he.call(m);return l&&(f?m[te]=h:delete m[te]),_},Jn=Object.prototype.toString,In=oe,Di=function(m){return Jn.call(m)},Zn=Xe?Xe.toStringTag:void 0,Vi=function(m){return m==null?m===void 0?"[object Undefined]":"[object Null]":Zn&&Zn in Object(m)?In(m):Di(m)},Fn=function(m){return m!=null&&typeof m=="object"},ei=Ct,xn=c,Mi=function(m){return typeof m=="symbol"||Fn(m)&&Vi(m)=="[object Symbol]"},ti=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,ot=S,ri=function(m){if(typeof m=="number")return m;if(Mi(m))return NaN;if(xn(m)){var f=typeof m.valueOf=="function"?m.valueOf():m;m=xn(f)?f+"":f}if(typeof m!="string")return m===0?m:+m;m=ei(m);var h=ni.test(m);return h||ii.test(m)?oi(m.slice(2),h?2:8):ti.test(m)?NaN:+m},li=Math.max,C=Math.min,Ke=function(m,f,h){var l,_,T,M,z,K,U=0,re=!1,Q=!1,J=!0;if(typeof m!="function")throw new TypeError("Expected a function");function ae(ee){var ne=l,ge=_;return l=_=void 0,U=ee,M=m.apply(ge,ne)}function Oe(ee){return U=ee,z=setTimeout(Ie,f),re?ae(ee):M}function be(ee){var ne=ee-K;return K===void 0||ne>=f||ne<0||Q&&ee-U>=T}function Ie(){var ee=ot();if(be(ee))return Et(ee);z=setTimeout(Ie,function(ne){var ge=f-(ne-K);return Q?C(ge,T-(ne-U)):ge}(ee))}function Et(ee){return z=void 0,J&&l?ae(ee):(l=_=void 0,M)}function Ze(){var ee=ot(),ne=be(ee);if(l=arguments,_=this,K=ee,ne){if(z===void 0)return Oe(K);if(Q)return clearTimeout(z),z=setTimeout(Ie,f),ae(K)}return z===void 0&&(z=setTimeout(Ie,f)),M}return f=ri(f)||0,si(h)&&(re=!!h.leading,T=(Q="maxWait"in h)?li(ri(h.maxWait)||0,f):T,J="trailing"in h?!!h.trailing:J),Ze.cancel=function(){z!==void 0&&clearTimeout(z),U=0,l=K=_=z=void 0},Ze.flush=function(){return z===void 0?M:Et(ot())},Ze},ai=Ke,Pn=c,Be=function(m,f,h){var l=!0,_=!0;if(typeof m!="function")throw new TypeError("Expected a function");return Pn(h)&&(l="leading"in h?!!h.leading:l,_="trailing"in h?!!h.trailing:_),ai(m,f,{leading:l,maxWait:f,trailing:_})},$e=function(){return $e=Object.assign||function(m){for(var f,h=1,l=arguments.length;h<l;h++)for(var _ in f=arguments[h])Object.prototype.hasOwnProperty.call(f,_)&&(m[_]=f[_]);return m},$e.apply(this,arguments)};function me(m){return m&&m.ownerDocument&&m.ownerDocument.defaultView?m.ownerDocument.defaultView:window}function kt(m){return m&&m.ownerDocument?m.ownerDocument:document}var N=function(m){return Array.prototype.reduce.call(m,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var _=l[1].replace(/\W+(.)/g,function(T,M){return M.toUpperCase()});switch(h.value){case"true":f[_]=!0;break;case"false":f[_]=!1;break;case void 0:f[_]=!0;break;default:f[_]=h.value}}return f},{})};function st(m,f){var h;m&&(h=m.classList).add.apply(h,f.split(" "))}function jn(m,f){m&&f.split(" ").forEach(function(h){m.classList.remove(h)})}function ci(m){return".".concat(m.split(" ").join("."))}var Wn=!(typeof window>"u"||!window.document||!window.document.createElement),rt=Object.freeze({__proto__:null,addClasses:st,canUseDOM:Wn,classNamesToQuery:ci,getElementDocument:kt,getElementWindow:me,getOptions:N,removeClasses:jn}),Ge=null,Qe=null;function Re(){if(Ge===null){if(typeof document>"u")return Ge=0;var m=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),m.appendChild(f);var h=f.getBoundingClientRect().right;m.removeChild(f),Ge=h}return Ge}Wn&&window.addEventListener("resize",function(){Qe!==window.devicePixelRatio&&(Qe=window.devicePixelRatio,Ge=null)});var Me=me,Rn=kt,Li=N,Le=st,ze=jn,se=ci,$t=function(){function m(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 _=Me(l.el);l.scrollXTicking||(_.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(_.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(){ze(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(){ze(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(_){l.mouseX=_.clientX,l.mouseY=_.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(_){var T,M;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)&&(M=l.isWithinBounds(l.axis.y.track.rect)),(T||M)&&(_.stopPropagation(),_.type==="pointerdown"&&_.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(_,"x"):l.onTrackClick(_,"x")),M&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(_,"y"):l.onTrackClick(_,"y")))))},this.drag=function(_){var T,M,z,K,U,re,Q,J,ae,Oe,be;if(l.draggedAxis&&l.contentWrapperEl){var Ie=l.axis[l.draggedAxis].track,Et=(M=(T=Ie.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&M!==void 0?M:0,Ze=l.axis[l.draggedAxis].scrollbar,ee=(K=(z=l.contentWrapperEl)===null||z===void 0?void 0:z[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,ne=parseInt((re=(U=l.elStyles)===null||U===void 0?void 0:U[l.axis[l.draggedAxis].sizeAttr])!==null&&re!==void 0?re:"0px",10);_.preventDefault(),_.stopPropagation();var ge=(l.draggedAxis==="y"?_.pageY:_.pageX)-((J=(Q=Ie.rect)===null||Q===void 0?void 0:Q[l.axis[l.draggedAxis].offsetAttr])!==null&&J!==void 0?J:0)-l.axis[l.draggedAxis].dragOffset,wt=(ge=l.draggedAxis==="x"&&l.isRtl?((Oe=(ae=Ie.rect)===null||ae===void 0?void 0:ae[l.axis[l.draggedAxis].sizeAttr])!==null&&Oe!==void 0?Oe:0)-Ze.size-ge:ge)/(Et-Ze.size)*(ee-ne);l.draggedAxis==="x"&&l.isRtl&&(wt=!((be=m.getRtlHelpers())===null||be===void 0)&&be.isScrollingToNegative?-wt:wt),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=wt}},this.onEndDrag=function(_){l.isDragging=!1;var T=Rn(l.el),M=Me(l.el);_.preventDefault(),_.stopPropagation(),ze(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=M.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(_){_.preventDefault(),_.stopPropagation()},this.el=f,this.options=$e($e({},m.defaultOptions),h),this.classNames=$e($e({},m.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=Be(this._onMouseMove,64),this.onWindowResize=Ke(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Ke(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Ke(this._onMouseEntered,this.stopScrollDelay),this.init()}return m.getRtlHelpers=function(){if(m.rtlHelpers)return m.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 _=m.getOffset(h),T=m.getOffset(l);h.scrollLeft=-999;var M=m.getOffset(l);return document.body.removeChild(h),m.rtlHelpers={isScrollOriginAtZero:_.left!==T.left,isScrollingToNegative:T.left!==M.left},m.rtlHelpers},m.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:Re()}catch{return Re()}},m.getOffset=function(f){var h=f.getBoundingClientRect(),l=Rn(f),_=Me(f);return{top:h.top+(_.pageYOffset||l.documentElement.scrollTop),left:h.left+(_.pageXOffset||l.documentElement.scrollLeft)}},m.prototype.init=function(){Wn&&(this.initDOM(),this.rtlHelpers=m.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},m.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(se(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(se(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(se(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(se(this.classNames.offset)),this.maskEl=this.el.querySelector(se(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,se(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(se(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(se(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(se(this.classNames.track)).concat(se(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(se(this.classNames.track)).concat(se(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(se(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(se(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))},m.prototype.initListeners=function(){var f,h=this,l=Me(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 _=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){_&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){_=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},m.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=Me(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,_=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,M=this.elStyles.overflowX,z=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,U=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=_?"".concat(h||U,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var re=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&U>h,this.axis.y.isOverflowing=K>re,this.axis.x.isOverflowing=M!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=z!=="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 Q=this.axis.x.isOverflowing?this.scrollbarWidth:0,J=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&U>T-J,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>re-Q,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")}},m.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var _,T=this.contentEl[this.axis[f].scrollSizeAttr],M=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,z=M/T;return _=Math.max(~~(z*M),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(_=Math.min(_,this.options.scrollbarMaxSize)),_},m.prototype.positionScrollbar=function(f){var h,l,_;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var M=this.contentWrapperEl[this.axis[f].scrollSizeAttr],z=((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),U=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];U=f==="x"&&this.isRtl&&(!((l=m.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-U:U,f==="x"&&this.isRtl&&(U=!((_=m.getRtlHelpers())===null||_===void 0)&&_.isScrollingToNegative?U:-U);var re=U/(M-K),Q=~~((z-T.size)*re);Q=f==="x"&&this.isRtl?-Q+(z-T.size):Q,T.el.style.transform=f==="x"?"translate3d(".concat(Q,"px, 0, 0)"):"translate3d(0, ".concat(Q,"px, 0)")}},m.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")},m.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)},m.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(ze(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},m.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")},m.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):ze(h.scrollbar.el,this.classNames.hover)):(ze(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},m.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),ze(this.axis[f].track.el,this.classNames.hover),ze(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},m.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var _=Rn(this.el),T=Me(this.el),M=this.axis[h].scrollbar,z=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=z-(((l=M.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),_.addEventListener("mousemove",this.drag,!0),_.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(_.addEventListener("click",this.preventClick,!0),_.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},m.prototype.onTrackClick=function(f,h){var l,_,T,M,z=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var U=Me(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var re=(_=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&_!==void 0?_:0,Q=parseInt((M=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&M!==void 0?M:"0px",10),J=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ae=(h==="y"?this.mouseY-re:this.mouseX-re)<0?-1:1,Oe=ae===-1?J-Q:J+Q,be=function(){z.contentWrapperEl&&(ae===-1?J>Oe&&(J-=40,z.contentWrapperEl[z.axis[h].scrollOffsetAttr]=J,U.requestAnimationFrame(be)):J<Oe&&(J+=40,z.contentWrapperEl[z.axis[h].scrollOffsetAttr]=J,U.requestAnimationFrame(be)))};be()}},m.prototype.getContentElement=function(){return this.contentEl},m.prototype.getScrollElement=function(){return this.contentWrapperEl},m.prototype.removeListeners=function(){var f=Me(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()},m.prototype.unMount=function(){this.removeListeners()},m.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},m.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(_){return l.call(_,h)})[0]},m.rtlHelpers=null,m.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},m.getOptions=Li,m.helpers=rt,m}(),Je=$t.helpers,Ee=Je.getOptions,le=Je.addClasses,zi=Je.canUseDOM,di=function(m){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var _=m.apply(this,h)||this;return f.instances.set(h[0],_),_}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 _(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(_.prototype=l.prototype,new _)}(f,m),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,Ee(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,_,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"),le(this.wrapperEl,this.classNames.wrapper),le(this.contentWrapperEl,this.classNames.contentWrapper),le(this.offsetEl,this.classNames.offset),le(this.maskEl,this.classNames.mask),le(this.contentEl,this.classNames.contentEl),le(this.placeholderEl,this.classNames.placeholder),le(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),le(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"),(_=this.contentWrapperEl)===null||_===void 0||_.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var M=document.createElement("div"),z=document.createElement("div");le(M,this.classNames.track),le(z,this.classNames.scrollbar),M.appendChild(z),this.axis.x.track.el=M.cloneNode(!0),le(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=M.cloneNode(!0),le(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}$t.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){$t.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(_){_.nodeType===1&&(_.hasAttribute("data-simplebar")?!f.instances.has(_)&&document.documentElement.contains(_)&&new f(_,Ee(_.attributes)):_.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ee(T.attributes))}))}),l.removedNodes.forEach(function(_){var T;_.nodeType===1&&(_.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(_)&&((T=f.instances.get(_))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(_.querySelectorAll('[data-simplebar="init"]'),function(M){var z;!document.documentElement.contains(M)&&((z=f.instances.get(M))===null||z===void 0||z.unMount())}))})})},f.instances=new WeakMap,f}($t);return zi&&di.initHtmlApi(),di}()),Js}$a();const Ea=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"6.0.1"}}),B=(e,o)=>{const c=e.__vccOpts||e;for(const[p,b]of o)c[p]=b;return c};function wa(e,o,c,p,b,v){return n.toDisplayString(e.VITE_APP_VERSION())}const Sa=B(Ea,[["render",wa]]),Na=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Ta(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const xt=B(Na,[["render",Ta]]);xt.install=e=>{e.component(xt.name??"ClNoName",xt)};var Ai={exports:{}};/*!
|
|
2
|
+
* Bootstrap v5.3.7 (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 Aa=Di.exports,Zs;function Ta(){return Zs||(Zs=1,function(e,o){(function(a,f){e.exports=f()})(Aa,function(){const a=new Map,f={set(s,t,i){a.has(s)||a.set(s,new Map);const r=a.get(s);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:(s,t)=>a.has(s)&&a.get(s).get(t)||null,remove(s,t){if(!a.has(s))return;const i=a.get(s);i.delete(t),i.size===0&&a.delete(s)}},m="transitionend",b=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(t,i)=>`#${CSS.escape(i)}`)),s),p=s=>{s.dispatchEvent(new Event(m))},$=s=>!(!s||typeof s!="object")&&(s.jquery!==void 0&&(s=s[0]),s.nodeType!==void 0),T=s=>$(s)?s.jquery?s[0]:s:typeof s=="string"&&s.length>0?document.querySelector(b(s)):null,ne=s=>{if(!$(s)||s.getClientRects().length===0)return!1;const t=getComputedStyle(s).getPropertyValue("visibility")==="visible",i=s.closest("details:not([open])");if(!i)return t;if(i!==s){const r=s.closest("summary");if(r&&r.parentNode!==i||r===null)return!1}return t},Q=s=>!s||s.nodeType!==Node.ELEMENT_NODE||!!s.classList.contains("disabled")||(s.disabled!==void 0?s.disabled:s.hasAttribute("disabled")&&s.getAttribute("disabled")!=="false"),Ee=s=>{if(!document.documentElement.attachShadow)return null;if(typeof s.getRootNode=="function"){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?Ee(s.parentNode):null},be=()=>{},Ve=s=>{s.offsetHeight},Ge=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Qe=[],le=()=>document.documentElement.dir==="rtl",J=s=>{var t;t=()=>{const i=Ge();if(i){const r=s.NAME,c=i.fn[r];i.fn[r]=s.jQueryInterface,i.fn[r].Constructor=s,i.fn[r].noConflict=()=>(i.fn[r]=c,s.jQueryInterface)}},document.readyState==="loading"?(Qe.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Qe)i()}),Qe.push(t)):t()},oe=(s,t=[],i=s)=>typeof s=="function"?s.call(...t):i,dt=(s,t,i=!0)=>{if(!i)return void oe(s);const r=(v=>{if(!v)return 0;let{transitionDuration:y,transitionDelay:k}=window.getComputedStyle(v);const w=Number.parseFloat(y),S=Number.parseFloat(k);return w||S?(y=y.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(y)+Number.parseFloat(k))):0})(t)+5;let c=!1;const d=({target:v})=>{v===t&&(c=!0,t.removeEventListener(m,d),oe(s))};t.addEventListener(m,d),setTimeout(()=>{c||p(t)},r)},Je=(s,t,i,r)=>{const c=s.length;let d=s.indexOf(t);return d===-1?!i&&r?s[c-1]:s[0]:(d+=i?1:-1,r&&(d=(d+c)%c),s[Math.max(0,Math.min(d,c-1))])},Vt=/[^.]*(?=\..*)\.|.*/,ut=/\..*/,Mt=/::\d+$/,Ze={};let ft=1;const et={mouseenter:"mouseover",mouseleave:"mouseout"},Lt=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 pt(s,t){return t&&`${t}::${ft++}`||s.uidEvent||ft++}function ht(s){const t=pt(s);return s.uidEvent=t,Ze[t]=Ze[t]||{},Ze[t]}function mt(s,t,i=null){return Object.values(s).find(r=>r.callable===t&&r.delegationSelector===i)}function gt(s,t,i){const r=typeof t=="string",c=r?i:t||i;let d=di(s);return Lt.has(d)||(d=s),[r,c,d]}function Kn(s,t,i,r,c){if(typeof t!="string"||!s)return;let[d,v,y]=gt(t,i,r);t in et&&(v=(V=>function(D){if(!D.relatedTarget||D.relatedTarget!==D.delegateTarget&&!D.delegateTarget.contains(D.relatedTarget))return V.call(this,D)})(v));const k=ht(s),w=k[y]||(k[y]={}),S=mt(w,v,d?i:null);if(S)return void(S.oneOff=S.oneOff&&c);const E=pt(v,t.replace(Vt,"")),z=d?function(B,V,D){return function M(q){const Y=B.querySelectorAll(V);for(let{target:x}=q;x&&x!==this;x=x.parentNode)for(const j of Y)if(j===x)return tt(q,{delegateTarget:x}),M.oneOff&&C.off(B,q.type,V,D),D.apply(x,[q])}}(s,i,v):function(B,V){return function D(M){return tt(M,{delegateTarget:B}),D.oneOff&&C.off(B,M.type,V),V.apply(B,[M])}}(s,v);z.delegationSelector=d?i:null,z.callable=v,z.oneOff=c,z.uidEvent=E,w[E]=z,s.addEventListener(y,z,d)}function vt(s,t,i,r,c){const d=mt(t[i],r,c);d&&(s.removeEventListener(i,d,!!c),delete t[i][d.uidEvent])}function ci(s,t,i,r){const c=t[i]||{};for(const[d,v]of Object.entries(c))d.includes(r)&&vt(s,t,i,v.callable,v.delegationSelector)}function di(s){return s=s.replace(ut,""),et[s]||s}const C={on(s,t,i,r){Kn(s,t,i,r,!1)},one(s,t,i,r){Kn(s,t,i,r,!0)},off(s,t,i,r){if(typeof t!="string"||!s)return;const[c,d,v]=gt(t,i,r),y=v!==t,k=ht(s),w=k[v]||{},S=t.startsWith(".");if(d===void 0){if(S)for(const E of Object.keys(k))ci(s,k,E,t.slice(1));for(const[E,z]of Object.entries(w)){const B=E.replace(Mt,"");y&&!t.includes(B)||vt(s,k,v,z.callable,z.delegationSelector)}}else{if(!Object.keys(w).length)return;vt(s,k,v,d,c?i:null)}},trigger(s,t,i){if(typeof t!="string"||!s)return null;const r=Ge();let c=null,d=!0,v=!0,y=!1;t!==di(t)&&r&&(c=r.Event(t,i),r(s).trigger(c),d=!c.isPropagationStopped(),v=!c.isImmediatePropagationStopped(),y=c.isDefaultPrevented());const k=tt(new Event(t,{bubbles:d,cancelable:!0}),i);return y&&k.preventDefault(),v&&s.dispatchEvent(k),k.defaultPrevented&&c&&c.preventDefault(),k}};function tt(s,t={}){for(const[i,r]of Object.entries(t))try{s[i]=r}catch{Object.defineProperty(s,i,{configurable:!0,get:()=>r})}return s}function ui(s){if(s==="true")return!0;if(s==="false")return!1;if(s===Number(s).toString())return Number(s);if(s===""||s==="null")return null;if(typeof s!="string")return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function Gn(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Me={setDataAttribute(s,t,i){s.setAttribute(`data-bs-${Gn(t)}`,i)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${Gn(t)}`)},getDataAttributes(s){if(!s)return{};const t={},i=Object.keys(s.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of i){let c=r.replace(/^bs/,"");c=c.charAt(0).toLowerCase()+c.slice(1),t[c]=ui(s.dataset[r])}return t},getDataAttribute:(s,t)=>ui(s.getAttribute(`data-bs-${Gn(t)}`))};class we{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=$(i)?Me.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...$(i)?Me.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[c,d]of Object.entries(i)){const v=t[c],y=$(v)?"element":(r=v)==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(d).test(y))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${c}" provided type "${y}" but expected type "${d}".`)}var r}}class ge extends we{constructor(t,i){super(),(t=T(t))&&(this._element=t,this._config=this._getConfig(i),f.set(this._element,this.constructor.DATA_KEY,this))}dispose(){f.remove(this._element,this.constructor.DATA_KEY),C.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,r=!0){dt(t,i,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return f.get(T(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.5"}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 zt=s=>{let t=s.getAttribute("data-bs-target");if(!t||t==="#"){let i=s.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=>b(i)).join(","):null},N={find:(s,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,s)),findOne:(s,t=document.documentElement)=>Element.prototype.querySelector.call(t,s),children:(s,t)=>[].concat(...s.children).filter(i=>i.matches(t)),parents(s,t){const i=[];let r=s.parentNode.closest(t);for(;r;)i.push(r),r=r.parentNode.closest(t);return i},prev(s,t){let i=s.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(s,t){let i=s.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(i=>!Q(i)&&ne(i))},getSelectorFromElement(s){const t=zt(s);return t&&N.findOne(t)?t:null},getElementFromSelector(s){const t=zt(s);return t?N.findOne(t):null},getMultipleElementsFromSelector(s){const t=zt(s);return t?N.find(t):[]}},bt=(s,t="hide")=>{const i=`click.dismiss${s.EVENT_KEY}`,r=s.NAME;C.on(document,i,`[data-bs-dismiss="${r}"]`,function(c){if(["A","AREA"].includes(this.tagName)&&c.preventDefault(),Q(this))return;const d=N.getElementFromSelector(this)||this.closest(`.${r}`);s.getOrCreateInstance(d)[t]()})},Qn=".bs.alert",fi=`close${Qn}`,Jn=`closed${Qn}`;class yt extends ge{static get NAME(){return"alert"}close(){if(C.trigger(this._element,fi).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(),C.trigger(this._element,Jn),this.dispose()}static jQueryInterface(t){return this.each(function(){const i=yt.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)}})}}bt(yt,"close"),J(yt);const nt='[data-bs-toggle="button"]';class it 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=it.getOrCreateInstance(this);t==="toggle"&&i[t]()})}}C.on(document,"click.bs.button.data-api",nt,s=>{s.preventDefault();const t=s.target.closest(nt);it.getOrCreateInstance(t).toggle()}),J(it);const Ue=".bs.swipe",Fe=`touchstart${Ue}`,Zn=`touchmove${Ue}`,Li=`touchend${Ue}`,xe=`pointerdown${Ue}`,Pe=`pointerup${Ue}`,ae={endCallback:null,leftCallback:null,rightCallback:null},It={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ot extends we{constructor(t,i){super(),this._element=t,t&&ot.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ae}static get DefaultType(){return It}static get NAME(){return"swipe"}dispose(){C.off(this._element,Ue)}_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?(C.on(this._element,xe,t=>this._start(t)),C.on(this._element,Pe,t=>this._end(t)),this._element.classList.add("pointer-event")):(C.on(this._element,Fe,t=>this._start(t)),C.on(this._element,Zn,t=>this._move(t)),C.on(this._element,Li,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 Se=".bs.carousel",de=".data-api",zi="ArrowLeft",pi="ArrowRight",g="next",u="prev",h="left",l="right",_=`slide${Se}`,A=`slid${Se}`,L=`keydown${Se}`,I=`mouseenter${Se}`,K=`mouseleave${Se}`,X=`dragstart${Se}`,ce=`load${Se}${de}`,Z=`click${Se}${de}`,ee="carousel",ue="active",Le=".active",ye=".carousel-item",je=Le+ye,Ft={[zi]:l,[pi]:h},st={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ie={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class se 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=N.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ee&&this.cycle()}static get Default(){return st}static get DefaultType(){return ie}static get NAME(){return"carousel"}next(){this._slide(g)}nextWhenVisible(){!document.hidden&&ne(this._element)&&this.next()}prev(){this._slide(u)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?C.one(this._element,A,()=>this.cycle()):this.cycle())}to(t){const i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding)return void C.one(this._element,A,()=>this.to(t));const r=this._getItemIndex(this._getActive());if(r===t)return;const c=t>r?g:u;this._slide(c,i[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&C.on(this._element,L,t=>this._keydown(t)),this._config.pause==="hover"&&(C.on(this._element,I,()=>this.pause()),C.on(this._element,K,()=>this._maybeEnableCycle())),this._config.touch&&ot.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of N.find(".carousel-item img",this._element))C.on(i,X,r=>r.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(h)),rightCallback:()=>this._slide(this._directionToOrder(l)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ot(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const i=Ft[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=N.findOne(Le,this._indicatorsElement);i.classList.remove(ue),i.removeAttribute("aria-current");const r=N.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(ue),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(),c=t===g,d=i||Je(this._getItems(),r,c,this._config.wrap);if(d===r)return;const v=this._getItemIndex(d),y=E=>C.trigger(this._element,E,{relatedTarget:d,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:v});if(y(_).defaultPrevented||!r||!d)return;const k=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(v),this._activeElement=d;const w=c?"carousel-item-start":"carousel-item-end",S=c?"carousel-item-next":"carousel-item-prev";d.classList.add(S),Ve(d),r.classList.add(w),d.classList.add(w),this._queueCallback(()=>{d.classList.remove(w,S),d.classList.add(ue),r.classList.remove(ue,S,w),this._isSliding=!1,y(A)},r,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return N.findOne(je,this._element)}_getItems(){return N.find(ye,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return le()?t===h?u:g:t===h?g:u}_orderToDirection(t){return le()?t===u?h:l:t===u?l:h}static jQueryInterface(t){return this.each(function(){const i=se.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)})}}C.on(document,Z,"[data-bs-slide], [data-bs-slide-to]",function(s){const t=N.getElementFromSelector(this);if(!t||!t.classList.contains(ee))return;s.preventDefault();const i=se.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(i.to(r),void i._maybeEnableCycle()):Me.getDataAttribute(this,"slide")==="next"?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),C.on(window,ce,()=>{const s=N.find('[data-bs-ride="carousel"]');for(const t of s)se.getOrCreateInstance(t)}),J(se);const ve=".bs.collapse",xt=`show${ve}`,Er=`shown${ve}`,wr=`hide${ve}`,Sr=`hidden${ve}`,Nr=`click${ve}.data-api`,Ii="show",Pt="collapse",hi="collapsing",Ar=`:scope .${Pt} .${Pt}`,Fi='[data-bs-toggle="collapse"]',Tr={parent:null,toggle:!0},Br={parent:"(null|element)",toggle:"boolean"};class jt extends ge{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];const r=N.find(Fi);for(const c of r){const d=N.getSelectorFromElement(c),v=N.find(d).filter(y=>y===this._element);d!==null&&v.length&&this._triggerArray.push(c)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Tr}static get DefaultType(){return Br}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(c=>c!==this._element).map(c=>jt.getOrCreateInstance(c,{toggle:!1}))),t.length&&t[0]._isTransitioning||C.trigger(this._element,xt).defaultPrevented)return;for(const c of t)c.hide();const i=this._getDimension();this._element.classList.remove(Pt),this._element.classList.add(hi),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(hi),this._element.classList.add(Pt,Ii),this._element.style[i]="",C.trigger(this._element,Er)},this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||C.trigger(this._element,wr).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Ve(this._element),this._element.classList.add(hi),this._element.classList.remove(Pt,Ii);for(const i of this._triggerArray){const r=N.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(hi),this._element.classList.add(Pt),C.trigger(this._element,Sr)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ii)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=T(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=N.getElementFromSelector(i);r&&this._addAriaAndCollapsedClass([i],this._isShown(r))}}_getFirstLevelChildren(t){const i=N.find(Ar,this._config.parent);return N.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=jt.getOrCreateInstance(this,i);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t]()}})}}C.on(document,Nr,Fi,function(s){(s.target.tagName==="A"||s.delegateTarget&&s.delegateTarget.tagName==="A")&&s.preventDefault();for(const t of N.getMultipleElementsFromSelector(this))jt.getOrCreateInstance(t,{toggle:!1}).toggle()}),J(jt);var fe="top",_e="bottom",Ce="right",pe="left",mi="auto",Wt=[fe,_e,Ce,pe],_t="start",Rt="end",Eo="clippingParents",xi="viewport",qt="popper",wo="reference",Pi=Wt.reduce(function(s,t){return s.concat([t+"-"+_t,t+"-"+Rt])},[]),ji=[].concat(Wt,[mi]).reduce(function(s,t){return s.concat([t,t+"-"+_t,t+"-"+Rt])},[]),So="beforeRead",No="read",Ao="afterRead",To="beforeMain",Bo="main",Oo="afterMain",Do="beforeWrite",Vo="write",Mo="afterWrite",Lo=[So,No,Ao,To,Bo,Oo,Do,Vo,Mo];function We(s){return s?(s.nodeName||"").toLowerCase():null}function ke(s){if(s==null)return window;if(s.toString()!=="[object Window]"){var t=s.ownerDocument;return t&&t.defaultView||window}return s}function Ct(s){return s instanceof ke(s).Element||s instanceof Element}function Ne(s){return s instanceof ke(s).HTMLElement||s instanceof HTMLElement}function Wi(s){return typeof ShadowRoot<"u"&&(s instanceof ke(s).ShadowRoot||s instanceof ShadowRoot)}const Ri={name:"applyStyles",enabled:!0,phase:"write",fn:function(s){var t=s.state;Object.keys(t.elements).forEach(function(i){var r=t.styles[i]||{},c=t.attributes[i]||{},d=t.elements[i];Ne(d)&&We(d)&&(Object.assign(d.style,r),Object.keys(c).forEach(function(v){var y=c[v];y===!1?d.removeAttribute(v):d.setAttribute(v,y===!0?"":y)}))})},effect:function(s){var t=s.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 c=t.elements[r],d=t.attributes[r]||{},v=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:i[r]).reduce(function(y,k){return y[k]="",y},{});Ne(c)&&We(c)&&(Object.assign(c.style,v),Object.keys(d).forEach(function(y){c.removeAttribute(y)}))})}},requires:["computeStyles"]};function Re(s){return s.split("-")[0]}var kt=Math.max,gi=Math.min,Ht=Math.round;function qi(){var s=navigator.userAgentData;return s!=null&&s.brands&&Array.isArray(s.brands)?s.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zo(){return!/^((?!chrome|android).)*safari/i.test(qi())}function Ut(s,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=s.getBoundingClientRect(),c=1,d=1;t&&Ne(s)&&(c=s.offsetWidth>0&&Ht(r.width)/s.offsetWidth||1,d=s.offsetHeight>0&&Ht(r.height)/s.offsetHeight||1);var v=(Ct(s)?ke(s):window).visualViewport,y=!zo()&&i,k=(r.left+(y&&v?v.offsetLeft:0))/c,w=(r.top+(y&&v?v.offsetTop:0))/d,S=r.width/c,E=r.height/d;return{width:S,height:E,top:w,right:k+S,bottom:w+E,left:k,x:k,y:w}}function Hi(s){var t=Ut(s),i=s.offsetWidth,r=s.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:s.offsetLeft,y:s.offsetTop,width:i,height:r}}function Io(s,t){var i=t.getRootNode&&t.getRootNode();if(s.contains(t))return!0;if(i&&Wi(i)){var r=t;do{if(r&&s.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xe(s){return ke(s).getComputedStyle(s)}function Or(s){return["table","td","th"].indexOf(We(s))>=0}function rt(s){return((Ct(s)?s.ownerDocument:s.document)||window.document).documentElement}function vi(s){return We(s)==="html"?s:s.assignedSlot||s.parentNode||(Wi(s)?s.host:null)||rt(s)}function Fo(s){return Ne(s)&&Xe(s).position!=="fixed"?s.offsetParent:null}function ei(s){for(var t=ke(s),i=Fo(s);i&&Or(i)&&Xe(i).position==="static";)i=Fo(i);return i&&(We(i)==="html"||We(i)==="body"&&Xe(i).position==="static")?t:i||function(r){var c=/firefox/i.test(qi());if(/Trident/i.test(qi())&&Ne(r)&&Xe(r).position==="fixed")return null;var d=vi(r);for(Wi(d)&&(d=d.host);Ne(d)&&["html","body"].indexOf(We(d))<0;){var v=Xe(d);if(v.transform!=="none"||v.perspective!=="none"||v.contain==="paint"||["transform","perspective"].indexOf(v.willChange)!==-1||c&&v.willChange==="filter"||c&&v.filter&&v.filter!=="none")return d;d=d.parentNode}return null}(s)||t}function Ui(s){return["top","bottom"].indexOf(s)>=0?"x":"y"}function ti(s,t,i){return kt(s,gi(t,i))}function xo(s){return Object.assign({},{top:0,right:0,bottom:0,left:0},s)}function Po(s,t){return t.reduce(function(i,r){return i[r]=s,i},{})}const jo={name:"arrow",enabled:!0,phase:"main",fn:function(s){var t,i=s.state,r=s.name,c=s.options,d=i.elements.arrow,v=i.modifiersData.popperOffsets,y=Re(i.placement),k=Ui(y),w=[pe,Ce].indexOf(y)>=0?"height":"width";if(d&&v){var S=function(H,R){return xo(typeof(H=typeof H=="function"?H(Object.assign({},R.rects,{placement:R.placement})):H)!="number"?H:Po(H,Wt))}(c.padding,i),E=Hi(d),z=k==="y"?fe:pe,B=k==="y"?_e:Ce,V=i.rects.reference[w]+i.rects.reference[k]-v[k]-i.rects.popper[w],D=v[k]-i.rects.reference[k],M=ei(d),q=M?k==="y"?M.clientHeight||0:M.clientWidth||0:0,Y=V/2-D/2,x=S[z],j=q-E[w]-S[B],F=q/2-E[w]/2+Y,P=ti(x,F,j),W=k;i.modifiersData[r]=((t={})[W]=P,t.centerOffset=P-F,t)}},effect:function(s){var t=s.state,i=s.options.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r!="string"||(r=t.elements.popper.querySelector(r)))&&Io(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xt(s){return s.split("-")[1]}var Dr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wo(s){var t,i=s.popper,r=s.popperRect,c=s.placement,d=s.variation,v=s.offsets,y=s.position,k=s.gpuAcceleration,w=s.adaptive,S=s.roundOffsets,E=s.isFixed,z=v.x,B=z===void 0?0:z,V=v.y,D=V===void 0?0:V,M=typeof S=="function"?S({x:B,y:D}):{x:B,y:D};B=M.x,D=M.y;var q=v.hasOwnProperty("x"),Y=v.hasOwnProperty("y"),x=pe,j=fe,F=window;if(w){var P=ei(i),W="clientHeight",H="clientWidth";P===ke(i)&&Xe(P=rt(i)).position!=="static"&&y==="absolute"&&(W="scrollHeight",H="scrollWidth"),(c===fe||(c===pe||c===Ce)&&d===Rt)&&(j=_e,D-=(E&&P===F&&F.visualViewport?F.visualViewport.height:P[W])-r.height,D*=k?1:-1),c!==pe&&(c!==fe&&c!==_e||d!==Rt)||(x=Ce,B-=(E&&P===F&&F.visualViewport?F.visualViewport.width:P[H])-r.width,B*=k?1:-1)}var R,te=Object.assign({position:y},w&&Dr),$e=S===!0?function(Ie,he){var Te=Ie.x,Be=Ie.y,G=he.devicePixelRatio||1;return{x:Ht(Te*G)/G||0,y:Ht(Be*G)/G||0}}({x:B,y:D},ke(i)):{x:B,y:D};return B=$e.x,D=$e.y,k?Object.assign({},te,((R={})[j]=Y?"0":"",R[x]=q?"0":"",R.transform=(F.devicePixelRatio||1)<=1?"translate("+B+"px, "+D+"px)":"translate3d("+B+"px, "+D+"px, 0)",R)):Object.assign({},te,((t={})[j]=Y?D+"px":"",t[x]=q?B+"px":"",t.transform="",t))}const Xi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(s){var t=s.state,i=s.options,r=i.gpuAcceleration,c=r===void 0||r,d=i.adaptive,v=d===void 0||d,y=i.roundOffsets,k=y===void 0||y,w={placement:Re(t.placement),variation:Xt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Wo(Object.assign({},w,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:v,roundOffsets:k})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wo(Object.assign({},w,{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 bi={passive:!0};const Yi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(s){var t=s.state,i=s.instance,r=s.options,c=r.scroll,d=c===void 0||c,v=r.resize,y=v===void 0||v,k=ke(t.elements.popper),w=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&w.forEach(function(S){S.addEventListener("scroll",i.update,bi)}),y&&k.addEventListener("resize",i.update,bi),function(){d&&w.forEach(function(S){S.removeEventListener("scroll",i.update,bi)}),y&&k.removeEventListener("resize",i.update,bi)}},data:{}};var Vr={left:"right",right:"left",bottom:"top",top:"bottom"};function yi(s){return s.replace(/left|right|bottom|top/g,function(t){return Vr[t]})}var Mr={start:"end",end:"start"};function Ro(s){return s.replace(/start|end/g,function(t){return Mr[t]})}function Ki(s){var t=ke(s);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gi(s){return Ut(rt(s)).left+Ki(s).scrollLeft}function Qi(s){var t=Xe(s),i=t.overflow,r=t.overflowX,c=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+c+r)}function qo(s){return["html","body","#document"].indexOf(We(s))>=0?s.ownerDocument.body:Ne(s)&&Qi(s)?s:qo(vi(s))}function ni(s,t){var i;t===void 0&&(t=[]);var r=qo(s),c=r===((i=s.ownerDocument)==null?void 0:i.body),d=ke(r),v=c?[d].concat(d.visualViewport||[],Qi(r)?r:[]):r,y=t.concat(v);return c?y:y.concat(ni(vi(v)))}function Ji(s){return Object.assign({},s,{left:s.x,top:s.y,right:s.x+s.width,bottom:s.y+s.height})}function Ho(s,t,i){return t===xi?Ji(function(r,c){var d=ke(r),v=rt(r),y=d.visualViewport,k=v.clientWidth,w=v.clientHeight,S=0,E=0;if(y){k=y.width,w=y.height;var z=zo();(z||!z&&c==="fixed")&&(S=y.offsetLeft,E=y.offsetTop)}return{width:k,height:w,x:S+Gi(r),y:E}}(s,i)):Ct(t)?function(r,c){var d=Ut(r,!1,c==="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 c,d=rt(r),v=Ki(r),y=(c=r.ownerDocument)==null?void 0:c.body,k=kt(d.scrollWidth,d.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),w=kt(d.scrollHeight,d.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),S=-v.scrollLeft+Gi(r),E=-v.scrollTop;return Xe(y||d).direction==="rtl"&&(S+=kt(d.clientWidth,y?y.clientWidth:0)-k),{width:k,height:w,x:S,y:E}}(rt(s)))}function Uo(s){var t,i=s.reference,r=s.element,c=s.placement,d=c?Re(c):null,v=c?Xt(c):null,y=i.x+i.width/2-r.width/2,k=i.y+i.height/2-r.height/2;switch(d){case fe:t={x:y,y:i.y-r.height};break;case _e:t={x:y,y:i.y+i.height};break;case Ce:t={x:i.x+i.width,y:k};break;case pe:t={x:i.x-r.width,y:k};break;default:t={x:i.x,y:i.y}}var w=d?Ui(d):null;if(w!=null){var S=w==="y"?"height":"width";switch(v){case _t:t[w]=t[w]-(i[S]/2-r[S]/2);break;case Rt:t[w]=t[w]+(i[S]/2-r[S]/2)}}return t}function Yt(s,t){t===void 0&&(t={});var i=t,r=i.placement,c=r===void 0?s.placement:r,d=i.strategy,v=d===void 0?s.strategy:d,y=i.boundary,k=y===void 0?Eo:y,w=i.rootBoundary,S=w===void 0?xi:w,E=i.elementContext,z=E===void 0?qt:E,B=i.altBoundary,V=B!==void 0&&B,D=i.padding,M=D===void 0?0:D,q=xo(typeof M!="number"?M:Po(M,Wt)),Y=z===qt?wo:qt,x=s.rects.popper,j=s.elements[V?Y:z],F=function(he,Te,Be,G){var qe=Te==="clippingParents"?function(U){var me=ni(vi(U)),Oe=["absolute","fixed"].indexOf(Xe(U).position)>=0&&Ne(U)?ei(U):U;return Ct(Oe)?me.filter(function(at){return Ct(at)&&Io(at,Oe)&&We(at)!=="body"}):[]}(he):[].concat(Te),He=[].concat(qe,[Be]),Qt=He[0],re=He.reduce(function(U,me){var Oe=Ho(he,me,G);return U.top=kt(Oe.top,U.top),U.right=gi(Oe.right,U.right),U.bottom=gi(Oe.bottom,U.bottom),U.left=kt(Oe.left,U.left),U},Ho(he,Qt,G));return re.width=re.right-re.left,re.height=re.bottom-re.top,re.x=re.left,re.y=re.top,re}(Ct(j)?j:j.contextElement||rt(s.elements.popper),k,S,v),P=Ut(s.elements.reference),W=Uo({reference:P,element:x,placement:c}),H=Ji(Object.assign({},x,W)),R=z===qt?H:P,te={top:F.top-R.top+q.top,bottom:R.bottom-F.bottom+q.bottom,left:F.left-R.left+q.left,right:R.right-F.right+q.right},$e=s.modifiersData.offset;if(z===qt&&$e){var Ie=$e[c];Object.keys(te).forEach(function(he){var Te=[Ce,_e].indexOf(he)>=0?1:-1,Be=[fe,_e].indexOf(he)>=0?"y":"x";te[he]+=Ie[Be]*Te})}return te}function Lr(s,t){t===void 0&&(t={});var i=t,r=i.placement,c=i.boundary,d=i.rootBoundary,v=i.padding,y=i.flipVariations,k=i.allowedAutoPlacements,w=k===void 0?ji:k,S=Xt(r),E=S?y?Pi:Pi.filter(function(V){return Xt(V)===S}):Wt,z=E.filter(function(V){return w.indexOf(V)>=0});z.length===0&&(z=E);var B=z.reduce(function(V,D){return V[D]=Yt(s,{placement:D,boundary:c,rootBoundary:d,padding:v})[Re(D)],V},{});return Object.keys(B).sort(function(V,D){return B[V]-B[D]})}const Xo={name:"flip",enabled:!0,phase:"main",fn:function(s){var t=s.state,i=s.options,r=s.name;if(!t.modifiersData[r]._skip){for(var c=i.mainAxis,d=c===void 0||c,v=i.altAxis,y=v===void 0||v,k=i.fallbackPlacements,w=i.padding,S=i.boundary,E=i.rootBoundary,z=i.altBoundary,B=i.flipVariations,V=B===void 0||B,D=i.allowedAutoPlacements,M=t.options.placement,q=Re(M),Y=k||(q!==M&&V?function(U){if(Re(U)===mi)return[];var me=yi(U);return[Ro(U),me,Ro(me)]}(M):[yi(M)]),x=[M].concat(Y).reduce(function(U,me){return U.concat(Re(me)===mi?Lr(t,{placement:me,boundary:S,rootBoundary:E,padding:w,flipVariations:V,allowedAutoPlacements:D}):me)},[]),j=t.rects.reference,F=t.rects.popper,P=new Map,W=!0,H=x[0],R=0;R<x.length;R++){var te=x[R],$e=Re(te),Ie=Xt(te)===_t,he=[fe,_e].indexOf($e)>=0,Te=he?"width":"height",Be=Yt(t,{placement:te,boundary:S,rootBoundary:E,altBoundary:z,padding:w}),G=he?Ie?Ce:pe:Ie?_e:fe;j[Te]>F[Te]&&(G=yi(G));var qe=yi(G),He=[];if(d&&He.push(Be[$e]<=0),y&&He.push(Be[G]<=0,Be[qe]<=0),He.every(function(U){return U})){H=te,W=!1;break}P.set(te,He)}if(W)for(var Qt=function(U){var me=x.find(function(Oe){var at=P.get(Oe);if(at)return at.slice(0,U).every(function(Ai){return Ai})});if(me)return H=me,"break"},re=V?3:1;re>0&&Qt(re)!=="break";re--);t.placement!==H&&(t.modifiersData[r]._skip=!0,t.placement=H,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Yo(s,t,i){return i===void 0&&(i={x:0,y:0}),{top:s.top-t.height-i.y,right:s.right-t.width+i.x,bottom:s.bottom-t.height+i.y,left:s.left-t.width-i.x}}function Ko(s){return[fe,Ce,_e,pe].some(function(t){return s[t]>=0})}const Go={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(s){var t=s.state,i=s.name,r=t.rects.reference,c=t.rects.popper,d=t.modifiersData.preventOverflow,v=Yt(t,{elementContext:"reference"}),y=Yt(t,{altBoundary:!0}),k=Yo(v,r),w=Yo(y,c,d),S=Ko(k),E=Ko(w);t.modifiersData[i]={referenceClippingOffsets:k,popperEscapeOffsets:w,isReferenceHidden:S,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":S,"data-popper-escaped":E})}},Qo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(s){var t=s.state,i=s.options,r=s.name,c=i.offset,d=c===void 0?[0,0]:c,v=ji.reduce(function(S,E){return S[E]=function(z,B,V){var D=Re(z),M=[pe,fe].indexOf(D)>=0?-1:1,q=typeof V=="function"?V(Object.assign({},B,{placement:z})):V,Y=q[0],x=q[1];return Y=Y||0,x=(x||0)*M,[pe,Ce].indexOf(D)>=0?{x,y:Y}:{x:Y,y:x}}(E,t.rects,d),S},{}),y=v[t.placement],k=y.x,w=y.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=k,t.modifiersData.popperOffsets.y+=w),t.modifiersData[r]=v}},Zi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(s){var t=s.state,i=s.name;t.modifiersData[i]=Uo({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},Jo={name:"preventOverflow",enabled:!0,phase:"main",fn:function(s){var t=s.state,i=s.options,r=s.name,c=i.mainAxis,d=c===void 0||c,v=i.altAxis,y=v!==void 0&&v,k=i.boundary,w=i.rootBoundary,S=i.altBoundary,E=i.padding,z=i.tether,B=z===void 0||z,V=i.tetherOffset,D=V===void 0?0:V,M=Yt(t,{boundary:k,rootBoundary:w,padding:E,altBoundary:S}),q=Re(t.placement),Y=Xt(t.placement),x=!Y,j=Ui(q),F=j==="x"?"y":"x",P=t.modifiersData.popperOffsets,W=t.rects.reference,H=t.rects.popper,R=typeof D=="function"?D(Object.assign({},t.rects,{placement:t.placement})):D,te=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),$e=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Ie={x:0,y:0};if(P){if(d){var he,Te=j==="y"?fe:pe,Be=j==="y"?_e:Ce,G=j==="y"?"height":"width",qe=P[j],He=qe+M[Te],Qt=qe-M[Be],re=B?-H[G]/2:0,U=Y===_t?W[G]:H[G],me=Y===_t?-H[G]:-W[G],Oe=t.elements.arrow,at=B&&Oe?Hi(Oe):{width:0,height:0},Ai=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Fs=Ai[Te],xs=Ai[Be],Ti=ti(0,W[G],at[G]),pa=x?W[G]/2-re-Ti-Fs-te.mainAxis:U-Ti-Fs-te.mainAxis,ha=x?-W[G]/2+re+Ti+xs+te.mainAxis:me+Ti+xs+te.mainAxis,po=t.elements.arrow&&ei(t.elements.arrow),ma=po?j==="y"?po.clientTop||0:po.clientLeft||0:0,Ps=(he=$e==null?void 0:$e[j])!=null?he:0,ga=qe+ha-Ps,js=ti(B?gi(He,qe+pa-Ps-ma):He,qe,B?kt(Qt,ga):Qt);P[j]=js,Ie[j]=js-qe}if(y){var Ws,va=j==="x"?fe:pe,ba=j==="x"?_e:Ce,Bt=P[F],Bi=F==="y"?"height":"width",Rs=Bt+M[va],qs=Bt-M[ba],ho=[fe,pe].indexOf(q)!==-1,Hs=(Ws=$e==null?void 0:$e[F])!=null?Ws:0,Us=ho?Rs:Bt-W[Bi]-H[Bi]-Hs+te.altAxis,Xs=ho?Bt+W[Bi]+H[Bi]-Hs-te.altAxis:qs,Ys=B&&ho?function(ya,_a,mo){var Ks=ti(ya,_a,mo);return Ks>mo?mo:Ks}(Us,Bt,Xs):ti(B?Us:Rs,Bt,B?Xs:qs);P[F]=Ys,Ie[F]=Ys-Bt}t.modifiersData[r]=Ie}},requiresIfExists:["offset"]};function zr(s,t,i){i===void 0&&(i=!1);var r,c,d=Ne(t),v=Ne(t)&&function(E){var z=E.getBoundingClientRect(),B=Ht(z.width)/E.offsetWidth||1,V=Ht(z.height)/E.offsetHeight||1;return B!==1||V!==1}(t),y=rt(t),k=Ut(s,v,i),w={scrollLeft:0,scrollTop:0},S={x:0,y:0};return(d||!d&&!i)&&((We(t)!=="body"||Qi(y))&&(w=(r=t)!==ke(r)&&Ne(r)?{scrollLeft:(c=r).scrollLeft,scrollTop:c.scrollTop}:Ki(r)),Ne(t)?((S=Ut(t,!0)).x+=t.clientLeft,S.y+=t.clientTop):y&&(S.x=Gi(y))),{x:k.left+w.scrollLeft-S.x,y:k.top+w.scrollTop-S.y,width:k.width,height:k.height}}function Ir(s){var t=new Map,i=new Set,r=[];function c(d){i.add(d.name),[].concat(d.requires||[],d.requiresIfExists||[]).forEach(function(v){if(!i.has(v)){var y=t.get(v);y&&c(y)}}),r.push(d)}return s.forEach(function(d){t.set(d.name,d)}),s.forEach(function(d){i.has(d.name)||c(d)}),r}var Zo={placement:"bottom",modifiers:[],strategy:"absolute"};function es(){for(var s=arguments.length,t=new Array(s),i=0;i<s;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function _i(s){s===void 0&&(s={});var t=s,i=t.defaultModifiers,r=i===void 0?[]:i,c=t.defaultOptions,d=c===void 0?Zo:c;return function(v,y,k){k===void 0&&(k=d);var w,S,E={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zo,d),modifiersData:{},elements:{reference:v,popper:y},attributes:{},styles:{}},z=[],B=!1,V={state:E,setOptions:function(M){var q=typeof M=="function"?M(E.options):M;D(),E.options=Object.assign({},d,E.options,q),E.scrollParents={reference:Ct(v)?ni(v):v.contextElement?ni(v.contextElement):[],popper:ni(y)};var Y,x,j=function(F){var P=Ir(F);return Lo.reduce(function(W,H){return W.concat(P.filter(function(R){return R.phase===H}))},[])}((Y=[].concat(r,E.options.modifiers),x=Y.reduce(function(F,P){var W=F[P.name];return F[P.name]=W?Object.assign({},W,P,{options:Object.assign({},W.options,P.options),data:Object.assign({},W.data,P.data)}):P,F},{}),Object.keys(x).map(function(F){return x[F]})));return E.orderedModifiers=j.filter(function(F){return F.enabled}),E.orderedModifiers.forEach(function(F){var P=F.name,W=F.options,H=W===void 0?{}:W,R=F.effect;if(typeof R=="function"){var te=R({state:E,name:P,instance:V,options:H});z.push(te||function(){})}}),V.update()},forceUpdate:function(){if(!B){var M=E.elements,q=M.reference,Y=M.popper;if(es(q,Y)){E.rects={reference:zr(q,ei(Y),E.options.strategy==="fixed"),popper:Hi(Y)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function(R){return E.modifiersData[R.name]=Object.assign({},R.data)});for(var x=0;x<E.orderedModifiers.length;x++)if(E.reset!==!0){var j=E.orderedModifiers[x],F=j.fn,P=j.options,W=P===void 0?{}:P,H=j.name;typeof F=="function"&&(E=F({state:E,options:W,name:H,instance:V})||E)}else E.reset=!1,x=-1}}},update:(w=function(){return new Promise(function(M){V.forceUpdate(),M(E)})},function(){return S||(S=new Promise(function(M){Promise.resolve().then(function(){S=void 0,M(w())})})),S}),destroy:function(){D(),B=!0}};if(!es(v,y))return V;function D(){z.forEach(function(M){return M()}),z=[]}return V.setOptions(k).then(function(M){!B&&k.onFirstUpdate&&k.onFirstUpdate(M)}),V}}var Fr=_i(),xr=_i({defaultModifiers:[Yi,Zi,Xi,Ri]}),eo=_i({defaultModifiers:[Yi,Zi,Xi,Ri,Qo,Xo,Jo,jo,Go]});const ts=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Oo,afterRead:Ao,afterWrite:Mo,applyStyles:Ri,arrow:jo,auto:mi,basePlacements:Wt,beforeMain:To,beforeRead:So,beforeWrite:Do,bottom:_e,clippingParents:Eo,computeStyles:Xi,createPopper:eo,createPopperBase:Fr,createPopperLite:xr,detectOverflow:Yt,end:Rt,eventListeners:Yi,flip:Xo,hide:Go,left:pe,main:Bo,modifierPhases:Lo,offset:Qo,placements:ji,popper:qt,popperGenerator:_i,popperOffsets:Zi,preventOverflow:Jo,read:No,reference:wo,right:Ce,start:_t,top:fe,variationPlacements:Pi,viewport:xi,write:Vo},Symbol.toStringTag,{value:"Module"})),ns="dropdown",$t=".bs.dropdown",to=".data-api",Pr="ArrowUp",is="ArrowDown",jr=`hide${$t}`,Wr=`hidden${$t}`,Rr=`show${$t}`,qr=`shown${$t}`,os=`click${$t}${to}`,ss=`keydown${$t}${to}`,Hr=`keyup${$t}${to}`,Kt="show",Et='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ur=`${Et}.${Kt}`,Ci=".dropdown-menu",Xr=le()?"top-end":"top-start",Yr=le()?"top-start":"top-end",Kr=le()?"bottom-end":"bottom-start",Gr=le()?"bottom-start":"bottom-end",Qr=le()?"left-start":"right-start",Jr=le()?"right-start":"left-start",Zr={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},el={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ze extends ge{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=N.next(this._element,Ci)[0]||N.prev(this._element,Ci)[0]||N.findOne(Ci,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Zr}static get DefaultType(){return el}static get NAME(){return ns}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Q(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!C.trigger(this._element,Rr,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))C.on(i,"mouseover",be);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),C.trigger(this._element,qr,t)}}hide(){if(Q(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(!C.trigger(this._element,jr,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))C.off(i,"mouseover",be);this._popper&&this._popper.destroy(),this._menu.classList.remove(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),Me.removeDataAttribute(this._menu,"popper"),C.trigger(this._element,Wr,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!$(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ns.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(ts===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:$(this._config.reference)?t=T(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(Kt)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Qr;if(t.classList.contains("dropstart"))return Jr;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?Yr:Xr:i?Gr:Kr}_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")&&(Me.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=N.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(c=>ne(c));r.length&&Je(r,i,t===is,!r.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){const i=ze.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=N.find(Ur);for(const r of i){const c=ze.getInstance(r);if(!c||c._config.autoClose===!1)continue;const d=t.composedPath(),v=d.includes(c._menu);if(d.includes(c._element)||c._config.autoClose==="inside"&&!v||c._config.autoClose==="outside"&&v||c._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const y={relatedTarget:c._element};t.type==="click"&&(y.clickEvent=t),c._completeHide(y)}}static dataApiKeydownHandler(t){const i=/input|textarea/i.test(t.target.tagName),r=t.key==="Escape",c=[Pr,is].includes(t.key);if(!c&&!r||i&&!r)return;t.preventDefault();const d=this.matches(Et)?this:N.prev(this,Et)[0]||N.next(this,Et)[0]||N.findOne(Et,t.delegateTarget.parentNode),v=ze.getOrCreateInstance(d);if(c)return t.stopPropagation(),v.show(),void v._selectMenuItem(t);v._isShown()&&(t.stopPropagation(),v.hide(),d.focus())}}C.on(document,ss,Et,ze.dataApiKeydownHandler),C.on(document,ss,Ci,ze.dataApiKeydownHandler),C.on(document,os,ze.clearMenus),C.on(document,Hr,ze.clearMenus),C.on(document,os,Et,function(s){s.preventDefault(),ze.getOrCreateInstance(this).toggle()}),J(ze);const rs="backdrop",ls="show",as=`mousedown.bs.${rs}`,tl={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},nl={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class cs extends we{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return tl}static get DefaultType(){return nl}static get NAME(){return rs}show(t){if(!this._config.isVisible)return void oe(t);this._append();const i=this._getElement();this._config.isAnimated&&Ve(i),i.classList.add(ls),this._emulateAnimation(()=>{oe(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(ls),this._emulateAnimation(()=>{this.dispose(),oe(t)})):oe(t)}dispose(){this._isAppended&&(C.off(this._element,as),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=T(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),C.on(t,as,()=>{oe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){dt(t,this._getElement(),this._config.isAnimated)}}const ki=".bs.focustrap",il=`focusin${ki}`,ol=`keydown.tab${ki}`,ds="backward",sl={autofocus:!0,trapElement:null},rl={autofocus:"boolean",trapElement:"element"};class us extends we{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return sl}static get DefaultType(){return rl}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),C.off(document,ki),C.on(document,il,t=>this._handleFocusin(t)),C.on(document,ol,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,C.off(document,ki))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const r=N.focusableChildren(i);r.length===0?i.focus():this._lastTabNavDirection===ds?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?ds:"forward")}}const fs=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ps=".sticky-top",$i="padding-right",hs="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,$i,i=>i+t),this._setElementAttributes(fs,$i,i=>i+t),this._setElementAttributes(ps,hs,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,$i),this._resetElementAttributes(fs,$i),this._resetElementAttributes(ps,hs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,r){const c=this.getWidth();this._applyManipulationCallback(t,d=>{if(d!==this._element&&window.innerWidth>d.clientWidth+c)return;this._saveInitialAttribute(d,i);const v=window.getComputedStyle(d).getPropertyValue(i);d.style.setProperty(i,`${r(Number.parseFloat(v))}px`)})}_saveInitialAttribute(t,i){const r=t.style.getPropertyValue(i);r&&Me.setDataAttribute(t,i,r)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,r=>{const c=Me.getDataAttribute(r,i);c!==null?(Me.removeDataAttribute(r,i),r.style.setProperty(i,c)):r.style.removeProperty(i)})}_applyManipulationCallback(t,i){if($(t))i(t);else for(const r of N.find(t,this._element))i(r)}}const Ae=".bs.modal",ll=`hide${Ae}`,al=`hidePrevented${Ae}`,ms=`hidden${Ae}`,gs=`show${Ae}`,cl=`shown${Ae}`,dl=`resize${Ae}`,ul=`click.dismiss${Ae}`,fl=`mousedown.dismiss${Ae}`,pl=`keydown.dismiss${Ae}`,hl=`click${Ae}.data-api`,vs="modal-open",bs="show",io="modal-static",ml={backdrop:!0,focus:!0,keyboard:!0},gl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class wt extends ge{constructor(t,i){super(t,i),this._dialog=N.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 ml}static get DefaultType(){return gl}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||C.trigger(this._element,gs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(vs),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(C.trigger(this._element,ll).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(bs),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){C.off(window,Ae),C.off(this._dialog,Ae),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new cs({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new us({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=N.findOne(".modal-body",this._dialog);i&&(i.scrollTop=0),Ve(this._element),this._element.classList.add(bs),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,C.trigger(this._element,cl,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){C.on(this._element,pl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),C.on(window,dl,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),C.on(this._element,fl,t=>{C.one(this._element,ul,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(vs),this._resetAdjustments(),this._scrollBar.reset(),C.trigger(this._element,ms)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(C.trigger(this._element,al).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 c=le()?"paddingLeft":"paddingRight";this._element.style[c]=`${i}px`}if(!r&&t){const c=le()?"paddingRight":"paddingLeft";this._element.style[c]=`${i}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){const r=wt.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t](i)}})}}C.on(document,hl,'[data-bs-toggle="modal"]',function(s){const t=N.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),C.one(t,gs,r=>{r.defaultPrevented||C.one(t,ms,()=>{ne(this)&&this.focus()})});const i=N.findOne(".modal.show");i&&wt.getInstance(i).hide(),wt.getOrCreateInstance(t).toggle(this)}),bt(wt),J(wt);const Ye=".bs.offcanvas",ys=".data-api",vl=`load${Ye}${ys}`,_s="show",Cs="showing",ks="hiding",$s=".offcanvas.show",bl=`show${Ye}`,yl=`shown${Ye}`,_l=`hide${Ye}`,Es=`hidePrevented${Ye}`,ws=`hidden${Ye}`,Cl=`resize${Ye}`,kl=`click${Ye}${ys}`,$l=`keydown.dismiss${Ye}`,El={backdrop:!0,keyboard:!0,scroll:!1},wl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ke 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 El}static get DefaultType(){return wl}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||C.trigger(this._element,bl,{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(Cs),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(_s),this._element.classList.remove(Cs),C.trigger(this._element,yl,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(C.trigger(this._element,_l).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ks),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(_s,ks),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new no().reset(),C.trigger(this._element,ws)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new cs({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():C.trigger(this._element,Es)}:null})}_initializeFocusTrap(){return new us({trapElement:this._element})}_addEventListeners(){C.on(this._element,$l,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():C.trigger(this._element,Es))})}static jQueryInterface(t){return this.each(function(){const i=Ke.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)}})}}C.on(document,kl,'[data-bs-toggle="offcanvas"]',function(s){const t=N.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),Q(this))return;C.one(t,ws,()=>{ne(this)&&this.focus()});const i=N.findOne($s);i&&i!==t&&Ke.getInstance(i).hide(),Ke.getOrCreateInstance(t).toggle(this)}),C.on(window,vl,()=>{for(const s of N.find($s))Ke.getOrCreateInstance(s).show()}),C.on(window,Cl,()=>{for(const s of N.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(s).position!=="fixed"&&Ke.getOrCreateInstance(s).hide()}),bt(Ke),J(Ke);const Ss={"*":["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:[]},Sl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Al=(s,t)=>{const i=s.nodeName.toLowerCase();return t.includes(i)?!Sl.has(i)||!!Nl.test(s.nodeValue):t.filter(r=>r instanceof RegExp).some(r=>r.test(i))},Tl={allowList:Ss,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ol={entry:"(string|element|function|null)",selector:"(string|element)"};class Dl extends we{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Tl}static get DefaultType(){return Bl}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[c,d]of Object.entries(this._config.content))this._setContent(t,d,c);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},Ol)}_setContent(t,i,r){const c=N.findOne(r,t);c&&((i=this._resolvePossibleFunction(i))?$(i)?this._putElementInTemplate(T(i),c):this._config.html?c.innerHTML=this._maybeSanitize(i):c.textContent=i:c.remove())}_maybeSanitize(t){return this._config.sanitize?function(i,r,c){if(!i.length)return i;if(c&&typeof c=="function")return c(i);const d=new window.DOMParser().parseFromString(i,"text/html"),v=[].concat(...d.body.querySelectorAll("*"));for(const y of v){const k=y.nodeName.toLowerCase();if(!Object.keys(r).includes(k)){y.remove();continue}const w=[].concat(...y.attributes),S=[].concat(r["*"]||[],r[k]||[]);for(const E of w)Al(E,S)||y.removeAttribute(E.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 Vl=new Set(["sanitize","allowList","sanitizeFn"]),oo="fade",Ei="show",Ml=".tooltip-inner",Ns=".modal",As="hide.bs.modal",ii="hover",so="focus",Ll={AUTO:"auto",TOP:"top",RIGHT:le()?"left":"right",BOTTOM:"bottom",LEFT:le()?"right":"left"},zl={allowList:Ss,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"},Il={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 St extends ge{constructor(t,i){if(ts===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 zl}static get DefaultType(){return Il}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),C.off(this._element.closest(Ns),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=C.trigger(this._element,this.constructor.eventName("show")),i=(Ee(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:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(r),C.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(Ei),"ontouchstart"in document.documentElement)for(const d of[].concat(...document.body.children))C.on(d,"mouseover",be);this._queueCallback(()=>{C.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!C.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Ei),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))C.off(t,"mouseover",be);this._activeTrigger.click=!1,this._activeTrigger[so]=!1,this._activeTrigger[ii]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),C.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,Ei),i.classList.add(`bs-${this.constructor.NAME}-auto`);const r=(c=>{do c+=Math.floor(1e6*Math.random());while(document.getElementById(c));return c})(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 Dl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ml]: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(Ei)}_createPopper(t){const i=oe(this._config.placement,[this,t,this._element]),r=Ll[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")C.on(this._element,this.constructor.eventName("click"),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(i!=="manual"){const r=i===ii?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),c=i===ii?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");C.on(this._element,r,this._config.selector,d=>{const v=this._initializeOnDelegatedTarget(d);v._activeTrigger[d.type==="focusin"?so:ii]=!0,v._enter()}),C.on(this._element,c,this._config.selector,d=>{const v=this._initializeOnDelegatedTarget(d);v._activeTrigger[d.type==="focusout"?so:ii]=v._element.contains(d.relatedTarget),v._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},C.on(this._element.closest(Ns),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=Me.getDataAttributes(this._element);for(const r of Object.keys(i))Vl.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:T(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=St.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}J(St);const Fl=".popover-header",xl=".popover-body",Pl={...St.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"},jl={...St.DefaultType,content:"(null|string|element|function)"};class wi extends St{static get Default(){return Pl}static get DefaultType(){return jl}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Fl]:this._getTitle(),[xl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const i=wi.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}J(wi);const ro=".bs.scrollspy",Wl=`activate${ro}`,Ts=`click${ro}`,Rl=`load${ro}.data-api`,Gt="active",lo="[href]",Bs=".nav-link",ql=`${Bs}, .nav-item > ${Bs}, .list-group-item`,Hl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ul={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class oi 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 Hl}static get DefaultType(){return Ul}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=T(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&&(C.off(this._config.target,Ts),C.on(this._config.target,Ts,lo,t=>{const i=this._observableSections.get(t.target.hash);if(i){t.preventDefault();const r=this._rootElement||window,c=i.offsetTop-this._element.offsetTop;if(r.scrollTo)return void r.scrollTo({top:c,behavior:"smooth"});r.scrollTop=c}}))}_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=v=>this._targetLinks.get(`#${v.target.id}`),r=v=>{this._previousScrollData.visibleEntryTop=v.target.offsetTop,this._process(i(v))},c=(this._rootElement||document.documentElement).scrollTop,d=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const v of t){if(!v.isIntersecting){this._activeTarget=null,this._clearActiveClass(i(v));continue}const y=v.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&y){if(r(v),!c)return}else d||y||r(v)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=N.find(lo,this._config.target);for(const i of t){if(!i.hash||Q(i))continue;const r=N.findOne(decodeURI(i.hash),this._element);ne(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(Gt),this._activateParents(t),C.trigger(this._element,Wl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))N.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Gt);else for(const i of N.parents(t,".nav, .list-group"))for(const r of N.prev(i,ql))r.classList.add(Gt)}_clearActiveClass(t){t.classList.remove(Gt);const i=N.find(`${lo}.${Gt}`,t);for(const r of i)r.classList.remove(Gt)}static jQueryInterface(t){return this.each(function(){const i=oi.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]()}})}}C.on(window,Rl,()=>{for(const s of N.find('[data-bs-spy="scroll"]'))oi.getOrCreateInstance(s)}),J(oi);const Nt=".bs.tab",Xl=`hide${Nt}`,Yl=`hidden${Nt}`,Kl=`show${Nt}`,Gl=`shown${Nt}`,Ql=`click${Nt}`,Jl=`keydown${Nt}`,Zl=`load${Nt}`,ea="ArrowLeft",Os="ArrowRight",ta="ArrowUp",Ds="ArrowDown",ao="Home",Vs="End",At="active",Ms="fade",co="show",Ls=".dropdown-toggle",uo=`:not(${Ls})`,zs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',fo=`.nav-link${uo}, .list-group-item${uo}, [role="tab"]${uo}, ${zs}`,na=`.${At}[data-bs-toggle="tab"], .${At}[data-bs-toggle="pill"], .${At}[data-bs-toggle="list"]`;class Tt extends ge{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),C.on(this._element,Jl,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?C.trigger(i,Xl,{relatedTarget:t}):null;C.trigger(t,Kl,{relatedTarget:i}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){t&&(t.classList.add(At),this._activate(N.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),C.trigger(t,Gl,{relatedTarget:i})):t.classList.add(co)},t,t.classList.contains(Ms)))}_deactivate(t,i){t&&(t.classList.remove(At),t.blur(),this._deactivate(N.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),C.trigger(t,Yl,{relatedTarget:i})):t.classList.remove(co)},t,t.classList.contains(Ms)))}_keydown(t){if(![ea,Os,ta,Ds,ao,Vs].includes(t.key))return;t.stopPropagation(),t.preventDefault();const i=this._getChildren().filter(c=>!Q(c));let r;if([ao,Vs].includes(t.key))r=i[t.key===ao?0:i.length-1];else{const c=[Os,Ds].includes(t.key);r=Je(i,t.target,c,!0)}r&&(r.focus({preventScroll:!0}),Tt.getOrCreateInstance(r).show())}_getChildren(){return N.find(fo,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=N.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 c=(d,v)=>{const y=N.findOne(d,r);y&&y.classList.toggle(v,i)};c(Ls,At),c(".dropdown-menu",co),r.setAttribute("aria-expanded",i)}_setAttributeIfNotExists(t,i,r){t.hasAttribute(i)||t.setAttribute(i,r)}_elemIsActive(t){return t.classList.contains(At)}_getInnerElement(t){return t.matches(fo)?t:N.findOne(fo,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const i=Tt.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}C.on(document,Ql,zs,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),Q(this)||Tt.getOrCreateInstance(this).show()}),C.on(window,Zl,()=>{for(const s of N.find(na))Tt.getOrCreateInstance(s)}),J(Tt);const lt=".bs.toast",ia=`mouseover${lt}`,oa=`mouseout${lt}`,sa=`focusin${lt}`,ra=`focusout${lt}`,la=`hide${lt}`,aa=`hidden${lt}`,ca=`show${lt}`,da=`shown${lt}`,Is="hide",Si="show",Ni="showing",ua={animation:"boolean",autohide:"boolean",delay:"number"},fa={animation:!0,autohide:!0,delay:5e3};class si extends ge{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return fa}static get DefaultType(){return ua}static get NAME(){return"toast"}show(){C.trigger(this._element,ca).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Is),Ve(this._element),this._element.classList.add(Si,Ni),this._queueCallback(()=>{this._element.classList.remove(Ni),C.trigger(this._element,da),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(C.trigger(this._element,la).defaultPrevented||(this._element.classList.add(Ni),this._queueCallback(()=>{this._element.classList.add(Is),this._element.classList.remove(Ni,Si),C.trigger(this._element,aa)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Si),super.dispose()}isShown(){return this._element.classList.contains(Si)}_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(){C.on(this._element,ia,t=>this._onInteraction(t,!0)),C.on(this._element,oa,t=>this._onInteraction(t,!1)),C.on(this._element,sa,t=>this._onInteraction(t,!0)),C.on(this._element,ra,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const i=si.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t](this)}})}}return bt(si),J(si),{Alert:yt,Button:it,Carousel:se,Collapse:jt,Dropdown:ze,Modal:wt,Offcanvas:Ke,Popover:wi,ScrollSpy:oi,Tab:Tt,Toast:si,Tooltip:St}})}(Di)),Di.exports}var Ba=Ta();const bo=Ca(Ba);function Oa(e,o=!0){var a,f;o?(a=document.getElementById(e))==null||a.scrollIntoView({behavior:"smooth"}):(f=document.getElementById(e))==null||f.scrollIntoView()}let De=null;function Un(){De==null||De.hide(),De=null}function yo(e,o){Un();const a=document.getElementById(e);if(a){De=new bo.Modal(a,{backdrop:"static"}),De.value=o,De.id=e,De.show();const f=document.querySelector(`#${e} [autofocus]`);f&&f.focus()}}function Vi(e){var o;return(o=bo.Modal.getInstance(document.getElementById(e)))==null?void 0:o.value}function Da(e){return De?e?De.id===e&&De._isShown:De._isShown:!1}function ir(e,o=0,a=25){return(e==null?void 0:e.slice(o*a,o*a+a))??[]}function Va(e="#invalid"){var o;(o=document.querySelector(e))==null||o.focus()}function or(e,o=[]){for(const f of o)f.valid=!0;const a=document.querySelector(`#${e} [autofocus]`);a==null||a.focus()}function sr(e,o){e&&(e.modelValue=o,e.valid=!0)}function _o(e){const o=document.querySelector(`#${e}`);return o?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(a=>{a.focus(),a.blur()}),o.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)?(Co(e),!1):!0):(console.error("can't find/validate form",e),!1)}async function rr(e){const o=document.getElementById(e);return o?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(a=>{a.focus(),a.blur()}),document.querySelectorAll(`#${e} .ace_editor`).forEach(a=>{a.click()}),new Promise(a=>setTimeout(()=>{if(o.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)){Co(e),a(!1);return}a(!0)}))):(console.error("can't find/validate form",e),Promise.resolve(!1))}function Ma(e){const o=document.querySelector(`#${e} [autofocus]`);o==null||o.focus()}function Co(e){const o=document.querySelector(`#${e} :invalid, #${e} .invalid`);o==null||o.focus()}function La(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 lr(e){const o=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),a=new Intl.DateTimeFormat("en",{month:"short"}).format(e);return`${new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e)} ${a} ${o}`}function ar(e,o=!1){const[a,f,m]=[(""+e.getUTCHours()).padStart(2,"0"),(""+e.getUTCMinutes()).padStart(2,"0"),(""+e.getUTCSeconds()).padStart(2,"0")];return o?`${a}:${f}:${m}`:`${a}:${f}`}function za(e,o=!1){return`${lr(e)} ${ar(e,o)}`}function Ia(e,o,a=!0,f=!1){let m=o.getTime()-e.getTime();f?m+=1:a?m+=1e3:m+=60*1e3;const b=(""+m%1e3).padStart(3,"0");m=Math.floor(m/1e3);const p=(""+m%60).padStart(2,"0");m=Math.floor(m/60);const $=(""+m%60).padStart(2,"0");m=Math.floor(m/60);const T=(""+m).padStart(2,"0");return f?`${T}:${$}:${p}.${b}`:a?`${T}:${$}:${p}`:`${T}:${$}`}function Fa(e){const o=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e);return`${new Intl.DateTimeFormat("en",{month:"short"}).format(e)} ${o}`}function Mi(e,o=0){return e.toLocaleString("en",{minimumFractionDigits:o})}function xa(e,o,a=2){switch(o){case"EUR":o="€";break;case"USD":o="$";break}return`${o} ${Mi(e/10**a,a)}`}function Pa(e,o){return`${Mi(e)} - ${Mi(o)}`}function cr(e){return`**** **** **** ${e.replace(/ /g,"").substr(-4)}`}function ja(e,o,a=e.ID_FORM){if(a){if(_o(a)&&!e.submitting)return e.submitting=!0,o().finally(()=>{e.submitting=!1})}else if(!e.submitting)return e.submitting=!0,o().finally(()=>{e.submitting=!1});return Promise.resolve()}function Wa(e,o,a=e.ID_FORM){return e.submitting?Promise.resolve():rr(a).then(f=>{if(f)return e.submitting=!0,o().finally(()=>{e.submitting=!1})})}function Jt(e,o){const a=o.split("."),f=a.shift(),m=e[f];return[void 0,null].includes(m)?m:a.length>0?Jt(m,a.join(".")):m}function dr(e,o,a="ASC",f=!1){if(!e)return[];const m=typeof e=="function"?[...e()]:[...e],b=(p,$)=>p.localeCompare($,void 0,{ignorePunctuation:!0});return a==="ASC"?m.sort((p,$)=>(p=Jt(p,o)??"",$=Jt($,o)??"",typeof p=="string"&&typeof $=="string"?f?b(p.toUpperCase(),$.toUpperCase()):b(p,$):p>$?1:p<$?-1:0)):m.sort((p,$)=>(p=Jt(p,o)??"",$=Jt($,o)??"",typeof p=="string"&&typeof $=="string"?f?b($.toUpperCase(),p.toUpperCase()):b($,p):p<$?1:p>$?-1:0))}function ur(e,o=0,a="ASC"){return{col:o,order:a,set:function(f,m){const b=this.sort(f,m);this.col=f,this.order=b},get:function(f){return this.col===f?this.order:"NONE"},sorted:[],sorter:e,sort:function(f=this.col,m=this.order){const{sorted:b,sortedOrder:p}=this.sorter(f,m);return this.sorted=b,p}}}function Ra(e,o,a=0,f=()=>0,m=()=>Number.MAX_SAFE_INTEGER){return ur((b,p)=>({sorted:ir(dr(e,o[b],p),f(),m()),sortedOrder:p}),a)}function qa(e,o=500,a="none"){clearTimeout(er.get(a)),er.set(a,setTimeout(e,o))}const er=new Map;function Ha(e=3,o=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","eiusmod","tempor","incididunt","labore","et","dolore","magna","aliqua"]){let a="";for(let f=0;f<e;f++)a+=" "+o[Math.floor(Math.random()*o.length)];return a.substr(1)}function Ua(e=3,o=["alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","omicorn"]){const a=[];for(let f=0;f<e;f++)a.push(o[Math.floor(Math.random()*o.length)]);return a}function Xa(e){navigator.clipboard.writeText(e)}function Ya(e,o=[],a=[],f=!0){const m=[];for(const b of o)if(typeof b=="function")m.push(b());else if(b){const p=b.shift();m.push(p(...b))}for(const b of a)if(typeof b=="function")m.push(b(!1));else if(b){const p=b.shift();m.push(p(b.shift(),!1))}return f?(e.loading=Promise.all(m).finally(()=>{f&&(e.loading=null)}),e.loading):Promise.all(m)}function Ka(e,o=[],a=[],f=!0){const m=[];for(const b of o)if(typeof b=="function")m.push(b(!0));else if(b){const p=b.shift();m.push(p(!0,...b))}for(const b of a)if(typeof b=="function")m.push(b(!1));else if(b){const p=b.shift();m.push(p(!1,...b))}return f?(e.loading=Promise.all(m).finally(()=>{f&&(e.loading=null)}),e.loading):Promise.all(m)}function Ga(e){return e}function Qa(e){return e}function Ja(e){return e}const Za=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:Un,abort:function(){this.dirty?yo(this.ID_MODAL,{}):this.$emit("cancel")},emit:function(e){Un(),this.$emit(e)}}}),ec={key:0},tc={key:1},nc=["disabled"];function ic(e,o,a,f,m,b){const p=n.resolveComponent("cl-modal"),$=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock($,{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-btn-outline-text it-cancel",onClick:o[0]||(o[0]=T=>e.abort())},[o[4]||(o[4]=n.createElementVNode("i",{class:"fas fa-angle-left"},null,-1)),e.dirty?(n.openBlock(),n.createElementBlock("span",ec,n.toDisplayString(e.cancel),1)):(n.openBlock(),n.createElementBlock("span",tc,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-btn-outline-primary it-ok",{"cl-btn-spinner":e.spinner}]),disabled:e.disabled||!e.dirty,onClick:o[1]||(o[1]=T=>e.$emit("ok"))},[n.createElementVNode("span",null,n.toDisplayString(e.ok),1),o[5]||(o[5]=n.createElementVNode("i",{class:"fas fa-angle-right"},null,-1))],10,nc))],2),n.createVNode(p,{id:e.ID_MODAL},{title:n.withCtx(()=>o[6]||(o[6]=[n.createTextVNode(" Unsaved changes ")])),body:n.withCtx(()=>[n.renderSlot(e.$slots,"modal",{},()=>[o[7]||(o[7]=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-btn-outline-text it-cancel",onClick:o[2]||(o[2]=T=>e.emit("cancel",!0))}," Discard changes ")]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-btn-outline-primary it-ok",onClick:o[3]||(o[3]=T=>e.clModalHide())}," Continue editing ")]),_:3},8,["id"])]),_:3})}const en=O(Za,[["render",ic]]);en.install=e=>{e.component(en.name??"ClNoName",en)};const oc=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(){var e;for(const o of((e=document==null?void 0:document.cookie)==null?void 0:e.split(/; */))??[]){const[a,f]=o.split("=");if(a===this.cookie&&["-mtm","+mtm"].includes(f)){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=${60*60*24*395}; path=/; SameSite=Lax;`:`${this.cookie}=${e}; max-age=${60*60*24*395}; domain=.castlabs.com; path=/; SameSite=Lax;`},hide:function(){this.fade=!0,setTimeout(()=>{this.visible=!1},500)}}}),sc=["id"],rc={class:"card-body container"},lc={class:"row"},ac={class:"col-12 col-md-11"},cc={class:"cl-spacing-box text-center"};function dc(e,o,a,f,m,b){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",rc,[n.createElementVNode("div",lc,[o[3]||(o[3]=n.createElementVNode("div",{class:"col-12 col-md-1 d-none d-md-block"},[n.createElementVNode("i",{class:"cl-asset-cookie"})],-1)),n.createElementVNode("div",ac,[n.renderSlot(e.$slots,"default",{},()=>[o[2]||(o[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",cc,[n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-btn-outline-primary it-ok",onClick:o[0]||(o[0]=p=>e.accept())}," Accept "),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-btn-outline-text it-cancel",onClick:o[1]||(o[1]=p=>e.decline())}," Decline ")])])])])],10,sc)):n.createCommentVNode("",!0)}const tn=O(oc,[["render",dc]]);tn.install=e=>{e.component(tn.name??"ClNoName",tn)};const Yn={mounted(e,o){let a="";for(const m of["cl-tooltip-primary","cl-tooltip-secondary","cl-tooltip-light","cl-tooltip-dark"])e.classList.contains(m)&&(a+=` ${m}`);const f=new bo.Tooltip(e,{title:o.value,placement:o.arg,html:!0,trigger:"hover",delay:{show:65,hide:0},template:`<div class="tooltip cl-tooltip${a}" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`});return e.__tooltipInstance=f,e.addEventListener("show.bs.tooltip",function(){document.querySelectorAll(".cl-tooltip").forEach(b=>b.remove())}),f},unmounted(e){const o=e.__tooltipInstance;if(o){typeof o.dispose=="function"&&o.dispose();const a=document.querySelector(".cl-tooltip");a&&a.remove(),delete e.__tooltipInstance}}},ko={mounted(e,o){e.addEventListener("click",function(){var f;const a=typeof o.value=="function"?o.value():o.value;o.value!==""&&((f=navigator.clipboard)==null||f.writeText(a)),e.classList.add("cl-animation-flash-text"),setTimeout(()=>{e.classList.remove("cl-animation-flash-text")},1500)})}},uc=n.defineComponent({name:"ClCopy",directives:{tooltip:Yn,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(){var e;return this.copy??((e=this.$refs.content)==null?void 0:e.textContent.trim())}}}),fc={key:0,ref:"content",class:"cl-copy"},pc={ref:"content"};function hc(e,o,a,f,m,b){const p=n.resolveDirective("tooltip"),$=n.resolveDirective("clipboard");return e.unstyled?n.withDirectives((n.openBlock(),n.createElementBlock("span",fc,[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))])),[[p,e.tooltip,"top"],[$,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",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))],512)],2)),[[p,e.tooltip,"top"],[$,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)),[[p,e.tooltip,"top"],[$,e.contentToCopy]])}const nn=O(uc,[["render",hc]]);nn.install=e=>{e.component(nn.name??"ClNoName",nn)};const mc=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:cr}}),gc=["id"];function vc(e,o,a,f,m,b){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,gc),n.createTextVNode(", "+n.toDisplayString(e.validText)+" ",1),n.createElementVNode("code",null,n.toDisplayString(e.expires),1)],64)}const on=O(mc,[["render",vc]]);on.install=e=>{e.component(on.name??"ClNoName",on)};function tr(e){e.preventDefault()}const bc=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,tr)})},unmounted(){["dragenter","dragover","dragleave","drop"].forEach(e=>{document.body.removeEventListener(e,tr)})},methods:{browse:function(){const e=document.getElementById(`cl-dropzone-file-${this.$uid}`);if(e&&document.createEvent){const o=document.createEvent("MouseEvents");o.initEvent("click",!0,!1),e.dispatchEvent(o)}},browsed:function(){const o=document.getElementById(`cl-dropzone-file-${this.$uid}`).files??[];o.length>0&&this.loadFile(o[0])},mock:function(e){this.$emit("file",e)},loadFile:function(e){const o=new FileReader,a=this.$emit;a("file",e),o.onload=function(f){var m;a("content",(m=f.target)==null?void 0:m.result)},o.readAsText(e)},onDrop:function(e){e.dataTransfer&&this.loadFile(e.dataTransfer.files[0]),this.dragging=!1},onDrag:function(e){this.dragging=e}}}),yc=["id"],_c=["id","accept"];function Cc(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["cl-spacing-small",e.dragging?"cl-dragging":""]),onDragover:o[6]||(o[6]=p=>e.onDrag(!0)),onDragleave:o[7]||(o[7]=p=>e.onDrag(!1)),onDrop:o[8]||(o[8]=n.withModifiers((...p)=>e.onDrop&&e.onDrop(...p),["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:o[0]||(o[0]=(...p)=>e.browsed&&e.browsed(...p))},null,40,yc)):n.createCommentVNode("",!0),n.createElementVNode("input",{id:`cl-dropzone-file-${e.$uid}`,type:"file",accept:e.accept,class:"cl-dropzone-file",onChange:o[1]||(o[1]=(...p)=>e.browsed&&e.browsed(...p))},null,40,_c),e.camera?(n.openBlock(),n.createElementBlock("div",{key:1,class:"cl-dropzone",onClick:o[3]||(o[3]=p=>e.browse())},[o[9]||(o[9]=n.createElementVNode("i",{class:"fas fa-camera"},null,-1)),o[10]||(o[10]=n.createTextVNode("Use your ")),n.createElementVNode("a",{href:"#",onClick:o[2]||(o[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:o[5]||(o[5]=p=>e.browse())},[o[11]||(o[11]=n.createElementVNode("i",{class:"fas fa-file-upload"},null,-1)),o[12]||(o[12]=n.createTextVNode("Drop or ")),n.createElementVNode("a",{href:"#",onClick:o[4]||(o[4]=n.withModifiers(()=>{},["prevent"]))},"browse"),n.createTextVNode(" "+n.toDisplayString(e.what)+" "+n.toDisplayString(e.why)+". ",1)])),n.renderSlot(e.$slots,"default")],34)}const sn=O(bc,[["render",Cc]]);sn.install=e=>{e.component(sn.name??"ClNoName",sn)};const kc=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(()=>{var e;(e=this.$refs.input)==null||e.focus()})},validate:function(e=!1){var o;if(this.valid=!0,e&&this.runAutotrim(),this.type==="file"&&(this.filePlaceholder=this.modelValue.replace(/.*[/\\]/,"")),this.required&&(((o=this.modelValue)==null?void 0:o.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(){var a,f;const e=Number(this.minlength),o=Number(this.maxlength);this.minlength&&(((a=this.modelValue)==null?void 0:a.length)??0)<e&&this.setInvalid(this.error??`Please enter at least ${e} character`+(e>1?"s.":".")),this.maxlength&&(((f=this.modelValue)==null?void 0:f.length)??0)>o&&this.setInvalid(this.error??`Please enter at most ${o} 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 o=parseInt(e.trim());if(o.toString()!==e){this.setInvalid("Please enter a number.");return}this.min!==void 0&&this.max!==void 0?(o<parseInt(this.min)||o>parseInt(this.max))&&this.setInvalid(`Please enter a number between ${this.min} and ${this.max}.`):this.min!==void 0?o<parseInt(this.min)&&this.setInvalid(`Please enter a number >= ${this.min}.`):this.max!==void 0&&o>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)}}}),$c=["for"],Ec={key:0,class:"required"},wc=["id","autofocus","disabled","maxlength","minlength","placeholder","required"],Sc=["id","autofocus","disabled","required"],Nc=["id","autofocus","disabled","min","max","maxlength","minlength","pattern","placeholder","required","type"],Ac=["id","for"],Tc={key:1,class:"valid-feedback valid-feedback-none"};function Bc(e,o,a,f,m,b){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",Ec,"*")):n.createCommentVNode("",!0)],10,$c)):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":o[0]||(o[0]=p=>e.modelValue=p),autofocus:e.autofocus,class:e.clazz,disabled:e.disabled,maxlength:e.maxlength,minlength:e.minlength,placeholder:e.placeholder,required:e.required,onBlur:o[1]||(o[1]=p=>e.validate(!0)),onChange:o[2]||(o[2]=p=>e.validate()),onInput:o[3]||(o[3]=p=>e.validate())}),null,16,wc)),[[n.vModelText,e.modelValue]]):e.type==="select"?n.withDirectives((n.openBlock(),n.createElementBlock("select",n.mergeProps({key:2,id:e.$uid,"onUpdate:modelValue":o[4]||(o[4]=p=>e.modelValue=p),class:["form-select",e.clazz],autofocus:e.autofocus,disabled:e.disabled,required:e.required},e.$attrs,{onBlur:o[5]||(o[5]=p=>e.validate(!0)),onChange:o[6]||(o[6]=p=>e.validate())}),[n.renderSlot(e.$slots,"default")],16,Sc)),[[n.vModelSelect,e.modelValue]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",n.mergeProps({key:3,id:e.$uid},e.$attrs,{ref:"input","onUpdate:modelValue":o[7]||(o[7]=p=>e.modelValue=p),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:o[8]||(o[8]=p=>e.validate(!0)),onChange:o[9]||(o[9]=p=>e.validate()),onInput:o[10]||(o[10]=p=>e.validate())}),null,16,Nc)),[[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",Tc))],64))],64)}const rn=O(kc,[["render",Bc]]);rn.install=e=>{e.component(rn.name??"ClNoName",rn)};const Oc=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()})}}}),Dc=["id","disabled","indeterminate","autofocus"],Vc=["for"];function Mc(e,o,a,f,m,b){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":o[0]||(o[0]=p=>e.modelValue=p),class:"form-check-input",type:"checkbox",disabled:e.disabled,indeterminate:e.indeterminate,autofocus:e.autofocus},e.$attrs,{onChange:o[1]||(o[1]=p=>e.$emit("update:modelValue",e.modelValue))}),null,16,Dc),[[n.vModelCheckbox,e.modelValue]]),n.createElementVNode("label",{class:"form-check-label",for:e.id??e.$uid},[n.renderSlot(e.$slots,"default")],8,Vc)],2)}const ln=O(Oc,[["render",Mc]]);ln.install=e=>{e.component(ln.name??"ClNoName",ln)};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."}}}),zc={key:0,class:"form-label"},Ic={key:0,class:"required"},Fc=["id"],xc={class:"invalid-feedback"},Pc={key:1,class:"valid-feedback"};function jc(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.label?(n.openBlock(),n.createElementBlock("label",zc,[n.createTextVNode(n.toDisplayString(e.label),1),e.required?(n.openBlock(),n.createElementBlock("span",Ic,"*")):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,Fc),n.createElementVNode("p",xc,n.toDisplayString(e.invalidMessage),1),e.help?(n.openBlock(),n.createElementBlock("p",Pc,n.toDisplayString(e.help),1)):n.createCommentVNode("",!0)],64)}const an=O(Lc,[["render",jc]]);an.install=e=>{e.component(an.name??"ClNoName",an)};const Wc=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="";return!this.primary&&!this.secondary?e+="cl-hashtag-dark":this.primary?e+="cl-hashtag-primary":this.secondary&&(e+="cl-hashtag-secondary"),e+(this.class?` ${this.class}`:"")}}}),Rc={key:0,class:"cl-hashtag-derived"},qc=["id"];function Hc(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",Rc)):n.createCommentVNode("",!0),n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,qc)],64)}const cn=O(Wc,[["render",Hc]]);cn.install=e=>{e.component(cn.name??"ClNoName",cn)};const Uc=n.defineComponent({name:"ClIconotron",props:{src:{type:String,default:void 0}}}),Xc={class:"container cl-container-iconotron"},Yc={class:"row"},Kc={class:"col-12 col-md-3"},Gc=["src"],Qc={class:"col-12 col-md-9"};function Jc(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("div",Xc,[n.createElementVNode("div",Yc,[n.createElementVNode("div",Kc,[n.createElementVNode("img",{src:e.src,alt:""},null,8,Gc)]),n.createElementVNode("div",Qc,[n.renderSlot(e.$slots,"default")])])])}const dn=O(Uc,[["render",Jc]]);dn.install=e=>{e.component(dn.name??"ClNoName",dn)};const Zc=n.defineComponent({name:"ClInfo",directives:{tooltip:Yn},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 ed(e,o,a,f,m,b){const p=n.resolveDirective("tooltip");return e.bottom?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(e.classes)},null,2)),[[p,e.info,"bottom"]]):e.left?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(e.classes)},null,2)),[[p,e.info,"left"]]):e.right?n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:2,class:n.normalizeClass(e.classes)},null,2)),[[p,e.info,"right"]]):n.withDirectives((n.openBlock(),n.createElementBlock("i",{key:3,class:n.normalizeClass(e.classes)},null,2)),[[p,e.info,"top"]])}const un=O(Zc,[["render",ed]]);un.install=e=>{e.component(un.name??"ClNoName",un)};const td=n.defineComponent({name:"ClLinkExternal",props:{noicon:{type:Boolean,default:!1}}});function nd(e,o,a,f,m,b){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 fn=O(td,[["render",nd]]);fn.install=e=>{e.component(fn.name??"ClNoName",fn)};const id=`
|
|
5
|
+
*/var Aa=Ai.exports,er;function Ba(){return er||(er=1,function(e,o){(function(c,p){e.exports=p()})(Aa,function(){const c=new Map,p={set(s,t,i){c.has(s)||c.set(s,new Map);const r=c.get(s);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:(s,t)=>c.has(s)&&c.get(s).get(t)||null,remove(s,t){if(!c.has(s))return;const i=c.get(s);i.delete(t),i.size===0&&c.delete(s)}},b="transitionend",v=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(t,i)=>`#${CSS.escape(i)}`)),s),u=s=>{s.dispatchEvent(new Event(b))},S=s=>!(!s||typeof s!="object")&&(s.jquery!==void 0&&(s=s[0]),s.nodeType!==void 0),Y=s=>S(s)?s.jquery?s[0]:s:typeof s=="string"&&s.length>0?document.querySelector(v(s)):null,ve=s=>{if(!S(s)||s.getClientRects().length===0)return!1;const t=getComputedStyle(s).getPropertyValue("visibility")==="visible",i=s.closest("details:not([open])");if(!i)return t;if(i!==s){const r=s.closest("summary");if(r&&r.parentNode!==i||r===null)return!1}return t},pe=s=>!s||s.nodeType!==Node.ELEMENT_NODE||!!s.classList.contains("disabled")||(s.disabled!==void 0?s.disabled:s.hasAttribute("disabled")&&s.getAttribute("disabled")!=="false"),Ct=s=>{if(!document.documentElement.attachShadow)return null;if(typeof s.getRootNode=="function"){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?Ct(s.parentNode):null},Xe=()=>{},Ye=s=>{s.offsetHeight},Ln=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,zn=[],he=()=>document.documentElement.dir==="rtl",te=s=>{var t;t=()=>{const i=Ln();if(i){const r=s.NAME,a=i.fn[r];i.fn[r]=s.jQueryInterface,i.fn[r].Constructor=s,i.fn[r].noConflict=()=>(i.fn[r]=a,s.jQueryInterface)}},document.readyState==="loading"?(zn.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of zn)i()}),zn.push(t)):t()},oe=(s,t=[],i=s)=>typeof s=="function"?s.call(...t):i,Jn=(s,t,i=!0)=>{if(!i)return void oe(s);const r=(g=>{if(!g)return 0;let{transitionDuration:y,transitionDelay:k}=window.getComputedStyle(g);const E=Number.parseFloat(y),w=Number.parseFloat(k);return E||w?(y=y.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(y)+Number.parseFloat(k))):0})(t)+5;let a=!1;const d=({target:g})=>{g===t&&(a=!0,t.removeEventListener(b,d),oe(s))};t.addEventListener(b,d),setTimeout(()=>{a||u(t)},r)},In=(s,t,i,r)=>{const a=s.length;let d=s.indexOf(t);return d===-1?!i&&r?s[a-1]:s[0]:(d+=i?1:-1,r&&(d=(d+a)%a),s[Math.max(0,Math.min(d,a-1))])},Di=/[^.]*(?=\..*)\.|.*/,Zn=/\..*/,Vi=/::\d+$/,Fn={};let ei=1;const xn={mouseenter:"mouseover",mouseleave:"mouseout"},Mi=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 ti(s,t){return t&&`${t}::${ei++}`||s.uidEvent||ei++}function ni(s){const t=ti(s);return s.uidEvent=t,Fn[t]=Fn[t]||{},Fn[t]}function ii(s,t,i=null){return Object.values(s).find(r=>r.callable===t&&r.delegationSelector===i)}function oi(s,t,i){const r=typeof t=="string",a=r?i:t||i;let d=li(s);return Mi.has(d)||(d=s),[r,a,d]}function si(s,t,i,r,a){if(typeof t!="string"||!s)return;let[d,g,y]=oi(t,i,r);t in xn&&(g=(D=>function(O){if(!O.relatedTarget||O.relatedTarget!==O.delegateTarget&&!O.delegateTarget.contains(O.relatedTarget))return D.call(this,O)})(g));const k=ni(s),E=k[y]||(k[y]={}),w=ii(E,g,d?i:null);if(w)return void(w.oneOff=w.oneOff&&a);const $=ti(g,t.replace(Di,"")),L=d?function(A,D,O){return function V(R){const X=A.querySelectorAll(D);for(let{target:F}=R;F&&F!==this;F=F.parentNode)for(const P of X)if(P===F)return Ke(R,{delegateTarget:F}),V.oneOff&&C.off(A,R.type,D,O),O.apply(F,[R])}}(s,i,g):function(A,D){return function O(V){return Ke(V,{delegateTarget:A}),O.oneOff&&C.off(A,V.type,D),D.apply(A,[V])}}(s,g);L.delegationSelector=d?i:null,L.callable=g,L.oneOff=a,L.uidEvent=$,E[$]=L,s.addEventListener(y,L,d)}function ot(s,t,i,r,a){const d=ii(t[i],r,a);d&&(s.removeEventListener(i,d,!!a),delete t[i][d.uidEvent])}function ri(s,t,i,r){const a=t[i]||{};for(const[d,g]of Object.entries(a))d.includes(r)&&ot(s,t,i,g.callable,g.delegationSelector)}function li(s){return s=s.replace(Zn,""),xn[s]||s}const C={on(s,t,i,r){si(s,t,i,r,!1)},one(s,t,i,r){si(s,t,i,r,!0)},off(s,t,i,r){if(typeof t!="string"||!s)return;const[a,d,g]=oi(t,i,r),y=g!==t,k=ni(s),E=k[g]||{},w=t.startsWith(".");if(d===void 0){if(w)for(const $ of Object.keys(k))ri(s,k,$,t.slice(1));for(const[$,L]of Object.entries(E)){const A=$.replace(Vi,"");y&&!t.includes(A)||ot(s,k,g,L.callable,L.delegationSelector)}}else{if(!Object.keys(E).length)return;ot(s,k,g,d,a?i:null)}},trigger(s,t,i){if(typeof t!="string"||!s)return null;const r=Ln();let a=null,d=!0,g=!0,y=!1;t!==li(t)&&r&&(a=r.Event(t,i),r(s).trigger(a),d=!a.isPropagationStopped(),g=!a.isImmediatePropagationStopped(),y=a.isDefaultPrevented());const k=Ke(new Event(t,{bubbles:d,cancelable:!0}),i);return y&&k.preventDefault(),g&&s.dispatchEvent(k),k.defaultPrevented&&a&&a.preventDefault(),k}};function Ke(s,t={}){for(const[i,r]of Object.entries(t))try{s[i]=r}catch{Object.defineProperty(s,i,{configurable:!0,get:()=>r})}return s}function ai(s){if(s==="true")return!0;if(s==="false")return!1;if(s===Number(s).toString())return Number(s);if(s===""||s==="null")return null;if(typeof s!="string")return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function Pn(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const Be={setDataAttribute(s,t,i){s.setAttribute(`data-bs-${Pn(t)}`,i)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${Pn(t)}`)},getDataAttributes(s){if(!s)return{};const t={},i=Object.keys(s.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]=ai(s.dataset[r])}return t},getDataAttribute:(s,t)=>ai(s.getAttribute(`data-bs-${Pn(t)}`))};class $e{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=S(i)?Be.getDataAttribute(i,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...S(i)?Be.getDataAttributes(i):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,i=this.constructor.DefaultType){for(const[a,d]of Object.entries(i)){const g=t[a],y=S(g)?"element":(r=g)==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(d).test(y))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${a}" provided type "${y}" but expected type "${d}".`)}var r}}class me extends $e{constructor(t,i){super(),(t=Y(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),C.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,i,r=!0){Jn(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(Y(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.7"}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 kt=s=>{let t=s.getAttribute("data-bs-target");if(!t||t==="#"){let i=s.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=>v(i)).join(","):null},N={find:(s,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,s)),findOne:(s,t=document.documentElement)=>Element.prototype.querySelector.call(t,s),children:(s,t)=>[].concat(...s.children).filter(i=>i.matches(t)),parents(s,t){const i=[];let r=s.parentNode.closest(t);for(;r;)i.push(r),r=r.parentNode.closest(t);return i},prev(s,t){let i=s.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(s,t){let i=s.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(i=>`${i}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(i=>!pe(i)&&ve(i))},getSelectorFromElement(s){const t=kt(s);return t&&N.findOne(t)?t:null},getElementFromSelector(s){const t=kt(s);return t?N.findOne(t):null},getMultipleElementsFromSelector(s){const t=kt(s);return t?N.find(t):[]}},st=(s,t="hide")=>{const i=`click.dismiss${s.EVENT_KEY}`,r=s.NAME;C.on(document,i,`[data-bs-dismiss="${r}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),pe(this))return;const d=N.getElementFromSelector(this)||this.closest(`.${r}`);s.getOrCreateInstance(d)[t]()})},jn=".bs.alert",ci=`close${jn}`,Wn=`closed${jn}`;class rt extends me{static get NAME(){return"alert"}close(){if(C.trigger(this._element,ci).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(),C.trigger(this._element,Wn),this.dispose()}static jQueryInterface(t){return this.each(function(){const i=rt.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)}})}}st(rt,"close"),te(rt);const Ge='[data-bs-toggle="button"]';class Qe extends me{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=Qe.getOrCreateInstance(this);t==="toggle"&&i[t]()})}}C.on(document,"click.bs.button.data-api",Ge,s=>{s.preventDefault();const t=s.target.closest(Ge);Qe.getOrCreateInstance(t).toggle()}),te(Qe);const Re=".bs.swipe",Me=`touchstart${Re}`,Rn=`touchmove${Re}`,Li=`touchend${Re}`,Le=`pointerdown${Re}`,ze=`pointerup${Re}`,se={endCallback:null,leftCallback:null,rightCallback:null},$t={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Je extends $e{constructor(t,i){super(),this._element=t,t&&Je.isSupported()&&(this._config=this._getConfig(i),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return se}static get DefaultType(){return $t}static get NAME(){return"swipe"}dispose(){C.off(this._element,Re)}_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?(C.on(this._element,Le,t=>this._start(t)),C.on(this._element,ze,t=>this._end(t)),this._element.classList.add("pointer-event")):(C.on(this._element,Me,t=>this._start(t)),C.on(this._element,Rn,t=>this._move(t)),C.on(this._element,Li,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 Ee=".bs.carousel",le=".data-api",zi="ArrowLeft",di="ArrowRight",m="next",f="prev",h="left",l="right",_=`slide${Ee}`,T=`slid${Ee}`,M=`keydown${Ee}`,z=`mouseenter${Ee}`,K=`mouseleave${Ee}`,U=`dragstart${Ee}`,re=`load${Ee}${le}`,Q=`click${Ee}${le}`,J="carousel",ae="active",Oe=".active",be=".carousel-item",Ie=Oe+be,Et={[zi]:l,[di]:h},Ze={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ee={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ne extends me{constructor(t,i){super(t,i),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=N.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===J&&this.cycle()}static get Default(){return Ze}static get DefaultType(){return ee}static get NAME(){return"carousel"}next(){this._slide(m)}nextWhenVisible(){!document.hidden&&ve(this._element)&&this.next()}prev(){this._slide(f)}pause(){this._isSliding&&u(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?C.one(this._element,T,()=>this.cycle()):this.cycle())}to(t){const i=this._getItems();if(t>i.length-1||t<0)return;if(this._isSliding)return void C.one(this._element,T,()=>this.to(t));const r=this._getItemIndex(this._getActive());if(r===t)return;const a=t>r?m:f;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&&C.on(this._element,M,t=>this._keydown(t)),this._config.pause==="hover"&&(C.on(this._element,z,()=>this.pause()),C.on(this._element,K,()=>this._maybeEnableCycle())),this._config.touch&&Je.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of N.find(".carousel-item img",this._element))C.on(i,U,r=>r.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(h)),rightCallback:()=>this._slide(this._directionToOrder(l)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Je(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const i=Et[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=N.findOne(Oe,this._indicatorsElement);i.classList.remove(ae),i.removeAttribute("aria-current");const r=N.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(ae),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===m,d=i||In(this._getItems(),r,a,this._config.wrap);if(d===r)return;const g=this._getItemIndex(d),y=$=>C.trigger(this._element,$,{relatedTarget:d,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:g});if(y(_).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),Ye(d),r.classList.add(E),d.classList.add(E),this._queueCallback(()=>{d.classList.remove(E,w),d.classList.add(ae),r.classList.remove(ae,w,E),this._isSliding=!1,y(T)},r,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return N.findOne(Ie,this._element)}_getItems(){return N.find(be,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return he()?t===h?f:m:t===h?m:f}_orderToDirection(t){return he()?t===f?h:l:t===f?l:h}static jQueryInterface(t){return this.each(function(){const i=ne.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)})}}C.on(document,Q,"[data-bs-slide], [data-bs-slide-to]",function(s){const t=N.getElementFromSelector(this);if(!t||!t.classList.contains(J))return;s.preventDefault();const i=ne.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(i.to(r),void i._maybeEnableCycle()):Be.getDataAttribute(this,"slide")==="next"?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())}),C.on(window,re,()=>{const s=N.find('[data-bs-ride="carousel"]');for(const t of s)ne.getOrCreateInstance(t)}),te(ne);const ge=".bs.collapse",wt=`show${ge}`,wr=`shown${ge}`,Sr=`hide${ge}`,Nr=`hidden${ge}`,Tr=`click${ge}.data-api`,Ii="show",St="collapse",ui="collapsing",Ar=`:scope .${St} .${St}`,Fi='[data-bs-toggle="collapse"]',Br={parent:null,toggle:!0},Or={parent:"(null|element)",toggle:"boolean"};class Nt extends me{constructor(t,i){super(t,i),this._isTransitioning=!1,this._triggerArray=[];const r=N.find(Fi);for(const a of r){const d=N.getSelectorFromElement(a),g=N.find(d).filter(y=>y===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 Br}static get DefaultType(){return Or}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=>Nt.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||C.trigger(this._element,wt).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(St),this._element.classList.add(ui),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(ui),this._element.classList.add(St,Ii),this._element.style[i]="",C.trigger(this._element,wr)},this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||C.trigger(this._element,Sr).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Ye(this._element),this._element.classList.add(ui),this._element.classList.remove(St,Ii);for(const i of this._triggerArray){const r=N.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(ui),this._element.classList.add(St),C.trigger(this._element,Nr)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ii)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Y(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=N.getElementFromSelector(i);r&&this._addAriaAndCollapsedClass([i],this._isShown(r))}}_getFirstLevelChildren(t){const i=N.find(Ar,this._config.parent);return N.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=Nt.getOrCreateInstance(this,i);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t]()}})}}C.on(document,Tr,Fi,function(s){(s.target.tagName==="A"||s.delegateTarget&&s.delegateTarget.tagName==="A")&&s.preventDefault();for(const t of N.getMultipleElementsFromSelector(this))Nt.getOrCreateInstance(t,{toggle:!1}).toggle()}),te(Nt);var ce="top",ye="bottom",_e="right",de="left",fi="auto",Tt=[ce,ye,_e,de],lt="start",At="end",wo="clippingParents",xi="viewport",Bt="popper",So="reference",Pi=Tt.reduce(function(s,t){return s.concat([t+"-"+lt,t+"-"+At])},[]),ji=[].concat(Tt,[fi]).reduce(function(s,t){return s.concat([t,t+"-"+lt,t+"-"+At])},[]),No="beforeRead",To="read",Ao="afterRead",Bo="beforeMain",Oo="main",Do="afterMain",Vo="beforeWrite",Mo="write",Lo="afterWrite",zo=[No,To,Ao,Bo,Oo,Do,Vo,Mo,Lo];function Fe(s){return s?(s.nodeName||"").toLowerCase():null}function Ce(s){if(s==null)return window;if(s.toString()!=="[object Window]"){var t=s.ownerDocument;return t&&t.defaultView||window}return s}function at(s){return s instanceof Ce(s).Element||s instanceof Element}function we(s){return s instanceof Ce(s).HTMLElement||s instanceof HTMLElement}function Wi(s){return typeof ShadowRoot<"u"&&(s instanceof Ce(s).ShadowRoot||s instanceof ShadowRoot)}const Ri={name:"applyStyles",enabled:!0,phase:"write",fn:function(s){var t=s.state;Object.keys(t.elements).forEach(function(i){var r=t.styles[i]||{},a=t.attributes[i]||{},d=t.elements[i];we(d)&&Fe(d)&&(Object.assign(d.style,r),Object.keys(a).forEach(function(g){var y=a[g];y===!1?d.removeAttribute(g):d.setAttribute(g,y===!0?"":y)}))})},effect:function(s){var t=s.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(y,k){return y[k]="",y},{});we(a)&&Fe(a)&&(Object.assign(a.style,g),Object.keys(d).forEach(function(y){a.removeAttribute(y)}))})}},requires:["computeStyles"]};function xe(s){return s.split("-")[0]}var ct=Math.max,pi=Math.min,Ot=Math.round;function qi(){var s=navigator.userAgentData;return s!=null&&s.brands&&Array.isArray(s.brands)?s.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Io(){return!/^((?!chrome|android).)*safari/i.test(qi())}function Dt(s,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=s.getBoundingClientRect(),a=1,d=1;t&&we(s)&&(a=s.offsetWidth>0&&Ot(r.width)/s.offsetWidth||1,d=s.offsetHeight>0&&Ot(r.height)/s.offsetHeight||1);var g=(at(s)?Ce(s):window).visualViewport,y=!Io()&&i,k=(r.left+(y&&g?g.offsetLeft:0))/a,E=(r.top+(y&&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(s){var t=Dt(s),i=s.offsetWidth,r=s.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:s.offsetLeft,y:s.offsetTop,width:i,height:r}}function Fo(s,t){var i=t.getRootNode&&t.getRootNode();if(s.contains(t))return!0;if(i&&Wi(i)){var r=t;do{if(r&&s.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function qe(s){return Ce(s).getComputedStyle(s)}function Dr(s){return["table","td","th"].indexOf(Fe(s))>=0}function et(s){return((at(s)?s.ownerDocument:s.document)||window.document).documentElement}function hi(s){return Fe(s)==="html"?s:s.assignedSlot||s.parentNode||(Wi(s)?s.host:null)||et(s)}function xo(s){return we(s)&&qe(s).position!=="fixed"?s.offsetParent:null}function qn(s){for(var t=Ce(s),i=xo(s);i&&Dr(i)&&qe(i).position==="static";)i=xo(i);return i&&(Fe(i)==="html"||Fe(i)==="body"&&qe(i).position==="static")?t:i||function(r){var a=/firefox/i.test(qi());if(/Trident/i.test(qi())&&we(r)&&qe(r).position==="fixed")return null;var d=hi(r);for(Wi(d)&&(d=d.host);we(d)&&["html","body"].indexOf(Fe(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}(s)||t}function Ui(s){return["top","bottom"].indexOf(s)>=0?"x":"y"}function Hn(s,t,i){return ct(s,pi(t,i))}function Po(s){return Object.assign({},{top:0,right:0,bottom:0,left:0},s)}function jo(s,t){return t.reduce(function(i,r){return i[r]=s,i},{})}const Wo={name:"arrow",enabled:!0,phase:"main",fn:function(s){var t,i=s.state,r=s.name,a=s.options,d=i.elements.arrow,g=i.modifiersData.popperOffsets,y=xe(i.placement),k=Ui(y),E=[de,_e].indexOf(y)>=0?"height":"width";if(d&&g){var w=function(q,W){return Po(typeof(q=typeof q=="function"?q(Object.assign({},W.rects,{placement:W.placement})):q)!="number"?q:jo(q,Tt))}(a.padding,i),$=Hi(d),L=k==="y"?ce:de,A=k==="y"?ye:_e,D=i.rects.reference[E]+i.rects.reference[k]-g[k]-i.rects.popper[E],O=g[k]-i.rects.reference[k],V=qn(d),R=V?k==="y"?V.clientHeight||0:V.clientWidth||0:0,X=D/2-O/2,F=w[L],P=R-$[E]-w[A],I=R/2-$[E]/2+X,x=Hn(F,I,P),j=k;i.modifiersData[r]=((t={})[j]=x,t.centerOffset=x-I,t)}},effect:function(s){var t=s.state,i=s.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 Vt(s){return s.split("-")[1]}var Vr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ro(s){var t,i=s.popper,r=s.popperRect,a=s.placement,d=s.variation,g=s.offsets,y=s.position,k=s.gpuAcceleration,E=s.adaptive,w=s.roundOffsets,$=s.isFixed,L=g.x,A=L===void 0?0:L,D=g.y,O=D===void 0?0:D,V=typeof w=="function"?w({x:A,y:O}):{x:A,y:O};A=V.x,O=V.y;var R=g.hasOwnProperty("x"),X=g.hasOwnProperty("y"),F=de,P=ce,I=window;if(E){var x=qn(i),j="clientHeight",q="clientWidth";x===Ce(i)&&qe(x=et(i)).position!=="static"&&y==="absolute"&&(j="scrollHeight",q="scrollWidth"),(a===ce||(a===de||a===_e)&&d===At)&&(P=ye,O-=($&&x===I&&I.visualViewport?I.visualViewport.height:x[j])-r.height,O*=k?1:-1),a!==de&&(a!==ce&&a!==ye||d!==At)||(F=_e,A-=($&&x===I&&I.visualViewport?I.visualViewport.width:x[q])-r.width,A*=k?1:-1)}var W,Z=Object.assign({position:y},E&&Vr),ke=w===!0?function(Ve,ue){var Ne=Ve.x,Te=Ve.y,G=ue.devicePixelRatio||1;return{x:Ot(Ne*G)/G||0,y:Ot(Te*G)/G||0}}({x:A,y:O},Ce(i)):{x:A,y:O};return A=ke.x,O=ke.y,k?Object.assign({},Z,((W={})[P]=X?"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={})[P]=X?O+"px":"",t[F]=R?A+"px":"",t.transform="",t))}const Xi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(s){var t=s.state,i=s.options,r=i.gpuAcceleration,a=r===void 0||r,d=i.adaptive,g=d===void 0||d,y=i.roundOffsets,k=y===void 0||y,E={placement:xe(t.placement),variation:Vt(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 mi={passive:!0};const Yi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(s){var t=s.state,i=s.instance,r=s.options,a=r.scroll,d=a===void 0||a,g=r.resize,y=g===void 0||g,k=Ce(t.elements.popper),E=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&E.forEach(function(w){w.addEventListener("scroll",i.update,mi)}),y&&k.addEventListener("resize",i.update,mi),function(){d&&E.forEach(function(w){w.removeEventListener("scroll",i.update,mi)}),y&&k.removeEventListener("resize",i.update,mi)}},data:{}};var Mr={left:"right",right:"left",bottom:"top",top:"bottom"};function gi(s){return s.replace(/left|right|bottom|top/g,function(t){return Mr[t]})}var Lr={start:"end",end:"start"};function qo(s){return s.replace(/start|end/g,function(t){return Lr[t]})}function Ki(s){var t=Ce(s);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gi(s){return Dt(et(s)).left+Ki(s).scrollLeft}function Qi(s){var t=qe(s),i=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+r)}function Ho(s){return["html","body","#document"].indexOf(Fe(s))>=0?s.ownerDocument.body:we(s)&&Qi(s)?s:Ho(hi(s))}function Un(s,t){var i;t===void 0&&(t=[]);var r=Ho(s),a=r===((i=s.ownerDocument)==null?void 0:i.body),d=Ce(r),g=a?[d].concat(d.visualViewport||[],Qi(r)?r:[]):r,y=t.concat(g);return a?y:y.concat(Un(hi(g)))}function Ji(s){return Object.assign({},s,{left:s.x,top:s.y,right:s.x+s.width,bottom:s.y+s.height})}function Uo(s,t,i){return t===xi?Ji(function(r,a){var d=Ce(r),g=et(r),y=d.visualViewport,k=g.clientWidth,E=g.clientHeight,w=0,$=0;if(y){k=y.width,E=y.height;var L=Io();(L||!L&&a==="fixed")&&(w=y.offsetLeft,$=y.offsetTop)}return{width:k,height:E,x:w+Gi(r),y:$}}(s,i)):at(t)?function(r,a){var d=Dt(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=et(r),g=Ki(r),y=(a=r.ownerDocument)==null?void 0:a.body,k=ct(d.scrollWidth,d.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),E=ct(d.scrollHeight,d.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),w=-g.scrollLeft+Gi(r),$=-g.scrollTop;return qe(y||d).direction==="rtl"&&(w+=ct(d.clientWidth,y?y.clientWidth:0)-k),{width:k,height:E,x:w,y:$}}(et(s)))}function Xo(s){var t,i=s.reference,r=s.element,a=s.placement,d=a?xe(a):null,g=a?Vt(a):null,y=i.x+i.width/2-r.width/2,k=i.y+i.height/2-r.height/2;switch(d){case ce:t={x:y,y:i.y-r.height};break;case ye:t={x:y,y:i.y+i.height};break;case _e:t={x:i.x+i.width,y:k};break;case de: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 lt:t[E]=t[E]-(i[w]/2-r[w]/2);break;case At:t[E]=t[E]+(i[w]/2-r[w]/2)}}return t}function Mt(s,t){t===void 0&&(t={});var i=t,r=i.placement,a=r===void 0?s.placement:r,d=i.strategy,g=d===void 0?s.strategy:d,y=i.boundary,k=y===void 0?wo:y,E=i.rootBoundary,w=E===void 0?xi:E,$=i.elementContext,L=$===void 0?Bt:$,A=i.altBoundary,D=A!==void 0&&A,O=i.padding,V=O===void 0?0:O,R=Po(typeof V!="number"?V:jo(V,Tt)),X=L===Bt?So:Bt,F=s.rects.popper,P=s.elements[D?X:L],I=function(ue,Ne,Te,G){var Pe=Ne==="clippingParents"?function(H){var fe=Un(hi(H)),Ae=["absolute","fixed"].indexOf(qe(H).position)>=0&&we(H)?qn(H):H;return at(Ae)?fe.filter(function(nt){return at(nt)&&Fo(nt,Ae)&&Fe(nt)!=="body"}):[]}(ue):[].concat(Ne),je=[].concat(Pe,[Te]),It=je[0],ie=je.reduce(function(H,fe){var Ae=Uo(ue,fe,G);return H.top=ct(Ae.top,H.top),H.right=pi(Ae.right,H.right),H.bottom=pi(Ae.bottom,H.bottom),H.left=ct(Ae.left,H.left),H},Uo(ue,It,G));return ie.width=ie.right-ie.left,ie.height=ie.bottom-ie.top,ie.x=ie.left,ie.y=ie.top,ie}(at(P)?P:P.contextElement||et(s.elements.popper),k,w,g),x=Dt(s.elements.reference),j=Xo({reference:x,element:F,placement:a}),q=Ji(Object.assign({},F,j)),W=L===Bt?q:x,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},ke=s.modifiersData.offset;if(L===Bt&&ke){var Ve=ke[a];Object.keys(Z).forEach(function(ue){var Ne=[_e,ye].indexOf(ue)>=0?1:-1,Te=[ce,ye].indexOf(ue)>=0?"y":"x";Z[ue]+=Ve[Te]*Ne})}return Z}function zr(s,t){t===void 0&&(t={});var i=t,r=i.placement,a=i.boundary,d=i.rootBoundary,g=i.padding,y=i.flipVariations,k=i.allowedAutoPlacements,E=k===void 0?ji:k,w=Vt(r),$=w?y?Pi:Pi.filter(function(D){return Vt(D)===w}):Tt,L=$.filter(function(D){return E.indexOf(D)>=0});L.length===0&&(L=$);var A=L.reduce(function(D,O){return D[O]=Mt(s,{placement:O,boundary:a,rootBoundary:d,padding:g})[xe(O)],D},{});return Object.keys(A).sort(function(D,O){return A[D]-A[O]})}const Yo={name:"flip",enabled:!0,phase:"main",fn:function(s){var t=s.state,i=s.options,r=s.name;if(!t.modifiersData[r]._skip){for(var a=i.mainAxis,d=a===void 0||a,g=i.altAxis,y=g===void 0||g,k=i.fallbackPlacements,E=i.padding,w=i.boundary,$=i.rootBoundary,L=i.altBoundary,A=i.flipVariations,D=A===void 0||A,O=i.allowedAutoPlacements,V=t.options.placement,R=xe(V),X=k||(R!==V&&D?function(H){if(xe(H)===fi)return[];var fe=gi(H);return[qo(H),fe,qo(fe)]}(V):[gi(V)]),F=[V].concat(X).reduce(function(H,fe){return H.concat(xe(fe)===fi?zr(t,{placement:fe,boundary:w,rootBoundary:$,padding:E,flipVariations:D,allowedAutoPlacements:O}):fe)},[]),P=t.rects.reference,I=t.rects.popper,x=new Map,j=!0,q=F[0],W=0;W<F.length;W++){var Z=F[W],ke=xe(Z),Ve=Vt(Z)===lt,ue=[ce,ye].indexOf(ke)>=0,Ne=ue?"width":"height",Te=Mt(t,{placement:Z,boundary:w,rootBoundary:$,altBoundary:L,padding:E}),G=ue?Ve?_e:de:Ve?ye:ce;P[Ne]>I[Ne]&&(G=gi(G));var Pe=gi(G),je=[];if(d&&je.push(Te[ke]<=0),y&&je.push(Te[G]<=0,Te[Pe]<=0),je.every(function(H){return H})){q=Z,j=!1;break}x.set(Z,je)}if(j)for(var It=function(H){var fe=F.find(function(Ae){var nt=x.get(Ae);if(nt)return nt.slice(0,H).every(function(wi){return wi})});if(fe)return q=fe,"break"},ie=D?3:1;ie>0&&It(ie)!=="break";ie--);t.placement!==q&&(t.modifiersData[r]._skip=!0,t.placement=q,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ko(s,t,i){return i===void 0&&(i={x:0,y:0}),{top:s.top-t.height-i.y,right:s.right-t.width+i.x,bottom:s.bottom-t.height+i.y,left:s.left-t.width-i.x}}function Go(s){return[ce,_e,ye,de].some(function(t){return s[t]>=0})}const Qo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(s){var t=s.state,i=s.name,r=t.rects.reference,a=t.rects.popper,d=t.modifiersData.preventOverflow,g=Mt(t,{elementContext:"reference"}),y=Mt(t,{altBoundary:!0}),k=Ko(g,r),E=Ko(y,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(s){var t=s.state,i=s.options,r=s.name,a=i.offset,d=a===void 0?[0,0]:a,g=ji.reduce(function(w,$){return w[$]=function(L,A,D){var O=xe(L),V=[de,ce].indexOf(O)>=0?-1:1,R=typeof D=="function"?D(Object.assign({},A,{placement:L})):D,X=R[0],F=R[1];return X=X||0,F=(F||0)*V,[de,_e].indexOf(O)>=0?{x:F,y:X}:{x:X,y:F}}($,t.rects,d),w},{}),y=g[t.placement],k=y.x,E=y.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(s){var t=s.state,i=s.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(s){var t=s.state,i=s.options,r=s.name,a=i.mainAxis,d=a===void 0||a,g=i.altAxis,y=g!==void 0&&g,k=i.boundary,E=i.rootBoundary,w=i.altBoundary,$=i.padding,L=i.tether,A=L===void 0||L,D=i.tetherOffset,O=D===void 0?0:D,V=Mt(t,{boundary:k,rootBoundary:E,padding:$,altBoundary:w}),R=xe(t.placement),X=Vt(t.placement),F=!X,P=Ui(R),I=P==="x"?"y":"x",x=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),ke=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Ve={x:0,y:0};if(x){if(d){var ue,Ne=P==="y"?ce:de,Te=P==="y"?ye:_e,G=P==="y"?"height":"width",Pe=x[P],je=Pe+V[Ne],It=Pe-V[Te],ie=A?-q[G]/2:0,H=X===lt?j[G]:q[G],fe=X===lt?-q[G]:-j[G],Ae=t.elements.arrow,nt=A&&Ae?Hi(Ae):{width:0,height:0},wi=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},xs=wi[Ne],Ps=wi[Te],Si=Hn(0,j[G],nt[G]),ha=F?j[G]/2-ie-Si-xs-Z.mainAxis:H-Si-xs-Z.mainAxis,ma=F?-j[G]/2+ie+Si+Ps+Z.mainAxis:fe+Si+Ps+Z.mainAxis,ho=t.elements.arrow&&qn(t.elements.arrow),ga=ho?P==="y"?ho.clientTop||0:ho.clientLeft||0:0,js=(ue=ke?.[P])!=null?ue:0,va=Pe+ma-js,Ws=Hn(A?pi(je,Pe+ha-js-ga):je,Pe,A?ct(It,va):It);x[P]=Ws,Ve[P]=Ws-Pe}if(y){var Rs,ba=P==="x"?ce:de,ya=P==="x"?ye:_e,vt=x[I],Ni=I==="y"?"height":"width",qs=vt+V[ba],Hs=vt-V[ya],mo=[ce,de].indexOf(R)!==-1,Us=(Rs=ke?.[I])!=null?Rs:0,Xs=mo?qs:vt-j[Ni]-q[Ni]-Us+Z.altAxis,Ys=mo?vt+j[Ni]+q[Ni]-Us-Z.altAxis:Hs,Ks=A&&mo?function(_a,Ca,go){var Gs=Hn(_a,Ca,go);return Gs>go?go:Gs}(Xs,vt,Ys):Hn(A?Xs:qs,vt,A?Ys:Hs);x[I]=Ks,Ve[I]=Ks-vt}t.modifiersData[r]=Ve}},requiresIfExists:["offset"]};function Ir(s,t,i){i===void 0&&(i=!1);var r,a,d=we(t),g=we(t)&&function($){var L=$.getBoundingClientRect(),A=Ot(L.width)/$.offsetWidth||1,D=Ot(L.height)/$.offsetHeight||1;return A!==1||D!==1}(t),y=et(t),k=Dt(s,g,i),E={scrollLeft:0,scrollTop:0},w={x:0,y:0};return(d||!d&&!i)&&((Fe(t)!=="body"||Qi(y))&&(E=(r=t)!==Ce(r)&&we(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:Ki(r)),we(t)?((w=Dt(t,!0)).x+=t.clientLeft,w.y+=t.clientTop):y&&(w.x=Gi(y))),{x:k.left+E.scrollLeft-w.x,y:k.top+E.scrollTop-w.y,width:k.width,height:k.height}}function Fr(s){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 y=t.get(g);y&&a(y)}}),r.push(d)}return s.forEach(function(d){t.set(d.name,d)}),s.forEach(function(d){i.has(d.name)||a(d)}),r}var es={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){for(var s=arguments.length,t=new Array(s),i=0;i<s;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function vi(s){s===void 0&&(s={});var t=s,i=t.defaultModifiers,r=i===void 0?[]:i,a=t.defaultOptions,d=a===void 0?es:a;return function(g,y,k){k===void 0&&(k=d);var E,w,$={placement:"bottom",orderedModifiers:[],options:Object.assign({},es,d),modifiersData:{},elements:{reference:g,popper:y},attributes:{},styles:{}},L=[],A=!1,D={state:$,setOptions:function(V){var R=typeof V=="function"?V($.options):V;O(),$.options=Object.assign({},d,$.options,R),$.scrollParents={reference:at(g)?Un(g):g.contextElement?Un(g.contextElement):[],popper:Un(y)};var X,F,P=function(I){var x=Fr(I);return zo.reduce(function(j,q){return j.concat(x.filter(function(W){return W.phase===q}))},[])}((X=[].concat(r,$.options.modifiers),F=X.reduce(function(I,x){var j=I[x.name];return I[x.name]=j?Object.assign({},j,x,{options:Object.assign({},j.options,x.options),data:Object.assign({},j.data,x.data)}):x,I},{}),Object.keys(F).map(function(I){return F[I]})));return $.orderedModifiers=P.filter(function(I){return I.enabled}),$.orderedModifiers.forEach(function(I){var x=I.name,j=I.options,q=j===void 0?{}:j,W=I.effect;if(typeof W=="function"){var Z=W({state:$,name:x,instance:D,options:q});L.push(Z||function(){})}}),D.update()},forceUpdate:function(){if(!A){var V=$.elements,R=V.reference,X=V.popper;if(ts(R,X)){$.rects={reference:Ir(R,qn(X),$.options.strategy==="fixed"),popper:Hi(X)},$.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 P=$.orderedModifiers[F],I=P.fn,x=P.options,j=x===void 0?{}:x,q=P.name;typeof I=="function"&&($=I({state:$,options:j,name:q,instance:D})||$)}else $.reset=!1,F=-1}}},update:(E=function(){return new Promise(function(V){D.forceUpdate(),V($)})},function(){return w||(w=new Promise(function(V){Promise.resolve().then(function(){w=void 0,V(E())})})),w}),destroy:function(){O(),A=!0}};if(!ts(g,y))return D;function O(){L.forEach(function(V){return V()}),L=[]}return D.setOptions(k).then(function(V){!A&&k.onFirstUpdate&&k.onFirstUpdate(V)}),D}}var xr=vi(),Pr=vi({defaultModifiers:[Yi,Zi,Xi,Ri]}),eo=vi({defaultModifiers:[Yi,Zi,Xi,Ri,Jo,Yo,Zo,Wo,Qo]});const ns=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Do,afterRead:Ao,afterWrite:Lo,applyStyles:Ri,arrow:Wo,auto:fi,basePlacements:Tt,beforeMain:Bo,beforeRead:No,beforeWrite:Vo,bottom:ye,clippingParents:wo,computeStyles:Xi,createPopper:eo,createPopperBase:xr,createPopperLite:Pr,detectOverflow:Mt,end:At,eventListeners:Yi,flip:Yo,hide:Qo,left:de,main:Oo,modifierPhases:zo,offset:Jo,placements:ji,popper:Bt,popperGenerator:vi,popperOffsets:Zi,preventOverflow:Zo,read:To,reference:So,right:_e,start:lt,top:ce,variationPlacements:Pi,viewport:xi,write:Mo},Symbol.toStringTag,{value:"Module"})),is="dropdown",dt=".bs.dropdown",to=".data-api",jr="ArrowUp",os="ArrowDown",Wr=`hide${dt}`,Rr=`hidden${dt}`,qr=`show${dt}`,Hr=`shown${dt}`,ss=`click${dt}${to}`,rs=`keydown${dt}${to}`,Ur=`keyup${dt}${to}`,Lt="show",ut='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Xr=`${ut}.${Lt}`,bi=".dropdown-menu",Yr=he()?"top-end":"top-start",Kr=he()?"top-start":"top-end",Gr=he()?"bottom-end":"bottom-start",Qr=he()?"bottom-start":"bottom-end",Jr=he()?"left-start":"right-start",Zr=he()?"right-start":"left-start",el={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},tl={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class De extends me{constructor(t,i){super(t,i),this._popper=null,this._parent=this._element.parentNode,this._menu=N.next(this._element,bi)[0]||N.prev(this._element,bi)[0]||N.findOne(bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return el}static get DefaultType(){return tl}static get NAME(){return is}toggle(){return this._isShown()?this.hide():this.show()}show(){if(pe(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!C.trigger(this._element,qr,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))C.on(i,"mouseover",Xe);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Lt),this._element.classList.add(Lt),C.trigger(this._element,Hr,t)}}hide(){if(pe(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(!C.trigger(this._element,Wr,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))C.off(i,"mouseover",Xe);this._popper&&this._popper.destroy(),this._menu.classList.remove(Lt),this._element.classList.remove(Lt),this._element.setAttribute("aria-expanded","false"),Be.removeDataAttribute(this._menu,"popper"),C.trigger(this._element,Rr,t),this._element.focus()}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!S(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:S(this._config.reference)?t=Y(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(Lt)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Jr;if(t.classList.contains("dropstart"))return Zr;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?Kr:Yr:i?Qr:Gr}_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")&&(Be.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=N.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(a=>ve(a));r.length&&In(r,i,t===os,!r.includes(i)).focus()}static jQueryInterface(t){return this.each(function(){const i=De.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=N.find(Xr);for(const r of i){const a=De.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 y={relatedTarget:a._element};t.type==="click"&&(y.clickEvent=t),a._completeHide(y)}}static dataApiKeydownHandler(t){const i=/input|textarea/i.test(t.target.tagName),r=t.key==="Escape",a=[jr,os].includes(t.key);if(!a&&!r||i&&!r)return;t.preventDefault();const d=this.matches(ut)?this:N.prev(this,ut)[0]||N.next(this,ut)[0]||N.findOne(ut,t.delegateTarget.parentNode),g=De.getOrCreateInstance(d);if(a)return t.stopPropagation(),g.show(),void g._selectMenuItem(t);g._isShown()&&(t.stopPropagation(),g.hide(),d.focus())}}C.on(document,rs,ut,De.dataApiKeydownHandler),C.on(document,rs,bi,De.dataApiKeydownHandler),C.on(document,ss,De.clearMenus),C.on(document,Ur,De.clearMenus),C.on(document,ss,ut,function(s){s.preventDefault(),De.getOrCreateInstance(this).toggle()}),te(De);const ls="backdrop",as="show",cs=`mousedown.bs.${ls}`,nl={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},il={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ds extends $e{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return nl}static get DefaultType(){return il}static get NAME(){return ls}show(t){if(!this._config.isVisible)return void oe(t);this._append();const i=this._getElement();this._config.isAnimated&&Ye(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&&(C.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=Y(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),C.on(t,cs,()=>{oe(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Jn(t,this._getElement(),this._config.isAnimated)}}const yi=".bs.focustrap",ol=`focusin${yi}`,sl=`keydown.tab${yi}`,us="backward",rl={autofocus:!0,trapElement:null},ll={autofocus:"boolean",trapElement:"element"};class fs extends $e{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return rl}static get DefaultType(){return ll}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),C.off(document,yi),C.on(document,ol,t=>this._handleFocusin(t)),C.on(document,sl,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,C.off(document,yi))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const r=N.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",_i="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,_i,i=>i+t),this._setElementAttributes(ps,_i,i=>i+t),this._setElementAttributes(hs,ms,i=>i-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_i),this._resetElementAttributes(ps,_i),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&&Be.setDataAttribute(t,i,r)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,r=>{const a=Be.getDataAttribute(r,i);a!==null?(Be.removeDataAttribute(r,i),r.style.setProperty(i,a)):r.style.removeProperty(i)})}_applyManipulationCallback(t,i){if(S(t))i(t);else for(const r of N.find(t,this._element))i(r)}}const Se=".bs.modal",al=`hide${Se}`,cl=`hidePrevented${Se}`,gs=`hidden${Se}`,vs=`show${Se}`,dl=`shown${Se}`,ul=`resize${Se}`,fl=`click.dismiss${Se}`,pl=`mousedown.dismiss${Se}`,hl=`keydown.dismiss${Se}`,ml=`click${Se}.data-api`,bs="modal-open",ys="show",io="modal-static",gl={backdrop:!0,focus:!0,keyboard:!0},vl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ft extends me{constructor(t,i){super(t,i),this._dialog=N.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 gl}static get DefaultType(){return vl}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||C.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&&(C.trigger(this._element,al).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ys),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){C.off(window,Se),C.off(this._dialog,Se),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=N.findOne(".modal-body",this._dialog);i&&(i.scrollTop=0),Ye(this._element),this._element.classList.add(ys),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,C.trigger(this._element,dl,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){C.on(this._element,hl,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),C.on(window,ul,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),C.on(this._element,pl,t=>{C.one(this._element,fl,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(),C.trigger(this._element,gs)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(C.trigger(this._element,cl).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=he()?"paddingLeft":"paddingRight";this._element.style[a]=`${i}px`}if(!r&&t){const a=he()?"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=ft.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0)throw new TypeError(`No method named "${t}"`);r[t](i)}})}}C.on(document,ml,'[data-bs-toggle="modal"]',function(s){const t=N.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),C.one(t,vs,r=>{r.defaultPrevented||C.one(t,gs,()=>{ve(this)&&this.focus()})});const i=N.findOne(".modal.show");i&&ft.getInstance(i).hide(),ft.getOrCreateInstance(t).toggle(this)}),st(ft),te(ft);const He=".bs.offcanvas",_s=".data-api",bl=`load${He}${_s}`,Cs="show",ks="showing",$s="hiding",Es=".offcanvas.show",yl=`show${He}`,_l=`shown${He}`,Cl=`hide${He}`,ws=`hidePrevented${He}`,Ss=`hidden${He}`,kl=`resize${He}`,$l=`click${He}${_s}`,El=`keydown.dismiss${He}`,wl={backdrop:!0,keyboard:!0,scroll:!1},Sl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ue extends me{constructor(t,i){super(t,i),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return wl}static get DefaultType(){return Sl}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||C.trigger(this._element,yl,{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),C.trigger(this._element,_l,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(C.trigger(this._element,Cl).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(),C.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():C.trigger(this._element,ws)}:null})}_initializeFocusTrap(){return new fs({trapElement:this._element})}_addEventListeners(){C.on(this._element,El,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():C.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)}})}}C.on(document,$l,'[data-bs-toggle="offcanvas"]',function(s){const t=N.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),pe(this))return;C.one(t,Ss,()=>{ve(this)&&this.focus()});const i=N.findOne(Es);i&&i!==t&&Ue.getInstance(i).hide(),Ue.getOrCreateInstance(t).toggle(this)}),C.on(window,bl,()=>{for(const s of N.find(Es))Ue.getOrCreateInstance(s).show()}),C.on(window,kl,()=>{for(const s of N.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(s).position!=="fixed"&&Ue.getOrCreateInstance(s).hide()}),st(Ue),te(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:[]},Nl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Tl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Al=(s,t)=>{const i=s.nodeName.toLowerCase();return t.includes(i)?!Nl.has(i)||!!Tl.test(s.nodeValue):t.filter(r=>r instanceof RegExp).some(r=>r.test(i))},Bl={allowList:Ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ol={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Dl={entry:"(string|element|function|null)",selector:"(string|element)"};class Vl extends $e{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Bl}static get DefaultType(){return Ol}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},Dl)}_setContent(t,i,r){const a=N.findOne(r,t);a&&((i=this._resolvePossibleFunction(i))?S(i)?this._putElementInTemplate(Y(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 y of g){const k=y.nodeName.toLowerCase();if(!Object.keys(r).includes(k)){y.remove();continue}const E=[].concat(...y.attributes),w=[].concat(r["*"]||[],r[k]||[]);for(const $ of E)Al($,w)||y.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 Ml=new Set(["sanitize","allowList","sanitizeFn"]),oo="fade",Ci="show",Ll=".tooltip-inner",Ts=".modal",As="hide.bs.modal",Xn="hover",so="focus",ro="click",zl={AUTO:"auto",TOP:"top",RIGHT:he()?"left":"right",BOTTOM:"bottom",LEFT:he()?"right":"left"},Il={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"},Fl={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 pt extends me{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 Il}static get DefaultType(){return Fl}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),C.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=C.trigger(this._element,this.constructor.eventName("show")),i=(Ct(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),C.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(r),r.classList.add(Ci),"ontouchstart"in document.documentElement)for(const d of[].concat(...document.body.children))C.on(d,"mouseover",Xe);this._queueCallback(()=>{C.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!C.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Ci),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))C.off(t,"mouseover",Xe);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"),C.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,Ci),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 Vl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ll]: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(Ci)}_createPopper(t){const i=oe(this._config.placement,[this,t,this._element]),r=zl[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")C.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");C.on(this._element,r,this._config.selector,d=>{const g=this._initializeOnDelegatedTarget(d);g._activeTrigger[d.type==="focusin"?so:Xn]=!0,g._enter()}),C.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()},C.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=Be.getDataAttributes(this._element);for(const r of Object.keys(i))Ml.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:Y(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=pt.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}te(pt);const xl=".popover-header",Pl=".popover-body",jl={...pt.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"},Wl={...pt.DefaultType,content:"(null|string|element|function)"};class ki extends pt{static get Default(){return jl}static get DefaultType(){return Wl}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[xl]:this._getTitle(),[Pl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const i=ki.getOrCreateInstance(this,t);if(typeof t=="string"){if(i[t]===void 0)throw new TypeError(`No method named "${t}"`);i[t]()}})}}te(ki);const lo=".bs.scrollspy",Rl=`activate${lo}`,Bs=`click${lo}`,ql=`load${lo}.data-api`,zt="active",ao="[href]",Os=".nav-link",Hl=`${Os}, .nav-item > ${Os}, .list-group-item`,Ul={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Xl={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Yn extends me{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 Ul}static get DefaultType(){return Xl}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=Y(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&&(C.off(this._config.target,Bs),C.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 y=g.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&y){if(r(g),!a)return}else d||y||r(g)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=N.find(ao,this._config.target);for(const i of t){if(!i.hash||pe(i))continue;const r=N.findOne(decodeURI(i.hash),this._element);ve(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(zt),this._activateParents(t),C.trigger(this._element,Rl,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))N.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(zt);else for(const i of N.parents(t,".nav, .list-group"))for(const r of N.prev(i,Hl))r.classList.add(zt)}_clearActiveClass(t){t.classList.remove(zt);const i=N.find(`${ao}.${zt}`,t);for(const r of i)r.classList.remove(zt)}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]()}})}}C.on(window,ql,()=>{for(const s of N.find('[data-bs-spy="scroll"]'))Yn.getOrCreateInstance(s)}),te(Yn);const ht=".bs.tab",Yl=`hide${ht}`,Kl=`hidden${ht}`,Gl=`show${ht}`,Ql=`shown${ht}`,Jl=`click${ht}`,Zl=`keydown${ht}`,ea=`load${ht}`,ta="ArrowLeft",Ds="ArrowRight",na="ArrowUp",Vs="ArrowDown",co="Home",Ms="End",mt="active",Ls="fade",uo="show",zs=".dropdown-toggle",fo=`:not(${zs})`,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}`,ia=`.${mt}[data-bs-toggle="tab"], .${mt}[data-bs-toggle="pill"], .${mt}[data-bs-toggle="list"]`;class gt extends me{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),C.on(this._element,Zl,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?C.trigger(i,Yl,{relatedTarget:t}):null;C.trigger(t,Gl,{relatedTarget:i}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(i,t),this._activate(t,i))}_activate(t,i){t&&(t.classList.add(mt),this._activate(N.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),C.trigger(t,Ql,{relatedTarget:i})):t.classList.add(uo)},t,t.classList.contains(Ls)))}_deactivate(t,i){t&&(t.classList.remove(mt),t.blur(),this._deactivate(N.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),C.trigger(t,Kl,{relatedTarget:i})):t.classList.remove(uo)},t,t.classList.contains(Ls)))}_keydown(t){if(![ta,Ds,na,Vs,co,Ms].includes(t.key))return;t.stopPropagation(),t.preventDefault();const i=this._getChildren().filter(a=>!pe(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=In(i,t.target,a,!0)}r&&(r.focus({preventScroll:!0}),gt.getOrCreateInstance(r).show())}_getChildren(){return N.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=N.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 y=N.findOne(d,r);y&&y.classList.toggle(g,i)};a(zs,mt),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(mt)}_getInnerElement(t){return t.matches(po)?t:N.findOne(po,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const i=gt.getOrCreateInstance(this);if(typeof t=="string"){if(i[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);i[t]()}})}}C.on(document,Jl,Is,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),pe(this)||gt.getOrCreateInstance(this).show()}),C.on(window,ea,()=>{for(const s of N.find(ia))gt.getOrCreateInstance(s)}),te(gt);const tt=".bs.toast",oa=`mouseover${tt}`,sa=`mouseout${tt}`,ra=`focusin${tt}`,la=`focusout${tt}`,aa=`hide${tt}`,ca=`hidden${tt}`,da=`show${tt}`,ua=`shown${tt}`,Fs="hide",$i="show",Ei="showing",fa={animation:"boolean",autohide:"boolean",delay:"number"},pa={animation:!0,autohide:!0,delay:5e3};class Kn extends me{constructor(t,i){super(t,i),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return pa}static get DefaultType(){return fa}static get NAME(){return"toast"}show(){C.trigger(this._element,da).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Fs),Ye(this._element),this._element.classList.add($i,Ei),this._queueCallback(()=>{this._element.classList.remove(Ei),C.trigger(this._element,ua),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(C.trigger(this._element,aa).defaultPrevented||(this._element.classList.add(Ei),this._queueCallback(()=>{this._element.classList.add(Fs),this._element.classList.remove(Ei,$i),C.trigger(this._element,ca)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove($i),super.dispose()}isShown(){return this._element.classList.contains($i)}_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(){C.on(this._element,oa,t=>this._onInteraction(t,!0)),C.on(this._element,sa,t=>this._onInteraction(t,!1)),C.on(this._element,ra,t=>this._onInteraction(t,!0)),C.on(this._element,la,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 st(Kn),te(Kn),{Alert:rt,Button:Qe,Carousel:ne,Collapse:Nt,Dropdown:De,Modal:ft,Offcanvas:Ue,Popover:ki,ScrollSpy:Yn,Tab:gt,Toast:Kn,Tooltip:pt}})}(Ai)),Ai.exports}var Oa=Ba();const bo=ka(Oa);function Da(e,o=!0){o?document.getElementById(e)?.scrollIntoView({behavior:"smooth"}):document.getElementById(e)?.scrollIntoView()}let We=null;function Dn(){We?.hide(),We=null}function yo(e,o){Dn();const c=document.getElementById(e);if(c){We=new bo.Modal(c,{backdrop:"static"}),We.value=o,We.id=e,We.show();const p=document.querySelector(`#${e} [autofocus]`);p&&p.focus()}}function Bi(e){return bo.Modal.getInstance(document.getElementById(e))?.value}function Va(e){return We?e?We.id===e&&We._isShown:We._isShown:!1}function or(e,o=0,c=25){return e?.slice(o*c,o*c+c)??[]}function Ma(e="#invalid"){document.querySelector(e)?.focus()}function sr(e,o=[]){for(const p of o)p.valid=!0;document.querySelector(`#${e} [autofocus]`)?.focus()}function rr(e,o){e&&(e.modelValue=o,e.valid=!0)}function _o(e){const o=document.querySelector(`#${e}`);return o?(document.querySelectorAll(`#${e} input, #${e} .form-control`).forEach(c=>{c.focus(),c.blur()}),o.checkValidity()===!1||document.querySelector(`#${e} :invalid, #${e} .invalid`)?(Co(e),!1):!0):(console.error("can't find/validate form",e),!1)}async function lr(e){const o=document.getElementById(e);return o?(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(o.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 za(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 ar(e){const o=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} ${o}`}function cr(e,o=!1){const[c,p,b]=[(""+e.getUTCHours()).padStart(2,"0"),(""+e.getUTCMinutes()).padStart(2,"0"),(""+e.getUTCSeconds()).padStart(2,"0")];return o?`${c}:${p}:${b}`:`${c}:${p}`}function Ia(e,o=!1){return`${ar(e)} ${cr(e,o)}`}function Fa(e,o,c=!0,p=!1){let b=o.getTime()-e.getTime();p?b+=1:c?b+=1e3:b+=60*1e3;const v=(""+b%1e3).padStart(3,"0");b=Math.floor(b/1e3);const u=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const S=(""+b%60).padStart(2,"0");b=Math.floor(b/60);const Y=(""+b).padStart(2,"0");return p?`${Y}:${S}:${u}.${v}`:c?`${Y}:${S}:${u}`:`${Y}:${S}`}function xa(e){const o=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e);return`${new Intl.DateTimeFormat("en",{month:"short"}).format(e)} ${o}`}function Oi(e,o=0){return e.toLocaleString("en",{minimumFractionDigits:o})}function Pa(e,o,c=2){switch(o){case"EUR":o="€";break;case"USD":o="$";break}return`${o} ${Oi(e/10**c,c)}`}function ja(e,o){return`${Oi(e)} - ${Oi(o)}`}function dr(e){return`**** **** **** ${e.replace(/ /g,"").substr(-4)}`}function Wa(e,o,c=e.ID_FORM){if(c){if(_o(c)&&!e.submitting)return e.submitting=!0,o().finally(()=>{e.submitting=!1})}else if(!e.submitting)return e.submitting=!0,o().finally(()=>{e.submitting=!1});return Promise.resolve()}function Ra(e,o,c=e.ID_FORM){return e.submitting?Promise.resolve():lr(c).then(p=>{if(p)return e.submitting=!0,o().finally(()=>{e.submitting=!1})})}function Ft(e,o){const c=o.split("."),p=c.shift(),b=e[p];return[void 0,null].includes(b)?b:c.length>0?Ft(b,c.join(".")):b}function ur(e,o,c="ASC",p=!1){if(!e)return[];const b=typeof e=="function"?[...e()]:[...e],v=(u,S)=>u.localeCompare(S,void 0,{ignorePunctuation:!0});return c==="ASC"?b.sort((u,S)=>(u=Ft(u,o)??"",S=Ft(S,o)??"",typeof u=="string"&&typeof S=="string"?p?v(u.toUpperCase(),S.toUpperCase()):v(u,S):u>S?1:u<S?-1:0)):b.sort((u,S)=>(u=Ft(u,o)??"",S=Ft(S,o)??"",typeof u=="string"&&typeof S=="string"?p?v(S.toUpperCase(),u.toUpperCase()):v(S,u):u<S?1:u>S?-1:0))}function fr(e,o=0,c="ASC"){return{col:o,order:c,set:function(p,b){const v=this.sort(p,b);this.col=p,this.order=v},get:function(p){return this.col===p?this.order:"NONE"},sorted:[],sorter:e,sort:function(p=this.col,b=this.order){const{sorted:v,sortedOrder:u}=this.sorter(p,b);return this.sorted=v,u}}}function qa(e,o,c=0,p=()=>0,b=()=>Number.MAX_SAFE_INTEGER){return fr((v,u)=>({sorted:or(ur(e,o[v],u),p(),b()),sortedOrder:u}),c)}function Ha(e,o=500,c="none"){clearTimeout(tr.get(c)),tr.set(c,setTimeout(e,o))}const tr=new Map;function Ua(e=3,o=["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+=" "+o[Math.floor(Math.random()*o.length)];return c.substr(1)}function Xa(e=3,o=["alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","omicorn"]){const c=[];for(let p=0;p<e;p++)c.push(o[Math.floor(Math.random()*o.length)]);return c}function Ya(e){navigator.clipboard.writeText(e)}function Ka(e,o=[],c=[],p=!0){const b=[];for(const v of o)if(typeof v=="function")b.push(v());else if(v){const u=v.shift();b.push(u(...v))}for(const v of c)if(typeof v=="function")b.push(v(!1));else if(v){const u=v.shift();b.push(u(v.shift(),!1))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Ga(e,o=[],c=[],p=!0){const b=[];for(const v of o)if(typeof v=="function")b.push(v(!0));else if(v){const u=v.shift();b.push(u(!0,...v))}for(const v of c)if(typeof v=="function")b.push(v(!1));else if(v){const u=v.shift();b.push(u(!1,...v))}return p?(e.loading=Promise.all(b).finally(()=>{p&&(e.loading=null)}),e.loading):Promise.all(b)}function Qa(e){return e}function Ja(e){return e}function Za(e){return e}const ec=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:Dn,abort:function(){this.dirty?yo(this.ID_MODAL,{}):this.$emit("cancel")},emit:function(e){Dn(),this.$emit(e)}}}),tc={key:0},nc={key:1},ic=["disabled"];function oc(e,o,c,p,b,v){const u=n.resolveComponent("cl-modal"),S=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(S,{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-btn-outline-text it-cancel",onClick:o[0]||(o[0]=Y=>e.abort())},[o[4]||(o[4]=n.createElementVNode("i",{class:"fas fa-angle-left"},null,-1)),e.dirty?(n.openBlock(),n.createElementBlock("span",tc,n.toDisplayString(e.cancel),1)):(n.openBlock(),n.createElementBlock("span",nc,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-btn-outline-primary it-ok",{"cl-btn-spinner":e.spinner}]),disabled:e.disabled||!e.dirty,onClick:o[1]||(o[1]=Y=>e.$emit("ok"))},[n.createElementVNode("span",null,n.toDisplayString(e.ok),1),o[5]||(o[5]=n.createElementVNode("i",{class:"fas fa-angle-right"},null,-1))],10,ic))],2),n.createVNode(u,{id:e.ID_MODAL},{title:n.withCtx(()=>o[6]||(o[6]=[n.createTextVNode(" Unsaved changes ",-1)])),body:n.withCtx(()=>[n.renderSlot(e.$slots,"modal",{},()=>[o[7]||(o[7]=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-btn-outline-text it-cancel",onClick:o[2]||(o[2]=Y=>e.emit("cancel",!0))}," Discard changes ")]),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:"btn cl-btn-outline-primary it-ok",onClick:o[3]||(o[3]=Y=>e.clModalHide())}," Continue editing ")]),_:3},8,["id"])]),_:3})}const Pt=B(ec,[["render",oc]]);Pt.install=e=>{e.component(Pt.name??"ClNoName",Pt)};const sc=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[o,c]=e.split("=");if(o===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)}}}),rc=["id"],lc={class:"card-body container"},ac={class:"row"},cc={class:"col-12 col-md-11"},dc={class:"cl-spacing-box text-center"};function uc(e,o,c,p,b,v){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",lc,[n.createElementVNode("div",ac,[o[3]||(o[3]=n.createElementVNode("div",{class:"col-12 col-md-1 d-none d-md-block"},[n.createElementVNode("i",{class:"cl-asset-cookie"})],-1)),n.createElementVNode("div",cc,[n.renderSlot(e.$slots,"default",{},()=>[o[2]||(o[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-btn-outline-primary it-ok",onClick:o[0]||(o[0]=u=>e.accept())}," Accept "),n.createElementVNode("button",{type:"button",class:"btn btn-sm cl-btn-outline-text it-cancel",onClick:o[1]||(o[1]=u=>e.decline())}," Decline ")])])])])],10,rc)):n.createCommentVNode("",!0)}const jt=B(sc,[["render",uc]]);jt.install=e=>{e.component(jt.name??"ClNoName",jt)};const Mn={mounted(e,o){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:o.value,placement:o.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(v=>v.remove())}),p},unmounted(e){const o=e.__tooltipInstance;if(o){typeof o.dispose=="function"&&o.dispose();const c=document.querySelector(".cl-tooltip");c&&c.remove(),delete e.__tooltipInstance}}},ko={mounted(e,o){e.addEventListener("click",function(){const c=typeof o.value=="function"?o.value():o.value;o.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:Mn,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,o,c,p,b,v){const u=n.resolveDirective("tooltip"),S=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"],[S,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"],[S,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"],[S,e.contentToCopy]])}const Wt=B(fc,[["render",mc]]);Wt.install=e=>{e.component(Wt.name??"ClNoName",Wt)};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:dr}}),vc=["id"];function bc(e,o,c,p,b,v){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 Rt=B(gc,[["render",bc]]);Rt.install=e=>{e.component(Rt.name??"ClNoName",Rt)};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 o=document.createEvent("MouseEvents");o.initEvent("click",!0,!1),e.dispatchEvent(o)}},browsed:function(){const o=document.getElementById(`cl-dropzone-file-${this.$uid}`).files??[];o.length>0&&this.loadFile(o[0])},mock:function(e){this.$emit("file",e)},loadFile:function(e){const o=new FileReader,c=this.$emit;c("file",e),o.onload=function(p){c("content",p.target?.result)},o.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,o,c,p,b,v){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["cl-spacing-small",e.dragging?"cl-dragging":""]),onDragover:o[6]||(o[6]=u=>e.onDrag(!0)),onDragleave:o[7]||(o[7]=u=>e.onDrag(!1)),onDrop:o[8]||(o[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:o[0]||(o[0]=(...u)=>e.browsed&&e.browsed(...u))},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:o[1]||(o[1]=(...u)=>e.browsed&&e.browsed(...u))},null,40,Cc),e.camera?(n.openBlock(),n.createElementBlock("div",{key:1,class:"cl-dropzone",onClick:o[3]||(o[3]=u=>e.browse())},[o[9]||(o[9]=n.createElementVNode("i",{class:"fas fa-camera"},null,-1)),o[10]||(o[10]=n.createTextVNode("Use your ",-1)),n.createElementVNode("a",{href:"#",onClick:o[2]||(o[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:o[5]||(o[5]=u=>e.browse())},[o[11]||(o[11]=n.createElementVNode("i",{class:"fas fa-file-upload"},null,-1)),o[12]||(o[12]=n.createTextVNode("Drop or ",-1)),n.createElementVNode("a",{href:"#",onClick:o[4]||(o[4]=n.withModifiers(()=>{},["prevent"]))},"browse"),n.createTextVNode(" "+n.toDisplayString(e.what)+" "+n.toDisplayString(e.why)+". ",1)])),n.renderSlot(e.$slots,"default")],34)}const qt=B(yc,[["render",kc]]);qt.install=e=>{e.component(qt.name??"ClNoName",qt)};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.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),o=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)>o&&this.setInvalid(this.error??`Please enter at most ${o} 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 o=parseInt(e.trim());if(o.toString()!==e){this.setInvalid("Please enter a number.");return}this.min!==void 0&&this.max!==void 0?(o<parseInt(this.min)||o>parseInt(this.max))&&this.setInvalid(`Please enter a number between ${this.min} and ${this.max}.`):this.min!==void 0?o<parseInt(this.min)&&this.setInvalid(`Please enter a number >= ${this.min}.`):this.max!==void 0&&o>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,o,c,p,b,v){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":o[0]||(o[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:o[1]||(o[1]=u=>e.validate(!0)),onChange:o[2]||(o[2]=u=>e.validate()),onInput:o[3]||(o[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":o[4]||(o[4]=u=>e.modelValue=u),class:["form-select",e.clazz],autofocus:e.autofocus,disabled:e.disabled,required:e.required},e.$attrs,{onBlur:o[5]||(o[5]=u=>e.validate(!0)),onChange:o[6]||(o[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":o[7]||(o[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:o[8]||(o[8]=u=>e.validate(!0)),onChange:o[9]||(o[9]=u=>e.validate()),onInput:o[10]||(o[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 Ht=B($c,[["render",Oc]]);Ht.install=e=>{e.component(Ht.name??"ClNoName",Ht)};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 Lc(e,o,c,p,b,v){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":o[0]||(o[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,indeterminate:e.indeterminate,autofocus:e.autofocus},e.$attrs,{onChange:o[1]||(o[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 Ut=B(Dc,[["render",Lc]]);Ut.install=e=>{e.component(Ut.name??"ClNoName",Ut)};const zc=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"},xc=["id"],Pc={class:"invalid-feedback"},jc={key:1,class:"valid-feedback"};function Wc(e,o,c,p,b,v){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,xc),n.createElementVNode("p",Pc,n.toDisplayString(e.invalidMessage),1),e.help?(n.openBlock(),n.createElementBlock("p",jc,n.toDisplayString(e.help),1)):n.createCommentVNode("",!0)],64)}const Xt=B(zc,[["render",Wc]]);Xt.install=e=>{e.component(Xt.name??"ClNoName",Xt)};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="";return!this.primary&&!this.secondary?e+="cl-hashtag-dark":this.primary?e+="cl-hashtag-primary":this.secondary&&(e+="cl-hashtag-secondary"),e+(this.class?` ${this.class}`:"")}}}),qc={key:0,class:"cl-hashtag-derived"},Hc=["id"];function Uc(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",qc)):n.createCommentVNode("",!0),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)],64)}const Yt=B(Rc,[["render",Uc]]);Yt.install=e=>{e.component(Yt.name??"ClNoName",Yt)};const Xc=n.defineComponent({name:"ClIconotron",props:{src:{type:String,default:void 0}}}),Yc={class:"container cl-container-iconotron"},Kc={class:"row"},Gc={class:"col-12 col-md-3"},Qc=["src"],Jc={class:"col-12 col-md-9"};function Zc(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("div",Yc,[n.createElementVNode("div",Kc,[n.createElementVNode("div",Gc,[n.createElementVNode("img",{src:e.src,alt:""},null,8,Qc)]),n.createElementVNode("div",Jc,[n.renderSlot(e.$slots,"default")])])])}const Kt=B(Xc,[["render",Zc]]);Kt.install=e=>{e.component(Kt.name??"ClNoName",Kt)};const ed=n.defineComponent({name:"ClInfo",directives:{tooltip:Mn},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 td(e,o,c,p,b,v){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 Gt=B(ed,[["render",td]]);Gt.install=e=>{e.component(Gt.name??"ClNoName",Gt)};const nd=n.defineComponent({name:"ClLinkExternal",props:{noicon:{type:Boolean,default:!1}}});function id(e,o,c,p,b,v){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 Qt=B(nd,[["render",id]]);Qt.install=e=>{e.component(Qt.name??"ClNoName",Qt)};const od=`
|
|
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
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
nibh cras pulvinar mattis nunc. Sit amet massa vitae tortor condimentum lacinia
|
|
15
15
|
quis vel. Sit amet nulla facilisi morbi tempus iaculis urna id volutpat. Dictum
|
|
16
16
|
fusce ut placerat orci nulla pellentesque dignissim enim. Non odio euismod
|
|
17
|
-
lacinia at.`,
|
|
17
|
+
lacinia at.`,sd=`
|
|
18
18
|
Tellus cras adipiscing enim eu turpis egestas pretium aenean pharetra. Feugiat
|
|
19
19
|
pretium nibh ipsum consequat. Vulputate mi sit amet mauris commodo quis.
|
|
20
20
|
Elementum curabitur vitae nunc sed velit dignissim sodales ut eu. Risus
|
|
@@ -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.`,sd=n.defineComponent({name:"ClLorem",props:{words:{type:Number,default:10},paragraphs:{type:Number,default:0}},methods:{lorem(e){return((e%2?od:id).trim().replace(/\s+/g," ").split(" ").splice(0,this.words).join(" ")+".").replace(/\.+/g,".")}}});function rd(e,o,a,f,m,b){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),p=>(n.openBlock(),n.createElementBlock("p",{key:p},n.toDisplayString(e.lorem(p)),1))),128))}const pn=O(sd,[["render",rd]]);pn.install=e=>{e.component(pn.name??"ClNoName",pn)};const ld=n.defineComponent({name:"ClMailto",props:{to:{type:String,default:"office@castlabs.com"}}}),ad=["href"];function cd(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("a",{class:"cl-a-email",href:`mailto:${e.to}`},n.toDisplayString(e.to),9,ad)}const hn=O(ld,[["render",cd]]);hn.install=e=>{e.component(hn.name??"ClNoName",hn)};const dd=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)}}}),ud=["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 fd(e,o,a,f,m,b){var p,$,T,ne,Q,Ee,be,Ve,Ge,Qe,le,J,oe,dt,Je,Vt,ut,Mt,Ze,ft,et,Lt,pt,ht,mt,gt;return n.openBlock(),n.createElementBlock("a",{class:n.normalizeClass(e.classes),to:JSON.stringify(e.to),name:e.to.name,aid:(p=e.to.params)==null?void 0:p.aid,bid:($=e.to.params)==null?void 0:$.bid,cid:(T=e.to.params)==null?void 0:T.cid,did:(ne=e.to.params)==null?void 0:ne.did,eid:(Q=e.to.params)==null?void 0:Q.eid,fid:(Ee=e.to.params)==null?void 0:Ee.fid,gid:(be=e.to.params)==null?void 0:be.gid,hid:(Ve=e.to.params)==null?void 0:Ve.hid,iid:(Ge=e.to.params)==null?void 0:Ge.iid,jid:(Qe=e.to.params)==null?void 0:Qe.jid,kid:(le=e.to.params)==null?void 0:le.kid,lid:(J=e.to.params)==null?void 0:J.lid,mid:(oe=e.to.params)==null?void 0:oe.mid,nid:(dt=e.to.params)==null?void 0:dt.nid,oid:(Je=e.to.params)==null?void 0:Je.oid,pid:(Vt=e.to.params)==null?void 0:Vt.pid,qid:(ut=e.to.params)==null?void 0:ut.qid,rid:(Mt=e.to.params)==null?void 0:Mt.rid,sid:(Ze=e.to.params)==null?void 0:Ze.sid,tid:(ft=e.to.params)==null?void 0:ft.tid,uid:(et=e.to.params)==null?void 0:et.uid,vid:(Lt=e.to.params)==null?void 0:Lt.vid,wid:(pt=e.to.params)==null?void 0:pt.wid,xid:(ht=e.to.params)==null?void 0:ht.xid,yid:(mt=e.to.params)==null?void 0:mt.yid,zid:(gt=e.to.params)==null?void 0:gt.zid,onClick:o[0]||(o[0]=Kn=>e.push())},[n.renderSlot(e.$slots,"default")],10,ud)}const ri=O(dd,[["render",fd]]);ri.install=e=>{e.component(ri.name??"ClNoName",ri)};const pd=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||""),o=this;e&&(e.addEventListener("hidden.bs.modal",function(){o.onClose&&o.onClose()}),e.addEventListener("show.bs.modal",function(){o.onOpen&&o.onOpen()}))}}),hd=["id"],md={class:"modal-dialog"},gd={class:"modal-content"},vd={class:"modal-header"},bd=["href"],yd=["id"],_d={key:1,class:"modal-body"},Cd={class:"modal-footer"},kd={class:"modal-footer-left cl-spacing-box cl-spacing-none"},$d={class:"modal-footer-center cl-spacing-box cl-spacing-none"},Ed={class:"modal-footer-right cl-spacing-box cl-spacing-none"};function wd(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("div",{id:e.id,class:n.normalizeClass(`modal ${e.clazz}`),tabindex:"-1","data-bs-backdrop":"static"},[n.createElementVNode("div",md,[n.createElementVNode("div",gd,[n.createElementVNode("div",vd,[n.renderSlot(e.$slots,"title",{},()=>[o[1]||(o[1]=n.createTextVNode("Information"))]),e.helpUrl?(n.openBlock(),n.createElementBlock("a",{key:0,class:"modal-help",href:e.helpUrl,target:"_blank",title:"Show help in new window."},o[2]||(o[2]=[n.createElementVNode("i",{class:"far fa-question-circle"},null,-1)]),8,bd)):n.createCommentVNode("",!0)]),e.form?(n.openBlock(),n.createElementBlock("form",{key:0,id:`${e.id}-form`,class:"modal-body cl-form container",novalidate:"",onSubmit:o[0]||(o[0]=n.withModifiers(()=>{},["prevent"]))},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")],40,yd)):(n.openBlock(),n.createElementBlock("div",_d,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])),n.createElementVNode("div",Cd,[n.createElementVNode("span",kd,[n.renderSlot(e.$slots,"footer-left")]),n.createElementVNode("span",$d,[n.renderSlot(e.$slots,"footer")]),n.createElementVNode("span",Ed,[n.renderSlot(e.$slots,"footer-right")])])])])],10,hd)}const mn=O(pd,[["render",wd]]);mn.install=e=>{e.component(mn.name??"ClNoName",mn)};const Sd=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(){sr(this.$refs.text,""),or(`${this.id}-form`)},submit:function(){_o(`${this.id}-form`)&&this.$emit("ok")}}});function Nd(e,o,a,f,m,b){const p=n.resolveComponent("cl-field"),$=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock($,{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,[o[2]||(o[2]=n.createTextVNode(" To confirm your intention, please type ")),n.createElementVNode("code",null,n.toDisplayString(e.text),1),o[3]||(o[3]=n.createTextVNode(" into this text field: "))]),n.createVNode(p,{ref:"text",type:"text",required:"",pattern:`^${e.text}$`,class:"text-center cl-field-monospace it-confirm",autofocus:"",onKeyup:o[0]||(o[0]=n.withKeys(T=>e.submit(),["enter"]))},null,8,["pattern"])]),"footer-left":n.withCtx(()=>o[4]||(o[4]=[n.createElementVNode("button",{type:"button",class:"btn cl-btn-outline-text it-cancel","data-bs-dismiss":"modal"},[n.createElementVNode("i",{class:"fas fa-angle-left"}),n.createElementVNode("span",null,"Cancel")],-1)])),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-btn-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:o[1]||(o[1]=T=>e.submit())},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1),o[5]||(o[5]=n.createElementVNode("i",{class:"fas fa-angle-right"},null,-1))],2)]),_:3},8,["id","class","on-open"])}const gn=O(Sd,[["render",Nd]]);gn.install=e=>{e.component(gn.name??"ClNoName",gn)};const Ad=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},angles:{type:Boolean,default:!0},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,Un(),this.$emit("ok",Vi(this.id))},buttonCancel:function(){this.emitted=!0,Un(),this.$emit("cancel",Vi(this.id))},opened:function(){this.emitted=!1,this.onOpen&&this.onOpen()},closed:function(){this.emitted||this.$emit("cancel",Vi(this.id)),this.onClose&&this.onClose()}}}),Td={key:0,class:"fas fa-angle-left"},Bd={key:0,class:"fas fa-angle-right"};function Od(e,o,a,f,m,b){const p=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(p,{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-btn-outline-text it-cancel",onClick:o[0]||(o[0]=(...$)=>e.buttonCancel&&e.buttonCancel(...$))},[e.angles?(n.openBlock(),n.createElementBlock("i",Td)):n.createCommentVNode("",!0),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 it-ok",{"cl-btn-outline-primary":e.angles,"cl-btn-outline-text":!e.angles,"cl-btn-spinner":e.spinner}]),onClick:o[1]||(o[1]=(...$)=>e.buttonOk&&e.buttonOk(...$))},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1),e.angles?(n.openBlock(),n.createElementBlock("i",Bd)):n.createCommentVNode("",!0)],2)]),_:3},8,["id","class","form","on-open","on-close"])}const vn=O(Ad,[["render",Od]]);vn.install=e=>{e.component(vn.name??"ClNoName",vn)};function fr(){var o,a;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(f){(o=f.ignore)==null||o.call(f)}}else{e.parentNode.classList.remove("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","false")}catch(f){(a=f.ignore)==null||a.call(f)}}}function Dd(){var e;nr(Vd()),document.querySelectorAll(".cl-nav-drawer a").forEach(o=>{o.addEventListener("click",()=>{var a;if(pr()){nr(!1);try{localStorage.setItem("sidenavOpen","false")}catch(f){(a=f.ignore)==null||a.call(f)}}})}),(e=document.getElementById("cl-nav-side"))==null||e.addEventListener("change",function(){fr()}),document.querySelectorAll(".cl-nav-drawer details[id]").forEach(o=>{var a;o.addEventListener("toggle",f=>{var m;try{localStorage.setItem(`cl-nav-${o.id}`,f.target.hasAttribute("open"))}catch(b){(m=b.ignore)==null||m.call(b)}});try{localStorage.getItem(`cl-nav-${o.id}`)==="true"&&(o.open=!0)}catch(f){(a=f.ignore)==null||a.call(f)}}),setTimeout(function(){document.querySelectorAll("body").forEach(o=>{o.classList.add("cl-animate")})},1e3)}function nr(e){const o=document.getElementById("cl-nav-side");o&&(o.checked=e)}function pr(){var e;return Math.max(((e=document==null?void 0:document.documentElement)==null?void 0:e.clientWidth)||0,(window==null?void 0:window.innerWidth)||0)<1200}function Vd(){const e=localStorage.getItem("sidenavOpen");return e==null?!pr():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(){fr()},setup:function(){this.$nextTick(()=>{Dd()})}}}),Ld={class:"cl-nav-side"},zd={class:"cl-nav-drawer"},Id={"data-simplebar":""};function Fd(e,o,a,f,m,b){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:o[0]||(o[0]=(...p)=>e.toggle&&e.toggle(...p))},null,34),n.createElementVNode("nav",Ld,[o[1]||(o[1]=n.createElementVNode("label",{class:"cl-nav-backdrop",for:"cl-nav-side"},null,-1)),n.createElementVNode("div",zd,[n.createElementVNode("div",Id,[n.renderSlot(e.$slots,"default")])])])],64)}const bn=O(Md,[["render",Fd]]);bn.install=e=>{e.component(bn.name??"ClNoName",bn)};const xd=n.defineComponent({name:"ClNavTop",inheritAttrs:!1,props:{class:{type:String,default:void 0}},computed:{isFluid:function(){var e;return(e=this.$route.meta)==null?void 0:e.fluid},clazz:function(){return this.class?` ${this.class}`:""},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),Pd={class:"row"},jd={class:"col-12 cl-grid-flex-centered"};function Wd(e,o,a,f,m,b){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",Pd,[n.createElementVNode("div",jd,[o[0]||(o[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 yn=O(xd,[["render",Wd]]);yn.install=e=>{e.component(yn.name??"ClNoName",yn)};const Rd=n.defineComponent({name:"ClOrg",props:{name:{type:String,default:"No organization"}}}),qd={class:"cl-org"};function Hd(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("span",qd,[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")])}const _n=O(Rd,[["render",Hd]]);_n.install=e=>{e.component(_n.name??"ClNoName",_n)};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}`:""}},methods:{back(){history.go(-1)}}}),Xd={key:0,class:"cl-page-spinner"};function Yd(e,o,a,f,m,b){var ne,Q;const p=n.resolveComponent("cl-section-headline"),$=n.resolveComponent("cl-spinner"),T=n.resolveComponent("cl-section-main");return n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(p,{id:e.id??e.$route.name,title:e.title??((ne=e.$route.meta)==null?void 0:ne.title)??"castLabs",class:n.normalizeClass(e.clazz),fluid:(Q=e.$route.meta)==null?void 0:Q.fluid},null,8,["id","title","class","fluid"]),e.loading?(n.openBlock(),n.createElementBlock("div",Xd,[n.createVNode($)])):e.notFound?n.renderSlot(e.$slots,"notFound",{key:1},()=>{var Ee;return[n.createVNode(T,{fluid:(Ee=e.$route.meta)==null?void 0:Ee.fluid},{default:n.withCtx(()=>[o[2]||(o[2]=n.createElementVNode("p",{class:"cl-p-large"},"Hmm, it seems we can't find what you're looking for.",-1)),o[3]||(o[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-btn-outline-text cl-spacing-large",onClick:o[0]||(o[0]=(...be)=>e.back&&e.back(...be))},o[1]||(o[1]=[n.createElementVNode("i",{class:"fas fa-angle-left"},null,-1),n.createElementVNode("span",null,"Back",-1)]))]),_:1},8,["fluid"])]}):n.renderSlot(e.$slots,"default",{key:2})],64)}const Cn=O(Ud,[["render",Yd]]);Cn.install=e=>{e.component(Cn.name??"ClNoName",Cn)};function Kd(e,o,a,f){const m=[],b=Math.ceil(e/o);a<1&&(a=1),a>b&&(a=b);for(let p=1;p<=b;p++)(p>=a-f&&p<=a+f||p===1||p===b)&&m.push(p);return{previous:a>1?a-1:null,next:a<b?a+1:null,current:a,pages:m}}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}},emits:["page"],computed:{pager:function(){return Kd(this.items,this.pagesize,this.current,this.window)}}}),Qd={key:0,class:"col-12 text-center 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,o,a,f,m,b){var p,$;return(($=(p=e.pager)==null?void 0:p.pages)==null?void 0:$.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:o[0]||(o[0]=T=>e.$emit("page",e.pager.previous))},"Prev")])):(n.openBlock(),n.createElementBlock("li",eu,"Prev")),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.pager.pages,(T,ne)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:T},[ne>0&&e.pager.pages[ne-1]!==T-1?(n.openBlock(),n.createElementBlock("li",tu," ... ")):n.createCommentVNode("",!0),n.createElementVNode("li",{class:n.normalizeClass(["page-item",{active:T===e.pager.current}])},[n.createElementVNode("button",{class:"page-link",onClick:Q=>e.$emit("page",T)},n.toDisplayString(T),9,nu)],2)],64))),128)),e.pager.next?(n.openBlock(),n.createElementBlock("li",iu,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:o[1]||(o[1]=T=>e.$emit("page",e.pager.next))},"Next")])):(n.openBlock(),n.createElementBlock("li",ou,"Next"))])])):n.createCommentVNode("",!0)}const kn=O(Gd,[["render",su]]);kn.install=e=>{e.component(kn.name??"ClNoName",kn)};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="";return!this.primary&&!this.secondary?e+="cl-plan-dark":this.primary?e+="cl-plan-primary":this.secondary&&(e+="cl-plan-secondary"),e+(this.class?` ${this.class}`:"")}}}),lu={key:0,class:"cl-plan-derived"},au=["id"];function cu(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",lu)):n.createCommentVNode("",!0),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)],64)}const $n=O(ru,[["render",cu]]);$n.install=e=>{e.component($n.name??"ClNoName",$n)};const du=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="";return!this.primary&&!this.secondary?e+="cl-role-dark":this.primary?e+="cl-role-primary":this.secondary&&(e+="cl-role-secondary"),e+(this.class?` ${this.class}`:"")}}}),uu={key:0,class:"cl-role-derived"},fu=["id"];function pu(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",uu)):n.createCommentVNode("",!0),n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,fu)],64)}const En=O(du,[["render",pu]]);En.install=e=>{e.component(En.name??"ClNoName",En)};const hu=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(){var e;return this.fluid||((e=this.$route.meta)==null?void 0:e.fluid)},containerClass:function(){return this.isFluid?"cl-form container-fluid":"cl-form container"}}}),mu={class:"cl-section-form cl-section-alternate"},gu=["id"],vu=["disabled"],bu={key:1,class:"col-12"};function yu(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("section",mu,[n.createElementVNode("form",{id:e.id,novalidate:"",class:n.normalizeClass(e.containerClass),onSubmit:o[0]||(o[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",bu,[n.renderSlot(e.$slots,"default")]))],8,vu)],42,gu)])}const wn=O(hu,[["render",yu]]);wn.install=e=>{e.component(wn.name??"ClNoName",wn)};const _u=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(){var e;return this.fluid||((e=this.$route.meta)==null?void 0:e.fluid)},containerClass:function(){return this.isFluid?"container-fluid cl-container-spacing-small":"container cl-container-spacing-small"}}}),Cu={class:"cl-section-primary cl-section-headline"},ku={class:"row"},$u={class:"col-12"},Eu={key:0},wu=["href"];function Su(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("section",Cu,[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",ku,[n.createElementVNode("div",$u,[e.title?(n.openBlock(),n.createElementBlock("h1",Eu,[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"},o[0]||(o[0]=[n.createElementVNode("i",{class:"fas fa-question-circle"},null,-1)]),8,wu)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"default")])])],2)])}const Sn=O(_u,[["render",Su]]);Sn.install=e=>{e.component(Sn.name??"ClNoName",Sn)};const Nu=n.defineComponent({name:"ClSectionMain",props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},noCol:{type:Boolean,default:!1}},computed:{isFluid:function(){var e;return this.fluid||((e=this.$route.meta)==null?void 0:e.fluid)},sectionClass:function(){return this.alternate?"cl-section-alternate":"cl-section-regular"},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),Au={class:"row"},Tu={key:1,class:"col-12"};function Bu(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("section",{class:n.normalizeClass(e.sectionClass)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Au,[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",Tu,[n.renderSlot(e.$slots,"default")]))])],2)],2)}const Dt=O(Nu,[["render",Bu]]);Dt.install=e=>{e.component(Dt.name??"ClNoName",Dt)};const Ou=n.defineComponent({name:"ClSectionMainSide",components:{ClSectionMain:Dt},props:{alternate:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},slim:{type:Boolean,default:!1}},computed:{isFluid:function(){var e;return this.fluid||((e=this.$route.meta)==null?void 0:e.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":"cl-section-regular")}}});function Du(e,o,a,f,m,b){const p=n.resolveComponent("cl-section-main");return n.openBlock(),n.createBlock(p,{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 Nn=O(Ou,[["render",Du]]);Nn.install=e=>{e.component(Nn.name??"ClNoName",Nn)};const Vu=n.defineComponent({name:"ClSpinner",props:{title:{type:String,default:"Loading ..."}}}),Mu={class:"cl-spinner"};function Lu(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("div",Mu,[n.createTextVNode(n.toDisplayString(e.title),1),o[0]||(o[0]=n.createElementVNode("i",{class:"fas fa-spinner fa-spin"},null,-1))])}const An=O(Vu,[["render",Lu]]);An.install=e=>{e.component(An.name??"ClNoName",An)};function zu(e){document.querySelectorAll(`#${e} .cl-resizer`).forEach(o=>{Iu(o)})}let li=0,Xn=null;function Iu(e){li=0,Xn=null,e.addEventListener("mousedown",Fu),document.addEventListener("mousemove",xu),document.addEventListener("mouseup",Pu)}const Fu=e=>{e.preventDefault(),Xn=e.target?e.target.parentElement:null,li=e.pageX},xu=e=>{var o,a;if(Xn!==null){e.preventDefault();const f=e.pageX-li;li=e.pageX;const m=ju(Xn),b=((a=(o=e.target)==null?void 0:o.closest("table"))==null?void 0:a.id)??"unknown";!!document.querySelector(`#${b}.cl-table-nowrap`)?document.querySelectorAll(`#${b} tr th:nth-child(${m-1})`).forEach($=>{const T=($.style.maxWidth===""?$.offsetWidth:parseInt($.style.maxWidth))+f;$.style.width=(T>32?T:32)+"px",$.style.maxWidth=(T>32?T:32)+"px"}):(document.querySelectorAll(`#${b} tr td:nth-child(${m-1})`).forEach($=>{const T=$.offsetWidth+f;$.style.width=(T>32?T:32)+"px"}),document.querySelectorAll(`#${b} tr td:nth-child(${m})`).forEach($=>{const T=$.offsetWidth-f;$.style.width=(T>32?T:32)+"px"}))}},Pu=e=>{Xn!==null&&(e.preventDefault(),li=0,Xn=null)};function ju(e){let o=0;for(;e;)o++,e=e.previousElementSibling;return o}const Wu=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 o=1;o<=this.show.length;o++)this.show[o-1]||(e+=` cl-table-col-${o}-hide`);return e}},watch:{rows:function(){this.setupResizer()}},mounted(){this.setupResizer()},methods:{setupResizer:function(){this.$nextTick(()=>{zu(this.$uid)})}}}),Ru=["id"],qu=["id"],Hu={key:0},Uu={key:1},Xu={class:"cl-tr-no-data"},Yu={colspan:"100"},Ku={key:2},Gu={class:"cl-tr-no-data"},Qu={colspan:"100"},Ju={key:3};function Zu(e,o,a,f,m,b){const p=n.resolveComponent("cl-spinner"),$=n.resolveComponent("cl-field-check"),T=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",Hu,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])):e.rows===0?(n.openBlock(),n.createElementBlock("tbody",Uu,[n.createElementVNode("tr",Xu,[n.createElementVNode("td",Yu,n.toDisplayString(e.noDataText),1)])])):(n.openBlock(),n.createElementBlock("tbody",Ku,[n.createElementVNode("tr",Gu,[n.createElementVNode("td",Qu,[n.createVNode(p)])])])),e.$slots.footer?(n.openBlock(),n.createElementBlock("tfoot",Ju,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"footer")])])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"tfoot")],10,qu)],8,Ru),e.hideCols?(n.openBlock(),n.createBlock(T,{key:0,id:e.$uid+"-settings",title:"Configure table"},{default:n.withCtx(()=>[o[0]||(o[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,(ne,Q)=>(n.openBlock(),n.createBlock($,{key:ne,value:e.show[Q],modelValue:e.show[Q],"onUpdate:modelValue":Ee=>e.show[Q]=Ee},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(ne),1)]),_:2},1032,["value","modelValue","onUpdate:modelValue"]))),128))]),_:1},8,["id"])):n.createCommentVNode("",!0)],64)}const Tn=O(Wu,[["render",Zu]]);Tn.install=e=>{e.component(Tn.name??"ClNoName",Tn)};const ef=n.defineComponent({name:"ClTableCel",props:{condensed:{type:Boolean,default:!1}}});function tf(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(e.condensed?"cl-font-condensed":"")},[n.renderSlot(e.$slots,"default")],2)}const Bn=O(ef,[["render",tf]]);Bn.install=e=>{e.component(Bn.name??"ClNoName",Bn)};const nf=n.defineComponent({name:"ClTableCelActions",props:{content:{type:String,default:""}}}),of={class:"cl-td-actions"};function sf(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",of,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const On=O(nf,[["render",sf]]);On.install=e=>{e.component(On.name??"ClNoName",On)};const rf=n.defineComponent({name:"ClTableCelAudit",directives:{tooltip:Yn},props:{value:{type:String,default:"???"}}}),lf={class:"cl-td-audit"},af={class:"fas fa-info-circle"};function cf(e,o,a,f,m,b){const p=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("td",lf,[n.withDirectives(n.createElementVNode("i",af,null,512),[[p,e.value,"left"]])])}const Dn=O(rf,[["render",cf]]);Dn.install=e=>{e.component(Dn.name??"ClNoName",Dn)};const df=n.defineComponent({name:"ClTableCelBoolean",props:{value:{type:Boolean,default:!1}}}),uf={class:"cl-td-boolean"};function ff(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",uf,[n.createElementVNode("i",{class:n.normalizeClass(`fas ${e.value?"fa-check":"fa-minus"}`)},null,2)])}const Vn=O(df,[["render",ff]]);Vn.install=e=>{e.component(Vn.name??"ClNoName",Vn)};const pf=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)}}}),hf={class:"cl-td-checkbox"},mf={class:"form-check text-center"},gf=["id","disabled"];function vf(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",hf,[n.createElementVNode("div",mf,[n.withDirectives(n.createElementVNode("input",{id:e.id??e.$uid,"onUpdate:modelValue":o[0]||(o[0]=p=>e.modelValue=p),class:"form-check-input",type:"checkbox",disabled:e.disabled,onChange:o[1]||(o[1]=p=>e.emitAll())},null,40,gf),[[n.vModelCheckbox,e.modelValue]])])])}const Mn=O(pf,[["render",vf]]);Mn.install=e=>{e.component(Mn.name??"ClNoName",Mn)};const bf=n.defineComponent({name:"ClTableCelCode"}),yf={class:"cl-td-code"};function _f(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",yf,[n.renderSlot(e.$slots,"default")])}const Ln=O(bf,[["render",_f]]);Ln.install=e=>{e.component(Ln.name??"ClNoName",Ln)};const Cf=n.defineComponent({name:"ClTableCelCurrency",props:{amount:{type:Number,default:0},currency:{type:String,default:"EUR"}}}),kf={class:"cl-td-currency"};function $f(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",kf,n.toDisplayString(e.currency)+" "+n.toDisplayString(e.amount),1)}const zn=O(Cf,[["render",$f]]);zn.install=e=>{e.component(zn.name??"ClNoName",zn)};const Ef=n.defineComponent({name:"ClTableCelDate",props:{value:{type:String,default:void 0}},computed:{content:function(){if(this.value){const e=new Date(this.value),o=new Intl.DateTimeFormat("en",{year:"numeric"}).format(e),a=new Intl.DateTimeFormat("en",{month:"2-digit"}).format(e),f=new Intl.DateTimeFormat("en",{day:"2-digit"}).format(e),m=new Intl.DateTimeFormat("en",{hour:"2-digit",hour12:!1}).format(e),b=new Intl.DateTimeFormat("en",{minute:"2-digit"}).format(e);return`${o}-${a}-${f} ${m}:${b}`}return"-"}}}),wf={class:"cl-td-date"};function Sf(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",wf,n.toDisplayString(e.content),1)}const In=O(Ef,[["render",Sf]]);In.install=e=>{e.component(In.name??"ClNoName",In)};const Nf=n.defineComponent({name:"ClTableCelId",directives:{tooltip:Yn,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>"}}}),Af={class:"cl-td-id"};function Tf(e,o,a,f,m,b){const p=n.resolveDirective("tooltip"),$=n.resolveDirective("clipboard");return n.withDirectives((n.openBlock(),n.createElementBlock("td",Af,[n.createTextVNode(n.toDisplayString(e.value),1)])),[[p,e.tooltip,"right"],[$,e.full??e.value]])}const Fn=O(Nf,[["render",Tf]]);Fn.install=e=>{e.component(Fn.name??"ClNoName",Fn)};const Bf=n.defineComponent({name:"ClTableCelLinks",props:{content:{type:String,default:""}}}),Of={class:"cl-td-links"};function Df(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("td",Of,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const xn=O(Bf,[["render",Df]]);xn.install=e=>{e.component(xn.name??"ClNoName",xn)};const Vf=n.defineComponent({name:"ClTableCelUuid",props:{value:{type:String,default:"00000000-0000-0000-0000-000000000000"}}});function Mf(e,o,a,f,m,b){const p=n.resolveComponent("cl-table-cel-id");return n.openBlock(),n.createBlock(p,{value:e.value.substring(0,8),full:e.value},null,8,["value","full"])}const Pn=O(Vf,[["render",Mf]]);Pn.install=e=>{e.component(Pn.name??"ClNoName",Pn)};const Lf=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}}}),zf={key:0,class:"cl-table-foot-checked"},If={class:"cl-td-links",colspan:"100"};function Ff(e,o,a,f,m,b){return e.any?(n.openBlock(),n.createElementBlock("tfoot",zf,[n.createElementVNode("tr",null,[n.createElementVNode("td",If,[o[0]||(o[0]=n.createElementVNode("small",null,[n.createElementVNode("i",{class:"fas fa-share fa-rotate-270 cl-faded"})],-1)),o[1]||(o[1]=n.createTextVNode(" ")),n.renderSlot(e.$slots,"default")])])])):n.createCommentVNode("",!0)}const jn=O(Lf,[["render",Ff]]);jn.install=e=>{e.component(jn.name??"ClNoName",jn)};const xf=n.defineComponent({name:"ClTableHead",directives:{tooltip:Yn},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,o){e!==o&&(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 o=e==null?void 0:e.target;for(;o;){if(o.tagName==="TABLE"){yo(`${o.id}-settings`);return}o=o.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")}}}}),Pf=["id","width"],jf={class:"fas fa-cog cl-faded"},Wf={key:0,class:"cl-resizer"},Rf={key:1,class:"form-check text-center"},qf=["indeterminate"],Hf={key:2,class:"cl-resizer"};function Uf(e,o,a,f,m,b){var $;const p=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("th",{id:e.$uid,class:n.normalizeClass(["cl-table-head cl-p-tiny",{"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:o[0]||(o[0]=(...T)=>e.openSettings&&e.openSettings(...T))},[n.withDirectives(n.createElementVNode("i",jf,null,512),[[p,"Configure table","left"]])]),e.resize?(n.openBlock(),n.createElementBlock("div",Wf)):n.createCommentVNode("",!0)],64)):e.checkbox?(n.openBlock(),n.createElementBlock("div",Rf,[n.withDirectives(n.createElementVNode("input",{ref:"checkbox","onUpdate:modelValue":o[1]||(o[1]=T=>e.modelValue=T),class:"form-check-input",type:"checkbox",indeterminate:e.checkState==="SOME",onChange:o[2]||(o[2]=T=>e.check())},null,40,qf),[[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:o[3]||(o[3]=(...T)=>e.sortCol&&e.sortCol(...T))},[n.renderSlot(e.$slots,"default"),(($=e.sorter)==null?void 0:$.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",Hf)):n.createCommentVNode("",!0)],64))],10,Pf)}const Wn=O(xf,[["render",Uf]]);Wn.install=e=>{e.component(Wn.name??"ClNoName",Wn)};const Xf=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}}}),Yf=["id"];function Kf(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("tr",{id:e.id,class:n.normalizeClass(e.clazz)},[n.renderSlot(e.$slots,"default")],10,Yf)}const Rn=O(Xf,[["render",Kf]]);Rn.install=e=>{e.component(Rn.name??"ClNoName",Rn)};const Gf=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)}}}),Qf={class:"cl-tabs"},Jf=["id","name","checked","onChange"],Zf=["for"];function ep(e,o,a,f,m,b){return n.openBlock(),n.createElementBlock("div",Qf,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,p=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:p},[e.slotExists(p)?(n.openBlock(),n.createElementBlock("input",{key:0,id:`tabs-${e.$uid}-${p}`,class:n.normalizeClass(`cl-tab-${p}`),type:"radio",name:`tabs-${e.$uid}`,checked:e.index===p-1,onChange:$=>e.emit(p)},null,42,Jf)):n.createCommentVNode("",!0)],64))),128)),n.createElementVNode("ul",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,p=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:p},[e.slotExists(p)?(n.openBlock(),n.createElementBlock("li",{key:0,class:n.normalizeClass(`cl-tab-${p}`)},[n.createElementVNode("label",{for:`tabs-${e.$uid}-${p}`},[n.renderSlot(e.$slots,`tabs-${p}-label`)],8,Zf)],2)):n.createCommentVNode("",!0)],64))),128))]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.tabs,p=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:p},[e.slotExists(p)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(`cl-tab-${p} cl-tab-content`)},[n.renderSlot(e.$slots,`tabs-${p}-content`)],2)):n.createCommentVNode("",!0)],64))),128))])}const qn=O(Gf,[["render",ep]]);qn.install=e=>{e.component(qn.name??"ClNoName",qn)};const tp=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:"badge cl-badge-text "+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())}}}}),np=["id","checked","disabled"],ip=["id","for","disabled"];function op(e,o,a,f,m,b){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:o[0]||(o[0]=p=>e.toggle())},null,42,np),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,ip)],64)}const Hn=O(tp,[["render",op]]);Hn.install=e=>{e.component(Hn.name??"ClNoName",Hn)};const sp={install:e=>{let o=0;e.mixin({beforeCreate:function(){let f;const m="uid-"+o++;Object.defineProperties(this,(f={},f.$uid={get:function(){return m}},f))}})}};function rp(){return{ClAlert:Zt,ClBackCancelOk:en,ClCookieBanner:tn,ClCopy:nn,ClCreditcardNumber:on,ClDropzone:sn,ClField:rn,ClFieldCheck:ln,ClFieldGroup:an,ClHashtag:cn,ClIconotron:dn,ClInfo:un,ClLinkExternal:fn,ClLorem:pn,ClMailto:hn,ClModal:mn,ClModalConfirm:gn,ClModalOk:vn,ClNavSide:bn,ClNavTop:yn,ClOrg:_n,ClPage:Cn,ClPagination:kn,ClPlan:$n,ClRole:En,ClSectionForm:wn,ClSectionHeadline:Sn,ClSectionMain:Dt,ClSectionMainSide:Nn,ClSpinner:An,ClTable:Tn,ClTableCel:Bn,ClTableCelActions:On,ClTableCelAudit:Dn,ClTableCelBoolean:Vn,ClTableCelCheckbox:Mn,ClTableCelCode:Ln,ClTableCelCurrency:zn,ClTableCelDate:In,ClTableCelId:Fn,ClTableCelLinks:xn,ClTableCelUuid:Pn,ClTableFootChecked:jn,ClTableHead:Wn,ClTableRow:Rn,ClTabs:qn,ClToggle:Hn}}function lp(){return[sp]}function $o(e,o){const a=JSON.parse(JSON.stringify(e));for(const f in o)typeof o[f]=="object"&&!Array.isArray(o[f])?a[f]=$o(e[f]??{},o[f]):a[f]=o[f];return a}function ap(e,o){return{store:$o(e,o)}}const hr="✺";let Oi={};function cp(e,o="",a=!1){const f=Oi[o]??ct(mr(o));return Object.keys(Oi).length>100&&(Oi={}),Oi[o]=f,Ot(a?e.toLowerCase():e,f,a)}function Ot(e,o,a){if(typeof o=="string"){const f=o.replaceAll(hr," ");return f[0]==="-"?!Ot(e,f.substring(1),a):a?e.includes(f):e.toLowerCase().includes(f.toLowerCase())}else switch(o[0]){case"&":return Ot(e,o[1])&&Ot(e,o[2]);case"|":return Ot(e,o[1])||Ot(e,o[2]);default:return!1}}function mr(e){const o=[];let a=!1;for(let p=0;p<e.length;p++)a?e[p]===a?a=!1:o.push([" "].includes(e[p])?hr:e[p]):["'",'"'].includes(e[p])?a=e[p]:o.push(e[p]);const f=o.join("").replace(/\s+/g," ").trim();if(f.length<=0)return"";const m=f.split(" ");if(m.length<=0)return"";const b=[];["NOT","-"].includes(m[0])||b.push(m.shift());for(let p=0;p<m.length;p++)switch(m[p]){case"AND":case"&":case"&&":switch(m[++p]){case"NOT":case"-":m[p+1]&&(b.push("&"),b.push("-"),b.push(m[++p]));break;case void 0:break;default:b.push("&"),b.push(m[p])}break;case"OR":case"|":case"||":switch(m[++p]){case"NOT":case"-":m[p+1]&&(b.push("|"),b.push("-"),b.push(m[++p]));break;case void 0:break;default:b.push("|"),b.push(m[p])}break;case"NOT":case"-":b.push("-"),b.push(m[++p]);break;default:b.push("&"),b.push(m[p])}return` ${b.join(" ")} `.replace(/ - /g," -").trim()}function ct(e){const o=e.indexOf(" | ");if(o>=0)return["|",ct(e.substring(0,o)),ct(e.substring(o+3))];const a=e.indexOf(" & ");if(a>=0)return["&",ct(e.substring(0,a)),ct(e.substring(a+3))];const f=e.indexOf(" ");return f>=0?["&",ct(e.substring(0,f)),ct(e.substring(f+1))]:e}const go={DEV:"DEV",TEST:"TEST",PROD:"PROD"},gr={id:"CP",subtitle:"Access the Content Platform, manage, encode and watermark assets",title:"Content Platform",urlManage:function(){return"#"},sidenav:!1},vr={id:"CS",subtitle:"Manage organizations, plans, downloads",title:"castLabs hub",urlManage:function(e,o){return ai(e,`https://account.test.cs.castlabs.com/o/${o??""}`,`https://account.castlabs.com/o/${o??""}`)},sidenav:!0},br={id:"DT",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday",urlManage:function(e,o){return ai(e,`https://fe.test.drmtoday.com/dashboard/${o?`${o}/`:""}index`,`https://fe.drmtoday.com/dashboard/${o?`${o}/`:""}index`)},sidenav:!0},yr={id:"DTO",subtitle:"",title:"DRMtoday Onboard (staging)",urlManage:function(){return"#"},sidenav:!1},_r={id:"DTS",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday (staging)",urlManage:function(e,o){return ai(e,`https://fe.test.drmtoday.com/dashboard/${o?`${o}/`:""}index`,`https://fe.staging.drmtoday.com/dashboard/${o?`${o}/`:""}/index`)},sidenav:!1},Cr={id:"PP",subtitle:"Cross-platform video players (via castLabs hub)",title:"PRESTOplay",urlManage:function(){return"https://prestoplay.castlabs.com/manage/"},sidenav:!0},kr={id:"VTK",subtitle:"Cloud encoding, packaging, watermarking",title:"Video Toolkit",urlManage:function(e){return ai(e,"https://vtks.castlabs.com/","https://vtk.castlabs.com/")},sidenav:!0},$r={id:"WM",subtitle:"Video & image forensic watermarking",title:"STARDUSTmark",urlManage:function(e){return ai(e,"https://asolonsky.fwm.castlabs.com/","https://watermark.castlabs.com/")},sidenav:!0};function ai(e=go.PROD,o,a){return[go.DEV,go.TEST].includes(e)?o:a}function dp(){return[vr,gr,br,_r,yr,Cr,$r,kr]}const up={CP:gr,CS:vr,DT:br,DTS:_r,DTO:yr,PP:Cr,WM:$r,VTK:kr},vo={ClAlert:Zt,ClBackCancelOk:en,ClCookieBanner:tn,ClCopy:nn,ClCreditcardNumber:on,ClDropzone:sn,ClField:rn,ClFieldCheck:ln,ClFieldGroup:an,ClHashtag:cn,ClIconotron:dn,ClInfo:un,ClLinkExternal:fn,ClLorem:pn,ClMailto:hn,ClModal:mn,ClModalConfirm:gn,ClModalOk:vn,ClNavSide:bn,ClNavTop:yn,ClOrg:_n,ClPage:Cn,ClPagination:kn,ClPlan:$n,ClRole:En,ClSectionForm:wn,ClSectionHeadline:Sn,ClSectionMain:Dt,ClSectionMainSide:Nn,ClSpinner:An,ClTable:Tn,ClTableCel:Bn,ClTableCelActions:On,ClTableCelAudit:Dn,ClTableCelBoolean:Vn,ClTableCelCheckbox:Mn,ClTableCelCode:Ln,ClTableCelCurrency:zn,ClTableCelDate:In,ClTableCelId:Fn,ClTableCelLinks:xn,ClTableCelUuid:Pn,ClTableFootChecked:jn,ClTableHead:Wn,ClTableRow:Rn,ClTabs:qn,ClToggle:Hn,ClMockRouterLink:ri,ClUI:wa};function fp(e){for(const o in vo)e.component(vo[o].name,vo[o])}exports.ClAlert=Zt;exports.ClBackCancelOk=en;exports.ClCookieBanner=tn;exports.ClCopy=nn;exports.ClCreditcardNumber=on;exports.ClDropzone=sn;exports.ClField=rn;exports.ClFieldCheck=ln;exports.ClFieldGroup=an;exports.ClHashtag=cn;exports.ClIconotron=dn;exports.ClInfo=un;exports.ClLinkExternal=fn;exports.ClLorem=pn;exports.ClMailto=hn;exports.ClMockRouterLink=ri;exports.ClModal=mn;exports.ClModalConfirm=gn;exports.ClModalOk=vn;exports.ClNavSide=bn;exports.ClNavTop=yn;exports.ClOrg=_n;exports.ClPage=Cn;exports.ClPagination=kn;exports.ClPlan=$n;exports.ClRole=En;exports.ClSectionForm=wn;exports.ClSectionHeadline=Sn;exports.ClSectionMain=Dt;exports.ClSectionMainSide=Nn;exports.ClSpinner=An;exports.ClTable=Tn;exports.ClTableCel=Bn;exports.ClTableCelActions=On;exports.ClTableCelAudit=Dn;exports.ClTableCelBoolean=Vn;exports.ClTableCelCheckbox=Mn;exports.ClTableCelCode=Ln;exports.ClTableCelCurrency=zn;exports.ClTableCelDate=In;exports.ClTableCelId=Fn;exports.ClTableCelLinks=xn;exports.ClTableCelUuid=Pn;exports.ClTableFootChecked=jn;exports.ClTableHead=Wn;exports.ClTableRow=Rn;exports.ClTabs=qn;exports.ClToggle=Hn;exports.NAV=up;exports._getProperty=Jt;exports._sanitize=mr;exports._tokenize=ct;exports.castlabsUi=fp;exports.clCopyData=Xa;exports.clDebounce=qa;exports.clFocus=Va;exports.clFormAutofocus=Ma;exports.clFormFieldFocusFirstInvalid=Co;exports.clFormFieldReset=sr;exports.clFormIsValid=_o;exports.clFormIsValidAsync=rr;exports.clFormReset=or;exports.clFormatAmount=xa;exports.clFormatCardNumber=cr;exports.clFormatDate=lr;exports.clFormatDateTimeUTC=za;exports.clFormatDuration=Ia;exports.clFormatFilesize=La;exports.clFormatNumber=Mi;exports.clFormatPeriod=Fa;exports.clFormatRange=Pa;exports.clFormatTimeUTC=ar;exports.clGetAllComponents=rp;exports.clGetAllPlugins=lp;exports.clGetServices=dp;exports.clMatch=cp;exports.clModalHide=Un;exports.clModalIsShown=Da;exports.clModalShow=yo;exports.clModalValue=Vi;exports.clPaginate=ir;exports.clPatch=$o;exports.clPatchStore=ap;exports.clRandomList=Ua;exports.clRandomString=Ha;exports.clRefClField=Ga;exports.clRefClFieldGroup=Qa;exports.clRefHTMLElement=Ja;exports.clReload=Ka;exports.clReloadStore=Ya;exports.clScrollToId=Oa;exports.clSort=dr;exports.clSynchronizedSubmit=ja;exports.clSynchronizedSubmitAsync=Wa;exports.clTableSorter=ur;exports.clTableSorterObjects=Ra;exports.clVClipboard=ko;exports.clVTooltip=Yn;
|
|
29
|
+
justo donec enim diam.`,rd=n.defineComponent({name:"ClLorem",props:{words:{type:Number,default:10},paragraphs:{type:Number,default:0}},methods:{lorem(e){return((e%2?sd:od).trim().replace(/\s+/g," ").split(" ").splice(0,this.words).join(" ")+".").replace(/\.+/g,".")}}});function ld(e,o,c,p,b,v){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 Jt=B(rd,[["render",ld]]);Jt.install=e=>{e.component(Jt.name??"ClNoName",Jt)};const ad=n.defineComponent({name:"ClMailto",props:{to:{type:String,default:"office@castlabs.com"}}}),cd=["href"];function dd(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("a",{class:"cl-a-email",href:`mailto:${e.to}`},n.toDisplayString(e.to),9,cd)}const Zt=B(ad,[["render",dd]]);Zt.install=e=>{e.component(Zt.name??"ClNoName",Zt)};const ud=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)}}}),fd=["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 pd(e,o,c,p,b,v){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:o[0]||(o[0]=u=>e.push())},[n.renderSlot(e.$slots,"default")],10,fd)}const Gn=B(ud,[["render",pd]]);Gn.install=e=>{e.component(Gn.name??"ClNoName",Gn)};const hd=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||""),o=this;e&&(e.addEventListener("hidden.bs.modal",function(){o.onClose&&o.onClose()}),e.addEventListener("show.bs.modal",function(){o.onOpen&&o.onOpen()}))}}),md=["id"],gd={class:"modal-dialog"},vd={class:"modal-content"},bd={class:"modal-header"},yd=["href"],_d=["id"],Cd={key:1,class:"modal-body"},kd={class:"modal-footer"},$d={class:"modal-footer-left cl-spacing-box cl-spacing-none"},Ed={class:"modal-footer-center cl-spacing-box cl-spacing-none"},wd={class:"modal-footer-right cl-spacing-box cl-spacing-none"};function Sd(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("div",{id:e.id,class:n.normalizeClass(`modal ${e.clazz}`),tabindex:"-1","data-bs-backdrop":"static"},[n.createElementVNode("div",gd,[n.createElementVNode("div",vd,[n.createElementVNode("div",bd,[n.renderSlot(e.$slots,"title",{},()=>[o[1]||(o[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."},o[2]||(o[2]=[n.createElementVNode("i",{class:"far fa-question-circle"},null,-1)]),8,yd)):n.createCommentVNode("",!0)]),e.form?(n.openBlock(),n.createElementBlock("form",{key:0,id:`${e.id}-form`,class:"modal-body cl-form container",novalidate:"",onSubmit:o[0]||(o[0]=n.withModifiers(()=>{},["prevent"]))},[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")],40,_d)):(n.openBlock(),n.createElementBlock("div",Cd,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])),n.createElementVNode("div",kd,[n.createElementVNode("span",$d,[n.renderSlot(e.$slots,"footer-left")]),n.createElementVNode("span",Ed,[n.renderSlot(e.$slots,"footer")]),n.createElementVNode("span",wd,[n.renderSlot(e.$slots,"footer-right")])])])])],10,md)}const en=B(hd,[["render",Sd]]);en.install=e=>{e.component(en.name??"ClNoName",en)};const Nd=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(){rr(this.$refs.text,""),sr(`${this.id}-form`)},submit:function(){_o(`${this.id}-form`)&&this.$emit("ok")}}});function Td(e,o,c,p,b,v){const u=n.resolveComponent("cl-field"),S=n.resolveComponent("cl-modal");return n.openBlock(),n.createBlock(S,{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,[o[2]||(o[2]=n.createTextVNode(" To confirm your intention, please type ",-1)),n.createElementVNode("code",null,n.toDisplayString(e.text),1),o[3]||(o[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:o[0]||(o[0]=n.withKeys(Y=>e.submit(),["enter"]))},null,8,["pattern"])]),"footer-left":n.withCtx(()=>o[4]||(o[4]=[n.createElementVNode("button",{type:"button",class:"btn cl-btn-outline-text it-cancel","data-bs-dismiss":"modal"},[n.createElementVNode("i",{class:"fas fa-angle-left"}),n.createElementVNode("span",null,"Cancel")],-1)])),"footer-right":n.withCtx(()=>[n.createElementVNode("button",{type:"button",class:n.normalizeClass(["btn cl-btn-primary it-ok",{"cl-btn-spinner":e.spinner}]),onClick:o[1]||(o[1]=Y=>e.submit())},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1),o[5]||(o[5]=n.createElementVNode("i",{class:"fas fa-angle-right"},null,-1))],2)]),_:3},8,["id","class","on-open"])}const tn=B(Nd,[["render",Td]]);tn.install=e=>{e.component(tn.name??"ClNoName",tn)};const Ad=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},angles:{type:Boolean,default:!0},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,Dn(),this.$emit("ok",Bi(this.id))},buttonCancel:function(){this.emitted=!0,Dn(),this.$emit("cancel",Bi(this.id))},opened:function(){this.emitted=!1,this.onOpen&&this.onOpen()},closed:function(){this.emitted||this.$emit("cancel",Bi(this.id)),this.onClose&&this.onClose()}}}),Bd={key:0,class:"fas fa-angle-left"},Od={key:0,class:"fas fa-angle-right"};function Dd(e,o,c,p,b,v){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-btn-outline-text it-cancel",onClick:o[0]||(o[0]=(...S)=>e.buttonCancel&&e.buttonCancel(...S))},[e.angles?(n.openBlock(),n.createElementBlock("i",Bd)):n.createCommentVNode("",!0),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 it-ok",{"cl-btn-outline-primary":e.angles,"cl-btn-outline-text":!e.angles,"cl-btn-spinner":e.spinner}]),onClick:o[1]||(o[1]=(...S)=>e.buttonOk&&e.buttonOk(...S))},[n.createElementVNode("span",null,n.toDisplayString(e.ok??e.button),1),e.angles?(n.openBlock(),n.createElementBlock("i",Od)):n.createCommentVNode("",!0)],2)]),_:3},8,["id","class","form","on-open","on-close"])}const nn=B(Ad,[["render",Dd]]);nn.install=e=>{e.component(nn.name??"ClNoName",nn)};function pr(){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(o){o.ignore?.()}}else{e.parentNode.classList.remove("cl-nav-side-open");try{localStorage.setItem("sidenavOpen","false")}catch(o){o.ignore?.()}}}function Vd(){ir(Md()),document.querySelectorAll(".cl-nav-drawer a").forEach(e=>{e.addEventListener("click",()=>{if(hr()){ir(!1);try{localStorage.setItem("sidenavOpen","false")}catch(o){o.ignore?.()}}})}),document.getElementById("cl-nav-side")?.addEventListener("change",function(){pr()}),document.querySelectorAll(".cl-nav-drawer details[id]").forEach(e=>{e.addEventListener("toggle",o=>{try{localStorage.setItem(`cl-nav-${e.id}`,o.target.hasAttribute("open"))}catch(c){c.ignore?.()}});try{localStorage.getItem(`cl-nav-${e.id}`)==="true"&&(e.open=!0)}catch(o){o.ignore?.()}}),setTimeout(function(){document.querySelectorAll("body").forEach(e=>{e.classList.add("cl-animate")})},1e3)}function ir(e){const o=document.getElementById("cl-nav-side");o&&(o.checked=e)}function hr(){return Math.max(document?.documentElement?.clientWidth||0,window?.innerWidth||0)<1200}function Md(){const e=localStorage.getItem("sidenavOpen");return e==null?!hr():JSON.parse(e)}const Ld=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(){pr()},setup:function(){this.$nextTick(()=>{Vd()})}}}),zd={class:"cl-nav-side"},Id={class:"cl-nav-drawer"},Fd={"data-simplebar":""};function xd(e,o,c,p,b,v){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:o[0]||(o[0]=(...u)=>e.toggle&&e.toggle(...u))},null,34),n.createElementVNode("nav",zd,[o[1]||(o[1]=n.createElementVNode("label",{class:"cl-nav-backdrop",for:"cl-nav-side"},null,-1)),n.createElementVNode("div",Id,[n.createElementVNode("div",Fd,[n.renderSlot(e.$slots,"default")])])])],64)}const on=B(Ld,[["render",xd]]);on.install=e=>{e.component(on.name??"ClNoName",on)};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"}}}),jd={class:"row"},Wd={class:"col-12 cl-grid-flex-centered"};function Rd(e,o,c,p,b,v){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",jd,[n.createElementVNode("div",Wd,[o[0]||(o[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 sn=B(Pd,[["render",Rd]]);sn.install=e=>{e.component(sn.name??"ClNoName",sn)};const qd=n.defineComponent({name:"ClOrg",props:{name:{type:String,default:"No organization"}}}),Hd={class:"cl-org"};function Ud(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("span",Hd,[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")])}const rn=B(qd,[["render",Ud]]);rn.install=e=>{e.component(rn.name??"ClNoName",rn)};const Xd=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}`:""}},methods:{back(){history.go(-1)}}}),Yd={key:0,class:"cl-page-spinner"};function Kd(e,o,c,p,b,v){const u=n.resolveComponent("cl-section-headline"),S=n.resolveComponent("cl-spinner"),Y=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",Yd,[n.createVNode(S)])):e.notFound?n.renderSlot(e.$slots,"notFound",{key:1},()=>[n.createVNode(Y,{fluid:e.$route.meta?.fluid},{default:n.withCtx(()=>[o[2]||(o[2]=n.createElementVNode("p",{class:"cl-p-large"},"Hmm, it seems we can't find what you're looking for.",-1)),o[3]||(o[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-btn-outline-text cl-spacing-large",onClick:o[0]||(o[0]=(...ve)=>e.back&&e.back(...ve))},o[1]||(o[1]=[n.createElementVNode("i",{class:"fas fa-angle-left"},null,-1),n.createElementVNode("span",null,"Back",-1)]))]),_:1,__:[2,3]},8,["fluid"])]):n.renderSlot(e.$slots,"default",{key:2})],64)}const ln=B(Xd,[["render",Kd]]);ln.install=e=>{e.component(ln.name??"ClNoName",ln)};function Gd(e,o,c,p){const b=[],v=Math.ceil(e/o);c<1&&(c=1),c>v&&(c=v);for(let u=1;u<=v;u++)(u>=c-p&&u<=c+p||u===1||u===v)&&b.push(u);return{previous:c>1?c-1:null,next:c<v?c+1:null,current:c,pages:b}}const Qd=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}},emits:["page"],computed:{pager:function(){return Gd(this.items,this.pagesize,this.current,this.window)}}}),Jd={key:0,class:"col-12 text-center cl-spacing-medium"},Zd={class:"pagination"},eu={key:0,class:"page-item"},tu={key:1,class:"page-item disabled"},nu={key:0,class:"page-item disabled"},iu=["onClick"],ou={key:2,class:"page-item"},su={key:3,class:"page-item disabled"};function ru(e,o,c,p,b,v){return e.pager?.pages?.length>1?(n.openBlock(),n.createElementBlock("nav",Jd,[n.createElementVNode("ul",Zd,[e.pager.previous?(n.openBlock(),n.createElementBlock("li",eu,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:o[0]||(o[0]=u=>e.$emit("page",e.pager.previous))},"Prev")])):(n.openBlock(),n.createElementBlock("li",tu,"Prev")),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.pager.pages,(u,S)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:u},[S>0&&e.pager.pages[S-1]!==u-1?(n.openBlock(),n.createElementBlock("li",nu," ... ")):n.createCommentVNode("",!0),n.createElementVNode("li",{class:n.normalizeClass(["page-item",{active:u===e.pager.current}])},[n.createElementVNode("button",{class:"page-link",onClick:Y=>e.$emit("page",u)},n.toDisplayString(u),9,iu)],2)],64))),128)),e.pager.next?(n.openBlock(),n.createElementBlock("li",ou,[n.createElementVNode("button",{type:"button",class:"page-link",onClick:o[1]||(o[1]=u=>e.$emit("page",e.pager.next))},"Next")])):(n.openBlock(),n.createElementBlock("li",su,"Next"))])])):n.createCommentVNode("",!0)}const an=B(Qd,[["render",ru]]);an.install=e=>{e.component(an.name??"ClNoName",an)};const lu=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="";return!this.primary&&!this.secondary?e+="cl-plan-dark":this.primary?e+="cl-plan-primary":this.secondary&&(e+="cl-plan-secondary"),e+(this.class?` ${this.class}`:"")}}}),au={key:0,class:"cl-plan-derived"},cu=["id"];function du(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",au)):n.createCommentVNode("",!0),n.createElementVNode("span",{id:e.id,class:n.normalizeClass(e.clazz)},[n.createTextVNode(n.toDisplayString(e.name),1),n.renderSlot(e.$slots,"default")],10,cu)],64)}const cn=B(lu,[["render",du]]);cn.install=e=>{e.component(cn.name??"ClNoName",cn)};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="";return!this.primary&&!this.secondary?e+="cl-role-dark":this.primary?e+="cl-role-primary":this.secondary&&(e+="cl-role-secondary"),e+(this.class?` ${this.class}`:"")}}}),fu={key:0,class:"cl-role-derived"},pu=["id"];function hu(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.derived?(n.openBlock(),n.createElementBlock("span",fu)):n.createCommentVNode("",!0),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)],64)}const dn=B(uu,[["render",hu]]);dn.install=e=>{e.component(dn.name??"ClNoName",dn)};const mu=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"}}}),gu={class:"cl-section-form cl-section-alternate"},vu=["id"],bu=["disabled"],yu={key:1,class:"col-12"};function _u(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("section",gu,[n.createElementVNode("form",{id:e.id,novalidate:"",class:n.normalizeClass(e.containerClass),onSubmit:o[0]||(o[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",yu,[n.renderSlot(e.$slots,"default")]))],8,bu)],42,vu)])}const un=B(mu,[["render",_u]]);un.install=e=>{e.component(un.name??"ClNoName",un)};const Cu=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"}}}),ku={class:"cl-section-primary cl-section-headline"},$u={class:"row"},Eu={class:"col-12"},wu={key:0},Su=["href"];function Nu(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("section",ku,[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",$u,[n.createElementVNode("div",Eu,[e.title?(n.openBlock(),n.createElementBlock("h1",wu,[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"},o[0]||(o[0]=[n.createElementVNode("i",{class:"fas fa-question-circle"},null,-1)]),8,Su)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"default")])])],2)])}const fn=B(Cu,[["render",Nu]]);fn.install=e=>{e.component(fn.name??"ClNoName",fn)};const Tu=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-regular"},containerClass:function(){return this.isFluid?"container-fluid":"container"}}}),Au={class:"row"},Bu={key:1,class:"col-12"};function Ou(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("section",{class:n.normalizeClass(e.sectionClass)},[n.createElementVNode("div",{class:n.normalizeClass(e.containerClass)},[n.createElementVNode("div",Au,[e.noCol?n.renderSlot(e.$slots,"default",{key:0}):(n.openBlock(),n.createElementBlock("div",Bu,[n.renderSlot(e.$slots,"default")]))])],2)],2)}const yt=B(Tu,[["render",Ou]]);yt.install=e=>{e.component(yt.name??"ClNoName",yt)};const Du=n.defineComponent({name:"ClSectionMainSide",components:{ClSectionMain:yt},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":"cl-section-regular")}}});function Vu(e,o,c,p,b,v){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 pn=B(Du,[["render",Vu]]);pn.install=e=>{e.component(pn.name??"ClNoName",pn)};const Mu=n.defineComponent({name:"ClSpinner",props:{title:{type:String,default:"Loading ..."}}}),Lu={class:"cl-spinner"};function zu(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("div",Lu,[n.createTextVNode(n.toDisplayString(e.title),1),o[0]||(o[0]=n.createElementVNode("i",{class:"fas fa-spinner fa-spin"},null,-1))])}const hn=B(Mu,[["render",zu]]);hn.install=e=>{e.component(hn.name??"ClNoName",hn)};function Iu(e){document.querySelectorAll(`#${e} .cl-resizer`).forEach(o=>{Fu(o)})}let Qn=0,Vn=null;function Fu(e){Qn=0,Vn=null,e.addEventListener("mousedown",xu),document.addEventListener("mousemove",Pu),document.addEventListener("mouseup",ju)}const xu=e=>{e.preventDefault(),Vn=e.target?e.target.parentElement:null,Qn=e.pageX},Pu=e=>{if(Vn!==null){e.preventDefault();const o=e.pageX-Qn;Qn=e.pageX;const c=Wu(Vn),p=e.target?.closest("table")?.id??"unknown";!!document.querySelector(`#${p}.cl-table-nowrap`)?document.querySelectorAll(`#${p} tr th:nth-child(${c-1})`).forEach(v=>{const u=(v.style.maxWidth===""?v.offsetWidth:parseInt(v.style.maxWidth))+o;v.style.width=(u>32?u:32)+"px",v.style.maxWidth=(u>32?u:32)+"px"}):(document.querySelectorAll(`#${p} tr td:nth-child(${c-1})`).forEach(v=>{const u=v.offsetWidth+o;v.style.width=(u>32?u:32)+"px"}),document.querySelectorAll(`#${p} tr td:nth-child(${c})`).forEach(v=>{const u=v.offsetWidth-o;v.style.width=(u>32?u:32)+"px"}))}},ju=e=>{Vn!==null&&(e.preventDefault(),Qn=0,Vn=null)};function Wu(e){let o=0;for(;e;)o++,e=e.previousElementSibling;return o}const Ru=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 o=1;o<=this.show.length;o++)this.show[o-1]||(e+=` cl-table-col-${o}-hide`);return e}},watch:{rows:function(){this.setupResizer()}},mounted(){this.setupResizer()},methods:{setupResizer:function(){this.$nextTick(()=>{Iu(this.$uid)})}}}),qu=["id"],Hu=["id"],Uu={key:0},Xu={key:1},Yu={class:"cl-tr-no-data"},Ku={colspan:"100"},Gu={key:2},Qu={class:"cl-tr-no-data"},Ju={colspan:"100"},Zu={key:3};function ef(e,o,c,p,b,v){const u=n.resolveComponent("cl-spinner"),S=n.resolveComponent("cl-field-check"),Y=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",Uu,[n.renderSlot(e.$slots,"default"),n.renderSlot(e.$slots,"body")])):e.rows===0?(n.openBlock(),n.createElementBlock("tbody",Xu,[n.createElementVNode("tr",Yu,[n.createElementVNode("td",Ku,n.toDisplayString(e.noDataText),1)])])):(n.openBlock(),n.createElementBlock("tbody",Gu,[n.createElementVNode("tr",Qu,[n.createElementVNode("td",Ju,[n.createVNode(u)])])])),e.$slots.footer?(n.openBlock(),n.createElementBlock("tfoot",Zu,[n.createElementVNode("tr",null,[n.renderSlot(e.$slots,"footer")])])):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"tfoot")],10,Hu)],8,qu),e.hideCols?(n.openBlock(),n.createBlock(Y,{key:0,id:e.$uid+"-settings",title:"Configure table"},{default:n.withCtx(()=>[o[0]||(o[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,(ve,pe)=>(n.openBlock(),n.createBlock(S,{key:ve,value:e.show[pe],modelValue:e.show[pe],"onUpdate:modelValue":Ct=>e.show[pe]=Ct},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(ve),1)]),_:2},1032,["value","modelValue","onUpdate:modelValue"]))),128))]),_:1,__:[0]},8,["id"])):n.createCommentVNode("",!0)],64)}const mn=B(Ru,[["render",ef]]);mn.install=e=>{e.component(mn.name??"ClNoName",mn)};const tf=n.defineComponent({name:"ClTableCel",props:{condensed:{type:Boolean,default:!1}}});function nf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",{class:n.normalizeClass(e.condensed?"cl-font-condensed":"")},[n.renderSlot(e.$slots,"default")],2)}const gn=B(tf,[["render",nf]]);gn.install=e=>{e.component(gn.name??"ClNoName",gn)};const of=n.defineComponent({name:"ClTableCelActions",props:{content:{type:String,default:""}}}),sf={class:"cl-td-actions"};function rf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",sf,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const vn=B(of,[["render",rf]]);vn.install=e=>{e.component(vn.name??"ClNoName",vn)};const lf=n.defineComponent({name:"ClTableCelAudit",directives:{tooltip:Mn},props:{value:{type:String,default:"???"}}}),af={class:"cl-td-audit"},cf={class:"fas fa-info-circle"};function df(e,o,c,p,b,v){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("td",af,[n.withDirectives(n.createElementVNode("i",cf,null,512),[[u,e.value,"left"]])])}const bn=B(lf,[["render",df]]);bn.install=e=>{e.component(bn.name??"ClNoName",bn)};const uf=n.defineComponent({name:"ClTableCelBoolean",props:{value:{type:Boolean,default:!1}}}),ff={class:"cl-td-boolean"};function pf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",ff,[n.createElementVNode("i",{class:n.normalizeClass(`fas ${e.value?"fa-check":"fa-minus"}`)},null,2)])}const yn=B(uf,[["render",pf]]);yn.install=e=>{e.component(yn.name??"ClNoName",yn)};const hf=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)}}}),mf={class:"cl-td-checkbox"},gf={class:"form-check text-center"},vf=["id","disabled"];function bf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",mf,[n.createElementVNode("div",gf,[n.withDirectives(n.createElementVNode("input",{id:e.id??e.$uid,"onUpdate:modelValue":o[0]||(o[0]=u=>e.modelValue=u),class:"form-check-input",type:"checkbox",disabled:e.disabled,onChange:o[1]||(o[1]=u=>e.emitAll())},null,40,vf),[[n.vModelCheckbox,e.modelValue]])])])}const _n=B(hf,[["render",bf]]);_n.install=e=>{e.component(_n.name??"ClNoName",_n)};const yf=n.defineComponent({name:"ClTableCelCode"}),_f={class:"cl-td-code"};function Cf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",_f,[n.renderSlot(e.$slots,"default")])}const Cn=B(yf,[["render",Cf]]);Cn.install=e=>{e.component(Cn.name??"ClNoName",Cn)};const kf=n.defineComponent({name:"ClTableCelCurrency",props:{amount:{type:Number,default:0},currency:{type:String,default:"EUR"}}}),$f={class:"cl-td-currency"};function Ef(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",$f,n.toDisplayString(e.currency)+" "+n.toDisplayString(e.amount),1)}const kn=B(kf,[["render",Ef]]);kn.install=e=>{e.component(kn.name??"ClNoName",kn)};const wf=n.defineComponent({name:"ClTableCelDate",props:{value:{type:String,default:void 0}},computed:{content:function(){if(this.value){const e=new Date(this.value),o=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),v=new Intl.DateTimeFormat("en",{minute:"2-digit"}).format(e);return`${o}-${c}-${p} ${b}:${v}`}return"-"}}}),Sf={class:"cl-td-date"};function Nf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",Sf,n.toDisplayString(e.content),1)}const $n=B(wf,[["render",Nf]]);$n.install=e=>{e.component($n.name??"ClNoName",$n)};const Tf=n.defineComponent({name:"ClTableCelId",directives:{tooltip:Mn,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>"}}}),Af={class:"cl-td-id"};function Bf(e,o,c,p,b,v){const u=n.resolveDirective("tooltip"),S=n.resolveDirective("clipboard");return n.withDirectives((n.openBlock(),n.createElementBlock("td",Af,[n.createTextVNode(n.toDisplayString(e.value),1)])),[[u,e.tooltip,"right"],[S,e.full??e.value]])}const En=B(Tf,[["render",Bf]]);En.install=e=>{e.component(En.name??"ClNoName",En)};const Of=n.defineComponent({name:"ClTableCelLinks",props:{content:{type:String,default:""}}}),Df={class:"cl-td-links"};function Vf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("td",Df,[n.createTextVNode(n.toDisplayString(e.content),1),n.renderSlot(e.$slots,"default")])}const wn=B(Of,[["render",Vf]]);wn.install=e=>{e.component(wn.name??"ClNoName",wn)};const Mf=n.defineComponent({name:"ClTableCelUuid",props:{value:{type:String,default:"00000000-0000-0000-0000-000000000000"}}});function Lf(e,o,c,p,b,v){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 Sn=B(Mf,[["render",Lf]]);Sn.install=e=>{e.component(Sn.name??"ClNoName",Sn)};const zf=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}}}),If={key:0,class:"cl-table-foot-checked"},Ff={class:"cl-td-links",colspan:"100"};function xf(e,o,c,p,b,v){return e.any?(n.openBlock(),n.createElementBlock("tfoot",If,[n.createElementVNode("tr",null,[n.createElementVNode("td",Ff,[o[0]||(o[0]=n.createElementVNode("small",null,[n.createElementVNode("i",{class:"fas fa-share fa-rotate-270 cl-faded"})],-1)),o[1]||(o[1]=n.createTextVNode(" ",-1)),n.renderSlot(e.$slots,"default")])])])):n.createCommentVNode("",!0)}const Nn=B(zf,[["render",xf]]);Nn.install=e=>{e.component(Nn.name??"ClNoName",Nn)};const Pf=n.defineComponent({name:"ClTableHead",directives:{tooltip:Mn},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,o){e!==o&&(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 o=e?.target;for(;o;){if(o.tagName==="TABLE"){yo(`${o.id}-settings`);return}o=o.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")}}}}),jf=["id","width"],Wf={class:"fas fa-cog cl-faded"},Rf={key:0,class:"cl-resizer"},qf={key:1,class:"form-check text-center"},Hf=["indeterminate"],Uf={key:2,class:"cl-resizer"};function Xf(e,o,c,p,b,v){const u=n.resolveDirective("tooltip");return n.openBlock(),n.createElementBlock("th",{id:e.$uid,class:n.normalizeClass(["cl-table-head cl-p-tiny",{"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:o[0]||(o[0]=(...S)=>e.openSettings&&e.openSettings(...S))},[n.withDirectives(n.createElementVNode("i",Wf,null,512),[[u,"Configure table","left"]])]),e.resize?(n.openBlock(),n.createElementBlock("div",Rf)):n.createCommentVNode("",!0)],64)):e.checkbox?(n.openBlock(),n.createElementBlock("div",qf,[n.withDirectives(n.createElementVNode("input",{ref:"checkbox","onUpdate:modelValue":o[1]||(o[1]=S=>e.modelValue=S),class:"form-check-input",type:"checkbox",indeterminate:e.checkState==="SOME",onChange:o[2]||(o[2]=S=>e.check())},null,40,Hf),[[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:o[3]||(o[3]=(...S)=>e.sortCol&&e.sortCol(...S))},[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",Uf)):n.createCommentVNode("",!0)],64))],10,jf)}const Tn=B(Pf,[["render",Xf]]);Tn.install=e=>{e.component(Tn.name??"ClNoName",Tn)};const Yf=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}}}),Kf=["id"];function Gf(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("tr",{id:e.id,class:n.normalizeClass(e.clazz)},[n.renderSlot(e.$slots,"default")],10,Kf)}const An=B(Yf,[["render",Gf]]);An.install=e=>{e.component(An.name??"ClNoName",An)};const Qf=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)}}}),Jf={class:"cl-tabs"},Zf=["id","name","checked","onChange"],ep=["for"];function tp(e,o,c,p,b,v){return n.openBlock(),n.createElementBlock("div",Jf,[(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:S=>e.emit(u)},null,42,Zf)):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,ep)],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 Bn=B(Qf,[["render",tp]]);Bn.install=e=>{e.component(Bn.name??"ClNoName",Bn)};const np=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:"badge cl-badge-text "+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())}}}}),ip=["id","checked","disabled"],op=["id","for","disabled"];function sp(e,o,c,p,b,v){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:o[0]||(o[0]=u=>e.toggle())},null,42,ip),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,op)],64)}const On=B(np,[["render",sp]]);On.install=e=>{e.component(On.name??"ClNoName",On)};const rp={install:e=>{let o=0;e.mixin({beforeCreate:function(){let p;const b="uid-"+o++;Object.defineProperties(this,(p={},p.$uid={get:function(){return b}},p))}})}};function lp(){return{ClAlert:xt,ClBackCancelOk:Pt,ClCookieBanner:jt,ClCopy:Wt,ClCreditcardNumber:Rt,ClDropzone:qt,ClField:Ht,ClFieldCheck:Ut,ClFieldGroup:Xt,ClHashtag:Yt,ClIconotron:Kt,ClInfo:Gt,ClLinkExternal:Qt,ClLorem:Jt,ClMailto:Zt,ClModal:en,ClModalConfirm:tn,ClModalOk:nn,ClNavSide:on,ClNavTop:sn,ClOrg:rn,ClPage:ln,ClPagination:an,ClPlan:cn,ClRole:dn,ClSectionForm:un,ClSectionHeadline:fn,ClSectionMain:yt,ClSectionMainSide:pn,ClSpinner:hn,ClTable:mn,ClTableCel:gn,ClTableCelActions:vn,ClTableCelAudit:bn,ClTableCelBoolean:yn,ClTableCelCheckbox:_n,ClTableCelCode:Cn,ClTableCelCurrency:kn,ClTableCelDate:$n,ClTableCelId:En,ClTableCelLinks:wn,ClTableCelUuid:Sn,ClTableFootChecked:Nn,ClTableHead:Tn,ClTableRow:An,ClTabs:Bn,ClToggle:On}}function ap(){return[rp]}function $o(e,o){const c=JSON.parse(JSON.stringify(e));for(const p in o)typeof o[p]=="object"&&!Array.isArray(o[p])?c[p]=$o(e[p]??{},o[p]):c[p]=o[p];return c}function cp(e,o){return{store:$o(e,o)}}const mr="✺";let Ti={};function dp(e,o="",c=!1){const p=Ti[o]??it(gr(o));return Object.keys(Ti).length>100&&(Ti={}),Ti[o]=p,bt(c?e.toLowerCase():e,p,c)}function bt(e,o,c){if(typeof o=="string"){const p=o.replaceAll(mr," ");return p[0]==="-"?!bt(e,p.substring(1),c):c?e.includes(p):e.toLowerCase().includes(p.toLowerCase())}else switch(o[0]){case"&":return bt(e,o[1])&&bt(e,o[2]);case"|":return bt(e,o[1])||bt(e,o[2]);default:return!1}}function gr(e){const o=[];let c=!1;for(let u=0;u<e.length;u++)c?e[u]===c?c=!1:o.push([" "].includes(e[u])?mr:e[u]):["'",'"'].includes(e[u])?c=e[u]:o.push(e[u]);const p=o.join("").replace(/\s+/g," ").trim();if(p.length<=0)return"";const b=p.split(" ");if(b.length<=0)return"";const v=[];["NOT","-"].includes(b[0])||v.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]&&(v.push("&"),v.push("-"),v.push(b[++u]));break;case void 0:break;default:v.push("&"),v.push(b[u])}break;case"OR":case"|":case"||":switch(b[++u]){case"NOT":case"-":b[u+1]&&(v.push("|"),v.push("-"),v.push(b[++u]));break;case void 0:break;default:v.push("|"),v.push(b[u])}break;case"NOT":case"-":v.push("-"),v.push(b[++u]);break;default:v.push("&"),v.push(b[u])}return` ${v.join(" ")} `.replace(/ - /g," -").trim()}function it(e){const o=e.indexOf(" | ");if(o>=0)return["|",it(e.substring(0,o)),it(e.substring(o+3))];const c=e.indexOf(" & ");if(c>=0)return["&",it(e.substring(0,c)),it(e.substring(c+3))];const p=e.indexOf(" ");return p>=0?["&",it(e.substring(0,p)),it(e.substring(p+1))]:e}const _t={DEV:"DEV",TEST:"TEST",PROD:"PROD"},vr={id:"CP",subtitle:"Access the Content Platform, manage, encode and watermark assets",title:"Content Platform",urlManage:function(e,o){return e===_t.PROD?`https://platform.content.castlabs.com/#/o/${o??""}`:`https://platform.content-stag.castlabs.com/#/o/${o??""}`},sidenav:!1},br={id:"CS",subtitle:"Manage organizations, plans, downloads",title:"Castlabs hub",urlManage:function(e,o){return Eo(e,`https://account.test.cs.castlabs.com/o/${o??""}`,`https://account.castlabs.com/o/${o??""}`)},sidenav:!0},yr={id:"DT",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday",urlManage:function(e,o){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${o?`${o}/`:""}index`,`https://fe.drmtoday.com/dashboard/${o?`${o}/`:""}index`)},sidenav:!0},_r={id:"DTO",subtitle:"",title:"DRMtoday Onboard (staging)",urlManage:function(e,o){return`https://onboard.castlabs.com/o/${o??""}/devices`},sidenav:!1},Cr={id:"DTS",subtitle:"Cloud DRM & CAS licensing",title:"DRMtoday (staging)",urlManage:function(e,o){return Eo(e,`https://fe.test.drmtoday.com/dashboard/${o?`${o}/`:""}index`,`https://fe.staging.drmtoday.com/dashboard/${o?`${o}/`:""}index`)},sidenav:!1},kr={id:"PP",subtitle:"Cross-platform video players (via Castlabs hub)",title:"PRESTOplay",urlManage:function(e,o){return e===_t.PROD?`https://account.castlabs.com/o/${o}/prestoplay`:`https://account.test.cs.castlabs.com/o/${o}/prestoplay`},sidenav:!0},$r={id:"VTK",subtitle:"Cloud encoding, packaging, watermarking",title:"Video Toolkit",urlManage:function(e){return e===_t.PROD?"https://vtk.castlabs.com/":"https://vtks.castlabs.com/"},sidenav:!0},Er={id:"WM",subtitle:"Video & image forensic watermarking",title:"STARDUSTmark",urlManage:function(e,o){return e===_t.PROD?`https://watermark.castlabs.com/#/o/${o}`:`https://demo-stag.fwm.castlabs.com/#/o/${o}`},sidenav:!0};function Eo(e=_t.PROD,o,c){return[_t.DEV,_t.TEST].includes(e)?o:c}function up(){return[br,vr,yr,Cr,_r,kr,Er,$r]}const fp={CP:vr,CS:br,DT:yr,DTS:Cr,DTO:_r,PP:kr,WM:Er,VTK:$r},vo={ClAlert:xt,ClBackCancelOk:Pt,ClCookieBanner:jt,ClCopy:Wt,ClCreditcardNumber:Rt,ClDropzone:qt,ClField:Ht,ClFieldCheck:Ut,ClFieldGroup:Xt,ClHashtag:Yt,ClIconotron:Kt,ClInfo:Gt,ClLinkExternal:Qt,ClLorem:Jt,ClMailto:Zt,ClModal:en,ClModalConfirm:tn,ClModalOk:nn,ClNavSide:on,ClNavTop:sn,ClOrg:rn,ClPage:ln,ClPagination:an,ClPlan:cn,ClRole:dn,ClSectionForm:un,ClSectionHeadline:fn,ClSectionMain:yt,ClSectionMainSide:pn,ClSpinner:hn,ClTable:mn,ClTableCel:gn,ClTableCelActions:vn,ClTableCelAudit:bn,ClTableCelBoolean:yn,ClTableCelCheckbox:_n,ClTableCelCode:Cn,ClTableCelCurrency:kn,ClTableCelDate:$n,ClTableCelId:En,ClTableCelLinks:wn,ClTableCelUuid:Sn,ClTableFootChecked:Nn,ClTableHead:Tn,ClTableRow:An,ClTabs:Bn,ClToggle:On,ClMockRouterLink:Gn,ClUI:Sa};function pp(e){for(const o in vo)e.component(vo[o].name,vo[o])}exports.ClAlert=xt;exports.ClBackCancelOk=Pt;exports.ClCookieBanner=jt;exports.ClCopy=Wt;exports.ClCreditcardNumber=Rt;exports.ClDropzone=qt;exports.ClField=Ht;exports.ClFieldCheck=Ut;exports.ClFieldGroup=Xt;exports.ClHashtag=Yt;exports.ClIconotron=Kt;exports.ClInfo=Gt;exports.ClLinkExternal=Qt;exports.ClLorem=Jt;exports.ClMailto=Zt;exports.ClMockRouterLink=Gn;exports.ClModal=en;exports.ClModalConfirm=tn;exports.ClModalOk=nn;exports.ClNavSide=on;exports.ClNavTop=sn;exports.ClOrg=rn;exports.ClPage=ln;exports.ClPagination=an;exports.ClPlan=cn;exports.ClRole=dn;exports.ClSectionForm=un;exports.ClSectionHeadline=fn;exports.ClSectionMain=yt;exports.ClSectionMainSide=pn;exports.ClSpinner=hn;exports.ClTable=mn;exports.ClTableCel=gn;exports.ClTableCelActions=vn;exports.ClTableCelAudit=bn;exports.ClTableCelBoolean=yn;exports.ClTableCelCheckbox=_n;exports.ClTableCelCode=Cn;exports.ClTableCelCurrency=kn;exports.ClTableCelDate=$n;exports.ClTableCelId=En;exports.ClTableCelLinks=wn;exports.ClTableCelUuid=Sn;exports.ClTableFootChecked=Nn;exports.ClTableHead=Tn;exports.ClTableRow=An;exports.ClTabs=Bn;exports.ClToggle=On;exports.NAV=fp;exports._getProperty=Ft;exports._sanitize=gr;exports._tokenize=it;exports.castlabsUi=pp;exports.clCopyData=Ya;exports.clDebounce=Ha;exports.clFocus=Ma;exports.clFormAutofocus=La;exports.clFormFieldFocusFirstInvalid=Co;exports.clFormFieldReset=rr;exports.clFormIsValid=_o;exports.clFormIsValidAsync=lr;exports.clFormReset=sr;exports.clFormatAmount=Pa;exports.clFormatCardNumber=dr;exports.clFormatDate=ar;exports.clFormatDateTimeUTC=Ia;exports.clFormatDuration=Fa;exports.clFormatFilesize=za;exports.clFormatNumber=Oi;exports.clFormatPeriod=xa;exports.clFormatRange=ja;exports.clFormatTimeUTC=cr;exports.clGetAllComponents=lp;exports.clGetAllPlugins=ap;exports.clGetServices=up;exports.clMatch=dp;exports.clModalHide=Dn;exports.clModalIsShown=Va;exports.clModalShow=yo;exports.clModalValue=Bi;exports.clPaginate=or;exports.clPatch=$o;exports.clPatchStore=cp;exports.clRandomList=Xa;exports.clRandomString=Ua;exports.clRefClField=Qa;exports.clRefClFieldGroup=Ja;exports.clRefHTMLElement=Za;exports.clReload=Ga;exports.clReloadStore=Ka;exports.clScrollToId=Da;exports.clSort=ur;exports.clSynchronizedSubmit=Wa;exports.clSynchronizedSubmitAsync=Ra;exports.clTableSorter=fr;exports.clTableSorterObjects=qa;exports.clVClipboard=ko;exports.clVTooltip=Mn;
|
|
30
30
|
//# sourceMappingURL=castlabs-ui.common.js.map
|