選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

2 行
38 KiB

  1. (self["webpackChunkTruckShop"]=self["webpackChunkTruckShop"]||[]).push([[9891],{896:function(e,t,s){var i=s(9692),l=s(1087),r=s(4243),o="Expected a function",a=Math.max,n=Math.min;function c(e,t,s){var c,d,h,u,p,v,f=0,b=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError(o);function k(t){var s=c,i=d;return c=d=void 0,f=t,u=e.apply(i,s),u}function x(e){return f=e,p=setTimeout(E,t),b?k(e):u}function y(e){var s=e-v,i=e-f,l=t-s;return m?n(l,h-i):l}function L(e){var s=e-v,i=e-f;return void 0===v||s>=t||s<0||m&&i>=h}function E(){var e=l();if(L(e))return S(e);p=setTimeout(E,y(e))}function S(e){return p=void 0,g&&c?k(e):(c=d=void 0,u)}function C(){void 0!==p&&clearTimeout(p),f=0,c=v=d=p=void 0}function w(){return void 0===p?u:S(l())}function O(){var e=l(),s=L(e);if(c=arguments,d=this,v=e,s){if(void 0===p)return x(v);if(m)return clearTimeout(p),p=setTimeout(E,t),k(v)}return void 0===p&&(p=setTimeout(E,t)),u}return t=r(t)||0,i(s)&&(b=!!s.leading,m="maxWait"in s,h=m?a(r(s.maxWait)||0,t):h,g="trailing"in s?!!s.trailing:g),O.cancel=C,O.flush=w,O}e.exports=c},1087:function(e,t,s){var i=s(8606),l=function(){return i.Date.now()};e.exports=l},1795:function(e,t,s){var i=s(896),l=s(9692),r="Expected a function";function o(e,t,s){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(r);return l(s)&&(o="leading"in s?!!s.leading:o,a="trailing"in s?!!s.trailing:a),i(e,t,{leading:o,maxWait:t,trailing:a})}e.exports=o},3301:function(e,t,s){"use strict";s.d(t,{QJ:function(){return l},lR:function(){return r}});var i=s(782);(0,i.aH)("auth",{currentUser:e=>e.currentUser}),(0,i.L8)("auth",["loggedIn"]);const l={...(0,i.aH)("layout",{layoutType:e=>e.layoutType,sidebarSize:e=>e.sidebarSize,layoutWidth:e=>e.layoutWidth,topbar:e=>e.topbar,mode:e=>e.mode,position:e=>e.position,sidebarView:e=>e.sidebarView,sidebarColor:e=>e.sidebarColor,sidebarCaption:e=>e.sidebarCaption,color:e=>e.color,direction:e=>e.direction,sidebarImage:e=>e.sidebarImage,layoutTheme:e=>e.layoutTheme,preloader:e=>e.preloader})},r=(0,i.i0)("layout",["changeLayoutType","changeTopbar","changeMode","changePosition","changeSidebarView","changeSidebarColor","changeSidebarCaption","changeColor","changeDirection","changeThemes"])},3775:function(e,t,s){"use strict";s.d(t,{A:function(){return z}});s(8111),s(7588);var i=s(896),l=s(1795),r=function(){return r=Object.assign||function(e){for(var t,s=1,i=arguments.length;s<i;s++)for(var l in t=arguments[s],t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)};function o(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function a(e){return e&&e.ownerDocument?e.ownerDocument:document}var n=function(e){var t={},s=Array.prototype.reduce.call(e,(function(e,t){var s=t.name.match(/data-simplebar-(.+)/);if(s){var i=s[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e}),t);return s};function c(e,t){var s;e&&(s=e.classList).add.apply(s,t.split(" "))}function d(e,t){e&&t.split(" ").forEach((function(t){e.classList.remove(t)}))}function h(e){return".".concat(e.split(" ").join("."))}var u=!("undefined"===typeof window||!window.document||!window.document.createElement),p=Object.freeze({__proto__:null,addClasses:c,canUseDOM:u,classNamesToQuery:h,getElementDocument:a,getElementWindow:o,getOptions:n,removeClasses:d}),v=null,f=null;function b(){if(null===v){if("undefined"===typeof document)return v=0,v;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var s=t.getBoundingClientRect().right;e.removeChild(t),v=s}return v}u&&window.addEventListener("resize",(function(){f!==window.devicePixelRatio&&(f=window.devicePixelRatio,v=null)}));var m=o,g=a,k=n,x=c,y=d,L=h,E=function(){function e(t,s){void 0===s&&(s={});var o=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 e=m(o.el);o.scrollXTicking||(e.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(e.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0),o.isScrolling||(o.isScrolling=!0,x(o.el,o.classNames.scrolling)),o.showScrollbar("x"),o.showScrollbar("y"),o.onStopScrolling()},this.scrollX=function(){o.axis.x.isOverflowing&&o.positionScrollbar("x"),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&o.positionScrollbar("y"),o.scrollYTicking=!1},this._onStopScrolling=function(){y(o.el,o.classNames.scrolling),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isScrolling=!1},this.onMouseEnter=function(){o.isMouseEntering||(x(o.el,o.classNames.mouseEntered),o.showScrollbar("x"),o.showScrollbar("y"),o.isMouseEntering=!0),o.onMouseEntered()},this._onMouseEntered=function(){y(o.el,o.classNames.mouseEntered),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isMouseEntering=!1},this._onMouseMove=function(e){o.mouseX=e.clientX,o.mouseY=e.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this._onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,s;o.axis.x.track.el&&o.axis.y.track.el&&o.axis.x.scrollbar.el&&o.axis.y.scrollbar.el&&(o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(t=o.isWithinBounds(o.axis.x.track.rect)),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(s=o.isWithinBounds(o.axis.y.track.rect)),(t||s)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(e,"x"):o.onTrackClick(e,"x")),s&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(e,"y"):o.onTrackClick(e,"y")))))},this.drag=function(t){var s,i,l,r,a,n,c,d,h,u,p;if(o.draggedAxis&&o.contentWrapperEl){var v,f=o.axis[o.draggedAxis].track,b=null!==(i=null===(s=f.rect)||void 0===s?void 0:s[o.axis[o.draggedAxis].sizeAttr])&&void 0!==i?i:0,m=o.axis[o.draggedAxis].scrollbar,g=null!==(r=null===(l=o.contentWrapperEl)||void 0===l?void 0:l[o.axis[o.draggedAxis].scrollSizeAttr])&&void 0!==r?r:0,k=parseInt(null!==(n=null===(a=o.elStyles)||void 0===a?void 0:a[o.axis[o.draggedAxis].sizeAttr])&&void 0!==n?n:"0px",10);t.preventDefault(),t.stopPropagation(),v="y"===o.draggedAxis?t.pageY:t.pageX;var x=v-(null!==(d=null===(c=f.rect)||void 0===c?void 0:c[o.axis[o.draggedAxis].offsetAttr])&&void 0!==d?d:0)-o.axis[o.draggedAxis].dragOffset;x="x"===o.draggedAxis&&o.isRtl?(null!==(u=null===(h=f.rect)||void 0===h?void 0:h[o.axis[o.draggedAxis].sizeAttr])&&void 0!==u?u:0)-m.size-x:x;var y=x/(b-m.size),L=y*(g-k);"x"===o.draggedAxis&&o.isRtl&&(L=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-L:L),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=L}},this.onEndDrag=function(e){o.isDragging=!1;var t=g(o.el),s=m(o.el);e.preventDefault(),e.stopPropagation(),y(o.el,o.classNames.dragging),o.onStopScrolling(),t.removeEventListener("mousemove",o.drag,!0),t.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=s.setTimeout((function(){t.removeEventListener("click",o.preventClick,!0),t.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=r(r({},e.defaultOptions),s),this.classNames=r(r({},e.defaultOptions.classNames),s.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}}},"object"!==typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=l(this._onMouseMove,64),this.onWindowResize=i(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=i(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=i(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var s=t.firstElementChild,i=null===s||void 0===s?void 0:s.firstElementChild;if(!i)return null;document.body.appendChild(s),s.scrollLeft=0;var l=e.getOffset(s),r=e.getOffset(i);s.scrollLeft=-999;var o=e.getOffset(i);return document.body.removeChild(s),e.rtlHelpers={isScrollOriginAtZero:l.left!==r.left,isScrollingToNegative:r.left!==o.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:b()}catch(e){return b()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),s=g(e),i=m(e);return{top:t.top+(i.pageYOffset||s.documentElement.scrollTop),left:t.left+(i.pageXOffset||s.documentElement.scrollLeft)}},e.prototype.init=function(){u&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(L(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(L(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(L(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(L(this.classNames.offset)),this.maskEl=this.el.querySelector(L(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,L(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(L(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(L(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(L(this.classNames.track)).concat(L(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(L(this.classNames.track)).concat(L(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(L(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(L(this.classNames.scrollbar)))||null,this.options.autoHide||(x(this.axis.x.scrollbar.el,this.classNames.visible),x(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,s=m(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),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),s.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var i=!1,l=s.ResizeObserver||ResizeObserver;this.resizeObserver=new l((function(){i&&s.requestAnimationFrame((function(){t.recalculate()}))})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),s.requestAnimationFrame((function(){i=!0}))}this.mutationObserver=new s.MutationObserver((function(){s.requestAnimationFrame((function(){t.recalculate()}))})),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=m(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,s=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||t>0,l=this.contentWrapperEl.offsetWidth,r=this.elStyles.overflowX,o=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 a=this.contentEl.scrollHeight,n=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=s?"auto":"100%",this.placeholderEl.style.width=i?"".concat(t||n,"px"):"auto",this.placeholderEl.style.height="".concat(a,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&n>t,this.axis.y.isOverflowing=a>c,this.axis.x.isOverflowing="hidden"!==r&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==o&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var d=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&n>l-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>c-d,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")}},e.prototype.getScrollbarSize=function(e){var t,s;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var i,l=this.contentEl[this.axis[e].scrollSizeAttr],r=null!==(s=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==s?s:0,o=r/l;return i=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(i=Math.min(i,this.options.scrollbarMaxSize)),i},e.prototype.positionScrollbar=function(t){var s,i,l;void 0===t&&(t="y");var r=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&r.el&&this.elStyles){var o=this.contentWrapperEl[this.axis[t].scrollSizeAttr],a=(null===(s=this.axis[t].track.el)||void 0===s?void 0:s[this.axis[t].offsetSizeAttr])||0,n=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(l=e.getRtlHelpers())||void 0===l?void 0:l.isScrollingToNegative)?c:-c);var d=c/(o-n),h=~~((a-r.size)*d);h="x"===t&&this.isRtl?-h+(a-r.size):h,r.el.style.transform="x"===t?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,s=this.axis[e].scrollbar.el;t&&s&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?s.style.display="block":s.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(x(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(y(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.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")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),x(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?x(t.scrollbar.el,this.classNames.hover):y(t.scrollbar.el,this.classNames.hover)):(y(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),y(this.axis[e].track.el,this.classNames.hover),y(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var s;void 0===t&&(t="y"),this.isDragging=!0;var i=g(this.el),l=m(this.el),r=this.axis[t].scrollbar,o="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=o-((null===(s=r.rect)||void 0===s?void 0:s[this.axis[t].offsetAttr])||0),this.draggedAxis=t,x(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(l.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var s,i,l,r,o=this;void 0===t&&(t="y");var a=this.axis[t];if(this.options.clickOnTrack&&a.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var n=m(this.el);this.axis[t].scrollbar.rect=a.scrollbar.el.getBoundingClientRect();var c=this.axis[t].scrollbar,d=null!==(i=null===(s=c.rect)||void 0===s?void 0:s[this.axis[t].offsetAttr])&&void 0!==i?i:0,h=parseInt(null!==(r=null===(l=this.elStyles)||void 0===l?void 0:l[this.axis[t].sizeAttr])&&void 0!==r?r:"0px",10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],p="y"===t?this.mouseY-d:this.mouseX-d,v=p<0?-1:1,f=-1===v?u-h:u+h,b=40,g=function(){o.contentWrapperEl&&(-1===v?u>f&&(u-=b,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=u,n.requestAnimationFrame(g)):u<f&&(u+=b,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=u,n.requestAnimationFrame(g)))};g()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=m(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),e.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()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var s=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return s.call(e,t)}))[0]},e.rtlHelpers=null,e.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},e.getOptions=k,e.helpers=p,e}(),S=!0;var C,w=s(6768),O=function(){return O=Object.assign||function(e){for(var t,s=1,i=arguments.length;s<i;s++)for(var l in t=arguments[s],t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},O.apply(this,arguments)},A={beforeUnmount:S?"beforeUnmount":"beforeDestroy",unmount:S?"unmount":"destroy"};function W(e){var t,s=e.h,i=e.emit,l=e.slots,r=e.props,o=function(e){return i("scroll",e)},a=O(O({},E.defaultOptions.classNames),r.classNames);return s("div",O({ref:"element"},S?{"data-simplebar":"init"}:{attrs:{"data-simplebar":"init"}}),[s("div",{class:a.wrapper},[s("div",{class:a.heightAutoObserverWrapperEl},[s("div",{class:a.heightAutoObserverEl})]),s("div",{class:a.mask},[s("div",{class:a.offset},[s("div",O(O({},S?{onScroll:o,class:a.contentWrapper,tabIndex:r.tabIndex||E.defaultOptions.tabIndex,role:"region","aria-label":r.ariaLabel||E.defaultOptions.ariaLabel}:{attrs:{class:a.contentWrapper,tabIndex:r.tabIndex||E.defaultOptions.tabIndex,role:"region","aria-label":r.ariaLabel||E.defaultOptions.ariaLabel},on:{scroll:o}}),{ref:"scrollElement"}),[s("div",{class:a.contentEl,ref:"contentElement"},null===(t=l["default"])||void 0===t?void 0:t.call(l))])])]),s("div",{class:a.placeholder})]),s("div",{class:"".concat(a.track," simplebar-horizontal")},[s("div",{class:a.scrollbar})]),s("div",{class:"".concat(a.track," simplebar-vertical")},[s("div",{class:a.scrollbar})])])}var z=(0,w.pM)((C={name:"simplebar-vue",props:{autoHide:{type:Boolean,default:void 0},classNames:Object,forceVisible:{type:[Boolean,String],validator:function(e){return"boolean"===typeof e||"x"===e||"y"===e},default:void 0},ariaLabel:String,tabIndex:Number,direction:{type:String,validator:function(e){return"ltr"===e||"rtl"===e}},timeout:Number,clickOnTrack:{type:Boolean,default:void 0},scrollbarMinSize:Number,scrollbarMaxSize:Number},emits:["scroll"],data:function(){return{}},mounted:function(){for(var e=E.getOptions(this.$refs.element.attributes),t=0,s=Object.entries(this.$props);t<s.length;t++){var i=s[t],l=i[0],r=i[1];void 0!=r&&"function"!==typeof r&&(e[l]=r)}this.SimpleBar=new E(this.$refs.element,e),this.scrollElement=this.$refs.scrollElement,this.contentElement=this.$refs.contentElement}},C[A.beforeUnmount]=function(){var e;null===(e=this.SimpleBar)||void 0===e||e.unMount(),this.SimpleBar=void 0},C.methods={recalculate:function(){var e;null===(e=this.SimpleBar)||void 0===e||e.recalculate()}},C.render=function(e){var t=this;return W({h:"function"===typeof e?e:w.h,emit:function(){for(var e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];return t.$emit.apply(t,e)},slots:S?this.$slots:this.$scopedSlots,props:this.$props})},C))},4243:function(e,t,s){var i=s(4867),l=s(9692),r=s(9299),o=NaN,a=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function h(e){if("number"==typeof e)return e;if(r(e))return o;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var s=n.test(e);return s||c.test(e)?d(e.slice(2),s?2:8):a.test(e)?o:+e}e.exports=h},4867:function(e,t,s){var i=s(5761),l=/^\s+/;function r(e){return e?e.slice(0,i(e)+1).replace(l,""):e}e.exports=r},5761:function(e){var t=/\s/;function s(e){var s=e.length;while(s--&&t.test(e.charAt(s)));return s}e.exports=s},9692:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},9891:function(e,t,s){"use strict";s.d(t,{A:function(){return T}});var i=s(6768),l=s(4232);const r={class:"pct-body customizer-body"},o={class:"offcanvas-body py-0"},a={class:"list-group list-group-flush"},n={class:"list-group-item"},c={class:"pc-dark"},d={class:"d-grid"},h={class:"d-grid"},u={class:"d-grid"},p={class:"list-group-item"},v={class:"d-grid"},f={class:"d-grid"},b={class:"list-group-item"},m={class:"theme-color preset-color"},g={class:"list-group-item"},k={class:"d-grid"},x={class:"d-grid"},y={class:"list-group-item"},L={class:"pc-rtl"},E={class:"d-grid"},S={class:"d-grid"},C={class:"list-group-item pc-box-width"},w={class:"pc-container-width"},O={class:"d-grid"},A={class:"d-grid"};function W(e,t,s,W,z,M){const _=(0,i.g2)("BCol"),N=(0,i.g2)("BRow"),F=(0,i.g2)("BLink"),T=(0,i.g2)("simplebar"),R=(0,i.g2)("BOffcanvas");return(0,i.uX)(),(0,i.CE)(i.FK,null,[(0,i.Lk)("div",{class:"pc-h-item",onClick:t[0]||(t[0]=(...e)=>M.click&&M.click(...e))},t[24]||(t[24]=[(0,i.Lk)("a",{href:"#",class:"pc-head-link pct-c-btn m-0","data-bs-toggle":"offcanvas","data-bs-target":"#offcanvas_pc_layout"},[(0,i.Lk)("i",{class:"ph-duotone ph-gear-six"})],-1)])),(0,i.bF)(R,{class:"border-0 pct-offcanvas offcanvas-end",tabindex:"-1",id:"offcanvas_pc_layout","header-class":"d-flex align-items-center justify-content-between bg-gradient p-3","body-class":"p-0","footer-class":"offcanvas-footer border-top p-3 text-center",placement:"end",modelValue:z.show,"onUpdate:modelValue":t[23]||(t[23]=e=>z.show=e)},{header:(0,i.k6)((()=>[t[26]||(t[26]=(0,i.Lk)("div",{class:"me-2"},[(0,i.Lk)("h5",null,"Settings")],-1)),(0,i.Lk)("button",{type:"button",class:"btn btn-icon btn-link-danger",onClick:t[1]||(t[1]=(...e)=>M.click&&M.click(...e))},t[25]||(t[25]=[(0,i.Lk)("i",{class:"ti ti-x"},null,-1)]))])),default:(0,i.k6)((()=>[(0,i.bF)(T,{"data-simplebar":"",style:{height:"660px"}},{default:(0,i.k6)((()=>[(0,i.Lk)("div",r,[(0,i.Lk)("div",o,[(0,i.Lk)("ul",a,[(0,i.Lk)("li",n,[(0,i.Lk)("div",c,[t[30]||(t[30]=(0,i.Lk)("h6",{class:"mb-1"},"Theme Mode",-1)),t[31]||(t[31]=(0,i.Lk)("p",{class:"text-muted text-sm"},"Choose light or dark mode or Auto",-1)),(0,i.bF)(N,{class:"theme-color theme-layout"},{default:(0,i.k6)((()=>[(0,i.bF)(_,{Cols:"4"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",d,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"light"===M.mode}]),name:"data-pc-theme","data-value":"light",onClick:t[2]||(t[2]=e=>M.mode="light")},t[27]||(t[27]=[(0,i.Lk)("span",{class:"btn-label"},"Light",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"4"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",h,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"dark"===M.mode}]),name:"data-pc-theme","data-value":"dark",onClick:t[3]||(t[3]=e=>M.mode="dark")},t[28]||(t[28]=[(0,i.Lk)("span",{class:"btn-label"},"Dark",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"4"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",u,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"default"===M.mode}]),"data-value":"default",onClick:t[4]||(t[4]=e=>M.mode="default"),"data-bs-toggle":"tooltip",title:"Automatically sets the theme based on user's operating system's color scheme."},t[29]||(t[29]=[(0,i.Lk)("span",{class:"btn-label"},"Default",-1),(0,i.Lk)("span",{class:"pc-lay-icon d-flex align-items-center justify-content-center"},[(0,i.Lk)("i",{class:"ph-duotone ph-cpu"})],-1)]),2)])])),_:1})])),_:1})])]),(0,i.Lk)("li",p,[t[34]||(t[34]=(0,i.Lk)("h6",{class:"mb-1"},"Sidebar Theme",-1)),t[35]||(t[35]=(0,i.Lk)("p",{class:"text-muted text-sm"},"Choose Sidebar Theme",-1)),(0,i.bF)(N,{class:"theme-color theme-sidebar-color"},{default:(0,i.k6)((()=>[(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",v,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"dark"===M.sidebarColor}]),"data-value":"true",value:"dark",onClick:t[5]||(t[5]=e=>M.sidebarColor="dark")},t[32]||(t[32]=[(0,i.Lk)("span",{class:"btn-label"},"Dark",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",f,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"light"===M.sidebarColor}]),"data-value":"false",value:"light",onClick:t[6]||(t[6]=e=>M.sidebarColor="light")},t[33]||(t[33]=[(0,i.Lk)("span",{class:"btn-label"},"Light",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1})])),_:1})]),(0,i.Lk)("li",b,[t[46]||(t[46]=(0,i.Lk)("h6",{class:"mb-1"},"Accent color",-1)),t[47]||(t[47]=(0,i.Lk)("p",{class:"text-muted text-sm"},"Choose your primary theme color",-1)),(0,i.Lk)("div",m,[(0,i.bF)(F,{class:(0,l.C4)({active:"preset-1"===M.color}),onClick:t[7]||(t[7]=e=>M.color="preset-1"),"data-value":"preset-1"},{default:(0,i.k6)((()=>t[36]||(t[36]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[36]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-2"===!M.color}),onClick:t[8]||(t[8]=e=>M.color="preset-2"),"data-value":"preset-2"},{default:(0,i.k6)((()=>t[37]||(t[37]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[37]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-3"===!M.color}),onClick:t[9]||(t[9]=e=>M.color="preset-3"),"data-value":"preset-3"},{default:(0,i.k6)((()=>t[38]||(t[38]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[38]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-4"===!M.color}),onClick:t[10]||(t[10]=e=>M.color="preset-4"),"data-value":"preset-4"},{default:(0,i.k6)((()=>t[39]||(t[39]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[39]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-5"===!M.color}),onClick:t[11]||(t[11]=e=>M.color="preset-5"),"data-value":"preset-5"},{default:(0,i.k6)((()=>t[40]||(t[40]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[40]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-6"===!M.color}),onClick:t[12]||(t[12]=e=>M.color="preset-6"),"data-value":"preset-6"},{default:(0,i.k6)((()=>t[41]||(t[41]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[41]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-7"===!M.color}),onClick:t[13]||(t[13]=e=>M.color="preset-7"),"data-value":"preset-7"},{default:(0,i.k6)((()=>t[42]||(t[42]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[42]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-8"===!M.color}),onClick:t[14]||(t[14]=e=>M.color="preset-8"),"data-value":"preset-8"},{default:(0,i.k6)((()=>t[43]||(t[43]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[43]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-9"===!M.color}),onClick:t[15]||(t[15]=e=>M.color="preset-9"),"data-value":"preset-9"},{default:(0,i.k6)((()=>t[44]||(t[44]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[44]},8,["class"]),(0,i.bF)(F,{class:(0,l.C4)({active:"preset-10"===!M.color}),onClick:t[16]||(t[16]=e=>M.color="preset-10"),"data-value":"preset-10"},{default:(0,i.k6)((()=>t[45]||(t[45]=[(0,i.Lk)("i",{class:"ti ti-check"},null,-1)]))),_:1,__:[45]},8,["class"])])]),(0,i.Lk)("li",g,[t[50]||(t[50]=(0,i.Lk)("h6",{class:"mb-1"},"Sidebar Caption",-1)),t[51]||(t[51]=(0,i.Lk)("p",{class:"text-muted text-sm"},"Sidebar Caption Hide/Show",-1)),(0,i.bF)(N,{class:"theme-color theme-nav-caption"},{default:(0,i.k6)((()=>[(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",k,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"true"===M.sidebarCaption}]),"data-value":"true",onClick:t[17]||(t[17]=e=>M.sidebarCaption=!0)},t[48]||(t[48]=[(0,i.Lk)("span",{class:"btn-label"},"Caption Show",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span",null,[(0,i.Lk)("span"),(0,i.Lk)("span")]),(0,i.Lk)("span")],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",x,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"false"===M.sidebarCaption}]),"data-value":"false",onClick:t[18]||(t[18]=e=>M.sidebarCaption=!1)},t[49]||(t[49]=[(0,i.Lk)("span",{class:"btn-label"},"Caption Hide",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span",null,[(0,i.Lk)("span"),(0,i.Lk)("span")]),(0,i.Lk)("span")],-1)]),2)])])),_:1})])),_:1})]),(0,i.Lk)("li",y,[(0,i.Lk)("div",L,[t[54]||(t[54]=(0,i.Lk)("h6",{class:"mb-1"},"Theme Layout",-1)),t[55]||(t[55]=(0,i.Lk)("p",{class:"text-muted text-sm"},"LTR/RTL",-1)),(0,i.bF)(N,{class:"theme-color theme-direction"},{default:(0,i.k6)((()=>[(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",E,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"ltr"===z.layoutDirection}]),"data-value":"false",onClick:t[19]||(t[19]=e=>M.setDirection("ltr"))},t[52]||(t[52]=[(0,i.Lk)("span",{class:"btn-label"},"LTR",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",S,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:"rtl"===z.layoutDirection}]),"data-value":"true",onClick:t[20]||(t[20]=e=>M.setDirection("rtl"))},t[53]||(t[53]=[(0,i.Lk)("span",{class:"btn-label"},"RTL",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span")],-1)]),2)])])),_:1})])),_:1})])]),(0,i.Lk)("li",C,[(0,i.Lk)("div",w,[t[58]||(t[58]=(0,i.Lk)("h6",{class:"mb-1"},"Layout Width",-1)),t[59]||(t[59]=(0,i.Lk)("p",{class:"text-muted text-sm"},"Choose Full or Container Layout",-1)),(0,i.bF)(N,{class:"theme-color theme-container"},{default:(0,i.k6)((()=>[(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",O,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:!M.isFixedWidth}]),"data-value":"false",onClick:t[21]||(t[21]=(...e)=>M.setFullWidth&&M.setFullWidth(...e))},t[56]||(t[56]=[(0,i.Lk)("span",{class:"btn-label"},"Full Width",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span",null,[(0,i.Lk)("span")])],-1)]),2)])])),_:1}),(0,i.bF)(_,{Cols:"6"},{default:(0,i.k6)((()=>[(0,i.Lk)("div",A,[(0,i.Lk)("button",{class:(0,l.C4)(["preset-btn btn",{active:M.isFixedWidth}]),"data-value":"true",onClick:t[22]||(t[22]=(...e)=>M.setFixedWidth&&M.setFixedWidth(...e))},t[57]||(t[57]=[(0,i.Lk)("span",{class:"btn-label"},"Fixed Width",-1),(0,i.Lk)("span",{class:"pc-lay-icon"},[(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span"),(0,i.Lk)("span",null,[(0,i.Lk)("span")])],-1)]),2)])])),_:1})])),_:1})])]),t[60]||(t[60]=(0,i.Lk)("li",{class:"list-group-item"},[(0,i.Lk)("div",{class:"d-grid"},[(0,i.Lk)("button",{class:"btn btn-light-danger",id:"layoutreset"},"Reset Layout")])],-1))])])])])),_:1})])),_:1},8,["modelValue"])],64)}s(8111),s(7588);var z=s(3301),M=s(3775),_={components:{simplebar:M.A},data(){return{show:!1,isCaptionVisible:!0,layoutDirection:"ltr"}},methods:{...z.lR,click(){this.show=!this.show},resetLayout(){let e=JSON.parse(localStorage.getItem("resetValue"));document.documentElement.setAttribute("data-sidebar-size","lg"),this.changeMode({mode:e.mode})},setFullWidth(){this.$store.commit("setFullWidth")},setFixedWidth(){this.$store.commit("setFixedWidth")},setDirection(e){this.layoutDirection=e,document.body.setAttribute("data-pc-direction",e)}},mounted(){document.getElementById("collapseBgGradient")&&Array.from(document.querySelectorAll("#collapseBgGradient .form-check input")).forEach((function(){document.querySelector("[data-bs-target='#collapseBgGradient']")&&document.querySelector("[data-bs-target='#collapseBgGradient']").addEventListener("click",(function(){document.getElementById("sidebar-color-gradient").click()}))}))},computed:{...z.QJ,mode:{get(){return this.$store?this.$store.state.layout.mode:"light"},set(e){this.changeMode({mode:e})}},sidebarColor:{get(){return this.$store?this.$store.state.layout.sidebarColor:"light"},set(e){this.changeSidebarColor({sidebarColor:e})}},sidebarCaption:{get(){return this.$store?this.$store.state.layout.sidebarCaption:"true"},set(e){this.changeSidebarCaption({sidebarCaption:e})}},color:{get(){return this.$store?this.$store.state.layout.color:"preset-1"},set(e){this.changeColor({color:e})}},isFixedWidth(){return this.$store.getters.isFixedWidth}},watch:{mode:{immediate:!0,handler(e,t){e!==t&&(document.body.setAttribute("data-pc-theme",e),this.changeTopbar({topbar:e}))}},sidebarColor:{immediate:!0,handler(e,t){e!==t&&document.body.setAttribute("data-pc-sidebar-theme",e)}},sidebarCaption:{immediate:!0,handler(e,t){e!==t&&document.body.setAttribute("data-pc-sidebar-caption",e?"true":"false")}},color:{immediate:!0,handler(e,t){e!==t&&document.body.setAttribute("data-pc-preset",e)}}}},N=s(1241);const F=(0,N.A)(_,[["render",W]]);var T=F}}]);
  2. //# sourceMappingURL=9891.675e7cc9.js.map