bkui-vue 0.0.1-beta.20 → 0.0.1-beta.23
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 +7 -3
- package/README_EN.md +7 -3
- package/dist/bkui-vue.cjs.js +8514 -3025
- package/dist/bkui-vue.esm.js +8515 -3026
- package/dist/bkui-vue.umd.js +8516 -3027
- package/dist/style.css +153 -86
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/index.js +10 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.css +9 -0
- package/lib/button/button.d.ts +25 -1
- package/lib/button/button.less +18 -10
- package/lib/button/button.variable.css +9 -0
- package/lib/button/index.d.ts +42 -4
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/checkbox/common.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +115 -0
- package/lib/code-diff/code-diff.d.ts +71 -0
- package/lib/code-diff/code-diff.less +145 -0
- package/lib/code-diff/code-diff.variable.css +208 -0
- package/lib/code-diff/index.d.ts +6 -0
- package/lib/collapse/index.js +1 -1
- package/lib/date-picker/date-picker.d.ts +21 -131
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +7 -7
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.js +2 -2
- package/lib/divider/index.js +1 -1
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/form-item.d.ts +7 -21
- package/lib/form/form.css +9 -0
- package/lib/form/form.d.ts +9 -29
- package/lib/form/form.less +14 -1
- package/lib/form/form.variable.css +9 -0
- package/lib/form/index.d.ts +18 -58
- package/lib/form/index.js +1 -1
- package/lib/input/index.d.ts +61 -7
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +19 -2
- package/lib/input/input.d.ts +32 -2
- package/lib/input/input.less +25 -3
- package/lib/input/input.variable.css +19 -2
- package/lib/link/index.js +1 -1
- package/lib/loading/index.d.ts +32 -10
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +98 -71
- package/lib/loading/loading.d.ts +23 -8
- package/lib/loading/loading.less +62 -49
- package/lib/loading/loading.variable.css +98 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +1 -1
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/popover/index.d.ts +7 -7
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +2 -2
- package/lib/process/index.js +2 -2
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.d.ts +1 -1
- package/lib/radio/common.d.ts +1 -1
- package/lib/radio/index.d.ts +1 -1
- package/lib/radio/index.js +1 -1
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/select/index.js +12 -12
- package/lib/shared/bk-helper-core.d.ts +0 -1
- package/lib/shared/bk-popover.d.ts +1 -1
- package/lib/shared/index.d.ts +0 -10
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +5 -1
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.js +2 -2
- package/lib/steps/index.js +2 -2
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +1 -1
- package/lib/table/index.d.ts +36 -13
- package/lib/table/index.js +10 -1
- package/lib/table/props.d.ts +8 -0
- package/lib/table/render.d.ts +3 -1
- package/lib/table/table.css +8 -1
- package/lib/table/table.d.ts +15 -4
- package/lib/table/table.less +10 -1
- package/lib/table/table.variable.css +8 -1
- package/lib/tag/index.d.ts +3 -3
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.d.ts +1 -1
- package/lib/timeline/index.js +1 -1
- package/lib/transfer/index.js +1 -1
- package/lib/tree/index.d.ts +50 -28
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +15 -6
- package/lib/tree/tree.css +10 -12
- package/lib/tree/tree.d.ts +27 -13
- package/lib/tree/tree.less +21 -24
- package/lib/tree/tree.variable.css +10 -12
- package/lib/tree/util.d.ts +20 -7
- package/lib/virtual-render/index.d.ts +4 -4
- package/lib/virtual-render/index.js +10 -1
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +14 -12
@@ -1,23 +1,3 @@
|
|
1
|
-
import { ObjectDirective } from 'vue';
|
2
|
-
|
3
|
-
|
4
|
-
capture: boolean;
|
5
|
-
disabled: boolean;
|
6
|
-
events: string[];
|
7
|
-
detectIframe: boolean;
|
8
|
-
exclude: Node[];
|
9
|
-
}
|
10
|
-
export interface IEventData {
|
11
|
-
el: HTMLElement;
|
12
|
-
event: Event;
|
13
|
-
handler: Function;
|
14
|
-
disabled: boolean;
|
15
|
-
}
|
16
|
-
export interface IEventConfig {
|
17
|
-
event: string;
|
18
|
-
target: HTMLElement | Window;
|
19
|
-
capture: boolean;
|
20
|
-
handler: (event: Event) => any;
|
21
|
-
}
|
22
|
-
declare const clickoutside: ObjectDirective;
|
23
|
-
export default clickoutside;
|
1
|
+
import type { ObjectDirective } from 'vue';
|
2
|
+
declare const ClickOutside: ObjectDirective;
|
3
|
+
export default ClickOutside;
|
package/lib/directives/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("../shared"),require("../styles/mixins/popper.less")):"function"==typeof define&&define.amd?define(["exports","../shared","../styles/mixins/popper.less"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared)}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,o,i,a,s,c,
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("../shared"),require("../styles/mixins/popper.less")):"function"==typeof define&&define.amd?define(["exports","../shared","../styles/mixins/popper.less"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared)}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,o,i,a,s,f,c,u,p,l,d,m,h,v,y,b=!1;function g(){if(!b){b=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(m=/\b(iPhone|iP[ao]d)/.exec(e),h=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),y=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(r=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);f=g?parseFloat(g[1])+4:r,o=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,(a=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),s=t&&t[1]?parseFloat(t[1]):NaN):s=NaN}else r=o=i=s=a=NaN;if(n){if(n[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!x||parseFloat(x[1].replace("_","."))}else c=!1;u=!!n[2],p=!!n[3]}else c=u=p=!1}}var x,w={ie:function(){return g()||r},ieCompatibilityMode:function(){return g()||f>r},ie64:function(){return w.ie()&&d},firefox:function(){return g()||o},opera:function(){return g()||i},webkit:function(){return g()||a},safari:function(){return w.webkit()},chrome:function(){return g()||s},windows:function(){return g()||u},osx:function(){return g()||c},linux:function(){return g()||p},iphone:function(){return g()||m},mobile:function(){return g()||m||h||l||y},nativeApp:function(){return g()||v},android:function(){return g()||l},ipad:function(){return g()||h}},O=w,E=!("undefined"==typeof window||!window.document||!window.document.createElement),A={canUseDOM:E,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:E&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:E&&!!window.screen,isInWorker:!E};A.canUseDOM&&(x=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
|
2
2
|
/**
|
3
3
|
* Checks if an event is supported in the current execution environment.
|
4
4
|
*
|
@@ -12,4 +12,4 @@
|
|
12
12
|
* @return {boolean} True if the event is supported.
|
13
13
|
* @internal
|
14
14
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
15
|
-
*/;var A=O,S=function(e,t){if(!j.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&x&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r};function M(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}M.getEventType=function(){return A.firefox()?"DOMMouseScroll":S("wheel")?"wheel":"mousewheel"};var D=M,k="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,N={beforeMount:function(e,t){var n,r;console.error(e,t),n=e,r=t.value,(null==n?void 0:n.addEventListener)&&n.addEventListener(k?"DOMMouseScroll":"mousewheel",(function(e){var t=D(e);null==r||r.apply(this,[e,t])}))}},P=new Map;function L(e){var t={handler:function(){},capture:!0,disabled:!1,detectIframe:!0,exclude:[],events:"ontouchstart"in window||(null===navigator||void 0===navigator?void 0:navigator.maxTouchPoints)>0?["ontouchstart"]:["click"]};return"function"==typeof e?(t.handler=e,t):Object.assign({},t)}function _(e,t){var n=t.events.map((function(n){return{event:n,target:document.documentElement,capture:t.capture,handler:function(n){return function(e){var t,n=e.el,r=e.event,o=e.handler,i=e.disabled,a=null===(t=r.composedPath)||void 0===t?void 0:t.call(r);(a?a.indexOf(n)<0:!n.contains(r.target))&&!i&&o(r)}({el:e,event:n,handler:t.handler,disabled:t.disabled})}}}));return t.detectIframe&&n.push({event:"blur",target:window,capture:t.capture,handler:function(n){return function(e){var t=document.activeElement,n=e.el,r=e.handler,o=e.disabled,i=e.event;!t||"IFRAME"!==t.tagName||n.contains(t)||o||r(i)}({el:e,event:n,handler:t.handler,disabled:t.disabled})}}),n}function T(e){var t;(null!==(t=P.get(e))&&void 0!==t?t:[]).forEach((function(e){var t=e.target,n=e.event,r=e.handler,o=e.capture;t.removeEventListener(n,r,o)})),P.delete(e)}var q={beforeMount:function(e,t){var n=L(t.value);n.disabled||P.set(e,_(e,n))},updated:function(e,t){var n=L(t.value);n.disabled&&!P.has(e)||function(e,t){P.has(e)&&T(e);var n=_(e,t);P.set(e,n),n.forEach((function(e){var t=e.target,n=e.event,r=e.handler,o=e.capture;t.addEventListener(n,r,o)}))}(e,n)},unmounted:function(e){T(e)}},I={exports:{}},W={exports:{}},V={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(V),function(e){var t=V.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(W);var C={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(C);var H={exports:{}};!function(e){var t=V.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(H);var F={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(F),function(e){var t=W.exports,n=C.exports,r=H.exports,o=F.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(I);var B=n(I.exports),R={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(R);var U=n(R.exports),X="top",Y="bottom",z="right",G="left",Z="auto",J=[X,Y,z,G],K="start",$="end",Q="viewport",ee="popper",te=J.reduce((function(e,t){return e.concat([t+"-"+K,t+"-"+$])}),[]),ne=[].concat(J,[Z]).reduce((function(e,t){return e.concat([t,t+"-"+K,t+"-"+$])}),[]),re=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oe(e){return e?(e.nodeName||"").toLowerCase():null}function ie(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ae(e){return e instanceof ie(e).Element||e instanceof Element}function se(e){return e instanceof ie(e).HTMLElement||e instanceof HTMLElement}function ce(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ie(e).ShadowRoot||e instanceof ShadowRoot)}var fe={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];se(o)&&oe(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});se(r)&&oe(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function ue(e){return e.split("-")[0]}var pe=Math.max,le=Math.min,de=Math.round;function me(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(se(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=de(n.width)/a||1),i>0&&(o=de(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function he(e){var t=me(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ve(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ce(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function be(e){return ie(e).getComputedStyle(e)}function ge(e){return["table","td","th"].indexOf(oe(e))>=0}function ye(e){return((ae(e)?e.ownerDocument:e.document)||window.document).documentElement}function xe(e){return"html"===oe(e)?e:e.assignedSlot||e.parentNode||(ce(e)?e.host:null)||ye(e)}function we(e){return se(e)&&"fixed"!==be(e).position?e.offsetParent:null}function Oe(e){for(var t=ie(e),n=we(e);n&&ge(n)&&"static"===be(n).position;)n=we(n);return n&&("html"===oe(n)||"body"===oe(n)&&"static"===be(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&se(e)&&"fixed"===be(e).position)return null;var n=xe(e);for(ce(n)&&(n=n.host);se(n)&&["html","body"].indexOf(oe(n))<0;){var r=be(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function je(e,t,n){return pe(e,le(t,n))}function Ae(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ue(n.placement),c=Ee(s),f=[G,z].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return Ae("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Se(e,J))}(o.padding,n),p=he(i),l="y"===c?X:G,d="y"===c?Y:z,m=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],h=a[c]-n.rects.reference[c],v=Oe(i),b=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,g=m/2-h/2,y=u[l],x=b-p[f]-u[d],w=b/2-p[f]/2+g,O=je(y,w,x),E=c;n.modifiersData[r]=((t={})[E]=O,t.centerOffset=O-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(se(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),ve(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function De(e){return e.split("-")[1]}var ke={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ne(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,f=e.adaptive,u=e.roundOffsets,p=e.isFixed,l=a.x,d=void 0===l?0:l,m=a.y,h=void 0===m?0:m,v="function"==typeof u?u({x:d,y:h}):{x:d,y:h};d=v.x,h=v.y;var b=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),y=G,x=X,w=window;if(f){var O=Oe(n),E="clientHeight",j="clientWidth";if(O===ie(n)&&"static"!==be(O=ye(n)).position&&"absolute"===s&&(E="scrollHeight",j="scrollWidth"),O=O,o===X||(o===G||o===z)&&i===$)x=Y,h-=(p&&O===w&&w.visualViewport?w.visualViewport.height:O[E])-r.height,h*=c?1:-1;if(o===G||(o===X||o===Y)&&i===$)y=z,d-=(p&&O===w&&w.visualViewport?w.visualViewport.width:O[j])-r.width,d*=c?1:-1}var A,S=Object.assign({position:s},f&&ke),M=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:de(t*r)/r||0,y:de(n*r)/r||0}}({x:d,y:h}):{x:d,y:h};return d=M.x,h=M.y,c?Object.assign({},S,((A={})[x]=g?"0":"",A[y]=b?"0":"",A.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",A)):Object.assign({},S,((t={})[x]=g?h+"px":"",t[y]=b?d+"px":"",t.transform="",t))}var Pe={passive:!0};var Le={left:"right",right:"left",bottom:"top",top:"bottom"};function _e(e){return e.replace(/left|right|bottom|top/g,(function(e){return Le[e]}))}var Te={start:"end",end:"start"};function qe(e){return e.replace(/start|end/g,(function(e){return Te[e]}))}function Ie(e){var t=ie(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function We(e){return me(ye(e)).left+Ie(e).scrollLeft}function Ve(e){var t=be(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ce(e){return["html","body","#document"].indexOf(oe(e))>=0?e.ownerDocument.body:se(e)&&Ve(e)?e:Ce(xe(e))}function He(e,t){var n;void 0===t&&(t=[]);var r=Ce(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ie(r),a=o?[i].concat(i.visualViewport||[],Ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(He(xe(a)))}function Fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Be(e,t){return t===Q?Fe(function(e){var t=ie(e),n=ye(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+We(e),y:s}}(e)):ae(t)?function(e){var t=me(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Fe(function(e){var t,n=ye(e),r=Ie(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=pe(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=pe(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+We(e),c=-r.scrollTop;return"rtl"===be(o||n).direction&&(s+=pe(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(ye(e)))}function Re(e,t,n){var r="clippingParents"===t?function(e){var t=He(xe(e)),n=["absolute","fixed"].indexOf(be(e).position)>=0&&se(e)?Oe(e):e;return ae(n)?t.filter((function(e){return ae(e)&&ve(e,n)&&"body"!==oe(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Be(e,n);return t.top=pe(r.top,t.top),t.right=le(r.right,t.right),t.bottom=le(r.bottom,t.bottom),t.left=pe(r.left,t.left),t}),Be(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ue(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ue(o):null,a=o?De(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case X:t={x:s,y:n.y-r.height};break;case Y:t={x:s,y:n.y+n.height};break;case z:t={x:n.x+n.width,y:c};break;case G:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var f=i?Ee(i):null;if(null!=f){var u="y"===f?"height":"width";switch(a){case K:t[f]=t[f]-(n[u]/2-r[u]/2);break;case $:t[f]=t[f]+(n[u]/2-r[u]/2)}}return t}function Xe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,c=void 0===s?Q:s,f=n.elementContext,u=void 0===f?ee:f,p=n.altBoundary,l=void 0!==p&&p,d=n.padding,m=void 0===d?0:d,h=Ae("number"!=typeof m?m:Se(m,J)),v=u===ee?"reference":ee,b=e.rects.popper,g=e.elements[l?v:u],y=Re(ae(g)?g:g.contextElement||ye(e.elements.popper),a,c),x=me(e.elements.reference),w=Ue({reference:x,element:b,strategy:"absolute",placement:o}),O=Fe(Object.assign({},b,w)),E=u===ee?O:x,j={top:y.top-E.top+h.top,bottom:E.bottom-y.bottom+h.bottom,left:y.left-E.left+h.left,right:E.right-y.right+h.right},A=e.modifiersData.offset;if(u===ee&&A){var S=A[o];Object.keys(j).forEach((function(e){var t=[z,Y].indexOf(e)>=0?1:-1,n=[X,Y].indexOf(e)>=0?"y":"x";j[e]+=S[n]*t}))}return j}function Ye(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,f=void 0===c?ne:c,u=De(r),p=u?s?te:te.filter((function(e){return De(e)===u})):J,l=p.filter((function(e){return f.indexOf(e)>=0}));0===l.length&&(l=p,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=l.reduce((function(t,n){return t[n]=Xe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ue(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var ze={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,f=n.padding,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,b=ue(v),g=c||(b===v||!m?[_e(v)]:function(e){if(ue(e)===Z)return[];var t=_e(e);return[qe(e),t,qe(t)]}(v)),y=[v].concat(g).reduce((function(e,n){return e.concat(ue(n)===Z?Ye(t,{placement:n,boundary:u,rootBoundary:p,padding:f,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,E=!0,j=y[0],A=0;A<y.length;A++){var S=y[A],M=ue(S),D=De(S)===K,k=[X,Y].indexOf(M)>=0,N=k?"width":"height",P=Xe(t,{placement:S,boundary:u,rootBoundary:p,altBoundary:l,padding:f}),L=k?D?z:G:D?Y:X;x[N]>w[N]&&(L=_e(L));var _=_e(L),T=[];if(i&&T.push(P[M]<=0),s&&T.push(P[L]<=0,P[_]<=0),T.every((function(e){return e}))){j=S,E=!1;break}O.set(S,T)}if(E)for(var q=function(e){var t=y.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},I=m?3:1;I>0;I--){if("break"===q(I))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ge(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ze(e){return[X,z,Y,G].some((function(t){return e[t]>=0}))}var Je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ne.reduce((function(e,n){return e[n]=function(e,t,n){var r=ue(e),o=[G,X].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[G,z].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,f=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=a}};var Ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,f=n.rootBoundary,u=n.altBoundary,p=n.padding,l=n.tether,d=void 0===l||l,m=n.tetherOffset,h=void 0===m?0:m,v=Xe(t,{boundary:c,rootBoundary:f,padding:p,altBoundary:u}),b=ue(t.placement),g=De(t.placement),y=!g,x=Ee(b),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,j=t.rects.popper,A="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,S="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(i){var k,N="y"===x?X:G,P="y"===x?Y:z,L="y"===x?"height":"width",_=O[x],T=_+v[N],q=_-v[P],I=d?-j[L]/2:0,W=g===K?E[L]:j[L],V=g===K?-j[L]:-E[L],C=t.elements.arrow,H=d&&C?he(C):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[N],R=F[P],U=je(0,E[L],H[L]),Z=y?E[L]/2-I-U-B-S.mainAxis:W-U-B-S.mainAxis,J=y?-E[L]/2+I+U+R+S.mainAxis:V+U+R+S.mainAxis,$=t.elements.arrow&&Oe(t.elements.arrow),Q=$?"y"===x?$.clientTop||0:$.clientLeft||0:0,ee=null!=(k=null==M?void 0:M[x])?k:0,te=_+J-ee,ne=je(d?le(T,_+Z-ee-Q):T,_,d?pe(q,te):q);O[x]=ne,D[x]=ne-_}if(s){var re,oe="x"===x?X:G,ie="x"===x?Y:z,ae=O[w],se="y"===w?"height":"width",ce=ae+v[oe],fe=ae-v[ie],de=-1!==[X,G].indexOf(b),me=null!=(re=null==M?void 0:M[w])?re:0,ve=de?ce:ae-E[se]-j[se]-me+S.altAxis,be=de?ae+E[se]+j[se]-me-S.altAxis:fe,ge=d&&de?function(e,t,n){var r=je(e,t,n);return r>n?n:r}(ve,ae,be):je(d?ve:ce,ae,d?be:fe);O[w]=ge,D[w]=ge-ae}t.modifiersData[r]=D}},requiresIfExists:["offset"]};function $e(e,t,n){void 0===n&&(n=!1);var r,o,i=se(t),a=se(t)&&function(e){var t=e.getBoundingClientRect(),n=de(t.width)/e.offsetWidth||1,r=de(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=ye(t),c=me(e,a),f={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==oe(t)||Ve(s))&&(f=(r=t)!==ie(r)&&se(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Ie(r)),se(t)?((u=me(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=We(s))),{x:c.left+f.scrollLeft-u.x,y:c.top+f.scrollTop-u.y,width:c.width,height:c.height}}function Qe(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function et(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var tt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',nt=["name","enabled","phase","fn","effect","requires","options"];var rt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ot={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function at(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ot:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],f=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:ae(e)?He(e):e.contextElement?He(e.contextElement):[],popper:He(t)};var a,f,l,d=function(e){var t=Qe(e);return re.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),nt).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(et(tt,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(et(tt,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":re.indexOf(t.phase)<0&&console.error(et(tt,t.name,'"phase"',"either "+re.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(et(tt,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(et(tt,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(et(tt,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(et(tt,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+nt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(et('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),f=function(e){return e.name},l=new Set,a.filter((function(e){var t=f(e);if(!l.has(t))return l.add(t),!0})))),ue(s.options.placement)===Z)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var m=be(t);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}})),u.update()},forceUpdate:function(){if(!f){var e=s.elements,t=e.reference,n=e.popper;if(it(t,n)){s.rects={reference:$e(t,Oe(n),"fixed"===s.options.strategy),popper:he(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,c=i.options,p=void 0===c?{}:c,l=i.name;"function"==typeof a&&(s=a({state:s,options:p,name:l,instance:u})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(rt)}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),f=!0}};if(!it(e,t))return"production"!==process.env.NODE_ENV&&console.error(rt),u;function p(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var st=at({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=ie(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",n.update,Pe)})),s&&c.addEventListener("resize",n.update,Pe),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",n.update,Pe)})),s&&c.removeEventListener("resize",n.update,Pe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ue({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s;if("production"!==process.env.NODE_ENV){var f=be(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return f.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:ue(t.placement),variation:De(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ne(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ne(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},fe,Je,ze,Ke,Me,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Xe(t,{elementContext:"reference"}),s=Xe(t,{altBoundary:!0}),c=Ge(a,r),f=Ge(s,o,i),u=Ze(c),p=Ze(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),ct={mounted:function(e,n){var r={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===U(n.value)?Object.assign(r,n.value):r.content=n.value;var o=r.disabled,i=r.arrow,a=r.theme;if(!o){var s=function(e,n,r){var o=t.bkZIndexManager.getPopperIndex(),i=document.createElement("div");if(i.className="bk-popper ".concat(r?"light":"dark"),i.innerText=e,i.style.zIndex=String(o),n){var a=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();i.appendChild(a)}return document.body.appendChild(i),i}(r.content,i,"light"===a);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,s=n.onShow,c=n.onHide,f=st(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){var u=["mouseleave","blur"];["mouseenter","focus"].forEach((function(t){e.addEventListener(t,p)})),u.forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?p():t.hasAttribute("data-show")&&l()}));a&&p();function p(){t.setAttribute("data-show",""),s(),f.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(B(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),f.update()}function l(){t.removeAttribute("data-show"),c(),f.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(B(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}}(e,s,r)}}};e.bkTooltips=ct,e.clickoutside=q,e.mousewheel=N,Object.defineProperty(e,"__esModule",{value:!0})}));
|
15
|
+
*/;var S=O,j=function(e,t){if(!A.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&x&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r};function M(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}M.getEventType=function(){return S.firefox()?"DOMMouseScroll":j("wheel")?"wheel":"mousewheel"};var D=M,k="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,N={beforeMount:function(e,t){var n,r;console.error(e,t),n=e,r=t.value,(null==n?void 0:n.addEventListener)&&n.addEventListener(k?"DOMMouseScroll":"mousewheel",(function(e){var t=D(e);null==r||r.apply(this,[e,t])}))}};function L(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _,T=new Map;function I(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,s=null==o?void 0:o.target,f=!t||!t.instance,c=!a||!s,u=e.contains(a)||e.contains(s),p=e===a,l=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(s),d=i&&(i.contains(a)||i.contains(s));f||c||u||p||l||d||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return _=e})),document.addEventListener("mouseup",(function(e){var t,n=L(T.values());try{for(n.s();!(t=n.n()).done;){var r,o=L(t.value);try{for(o.s();!(r=o.n()).done;){(0,r.value.documentHandler)(e,_)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));var q={beforeMount:function(e,t){T.has(e)||T.set(e,[]),T.get(e).push({documentHandler:I(e,t),bindingFn:t.value})},updated:function(e,t){T.has(e)||T.set(e,[]);var n=T.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:I(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){T.delete(e)}},W={exports:{}},H={exports:{}},V={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(V),function(e){var t=V.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(H);var C={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(C);var F={exports:{}};!function(e){var t=V.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(F);var B={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(B),function(e){var t=H.exports,n=C.exports,r=F.exports,o=B.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(W);var R=n(W.exports),U={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(U);var X=n(U.exports),Y="top",z="bottom",G="right",Z="left",$="auto",J=[Y,z,G,Z],K="start",Q="end",ee="viewport",te="popper",ne=J.reduce((function(e,t){return e.concat([t+"-"+K,t+"-"+Q])}),[]),re=[].concat(J,[$]).reduce((function(e,t){return e.concat([t,t+"-"+K,t+"-"+Q])}),[]),oe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ie(e){return e?(e.nodeName||"").toLowerCase():null}function ae(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function se(e){return e instanceof ae(e).Element||e instanceof Element}function fe(e){return e instanceof ae(e).HTMLElement||e instanceof HTMLElement}function ce(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ae(e).ShadowRoot||e instanceof ShadowRoot)}var ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];fe(o)&&ie(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});fe(r)&&ie(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function pe(e){return e.split("-")[0]}var le=Math.max,de=Math.min,me=Math.round;function he(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(fe(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=me(n.width)/a||1),i>0&&(o=me(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ve(e){var t=he(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ye(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ce(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function be(e){return ae(e).getComputedStyle(e)}function ge(e){return["table","td","th"].indexOf(ie(e))>=0}function xe(e){return((se(e)?e.ownerDocument:e.document)||window.document).documentElement}function we(e){return"html"===ie(e)?e:e.assignedSlot||e.parentNode||(ce(e)?e.host:null)||xe(e)}function Oe(e){return fe(e)&&"fixed"!==be(e).position?e.offsetParent:null}function Ee(e){for(var t=ae(e),n=Oe(e);n&&ge(n)&&"static"===be(n).position;)n=Oe(n);return n&&("html"===ie(n)||"body"===ie(n)&&"static"===be(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&fe(e)&&"fixed"===be(e).position)return null;var n=we(e);for(ce(n)&&(n=n.host);fe(n)&&["html","body"].indexOf(ie(n))<0;){var r=be(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Se(e,t,n){return le(e,de(t,n))}function je(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var De={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=pe(n.placement),f=Ae(s),c=[Z,G].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return je("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,J))}(o.padding,n),p=ve(i),l="y"===f?Y:Z,d="y"===f?z:G,m=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],h=a[f]-n.rects.reference[f],v=Ee(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,b=m/2-h/2,g=u[l],x=y-p[c]-u[d],w=y/2-p[c]/2+b,O=Se(g,w,x),E=f;n.modifiersData[r]=((t={})[E]=O,t.centerOffset=O-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(fe(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),ye(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(e){return e.split("-")[1]}var Ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Le(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,l=a.x,d=void 0===l?0:l,m=a.y,h=void 0===m?0:m,v="function"==typeof u?u({x:d,y:h}):{x:d,y:h};d=v.x,h=v.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),g=Z,x=Y,w=window;if(c){var O=Ee(n),E="clientHeight",A="clientWidth";if(O===ae(n)&&"static"!==be(O=xe(n)).position&&"absolute"===s&&(E="scrollHeight",A="scrollWidth"),O=O,o===Y||(o===Z||o===G)&&i===Q)x=z,h-=(p&&O===w&&w.visualViewport?w.visualViewport.height:O[E])-r.height,h*=f?1:-1;if(o===Z||(o===Y||o===z)&&i===Q)g=G,d-=(p&&O===w&&w.visualViewport?w.visualViewport.width:O[A])-r.width,d*=f?1:-1}var S,j=Object.assign({position:s},c&&Ne),M=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:me(t*r)/r||0,y:me(n*r)/r||0}}({x:d,y:h}):{x:d,y:h};return d=M.x,h=M.y,f?Object.assign({},j,((S={})[x]=b?"0":"",S[g]=y?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",S)):Object.assign({},j,((t={})[x]=b?h+"px":"",t[g]=y?d+"px":"",t.transform="",t))}var Pe={passive:!0};var _e={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(e){return e.replace(/left|right|bottom|top/g,(function(e){return _e[e]}))}var Ie={start:"end",end:"start"};function qe(e){return e.replace(/start|end/g,(function(e){return Ie[e]}))}function We(e){var t=ae(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function He(e){return he(xe(e)).left+We(e).scrollLeft}function Ve(e){var t=be(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ce(e){return["html","body","#document"].indexOf(ie(e))>=0?e.ownerDocument.body:fe(e)&&Ve(e)?e:Ce(we(e))}function Fe(e,t){var n;void 0===t&&(t=[]);var r=Ce(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ae(r),a=o?[i].concat(i.visualViewport||[],Ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Fe(we(a)))}function Be(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Re(e,t){return t===ee?Be(function(e){var t=ae(e),n=xe(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+He(e),y:s}}(e)):se(t)?function(e){var t=he(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Be(function(e){var t,n=xe(e),r=We(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=le(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=le(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+He(e),f=-r.scrollTop;return"rtl"===be(o||n).direction&&(s+=le(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}(xe(e)))}function Ue(e,t,n){var r="clippingParents"===t?function(e){var t=Fe(we(e)),n=["absolute","fixed"].indexOf(be(e).position)>=0&&fe(e)?Ee(e):e;return se(n)?t.filter((function(e){return se(e)&&ye(e,n)&&"body"!==ie(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Re(e,n);return t.top=le(r.top,t.top),t.right=de(r.right,t.right),t.bottom=de(r.bottom,t.bottom),t.left=le(r.left,t.left),t}),Re(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Xe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?pe(o):null,a=o?ke(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case Y:t={x:s,y:n.y-r.height};break;case z:t={x:s,y:n.y+n.height};break;case G:t={x:n.x+n.width,y:f};break;case Z:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?Ae(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case K:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Q:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Ye(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,f=void 0===s?ee:s,c=n.elementContext,u=void 0===c?te:c,p=n.altBoundary,l=void 0!==p&&p,d=n.padding,m=void 0===d?0:d,h=je("number"!=typeof m?m:Me(m,J)),v=u===te?"reference":te,y=e.rects.popper,b=e.elements[l?v:u],g=Ue(se(b)?b:b.contextElement||xe(e.elements.popper),a,f),x=he(e.elements.reference),w=Xe({reference:x,element:y,strategy:"absolute",placement:o}),O=Be(Object.assign({},y,w)),E=u===te?O:x,A={top:g.top-E.top+h.top,bottom:E.bottom-g.bottom+h.bottom,left:g.left-E.left+h.left,right:E.right-g.right+h.right},S=e.modifiersData.offset;if(u===te&&S){var j=S[o];Object.keys(A).forEach((function(e){var t=[G,z].indexOf(e)>=0?1:-1,n=[Y,z].indexOf(e)>=0?"y":"x";A[e]+=j[n]*t}))}return A}function ze(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?re:f,u=ke(r),p=u?s?ne:ne.filter((function(e){return ke(e)===u})):J,l=p.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=p,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=l.reduce((function(t,n){return t[n]=Ye(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[pe(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var Ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,y=pe(v),b=f||(y===v||!m?[Te(v)]:function(e){if(pe(e)===$)return[];var t=Te(e);return[qe(e),t,qe(t)]}(v)),g=[v].concat(b).reduce((function(e,n){return e.concat(pe(n)===$?ze(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,E=!0,A=g[0],S=0;S<g.length;S++){var j=g[S],M=pe(j),D=ke(j)===K,k=[Y,z].indexOf(M)>=0,N=k?"width":"height",L=Ye(t,{placement:j,boundary:u,rootBoundary:p,altBoundary:l,padding:c}),P=k?D?G:Z:D?z:Y;x[N]>w[N]&&(P=Te(P));var _=Te(P),T=[];if(i&&T.push(L[M]<=0),s&&T.push(L[P]<=0,L[_]<=0),T.every((function(e){return e}))){A=j,E=!1;break}O.set(j,T)}if(E)for(var I=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},q=m?3:1;q>0;q--){if("break"===I(q))break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ze(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function $e(e){return[Y,G,z,Z].some((function(t){return e[t]>=0}))}var Je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=re.reduce((function(e,n){return e[n]=function(e,t,n){var r=pe(e),o=[Z,Y].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Z,G].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,f=n.boundary,c=n.rootBoundary,u=n.altBoundary,p=n.padding,l=n.tether,d=void 0===l||l,m=n.tetherOffset,h=void 0===m?0:m,v=Ye(t,{boundary:f,rootBoundary:c,padding:p,altBoundary:u}),y=pe(t.placement),b=ke(t.placement),g=!b,x=Ae(y),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,A=t.rects.popper,S="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,j="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(i){var k,N="y"===x?Y:Z,L="y"===x?z:G,P="y"===x?"height":"width",_=O[x],T=_+v[N],I=_-v[L],q=d?-A[P]/2:0,W=b===K?E[P]:A[P],H=b===K?-A[P]:-E[P],V=t.elements.arrow,C=d&&V?ve(V):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[N],R=F[L],U=Se(0,E[P],C[P]),X=g?E[P]/2-q-U-B-j.mainAxis:W-U-B-j.mainAxis,$=g?-E[P]/2+q+U+R+j.mainAxis:H+U+R+j.mainAxis,J=t.elements.arrow&&Ee(t.elements.arrow),Q=J?"y"===x?J.clientTop||0:J.clientLeft||0:0,ee=null!=(k=null==M?void 0:M[x])?k:0,te=_+$-ee,ne=Se(d?de(T,_+X-ee-Q):T,_,d?le(I,te):I);O[x]=ne,D[x]=ne-_}if(s){var re,oe="x"===x?Y:Z,ie="x"===x?z:G,ae=O[w],se="y"===w?"height":"width",fe=ae+v[oe],ce=ae-v[ie],ue=-1!==[Y,Z].indexOf(y),me=null!=(re=null==M?void 0:M[w])?re:0,he=ue?fe:ae-E[se]-A[se]-me+j.altAxis,ye=ue?ae+E[se]+A[se]-me-j.altAxis:ce,be=d&&ue?function(e,t,n){var r=Se(e,t,n);return r>n?n:r}(he,ae,ye):Se(d?he:fe,ae,d?ye:ce);O[w]=be,D[w]=be-ae}t.modifiersData[r]=D}},requiresIfExists:["offset"]};function Qe(e,t,n){void 0===n&&(n=!1);var r,o,i=fe(t),a=fe(t)&&function(e){var t=e.getBoundingClientRect(),n=me(t.width)/e.offsetWidth||1,r=me(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=xe(t),f=he(e,a),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==ie(t)||Ve(s))&&(c=(r=t)!==ae(r)&&fe(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:We(r)),fe(t)?((u=he(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=He(s))),{x:f.left+c.scrollLeft-u.x,y:f.top+c.scrollTop-u.y,width:f.width,height:f.height}}function et(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var nt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',rt=["name","enabled","phase","fn","effect","requires","options"];var ot="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function st(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?it:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:se(e)?Fe(e):e.contextElement?Fe(e.contextElement):[],popper:Fe(t)};var a,c,l,d=function(e){var t=et(e);return oe.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),rt).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(tt(nt,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(tt(nt,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":oe.indexOf(t.phase)<0&&console.error(tt(nt,t.name,'"phase"',"either "+oe.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(tt(nt,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(tt(nt,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(tt(nt,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(tt(nt,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+rt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(tt('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),c=function(e){return e.name},l=new Set,a.filter((function(e){var t=c(e);if(!l.has(t))return l.add(t),!0})))),pe(s.options.placement)===$)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var m=be(t);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};f.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(at(t,n)){s.rects={reference:Qe(t,Ee(n),"fixed"===s.options.strategy),popper:ve(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,f=i.options,p=void 0===f?{}:f,l=i.name;"function"==typeof a&&(s=a({state:s,options:p,name:l,instance:u})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(ot)}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),c=!0}};if(!at(e,t))return"production"!==process.env.NODE_ENV&&console.error(ot),u;function p(){f.forEach((function(e){return e()})),f=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ft=st({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,f=ae(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Pe)})),s&&f.addEventListener("resize",n.update,Pe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Pe)})),s&&f.removeEventListener("resize",n.update,Pe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Xe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=be(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:pe(t.placement),variation:ke(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Le(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Le(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ue,Je,Ge,Ke,De,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ye(t,{elementContext:"reference"}),s=Ye(t,{altBoundary:!0}),f=Ze(a,r),c=Ze(s,o,i),u=$e(f),p=$e(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),ct={mounted:function(e,n){var r={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===X(n.value)?Object.assign(r,n.value):r.content=n.value;var o=r.disabled,i=r.arrow,a=r.theme;if(!o){var s=function(e,n,r){var o=t.bkZIndexManager.getPopperIndex(),i=document.createElement("div");if(i.className="bk-popper ".concat(r?"light":"dark"),i.innerText=e,i.style.zIndex=String(o),n){var a=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();i.appendChild(a)}return document.body.appendChild(i),i}(r.content,i,"light"===a);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,s=n.onShow,f=n.onHide,c=ft(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){var u=["mouseleave","blur"];["mouseenter","focus"].forEach((function(t){e.addEventListener(t,p)})),u.forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?p():t.hasAttribute("data-show")&&l()}));a&&p();function p(){t.setAttribute("data-show",""),s(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(R(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),c.update()}function l(){t.removeAttribute("data-show"),f(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(R(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}}(e,s,r)}}};e.bkTooltips=ct,e.clickoutside=q,e.mousewheel=N,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/divider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,o,t){"use strict";var i=t.defineComponent({name:"Divider",props:{direction:o.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),align:o.PropTypes.commonType(["left","center","right"],"align").def("center"),color:o.PropTypes.string.def("#dde4eb"),width:o.PropTypes.number.def(1),type:o.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed")},render:function(){var e,o=this;return this.$slots.default&&(e=t.createVNode("div",{class:["bk-divider-info","bk-divider-info-".concat(this.align)]},[this.$slots.default()])),t.createVNode("div",{class:["bk-divider","bk-divider-".concat(this.direction)],style:"vertical"===o.direction?{borderRight:"".concat(o.width,"px ").concat(o.type," ").concat(o.color)}:{borderBottom:"".concat(o.width,"px ").concat(o.type," ").concat(o.color)}},[e])}}),d=o.withInstall(i);e.default=d,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/dropdown/index.d.ts
CHANGED
package/lib/dropdown/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,t,n){"use strict";var o=n.defineComponent({name:"BkDropdown",props:{isShow:t.PropTypes.bool.def(!1),placement:t.PropTypes.commonType(["auto","auto-start","auto-end","top","right","bottom","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],"placement").def("bottom"),trigger:t.PropTypes.commonType(["hover","click","manual"],"trigger").def("hover"),disabled:t.PropTypes.bool.def(!1),extCls:t.PropTypes.string},emits:["showChange"],setup:function(e,o){var r=o.emit,s=Object.create(null),i=n.ref(null),a=n.ref(null);n.onMounted((function(){d()})),n.onBeforeUnmount((function(){l()})),n.watch((function(){return e.isShow}),(function(t){n.nextTick((function(){"manual"===e.trigger&&s&&!e.disabled&&(t?s.show():s.hide())}))})),n.watch((function(){return e.disabled}),(function(e){return u(e)}));var d=function(){e.disabled||(s=new t.BKPopover(i.value,a.value,{placement:e.placement,trigger:e.trigger}),"manual"===e.trigger&&e.isShow&&s.show())},l=function(){if(s){var t=s;t.isShow&&t.hide(),t.destroy(),s=null,"manual"===e.trigger&&r("showChange",!1)}},u=function(t){var n=s;"manual"===e.trigger&&!t&&r("showChange",!1),n.updateDisabled(t)};return{reference:i,refContent:a}},render:function(){var e,o,r,s,i=t.classes({"bk-dropdown":!0},this.$props.extCls);return n.createVNode("div",{class:i},[n.createVNode("div",{ref:"reference",class:"bk-dropdown-reference"},[null===(o=(e=this.$slots).default)||void 0===o?void 0:o.call(e)]),n.createVNode("div",{ref:"refContent",class:"bk-dropdown-content"},[null===(s=(r=this.$slots).content)||void 0===s?void 0:s.call(r)])])}}),r=n.defineComponent({name:"BkDropdownItem",props:{extCls:t.PropTypes.string},emits:["click"],setup:function(e,t){var o=t.emit;return{wrapperCLasses:n.computed((function(){return["bk-dropdown-item",e.extCls]})),handleClick:function(e){o("click",e)}}},render:function(){var e,t;return n.createVNode("li",{class:this.wrapperCLasses,onClick:this.handleClick},[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),s=n.defineComponent({name:"BkDropdownMenu",props:{extCls:t.PropTypes.string},setup:function(e){return{wrapperCLasses:n.computed((function(){return["bk-dropdown-menu",e.extCls]}))}},render:function(){var e,t;return n.createVNode("ul",{class:this.wrapperCLasses},[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),i=t.withInstallProps(o,{DropdownMenu:s,DropdownItem:r});e.BkDropdown=i,e.BkDropdownItem=r,e.BkDropdownMenu=s,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));
|