(self["webpackChunkbitua"]=self["webpackChunkbitua"]||[]).push([[4998],{98032:function(e,t,n){"use strict";function r(e,t){a(e)&&(e="100%");var n=o(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function i(e){return Math.min(1,Math.max(0,e))}function a(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function o(e){return"string"===typeof e&&-1!==e.indexOf("%")}function s(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}function u(e,t,n){return{r:255*r(e,255),g:255*r(t,255),b:255*r(n,255)}}function d(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var i=Math.max(e,t,n),a=Math.min(e,t,n),o=0,s=0,l=(i+a)/2;if(i===a)s=0,o=0;else{var c=i-a;switch(s=l>.5?c/(2-i-a):c/(i+a),i){case e:o=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function p(e,t,n){var i,a,o;if(e=r(e,360),t=r(t,100),n=r(n,100),0===t)a=n,o=n,i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=h(l,s,e+1/3),a=h(l,s,e),o=h(l,s,e-1/3)}return{r:255*i,g:255*a,b:255*o}}function f(e,t,n){e=r(e,255),t=r(t,255),n=r(n,255);var i=Math.max(e,t,n),a=Math.min(e,t,n),o=0,s=i,l=i-a,c=0===i?0:l/i;if(i===a)o=0;else{switch(i){case e:o=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}n.d(t,{C:function(){return D}});var S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function k(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,c=!1;return"string"===typeof e&&(e=O(e)),"object"===typeof e&&(N(e.r)&&N(e.g)&&N(e.b)?(t=u(e.r,e.g,e.b),o=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):N(e.h)&&N(e.s)&&N(e.v)?(r=l(e.s),i=l(e.v),t=g(e.h,r,i),o=!0,c="hsv"):N(e.h)&&N(e.s)&&N(e.l)&&(r=l(e.s),a=l(e.l),t=p(e.h,r,a),o=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=s(n),{ok:o,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var _="[-\\+]?\\d+%?",C="[-\\+]?\\d*\\.\\d+%?",E="(?:".concat(C,")|(?:").concat(_,")"),A="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),I="[\\s|\\(]+(".concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")[,|\\s]+(").concat(E,")\\s*\\)?"),T={CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+A),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+A),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+A),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function O(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(S[e])e=S[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=T.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=T.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=T.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=T.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=T.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=T.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=T.hex8.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),a:b(n[4]),format:t?"name":"hex8"}:(n=T.hex6.exec(e),n?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:t?"name":"hex"}:(n=T.hex4.exec(e),n?{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),a:b(n[4]+n[4]),format:t?"name":"hex8"}:(n=T.hex3.exec(e),!!n&&{r:x(n[1]+n[1]),g:x(n[2]+n[2]),b:x(n[3]+n[3]),format:t?"name":"hex"})))))))))}function N(e){return Boolean(T.CSS_UNIT.exec(String(e)))}var D=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=w(t)),this.originalInput=t;var i=k(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),i=r.r/255,a=r.g/255,o=r.b/255;return e=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=s(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var e=this.toHsl().s;return 0===e},e.prototype.toHsv=function(){var e=f(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=f(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),m(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),v(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*r(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*r(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+m(this.r,this.g,this.b,!1),t=0,n=Object.entries(S);t=0,i=!t&&r&&(e.startsWith("hex")||"name"===e);return i?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=i(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=i(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=i(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=i(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new e(o)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;while(t--)o.push(new e({h:r,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],a=360/t,o=1;o>6|192,t[n++]=63&i|128):55296===(64512&i)&&r+1>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},i=function(e){const t=[];let n=0,r=0;while(n191&&i<224){const a=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&a)}else if(i>239&&i<365){const a=e[n++],o=e[n++],s=e[n++],l=((7&i)<<18|(63&a)<<12|(63&o)<<6|63&s)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(1023&l))}else{const a=e[n++],o=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&a)<<6|63&o)}}return t.join("")},a={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i>2,u=(3&t)<<4|o>>4;let d=(15&o)<<2|l>>6,h=63&l;s||(h=64,a||(d=64)),r.push(n[c],n[u],n[d],n[h])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(r(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):i(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i>4;if(r.push(h),64!==c){const e=s<<4&240|c>>2;if(r.push(e),64!==d){const e=c<<6&192|d;r.push(e)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}}; /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */class o extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const s=function(e){const t=r(e);return a.encodeByteArray(t,!0)},l=function(e){return s(e).replace(/\./g,"")},c=function(e){try{return a.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function u(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:const n=t;return new Date(n.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(const n in t)t.hasOwnProperty(n)&&d(n)&&(e[n]=u(e[n],t[n]));return e}function d(e){return"__proto__"!==e} /** * @license * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */function h(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n.g)return n.g;throw new Error("Unable to locate global object.")} /** * @license * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */const p=()=>h().__FIREBASE_DEFAULTS__,f=()=>{if("undefined"===typeof process)return;const e={NODE_ENV:"production",VUE_APP_APIKEY:"AIzaSyAYE9ZZr2i7gQOp27n_xmUgF0zvBNlBEFE",VUE_APP_APPId:"1:1046235374350:web:939716db0b40dd62f56d5f",VUE_APP_AUTHDOMAIN:"dashboardv2-d1574.firebaseapp.com",VUE_APP_BASE_URL:"https://api-dashboard-dot-bitua-base.wl.r.appspot.com/",VUE_APP_BASE_URL_APIKEY:"Yml0dWFiaXR1YWJpdHVh",VUE_APP_DATABASEURL:"https://dashboardv2-d1574-default-rtdb.firebaseio.com",VUE_APP_DEFAULT_AUTH:"firebase",VUE_APP_I18N_FALLBACK_LOCALE:"en",VUE_APP_I18N_LOCALE:"en",VUE_APP_MEASUREMENTID:"G-VK1DF4YXR9",VUE_APP_MESSAGINGSENDERID:"1046235374350",VUE_APP_PROJECTId:"dashboardv2-d1574",VUE_APP_STORAGEBUCKET:"dashboardv2-d1574.appspot.com",VUE_APP_URL:"https://dev-dashboard-dot-bitua-base.wl.r.appspot.com/",BASE_URL:"/"}.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0},g=()=>{if("undefined"===typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(n){return}const t=e&&c(e[1]);return t&&JSON.parse(t)},m=()=>{try{return p()||f()||g()}catch(e){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`)}},v=()=>{var e;return null===(e=m())||void 0===e?void 0:e.config},y=e=>{var t;return null===(t=m())||void 0===t?void 0:t[`_${e}`]}; /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class b{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"===typeof e&&(this.promise.catch((()=>{})),1===e.length?e(t):e(t,n))}}} /** * @license * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */function x(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n={alg:"none",type:"JWT"},r=t||"demo-project",i=e.iat||0,a=e.sub||e.user_id;if(!a)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const o=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:i,exp:i+3600,auth_time:i,sub:a,user_id:a,firebase:{sign_in_provider:"custom",identities:{}}},e),s="";return[l(JSON.stringify(n)),l(JSON.stringify(o)),s].join(".")} /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */function w(){return"undefined"!==typeof navigator&&"string"===typeof navigator["userAgent"]?navigator["userAgent"]:""}function S(){return"undefined"!==typeof window&&!!(window["cordova"]||window["phonegap"]||window["PhoneGap"])&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(w())}function k(){var e;const t=null===(e=m())||void 0===e?void 0:e.forceEnvironment;if("node"===t)return!0;if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(n.g.process)}catch(r){return!1}}function _(){return"object"===typeof self&&self.self===self}function C(){const e="object"===typeof chrome?chrome.runtime:"object"===typeof browser?browser.runtime:void 0;return"object"===typeof e&&void 0!==e.id}function E(){return"object"===typeof navigator&&"ReactNative"===navigator["product"]}function A(){const e=w();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function I(){return!k()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function T(){try{return"object"===typeof indexedDB}catch(e){return!1}}function O(){return new Promise(((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var e;t((null===(e=i.error)||void 0===e?void 0:e.message)||"")}}catch(n){t(n)}}))} /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const N="FirebaseError";class D extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name=N,Object.setPrototypeOf(this,D.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,L.prototype.create)}}class L{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},r=`${this.service}/${e}`,i=this.errors[e],a=i?P(i,n):"Error",o=`${this.serviceName}: ${a} (${r}).`,s=new D(r,o,n);return s}}function P(e,t){return e.replace(F,((e,n)=>{const r=t[n];return null!=r?String(r):`<${n}?>`}))}const F=/\{\$([^}]+)}/g; /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function U(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function M(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function R(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const n=e[i],a=t[i];if(j(n)&&j(a)){if(!R(n,a))return!1}else if(n!==a)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function j(e){return null!==e&&"object"===typeof e} /** * @license * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function V(e){const t=[];for(const[n,r]of Object.entries(e))Array.isArray(r)?r.forEach((e=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(e))})):t.push(encodeURIComponent(n)+"="+encodeURIComponent(r));return t.length?"&"+t.join("&"):""}function z(e){const t={},n=e.replace(/^\?/,"").split("&");return n.forEach((e=>{if(e){const[n,r]=e.split("=");t[decodeURIComponent(n)]=decodeURIComponent(r)}})),t}function H(e){const t=e.indexOf("?");if(!t)return"";const n=e.indexOf("#",t);return e.substring(t,n>0?n:void 0)} /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */function B(e,t){const n=new W(e,t);return n.subscribe.bind(n)}class W{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((()=>{e(this)})).catch((e=>{this.error(e)}))}next(e){this.forEachObserver((t=>{t.next(e)}))}error(e){this.forEachObserver((t=>{t.error(e)})),this.close(e)}complete(){this.forEachObserver((e=>{e.complete()})),this.close()}subscribe(e,t,n){let r;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=$(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=q),void 0===r.error&&(r.error=q),void 0===r.complete&&(r.complete=q);const i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((()=>{try{this.finalError?r.error(this.finalError):r.complete()}catch(e){}})),this.observers.push(r),i}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(n){"undefined"!==typeof console&&console.error&&console.error(n)}}))}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((()=>{this.observers=void 0,this.onNoObservers=void 0})))}}function $(e,t){if("object"!==typeof e||null===e)return!1;for(const n of t)if(n in e&&"function"===typeof e[n])return!0;return!1}function q(){} /** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @license * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function Y(e){return e&&e._delegate?e._delegate:e}},45704:function(e,t,n){"use strict";n.d(t,{fi:function(){return A},kZ:function(){return E}});var r=n(50400),i=n(82163),a=n(62057),o=n(62556);function s(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function l(e){return e!==(0,a.Z)(e)&&(0,o.Re)(e)?s(e):(0,i.Z)(e)}var c=n(96333),u=n(4063),d=n(67252),h=n(60611),p=n(138);function f(e){var t=e.getBoundingClientRect(),n=(0,p.NM)(t.width)/e.offsetWidth||1,r=(0,p.NM)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function g(e,t,n){void 0===n&&(n=!1);var i=(0,o.Re)(t),a=(0,o.Re)(t)&&f(t),s=(0,d.Z)(t),p=(0,r.Z)(e,a,n),g={scrollLeft:0,scrollTop:0},m={x:0,y:0};return(i||!i&&!n)&&(("body"!==(0,c.Z)(t)||(0,h.Z)(s))&&(g=l(t)),(0,o.Re)(t)?(m=(0,r.Z)(t,!0),m.x+=t.clientLeft,m.y+=t.clientTop):s&&(m.x=(0,u.Z)(s))),{x:p.left+g.scrollLeft-m.x,y:p.top+g.scrollTop-m.y,width:p.width,height:p.height}}var m=n(40583),v=n(31492),y=n(98552),b=n(87701);function x(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function w(e){var t=x(e);return b.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function S(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function k(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]}))}var _={placement:"bottom",modifiers:[],strategy:"absolute"};function C(){for(var e=arguments.length,t=new Array(e),n=0;n0&&(0,i.NM)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&(0,i.NM)(s.height)/e.offsetHeight||1);var u=(0,r.kK)(e)?(0,a.Z)(e):window,d=u.visualViewport,h=!(0,o.Z)()&&n,p=(s.left+(h&&d?d.offsetLeft:0))/l,f=(s.top+(h&&d?d.offsetTop:0))/c,g=s.width/l,m=s.height/c;return{width:g,height:m,top:f,right:p+g,bottom:f+m,left:p,x:p,y:f}}},43062:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(62057);function i(e){return(0,r.Z)(e).getComputedStyle(e)}},67252:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(62556);function i(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},40583:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50400);function i(e){var t=(0,r.Z)(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},96333:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:function(){return r}})},98552:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(62057),i=n(96333),a=n(43062),o=n(62556);function s(e){return["table","td","th"].indexOf((0,i.Z)(e))>=0}var l=n(95923),c=n(85918);function u(e){return(0,o.Re)(e)&&"fixed"!==(0,a.Z)(e).position?e.offsetParent:null}function d(e){var t=/firefox/i.test((0,c.Z)()),n=/Trident/i.test((0,c.Z)());if(n&&(0,o.Re)(e)){var r=(0,a.Z)(e);if("fixed"===r.position)return null}var s=(0,l.Z)(e);(0,o.Zq)(s)&&(s=s.host);while((0,o.Re)(s)&&["html","body"].indexOf((0,i.Z)(s))<0){var u=(0,a.Z)(s);if("none"!==u.transform||"none"!==u.perspective||"paint"===u.contain||-1!==["transform","perspective"].indexOf(u.willChange)||t&&"filter"===u.willChange||t&&u.filter&&"none"!==u.filter)return s;s=s.parentNode}return null}function h(e){var t=(0,r.Z)(e),n=u(e);while(n&&s(n)&&"static"===(0,a.Z)(n).position)n=u(n);return n&&("html"===(0,i.Z)(n)||"body"===(0,i.Z)(n)&&"static"===(0,a.Z)(n).position)?t:n||d(e)||t}},95923:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96333),i=n(67252),a=n(62556);function o(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,a.Zq)(e)?e.host:null)||(0,i.Z)(e)}},62057:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:function(){return r}})},82163:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(62057);function i(e){var t=(0,r.Z)(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}},4063:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50400),i=n(67252),a=n(82163);function o(e){return(0,r.Z)((0,i.Z)(e)).left+(0,a.Z)(e).scrollLeft}},62556:function(e,t,n){"use strict";n.d(t,{Re:function(){return a},Zq:function(){return o},kK:function(){return i}});var r=n(62057);function i(e){var t=(0,r.Z)(e).Element;return e instanceof t||e instanceof Element}function a(e){var t=(0,r.Z)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function o(e){if("undefined"===typeof ShadowRoot)return!1;var t=(0,r.Z)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}},67977:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85918);function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.Z)())}},60611:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(43062);function i(e){var t=(0,r.Z)(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}},31492:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(95923),i=n(60611),a=n(96333),o=n(62556);function s(e){return["html","body","#document"].indexOf((0,a.Z)(e))>=0?e.ownerDocument.body:(0,o.Re)(e)&&(0,i.Z)(e)?e:s((0,r.Z)(e))}var l=n(62057);function c(e,t){var n;void 0===t&&(t=[]);var a=s(e),o=a===(null==(n=e.ownerDocument)?void 0:n.body),u=(0,l.Z)(a),d=o?[u].concat(u.visualViewport||[],(0,i.Z)(a)?a:[]):a,h=t.concat(d);return o?h:h.concat(c((0,r.Z)(d)))}},87701:function(e,t,n){"use strict";n.d(t,{BL:function(){return c},Ct:function(){return m},DH:function(){return w},F2:function(){return a},I:function(){return i},MS:function(){return C},N7:function(){return v},Pj:function(){return h},XM:function(){return x},YP:function(){return f},bw:function(){return g},cW:function(){return _},d7:function(){return s},ij:function(){return y},iv:function(){return k},k5:function(){return p},mv:function(){return l},r5:function(){return b},t$:function(){return o},ut:function(){return u},wX:function(){return S},we:function(){return r},xs:function(){return E},zV:function(){return d}});var r="top",i="bottom",a="right",o="left",s="auto",l=[r,i,a,o],c="start",u="end",d="clippingParents",h="viewport",p="popper",f="reference",g=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),m=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),v="beforeRead",y="read",b="afterRead",x="beforeMain",w="main",S="afterMain",k="beforeWrite",_="write",C="afterWrite",E=[v,y,b,x,w,S,k,_,C]},17824:function(e,t,n){"use strict";var r=n(96333),i=n(62556);function a(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},a=t.attributes[e]||{},o=t.elements[e];(0,i.Re)(o)&&(0,r.Z)(o)&&(Object.assign(o.style,n),Object.keys(a).forEach((function(e){var t=a[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))}function o(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 a=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),l=s.reduce((function(e,t){return e[t]="",e}),{});(0,i.Re)(a)&&(0,r.Z)(a)&&(Object.assign(a.style,l),Object.keys(o).forEach((function(e){a.removeAttribute(e)})))}))}}t["Z"]={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:o,requires:["computeStyles"]}},66896:function(e,t,n){"use strict";var r=n(6206),i=n(40583),a=n(94985),o=n(98552),s=n(11516),l=n(57516),c=n(63293),u=n(33706),d=n(87701),h=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,c.Z)("number"!==typeof e?e:(0,u.Z)(e,d.mv))};function p(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,p=n.modifiersData.popperOffsets,f=(0,r.Z)(n.placement),g=(0,s.Z)(f),m=[d.t$,d.F2].indexOf(f)>=0,v=m?"height":"width";if(u&&p){var y=h(c.padding,n),b=(0,i.Z)(u),x="y"===g?d.we:d.t$,w="y"===g?d.I:d.F2,S=n.rects.reference[v]+n.rects.reference[g]-p[g]-n.rects.popper[v],k=p[g]-n.rects.reference[g],_=(0,o.Z)(u),C=_?"y"===g?_.clientHeight||0:_.clientWidth||0:0,E=S/2-k/2,A=y[x],I=C-b[v]-y[w],T=C/2-b[v]/2+E,O=(0,l.u)(A,T,I),N=g;n.modifiersData[a]=(t={},t[N]=O,t.centerOffset=O-T,t)}}function f(e){var t=e.state,n=e.options,r=n.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i),i))&&(0,a.Z)(t.elements.popper,i)&&(t.elements.arrow=i)}t["Z"]={name:"arrow",enabled:!0,phase:"main",fn:p,effect:f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},36531:function(e,t,n){"use strict";var r=n(87701),i=n(98552),a=n(62057),o=n(67252),s=n(43062),l=n(6206),c=n(14943),u=n(138),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:(0,u.NM)(n*i)/i||0,y:(0,u.NM)(r*i)/i||0}}function p(e){var t,n=e.popper,l=e.popperRect,c=e.placement,u=e.variation,p=e.offsets,f=e.position,g=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,y=e.isFixed,b=p.x,x=void 0===b?0:b,w=p.y,S=void 0===w?0:w,k="function"===typeof v?v({x:x,y:S}):{x:x,y:S};x=k.x,S=k.y;var _=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),E=r.t$,A=r.we,I=window;if(m){var T=(0,i.Z)(n),O="clientHeight",N="clientWidth";if(T===(0,a.Z)(n)&&(T=(0,o.Z)(n),"static"!==(0,s.Z)(T).position&&"absolute"===f&&(O="scrollHeight",N="scrollWidth")),c===r.we||(c===r.t$||c===r.F2)&&u===r.ut){A=r.I;var D=y&&T===I&&I.visualViewport?I.visualViewport.height:T[O];S-=D-l.height,S*=g?1:-1}if(c===r.t$||(c===r.we||c===r.I)&&u===r.ut){E=r.F2;var L=y&&T===I&&I.visualViewport?I.visualViewport.width:T[N];x-=L-l.width,x*=g?1:-1}}var P,F=Object.assign({position:f},m&&d),U=!0===v?h({x:x,y:S},(0,a.Z)(n)):{x:x,y:S};return x=U.x,S=U.y,g?Object.assign({},F,(P={},P[A]=C?"0":"",P[E]=_?"0":"",P.transform=(I.devicePixelRatio||1)<=1?"translate("+x+"px, "+S+"px)":"translate3d("+x+"px, "+S+"px, 0)",P)):Object.assign({},F,(t={},t[A]=C?S+"px":"",t[E]=_?x+"px":"",t.transform="",t))}function f(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,u=void 0===s||s,d={placement:(0,l.Z)(t.placement),variation:(0,c.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}t["Z"]={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f,data:{}}},82372:function(e,t,n){"use strict";var r=n(62057),i={passive:!0};function a(e){var t=e.state,n=e.instance,a=e.options,o=a.scroll,s=void 0===o||o,l=a.resize,c=void 0===l||l,u=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,i)})),c&&u.addEventListener("resize",n.update,i),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),c&&u.removeEventListener("resize",n.update,i)}}t["Z"]={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:a,data:{}}},68855:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}var a=n(6206),o={start:"end",end:"start"};function s(e){return e.replace(/start|end/g,(function(e){return o[e]}))}var l=n(6486),c=n(14943),u=n(87701);function d(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,d=n.flipVariations,h=n.allowedAutoPlacements,p=void 0===h?u.Ct:h,f=(0,c.Z)(r),g=f?d?u.bw:u.bw.filter((function(e){return(0,c.Z)(e)===f})):u.mv,m=g.filter((function(e){return p.indexOf(e)>=0}));0===m.length&&(m=g);var v=m.reduce((function(t,n){return t[n]=(0,l.Z)(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[(0,a.Z)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function h(e){if((0,a.Z)(e)===u.d7)return[];var t=i(e);return[s(e),t,s(t)]}function p(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=void 0===o||o,p=n.altAxis,f=void 0===p||p,g=n.fallbackPlacements,m=n.padding,v=n.boundary,y=n.rootBoundary,b=n.altBoundary,x=n.flipVariations,w=void 0===x||x,S=n.allowedAutoPlacements,k=t.options.placement,_=(0,a.Z)(k),C=_===k,E=g||(C||!w?[i(k)]:h(k)),A=[k].concat(E).reduce((function(e,n){return e.concat((0,a.Z)(n)===u.d7?d(t,{placement:n,boundary:v,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:S}):n)}),[]),I=t.rects.reference,T=t.rects.popper,O=new Map,N=!0,D=A[0],L=0;L=0,R=M?"width":"height",j=(0,l.Z)(t,{placement:P,boundary:v,rootBoundary:y,altBoundary:b,padding:m}),V=M?U?u.F2:u.t$:U?u.I:u.we;I[R]>T[R]&&(V=i(V));var z=i(V),H=[];if(s&&H.push(j[F]<=0),f&&H.push(j[V]<=0,j[z]<=0),H.every((function(e){return e}))){D=P,N=!1;break}O.set(P,H)}if(N)for(var B=w?3:1,W=function(e){var t=A.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},$=B;$>0;$--){var q=W($);if("break"===q)break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}var f={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},19892:function(e,t,n){"use strict";var r=n(87701),i=n(6486);function a(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 o(e){return[r.we,r.F2,r.I,r.t$].some((function(t){return e[t]>=0}))}function s(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,l=t.modifiersData.preventOverflow,c=(0,i.Z)(t,{elementContext:"reference"}),u=(0,i.Z)(t,{altBoundary:!0}),d=a(c,r),h=a(u,s,l),p=o(d),f=o(h);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}t["Z"]={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:s}},82122:function(e,t,n){"use strict";var r=n(6206),i=n(87701);function a(e,t,n){var a=(0,r.Z)(e),o=[i.t$,i.we].indexOf(a)>=0?-1:1,s="function"===typeof n?n(Object.assign({},t,{placement:e})):n,l=s[0],c=s[1];return l=l||0,c=(c||0)*o,[i.t$,i.F2].indexOf(a)>=0?{x:c,y:l}:{x:l,y:c}}function o(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=void 0===o?[0,0]:o,l=i.Ct.reduce((function(e,n){return e[n]=a(n,t.rects,s),e}),{}),c=l[t.placement],u=c.x,d=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=l}t["Z"]={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o}},77421:function(e,t,n){"use strict";var r=n(72581);function i(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}t["Z"]={name:"popperOffsets",enabled:!0,phase:"read",fn:i,data:{}}},394:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(87701),i=n(6206),a=n(11516);function o(e){return"x"===e?"y":"x"}var s=n(57516),l=n(40583),c=n(98552),u=n(6486),d=n(14943),h=n(23607),p=n(138);function f(e){var t=e.state,n=e.options,f=e.name,g=n.mainAxis,m=void 0===g||g,v=n.altAxis,y=void 0!==v&&v,b=n.boundary,x=n.rootBoundary,w=n.altBoundary,S=n.padding,k=n.tether,_=void 0===k||k,C=n.tetherOffset,E=void 0===C?0:C,A=(0,u.Z)(t,{boundary:b,rootBoundary:x,padding:S,altBoundary:w}),I=(0,i.Z)(t.placement),T=(0,d.Z)(t.placement),O=!T,N=(0,a.Z)(I),D=o(N),L=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,U="function"===typeof E?E(Object.assign({},t.rects,{placement:t.placement})):E,M="number"===typeof U?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(L){if(m){var V,z="y"===N?r.we:r.t$,H="y"===N?r.I:r.F2,B="y"===N?"height":"width",W=L[N],$=W+A[z],q=W-A[H],Y=_?-F[B]/2:0,Z=T===r.BL?P[B]:F[B],G=T===r.BL?-F[B]:-P[B],X=t.elements.arrow,K=_&&X?(0,l.Z)(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,h.Z)(),Q=J[z],ee=J[H],te=(0,s.u)(0,P[B],K[B]),ne=O?P[B]/2-Y-te-Q-M.mainAxis:Z-te-Q-M.mainAxis,re=O?-P[B]/2+Y+te+ee+M.mainAxis:G+te+ee+M.mainAxis,ie=t.elements.arrow&&(0,c.Z)(t.elements.arrow),ae=ie?"y"===N?ie.clientTop||0:ie.clientLeft||0:0,oe=null!=(V=null==R?void 0:R[N])?V:0,se=W+ne-oe-ae,le=W+re-oe,ce=(0,s.u)(_?(0,p.VV)($,se):$,W,_?(0,p.Fp)(q,le):q);L[N]=ce,j[N]=ce-W}if(y){var ue,de="x"===N?r.we:r.t$,he="x"===N?r.I:r.F2,pe=L[D],fe="y"===D?"height":"width",ge=pe+A[de],me=pe-A[he],ve=-1!==[r.we,r.t$].indexOf(I),ye=null!=(ue=null==R?void 0:R[D])?ue:0,be=ve?ge:pe-P[fe]-F[fe]-ye+M.altAxis,xe=ve?pe+P[fe]+F[fe]-ye-M.altAxis:me,we=_&&ve?(0,s.q)(be,pe,xe):(0,s.u)(_?be:ge,pe,_?xe:me);L[D]=we,j[D]=we-pe}t.modifiersData[f]=j}}var g={name:"preventOverflow",enabled:!0,phase:"main",fn:f,requiresIfExists:["offset"]}},20804:function(e,t,n){"use strict";n.d(t,{fi:function(){return f}});var r=n(45704),i=n(82372),a=n(77421),o=n(36531),s=n(17824),l=n(82122),c=n(68855),u=n(394),d=n(66896),h=n(19892),p=[i.Z,a.Z,o.Z,s.Z,l.Z,c.Z,u.Z,d.Z,h.Z],f=(0,r.kZ)({defaultModifiers:p})},72581:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(6206),i=n(14943),a=n(11516),o=n(87701);function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?(0,r.Z)(l):null,u=l?(0,i.Z)(l):null,d=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(c){case o.we:t={x:d,y:n.y-s.height};break;case o.I:t={x:d,y:n.y+n.height};break;case o.F2:t={x:n.x+n.width,y:h};break;case o.t$:t={x:n.x-s.width,y:h};break;default:t={x:n.x,y:n.y}}var p=c?(0,a.Z)(c):null;if(null!=p){var f="y"===p?"height":"width";switch(u){case o.BL:t[p]=t[p]-(n[f]/2-s[f]/2);break;case o.ut:t[p]=t[p]+(n[f]/2-s[f]/2);break;default:}}return t}},6486:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(87701),i=n(62057),a=n(67252),o=n(4063),s=n(67977);function l(e,t){var n=(0,i.Z)(e),r=(0,a.Z)(e),l=n.visualViewport,c=r.clientWidth,u=r.clientHeight,d=0,h=0;if(l){c=l.width,u=l.height;var p=(0,s.Z)();(p||!p&&"fixed"===t)&&(d=l.offsetLeft,h=l.offsetTop)}return{width:c,height:u,x:d+(0,o.Z)(e),y:h}}var c=n(43062),u=n(82163),d=n(138);function h(e){var t,n=(0,a.Z)(e),r=(0,u.Z)(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=(0,d.Fp)(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),l=(0,d.Fp)(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),h=-r.scrollLeft+(0,o.Z)(e),p=-r.scrollTop;return"rtl"===(0,c.Z)(i||n).direction&&(h+=(0,d.Fp)(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:l,x:h,y:p}}var p=n(31492),f=n(98552),g=n(62556),m=n(50400),v=n(95923),y=n(94985),b=n(96333);function x(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function w(e,t){var n=(0,m.Z)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function S(e,t,n){return t===r.Pj?x(l(e,n)):(0,g.kK)(t)?w(t,n):x(h((0,a.Z)(e)))}function k(e){var t=(0,p.Z)((0,v.Z)(e)),n=["absolute","fixed"].indexOf((0,c.Z)(e).position)>=0,r=n&&(0,g.Re)(e)?(0,f.Z)(e):e;return(0,g.kK)(r)?t.filter((function(e){return(0,g.kK)(e)&&(0,y.Z)(e,r)&&"body"!==(0,b.Z)(e)})):[]}function _(e,t,n,r){var i="clippingParents"===t?k(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce((function(t,n){var i=S(e,n,r);return t.top=(0,d.Fp)(i.top,t.top),t.right=(0,d.VV)(i.right,t.right),t.bottom=(0,d.VV)(i.bottom,t.bottom),t.left=(0,d.Fp)(i.left,t.left),t}),S(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var C=n(72581),E=n(63293),A=n(33706);function I(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,s=n.strategy,l=void 0===s?e.strategy:s,c=n.boundary,u=void 0===c?r.zV:c,d=n.rootBoundary,h=void 0===d?r.Pj:d,p=n.elementContext,f=void 0===p?r.k5:p,v=n.altBoundary,y=void 0!==v&&v,b=n.padding,w=void 0===b?0:b,S=(0,E.Z)("number"!==typeof w?w:(0,A.Z)(w,r.mv)),k=f===r.k5?r.YP:r.k5,I=e.rects.popper,T=e.elements[y?k:f],O=_((0,g.kK)(T)?T:T.contextElement||(0,a.Z)(e.elements.popper),u,h,l),N=(0,m.Z)(e.elements.reference),D=(0,C.Z)({reference:N,element:I,strategy:"absolute",placement:o}),L=x(Object.assign({},I,D)),P=f===r.k5?L:N,F={top:O.top-P.top+S.top,bottom:P.bottom-O.bottom+S.bottom,left:O.left-P.left+S.left,right:P.right-O.right+S.right},U=e.modifiersData.offset;if(f===r.k5&&U){var M=U[o];Object.keys(F).forEach((function(e){var t=[r.F2,r.I].indexOf(e)>=0?1:-1,n=[r.we,r.I].indexOf(e)>=0?"y":"x";F[e]+=M[n]*t}))}return F}},33706:function(e,t,n){"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:function(){return r}})},6206:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:function(){return r}})},23607:function(e,t,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:function(){return r}})},11516:function(e,t,n){"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:function(){return r}})},14943:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:function(){return r}})},138:function(e,t,n){"use strict";n.d(t,{Fp:function(){return r},NM:function(){return a},VV:function(){return i}});var r=Math.max,i=Math.min,a=Math.round},63293:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(23607);function i(e){return Object.assign({},(0,r.Z)(),e)}},85918:function(e,t,n){"use strict";function r(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,{Z:function(){return r}})},57516:function(e,t,n){"use strict";n.d(t,{q:function(){return a},u:function(){return i}});var r=n(138);function i(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}function a(e,t,n){var r=i(e,t,n);return r>n?n:r}},2262:function(e,t,n){"use strict";n.d(t,{$y:function(){return Pe},B:function(){return o},BK:function(){return et},Bj:function(){return a},EB:function(){return c},Fl:function(){return at},IU:function(){return Me},Jd:function(){return I},OT:function(){return Oe},PG:function(){return Le},SU:function(){return Ge},Um:function(){return Te},Vh:function(){return nt},WL:function(){return Ke},X$:function(){return D},X3:function(){return Ue},XI:function(){return $e},Xl:function(){return Re},YS:function(){return Ne},ZM:function(){return Qe},cE:function(){return _},dq:function(){return Be},iH:function(){return We},j:function(){return O},lk:function(){return T},nZ:function(){return l},oR:function(){return Ze},qj:function(){return Ie},qq:function(){return S},sT:function(){return C},yT:function(){return Fe}});var r=n(3577);let i;class a{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=i,!e&&i&&(this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(e){if(this.active){const t=i;try{return i=this,e()}finally{i=t}}else 0}on(){i=this}off(){i=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},d=e=>(e.w&v)>0,h=e=>(e.n&v)>0,p=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(s.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&l.push(s.get("length")):(l.push(s.get(x)),(0,r._N)(e)&&l.push(s.get(w)));break;case"delete":(0,r.kJ)(e)||(l.push(s.get(x)),(0,r._N)(e)&&l.push(s.get(w)));break;case"set":(0,r._N)(e)&&l.push(s.get(x));break}if(1===l.length)l[0]&&L(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);L(u(e))}}function L(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&P(r,t);for(const r of n)r.computed||P(r,t)}function P(e,t){(e!==b||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const F=(0,r.fY)("__proto__,__v_isRef,__isVue"),U=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),M=B(),R=B(!1,!0),j=B(!0),V=B(!0,!0),z=H();function H(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Me(this);for(let t=0,i=this.length;t{e[t]=function(...e){I();const n=Me(this)[t].apply(this,e);return T(),n}})),e}function B(e=!1,t=!1){return function(n,i,a){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_isShallow"===i)return t;if("__v_raw"===i&&a===(e?t?Ce:_e:t?ke:Se).get(n))return n;const o=(0,r.kJ)(n);if(!e&&o&&(0,r.RI)(z,i))return Reflect.get(z,i,a);const s=Reflect.get(n,i,a);return((0,r.yk)(i)?U.has(i):F(i))?s:(e||O(n,"get",i),t?s:Be(s)?o&&(0,r.S0)(i)?s:s.value:(0,r.Kn)(s)?e?Oe(s):Ie(s):s)}}const W=q(),$=q(!0);function q(e=!1){return function(t,n,i,a){let o=t[n];if(Pe(o)&&Be(o)&&!Be(i))return!1;if(!e&&(Fe(i)||Pe(i)||(o=Me(o),i=Me(i)),!(0,r.kJ)(t)&&Be(o)&&!Be(i)))return o.value=i,!0;const s=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)e,te=e=>Reflect.getPrototypeOf(e);function ne(e,t,n=!1,r=!1){e=e["__v_raw"];const i=Me(e),a=Me(t);n||(t!==a&&O(i,"get",t),O(i,"get",a));const{has:o}=te(i),s=r?ee:n?Ve:je;return o.call(i,t)?s(e.get(t)):o.call(i,a)?s(e.get(a)):void(e!==i&&e.get(t))}function re(e,t=!1){const n=this["__v_raw"],r=Me(n),i=Me(e);return t||(e!==i&&O(r,"has",e),O(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ie(e,t=!1){return e=e["__v_raw"],!t&&O(Me(e),"iterate",x),Reflect.get(e,"size",e)}function ae(e){e=Me(e);const t=Me(this),n=te(t),r=n.has.call(t,e);return r||(t.add(e),D(t,"add",e,e)),this}function oe(e,t){t=Me(t);const n=Me(this),{has:i,get:a}=te(n);let o=i.call(n,e);o||(e=Me(e),o=i.call(n,e));const s=a.call(n,e);return n.set(e,t),o?(0,r.aU)(t,s)&&D(n,"set",e,t,s):D(n,"add",e,t),this}function se(e){const t=Me(this),{has:n,get:r}=te(t);let i=n.call(t,e);i||(e=Me(e),i=n.call(t,e));const a=r?r.call(t,e):void 0,o=t.delete(e);return i&&D(t,"delete",e,void 0,a),o}function le(){const e=Me(this),t=0!==e.size,n=void 0,r=e.clear();return t&&D(e,"clear",void 0,void 0,n),r}function ce(e,t){return function(n,r){const i=this,a=i["__v_raw"],o=Me(a),s=t?ee:e?Ve:je;return!e&&O(o,"iterate",x),a.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function ue(e,t,n){return function(...i){const a=this["__v_raw"],o=Me(a),s=(0,r._N)(o),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=a[e](...i),d=n?ee:t?Ve:je;return!t&&O(o,"iterate",c?w:x),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function de(e){return function(...t){return"delete"!==e&&this}}function he(){const e={get(e){return ne(this,e)},get size(){return ie(this)},has:re,add:ae,set:oe,delete:se,clear:le,forEach:ce(!1,!1)},t={get(e){return ne(this,e,!1,!0)},get size(){return ie(this)},has:re,add:ae,set:oe,delete:se,clear:le,forEach:ce(!1,!0)},n={get(e){return ne(this,e,!0)},get size(){return ie(this,!0)},has(e){return re.call(this,e,!0)},add:de("add"),set:de("set"),delete:de("delete"),clear:de("clear"),forEach:ce(!0,!1)},r={get(e){return ne(this,e,!0,!0)},get size(){return ie(this,!0)},has(e){return re.call(this,e,!0)},add:de("add"),set:de("set"),delete:de("delete"),clear:de("clear"),forEach:ce(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach((i=>{e[i]=ue(i,!1,!1),n[i]=ue(i,!0,!1),t[i]=ue(i,!1,!0),r[i]=ue(i,!0,!0)})),[e,n,t,r]}const[pe,fe,ge,me]=he();function ve(e,t){const n=t?e?me:ge:e?fe:pe;return(t,i,a)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get((0,r.RI)(n,i)&&i in t?n:t,i,a)}const ye={get:ve(!1,!1)},be={get:ve(!1,!0)},xe={get:ve(!0,!1)},we={get:ve(!0,!0)};const Se=new WeakMap,ke=new WeakMap,_e=new WeakMap,Ce=new WeakMap;function Ee(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ae(e){return e["__v_skip"]||!Object.isExtensible(e)?0:Ee((0,r.W7)(e))}function Ie(e){return Pe(e)?e:De(e,!1,X,ye,Se)}function Te(e){return De(e,!1,J,be,ke)}function Oe(e){return De(e,!0,K,xe,_e)}function Ne(e){return De(e,!0,Q,we,Ce)}function De(e,t,n,i,a){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const o=a.get(e);if(o)return o;const s=Ae(e);if(0===s)return e;const l=new Proxy(e,2===s?i:n);return a.set(e,l),l}function Le(e){return Pe(e)?Le(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Pe(e){return!(!e||!e["__v_isReadonly"])}function Fe(e){return!(!e||!e["__v_isShallow"])}function Ue(e){return Le(e)||Pe(e)}function Me(e){const t=e&&e["__v_raw"];return t?Me(t):e}function Re(e){return(0,r.Nj)(e,"__v_skip",!0),e}const je=e=>(0,r.Kn)(e)?Ie(e):e,Ve=e=>(0,r.Kn)(e)?Oe(e):e;function ze(e){E&&b&&(e=Me(e),N(e.dep||(e.dep=u())))}function He(e,t){e=Me(e),e.dep&&L(e.dep)}function Be(e){return!(!e||!0!==e.__v_isRef)}function We(e){return qe(e,!1)}function $e(e){return qe(e,!0)}function qe(e,t){return Be(e)?e:new Ye(e,t)}class Ye{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Me(e),this._value=t?e:je(e)}get value(){return ze(this),this._value}set value(e){const t=this.__v_isShallow||Fe(e)||Pe(e);e=t?e:Me(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:je(e),He(this,e))}}function Ze(e){He(e,void 0)}function Ge(e){return Be(e)?e.value:e}const Xe={get:(e,t,n)=>Ge(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Be(i)&&!Be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ke(e){return Le(e)?e:new Proxy(e,Xe)}class Je{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>ze(this)),(()=>He(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Qe(e){return new Je(e)}function et(e){const t=(0,r.kJ)(e)?new Array(e.length):{};for(const n in e)t[n]=nt(e,n);return t}class tt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function nt(e,t,n){const r=e[t];return Be(r)?r:new tt(e,t,n)}var rt;class it{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[rt]=!1,this._dirty=!0,this.effect=new S(e,(()=>{this._dirty||(this._dirty=!0,He(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Me(this);return ze(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function at(e,t,n=!1){let i,a;const o=(0,r.mf)(e);o?(i=e,a=r.dG):(i=e.get,a=e.set);const s=new it(i,a,o||!a,n);return s}rt="__v_isReadonly"},66252:function(e,t,n){"use strict";n.d(t,{$d:function(){return s},$y:function(){return r.$y},Ah:function(){return Ke},B:function(){return r.B},BK:function(){return r.BK},Bj:function(){return r.Bj},Bz:function(){return Ar},C3:function(){return Vn},C_:function(){return i.C_},Cn:function(){return z},EB:function(){return r.EB},Eo:function(){return un},F4:function(){return Yn},FN:function(){return sr},Fl:function(){return Cr},G:function(){return Wr},HX:function(){return H},HY:function(){return _n},Ho:function(){return Zn},IU:function(){return r.IU},JJ:function(){return ce},Jd:function(){return Xe},KU:function(){return o},Ko:function(){return ht},LL:function(){return lt},MW:function(){return Er},MX:function(){return Vr},Mr:function(){return jr},Nv:function(){return pt},OT:function(){return r.OT},Ob:function(){return Ue},P$:function(){return ke},PG:function(){return r.PG},Q2:function(){return ct},Q6:function(){return Te},RC:function(){return De},Rh:function(){return he},Rr:function(){return Or},S3:function(){return l},SU:function(){return r.SU},U2:function(){return Ce},Uc:function(){return Mr},Uk:function(){return Gn},Um:function(){return r.Um},Us:function(){return cn},Vh:function(){return r.Vh},WI:function(){return ft},WL:function(){return r.WL},WY:function(){return Ir},Wm:function(){return $n},X3:function(){return r.X3},XI:function(){return r.XI},Xl:function(){return r.Xl},Xn:function(){return Ze},Y1:function(){return vr},Y3:function(){return b},Y8:function(){return xe},YP:function(){return ge},YS:function(){return r.YS},Yq:function(){return Qe},ZK:function(){return a},ZM:function(){return r.ZM},Zq:function(){return Rr},_:function(){return Wn},_A:function(){return i._A},aZ:function(){return Oe},b9:function(){return Tr},bT:function(){return et},bv:function(){return Ye},cE:function(){return r.cE},d1:function(){return tt},dD:function(){return V},dG:function(){return tr},dl:function(){return Re},dq:function(){return r.dq},ec:function(){return L},eq:function(){return $r},f3:function(){return ue},h:function(){return Ur},hR:function(){return i.hR},i8:function(){return Hr},iD:function(){return Un},iH:function(){return r.iH},ic:function(){return Ge},j4:function(){return Mn},j5:function(){return i.j5},kC:function(){return i.kC},kq:function(){return Kn},l1:function(){return Nr},lA:function(){return Rn},lR:function(){return Sn},m0:function(){return de},mW:function(){return O},mv:function(){return Fr},mx:function(){return mt},n4:function(){return Q},nK:function(){return Ie},nQ:function(){return zr},nZ:function(){return r.nZ},oR:function(){return r.oR},of:function(){return yr},p1:function(){return Pr},qG:function(){return An},qZ:function(){return Pn},qb:function(){return _},qj:function(){return r.qj},qq:function(){return r.qq},ry:function(){return qr},sT:function(){return r.sT},se:function(){return je},sv:function(){return En},uE:function(){return Xn},u_:function(){return Lr},up:function(){return ot},vl:function(){return Je},vs:function(){return i.vs},w5:function(){return B},wF:function(){return qe},wg:function(){return On},wy:function(){return nt},xv:function(){return Cn},yT:function(){return r.yT},yX:function(){return pe},zw:function(){return i.zw}});var r=n(2262),i=n(3577);function a(e,...t){}function o(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){l(a,t,n)}return i}function s(e,t,n,r){if((0,i.mf)(e)){const a=o(e,t,n,r);return a&&(0,i.tI)(a)&&a.catch((e=>{l(e,t,n)})),a}const a=[];for(let i=0;i>>1,i=A(h[r]);ip&&h.splice(t,1)}function _(e){(0,i.kJ)(e)?f.push(...e):g&&g.includes(e,e.allowRecurse?m+1:m)||f.push(e),S()}function C(e,t=(u?p+1:0)){for(0;tA(e)-A(t))),m=0;mnull==e.id?1/0:e.id,I=(e,t)=>{const n=A(e)-A(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function T(e){d=!1,u=!0,h.sort(I);i.dG;try{for(p=0;pO.emit(e,...t))),N=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){const e=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];e.push((e=>{L(e,t)})),setTimeout((()=>{O||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,D=!0,N=[])}),3e3)}else D=!0,N=[]}function P(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||i.kT;let a=n;const o=t.startsWith("update:"),l=o&&t.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:o}=r[e]||i.kT;o&&(a=n.map((e=>(0,i.HD)(e)?e.trim():e))),t&&(a=n.map(i.He))}let c;let u=r[c=(0,i.hR)(t)]||r[c=(0,i.hR)((0,i._A)(t))];!u&&o&&(u=r[c=(0,i.hR)((0,i.rs)(t))]),u&&s(u,e,6,a);const d=r[c+"Once"];if(d){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,s(d,e,6,a)}}function F(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(void 0!==a)return a;const o=e.emits;let s={},l=!1;if(!(0,i.mf)(e)){const r=e=>{const n=F(e,t,!0);n&&(l=!0,(0,i.l7)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||l?((0,i.kJ)(o)?o.forEach((e=>s[e]=null)):(0,i.l7)(s,o),(0,i.Kn)(e)&&r.set(e,s),s):((0,i.Kn)(e)&&r.set(e,null),null)}function U(e,t){return!(!e||!(0,i.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,i.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,i.RI)(e,(0,i.rs)(t))||(0,i.RI)(e,t))}let M=null,R=null;function j(e){const t=M;return M=e,R=e&&e.type.__scopeId||null,t}function V(e){R=e}function z(){R=null}const H=e=>B;function B(e,t=M,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Pn(-1);const i=j(t);let a;try{a=e(...n)}finally{j(i),r._d&&Pn(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function W(e){const{type:t,vnode:n,proxy:r,withProxy:a,props:o,propsOptions:[s],slots:c,attrs:u,emit:d,render:h,renderCache:p,data:f,setupState:g,ctx:m,inheritAttrs:v}=e;let y,b;const x=j(e);try{if(4&n.shapeFlag){const e=a||r;y=Jn(h.call(e,e,p,o,g,f,m)),b=u}else{const e=t;0,y=Jn(e.length>1?e(o,{attrs:u,slots:c,emit:d}):e(o,null)),b=t.props?u:q(u)}}catch(S){In.length=0,l(S,e,1),y=$n(En)}let w=y;if(b&&!1!==v){const e=Object.keys(b),{shapeFlag:t}=w;e.length&&7&t&&(s&&e.some(i.tR)&&(b=Y(b,s)),w=Zn(w,b))}return n.dirs&&(w=Zn(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),y=w,j(x),y}function $(e){let t;for(let n=0;n{let t;for(const n in e)("class"===n||"style"===n||(0,i.F7)(n))&&((t||(t={}))[n]=e[n]);return t},Y=(e,t)=>{const n={};for(const r in e)(0,i.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Z(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==o&&(r?!o||G(r,o,c):!!o);if(1024&l)return!0;if(16&l)return r?G(r,o,c):!!o;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense,J={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,o,s,l,c){null==e?te(t,n,r,i,a,o,s,l,c):ne(e,t,n,r,i,o,s,l,c)},hydrate:ie,create:re,normalize:ae},Q=J;function ee(e,t){const n=e.props&&e.props[t];(0,i.mf)(n)&&n()}function te(e,t,n,r,i,a,o,s,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=re(e,i,r,t,d,n,a,o,s,l);c(null,h.pendingBranch=e.ssContent,d,null,r,h,a,o),h.deps>0?(ee(e,"onPending"),ee(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,a,o),le(h,e.ssFallback)):h.resolve()}function ne(e,t,n,r,i,a,o,s,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const h=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:m,isHydrating:v}=d;if(g)d.pendingBranch=h,jn(h,g)?(l(g,h,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():m&&(l(f,p,n,r,i,null,a,o,s),le(d,p))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=g):c(g,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),m?(l(null,h,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(l(f,p,n,r,i,null,a,o,s),le(d,p))):f&&jn(h,f)?(l(f,h,n,r,i,d,a,o,s),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(f&&jn(h,f))l(f,h,n,r,i,d,a,o,s),le(d,h);else if(ee(t,"onPending"),d.pendingBranch=h,d.pendingId++,l(null,h,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(p)}),e):0===e&&d.fallback(p)}}function re(e,t,n,r,a,o,s,c,u,d,h=!1){const{p:p,m:f,um:g,n:m,o:{parentNode:v,remove:y}}=d,b=(0,i.He)(e.props&&e.props.timeout),x={vnode:e,parent:t,parentComponent:n,isSVG:s,container:r,hiddenContainer:a,anchor:o,deps:0,pendingId:0,timeout:"number"===typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:h,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:i,effects:a,parentComponent:o,container:s}=x;if(x.isHydrating)x.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{i===x.pendingId&&f(r,s,t,0)});let{anchor:t}=x;n&&(t=m(n),g(n,o,x,!0)),e||f(r,s,t,0)}le(x,r),x.pendingBranch=null,x.isInFallback=!1;let l=x.parent,c=!1;while(l){if(l.pendingBranch){l.effects.push(...a),c=!0;break}l=l.parent}c||_(a),x.effects=[],ee(t,"onResolve")},fallback(e){if(!x.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:i,isSVG:a}=x;ee(t,"onFallback");const o=m(n),s=()=>{x.isInFallback&&(p(null,e,i,o,r,null,a,c,u),le(x,e))},l=e.transition&&"out-in"===e.transition.mode;l&&(n.transition.afterLeave=s),x.isInFallback=!0,g(n,r,null,!0),l||s()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t){const n=!!x.pendingBranch;n&&x.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{l(t,e,0)})).then((i=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;mr(e,i,!1),r&&(a.el=r);const o=!r&&e.subTree.el;t(e,a,v(r||e.subTree.el),r?null:m(e.subTree),x,s,u),o&&y(o),X(e,a.el),n&&0===--x.deps&&x.resolve()}))},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&g(x.activeBranch,n,e,t),x.pendingBranch&&g(x.pendingBranch,n,e,t)}};return x}function ie(e,t,n,r,i,a,o,s,l){const c=t.suspense=re(t,r,n,e.parentNode,document.createElement("div"),null,i,a,o,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,a,o);return 0===c.deps&&c.resolve(),u}function ae(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=oe(r?n.default:n),e.ssFallback=r?oe(n.fallback):$n(En)}function oe(e){let t;if((0,i.mf)(e)){const n=Ln&&e._c;n&&(e._d=!1,On()),e=e(),n&&(e._d=!0,t=Tn,Nn())}if((0,i.kJ)(e)){const t=$(e);0,e=t}return e=Jn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function se(e,t){t&&t.pendingBranch?(0,i.kJ)(e)?t.effects.push(...e):t.effects.push(e):_(e)}function le(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,X(r,i))}function ce(e,t){if(or){let n=or.provides;const r=or.parent&&or.parent.provides;r===n&&(n=or.provides=Object.create(r)),n[e]=t}else 0}function ue(e,t,n=!1){const r=or||M;if(r){const a=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&(0,i.mf)(t)?t.call(r.proxy):t}else 0}function de(e,t){return me(e,null,t)}function he(e,t){return me(e,null,{flush:"post"})}function pe(e,t){return me(e,null,{flush:"sync"})}const fe={};function ge(e,t,n){return me(e,t,n)}function me(e,t,{immediate:n,deep:a,flush:l,onTrack:c,onTrigger:u}=i.kT){const d=or;let h,p,f=!1,g=!1;if((0,r.dq)(e)?(h=()=>e.value,f=(0,r.yT)(e)):(0,r.PG)(e)?(h=()=>e,a=!0):(0,i.kJ)(e)?(g=!0,f=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),h=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?be(e):(0,i.mf)(e)?o(e,d,2):void 0))):h=(0,i.mf)(e)?t?()=>o(e,d,2):()=>{if(!d||!d.isUnmounted)return p&&p(),s(e,d,3,[v])}:i.dG,t&&a){const e=h;h=()=>be(e())}let m,v=e=>{p=S.onStop=()=>{o(e,d,4)}};if(pr){if(v=i.dG,t?n&&s(t,d,3,[h(),g?[]:void 0,v]):h(),"sync"!==l)return i.dG;{const e=Rr();m=e.__watcherHandles||(e.__watcherHandles=[])}}let y=g?new Array(e.length).fill(fe):fe;const b=()=>{if(S.active)if(t){const e=S.run();(a||f||(g?e.some(((e,t)=>(0,i.aU)(e,y[t]))):(0,i.aU)(e,y)))&&(p&&p(),s(t,d,3,[e,y===fe?void 0:g&&y[0]===fe?[]:y,v]),y=e)}else S.run()};let x;b.allowRecurse=!!t,"sync"===l?x=b:"post"===l?x=()=>ln(b,d&&d.suspense):(b.pre=!0,d&&(b.id=d.uid),x=()=>w(b));const S=new r.qq(h,x);t?n?b():y=S.run():"post"===l?ln(S.run.bind(S),d&&d.suspense):S.run();const k=()=>{S.stop(),d&&d.scope&&(0,i.Od)(d.scope.effects,S)};return m&&m.push(k),k}function ve(e,t,n){const r=this.proxy,a=(0,i.HD)(e)?e.includes(".")?ye(r,e):()=>r[e]:e.bind(r,r);let o;(0,i.mf)(t)?o=t:(o=t.handler,n=t);const s=or;lr(this);const l=me(a,o.bind(r),n);return s?lr(s):cr(),l}function ye(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{be(e,t)}));else if((0,i.PO)(e))for(const n in e)be(e[n],t);return e}function xe(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ye((()=>{e.isMounted=!0})),Xe((()=>{e.isUnmounting=!0})),e}const we=[Function,Array],Se={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},setup(e,{slots:t}){const n=sr(),i=xe();let a;return()=>{const o=t.default&&Te(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){let e=!1;for(const t of o)if(t.type!==En){0,s=t,e=!0;break}}const l=(0,r.IU)(e),{mode:c}=l;if(i.isLeaving)return Ee(s);const u=Ae(s);if(!u)return Ee(s);const d=Ce(u,l,i,n);Ie(u,d);const h=n.subTree,p=h&&Ae(h);let f=!1;const{getTransitionKey:g}=u.type;if(g){const e=g();void 0===a?a=e:e!==a&&(a=e,f=!0)}if(p&&p.type!==En&&(!jn(u,p)||f)){const e=Ce(p,l,i,n);if(Ie(p,e),"out-in"===c)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},Ee(s);"in-out"===c&&u.type!==En&&(e.delayLeave=(e,t,n)=>{const r=_e(i,p);r[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=n})}return s}}},ke=Se;function _e(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ce(e,t,n,r){const{appear:a,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:p,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:x}=t,w=String(e.key),S=_e(n,e),k=(e,t)=>{e&&s(e,r,9,t)},_=(e,t)=>{const n=t[1];k(e,t),(0,i.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:o,persisted:l,beforeEnter(t){let r=c;if(!n.isMounted){if(!a)return;r=v||c}t._leaveCb&&t._leaveCb(!0);const i=S[w];i&&jn(e,i)&&i.el._leaveCb&&i.el._leaveCb(),k(r,[t])},enter(e){let t=u,r=d,i=h;if(!n.isMounted){if(!a)return;t=y||u,r=b||d,i=x||h}let o=!1;const s=e._enterCb=t=>{o||(o=!0,k(t?i:r,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?_(t,[e,s]):s()},leave(t,r){const i=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();k(p,[t]);let a=!1;const o=t._leaveCb=n=>{a||(a=!0,r(),k(n?m:g,[t]),t._leaveCb=void 0,S[i]===e&&delete S[i])};S[i]=e,f?_(f,[t,o]):o()},clone(e){return Ce(e,t,n,r)}};return C}function Ee(e){if(Pe(e))return e=Zn(e),e.children=null,e}function Ae(e){return Pe(e)?e.children?e.children[0]:void 0:e}function Ie(e,t){6&e.shapeFlag&&e.component?Ie(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Te(e,t=!1,n){let r=[],i=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;function De(e){(0,i.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:a,delay:o=200,timeout:s,suspensible:c=!0,onError:u}=e;let d,h=null,p=0;const f=()=>(p++,h=null,g()),g=()=>{let e;return h||(e=h=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=>{const r=()=>t(f()),i=()=>n(e);u(e,r,i,p+1)}));throw e})).then((t=>e!==h&&h?h:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),d=t,t))))};return Oe({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return d},setup(){const e=or;if(d)return()=>Le(d,e);const t=t=>{h=null,l(t,e,13,!a)};if(c&&e.suspense||pr)return g().then((t=>()=>Le(t,e))).catch((e=>(t(e),()=>a?$n(a,{error:e}):null)));const i=(0,r.iH)(!1),u=(0,r.iH)(),p=(0,r.iH)(!!o);return o&&setTimeout((()=>{p.value=!1}),o),null!=s&&setTimeout((()=>{if(!i.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),g().then((()=>{i.value=!0,e.parent&&Pe(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>i.value&&d?Le(d,e):u.value&&a?$n(a,{error:u.value}):n&&!p.value?$n(n):void 0}})}function Le(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,o=$n(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}const Pe=e=>e.type.__isKeepAlive,Fe={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=sr(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const a=new Map,o=new Set;let s=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:h}}}=r,p=h("div");function f(e){He(e),d(e,n,l,!0)}function g(e){a.forEach(((t,n)=>{const r=kr(t.type);!r||e&&e(r)||m(n)}))}function m(e){const t=a.get(e);s&&t.type===s.type?s&&He(s):f(t),a.delete(e),o.delete(e)}r.activate=(e,t,n,r,a)=>{const o=e.component;u(e,t,n,0,l),c(o.vnode,e,t,n,o,l,r,e.slotScopeIds,a),ln((()=>{o.isDeactivated=!1,o.a&&(0,i.ir)(o.a);const t=e.props&&e.props.onVnodeMounted;t&&nr(t,o.parent,e)}),l)},r.deactivate=e=>{const t=e.component;u(e,p,null,1,l),ln((()=>{t.da&&(0,i.ir)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&nr(n,t.parent,e),t.isDeactivated=!0}),l)},ge((()=>[e.include,e.exclude]),(([e,t])=>{e&&g((t=>Me(e,t))),t&&g((e=>!Me(t,e)))}),{flush:"post",deep:!0});let v=null;const y=()=>{null!=v&&a.set(v,Be(n.subTree))};return Ye(y),Ge(y),Xe((()=>{a.forEach((e=>{const{subTree:t,suspense:r}=n,i=Be(t);if(e.type!==i.type)f(e);else{He(i);const e=i.component.da;e&&ln(e,r)}}))})),()=>{if(v=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!Rn(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return s=null,r;let i=Be(r);const l=i.type,c=kr(Ne(i)?i.type.__asyncResolved||{}:l),{include:u,exclude:d,max:h}=e;if(u&&(!c||!Me(u,c))||d&&c&&Me(d,c))return s=i,r;const p=null==i.key?l:i.key,f=a.get(p);return i.el&&(i=Zn(i),128&r.shapeFlag&&(r.ssContent=i)),v=p,f?(i.el=f.el,i.component=f.component,i.transition&&Ie(i,i.transition),i.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),h&&o.size>parseInt(h,10)&&m(o.values().next().value)),i.shapeFlag|=256,s=i,K(r.type)?r:i}}},Ue=Fe;function Me(e,t){return(0,i.kJ)(e)?e.some((e=>Me(e,t))):(0,i.HD)(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Re(e,t){Ve(e,"a",t)}function je(e,t){Ve(e,"da",t)}function Ve(e,t,n=or){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(We(t,r,n),n){let e=n.parent;while(e&&e.parent)Pe(e.parent.vnode)&&ze(r,t,n,e),e=e.parent}}function ze(e,t,n,r){const a=We(t,e,r,!0);Ke((()=>{(0,i.Od)(r[t],a)}),n)}function He(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Be(e){return 128&e.shapeFlag?e.ssContent:e}function We(e,t,n=or,i=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;(0,r.Jd)(),lr(n);const a=s(t,n,e,i);return cr(),(0,r.lk)(),a});return i?a.unshift(o):a.push(o),o}}const $e=e=>(t,n=or)=>(!pr||"sp"===e)&&We(e,((...e)=>t(...e)),n),qe=$e("bm"),Ye=$e("m"),Ze=$e("bu"),Ge=$e("u"),Xe=$e("bum"),Ke=$e("um"),Je=$e("sp"),Qe=$e("rtg"),et=$e("rtc");function tt(e,t=or){We("ec",e,t)}function nt(e,t){const n=M;if(null===n)return e;const r=Sr(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let o=0;ot(e,n,void 0,o&&o[n])));else{const n=Object.keys(e);a=new Array(n.length);for(let r=0,i=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function ft(e,t,n={},r,i){if(M.isCE||M.parent&&Ne(M.parent)&&M.parent.isCE)return"default"!==t&&(n.name=t),$n("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),On();const o=a&>(a(n)),s=Mn(_n,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&1===e._?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function gt(e){return e.some((e=>!Rn(e)||e.type!==En&&!(e.type===_n&&!gt(e.children))))?e:null}function mt(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:(0,i.hR)(r)]=e[r];return n}const vt=e=>e?ur(e)?Sr(e)||e.proxy:vt(e.parent):null,yt=(0,i.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vt(e.parent),$root:e=>vt(e.root),$emit:e=>e.emit,$options:e=>At(e),$forceUpdate:e=>e.f||(e.f=()=>w(e.update)),$nextTick:e=>e.n||(e.n=b.bind(e.proxy)),$watch:e=>ve.bind(e)}),bt=(e,t)=>e!==i.kT&&!e.__isScriptSetup&&(0,i.RI)(e,t),xt={get({_:e},t){const{ctx:n,setupState:a,data:o,props:s,accessCache:l,type:c,appContext:u}=e;let d;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return a[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bt(a,t))return l[t]=1,a[t];if(o!==i.kT&&(0,i.RI)(o,t))return l[t]=2,o[t];if((d=e.propsOptions[0])&&(0,i.RI)(d,t))return l[t]=3,s[t];if(n!==i.kT&&(0,i.RI)(n,t))return l[t]=4,n[t];St&&(l[t]=0)}}const h=yt[t];let p,f;return h?("$attrs"===t&&(0,r.j)(e,"get",t),h(e)):(p=c.__cssModules)&&(p=p[t])?p:n!==i.kT&&(0,i.RI)(n,t)?(l[t]=4,n[t]):(f=u.config.globalProperties,(0,i.RI)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:a,ctx:o}=e;return bt(a,t)?(a[t]=n,!0):r!==i.kT&&(0,i.RI)(r,t)?(r[t]=n,!0):!(0,i.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(o[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:o}},s){let l;return!!n[s]||e!==i.kT&&(0,i.RI)(e,s)||bt(t,s)||(l=o[0])&&(0,i.RI)(l,s)||(0,i.RI)(r,s)||(0,i.RI)(yt,s)||(0,i.RI)(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,i.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const wt=(0,i.l7)({},xt,{get(e,t){if(t!==Symbol.unscopables)return xt.get(e,t,e)},has(e,t){const n="_"!==t[0]&&!(0,i.e1)(t);return n}});let St=!0;function kt(e){const t=At(e),n=e.proxy,a=e.ctx;St=!1,t.beforeCreate&&Ct(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:c,provide:u,inject:d,created:h,beforeMount:p,mounted:f,beforeUpdate:g,updated:m,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:x,destroyed:w,unmounted:S,render:k,renderTracked:_,renderTriggered:C,errorCaptured:E,serverPrefetch:A,expose:I,inheritAttrs:T,components:O,directives:N,filters:D}=t,L=null;if(d&&_t(d,a,L,e.appContext.config.unwrapInjectedRef),l)for(const r in l){const e=l[r];(0,i.mf)(e)&&(a[r]=e.bind(n))}if(o){0;const t=o.call(n,n);0,(0,i.Kn)(t)&&(e.data=(0,r.qj)(t))}if(St=!0,s)for(const r in s){const e=s[r],t=(0,i.mf)(e)?e.bind(n,n):(0,i.mf)(e.get)?e.get.bind(n,n):i.dG;0;const o=!(0,i.mf)(e)&&(0,i.mf)(e.set)?e.set.bind(n):i.dG,l=Cr({get:t,set:o});Object.defineProperty(a,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const r in c)Et(c[r],a,n,r);if(u){const e=(0,i.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{ce(t,e[t])}))}function P(e,t){(0,i.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(h&&Ct(h,e,"c"),P(qe,p),P(Ye,f),P(Ze,g),P(Ge,m),P(Re,v),P(je,y),P(tt,E),P(et,_),P(Qe,C),P(Xe,x),P(Ke,S),P(Je,A),(0,i.kJ)(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===i.dG&&(e.render=k),null!=T&&(e.inheritAttrs=T),O&&(e.components=O),N&&(e.directives=N)}function _t(e,t,n=i.dG,a=!1){(0,i.kJ)(e)&&(e=Dt(e));for(const o in e){const n=e[o];let s;s=(0,i.Kn)(n)?"default"in n?ue(n.from||o,n.default,!0):ue(n.from||o):ue(n),(0,r.dq)(s)&&a?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[o]=s}}function Ct(e,t,n){s((0,i.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Et(e,t,n,r){const a=r.includes(".")?ye(n,r):()=>n[r];if((0,i.HD)(e)){const n=t[e];(0,i.mf)(n)&&ge(a,n)}else if((0,i.mf)(e))ge(a,e.bind(n));else if((0,i.Kn)(e))if((0,i.kJ)(e))e.forEach((e=>Et(e,t,n,r)));else{const r=(0,i.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,i.mf)(r)&&ge(a,r,e)}else 0}function At(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let c;return l?c=l:a.length||n||r?(c={},a.length&&a.forEach((e=>It(c,e,s,!0))),It(c,t,s)):c=t,(0,i.Kn)(t)&&o.set(t,c),c}function It(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&It(e,a,n,!0),i&&i.forEach((t=>It(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=Tt[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Tt={data:Ot,props:Pt,emits:Pt,methods:Pt,computed:Pt,beforeCreate:Lt,created:Lt,beforeMount:Lt,mounted:Lt,beforeUpdate:Lt,updated:Lt,beforeDestroy:Lt,beforeUnmount:Lt,destroyed:Lt,unmounted:Lt,activated:Lt,deactivated:Lt,errorCaptured:Lt,serverPrefetch:Lt,components:Pt,directives:Pt,watch:Ft,provide:Ot,inject:Nt};function Ot(e,t){return t?e?function(){return(0,i.l7)((0,i.mf)(e)?e.call(this,this):e,(0,i.mf)(t)?t.call(this,this):t)}:t:e}function Nt(e,t){return Pt(Dt(e),Dt(t))}function Dt(e){if((0,i.kJ)(e)){const t={};for(let n=0;n0)||16&l){let r;Rt(e,t,o,s)&&(d=!0);for(const a in c)t&&((0,i.RI)(t,a)||(r=(0,i.rs)(a))!==a&&(0,i.RI)(t,r))||(u?!n||void 0===n[a]&&void 0===n[r]||(o[a]=jt(u,c,a,void 0,e,!0)):delete o[a]);if(s!==c)for(const e in s)t&&(0,i.RI)(t,e)||(delete s[e],d=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r{c=!0;const[n,r]=Vt(e,t,!0);(0,i.l7)(s,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!o&&!c)return(0,i.Kn)(e)&&r.set(e,i.Z6),i.Z6;if((0,i.kJ)(o))for(let d=0;d-1,r[1]=n<0||e-1||(0,i.RI)(r,"default"))&&l.push(t)}}}}const u=[s,l];return(0,i.Kn)(e)&&r.set(e,u),u}function zt(e){return"$"!==e[0]}function Ht(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Bt(e,t){return Ht(e)===Ht(t)}function Wt(e,t){return(0,i.kJ)(t)?t.findIndex((t=>Bt(t,e))):(0,i.mf)(t)&&Bt(t,e)?0:-1}const $t=e=>"_"===e[0]||"$stable"===e,qt=e=>(0,i.kJ)(e)?e.map(Jn):[Jn(e)],Yt=(e,t,n)=>{if(t._n)return t;const r=B(((...e)=>qt(t(...e))),n);return r._c=!1,r},Zt=(e,t,n)=>{const r=e._ctx;for(const a in e){if($t(a))continue;const n=e[a];if((0,i.mf)(n))t[a]=Yt(a,n,r);else if(null!=n){0;const e=qt(n);t[a]=()=>e}}},Gt=(e,t)=>{const n=qt(t);e.slots.default=()=>n},Xt=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,i.Nj)(t,"_",n)):Zt(t,e.slots={})}else e.slots={},t&&Gt(e,t);(0,i.Nj)(e.slots,zn,1)},Kt=(e,t,n)=>{const{vnode:r,slots:a}=e;let o=!0,s=i.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?o=!1:((0,i.l7)(a,t),n||1!==e||delete a._):(o=!t.$stable,Zt(t,a)),s=t}else t&&(Gt(e,t),s={default:1});if(o)for(const i in a)$t(i)||i in s||delete a[i]};function Jt(){return{app:null,config:{isNativeTag:i.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qt=0;function en(e,t){return function(n,r=null){(0,i.mf)(n)||(n=Object.assign({},n)),null==r||(0,i.Kn)(r)||(r=null);const a=Jt(),o=new Set;let s=!1;const l=a.app={_uid:Qt++,_component:n,_props:r,_container:null,_context:a,_instance:null,version:Hr,get config(){return a.config},set config(e){0},use(e,...t){return o.has(e)||(e&&(0,i.mf)(e.install)?(o.add(e),e.install(l,...t)):(0,i.mf)(e)&&(o.add(e),e(l,...t))),l},mixin(e){return a.mixins.includes(e)||a.mixins.push(e),l},component(e,t){return t?(a.components[e]=t,l):a.components[e]},directive(e,t){return t?(a.directives[e]=t,l):a.directives[e]},mount(i,o,c){if(!s){0;const u=$n(n,r);return u.appContext=a,o&&t?t(u,i):e(u,i,c),s=!0,l._container=i,i.__vue_app__=l,Sr(u.component)||u.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return a.provides[e]=t,l}};return l}}function tn(e,t,n,a,s=!1){if((0,i.kJ)(e))return void e.forEach(((e,r)=>tn(e,t&&((0,i.kJ)(t)?t[r]:t),n,a,s)));if(Ne(a)&&!s)return;const l=4&a.shapeFlag?Sr(a.component)||a.component.proxy:a.el,c=s?null:l,{i:u,r:d}=e;const h=t&&t.r,p=u.refs===i.kT?u.refs={}:u.refs,f=u.setupState;if(null!=h&&h!==d&&((0,i.HD)(h)?(p[h]=null,(0,i.RI)(f,h)&&(f[h]=null)):(0,r.dq)(h)&&(h.value=null)),(0,i.mf)(d))o(d,u,12,[c,p]);else{const t=(0,i.HD)(d),a=(0,r.dq)(d);if(t||a){const r=()=>{if(e.f){const n=t?(0,i.RI)(f,d)?f[d]:p[d]:d.value;s?(0,i.kJ)(n)&&(0,i.Od)(n,l):(0,i.kJ)(n)?n.includes(l)||n.push(l):t?(p[d]=[l],(0,i.RI)(f,d)&&(f[d]=p[d])):(d.value=[l],e.k&&(p[e.k]=d.value))}else t?(p[d]=c,(0,i.RI)(f,d)&&(f[d]=c)):a&&(d.value=c,e.k&&(p[e.k]=c))};c?(r.id=-1,ln(r,n)):r()}else 0}}let nn=!1;const rn=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,an=e=>8===e.nodeType;function on(e){const{mt:t,p:n,o:{patchProp:r,createText:a,nextSibling:o,parentNode:s,remove:l,insert:c,createComment:u}}=e,d=(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),E(),void(t._vnode=e);nn=!1,h(t.firstChild,e,null,null,null),E(),t._vnode=e,nn&&console.error("Hydration completed but contains mismatches.")},h=(n,r,i,l,u,d=!1)=>{const y=an(n)&&"["===n.data,b=()=>m(n,r,i,l,u,y),{type:x,ref:w,shapeFlag:S,patchFlag:k}=r;let _=n.nodeType;r.el=n,-2===k&&(d=!1,r.dynamicChildren=null);let C=null;switch(x){case Cn:3!==_?""===r.children?(c(r.el=a(""),s(n),n),C=n):C=b():(n.data!==r.children&&(nn=!0,n.data=r.children),C=o(n));break;case En:C=8!==_||y?b():o(n);break;case An:if(y&&(n=o(n),_=n.nodeType),1===_||3===_){C=n;const e=!r.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:h,dirs:p}=t,g="input"===c&&p||"option"===c;if(g||-1!==d){if(p&&rt(t,null,n,"created"),u)if(g||!s||48&d)for(const t in u)(g&&t.endsWith("value")||(0,i.F7)(t)&&!(0,i.Gg)(t))&&r(e,t,null,u[t],!1,void 0,n);else u.onClick&&r(e,"onClick",null,u.onClick,!1,void 0,n);let c;if((c=u&&u.onVnodeBeforeMount)&&nr(c,n,t),p&&rt(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||p)&&se((()=>{c&&nr(c,n,t),p&&rt(t,null,n,"mounted")}),a),16&h&&(!u||!u.innerHTML&&!u.textContent)){let r=f(e.firstChild,t,e,n,a,o,s);while(r){nn=!0;const e=r;r=r.nextSibling,l(e)}}else 8&h&&e.textContent!==t.children&&(nn=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,r,i,a,o,s)=>{s=s||!!t.dynamicChildren;const l=t.children,c=l.length;for(let u=0;u{const{slotScopeIds:l}=t;l&&(i=i?i.concat(l):l);const d=s(e),h=f(o(e),t,d,n,r,i,a);return h&&an(h)&&"]"===h.data?o(t.anchor=h):(nn=!0,c(t.anchor=u("]"),d,h),h)},m=(e,t,r,i,a,c)=>{if(nn=!0,t.el=null,c){const t=v(e);while(1){const n=o(e);if(!n||n===t)break;l(n)}}const u=o(e),d=s(e);return l(e),n(null,t,d,u,r,i,rn(d),a),u},v=e=>{let t=0;while(e)if(e=o(e),e&&an(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return o(e);t--}return e};return[d,h]}function sn(){}const ln=se;function cn(e){return dn(e)}function un(e){return dn(e,on)}function dn(e,t){sn();const n=(0,i.E9)();n.__VUE__=!0;const{insert:a,remove:o,patchProp:s,createElement:l,createText:c,createComment:u,setText:d,setElementText:h,parentNode:p,nextSibling:f,setScopeId:g=i.dG,insertStaticContent:m}=e,v=(e,t,n,r=null,i=null,a=null,o=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!jn(e,t)&&(r=J(e),$(e,i,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Cn:y(e,t,n,r);break;case En:b(e,t,n,r);break;case An:null==e&&x(t,n,r,o);break;case _n:P(e,t,n,r,i,a,o,s,l);break;default:1&d?A(e,t,n,r,i,a,o,s,l):6&d?F(e,t,n,r,i,a,o,s,l):(64&d||128&d)&&c.process(e,t,n,r,i,a,o,s,l,ee)}null!=u&&i&&tn(u,e&&e.ref,a,t||e,!t)},y=(e,t,n,r)=>{if(null==e)a(t.el=c(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},b=(e,t,n,r)=>{null==e?a(t.el=u(t.children||""),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;while(e&&e!==t)i=f(e),a(e,n,r),e=i;a(t,n,r)},_=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=f(e),o(e),e=n;o(t)},A=(e,t,n,r,i,a,o,s,l)=>{o=o||"svg"===t.type,null==e?I(t,n,r,i,a,o,s,l):N(e,t,i,a,o,s,l)},I=(e,t,n,r,o,c,u,d)=>{let p,f;const{type:g,props:m,shapeFlag:v,transition:y,dirs:b}=e;if(p=e.el=l(e.type,c,m&&m.is,m),8&v?h(p,e.children):16&v&&O(e.children,p,null,r,o,c&&"foreignObject"!==g,u,d),b&&rt(e,null,r,"created"),m){for(const t in m)"value"===t||(0,i.Gg)(t)||s(p,t,null,m[t],c,e.children,r,o,K);"value"in m&&s(p,"value",null,m.value),(f=m.onVnodeBeforeMount)&&nr(f,r,e)}T(p,e,e.scopeId,u,r),b&&rt(e,null,r,"beforeMount");const x=(!o||o&&!o.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(p),a(p,t,n),((f=m&&m.onVnodeMounted)||x||b)&&ln((()=>{f&&nr(f,r,e),x&&y.enter(p),b&&rt(e,null,r,"mounted")}),o)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let a=0;a{for(let c=l;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||i.kT,g=t.props||i.kT;let m;n&&hn(n,!1),(m=g.onVnodeBeforeUpdate)&&nr(m,n,t,e),p&&rt(t,e,n,"beforeUpdate"),n&&hn(n,!0);const v=a&&"foreignObject"!==t.type;if(d?D(e.dynamicChildren,d,c,n,r,v,o):l||V(e,t,c,null,n,r,v,o,!1),u>0){if(16&u)L(c,t,f,g,n,r,a);else if(2&u&&f.class!==g.class&&s(c,"class",null,g.class,a),4&u&&s(c,"style",f.style,g.style,a),8&u){const i=t.dynamicProps;for(let t=0;t{m&&nr(m,n,t,e),p&&rt(t,e,n,"updated")}),r)},D=(e,t,n,r,i,a,o)=>{for(let s=0;s{if(n!==r){if(n!==i.kT)for(const c in n)(0,i.Gg)(c)||c in r||s(e,c,n[c],null,l,t.children,a,o,K);for(const c in r){if((0,i.Gg)(c))continue;const u=r[c],d=n[c];u!==d&&"value"!==c&&s(e,c,d,u,l,t.children,a,o,K)}"value"in r&&s(e,"value",n.value,r.value)}},P=(e,t,n,r,i,o,s,l,u)=>{const d=t.el=e?e.el:c(""),h=t.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(a(d,n,r),a(h,n,r),O(t.children,n,h,i,o,s,l,u)):p>0&&64&p&&f&&e.dynamicChildren?(D(e.dynamicChildren,f,n,i,o,s,l),(null!=t.key||i&&t===i.subTree)&&pn(e,t,!0)):V(e,t,n,h,i,o,s,l,u)},F=(e,t,n,r,i,a,o,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,o,l):U(t,n,r,i,a,o,l):M(e,t,l)},U=(e,t,n,r,i,a,o)=>{const s=e.component=ar(e,r,i);if(Pe(e)&&(s.ctx.renderer=ee),fr(s),s.asyncDep){if(i&&i.registerDep(s,R),!e.el){const e=s.subTree=$n(En);b(null,e,t,n)}}else R(s,e,t,n,i,a,o)},M=(e,t,n)=>{const r=t.component=e.component;if(Z(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void j(r,t,n);r.next=t,k(r.update),r.update()}else t.el=e.el,r.vnode=t},R=(e,t,n,a,o,s,l)=>{const c=()=>{if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:u}=e,d=n;0,hn(e,!1),n?(n.el=u.el,j(e,n,l)):n=u,r&&(0,i.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&nr(t,c,n,u),hn(e,!0);const h=W(e);0;const f=e.subTree;e.subTree=h,v(f,h,p(f.el),J(f),e,o,s),n.el=h.el,null===d&&X(e,h.el),a&&ln(a,o),(t=n.props&&n.props.onVnodeUpdated)&&ln((()=>nr(t,c,n,u)),o)}else{let r;const{el:l,props:c}=t,{bm:u,m:d,parent:h}=e,p=Ne(t);if(hn(e,!1),u&&(0,i.ir)(u),!p&&(r=c&&c.onVnodeBeforeMount)&&nr(r,h,t),hn(e,!0),l&&ne){const n=()=>{e.subTree=W(e),ne(l,e.subTree,e,o,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=W(e);0,v(null,r,n,a,e,o,s),t.el=r.el}if(d&&ln(d,o),!p&&(r=c&&c.onVnodeMounted)){const e=t;ln((()=>nr(r,h,e)),o)}(256&t.shapeFlag||h&&Ne(h.vnode)&&256&h.vnode.shapeFlag)&&e.a&&ln(e.a,o),e.isMounted=!0,t=n=a=null}},u=e.effect=new r.qq(c,(()=>w(d)),e.scope),d=e.update=()=>u.run();d.id=e.uid,hn(e,!0),d()},j=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,Mt(e,t.props,i,n),Kt(e,t.children,n),(0,r.Jd)(),C(),(0,r.lk)()},V=(e,t,n,r,i,a,o,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void H(c,d,n,r,i,a,o,s,l);if(256&p)return void z(c,d,n,r,i,a,o,s,l)}8&f?(16&u&&K(c,i,a),d!==c&&h(n,d)):16&u?16&f?H(c,d,n,r,i,a,o,s,l):K(c,i,a,!0):(8&u&&h(n,""),16&f&&O(d,n,r,i,a,o,s,l))},z=(e,t,n,r,a,o,s,l,c)=>{e=e||i.Z6,t=t||i.Z6;const u=e.length,d=t.length,h=Math.min(u,d);let p;for(p=0;pd?K(e,a,o,!0,!1,h):O(t,n,r,a,o,s,l,c,h)},H=(e,t,n,r,a,o,s,l,c)=>{let u=0;const d=t.length;let h=e.length-1,p=d-1;while(u<=h&&u<=p){const r=e[u],i=t[u]=c?Qn(t[u]):Jn(t[u]);if(!jn(r,i))break;v(r,i,n,null,a,o,s,l,c),u++}while(u<=h&&u<=p){const r=e[h],i=t[p]=c?Qn(t[p]):Jn(t[p]);if(!jn(r,i))break;v(r,i,n,null,a,o,s,l,c),h--,p--}if(u>h){if(u<=p){const e=p+1,i=ep)while(u<=h)$(e[u],a,o,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?Qn(t[u]):Jn(t[u]);null!=e.key&&m.set(e.key,u)}let y,b=0;const x=p-g+1;let w=!1,S=0;const k=new Array(x);for(u=0;u=x){$(r,a,o,!0);continue}let i;if(null!=r.key)i=m.get(r.key);else for(y=g;y<=p;y++)if(0===k[y-g]&&jn(r,t[y])){i=y;break}void 0===i?$(r,a,o,!0):(k[i-g]=u+1,i>=S?S=i:w=!0,v(r,t[i],n,null,a,o,s,l,c),b++)}const _=w?fn(k):i.Z6;for(y=_.length-1,u=x-1;u>=0;u--){const e=g+u,i=t[e],h=e+1{const{el:o,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void B(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void s.move(e,t,n,ee);if(s===_n){a(o,t,n);for(let e=0;el.enter(o)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>a(o,t,n),c=()=>{e(o,(()=>{s(),i&&i()}))};r?r(o,s,c):c()}else a(o,t,n)},$=(e,t,n,r=!1,i=!1)=>{const{type:a,props:o,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=s&&tn(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&h,f=!Ne(e);let g;if(f&&(g=o&&o.onVnodeBeforeUnmount)&&nr(g,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&rt(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,ee,r):c&&(a!==_n||d>0&&64&d)?K(c,t,n,!1,!0):(a===_n&&384&d||!i&&16&u)&&K(l,t,n),r&&q(e)}(f&&(g=o&&o.onVnodeUnmounted)||p)&&ln((()=>{g&&nr(g,t,e),p&&rt(e,null,t,"unmounted")}),n)},q=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===_n)return void Y(n,r);if(t===An)return void _(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},Y=(e,t)=>{let n;while(e!==t)n=f(e),o(e),e=n;o(t)},G=(e,t,n)=>{const{bum:r,scope:a,update:o,subTree:s,um:l}=e;r&&(0,i.ir)(r),a.stop(),o&&(o.active=!1,$(s,e,t,n)),l&&ln(l,t),ln((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&$(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),C(),E(),t._vnode=e},ee={p:v,um:$,m:B,r:q,mt:U,mc:O,pc:V,pbc:D,n:J,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:Q,hydrate:te,createApp:en(Q,te)}}function hn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function pn(e,t,n=!1){const r=e.children,a=t.children;if((0,i.kJ)(r)&&(0,i.kJ)(a))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}a=n.length,o=n[a-1];while(a-- >0)n[a]=o,o=t[o];return n}const gn=e=>e.__isTeleport,mn=e=>e&&(e.disabled||""===e.disabled),vn=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,yn=(e,t)=>{const n=e&&e.to;if((0,i.HD)(n)){if(t){const e=t(n);return e}return null}return n},bn={__isTeleport:!0,process(e,t,n,r,i,a,o,s,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:f,createText:g,createComment:m}}=c,v=mn(t.props);let{shapeFlag:y,children:b,dynamicChildren:x}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");p(e,n,r),p(c,n,r);const d=t.target=yn(t.props,f),h=t.targetAnchor=g("");d&&(p(h,d),o=o||vn(d));const m=(e,t)=>{16&y&&u(b,e,t,i,a,o,s,l)};v?m(n,c):d&&m(d,h)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,p=t.targetAnchor=e.targetAnchor,g=mn(e.props),m=g?n:u,y=g?r:p;if(o=o||vn(u),x?(h(e.dynamicChildren,x,m,i,a,o,s),pn(e,t,!0)):l||d(e,t,m,y,i,a,o,s,!1),v)g||xn(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=yn(t.props,f);e&&xn(t,e,null,c,0)}else g&&xn(t,u,p,c,1)}kn(t)},remove(e,t,n,r,{um:i,o:{remove:a}},o){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:h}=e;if(d&&a(u),(o||!mn(h))&&(a(c),16&s))for(let p=0;p0?Tn||i.Z6:null,Nn(),Ln>0&&Tn&&Tn.push(e),e}function Un(e,t,n,r,i,a){return Fn(Wn(e,t,n,r,i,a,!0))}function Mn(e,t,n,r,i){return Fn($n(e,t,n,r,i,!0))}function Rn(e){return!!e&&!0===e.__v_isVNode}function jn(e,t){return e.type===t.type&&e.key===t.key}function Vn(e){Dn=e}const zn="__vInternal",Hn=({key:e})=>null!=e?e:null,Bn=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,i.HD)(e)||(0,r.dq)(e)||(0,i.mf)(e)?{i:M,r:e,k:t,f:!!n}:e:null;function Wn(e,t=null,n=null,r=0,a=null,o=(e===_n?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hn(t),ref:t&&Bn(t),scopeId:R,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:M};return l?(er(c,n),128&o&&e.normalize(c)):n&&(c.shapeFlag|=(0,i.HD)(n)?8:16),Ln>0&&!s&&Tn&&(c.patchFlag>0||6&o)&&32!==c.patchFlag&&Tn.push(c),c}const $n=qn;function qn(e,t=null,n=null,a=0,o=null,s=!1){if(e&&e!==st||(e=En),Rn(e)){const r=Zn(e,t,!0);return n&&er(r,n),Ln>0&&!s&&Tn&&(6&r.shapeFlag?Tn[Tn.indexOf(e)]=r:Tn.push(r)),r.patchFlag|=-2,r}if(_r(e)&&(e=e.__vccOpts),t){t=Yn(t);let{class:e,style:n}=t;e&&!(0,i.HD)(e)&&(t.class=(0,i.C_)(e)),(0,i.Kn)(n)&&((0,r.X3)(n)&&!(0,i.kJ)(n)&&(n=(0,i.l7)({},n)),t.style=(0,i.j5)(n))}const l=(0,i.HD)(e)?1:K(e)?128:gn(e)?64:(0,i.Kn)(e)?4:(0,i.mf)(e)?2:0;return Wn(e,t,n,a,o,l,s,!0)}function Yn(e){return e?(0,r.X3)(e)||zn in e?(0,i.l7)({},e):e:null}function Zn(e,t,n=!1){const{props:r,ref:a,patchFlag:o,children:s}=e,l=t?tr(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Hn(l),ref:t&&t.ref?n&&a?(0,i.kJ)(a)?a.concat(Bn(t)):[a,Bn(t)]:Bn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_n?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zn(e.ssContent),ssFallback:e.ssFallback&&Zn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx};return c}function Gn(e=" ",t=0){return $n(Cn,null,e,t)}function Xn(e,t){const n=$n(An,null,e);return n.staticCount=t,n}function Kn(e="",t=!1){return t?(On(),Mn(En,null,e)):$n(En,null,e)}function Jn(e){return null==e||"boolean"===typeof e?$n(En):(0,i.kJ)(e)?$n(_n,null,e.slice()):"object"===typeof e?Qn(e):$n(Cn,null,String(e))}function Qn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Zn(e)}function er(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,i.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),er(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||zn in t?3===r&&M&&(1===M.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=M}}else(0,i.mf)(t)?(t={default:t,_ctx:M},n=32):(t=String(t),64&r?(n=16,t=[Gn(t)]):n=8);e.children=t,e.shapeFlag|=n}function tr(...e){const t={};for(let n=0;nor||M,lr=e=>{or=e,e.scope.on()},cr=()=>{or&&or.scope.off(),or=null};function ur(e){return 4&e.vnode.shapeFlag}let dr,hr,pr=!1;function fr(e,t=!1){pr=t;const{props:n,children:r}=e.vnode,i=ur(e);Ut(e,n,i,t),Xt(e,r);const a=i?gr(e,t):void 0;return pr=!1,a}function gr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,xt));const{setup:a}=n;if(a){const n=e.setupContext=a.length>1?wr(e):null;lr(e),(0,r.Jd)();const s=o(a,e,0,[e.props,n]);if((0,r.lk)(),cr(),(0,i.tI)(s)){if(s.then(cr,cr),t)return s.then((n=>{mr(e,n,t)})).catch((t=>{l(t,e,0)}));e.asyncDep=s}else mr(e,s,t)}else br(e,t)}function mr(e,t,n){(0,i.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,i.Kn)(t)&&(e.setupState=(0,r.WL)(t)),br(e,n)}function vr(e){dr=e,hr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,wt))}}const yr=()=>!dr;function br(e,t,n){const a=e.type;if(!e.render){if(!t&&dr&&!a.render){const t=a.template||At(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:o,compilerOptions:s}=a,l=(0,i.l7)((0,i.l7)({isCustomElement:n,delimiters:o},r),s);a.render=dr(t,l)}}e.render=a.render||i.dG,hr&&hr(e)}lr(e),(0,r.Jd)(),kt(e),(0,r.lk)(),cr()}function xr(e){return new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}})}function wr(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=xr(e))},slots:e.slots,emit:e.emit,expose:t}}function Sr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in yt?yt[n](e):void 0},has(e,t){return t in e||t in yt}}))}function kr(e,t=!0){return(0,i.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function _r(e){return(0,i.mf)(e)&&"__vccOpts"in e}const Cr=(e,t)=>(0,r.Fl)(e,t,pr);function Er(){return null}function Ar(){return null}function Ir(e){0}function Tr(e,t){return null}function Or(){return Dr().slots}function Nr(){return Dr().attrs}function Dr(){const e=sr();return e.setupContext||(e.setupContext=wr(e))}function Lr(e,t){const n=(0,i.kJ)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const r in t){const e=n[r];e?(0,i.kJ)(e)||(0,i.mf)(e)?n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(n[r]={default:t[r]})}return n}function Pr(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Fr(e){const t=sr();let n=e();return cr(),(0,i.tI)(n)&&(n=n.catch((e=>{throw lr(t),e}))),[n,()=>lr(t)]}function Ur(e,t,n){const r=arguments.length;return 2===r?(0,i.Kn)(t)&&!(0,i.kJ)(t)?Rn(t)?$n(e,null,[t]):$n(e,t):$n(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Rn(n)&&(n=[n]),$n(e,t,n))}const Mr=Symbol(""),Rr=()=>{{const e=ue(Mr);return e}};function jr(){return void 0}function Vr(e,t,n,r){const i=n[r];if(i&&zr(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function zr(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&Tn&&Tn.push(e),!0}const Hr="3.2.45",Br={createComponentInstance:ar,setupComponent:fr,renderComponentRoot:W,setCurrentRenderingInstance:j,isVNode:Rn,normalizeVNode:Jn},Wr=Br,$r=null,qr=null},49963:function(e,t,n){"use strict";n.d(t,{$d:function(){return i.$d},$y:function(){return i.$y},Ah:function(){return P},B:function(){return i.B},BK:function(){return i.BK},Bj:function(){return i.Bj},Bz:function(){return i.Bz},C3:function(){return i.C3},C_:function(){return i.C_},Cn:function(){return i.Cn},D2:function(){return Le},EB:function(){return i.EB},Eo:function(){return i.Eo},F4:function(){return i.F4},F8:function(){return Pe},FN:function(){return i.FN},Fl:function(){return i.Fl},G:function(){return i.G},G2:function(){return xe},HX:function(){return i.HX},HY:function(){return i.HY},Ho:function(){return i.Ho},IU:function(){return i.IU},JJ:function(){return i.JJ},Jd:function(){return i.Jd},KU:function(){return i.KU},Ko:function(){return i.Ko},LL:function(){return i.LL},MW:function(){return L},MX:function(){return i.MX},Mr:function(){return i.Mr},Nd:function(){return Ze},Nv:function(){return i.Nv},OT:function(){return i.OT},Ob:function(){return i.Ob},P$:function(){return i.P$},PG:function(){return i.PG},Q2:function(){return i.Q2},Q6:function(){return i.Q6},RC:function(){return i.RC},Rh:function(){return i.Rh},Rr:function(){return i.Rr},S3:function(){return i.S3},SK:function(){return i.Ah},SU:function(){return i.SU},U2:function(){return i.U2},Uc:function(){return i.Uc},Uk:function(){return i.Uk},Um:function(){return i.Um},Us:function(){return i.Us},Vh:function(){return i.Vh},W3:function(){return ce},WI:function(){return i.WI},WL:function(){return i.WL},WY:function(){return i.WY},Wm:function(){return i.Wm},X3:function(){return i.X3},XI:function(){return i.XI},Xl:function(){return i.Xl},Xn:function(){return i.Xn},Y1:function(){return i.Y1},Y3:function(){return i.Y3},Y8:function(){return i.Y8},YP:function(){return i.YP},YS:function(){return i.YS},YZ:function(){return Ce},Yq:function(){return i.Yq},ZB:function(){return Be},ZK:function(){return i.ZK},ZM:function(){return i.ZM},Zq:function(){return i.Zq},_:function(){return i._},_A:function(){return i._A},a2:function(){return U},aZ:function(){return i.aZ},b9:function(){return i.b9},bM:function(){return we},bT:function(){return i.bT},bv:function(){return i.bv},cE:function(){return i.cE},d1:function(){return i.d1},dD:function(){return i.dD},dG:function(){return i.dG},dl:function(){return i.dl},dq:function(){return i.dq},e8:function(){return ye},ec:function(){return i.ec},eq:function(){return i.eq},f3:function(){return i.f3},fb:function(){return M},h:function(){return i.h},hR:function(){return i.hR},i8:function(){return i.i8},iD:function(){return i.iD},iH:function(){return i.iH},iM:function(){return Ne},ic:function(){return i.ic},j4:function(){return i.j4},j5:function(){return i.j5},kC:function(){return i.kC},kq:function(){return i.kq},l1:function(){return i.l1},lA:function(){return i.lA},lR:function(){return i.lR},m0:function(){return i.m0},mW:function(){return i.mW},mv:function(){return i.mv},mx:function(){return i.mx},n4:function(){return i.n4},nK:function(){return i.nK},nQ:function(){return i.nQ},nZ:function(){return i.nZ},nr:function(){return ve},oR:function(){return i.oR},of:function(){return i.of},p1:function(){return i.p1},qG:function(){return i.qG},qZ:function(){return i.qZ},qb:function(){return i.qb},qj:function(){return i.qj},qq:function(){return i.qq},ri:function(){return We},ry:function(){return i.ry},sT:function(){return i.sT},sY:function(){return He},se:function(){return i.se},sj:function(){return R},sv:function(){return i.sv},uE:function(){return i.uE},uT:function(){return B},u_:function(){return i.u_},up:function(){return i.up},vl:function(){return i.vl},vr:function(){return $e},vs:function(){return i.vs},w5:function(){return i.w5},wF:function(){return i.wF},wg:function(){return i.wg},wy:function(){return i.wy},xv:function(){return i.xv},yT:function(){return i.yT},yX:function(){return i.yX},yb:function(){return i.MW},zw:function(){return i.zw}});var r=n(3577),i=n(66252),a=n(2262);const o="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,l=s&&s.createElement("template"),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?s.createElementNS(o,e):s.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling)){while(1)if(t.insertBefore(i.cloneNode(!0),n),i===a||!(i=i.nextSibling))break}else{l.innerHTML=r?`${e}`:e;const i=l.content;if(r){const e=i.firstChild;while(e.firstChild)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function u(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function d(e,t,n){const i=e.style,a=(0,r.HD)(n);if(n&&!a){for(const e in n)p(i,e,n[e]);if(t&&!(0,r.HD)(t))for(const e in t)null==n[e]&&p(i,e,"")}else{const r=i.display;a?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const h=/\s*!important$/;function p(e,t,n){if((0,r.kJ)(n))n.forEach((n=>p(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=m(e,t);h.test(n)?e.setProperty((0,r.rs)(i),n.replace(h,""),"important"):e[i]=n}}const f=["Webkit","Moz","ms"],g={};function m(e,t){const n=g[t];if(n)return n;let i=(0,r._A)(t);if("filter"!==i&&i in e)return g[t]=i;i=(0,r.kC)(i);for(let r=0;rC||(E.then((()=>C=0)),C=Date.now());function I(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,i.$d)(T(e,n.value),t,5,[e])};return n.value=e,n.attached=A(),n}function T(e,t){if((0,r.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const O=/^on[a-z]/,N=(e,t,n,i,a=!1,o,s,l,c)=>{"class"===t?u(e,i,a):"style"===t?d(e,n,i):(0,r.F7)(t)?(0,r.tR)(t)||S(e,t,n,i,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):D(e,t,i,a))?b(e,t,i,o,s,l,c):("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),y(e,t,i,a))};function D(e,t,n,i){return i?"innerHTML"===t||"textContent"===t||!!(t in e&&O.test(t)&&(0,r.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!O.test(t)||!(0,r.HD)(n))&&t in e))))}function L(e,t){const n=(0,i.aZ)(e);class r extends U{constructor(e){super(n,e,t)}}return r.def=n,r}const P=e=>L(e,Be),F="undefined"!==typeof HTMLElement?HTMLElement:class{};class U extends F{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,(0,i.Y3)((()=>{this._connected||(He(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:i}=e;let a;if(n&&!(0,r.kJ)(n))for(const o in n){const e=n[o];(e===Number||e&&e.type===Number)&&(o in this._props&&(this._props[o]=(0,r.He)(this._props[o])),(a||(a=Object.create(null)))[(0,r._A)(o)]=!0)}this._numberProps=a,t&&this._resolveProps(e),this._applyStyles(i),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=(0,r.kJ)(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r],!0,!1);for(const i of n.map(r._A))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(e){this._setProp(i,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=(0,r._A)(e);this._numberProps&&this._numberProps[n]&&(t=(0,r.He)(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,i=!0){t!==this._props[e]&&(this._props[e]=t,i&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,r.rs)(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute((0,r.rs)(e),t+""):t||this.removeAttribute((0,r.rs)(e))))}_update(){He(this._createVNode(),this.shadowRoot)}_createVNode(){const e=(0,i.Wm)(this._def,(0,r.l7)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),(0,r.rs)(e)!==e&&t((0,r.rs)(e),n)};let n=this;while(n=n&&(n.parentNode||n.host))if(n instanceof U){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function M(e="$style"){{const t=(0,i.FN)();if(!t)return r.kT;const n=t.type.__cssModules;if(!n)return r.kT;const a=n[e];return a||r.kT}}function R(e){const t=(0,i.FN)();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>V(e,n)))},r=()=>{const r=e(t.proxy);j(t.subTree,r),n(r)};(0,i.Rh)(r),(0,i.bv)((()=>{const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,i.Ah)((()=>e.disconnect()))}))}function j(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{j(n.activeBranch,t)}))}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)V(e.el,t);else if(e.type===i.HY)e.children.forEach((e=>j(e,t)));else if(e.type===i.qG){let{el:n,anchor:r}=e;while(n){if(V(n,t),n===r)break;n=n.nextSibling}}}function V(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const z="transition",H="animation",B=(e,{slots:t})=>(0,i.h)(i.P$,Z(e),t);B.displayName="Transition";const W={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$=B.props=(0,r.l7)({},i.P$.props,W),q=(e,t=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},Y=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function Z(e){const t={};for(const r in e)r in W||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:i,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=s,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=G(a),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:x,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:_=b,onAppearCancelled:C=x}=t,E=(e,t,n)=>{J(e,t?d:l),J(e,t?u:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,J(e,h),J(e,f),J(e,p),t&&t()},I=e=>(t,n)=>{const r=e?_:b,a=()=>E(t,e,n);q(r,[t,a]),Q((()=>{J(t,e?c:o),K(t,e?d:l),Y(r)||te(t,i,m,a)}))};return(0,r.l7)(t,{onBeforeEnter(e){q(y,[e]),K(e,o),K(e,s)},onBeforeAppear(e){q(k,[e]),K(e,c),K(e,u)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);K(e,h),ae(),K(e,p),Q((()=>{e._isLeaving&&(J(e,h),K(e,f),Y(w)||te(e,i,v,n))})),q(w,[e,n])},onEnterCancelled(e){E(e,!1),q(x,[e])},onAppearCancelled(e){E(e,!0),q(C,[e])},onLeaveCancelled(e){A(e),q(S,[e])}})}function G(e){if(null==e)return null;if((0,r.Kn)(e))return[X(e.enter),X(e.leave)];{const t=X(e);return[t,t]}}function X(e){const t=(0,r.He)(e);return t}function K(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function J(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Q(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ee=0;function te(e,t,n,r){const i=e._endId=++ee,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:o,timeout:s,propCount:l}=ne(e,t);if(!o)return r();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,h),a()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u(n[e]||"").split(", "),i=r(`${z}Delay`),a=r(`${z}Duration`),o=re(i,a),s=r(`${H}Delay`),l=r(`${H}Duration`),c=re(s,l);let u=null,d=0,h=0;t===z?o>0&&(u=z,d=o,h=a.length):t===H?c>0&&(u=H,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?z:H:null,h=u?u===z?a.length:l.length:0);const p=u===z&&/\b(transform|all)(,|$)/.test(r(`${z}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function re(e,t){while(e.lengthie(t)+ie(e[n]))))}function ie(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ae(){return document.body.offsetHeight}const oe=new WeakMap,se=new WeakMap,le={name:"TransitionGroup",props:(0,r.l7)({},$,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,i.FN)(),r=(0,i.Y8)();let o,s;return(0,i.ic)((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!pe(o[0].el,n.vnode.el,t))return;o.forEach(ue),o.forEach(de);const r=o.filter(he);ae(),r.forEach((e=>{const n=e.el,r=n.style;K(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,J(n,t))};n.addEventListener("transitionend",i)}))})),()=>{const l=(0,a.IU)(e),c=Z(l);let u=l.tag||i.HY;o=s,s=t.default?(0,i.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=ne(r);return i.removeChild(r),a}const fe=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(t)?e=>(0,r.ir)(t,e):t};function ge(e){e.target.composing=!0}function me(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ve={created(e,{modifiers:{lazy:t,trim:n,number:i}},a){e._assign=fe(a);const o=i||a.props&&"number"===a.props.type;x(e,t?"change":"input",(t=>{if(t.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=(0,r.He)(i)),e._assign(i)})),n&&x(e,"change",(()=>{e.value=e.value.trim()})),t||(x(e,"compositionstart",ge),x(e,"compositionend",me),x(e,"change",me))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:a}},o){if(e._assign=fe(o),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(i&&e.value.trim()===t)return;if((a||"number"===e.type)&&(0,r.He)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},ye={deep:!0,created(e,t,n){e._assign=fe(n),x(e,"change",(()=>{const t=e._modelValue,n=ke(e),i=e.checked,a=e._assign;if((0,r.kJ)(t)){const e=(0,r.hq)(t,n),o=-1!==e;if(i&&!o)a(t.concat(n));else if(!i&&o){const n=[...t];n.splice(e,1),a(n)}}else if((0,r.DM)(t)){const e=new Set(t);i?e.add(n):e.delete(n),a(e)}else a(_e(e,i))}))},mounted:be,beforeUpdate(e,t,n){e._assign=fe(n),be(e,t,n)}};function be(e,{value:t,oldValue:n},i){e._modelValue=t,(0,r.kJ)(t)?e.checked=(0,r.hq)(t,i.props.value)>-1:(0,r.DM)(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=(0,r.WV)(t,_e(e,!0)))}const xe={created(e,{value:t},n){e.checked=(0,r.WV)(t,n.props.value),e._assign=fe(n),x(e,"change",(()=>{e._assign(ke(e))}))},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=fe(i),t!==n&&(e.checked=(0,r.WV)(t,i.props.value))}},we={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const a=(0,r.DM)(t);x(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.He)(ke(e)):ke(e)));e._assign(e.multiple?a?new Set(t):t:t[0])})),e._assign=fe(i)},mounted(e,{value:t}){Se(e,t)},beforeUpdate(e,t,n){e._assign=fe(n)},updated(e,{value:t}){Se(e,t)}};function Se(e,t){const n=e.multiple;if(!n||(0,r.kJ)(t)||(0,r.DM)(t)){for(let i=0,a=e.options.length;i-1:a.selected=t.has(o);else if((0,r.WV)(ke(a),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ke(e){return"_value"in e?e._value:e.value}function _e(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ce={created(e,t,n){Ae(e,t,n,null,"created")},mounted(e,t,n){Ae(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ae(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ae(e,t,n,r,"updated")}};function Ee(e,t){switch(e){case"SELECT":return we;case"TEXTAREA":return ve;default:switch(t){case"checkbox":return ye;case"radio":return xe;default:return ve}}}function Ae(e,t,n,r,i){const a=Ee(e.tagName,n.props&&n.props.type),o=a[i];o&&o(e,t,n,r)}function Ie(){ve.getSSRProps=({value:e})=>({value:e}),xe.getSSRProps=({value:e},t)=>{if(t.props&&(0,r.WV)(t.props.value,e))return{checked:!0}},ye.getSSRProps=({value:e},t)=>{if((0,r.kJ)(e)){if(t.props&&(0,r.hq)(e,t.props.value)>-1)return{checked:!0}}else if((0,r.DM)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ce.getSSRProps=(e,t)=>{if("string"!==typeof t.type)return;const n=Ee(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}}const Te=["ctrl","shift","alt","meta"],Oe={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Te.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ne=(e,t)=>(n,...r)=>{for(let e=0;en=>{if(!("key"in n))return;const i=(0,r.rs)(n.key);return t.some((e=>e===i||De[e]===i))?e(n):void 0},Pe={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Fe(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),Fe(e,!0),r.enter(e)):r.leave(e,(()=>{Fe(e,!1)})):Fe(e,t))},beforeUnmount(e,{value:t}){Fe(e,t)}};function Fe(e,t){e.style.display=t?e._vod:"none"}function Ue(){Pe.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Me=(0,r.l7)({patchProp:N},c);let Re,je=!1;function Ve(){return Re||(Re=(0,i.Us)(Me))}function ze(){return Re=je?Re:(0,i.Eo)(Me),je=!0,Re}const He=(...e)=>{Ve().render(...e)},Be=(...e)=>{ze().hydrate(...e)},We=(...e)=>{const t=Ve().createApp(...e);const{mount:n}=t;return t.mount=e=>{const i=qe(e);if(!i)return;const a=t._component;(0,r.mf)(a)||a.render||a.template||(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},$e=(...e)=>{const t=ze().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=qe(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function qe(e){if((0,r.HD)(e)){const t=document.querySelector(e);return t}return e}let Ye=!1;const Ze=()=>{Ye||(Ye=!0,Ie(),Ue())}},3577:function(e,t,n){"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{C_:function(){return d},DM:function(){return P},E9:function(){return ae},F7:function(){return E},Gg:function(){return q},HD:function(){return M},He:function(){return re},J_:function(){return F},Kn:function(){return j},NO:function(){return _},Nj:function(){return ne},Od:function(){return T},PO:function(){return W},Pq:function(){return f},RI:function(){return N},S0:function(){return $},W7:function(){return B},WV:function(){return v},Z6:function(){return S},_A:function(){return G},_N:function(){return L},aU:function(){return ee},dG:function(){return k},e1:function(){return a},fY:function(){return r},hR:function(){return Q},hq:function(){return y},ir:function(){return te},j5:function(){return o},kC:function(){return J},kJ:function(){return D},kT:function(){return w},l7:function(){return I},mf:function(){return U},rs:function(){return K},tI:function(){return V},tR:function(){return A},vs:function(){return h},yA:function(){return g},yk:function(){return R},zw:function(){return b}});const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",a=r(i);function o(e){if(D(e)){const t={};for(let n=0;n{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function d(e){let t="";if(M(e))t=e;else if(D(e))for(let n=0;nv(e,t)))}const b=e=>M(e)?e:null==e?"":D(e)||j(e)&&(e.toString===z||!U(e.toString))?JSON.stringify(e,x,2):String(e),x=(e,t)=>t&&t.__v_isRef?x(e,t.value):L(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:P(t)?{[`Set(${t.size})`]:[...t.values()]}:!j(t)||D(t)||W(t)?t:String(t),w={},S=[],k=()=>{},_=()=>!1,C=/^on[^a-z]/,E=e=>C.test(e),A=e=>e.startsWith("onUpdate:"),I=Object.assign,T=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},O=Object.prototype.hasOwnProperty,N=(e,t)=>O.call(e,t),D=Array.isArray,L=e=>"[object Map]"===H(e),P=e=>"[object Set]"===H(e),F=e=>"[object Date]"===H(e),U=e=>"function"===typeof e,M=e=>"string"===typeof e,R=e=>"symbol"===typeof e,j=e=>null!==e&&"object"===typeof e,V=e=>j(e)&&U(e.then)&&U(e.catch),z=Object.prototype.toString,H=e=>z.call(e),B=e=>H(e).slice(8,-1),W=e=>"[object Object]"===H(e),$=e=>M(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,q=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Y=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},Z=/-(\w)/g,G=Y((e=>e.replace(Z,((e,t)=>t?t.toUpperCase():"")))),X=/\B([A-Z])/g,K=Y((e=>e.replace(X,"-$1").toLowerCase())),J=Y((e=>e.charAt(0).toUpperCase()+e.slice(1))),Q=Y((e=>e?`on${J(e)}`:"")),ee=(e,t)=>!Object.is(e,t),te=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},re=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ie;const ae=()=>ie||(ie="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},2711:function(e){!function(t,n){e.exports=n()}(0,(function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];if(e&&(w=!0),w)return x=(0,v.default)(x,S),(0,g.default)(x,S.once),x},_=function(){x=(0,b.default)(),k()},C=function(){x.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}))},E=function(e){return!0===e||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&!0===e()},A=function(e){S=i(S,e),x=(0,b.default)();var t=document.all&&!window.atob;return E(S.disable)||t?C():(S.disableMutationObserver||d.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),S.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",S.easing),document.querySelector("body").setAttribute("data-aos-duration",S.duration),document.querySelector("body").setAttribute("data-aos-delay",S.delay),"DOMContentLoaded"===S.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?k(!0):"load"===S.startEvent?window.addEventListener(S.startEvent,(function(){k(!0)})):document.addEventListener(S.startEvent,(function(){k(!0)})),window.addEventListener("resize",(0,c.default)(k,S.debounceDelay,!0)),window.addEventListener("orientationchange",(0,c.default)(k,S.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)((function(){(0,g.default)(x,S.once)}),S.throttleDelay)),S.disableMutationObserver||d.default.ready("[data-aos]",_),x)};e.exports={init:A,refresh:k,refreshHard:_}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=g,r=m;return g=m=void 0,w=t,y=e.apply(r,n)}function a(e){return w=e,b=setTimeout(u,t),C?r(e):y}function o(e){var n=e-x,r=e-w,i=t-n;return E?k(i,v-r):i}function l(e){var n=e-x,r=e-w;return void 0===x||n>=t||n<0||E&&r>=v}function u(){var e=_();return l(e)?d(e):void(b=setTimeout(u,o(e)))}function d(e){return b=void 0,A&&g?r(e):(g=m=void 0,y)}function h(){void 0!==b&&clearTimeout(b),w=0,g=x=m=b=void 0}function p(){return void 0===b?y:d(_())}function f(){var e=_(),n=l(e);if(g=arguments,m=this,x=e,n){if(void 0===b)return a(x);if(E)return b=setTimeout(u,t),r(x)}return void 0===b&&(b=setTimeout(u,t)),y}var g,m,v,y,b,x,w=0,C=!1,E=!1,A=!0;if("function"!=typeof e)throw new TypeError(c);return t=s(t)||0,i(n)&&(C=!!n.leading,E="maxWait"in n,v=E?S(s(n.maxWait)||0,t):v,A="trailing"in n?!!n.trailing:A),f.cancel=h,f.flush=p,f}function r(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(c);return i(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),n(e,t,{leading:a,maxWait:t,trailing:o})}function i(e){var t="undefined"==typeof e?"undefined":l(e);return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==("undefined"==typeof e?"undefined":l(e))}function o(e){return"symbol"==("undefined"==typeof e?"undefined":l(e))||a(e)&&w.call(e)==d}function s(e){if("number"==typeof e)return e;if(o(e))return u;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(h,"");var n=f.test(e);return n||g.test(e)?m(e.slice(2),n?2:8):p.test(e)?u:+e}var l="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},c="Expected a function",u=NaN,d="[object Symbol]",h=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,g=/^0o[0-7]+$/i,m=parseInt,v="object"==("undefined"==typeof t?"undefined":l(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,b=v||y||Function("return this")(),x=Object.prototype,w=x.toString,S=Math.max,k=Math.min,_=function(){return b.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=g,r=m;return g=m=void 0,_=t,y=e.apply(r,n)}function a(e){return _=e,b=setTimeout(u,t),C?i(e):y}function s(e){var n=e-x,r=e-_,i=t-n;return E?S(i,v-r):i}function c(e){var n=e-x,r=e-_;return void 0===x||n>=t||n<0||E&&r>=v}function u(){var e=k();return c(e)?d(e):void(b=setTimeout(u,s(e)))}function d(e){return b=void 0,A&&g?i(e):(g=m=void 0,y)}function h(){void 0!==b&&clearTimeout(b),_=0,g=x=m=b=void 0}function p(){return void 0===b?y:d(k())}function f(){var e=k(),n=c(e);if(g=arguments,m=this,x=e,n){if(void 0===b)return a(x);if(E)return b=setTimeout(u,t),i(x)}return void 0===b&&(b=setTimeout(u,t)),y}var g,m,v,y,b,x,_=0,C=!1,E=!1,A=!0;if("function"!=typeof e)throw new TypeError(l);return t=o(t)||0,r(n)&&(C=!!n.leading,E="maxWait"in n,v=E?w(o(n.maxWait)||0,t):v,A="trailing"in n?!!n.trailing:A),f.cancel=h,f.flush=p,f}function r(e){var t="undefined"==typeof e?"undefined":s(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==("undefined"==typeof e?"undefined":s(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":s(e))||i(e)&&x.call(e)==u}function o(e){if("number"==typeof e)return e;if(a(e))return c;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=p.test(e);return n||f.test(e)?g(e.slice(2),n?2:8):h.test(e)?c:+e}var s="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},l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,f=/^0o[0-7]+$/i,g=parseInt,m="object"==("undefined"==typeof t?"undefined":s(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,y=m||v||Function("return this")(),b=Object.prototype,x=b.toString,w=Math.max,S=Math.min,k=function(){return y.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,r=void 0;for(t=0;te.position?e.node.classList.add("aos-animate"):"undefined"!=typeof r&&("false"===r||!n&&"true"!==r)&&e.node.classList.remove("aos-animate")},r=function(e,t){var r=window.pageYOffset,i=window.innerHeight;e.forEach((function(e,a){n(e,i+r,t)}))};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=r(i),o=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,a.default)(e.node,t.offset)})),e};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),a=r(i),o=function(e,t){var n=0,r=0,i=window.innerHeight,o={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(o.offset&&!isNaN(o.offset)&&(r=parseInt(o.offset)),o.anchor&&document.querySelectorAll(o.anchor)&&(e=document.querySelectorAll(o.anchor)[0]),n=(0,a.default)(e).top,o.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return o.anchorPlacement||o.offset||isNaN(t)||(r=t),n+r};t.default=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))};t.default=n}])}))},35927:function(e,t,n){"use strict";var r; /*! * ApexCharts v3.40.0 * (c) 2018-2023 ApexCharts * Released under the MIT License. */function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n>16,o=n>>8&255,s=255&n;return"#"+(16777216+65536*(Math.round((r-a)*i)+a)+256*(Math.round((r-o)*i)+o)+(Math.round((r-s)*i)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,n){return e.isColorHex(n)?this.shadeHexColor(t,n):this.shadeRGBColor(t,n)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===o(e)&&!Array.isArray(e)&&null!=e}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,n=[];for(t=0;tt.length?e:t}))),e.length>t.length?e:t}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var n=e.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"x",n=e.toString().slice();return n.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,n){if(n>=e.length)for(var r=n-e.length+1;r--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e.style.key=t[n])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}}]),e}(),w=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.setEasingFunctions()}return c(e,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":default:e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,n,r){e.attr(t).animate(r).attr(n)}},{key:"animateMarker",value:function(e,t,n,r,i,a){t||(t=0),e.attr({r:t,width:t,height:t}).animate(r,i).attr({r:n,width:n.width,height:n.height}).afterAll((function(){a()}))}},{key:"animateCircle",value:function(e,t,n,r,i){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(r,i).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(e,t,n,r,i){e.attr(t).animate(r).attr(n).afterAll((function(){return i()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,n=e.realIndex,r=e.j,i=e.fill,a=e.pathFrom,o=e.pathTo,s=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,n,r,"line"!==c.config.chart.type||c.globals.comboCharts?i:"stroke",a,o,s,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){e.el.classList.remove("apexcharts-element-hidden")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,n,r,i,a,o,s){var l=this,c=this.w;i||(i=e.attr("pathFrom")),a||(a=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(o=1),"M 0 ".concat(c.globals.gridHeight)};(!i||i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i=u()),(!a||a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a=u()),c.globals.shouldAnimate||(o=1),e.plot(i).animate(1,c.globals.easing,s).plot(i).animate(o,c.globals.easing,s).plot(a).afterAll((function(){x.isNumber(n)?n===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==r&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()}))}}]),e}(),S=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getDefaultFilter",value:function(e,t){var n=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(e,t,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var n=this.w;n.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,n){var r=this,i=this.w,a=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=i.config.chart.dropShadow;(n.enabled?r.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:a}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,n){var r=this,i=this.w,a=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=i.config.chart.dropShadow;(n.enabled?r.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:a}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:r});break;case"darken":this.addDarkenFilter(e,t,{intensity:r})}}},{key:"addShadow",value:function(e,t,n){var r=n.blur,i=n.top,a=n.left,o=n.color,s=n.opacity,l=e.flood(Array.isArray(o)?o[t]:o,s).composite(e.sourceAlpha,"in").offset(a,i).gaussianBlur(r).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.top,i=t.left,a=t.blur,o=t.color,s=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),x.isIE()&&"radialBar"===c.config.chart.type||(o=Array.isArray(o)?o[n]:o,e.filter((function(e){var t=null;t=x.isSafari()||x.isFirefox()||x.isIE()?e.flood(o,s).composite(e.sourceAlpha,"in").offset(i,r).gaussianBlur(a):e.flood(o,s).composite(e.sourceAlpha,"in").offset(i,r).gaussianBlur(a).merge(e.source),e.blend(e.source,t)})),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,n){var r=this.w;if(void 0!==r.globals.selectedDataPoints[t]&&r.globals.selectedDataPoints[t].indexOf(n)>-1){e.node.setAttribute("selected",!0);var i=r.config.states.active.filter;"none"!==i&&this.applyFilter(e,t,i.type,i.value)}}},{key:"_scaleFilterSize",value:function(e){!function(t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),e}(),k=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"roundPathCorners",value:function(e,t){function n(e,t,n){var i=t.x-e.x,a=t.y-e.y,o=Math.sqrt(i*i+a*a);return r(e,t,Math.min(1,n/o))}function r(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function i(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function a(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}e.indexOf("NaN")>-1&&(e="");var o=e.split(/[,\s]/).reduce((function(e,t){var n=t.match("([a-zA-Z])(.+)");return n?(e.push(n[1]),e.push(n[2])):e.push(t),e}),[]).reduce((function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e}),[]),s=[];if(o.length>1){var l=a(o[0]),c=null;"Z"==o[o.length-1][0]&&o[0].length>2&&(c=["L",l.x,l.y],o[o.length-1]=c),s.push(o[0]);for(var u=1;u2&&"L"==h[0]&&p.length>2&&"L"==p[0]){var f,g,m=a(d),v=a(h),y=a(p);f=n(v,m,t),g=n(v,y,t),i(h,f),h.origPoint=v,s.push(h);var b=r(f,v,.5),x=r(v,g,.5),w=["C",b.x,b.y,x.x,x.y,g.x,g.y];w.origPoint=v,s.push(w)}else s.push(h)}if(c){var S=a(s[s.length-1]);s.push(["Z"]),i(s[0],S)}}else s=o;return s.reduce((function(e,t){return e+t.join(" ")+" "}),"")}},{key:"drawLine",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:n,y2:r,stroke:i,"stroke-dasharray":a,"stroke-width":o,"stroke-linecap":s})}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w.globals.dom.Paper.rect();return u.attr({x:e,y:t,width:n>0?n:0,height:r>0?r:0,rx:i,ry:i,opacity:o,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),u.node.setAttribute("fill",a),u}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:r,stroke:t,"stroke-width":n})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e<0&&(e=0);var n=this.w.globals.dom.Paper.circle(2*e);return null!==t&&n.attr(t),n}},{key:"drawPath",value:function(e){var t=e.d,n=void 0===t?"":t,r=e.stroke,i=void 0===r?"#a8a8a8":r,a=e.strokeWidth,o=void 0===a?1:a,s=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,h=e.classes,p=e.strokeLinecap,f=void 0===p?null:p,g=e.strokeDashArray,m=void 0===g?0:g,v=this.w;return null===f&&(f=v.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(n).attr({fill:s,"fill-opacity":c,stroke:i,"stroke-opacity":d,"stroke-linecap":f,"stroke-width":o,"stroke-dasharray":m,class:h})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w.globals.dom.Paper.group();return null!==e&&t.attr(e),t}},{key:"move",value:function(e,t){var n=["M",e,t].join(" ");return n}},{key:"line",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null;return null===n?r=[" L",e,t].join(" "):"H"===n?r=[" H",e].join(" "):"V"===n&&(r=[" V",t].join(" ")),r}},{key:"curve",value:function(e,t,n,r,i,a){var o=["C",e,t,n,r,i,a].join(" ");return o}},{key:"quadraticCurve",value:function(e,t,n,r){return["Q",e,t,n,r].join(" ")}},{key:"arc",value:function(e,t,n,r,i,a,o){var s="A";arguments.length>7&&void 0!==arguments[7]&&arguments[7]&&(s="a");var l=[s,e,t,n,r,i,a,o].join(" ");return l}},{key:"renderPaths",value:function(e){var t,n=e.j,r=e.realIndex,i=e.pathFrom,o=e.pathTo,s=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,h=e.initialSpeed,p=e.dataChangeSpeed,f=e.className,g=e.shouldClipToGrid,m=void 0===g||g,v=e.bindEventsOnPaths,y=void 0===v||v,b=e.drawShadow,x=void 0===b||b,k=this.w,_=new S(this.ctx),C=new w(this.ctx),E=this.w.config.chart.animations.enabled,A=E&&this.w.config.chart.animations.dynamicAnimation.enabled,I=!!(E&&!k.globals.resized||A&&k.globals.dataChanged&&k.globals.shouldAnimate);I?t=i:(t=o,k.globals.animationEnded=!0);var T=k.config.stroke.dashArray,O=0;O=Array.isArray(T)?T[r]:k.config.stroke.dashArray;var N=this.drawPath({d:t,stroke:s,strokeWidth:l,fill:u,fillOpacity:1,classes:f,strokeLinecap:c,strokeDashArray:O});if(N.attr("index",r),m&&N.attr({"clip-path":"url(#gridRectMask".concat(k.globals.cuid,")")}),"none"!==k.config.states.normal.filter.type)_.getDefaultFilter(N,r);else if(k.config.chart.dropShadow.enabled&&x&&(!k.config.chart.dropShadow.enabledOnSeries||k.config.chart.dropShadow.enabledOnSeries&&-1!==k.config.chart.dropShadow.enabledOnSeries.indexOf(r))){var D=k.config.chart.dropShadow;_.dropShadow(N,D,r)}y&&(N.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,N)),N.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,N)),N.node.addEventListener("mousedown",this.pathMouseDown.bind(this,N))),N.attr({pathTo:o,pathFrom:i});var L={el:N,j:n,realIndex:r,pathFrom:i,pathTo:o,fill:u,strokeWidth:l,delay:d};return!E||k.globals.resized||k.globals.dataChanged?!k.globals.resized&&k.globals.dataChanged||C.showDelayedElements():C.animatePathsGradually(a(a({},L),{},{speed:h})),k.globals.dataChanged&&A&&I&&C.animatePathsGradually(a(a({},L),{},{speed:p})),N}},{key:"drawPattern",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,n,(function(a){"horizontalLines"===e?a.line(0,0,n,0).stroke({color:r,width:i+1}):"verticalLines"===e?a.line(0,0,0,t).stroke({color:r,width:i+1}):"slantedLines"===e?a.line(0,0,t,n).stroke({color:r,width:i}):"squares"===e?a.rect(t,n).fill("none").stroke({color:r,width:i}):"circles"===e&&a.circle(t).fill("none").stroke({color:r,width:i})}))}},{key:"drawGradient",value:function(e,t,n,r,i){var a,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=x.hexToRgba(t,r)),n.length<9&&0===n.indexOf("#")&&(n=x.hexToRgba(n,i));var d=0,h=1,p=1,f=null;null!==s&&(d=void 0!==s[0]?s[0]/100:0,h=void 0!==s[1]?s[1]/100:1,p=void 0!==s[2]?s[2]/100:1,f=void 0!==s[3]?s[3]/100:null);var g=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(a=null===l||0===l.length?u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){e.at(d,t,r),e.at(h,n,i),e.at(p,n,i),null!==f&&e.at(f,t,r)})):u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){(Array.isArray(l[c])?l[c]:l).forEach((function(t){e.at(t.offset/100,t.color,t.opacity)}))})),g){var m=u.globals.gridWidth/2,v=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?a.attr({gradientUnits:"userSpaceOnUse",cx:m,cy:v,r:o}):a.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?a.from(0,0).to(0,1):"diagonal"===e?a.from(0,0).to(1,1):"horizontal"===e?a.from(0,1).to(1,1):"diagonal2"===e&&a.from(1,0).to(0,1);return a}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,n=e.maxWidth,r=e.fontSize,i=e.fontFamily,a=this.getTextRects(t,r,i),o=a.width/t.length,s=Math.floor(n/o);return n-1){var s=n.globals.selectedDataPoints[i].indexOf(a);n.globals.selectedDataPoints[i].splice(s,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(e){Array.prototype.forEach.call(e,(function(e){e.node.setAttribute("selected","false"),r.getDefaultFilter(e,i)}))};u(l),u(c)}e.node.setAttribute("selected","true"),o="true",void 0===n.globals.selectedDataPoints[i]&&(n.globals.selectedDataPoints[i]=[]),n.globals.selectedDataPoints[i].push(a)}if("true"===o){var d=n.config.states.active.filter;if("none"!==d)r.applyFilter(e,i,d.type,d.value);else if("none"!==n.config.states.hover.filter&&!n.globals.isTouchDevice){var h=n.config.states.hover.filter;r.applyFilter(e,i,h.type,h.value)}}else"none"!==n.config.states.active.filter.type&&("none"===n.config.states.hover.filter.type||n.globals.isTouchDevice?r.getDefaultFilter(e,i):(h=n.config.states.hover.filter,r.applyFilter(e,i,h.type,h.value)));"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:i,dataPointIndex:a,w:n}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:i,dataPointIndex:a,w:n}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&"function"==typeof e.getBBox&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,n,r){var i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:n,foreColor:"#fff",opacity:0});r&&o.attr("transform",r),a.globals.dom.Paper.add(o);var s=o.bbox();return i||(s=o.node.getBoundingClientRect()),o.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(e,t,n){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=n/1.1)){for(var r=t.length-3;r>0;r-=3)if(e.getSubStringLength(0,r)<=n/1.1)return void(e.textContent=t.substring(0,r)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}}]),e}(),_=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.w,n=[];if(0===t.globals.series.length)return n;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce((function(e,t){return e+t}),0):this.w.globals.series[e].reduce((function(e,t){return e+t}),0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter((function(e){return null!==e})):this.w.config.series[e].data.filter((function(e){return null!==e}))).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(e,t,n){return e===n[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,n=e.slice();return t.config.xaxis.convertedCatToNumeric&&(n=e.map((function(e,n){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)}))),n}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(e){return e.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(e){return e.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(e){t=Math.max(t,e)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(e){t=Math.max(t,e.size)})),t>0&&(t+=e.config.markers.hover.sizeOffset+1),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(e,t){var n=0;if(Array.isArray(e))for(var r=0;re&&n.globals.seriesX[i][o]0&&(t=!0),{comboBarCount:n,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,n){return t.yaxis&&(t=e.extendYAxis(t,n)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),C=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===e.label.orientation){var r=null!==t?t:0,i=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(r,"']"));if(null!==i){var a=i.getBoundingClientRect();i.setAttribute("x",parseFloat(i.getAttribute("x"))-a.height+4),"top"===e.label.position?i.setAttribute("y",parseFloat(i.getAttribute("y"))+a.width):i.setAttribute("y",parseFloat(i.getAttribute("y"))-a.width);var o=this.annoCtx.graphics.rotateAroundCenter(i),s=o.x,l=o.y;i.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var n=this.w;if(!e||void 0===t.label.text||void 0!==t.label.text&&!String(t.label.text).trim())return null;var r=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),i=e.getBoundingClientRect(),a=t.label.style.padding.left,o=t.label.style.padding.right,s=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(s=t.label.style.padding.left,l=t.label.style.padding.right,a=t.label.style.padding.top,o=t.label.style.padding.bottom);var c=i.left-r.left-a,u=i.top-r.top-s,d=this.annoCtx.graphics.drawRect(c-n.globals.barPadForNumericAxis,u,i.width+a+o,i.height+s+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&d.node.classList.add(t.id),d}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,n=function(n,r,i){var a=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(i,"-annotations .apexcharts-").concat(i,"-annotation-label[rel='").concat(r,"']"));if(a){var o=a.parentNode,s=e.addBackgroundToAnno(a,n);s&&(o.insertBefore(s.node,a),n.label.mouseEnter&&s.node.addEventListener("mouseenter",n.label.mouseEnter.bind(e,n)),n.label.mouseLeave&&s.node.addEventListener("mouseleave",n.label.mouseLeave.bind(e,n)),n.label.click&&s.node.addEventListener("click",n.label.click.bind(e,n)))}};t.config.annotations.xaxis.map((function(e,t){n(e,t,"xaxis")})),t.config.annotations.yaxis.map((function(e,t){n(e,t,"yaxis")})),t.config.annotations.points.map((function(e,t){n(e,t,"point")}))}},{key:"getY1Y2",value:function(e,t){var n,r="y1"===e?t.y:t.y2,i=this.w;if(this.annoCtx.invertAxis){var a=i.globals.labels.indexOf(r);i.config.xaxis.convertedCatToNumeric&&(a=i.globals.categoryLabels.indexOf(r));var o=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(a+1)+")");o&&(n=parseFloat(o.getAttribute("y")))}else{var s;s=i.config.yaxis[t.yAxisIndex].logarithmic?(r=new _(this.annoCtx.ctx).getLogVal(r,t.yAxisIndex))/i.globals.yLogRatio[t.yAxisIndex]:(r-i.globals.minYArr[t.yAxisIndex])/(i.globals.yRange[t.yAxisIndex]/i.globals.gridHeight),n=i.globals.gridHeight-s,!t.marker||void 0!==t.y&&null!==t.y||(n=0),i.config.yaxis[t.yAxisIndex]&&i.config.yaxis[t.yAxisIndex].reversed&&(n=s)}return"string"==typeof r&&r.indexOf("px")>-1&&(n=parseFloat(r)),n}},{key:"getX1X2",value:function(e,t){var n=this.w,r=this.annoCtx.invertAxis?n.globals.minY:n.globals.minX,i=this.annoCtx.invertAxis?n.globals.maxY:n.globals.maxX,a=this.annoCtx.invertAxis?n.globals.yRange[0]:n.globals.xRange,o=(t.x-r)/(a/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(o=(i-t.x)/(a/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(o=this.getStringX(t.x));var s=(t.x2-r)/(a/n.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(s=(i-t.x2)/(a/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(s=this.getStringX(t.x2)),void 0!==t.x&&null!==t.x||!t.marker||(o=n.globals.gridWidth),"x1"===e&&"string"==typeof t.x&&t.x.indexOf("px")>-1&&(o=parseFloat(t.x)),"x2"===e&&"string"==typeof t.x2&&t.x2.indexOf("px")>-1&&(s=parseFloat(t.x2)),"x1"===e?o:s}},{key:"getStringX",value:function(e){var t=this.w,n=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var r=t.globals.labels.indexOf(e),i=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(r+1)+")");return i&&(n=parseFloat(i.getAttribute("x"))),n}}]),e}(),E=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new C(this.annoCtx)}return c(e,[{key:"addXaxisAnnotation",value:function(e,t,n){var r,i=this.w,a=this.helpers.getX1X2("x1",e),o=e.label.text,s=e.strokeDashArray;if(x.isNumber(a)){if(null===e.x2||void 0===e.x2){var l=this.annoCtx.graphics.drawLine(a+e.offsetX,0+e.offsetY,a+e.offsetX,i.globals.gridHeight+e.offsetY,e.borderColor,s,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((r=this.helpers.getX1X2("x2",e))o){var c=o;o=r,r=c}var u=this.annoCtx.graphics.drawRect(0+e.offsetX,r+e.offsetY,this._getYAxisAnnotationWidth(e),o-r,0,e.fillColor,e.opacity,1,e.borderColor,a);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(i.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d="right"===e.label.position?i.globals.gridWidth:"center"===e.label.position?i.globals.gridWidth/2:0,h=this.annoCtx.graphics.drawText({x:d+e.label.offsetX,y:(null!=r?r:o)+e.label.offsetY-3,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});h.attr({rel:n}),t.appendChild(h.node)}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map((function(t,r){e.addYaxisAnnotation(t,n.node,r)})),n}}]),e}(),I=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new C(this.annoCtx)}return c(e,[{key:"addPointAnnotation",value:function(e,t,n){this.w;var r=this.helpers.getX1X2("x1",e),i=this.helpers.getY1Y2("y1",e);if(x.isNumber(r)){var a={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},o=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,i+e.marker.offsetY,a);t.appendChild(o.node);var s=e.label.text?e.label.text:"",l=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:i+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(l.attr({rel:n}),t.appendChild(l.node),e.customSVG.SVG){var c=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});c.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(i+e.customSVG.offsetY,")")}),c.node.innerHTML=e.customSVG.SVG,t.appendChild(c.node)}if(e.image.path){var u=e.image.width?e.image.width:20,d=e.image.height?e.image.height:20;o=this.annoCtx.addImage({x:r+e.image.offsetX-u/2,y:i+e.image.offsetY-d/2,width:u,height:d,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&o.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&o.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&o.node.addEventListener("click",e.click.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(t,r){e.addPointAnnotation(t,n.node,r)})),n}}]),e}(),T={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},O=function(){function e(){s(this,e),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return c(e,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[T],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)/e.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),N=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.graphics=new k(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new C(this),this.xAxisAnnotations=new E(this),this.yAxisAnnotations=new A(this),this.pointsAnnotations=new I(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return c(e,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),n=this.xAxisAnnotations.drawXAxisAnnotations(),r=this.pointsAnnotations.drawPointAnnotations(),i=e.config.chart.animations.enabled,a=[t,n,r],o=[n.node,t.node,r.node],s=0;s<3;s++)e.globals.dom.elGraphical.add(a[s]),!i||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&o[s].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[s],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,n){e.addImage(t,n)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,n){e.addText(t,n)}))}},{key:"addXaxisAnnotation",value:function(e,t,n){this.xAxisAnnotations.addXaxisAnnotation(e,t,n)}},{key:"addYaxisAnnotation",value:function(e,t,n){this.yAxisAnnotations.addYaxisAnnotation(e,t,n)}},{key:"addPointAnnotation",value:function(e,t,n){this.pointsAnnotations.addPointAnnotation(e,t,n)}},{key:"addText",value:function(e,t){var n=e.x,r=e.y,i=e.text,a=e.textAnchor,o=e.foreColor,s=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,h=e.borderWidth,p=e.strokeDashArray,f=e.borderRadius,g=e.borderColor,m=e.appendTo,v=void 0===m?".apexcharts-annotations":m,y=e.paddingLeft,b=void 0===y?4:y,x=e.paddingRight,w=void 0===x?4:x,S=e.paddingBottom,k=void 0===S?2:S,_=e.paddingTop,C=void 0===_?2:_,E=this.w,A=this.graphics.drawText({x:n,y:r,text:i,textAnchor:a||"start",fontSize:s||"12px",fontWeight:c||"regular",fontFamily:l||E.config.chart.fontFamily,foreColor:o||E.config.chart.foreColor,cssClass:u}),I=E.globals.dom.baseEl.querySelector(v);I&&I.appendChild(A.node);var T=A.bbox();if(i){var O=this.graphics.drawRect(T.x-b,T.y-C,T.width+b+w,T.height+k+C,f,d||"transparent",1,h,g,p);I.insertBefore(O.node,A.node)}}},{key:"addImage",value:function(e,t){var n=this.w,r=e.path,i=e.x,a=void 0===i?0:i,o=e.y,s=void 0===o?0:o,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,h=e.appendTo,p=void 0===h?".apexcharts-annotations":h,f=n.globals.dom.Paper.image(r);f.size(c,d).move(a,s);var g=n.globals.dom.baseEl.querySelector(p);return g&&g.appendChild(f.node),f}},{key:"addXaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addPointAnnotationExternal",value:function(e,t,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addAnnotationExternal",value:function(e){var t=e.params,n=e.pushToMemory,r=e.context,i=e.type,a=e.contextMethod,o=r,s=o.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(i,"-annotations")),c=l.childNodes.length+1,u=new O,d=Object.assign({},"xaxis"===i?u.xAxisAnnotation:"yaxis"===i?u.yAxisAnnotation:u.pointAnnotation),h=x.extend(d,t);switch(i){case"xaxis":this.addXaxisAnnotation(h,l,c);break;case"yaxis":this.addYaxisAnnotation(h,l,c);break;case"point":this.addPointAnnotation(h,l,c)}var p=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(i,"-annotations .apexcharts-").concat(i,"-annotation-label[rel='").concat(c,"']")),f=this.helpers.addBackgroundToAnno(p,h);return f&&l.insertBefore(f.node,p),n&&s.globals.memory.methodsToExec.push({context:o,id:h.id?h.id:x.randomId(),method:a,label:"addAnnotation",params:t}),r}},{key:"clearAnnotations",value:function(e){var t=e.w,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map((function(e,n){"addText"!==e.label&&"addAnnotation"!==e.label||t.globals.memory.methodsToExec.splice(n,1)})),n=x.listToArray(n),Array.prototype.forEach.call(n,(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var n=e.w,r=n.globals.dom.baseEl.querySelectorAll(".".concat(t));r&&(n.globals.memory.methodsToExec.map((function(e,r){e.id===t&&n.globals.memory.methodsToExec.splice(r,1)})),Array.prototype.forEach.call(r,(function(e){e.parentElement.removeChild(e)})))}}]),e}(),D=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return c(e,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var n=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(n)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var n=this.w.globals.locale,r=this.w.config.xaxis.labels.datetimeUTC,i=["\0"].concat(v(n.months)),a=[""].concat(v(n.shortMonths)),o=[""].concat(v(n.days)),s=[""].concat(v(n.shortDays));function l(e,t){var n=e+"";for(t=t||2;n.length12?h-12:0===h?12:h;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(h))).replace(/(^|[^\\])H/g,"$1"+h)).replace(/(^|[^\\])hh+/g,"$1"+l(p))).replace(/(^|[^\\])h/g,"$1"+p);var f=r?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(f))).replace(/(^|[^\\])m/g,"$1"+f);var g=r?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(g))).replace(/(^|[^\\])s/g,"$1"+g);var m=r?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(m,3)),m=Math.round(m/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(m)),m=Math.round(m/10);var y=h<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+m)).replace(/(^|[^\\])TT+/g,"$1"+y)).replace(/(^|[^\\])T/g,"$1"+y.charAt(0));var b=y.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+b)).replace(/(^|[^\\])t/g,"$1"+b.charAt(0));var x=-e.getTimezoneOffset(),w=r||!x?"Z":x>0?"+":"-";if(!r){var S=(x=Math.abs(x))%60;w+=l(Math.floor(x/60))+":"+l(S)}t=t.replace(/(^|[^\\])K/g,"$1"+w);var k=(r?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[k])).replace(new RegExp(s[0],"g"),s[k])).replace(new RegExp(i[0],"g"),i[u])).replace(new RegExp(a[0],"g"),a[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,n){var r=this.w;void 0!==r.config.xaxis.min&&(e=r.config.xaxis.min),void 0!==r.config.xaxis.max&&(t=r.config.xaxis.max);var i=this.getDate(e),a=this.getDate(t),o=this.formatDate(i,"yyyy MM dd HH mm ss fff").split(" "),s=this.formatDate(a,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(s[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(s[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(s[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(s[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(s[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(s[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(s[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,n){return this.determineDaysOfMonths(e,t)-n}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,n){var r=this.daysCntOfYear[t]+n;return t>1&&this.isLeapYear()&&r++,r}},{key:"determineDaysOfMonths",value:function(e,t){var n=30;switch(e=x.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(n=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:n=31}return n}}]),e}(),L=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.tooltipKeyFormat="dd MMM"}return c(e,[{key:"xLabelFormat",value:function(e,t,n,r){var i=this.w;if("datetime"===i.config.xaxis.type&&void 0===i.config.xaxis.labels.formatter&&void 0===i.config.tooltip.x.formatter){var a=new D(this.ctx);return a.formatDate(a.getDate(t),i.config.tooltip.x.format)}return e(t,n,r)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(e){return e})):e}},{key:"defaultYFormatter",value:function(e,t,n){var r=this.w;return x.isNumber(e)&&(e=0!==r.globals.yValueDecimal?e.toFixed(void 0!==t.decimalsInFloat?t.decimalsInFloat:r.globals.yValueDecimal):r.globals.maxYArr[n]-r.globals.minYArr[n]<5?e.toFixed(1):e.toFixed(0)),e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttKeyFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttZFormatter=function(e){return e},t.globals.legendFormatter=function(t){return e.defaultGeneralFormatter(t)},void 0!==t.config.xaxis.labels.formatter?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(e){if(x.isNumber(e)){if(!t.config.xaxis.convertedCatToNumeric&&"numeric"===t.config.xaxis.type){if(x.isNumber(t.config.xaxis.decimalsInFloat))return e.toFixed(t.config.xaxis.decimalsInFloat);var n=t.globals.maxX-t.globals.minX;return n>0&&n<100?e.toFixed(1):e.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?e.toFixed(1):e.toFixed(0)}return e},"function"==typeof t.config.tooltip.x.formatter?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||void 0!==t.config.tooltip.y.formatter)&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(n,r){void 0!==n.labels.formatter?t.globals.yLabelFormatters[r]=n.labels.formatter:t.globals.yLabelFormatters[r]=function(i){return t.globals.xyCharts?Array.isArray(i)?i.map((function(t){return e.defaultYFormatter(t,n,r)})):e.defaultYFormatter(i,n,r):i}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(e,t){return e.length>t.length?e:t}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),P=function(e){var t,n=e.isTimeline,r=e.ctx,i=e.seriesIndex,a=e.dataPointIndex,o=e.y1,s=e.y2,l=e.w,c=l.globals.seriesRangeStart[i][a],u=l.globals.seriesRangeEnd[i][a],d=l.globals.labels[a],h=l.config.series[i].name?l.config.series[i].name:"",p=l.globals.ttKeyFormatter,f=l.config.tooltip.y.title.formatter,g={w:l,seriesIndex:i,dataPointIndex:a,start:c,end:u};"function"==typeof f&&(h=f(h,g)),null!==(t=l.config.series[i].data[a])&&void 0!==t&&t.x&&(d=l.config.series[i].data[a].x),n||"datetime"===l.config.xaxis.type&&(d=new L(r).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new D(r).formatDate,w:l})),"function"==typeof p&&(d=p(d,g)),Number.isFinite(o)&&Number.isFinite(s)&&(c=o,u=s);var m="",v="",y=l.globals.colors[i];if(void 0===l.config.tooltip.x.formatter)if("datetime"===l.config.xaxis.type){var b=new D(r);m=b.formatDate(b.getDate(c),l.config.tooltip.x.format),v=b.formatDate(b.getDate(u),l.config.tooltip.x.format)}else m=c,v=u;else m=l.config.tooltip.x.formatter(c),v=l.config.tooltip.x.formatter(u);return{start:c,end:u,startVal:m,endVal:v,ylabel:d,color:y,seriesName:h}},F=function(e){var t=e.color,n=e.seriesName,r=e.ylabel,i=e.start,a=e.end,o=e.seriesIndex,s=e.dataPointIndex,l=e.ctx.tooltip.tooltipLabels.getFormatters(o);i=l.yLbFormatter(i),a=l.yLbFormatter(a);var c=l.yLbFormatter(e.w.globals.series[o][s]),u='\n '.concat(i,'\n - \n ').concat(a,"\n ");return'
'+(n||"")+'
'+r+": "+(e.w.globals.comboCharts?"rangeArea"===e.w.config.series[o].type||"rangeBar"===e.w.config.series[o].type?u:"".concat(c,""):u)+"
"},U=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0,x.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,r=t.dataPointIndex,i=t.w;return e._getBoxTooltip(i,n,r,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,r=t.dataPointIndex,i=t.w;return e._getBoxTooltip(i,n,r,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var n=t.seriesIndex,r=t.dataPointIndex,i=t.w,a=function(){var e=i.globals.seriesRangeStart[n][r];return i.globals.seriesRangeEnd[n][r]-e};return i.globals.comboCharts?"rangeBar"===i.config.series[n].type||"rangeArea"===i.config.series[n].type?a():e:a()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=P(a(a({},e),{},{isTimeline:!0})),n=t.color,r=t.seriesName,i=t.ylabel,o=t.startVal,s=t.endVal;return F(a(a({},e),{},{color:n,seriesName:r,ylabel:i,start:o,end:s}))}(e):function(e){var t=P(e),n=t.color,r=t.seriesName,i=t.ylabel,o=t.start,s=t.end;return F(a(a({},e),{},{color:n,seriesName:r,ylabel:i,start:o,end:s}))}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,n;return null!==(t=e.plotOptions.bar)&&void 0!==t&&t.barHeight||(e.plotOptions.bar.barHeight=2),null!==(n=e.plotOptions.bar)&&void 0!==n&&n.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return function(e){var t=P(e),n=t.color,r=t.seriesName,i=t.ylabel,o=t.start,s=t.end;return F(a(a({},e),{},{color:n,seriesName:r,ylabel:i,start:o,end:s}))}(e)}}}}},{key:"brush",value:function(e){return x.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})),"bar"===e.chart.type&&(e.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),e}},{key:"stackedBars",value:function(){var e=this.bar();return a(a({},e),{},{plotOptions:a(a({},e.plotOptions),{},{bar:a(a({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,n){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return x.isNumber(e)?Math.floor(e):e};var r=e.xaxis.labels.formatter,i=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return n&&n.length&&(i=n.map((function(e){return Array.isArray(e)?e:String(e)}))),i&&i.length&&(e.xaxis.labels.formatter=function(e){return x.isNumber(e)?r(i[Math.floor(e)-1]):r(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(e,t,n,r,i){var a=e.globals.seriesCandleO[t][n],o=e.globals.seriesCandleH[t][n],s=e.globals.seriesCandleM[t][n],l=e.globals.seriesCandleL[t][n],c=e.globals.seriesCandleC[t][n];return e.config.series[t].type&&e.config.series[t].type!==i?'
\n '.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": ").concat(e.globals.series[t][n],"\n
"):'
')+"
".concat(r[0],': ')+a+"
"+"
".concat(r[1],': ')+o+"
"+(s?"
".concat(r[2],': ')+s+"
":"")+"
".concat(r[3],': ')+l+"
"+"
".concat(r[4],': ')+c+"
"}}]),e}(),M=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(e){var t=e.responsiveOverride,n=this.opts,r=new O,i=new U(n);this.chartType=n.chart.type,n=this.extendYAxis(n),n=this.extendAnnotations(n);var a=r.init(),s={};if(n&&"object"===o(n)){var l,c,u,d,h,p,f={};f=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(n.chart.type)?i[n.chart.type]():i.line(),n.chart.stacked&&"bar"===n.chart.type&&(f=i.stackedBars()),null!==(l=n.chart.brush)&&void 0!==l&&l.enabled&&(f=i.brush(f)),n.chart.stacked&&"100%"===n.chart.stackType&&(n=i.stacked100(n)),null!==(c=n.plotOptions)&&void 0!==c&&null!==(u=c.bar)&&void 0!==u&&u.isDumbbell&&(n=i.dumbbell(n)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(n),n.xaxis=n.xaxis||window.Apex.xaxis||{},t||(n.xaxis.convertedCatToNumeric=!1),(null!==(d=(n=this.checkForCatToNumericXAxis(this.chartType,f,n)).chart.sparkline)&&void 0!==d&&d.enabled||null!==(h=window.Apex.chart)&&void 0!==h&&null!==(p=h.sparkline)&&void 0!==p&&p.enabled)&&(f=i.sparkline(f)),s=x.extend(a,f)}var g=x.extend(s,window.Apex);return a=x.extend(g,n),this.handleUserInputErrors(a)}},{key:"checkForCatToNumericXAxis",value:function(e,t,n){var r,i,a=new U(n),o=("bar"===e||"boxPlot"===e)&&(null===(r=n.plotOptions)||void 0===r||null===(i=r.bar)||void 0===i?void 0:i.horizontal),s="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,l="datetime"!==n.xaxis.type&&"numeric"!==n.xaxis.type,c=n.xaxis.tickPlacement?n.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||s||!l||"between"===c||(n=a.convertCatToNumeric(n)),n}},{key:"extendYAxis",value:function(e,t){var n=new O;(void 0===e.yaxis||!e.yaxis||Array.isArray(e.yaxis)&&0===e.yaxis.length)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=x.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[x.extend(n.yAxis,e.yaxis)]:e.yaxis=x.extendArray(e.yaxis,n.yAxis);var r=!1;e.yaxis.forEach((function(e){e.logarithmic&&(r=!0)}));var i=e.series;return t&&!i&&(i=t.config.series),r&&i.length!==e.yaxis.length&&i.length&&(e.yaxis=i.map((function(t,r){if(t.name||(i[r].name="series-".concat(r+1)),e.yaxis[r])return e.yaxis[r].seriesName=i[r].name,e.yaxis[r];var a=x.extend(n.yAxis,e.yaxis[0]);return a.show=!1,a}))),r&&i.length>1&&i.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),e}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new O;return e.annotations.yaxis=x.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new O;return e.annotations.xaxis=x.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new O;return e.annotations.points=x.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===t.chart.type&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&"barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),"candlestick"!==t.chart.type&&"boxPlot"!==t.chart.type||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),e}(),R=function(){function e(){s(this,e)}return c(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=x.extend({},e),t.initialSeries=x.clone(e.series),t.lastXAxis=x.clone(t.initialConfig.xaxis),t.lastYAxis=x.clone(t.initialConfig.yaxis),t}}]),e}(),j=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(){var e=new M(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new R).init(e)}}}]),e}(),V=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0}return c(e,[{key:"clippedImgArea",value:function(e){var t=this.w,n=t.config,r=parseInt(t.globals.gridWidth,10),i=parseInt(t.globals.gridHeight,10),a=r>i?r:i,o=e.image,s=0,l=0;void 0===e.width&&void 0===e.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(s=n.fill.image.width+1,l=n.fill.image.height):(s=a+1,l=a):(s=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");k.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",o),k.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||"heatmap"===t.config.chart.type||"treemap"===t.config.chart.type?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var n,r,i,a=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var o=this.getFillColors()[this.seriesIndex];void 0!==t.globals.seriesColors[this.seriesIndex]&&(o=t.globals.seriesColors[this.seriesIndex]),"function"==typeof o&&(o=o({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var s=e.fillType?e.fillType:this.getFillType(this.seriesIndex),l=Array.isArray(a.fill.opacity)?a.fill.opacity[this.seriesIndex]:a.fill.opacity;e.color&&(o=e.color);var c=o;if(-1===o.indexOf("rgb")?o.length<9&&(c=x.hexToRgba(o,l)):o.indexOf("rgba")>-1&&(l=x.getOpacityFromRGBA(o)),e.opacity&&(l=e.opacity),"pattern"===s&&(r=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:r,fillColor:o,fillOpacity:l,defaultColor:c})),"gradient"===s&&(i=this.handleGradientFill({fillConfig:e.fillConfig,fillColor:o,fillOpacity:l,i:this.seriesIndex})),"image"===s){var u=a.fill.image.src,d=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?e.seriesNumber-1&&(p=x.getOpacityFromRGBA(h));var f=void 0===o.gradient.opacityTo?n:Array.isArray(o.gradient.opacityTo)?o.gradient.opacityTo[i]:o.gradient.opacityTo;if(void 0===o.gradient.gradientToColors||0===o.gradient.gradientToColors.length)s="dark"===o.gradient.shade?u.shadeColor(-1*parseFloat(o.gradient.shadeIntensity),t.indexOf("rgb")>-1?x.rgb2hex(t):t):u.shadeColor(parseFloat(o.gradient.shadeIntensity),t.indexOf("rgb")>-1?x.rgb2hex(t):t);else if(o.gradient.gradientToColors[l.seriesNumber]){var g=o.gradient.gradientToColors[l.seriesNumber];s=g,g.indexOf("rgba")>-1&&(f=x.getOpacityFromRGBA(g))}else s=t;if(o.gradient.gradientFrom&&(h=o.gradient.gradientFrom),o.gradient.gradientTo&&(s=o.gradient.gradientTo),o.gradient.inverseColors){var m=h;h=s,s=m}return h.indexOf("rgb")>-1&&(h=x.rgb2hex(h)),s.indexOf("rgb")>-1&&(s=x.rgb2hex(s)),c.drawGradient(d,h,s,p,f,l.size,o.gradient.stops,o.gradient.colorStops,i)}}]),e}(),z=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length4&&void 0!==arguments[4]&&arguments[4],o=this.w,s=t,l=e,c=null,u=new k(this.ctx),d=o.config.markers.discrete&&o.config.markers.discrete.length;if((o.globals.markers.size[t]>0||a||d)&&(c=u.group({class:a||d?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(o.globals.cuid,")")),Array.isArray(l.x))for(var h=0;h0:o.config.markers.size>0)||a||d){x.isNumber(l.y[h])?f+=" w".concat(x.randomId()):f="apexcharts-nullpoint";var g=this.getMarkerConfig({cssClass:f,seriesIndex:t,dataPointIndex:p});o.config.series[s].data[p]&&(o.config.series[s].data[p].fillColor&&(g.pointFillColor=o.config.series[s].data[p].fillColor),o.config.series[s].data[p].strokeColor&&(g.pointStrokeColor=o.config.series[s].data[p].strokeColor)),r&&(g.pSize=r),(l.x[h]<0||l.x[h]>o.globals.gridWidth||l.y[h]<0||l.y[h]>o.globals.gridHeight)&&(g.pSize=0),(i=u.drawMarker(l.x[h],l.y[h],g)).attr("rel",p),i.attr("j",p),i.attr("index",t),i.node.setAttribute("default-marker-size",g.pSize),new S(this.ctx).setSelectionFilter(i,t,p),this.addEvents(i),c&&c.add(i)}else void 0===o.globals.pointsArray[t]&&(o.globals.pointsArray[t]=[]),o.globals.pointsArray[t].push([l.x[h],l.y[h]])}return c}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,n=e.seriesIndex,r=e.dataPointIndex,i=void 0===r?null:r,a=e.finishRadius,o=void 0===a?null:a,s=this.w,l=this.getMarkerStyle(n),c=s.globals.markers.size[n],u=s.config.markers;return null!==i&&u.discrete.length&&u.discrete.map((function(e){e.seriesIndex===n&&e.dataPointIndex===i&&(l.pointStrokeColor=e.strokeColor,l.pointFillColor=e.fillColor,c=e.size,l.pointShape=e.shape)})),{pSize:null===o?c:o,pRadius:u.radius,width:Array.isArray(u.width)?u.width[n]:u.width,height:Array.isArray(u.height)?u.height[n]:u.height,pointStrokeWidth:Array.isArray(u.strokeWidth)?u.strokeWidth[n]:u.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(u.shape)?u.shape[n]:u.shape),class:t,pointStrokeOpacity:Array.isArray(u.strokeOpacity)?u.strokeOpacity[n]:u.strokeOpacity,pointStrokeDashArray:Array.isArray(u.strokeDashArray)?u.strokeDashArray[n]:u.strokeDashArray,pointFillOpacity:Array.isArray(u.fillOpacity)?u.fillOpacity[n]:u.fillOpacity,seriesIndex:n}}},{key:"addEvents",value:function(e){var t=this.w,n=new k(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,n=t.globals.markers.colors,r=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(r)?r[e]:r,pointFillColor:Array.isArray(n)?n[e]:n}}}]),e}(),H=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return c(e,[{key:"draw",value:function(e,t,n){var r=this.w,i=new k(this.ctx),a=n.realIndex,o=n.pointsPos,s=n.zRatio,l=n.elParent,c=i.group({class:"apexcharts-series-markers apexcharts-series-".concat(r.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),Array.isArray(o.x))for(var u=0;ug.maxBubbleRadius&&(f=g.maxBubbleRadius)}r.config.chart.animations.enabled||(p=f);var m=o.x[u],v=o.y[u];if(p=p||0,null!==v&&void 0!==r.globals.series[a][d]||(h=!1),h){var y=this.drawPoint(m,v,p,f,a,d,t);c.add(y)}l.add(c)}}},{key:"drawPoint",value:function(e,t,n,r,i,a,o){var s=this.w,l=i,c=new w(this.ctx),u=new S(this.ctx),d=new V(this.ctx),h=new z(this.ctx),p=new k(this.ctx),f=h.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:a,finishRadius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[i]&&"bubble"===s.config.series[i].type?r:null});r=f.pSize;var g,m=d.fillPath({seriesNumber:i,dataPointIndex:a,color:f.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[i][o]});if("circle"===f.shape?g=p.drawCircle(n):"square"!==f.shape&&"rect"!==f.shape||(g=p.drawRect(0,0,f.width-f.pointStrokeWidth/2,f.height-f.pointStrokeWidth/2,f.pRadius)),s.config.series[l].data[a]&&s.config.series[l].data[a].fillColor&&(m=s.config.series[l].data[a].fillColor),g.attr({x:e-f.width/2-f.pointStrokeWidth/2,y:t-f.height/2-f.pointStrokeWidth/2,cx:e,cy:t,fill:m,"fill-opacity":f.pointFillOpacity,stroke:f.pointStrokeColor,r:r,"stroke-width":f.pointStrokeWidth,"stroke-dasharray":f.pointStrokeDashArray,"stroke-opacity":f.pointStrokeOpacity}),s.config.chart.dropShadow.enabled){var v=s.config.chart.dropShadow;u.dropShadow(g,v,i)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var y=s.config.chart.animations.speed;c.animateMarker(g,0,"circle"===f.shape?r:{width:f.width,height:f.height},y,s.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(g)}),100)}))}if(s.globals.dataChanged&&"circle"===f.shape)if(this.dynamicAnim){var b,x,_,C,E=s.config.chart.animations.dynamicAnimation.speed;null!=(C=s.globals.previousPaths[i]&&s.globals.previousPaths[i][o])&&(b=C.x,x=C.y,_=void 0!==C.r?C.r:r);for(var A=0;As.globals.gridHeight+d&&(t=s.globals.gridHeight+d/2),void 0===s.globals.dataLabelsRects[r]&&(s.globals.dataLabelsRects[r]=[]),s.globals.dataLabelsRects[r].push({x:e,y:t,width:u,height:d});var h=s.globals.dataLabelsRects[r].length-2,p=void 0!==s.globals.lastDrawnDataLabelsIndexes[r]?s.globals.lastDrawnDataLabelsIndexes[r][s.globals.lastDrawnDataLabelsIndexes[r].length-1]:0;if(void 0!==s.globals.dataLabelsRects[r][h]){var f=s.globals.dataLabelsRects[r][p];(e>f.x+f.width+2||t>f.y+f.height+2||e+ut.globals.gridWidth+g.textRects.width+10)&&(s="");var m=t.globals.dataLabels.style.colors[a];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(m=t.globals.dataLabels.style.colors[o]),"function"==typeof m&&(m=m({series:t.globals.series,seriesIndex:a,dataPointIndex:o,w:t})),h&&(m=h);var v=d.offsetX,y=d.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(v=0,y=0),g.drawnextLabel){var b=n.drawText({width:100,height:parseInt(d.style.fontSize,10),x:r+v,y:i+y,foreColor:m,textAnchor:l||d.textAnchor,text:s,fontSize:c||d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight||"normal"});if(b.attr({class:"apexcharts-datalabel",cx:r,cy:i}),d.dropShadow.enabled){var x=d.dropShadow;new S(this.ctx).dropShadow(b,x)}u.add(b),void 0===t.globals.lastDrawnDataLabelsIndexes[a]&&(t.globals.lastDrawnDataLabelsIndexes[a]=[]),t.globals.lastDrawnDataLabelsIndexes[a].push(o)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var n=this.w,r=n.config.dataLabels.background,i=r.padding,a=r.padding/2,o=t.width,s=t.height,l=new k(this.ctx).drawRect(t.x-i,t.y-a/2,o+2*i,s+a,r.borderRadius,"transparent"===n.config.chart.background?"#fff":n.config.chart.background,r.opacity,r.borderWidth,r.borderColor);return r.dropShadow.enabled&&new S(this.ctx).dropShadow(l,r.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),n=0;n0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w,i=x.clone(r.globals.initialSeries);r.globals.previousPaths=[],n?(r.globals.collapsedSeries=[],r.globals.ancillaryCollapsedSeries=[],r.globals.collapsedSeriesIndices=[],r.globals.ancillaryCollapsedSeriesIndices=[]):i=this.emptyCollapsedSeries(i),r.config.series=i,e&&(t&&(r.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(i,r.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,n=0;n-1&&(e[n].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var n=this.w;t||(t=e.target);var r=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===e.type){var i=parseInt(t.getAttribute("rel"),10)-1,a=null,o=null;n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?(a=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(i,"']")),o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(i,"']"))):a=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(i+1,"']")):a=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(i+1,"'] path"));for(var s=0;s=e.from&&r<=e.to&&i[t].classList.remove(n.legendInactiveClass)}}(r.config.plotOptions.heatmap.colorScale.ranges[o])}else"mouseout"===e.type&&a("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"asc",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.w,r=0;if(n.config.series.length>1)for(var i=n.config.series.map((function(e,r){return e.data&&e.data.length>0&&-1===n.globals.collapsedSeriesIndices.indexOf(r)&&(!n.globals.comboCharts||0===t.length||t.length&&t.indexOf(n.config.series[r].type)>-1)?r:-1})),a="asc"===e?0:i.length-1;"asc"===e?a=0;"asc"===e?a++:a--)if(-1!==i[a]){r=i[a];break}return r}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map((function(e,t){return"bar"===e.type||"column"===e.type?t:-1})).filter((function(e){return-1!==e})):this.w.config.series.map((function(e,t){return t}))}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,n,r){for(var i=t[n].childNodes,a={type:r,paths:[],realIndex:t[n].getAttribute("data:realIndex")},o=0;o0)for(var r=function(t){for(var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(t,"'] rect")),r=[],i=function(e){var t=function(t){return n[e].getAttribute(t)},i={x:parseFloat(t("x")),y:parseFloat(t("y")),width:parseFloat(t("width")),height:parseFloat(t("height"))};r.push({rect:i,color:n[e].getAttribute("color")})},a=0;a0)for(var r=0;r0?e:[]}));return e}}]),e}(),$=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new _(this.ctx)}return c(e,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new W(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new W(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var n=this.w.config,r=this.w.globals,i="boxPlot"===n.chart.type||"boxPlot"===n.series[t].type,a=0;a=5?this.twoDSeries.push(x.parseNumber(e[t].data[a][4])):this.twoDSeries.push(x.parseNumber(e[t].data[a][1])),r.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var o=new Date(e[t].data[a][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(e[t].data[a][0]);for(var s=0;s-1&&(a=this.activeSeriesIndex);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:this.ctx,i=this.w.config,a=this.w.globals,o=new D(r),s=i.labels.length>0?i.labels.slice():i.xaxis.categories.slice();if(a.isRangeBar="rangeBar"===i.chart.type&&a.isBarHorizontal,a.hasXaxisGroups="category"===i.xaxis.type&&i.xaxis.group.groups.length>0,a.hasXaxisGroups&&(a.groups=i.xaxis.group.groups),a.hasSeriesGroups=null===(t=e[0])||void 0===t?void 0:t.group,a.hasSeriesGroups){var l=[],c=v(new Set(e.map((function(e){return e.group}))));e.forEach((function(e,t){var n=c.indexOf(e.group);l[n]||(l[n]=[]),l[n].push(e.name)})),a.seriesGroups=l}for(var u=function(){for(var e=0;e0&&(this.twoDSeriesX=s,a.seriesX.push(this.twoDSeriesX))),a.labels.push(this.twoDSeriesX);var h=e[d].data.map((function(e){return x.parseNumber(e)}));a.series.push(h)}a.seriesZ.push(this.threeDSeries),void 0!==e[d].name?a.seriesNames.push(e[d].name):a.seriesNames.push("series-"+parseInt(d+1,10)),void 0!==e[d].color?a.seriesColors.push(e[d].color):a.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,n=this.w.config;t.series=e.slice(),t.seriesNames=n.labels.slice();for(var r=0;r0?n.labels=t.xaxis.categories:t.labels.length>0?n.labels=t.labels.slice():this.fallbackToCategory?(n.labels=n.labels[0],n.seriesRange.length&&(n.seriesRange.map((function(e){e.forEach((function(e){n.labels.indexOf(e.x)<0&&e.x&&n.labels.push(e.x)}))})),n.labels=n.labels.filter((function(e,t,n){return n.indexOf(e)===t}))),t.xaxis.convertedCatToNumeric&&(new U(t).convertCatToNumericXaxis(t,this.ctx,n.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,n=this.w.config,r=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var i=n.series.map((function(e,t){return e.data.filter((function(e,t,n){return n.findIndex((function(t){return t.x===e.x}))===t}))})),a=i.reduce((function(e,t,n,r){return r[e].length>t.length?e:n}),0),o=0;o4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],c=this.w,u=void 0===e[r]?"":e[r],d=u,h=c.globals.xLabelFormatter,p=c.config.xaxis.labels.formatter,f=!1,g=new L(this.ctx),m=u;l&&(d=g.xLabelFormat(h,u,m,{i:r,dateFormatter:new D(this.ctx).formatDate,w:c}),void 0!==p&&(d=p(u,e[r],{i:r,dateFormatter:new D(this.ctx).formatDate,w:c}))),t.length>0?(i=t[r].unit,a=null,t.forEach((function(e){"month"===e.unit?a="year":"day"===e.unit?a="month":"hour"===e.unit?a="day":"minute"===e.unit&&(a="hour")})),f=a===i,n=t[r].position,d=t[r].value):"datetime"===c.config.xaxis.type&&void 0===p&&(d=""),void 0===d&&(d=""),d=Array.isArray(d)?d:d.toString();var v=new k(this.ctx),y={};y=c.globals.rotateXLabels&&l?v.getTextRects(d,parseInt(s,10),null,"rotate(".concat(c.config.xaxis.labels.rotate," 0 0)"),!1):v.getTextRects(d,parseInt(s,10));var b=!c.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(d)&&(0===d.indexOf("NaN")||0===d.toLowerCase().indexOf("invalid")||d.toLowerCase().indexOf("infinity")>=0||o.indexOf(d)>=0&&b)&&(d=""),{x:n,text:d,textRect:y,isBold:f}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,n){var r=this.w,i=r.config.xaxis.tickAmount;return"dataPoints"===i&&(i=Math.round(r.globals.gridWidth/120)),i>n||e%Math.round(n/(i+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,n,r,i){var a=this.w;if(0===e&&a.globals.skipFirstTimelinelabel&&(t.text=""),e===n-1&&a.globals.skipLastTimelinelabel&&(t.text=""),a.config.xaxis.labels.hideOverlappingLabels&&r.length>0){var o=i[i.length-1];t.x0){!0===s.config.yaxis[i].opposite&&(e+=r.width);for(var u=t;u>=0;u--){var d=c+t/10+s.config.yaxis[i].labels.offsetY-1;s.globals.isBarHorizontal&&(d=a*u),"heatmap"===s.config.chart.type&&(d+=a/2);var h=l.drawLine(e+n.offsetX-r.width+r.offsetX,d+r.offsetY,e+n.offsetX+r.offsetX,d+r.offsetY,r.color);o.add(h),c+=a}}}}]),e}(),Y=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"scaleSvgNode",value:function(e,t){var n=parseFloat(e.getAttributeNS(null,"width")),r=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",n*t),e.setAttributeNS(null,"height",r*t),e.setAttributeNS(null,"viewBox","0 0 "+n+" "+r)}},{key:"fixSvgStringForIe11",value:function(e){if(!x.isIE11())return e.replace(/ /g," ");var t=0,n=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,(function(e){return 2===++t?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':e}));return(n=n.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(e){null==e&&(e=1);var t=this.w.globals.dom.Paper.svg();if(1!==e){var n=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(n,e),t=(new XMLSerializer).serializeToString(n)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),n=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(r,(function(e){e.setAttribute("width",0)})),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),n&&n[0]&&(n[0].setAttribute("y",-100),n[0].setAttribute("y1",-100),n[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(n){var r=t.w,i=e?e.scale||e.width/r.globals.svgWidth:1;t.cleanup();var a=document.createElement("canvas");a.width=r.globals.svgWidth*i,a.height=parseInt(r.globals.dom.elWrap.style.height,10)*i;var o="transparent"===r.config.chart.background?"#fff":r.config.chart.background,s=a.getContext("2d");s.fillStyle=o,s.fillRect(0,0,a.width*i,a.height*i);var l=t.getSvgString(i);if(window.canvg&&x.isIE11()){var c=window.canvg.Canvg.fromString(s,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var u=a.msToBlob();c.stop(),n({blob:u})}else{var d="data:image/svg+xml,"+encodeURIComponent(l),h=new Image;h.crossOrigin="anonymous",h.onload=function(){if(s.drawImage(h,0,0),a.msToBlob){var e=a.msToBlob();n({blob:e})}else{var t=a.toDataURL("image/png");n({imgURI:t})}},h.src=d}}))}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then((function(t){var n=t.imgURI,r=t.blob;r?navigator.msSaveOrOpenBlob(r,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,n=e.series,r=e.fileName,i=e.columnDelimiter,a=void 0===i?",":i,o=e.lineDelimiter,s=void 0===o?"\n":o,l=this.w;n||(n=l.config.series);var c=[],u=[],d="",h=l.globals.series.map((function(e,t){return-1===l.globals.collapsedSeriesIndices.indexOf(t)?e:[]})),p=Math.max.apply(Math,v(n.map((function(e){return e.data?e.data.length:0})))),f=new $(this.ctx),g=new q(this.ctx),m=function(e){var n="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var r=l.globals.yLabelFormatters[0],i=new W(t.ctx).getActiveConfigSeriesIndex();n=r(l.globals.labels[e],{seriesIndex:i,dataPointIndex:e,w:l})}else n=g.getLabel(l.globals.labels,l.globals.timescaleLabels,0,e).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?n=l.config.xaxis.categories[e]:l.config.labels.length&&(n=l.config.labels[e]))}else n=l.config.labels[e];return Array.isArray(n)&&(n=n.join(" ")),x.isNumber(n)?n:n.split(a).join("")},y=function(e,t){if(c.length&&0===t&&u.push(c.join(a)),e.data){e.data=e.data.length&&e.data||v(Array(p)).map((function(){return""}));for(var r=0;r=10?l.config.chart.toolbar.export.csv.dateFormatter(i):x.isNumber(i)?i:i.split(a).join("")));for(var o=0;o0&&!r.globals.isBarHorizontal&&(this.xaxisLabels=r.globals.timescaleLabels.slice()),r.config.xaxis.overwriteCategories&&(this.xaxisLabels=r.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===r.config.xaxis.position?this.offY=0:this.offY=r.globals.gridHeight+1,this.offY=this.offY+r.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===r.config.chart.type&&r.config.plotOptions.bar.horizontal,this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.xaxisBorderWidth=r.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=r.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=r.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=r.config.xaxis.axisBorder.height,this.yaxis=r.config.yaxis[0]}return c(e,[{key:"drawXaxis",value:function(){var e=this.w,t=new k(this.ctx),n=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),r=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});n.add(r);for(var i=[],a=0;a6&&void 0!==arguments[6]?arguments[6]:{},c=[],u=[],d=this.w,h=l.xaxisFontSize||this.xaxisFontSize,p=l.xaxisFontFamily||this.xaxisFontFamily,f=l.xaxisForeColors||this.xaxisForeColors,g=l.fontWeight||d.config.xaxis.labels.style.fontWeight,m=l.cssClass||d.config.xaxis.labels.style.cssClass,v=d.globals.padHorizontal,y=r.length,b="category"===d.config.xaxis.type?d.globals.dataPoints:y;if(0===b&&y>b&&(b=y),i){var x=b>1?b-1:b;o=d.globals.gridWidth/x,v=v+a(0,o)/2+d.config.xaxis.labels.offsetX}else o=d.globals.gridWidth/b,v=v+a(0,o)+d.config.xaxis.labels.offsetX;for(var w=function(i){var l=v-a(i,o)/2+d.config.xaxis.labels.offsetX;0===i&&1===y&&o/2===v&&1===b&&(l=d.globals.gridWidth/2);var x=s.axesUtils.getLabel(r,d.globals.timescaleLabels,l,i,c,h,e),w=28;if(d.globals.rotateXLabels&&e&&(w=22),d.config.xaxis.title.text&&"top"===d.config.xaxis.position&&(w+=parseFloat(d.config.xaxis.title.style.fontSize)+2),e||(w=w+parseFloat(h)+(d.globals.xAxisLabelsHeight-d.globals.xAxisGroupLabelsHeight)+(d.globals.rotateXLabels?10:0)),x=void 0!==d.config.xaxis.tickAmount&&"dataPoints"!==d.config.xaxis.tickAmount&&"datetime"!==d.config.xaxis.type?s.axesUtils.checkLabelBasedOnTickamount(i,x,y):s.axesUtils.checkForOverflowingLabels(i,x,y,c,u),d.config.xaxis.labels.show){var S=t.drawText({x:x.x,y:s.offY+d.config.xaxis.labels.offsetY+w-("top"===d.config.xaxis.position?d.globals.xAxisHeight+d.config.xaxis.axisTicks.height-2:0),text:x.text,textAnchor:"middle",fontWeight:x.isBold?600:g,fontSize:h,fontFamily:p,foreColor:Array.isArray(f)?e&&d.config.xaxis.convertedCatToNumeric?f[d.globals.minX+i-1]:f[i]:f,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+m});if(n.add(S),S.on("click",(function(e){if("function"==typeof d.config.chart.events.xAxisLabelClick){var t=Object.assign({},d,{labelIndex:i});d.config.chart.events.xAxisLabelClick(e,s.ctx,t)}})),e){var k=document.createElementNS(d.globals.SVGNS,"title");k.textContent=Array.isArray(x.text)?x.text.join(" "):x.text,S.node.appendChild(k),""!==x.text&&(c.push(x.text),u.push(x))}}ir.globals.gridWidth)){var a=this.offY+r.config.xaxis.axisTicks.offsetY;if(t=t+a+r.config.xaxis.axisTicks.height,"top"===r.config.xaxis.position&&(t=a-r.config.xaxis.axisTicks.height),r.config.xaxis.axisTicks.show){var o=new k(this.ctx).drawLine(e+r.config.xaxis.axisTicks.offsetX,a+r.config.xaxis.offsetY,i+r.config.xaxis.axisTicks.offsetX,t+r.config.xaxis.offsetY,r.config.xaxis.axisTicks.color);n.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],n=this.xaxisLabels.length,r=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var i=0;i0){var c=i[i.length-1].getBBox(),u=i[0].getBBox();c.x<-20&&i[i.length-1].parentNode.removeChild(i[i.length-1]),u.x+u.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&i[0].parentNode.removeChild(i[0]);for(var d=0;d0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return c(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=new k(this.ctx);null===e&&(e=n.group({class:"apexcharts-grid"}));var r=n.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),i=n.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(i),e.add(r),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,n=new k(this.ctx),r=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var i=0;e.config.stroke.width.forEach((function(e){i=Math.max(i,e)})),r=i}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elForecastMask.setAttribute("id","forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(t.cuid));var a=e.config.chart.type,o=0,s=0;("bar"===a||"rangeBar"===a||"candlestick"===a||"boxPlot"===a||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(o=e.config.grid.padding.left,s=e.config.grid.padding.right,t.barPadForNumericAxis>o&&(o=t.barPadForNumericAxis,s=t.barPadForNumericAxis)),t.dom.elGridRect=n.drawRect(-r/2-o-2,-r/2,t.gridWidth+r+s+o+4,t.gridHeight+r,0,"#fff");var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=n.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.xCount,s=e.parent,l=this.w;if(!(0===t&&l.globals.skipFirstTimelinelabel||t===o-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type)){l.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:n,y1:r,x2:i,y2:a,xCount:o,parent:s});var c=0;if(l.globals.hasXaxisGroups&&"between"===l.config.xaxis.tickPlacement){var u=l.globals.groups;if(u){for(var d=0,h=0;d2));i++);return!e.globals.isBarHorizontal||this.isRangeBar?(n=this.xaxisLabels.length,this.isRangeBar&&(n--,r=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(n=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:n,tickAmount:r})):(n=r,r=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:n,tickAmount:r})),this.drawGridBands(n,r),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:e.globals.gridWidth/n}}},{key:"drawGridBands",value:function(e,t){var n=this.w;if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var r=0,i=n.globals.gridHeight/t,a=n.globals.gridWidth,o=0,s=0;o=n.config.grid.row.colors.length&&(s=0),this._drawGridBandRect({c:s,x1:0,y1:r,x2:a,y2:i,type:"row"}),r+=n.globals.gridHeight/t;if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var l=n.globals.isBarHorizontal||"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric?e:e-1,c=n.globals.padHorizontal,u=n.globals.padHorizontal+n.globals.gridWidth/l,d=n.globals.gridHeight,h=0,p=0;h=n.config.grid.column.colors.length&&(p=0),this._drawGridBandRect({c:p,x1:c,y1:0,x2:u,y2:d,type:"column"}),c+=n.globals.gridWidth/l}}]),e}(),X=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"niceScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0,a=this.w,o=Math.abs(t-e);if("dataPoints"===(n=this._adjustTicksForSmallRange(n,r,o))&&(n=a.globals.dataPoints-1),e===Number.MIN_VALUE&&0===t||!x.isNumber(e)&&!x.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)return e=0,t=n,this.linearScale(e,t,n);e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var s=[];o<1&&i&&("candlestick"===a.config.chart.type||"candlestick"===a.config.series[r].type||"boxPlot"===a.config.chart.type||"boxPlot"===a.config.series[r].type||a.globals.isRangeData)&&(t*=1.01);var l=n+1;l<2?l=2:l>2&&(l-=2);var c=o/l,u=Math.floor(x.log10(c)),d=Math.pow(10,u),h=Math.round(c/d);h<1&&(h=1);var p=h*d,f=p*Math.floor(e/p),g=p*Math.ceil(t/p),m=f;if(i&&o>2){for(;s.push(m),!((m+=p)>g););return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}var v=e;(s=[]).push(v);for(var y=Math.abs(t-e)/n,b=0;b<=n;b++)v+=y,s.push(v);return s[s.length-2]>=t&&s.pop(),{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"linearScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3?arguments[3]:void 0,i=Math.abs(t-e);"dataPoints"===(n=this._adjustTicksForSmallRange(n,r,i))&&(n=this.w.globals.dataPoints-1);var a=i/n;n===Number.MAX_VALUE&&(n=10,a=1);for(var o=[],s=e;n>=0;)o.push(s),s+=a,n-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,n){t<=0&&(t=Math.max(e,n)),e<=0&&(e=Math.min(t,n));for(var r=[],i=Math.ceil(Math.log(t)/Math.log(n)+1),a=Math.floor(Math.log(e)/Math.log(n));a5)r.allSeriesCollapsed=!1,r.yAxisScale[e]=this.logarithmicScale(t,n,a.logBase),r.yAxisScale[e]=a.forceNiceScale?this.logarithmicScaleNice(t,n,a.logBase):this.logarithmicScale(t,n,a.logBase);else if(n!==-Number.MAX_VALUE&&x.isNumber(n))if(r.allSeriesCollapsed=!1,void 0===a.min&&void 0===a.max||a.forceNiceScale){var s=void 0===i.yaxis[e].max&&void 0===i.yaxis[e].min||i.yaxis[e].forceNiceScale;r.yAxisScale[e]=this.niceScale(t,n,a.tickAmount?a.tickAmount:o<5&&o>1?o+1:5,e,s)}else r.yAxisScale[e]=this.linearScale(t,n,a.tickAmount,e);else r.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var n=this.w,r=n.globals,i=n.config.xaxis,a=Math.abs(t-e);return t!==-Number.MAX_VALUE&&x.isNumber(t)?r.xAxisScale=this.linearScale(e,t,i.tickAmount?i.tickAmount:a<5&&a>1?a+1:5,0):r.xAxisScale=this.linearScale(0,5,5),r.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,n=this.w.config,r=t.minYArr.concat([]),i=t.maxYArr.concat([]),a=[];n.yaxis.forEach((function(t,o){var s=o;n.series.forEach((function(e,n){e.name===t.seriesName&&(s=n,o!==n?a.push({index:n,similarIndex:o,alreadyExists:!0}):a.push({index:n}))}));var l=r[s],c=i[s];e.setYScaleForIndex(o,l,c)})),this.sameScaleInMultipleAxes(r,i,a)}},{key:"sameScaleInMultipleAxes",value:function(e,t,n){var r=this,i=this.w.config,a=this.w.globals,o=[];n.forEach((function(e){e.alreadyExists&&(void 0===o[e.index]&&(o[e.index]=[]),o[e.index].push(e.index),o[e.index].push(e.similarIndex))})),a.yAxisSameScaleIndices=o,o.forEach((function(e,t){o.forEach((function(n,r){var i,a;t!==r&&(i=e,a=n,i.filter((function(e){return-1!==a.indexOf(e)}))).length>0&&(o[t]=o[t].concat(o[r]))}))}));var s=o.map((function(e){return e.filter((function(t,n){return e.indexOf(t)===n}))})).map((function(e){return e.sort()}));o=o.filter((function(e){return!!e}));var l=s.slice(),c=l.map((function(e){return JSON.stringify(e)}));l=l.filter((function(e,t){return c.indexOf(JSON.stringify(e))===t}));var u=[],d=[];e.forEach((function(e,n){l.forEach((function(r,i){r.indexOf(n)>-1&&(void 0===u[i]&&(u[i]=[],d[i]=[]),u[i].push({key:n,value:e}),d[i].push({key:n,value:t[n]}))}))}));var h=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),p=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach((function(e,t){e.forEach((function(e,n){h[t]=Math.min(e.value,h[t])}))})),d.forEach((function(e,t){e.forEach((function(e,n){p[t]=Math.max(e.value,p[t])}))})),e.forEach((function(e,t){d.forEach((function(e,n){var o=h[n],s=p[n];i.chart.stacked&&(s=0,e.forEach((function(e,t){e.value!==-Number.MAX_VALUE&&(s+=e.value),o!==Number.MIN_VALUE&&(o+=u[n][t].value)}))),e.forEach((function(n,l){e[l].key===t&&(void 0!==i.yaxis[t].min&&(o="function"==typeof i.yaxis[t].min?i.yaxis[t].min(a.minY):i.yaxis[t].min),void 0!==i.yaxis[t].max&&(s="function"==typeof i.yaxis[t].max?i.yaxis[t].max(a.maxY):i.yaxis[t].max),r.setYScaleForIndex(t,o,s))}))}))}))}},{key:"autoScaleY",value:function(e,t,n){e||(e=this);var r=e.w;if(r.globals.isMultipleYAxis||r.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),t;var i=r.globals.seriesX[0],a=r.config.chart.stacked;return t.forEach((function(e,o){for(var s=0,l=0;l=n.xaxis.min){s=l;break}var c,u,d=r.globals.minYArr[o],h=r.globals.maxYArr[o],p=r.globals.stackedSeriesTotals;r.globals.series.forEach((function(o,l){var f=o[s];a?(f=p[s],c=u=f,p.forEach((function(e,t){i[t]<=n.xaxis.max&&i[t]>=n.xaxis.min&&(e>u&&null!==e&&(u=e),o[t]=n.xaxis.min){var a=e,o=e;r.globals.series.forEach((function(n,r){null!==e&&(a=Math.min(n[t],a),o=Math.max(n[t],o))})),o>u&&null!==o&&(u=o),ad&&(c=d),t.length>1?(t[l].min=void 0===e.min?c:e.min,t[l].max=void 0===e.max?u:e.max):(t[0].min=void 0===e.min?c:e.min,t[0].max=void 0===e.max?u:e.max)}))})),t}}]),e}(),K=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.scales=new X(t)}return c(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=this.w.config,a=this.w.globals,o=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===r&&(r=e+1);var l=a.series,c=l,u=l;"candlestick"===i.chart.type?(c=a.seriesCandleL,u=a.seriesCandleH):"boxPlot"===i.chart.type?(c=a.seriesCandleO,u=a.seriesCandleC):a.isRangeData&&(c=a.seriesRangeStart,u=a.seriesRangeEnd);for(var d=e;dc[d][h]&&c[d][h]<0&&(s=c[d][h])):a.hasNullValues=!0}}return"rangeBar"===i.chart.type&&a.seriesRangeStart.length&&a.isBarHorizontal&&(s=t),"bar"===i.chart.type&&(s<0&&o<0&&(o=0),s===Number.MIN_VALUE&&(s=0)),{minY:s,maxY:o,lowestY:t,highestY:n}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var r=0;r=0&&n<=10||void 0!==t.yaxis[0].min||void 0!==t.yaxis[0].max)&&(o=0),e.minY=n-5*o/100,n>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*o/100}return t.yaxis.forEach((function(t,n){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[n]=t.max:"function"==typeof t.max&&(e.maxYArr[n]=t.max(e.isMultipleYAxis?e.maxYArr[n]:e.maxY)),e.maxY=e.maxYArr[n]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[n]=t.min:"function"==typeof t.min&&(e.minYArr[n]=t.min(e.isMultipleYAxis?e.minYArr[n]===Number.MIN_VALUE?0:e.minYArr[n]:e.minY)),e.minY=e.minYArr[n])})),e.isBarHorizontal&&["min","max"].forEach((function(n){void 0!==t.xaxis[n]&&"number"==typeof t.xaxis[n]&&("min"===n?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=n,e.yAxisScale.forEach((function(t,n){e.minYArr[n]=t.niceMin,e.maxYArr[n]=t.niceMax}))):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,n="numeric"===t.xaxis.type||"datetime"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var t=0;te.dataPoints&&0!==e.dataPoints&&(r=e.dataPoints-1)):"dataPoints"===t.xaxis.tickAmount?(e.series.length>1&&(r=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(r=e.maxX-e.minX-1)):r=t.xaxis.tickAmount,e.xTickAmount=r,void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxX=t.xaxis.max),void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minX=t.xaxis.min),void 0!==t.xaxis.range&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var i=[],a=e.minX-1;a0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,r-1),e.seriesX=e.labels.slice());n&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t0){var i=t-r[n-1];i>0&&(e.minXDiff=Math.min(i,e.minXDiff))}})),1!==e.dataPoints&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var n=t.seriesGroups;n.length||(n=[this.w.config.series.map((function(e){return e.name}))]);var r={},i={};n.forEach((function(n){r[n]=[],i[n]=[],e.w.config.series.map((function(e,t){return n.indexOf(e.name)>-1?t:null})).filter((function(e){return null!==e})).forEach((function(e){for(var a=0;a0?r[n][a]+=parseFloat(t.series[e][a])+1e-4:i[n][a]+=parseFloat(t.series[e][a]))}))})),Object.entries(r).forEach((function(e){var n=m(e,1)[0];r[n].forEach((function(e,a){t.maxY=Math.max(t.maxY,r[n][a]),t.minY=Math.min(t.minY,i[n][a])}))}))}}}]),e}(),J=function(){function e(t,n){s(this,e),this.ctx=t,this.elgrid=n,this.w=t.w;var r=this.w;this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.axisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal="bar"===r.config.chart.type&&r.config.plotOptions.bar.horizontal,this.xAxisoffX=0,"bottom"===r.config.xaxis.position&&(this.xAxisoffX=r.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new q(t)}return c(e,[{key:"drawYaxis",value:function(e){var t=this,n=this.w,r=new k(this.ctx),i=n.config.yaxis[e].labels.style,a=i.fontSize,o=i.fontFamily,s=i.fontWeight,l=r.group({class:"apexcharts-yaxis",rel:e,transform:"translate("+n.globals.translateYAxisX[e]+", 0)"});if(this.axesUtils.isYAxisHidden(e))return l;var c=r.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var u=n.globals.yAxisScale[e].result.length-1,d=n.globals.gridHeight/u,h=n.globals.translateY,p=n.globals.yLabelFormatters[e],f=n.globals.yAxisScale[e].result.slice();f=this.axesUtils.checkForReversedLabels(e,f);var g="";if(n.config.yaxis[e].labels.show)for(var m=function(l){var m=f[l];m=p(m,l,n);var v=n.config.yaxis[e].labels.padding;n.config.yaxis[e].opposite&&0!==n.config.yaxis.length&&(v*=-1);var y="end";n.config.yaxis[e].opposite&&(y="start"),"left"===n.config.yaxis[e].labels.align?y="start":"center"===n.config.yaxis[e].labels.align?y="middle":"right"===n.config.yaxis[e].labels.align&&(y="end");var b=t.axesUtils.getYAxisForeColor(i.colors,e),x=r.drawText({x:v,y:h+u/10+n.config.yaxis[e].labels.offsetY+1,text:m,textAnchor:y,fontSize:a,fontFamily:o,fontWeight:s,maxWidth:n.config.yaxis[e].labels.maxWidth,foreColor:Array.isArray(b)?b[l]:b,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+i.cssClass});l===u&&(g=x),c.add(x);var w=document.createElementNS(n.globals.SVGNS,"title");if(w.textContent=Array.isArray(m)?m.join(" "):m,x.node.appendChild(w),0!==n.config.yaxis[e].labels.rotate){var S=r.rotateAroundCenter(g.node),k=r.rotateAroundCenter(x.node);x.node.setAttribute("transform","rotate(".concat(n.config.yaxis[e].labels.rotate," ").concat(S.x," ").concat(k.y,")"))}h+=d},v=u;v>=0;v--)m(v);if(void 0!==n.config.yaxis[e].title.text){var y=r.group({class:"apexcharts-yaxis-title"}),b=0;n.config.yaxis[e].opposite&&(b=n.globals.translateYAxisX[e]);var x=r.drawText({x:b,y:n.globals.gridHeight/2+n.globals.translateY+n.config.yaxis[e].title.offsetY,text:n.config.yaxis[e].title.text,textAnchor:"end",foreColor:n.config.yaxis[e].title.style.color,fontSize:n.config.yaxis[e].title.style.fontSize,fontWeight:n.config.yaxis[e].title.style.fontWeight,fontFamily:n.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[e].title.style.cssClass});y.add(x),l.add(y)}var w=n.config.yaxis[e].axisBorder,S=31+w.offsetX;if(n.config.yaxis[e].opposite&&(S=-31-w.offsetX),w.show){var _=r.drawLine(S,n.globals.translateY+w.offsetY-2,S,n.globals.gridHeight+n.globals.translateY+w.offsetY+2,w.color,0,w.width);l.add(_)}return n.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(S,u,w,n.config.yaxis[e].axisTicks,e,d,l),l}},{key:"drawYaxisInversed",value:function(e){var t=this.w,n=new k(this.ctx),r=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),i=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});r.add(i);var a=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/a+.1,s=o+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),a=(c=u.slice()).length),c=this.axesUtils.checkForReversedLabels(e,c);var d=u.length;if(t.config.xaxis.labels.show)for(var h=d?0:a;d?h=0;d?h++:h--){var p=c[h];p=l(p,h,t);var f=t.globals.gridWidth+t.globals.padHorizontal-(s-o+t.config.xaxis.labels.offsetX);if(u.length){var g=this.axesUtils.getLabel(c,u,f,h,this.drawnLabels,this.xaxisFontSize);f=g.x,p=g.text,this.drawnLabels.push(g.text),0===h&&t.globals.skipFirstTimelinelabel&&(p=""),h===c.length-1&&t.globals.skipLastTimelinelabel&&(p="")}var m=n.drawText({x:f,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:p,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});i.add(m),m.tspan(p);var v=document.createElementNS(t.globals.SVGNS,"title");v.textContent=p,m.node.appendChild(v),s+=o}return this.inversedYAxisTitleText(r),this.inversedYAxisBorder(r),r}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,n=new k(this.ctx),r=t.config.xaxis.axisBorder;if(r.show){var i=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(i-=15);var a=n.drawLine(t.globals.padHorizontal+i+r.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,r.color,0,r.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(a):e.add(a)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,n=new k(this.ctx);if(void 0!==t.config.xaxis.title.text){var r=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),i=n.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});r.add(i),e.add(r)}}},{key:"yAxisTitleRotate",value:function(e,t){var n=this.w,r=new k(this.ctx),i={width:0,height:0},a={width:0,height:0},o=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==o&&(i=o.getBoundingClientRect());var s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==s&&(a=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(e,i,a,t);s.setAttribute("x",l.xPos-(t?10:0))}if(null!==s){var c=r.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(t?-1*n.config.yaxis[e].title.rotate:n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,n,r){var i=this.w,a=0,o=0,s=10;return void 0===i.config.yaxis[e].title.text||e<0?{xPos:o,padd:0}:(r?(o=t.width+i.config.yaxis[e].title.offsetX+n.width/2+s/2,0===(a+=1)&&(o-=s/2)):(o=-1*t.width+i.config.yaxis[e].title.offsetX+s/2+n.width/2,i.globals.isBarHorizontal&&(s=25,o=-1*t.width-i.config.yaxis[e].title.offsetX-s)),{xPos:o,padd:s})}},{key:"setYAxisXPosition",value:function(e,t){var n=this.w,r=0,i=0,a=18,o=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map((function(s,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===e[l].width,u=e[l].width+t[l].width;s.opposite?n.globals.isBarHorizontal?(i=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=i-s.labels.offsetX):(i=n.globals.gridWidth+n.globals.translateX+o,c||(o=o+u+20),n.globals.translateYAxisX[l]=i-s.labels.offsetX+20):(r=n.globals.translateX-a,c||(a=a+u+20),n.globals.translateYAxisX[l]=r+s.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(t=x.listToArray(t)).forEach((function(t,n){var r=e.config.yaxis[n];if(r&&!r.floating&&void 0!==r.labels.align){var i=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));a=x.listToArray(a);var o=i.getBoundingClientRect();"left"===r.labels.align?(a.forEach((function(e,t){e.setAttribute("text-anchor","start")})),r.opposite||i.setAttribute("transform","translate(-".concat(o.width,", 0)"))):"center"===r.labels.align?(a.forEach((function(e,t){e.setAttribute("text-anchor","middle")})),i.setAttribute("transform","translate(".concat(o.width/2*(r.opposite?1:-1),", 0)"))):"right"===r.labels.align&&(a.forEach((function(e,t){e.setAttribute("text-anchor","end")})),r.opposite&&i.setAttribute("transform","translate(".concat(o.width,", 0)")))}}))}}]),e}(),Q=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.documentEvent=x.bind(this.documentEvent,this)}return c(e,[{key:"addEventListener",value:function(e,t){var n=this.w;n.globals.events.hasOwnProperty(e)?n.globals.events[e].push(t):n.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){var r=n.globals.events[e].indexOf(t);-1!==r&&n.globals.events[e].splice(r,1)}}},{key:"fireEvent",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var r=n.globals.events[e],i=r.length,a=0;a0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=t.filter((function(t){return t.name===e}))[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var r=x.extend(T,n);this.w.globals.locale=r.options}}]),e}(),te=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawAxis",value:function(e,t){var n,r,i=this,a=this.w.globals,o=this.w.config,s=new Z(this.ctx,t),l=new J(this.ctx,t);a.axisCharts&&"radar"!==e&&(a.isBarHorizontal?(r=l.drawYaxisInversed(0),n=s.drawXaxisInversed(0),a.dom.elGraphical.add(n),a.dom.elGraphical.add(r)):(n=s.drawXaxis(),a.dom.elGraphical.add(n),o.yaxis.map((function(e,t){if(-1===a.ignoreYAxisIndexes.indexOf(t)&&(r=l.drawYaxis(t),a.dom.Paper.add(r),"back"===i.w.config.grid.position)){var n=a.dom.Paper.children()[1];n.remove(),a.dom.Paper.add(n)}}))))}}]),e}(),ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new k(this.ctx),n=new S(this.ctx),r=e.config.xaxis.crosshairs.fill.gradient,i=e.config.xaxis.crosshairs.dropShadow,a=e.config.xaxis.crosshairs.fill.type,o=r.colorFrom,s=r.colorTo,l=r.opacityFrom,c=r.opacityTo,u=r.stops,d=i.enabled,h=i.left,p=i.top,f=i.blur,g=i.color,m=i.opacity,v=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===a&&(v=t.drawGradient("vertical",o,s,l,c,null,u,null));var y=t.drawRect();1===e.config.xaxis.crosshairs.width&&(y=t.drawLine());var b=e.globals.gridHeight;(!x.isNumber(b)||b<0)&&(b=0);var w=e.config.xaxis.crosshairs.width;(!x.isNumber(w)||w<0)&&(w=0),y.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:b,width:w,height:b,fill:v,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(y=n.dropShadow(y,{left:h,top:p,blur:f,color:g,opacity:m})),e.globals.dom.elGraphical.add(y)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new k(this.ctx),n=e.config.yaxis[0].crosshairs,r=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var i=t.drawLine(-r,0,e.globals.gridWidth+r,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);i.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(i)}var a=t.drawLine(-r,0,e.globals.gridWidth+r,0,n.stroke.color,0,0);a.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(a)}}]),e}(),re=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,n=this.w,r=n.config;if(0!==r.responsive.length){var i=r.responsive.slice();i.sort((function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0})).reverse();var a=new M({}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=i[0].breakpoint,o=window.innerWidth>0?window.innerWidth:screen.width;if(o>r){var s=_.extendArrayProps(a,n.globals.initialConfig,n);e=x.extend(s,e),e=x.extend(n.config,e),t.overrideResponsiveOptions(e)}else for(var l=0;l0&&"function"==typeof t.config.colors[0]&&(t.globals.colors=t.config.series.map((function(n,r){var i=t.config.colors[r];return i||(i=t.config.colors[0]),"function"==typeof i?(e.isColorFn=!0,i({value:t.globals.axisCharts?t.globals.series[r][0]?t.globals.series[r][0]:0:t.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t})):i})))),t.globals.seriesColors.map((function(e,n){e&&(t.globals.colors[n]=e)})),t.config.theme.monochrome.enabled){var r=[],i=t.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(i=t.globals.series[0].length*t.globals.series.length);for(var a=t.config.theme.monochrome.color,o=1/(i/t.config.theme.monochrome.shadeIntensity),s=t.config.theme.monochrome.shadeTo,l=0,c=0;c2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,i=t||r.globals.series.length;if(null===n&&(n=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===r.config.chart.type&&r.config.plotOptions.heatmap.colorScale.inverse),n&&r.globals.series.length&&(i=r.globals.series[r.globals.maxValsInArrayIndex].length*r.globals.series.length),e.lengthe.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var n=e;if(this.w.globals.isMultiLineX){var r=t.map((function(e,t){return Array.isArray(e)?e.length:1})),i=Math.max.apply(Math,v(r));n=t[r.indexOf(i)]}return n}}]),e}(),se=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,n=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===n.length&&(n=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var r=this.getxAxisTimeScaleLabelsCoords();e={width:r.width,height:r.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var i=t.globals.xLabelFormatter,a=x.getLargestStringFromArr(n),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(a,n);t.globals.isBarHorizontal&&(o=a=t.globals.yAxisScale[0].result.reduce((function(e,t){return e.length>t.length?e:t}),0));var s=new L(this.dCtx.ctx),l=a;a=s.xLabelFormat(i,a,l,{i:void 0,dateFormatter:new D(this.dCtx.ctx).formatDate,w:t}),o=s.xLabelFormat(i,o,l,{i:void 0,dateFormatter:new D(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&void 0===a||""===String(a).trim())&&(o=a="1");var c=new k(this.dCtx.ctx),u=c.getTextRects(a,t.config.xaxis.labels.style.fontSize),d=u;if(a!==o&&(d=c.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*n.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var h=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=h(a),a!==o&&(d=h(o)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var n,r=(null===(e=t.config.xaxis.group.style)||void 0===e?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,i=t.globals.groups.map((function(e){return e.title})),a=x.getLargestStringFromArr(i),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(a,i),s=new k(this.dCtx.ctx),l=s.getTextRects(a,r),c=l;return a!==o&&(c=s.getTextRects(o,r)),n={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},t.config.xaxis.labels.show||(n={width:0,height:0}),{width:n.width,height:n.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,n=0;if(void 0!==e.config.xaxis.title.text){var r=new k(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=r.width,n=r.height}return{width:t,height:n}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var n=this.dCtx.timescaleLabels.map((function(e){return e.value})),r=n.reduce((function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t}),0);return 1.05*(e=new k(this.dCtx.ctx).getTextRects(r,t.config.xaxis.labels.style.fontSize)).width*n.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,n=this.w,r=n.globals,i=n.config,a=i.xaxis.type,o=e.width;r.skipLastTimelinelabel=!1,r.skipFirstTimelinelabel=!1;var s=n.config.yaxis[0].opposite&&n.globals.isBarHorizontal,l=function(e,s){i.yaxis.length>1&&function(e){return-1!==r.collapsedSeriesIndices.indexOf(e)}(s)||function(e){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var s=t.dCtx.timescaleLabels[0],l=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,c=s.position-o/1.75+t.dCtx.yAxisWidthLeft,u="right"===n.config.legend.position&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;l>r.svgWidth-r.translateX-u&&(r.skipLastTimelinelabel=!0),c<-(e.show&&!e.floating||"bar"!==i.chart.type&&"candlestick"!==i.chart.type&&"rangeBar"!==i.chart.type&&"boxPlot"!==i.chart.type?10:o/1.75)&&(r.skipFirstTimelinelabel=!0)}else"datetime"===a?t.dCtx.gridPad.rightString(s.niceMax).length?u:s.niceMax,h=c(d,{seriesIndex:o,dataPointIndex:-1,w:t}),p=h;if(void 0!==h&&0!==h.length||(h=d),t.globals.isBarHorizontal){r=0;var f=t.globals.labels.slice();h=c(h=x.getLargestStringFromArr(f),{seriesIndex:o,dataPointIndex:-1,w:t}),p=e.dCtx.dimHelpers.getLargestStringFromMultiArr(h,f)}var g=new k(e.dCtx.ctx),m="rotate(".concat(a.labels.rotate," 0 0)"),v=g.getTextRects(h,a.labels.style.fontSize,a.labels.style.fontFamily,m,!1),y=v;h!==p&&(y=g.getTextRects(p,a.labels.style.fontSize,a.labels.style.fontFamily,m,!1)),n.push({width:(l>y.width||l>v.width?l:y.width>v.width?y.width:v.width)+r,height:y.height>v.height?y.height:v.height})}else n.push({width:0,height:0})})),n}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,n=[];return t.config.yaxis.map((function(t,r){if(t.show&&void 0!==t.title.text){var i=new k(e.dCtx.ctx),a="rotate(".concat(t.title.rotate," 0 0)"),o=i.getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,a,!1);n.push({width:o.width,height:o.height})}else n.push({width:0,height:0})})),n}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,n=0,r=0,i=e.globals.yAxisScale.length>1?10:0,a=new q(this.dCtx.ctx),o=function(o,s){var l=e.config.yaxis[s].floating,c=0;o.width>0&&!l?(c=o.width+i,function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1}(s)&&(c=c-o.width-i)):c=l||a.isYAxisHidden(s)?0:5,e.config.yaxis[s].opposite?r+=c:n+=c,t+=c};return e.globals.yLabelsCoords.map((function(e,t){o(e,t)})),e.globals.yTitleCoords.map((function(e,t){o(e,t)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=n,this.dCtx.yAxisWidthRight=r,t}}]),e}(),ce=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var n=function(e){return"bar"===e||"rangeBar"===e||"candlestick"===e||"boxPlot"===e},r=t.config.chart.type,i=0,a=n(r)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(a=t.globals.comboBarCount),t.globals.collapsedSeries.forEach((function(e){n(e.type)&&(a-=1)})),t.config.chart.stacked&&(a=1),(n(r)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&a>0){var o,s,l=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);l<=3&&(l=t.globals.dataPoints),o=l/e,t.globals.minXDiff&&t.globals.minXDiff/o>0&&(s=t.globals.minXDiff/o),s>e/2&&(s/=2),(i=s/a*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(i=1),i=i/(a>1?1:1.5)+5,t.globals.barPadForNumericAxis=i}return i}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,n=t.globals,r=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==t.config[n].text?r+=t.config[n].margin:r+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5})),!t.config.legend.show||"bottom"!==t.config.legend.position||t.config.legend.floating||t.globals.axisCharts||(r+=10);var i=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),a=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");n.gridHeight=n.gridHeight-i.height-a.height-r,n.translateY=n.translateY+i.height+a.height+r}},{key:"setGridXPosForDualYAxis",value:function(e,t){var n=this.w,r=new q(this.dCtx.ctx);n.config.yaxis.map((function(i,a){-1!==n.globals.ignoreYAxisIndexes.indexOf(a)||i.floating||r.isYAxisHidden(a)||(i.opposite&&(n.globals.translateX=n.globals.translateX-(t[a].width+e[a].width)-parseInt(n.config.yaxis[a].labels.style.fontSize,10)/1.2-12),n.globals.translateX<2&&(n.globals.translateX=2))}))}}]),e}(),ue=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new oe(this),this.dimYAxis=new le(this),this.dimXAxis=new se(this),this.dimGrid=new ce(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return c(e,[{key:"plotCoords",value:function(){var e=this,t=this.w,n=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&(t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(t){var n=m(t,2),r=n[0],i=n[1];e.gridPad[r]=Math.max(i,e.w.globals.markers.largestSize/1.5)})),n.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),n.gridHeight=n.gridHeight-this.gridPad.top-this.gridPad.bottom,n.gridWidth=n.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(n.gridWidth);n.gridWidth=n.gridWidth-2*r,n.translateX=n.translateX+this.gridPad.left+this.xPadLeft+(r>0?r+4:0),n.translateY=n.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,n=t.globals,r=this.dimYAxis.getyAxisLabelsCoords(),i=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(e,n){t.globals.yLabelsCoords.push({width:r[n].width,index:n}),t.globals.yTitleCoords.push({width:i[n].width,index:n})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var a=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),s=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(a,s,o),n.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),n.translateXAxisY=n.translateXAxisY+t.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+t.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight-s.height,n.xAxisGroupLabelsHeight=n.xAxisLabelsHeight-a.height,n.xAxisLabelsWidth=this.xAxisWidth,n.xAxisHeight=this.xAxisHeight;var u=10;("radar"===t.config.chart.type||this.isSparkline)&&(l=0,c=n.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===t.config.chart.type)&&(l=0,c=0,u=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(a);var d=function(){n.translateX=l,n.gridHeight=n.svgHeight-e.lgRect.height-c-(e.isSparkline||"treemap"===t.config.chart.type?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-l};switch("top"===t.config.xaxis.position&&(u=n.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":n.translateY=u,d();break;case"top":n.translateY=this.lgRect.height+u,d();break;case"left":n.translateY=u,n.translateX=this.lgRect.width+l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l;break;case"right":n.translateY=u,n.translateX=l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(i,r),new J(this.ctx).setYAxisXPosition(r,i)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=e.config,r=0;e.config.legend.show&&!e.config.legend.floating&&(r=20);var i="pie"===n.chart.type||"polarArea"===n.chart.type||"donut"===n.chart.type?"pie":"radialBar",a=n.plotOptions[i].offsetY,o=n.plotOptions[i].offsetX;if(!n.legend.show||n.legend.floating)return t.gridHeight=t.svgHeight-n.grid.padding.left+n.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=a,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2);switch(n.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=a-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+a+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-r,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=a,t.translateX=o+this.lgRect.width+r;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-r-5,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=a,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,n){var r=this.w,i=r.globals.hasXaxisGroups?2:1,a=n.height+e.height+t.height,o=r.globals.isMultiLineX?1.2:r.globals.LINE_HEIGHT_RATIO,s=r.globals.rotateXLabels?22:10,l=r.globals.rotateXLabels&&"bottom"===r.config.legend.position?10:0;this.xAxisHeight=a*o+i*s+l,this.xAxisWidth=e.width,this.xAxisHeight-t.height>r.config.xaxis.labels.maxHeight&&(this.xAxisHeight=r.config.xaxis.labels.maxHeight),r.config.xaxis.labels.minHeight&&this.xAxisHeightu&&(this.yAxisWidth=u)}}]),e}(),de=function(){function e(t){s(this,e),this.w=t.w,this.lgCtx=t}return c(e,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode("\t\n \t\n .apexcharts-legend {\t\n display: flex;\t\n overflow: auto;\t\n padding: 0 10px;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\t\n flex-wrap: wrap\t\n }\t\n .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n flex-direction: column;\t\n bottom: 0;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n justify-content: flex-start;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\t\n justify-content: center; \t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\t\n justify-content: flex-end;\t\n }\t\n .apexcharts-legend-series {\t\n cursor: pointer;\t\n line-height: normal;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{\t\n display: flex;\t\n align-items: center;\t\n }\t\n .apexcharts-legend-text {\t\n position: relative;\t\n font-size: 14px;\t\n }\t\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n pointer-events: none;\t\n }\t\n .apexcharts-legend-marker {\t\n position: relative;\t\n display: inline-block;\t\n cursor: pointer;\t\n margin-right: 3px;\t\n border-style: solid;\n }\t\n \t\n .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n display: inline-block;\t\n }\t\n .apexcharts-legend-series.apexcharts-no-click {\t\n cursor: auto;\t\n }\t\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n display: none !important;\t\n }\t\n .apexcharts-inactive-legend {\t\n opacity: 0.45;\t\n }");return e.appendChild(t),e}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){this.w.globals.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var n=this,r=this.w;if(r.globals.axisCharts||"radialBar"===r.config.chart.type){r.globals.resized=!0;var i=null,a=null;r.globals.risingSeries=[],r.globals.axisCharts?(i=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),a=parseInt(i.getAttribute("data:realIndex"),10)):(i=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),a=parseInt(i.getAttribute("rel"),10)-1),t?[{cs:r.globals.collapsedSeries,csi:r.globals.collapsedSeriesIndices},{cs:r.globals.ancillaryCollapsedSeries,csi:r.globals.ancillaryCollapsedSeriesIndices}].forEach((function(e){n.riseCollapsedSeries(e.cs,e.csi,a)})):this.hideSeries({seriesEl:i,realIndex:a})}else{var o=r.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),s=r.config.chart.type;if("pie"===s||"polarArea"===s||"donut"===s){var l=r.config.plotOptions.pie.donut.labels;new k(this.lgCtx.ctx).pathMouseDown(o.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(o.members[0].node,l)}o.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,n=e.realIndex,r=this.w,i=x.clone(r.config.series);if(r.globals.axisCharts){var a=!1;if(r.config.yaxis[n]&&r.config.yaxis[n].show&&r.config.yaxis[n].showAlways&&(a=!0,r.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0&&(r.globals.ancillaryCollapsedSeries.push({index:n,data:i[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),r.globals.ancillaryCollapsedSeriesIndices.push(n))),!a){r.globals.collapsedSeries.push({index:n,data:i[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),r.globals.collapsedSeriesIndices.push(n);var o=r.globals.risingSeries.indexOf(n);r.globals.risingSeries.splice(o,1)}}else r.globals.collapsedSeries.push({index:n,data:i[n]}),r.globals.collapsedSeriesIndices.push(n);for(var s=t.childNodes,l=0;l0){for(var a=0;a-1&&(e[r].data=[])})):e.forEach((function(n,r){t.globals.collapsedSeriesIndices.indexOf(r)>-1&&(e[r]=0)})),e}}]),e}(),he=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new de(this)}return c(e,[{key:"init",value:function(){var e=this.w,t=e.globals,n=e.config;if((n.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&n.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),x.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,n=t.config.legend.fontFamily,r=t.globals.seriesNames,i=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var a=t.config.plotOptions.heatmap.colorScale.ranges;r=a.map((function(e){return e.name?e.name:e.from+" - "+e.to})),i=a.map((function(e){return e.color}))}else this.isBarsDistributed&&(r=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(r=t.config.legend.customLegendItems);for(var o=t.globals.legendFormatter,s=t.config.legend.inverseOrder,l=s?r.length-1:0;s?l>=0:l<=r.length-1;s?l--:l++){var c=o(r[l],{seriesIndex:l,w:t}),u=!1,d=!1;if(t.globals.collapsedSeries.length>0)for(var h=0;h0)for(var p=0;p0?l-10:0)+(c>0?c-10:0)}r.style.position="absolute",a=a+e+n.config.legend.offsetX,o=o+t+n.config.legend.offsetY,r.style.left=a+"px",r.style.top=o+"px","bottom"===n.config.legend.position?(r.style.top="auto",r.style.bottom=5-n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(r.style.left="auto",r.style.right=25+n.config.legend.offsetX+"px"),["width","height"].forEach((function(e){r.style[e]&&(r.style[e]=parseInt(n.config.legend[e],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=this.legendHelpers.getLegendBBox(),n=new ue(this.ctx),r=n.dimHelpers.getTitleSubtitleCoords("title"),i=n.dimHelpers.getTitleSubtitleCoords("subtitle"),a=0;"bottom"===e.config.legend.position?a=-t.clwh/1.8:"top"===e.config.legend.position&&(a=r.height+i.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,a)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),n=0;"left"===e.config.legend.position&&(n=20),"right"===e.config.legend.position&&(n=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,n=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(n){var r=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,r,this.w]),new W(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&n&&new W(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var n=parseInt(e.target.getAttribute("rel"),10)-1,r="true"===e.target.getAttribute("data:collapsed"),i=this.w.config.chart.events.legendClick;"function"==typeof i&&i(this.ctx,n,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,n,this.w]);var a=this.w.config.legend.markers.onClick;"function"==typeof a&&e.target.classList.contains("apexcharts-legend-marker")&&(a(this.ctx,n,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,n,this.w])),"treemap"!==t.config.chart.type&&"heatmap"!==t.config.chart.type&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(n,r)}}}]),e}(),pe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return c(e,[{key:"createToolbar",value:function(){var e=this,t=this.w,n=function(){return document.createElement("div")},r=n();if(r.setAttribute("class","apexcharts-toolbar"),r.style.top=t.config.chart.toolbar.offsetY+"px",r.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(r),this.elZoom=n(),this.elZoomIn=n(),this.elZoomOut=n(),this.elPan=n(),this.elSelection=n(),this.elZoomReset=n(),this.elMenuIcon=n(),this.elMenu=n(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var i=0;i\n \n \n\n'),o("zoomOut",this.elZoomOut,'\n \n \n\n');var s=function(n){e.t[n]&&t.config.chart[n].enabled&&a.push({el:"zoom"===n?e.elZoom:e.elSelection,icon:"string"==typeof e.t[n]?e.t[n]:"zoom"===n?'\n \n \n \n':'\n \n \n',title:e.localeValues["zoom"===n?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(n,"-icon")})};s("zoom"),s("selection"),this.t.pan&&t.config.chart.zoom.enabled&&a.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'\n \n \n \n \n \n \n \n',title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),o("reset",this.elZoomReset,'\n \n \n'),this.t.download&&a.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l0&&t.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var n=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,r={x:n,y:0,width:e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-n,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(r),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=e.translateX,o=void 0===a?0:a,s=e.translateY,l=void 0===s?0:s,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var h={transform:"translate("+o+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(r<0&&(r=1),u.attr({x:t,y:n,width:r,height:i,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),k.setAttrs(u.node,h)),c.globals.selectionEnabled&&(d.attr({x:t,y:n,width:r>0?r:0,height:i>0?i:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),k.setAttrs(d.node,h))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t=e.context,n=e.zoomtype,r=this.w,i=t,a=this.gridRect.getBoundingClientRect(),o=i.startX-1,s=i.startY,l=!1,c=!1,u=i.clientX-a.left-o,d=i.clientY-a.top-s,h={};return Math.abs(u+o)>r.globals.gridWidth?u=r.globals.gridWidth-o:i.clientX-a.left<0&&(u=o),o>i.clientX-a.left&&(l=!0,u=Math.abs(u)),s>i.clientY-a.top&&(c=!0,d=Math.abs(d)),h="x"===n?{x:l?o-u:o,y:0,width:u,height:r.globals.gridHeight}:"y"===n?{x:0,y:c?s-d:s,width:r.globals.gridWidth,height:d}:{x:l?o-u:o,y:c?s-d:s,width:u,height:d},i.drawSelectionRect(h),i.selectionDragging("resizing"),h}},{key:"selectionDragging",value:function(e,t){var n=this,r=this.w,i=this.xyRatios,a=this.selectionRect,o=0;"resizing"===e&&(o=30);var s=function(e){return parseFloat(a.node.getAttribute(e))},l={x:s("x"),y:s("y"),width:s("width"),height:s("height")};r.globals.selection=l,"function"==typeof r.config.chart.events.selection&&r.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var e=n.gridRect.getBoundingClientRect(),t=a.node.getBoundingClientRect(),o={xaxis:{min:r.globals.xAxisScale.niceMin+(t.left-e.left)*i.xRatio,max:r.globals.xAxisScale.niceMin+(t.right-e.left)*i.xRatio},yaxis:{min:r.globals.yAxisScale[0].niceMin+(e.bottom-t.bottom)*i.yRatio[0],max:r.globals.yAxisScale[0].niceMax-(t.top-e.top)*i.yRatio[0]}};r.config.chart.events.selection(n.ctx,o),r.config.chart.brush.enabled&&void 0!==r.config.chart.events.brushScrolled&&r.config.chart.events.brushScrolled(n.ctx,o)}),o))}},{key:"selectionDrawn",value:function(e){var t=e.context,n=e.zoomtype,r=this.w,i=t,a=this.xyRatios,o=this.ctx.toolbar;if(i.startX>i.endX){var s=i.startX;i.startX=i.endX,i.endX=s}if(i.startY>i.endY){var l=i.startY;i.startY=i.endY,i.endY=l}var c=void 0,u=void 0;r.globals.isRangeBar?(c=r.globals.yAxisScale[0].niceMin+i.startX*a.invertedYRatio,u=r.globals.yAxisScale[0].niceMin+i.endX*a.invertedYRatio):(c=r.globals.xAxisScale.niceMin+i.startX*a.xRatio,u=r.globals.xAxisScale.niceMin+i.endX*a.xRatio);var d=[],h=[];if(r.config.yaxis.forEach((function(e,t){d.push(r.globals.yAxisScale[t].niceMax-a.yRatio[t]*i.startY),h.push(r.globals.yAxisScale[t].niceMax-a.yRatio[t]*i.endY)})),i.dragged&&(i.dragX>10||i.dragY>10)&&c!==u)if(r.globals.zoomEnabled){var p=x.clone(r.globals.initialConfig.yaxis),f=x.clone(r.globals.initialConfig.xaxis);if(r.globals.zoomed=!0,r.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=r.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==n&&"x"!==n||(f={min:c,max:u}),"xy"!==n&&"y"!==n||p.forEach((function(e,t){p[t].min=h[t],p[t].max=d[t]})),r.config.chart.zoom.autoScaleYaxis){var g=new X(i.ctx);p=g.autoScaleY(i.ctx,p,{xaxis:f})}if(o){var m=o.getBeforeZoomRange(f,p);m&&(f=m.xaxis?m.xaxis:f,p=m.yaxis?m.yaxis:p)}var v={xaxis:f};r.config.chart.group||(v.yaxis=p),i.ctx.updateHelpers._updateOptions(v,!1,i.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof r.config.chart.events.zoomed&&o.zoomCallback(f,p)}else if(r.globals.selectionEnabled){var y,b=null;y={min:c,max:u},"xy"!==n&&"y"!==n||(b=x.clone(r.config.yaxis)).forEach((function(e,t){b[t].min=h[t],b[t].max=d[t]})),r.globals.selection=i.selection,"function"==typeof r.config.chart.events.selection&&r.config.chart.events.selection(i.ctx,{xaxis:y,yaxis:b})}}},{key:"panDragging",value:function(e){var t=e.context,n=this.w,r=t;if(void 0!==n.globals.lastClientPosition.x){var i=n.globals.lastClientPosition.x-r.clientX,a=n.globals.lastClientPosition.y-r.clientY;Math.abs(i)>Math.abs(a)&&i>0?this.moveDirection="left":Math.abs(i)>Math.abs(a)&&i<0?this.moveDirection="right":Math.abs(a)>Math.abs(i)&&a>0?this.moveDirection="up":Math.abs(a)>Math.abs(i)&&a<0&&(this.moveDirection="down")}n.globals.lastClientPosition={x:r.clientX,y:r.clientY};var o=n.globals.isRangeBar?n.globals.minY:n.globals.minX,s=n.globals.isRangeBar?n.globals.maxY:n.globals.maxX;n.config.xaxis.convertedCatToNumeric||r.panScrolled(o,s)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,n=e.globals.maxX,r=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+r,n=e.globals.maxX+r):"right"===this.moveDirection&&(t=e.globals.minX-r,n=e.globals.maxX-r),t=Math.floor(t),n=Math.floor(n),this.updateScrolledChart({xaxis:{min:t,max:n}},t,n)}},{key:"panScrolled",value:function(e,t){var n=this.w,r=this.xyRatios,i=x.clone(n.globals.initialConfig.yaxis),a=r.xRatio,o=n.globals.minX,s=n.globals.maxX;n.globals.isRangeBar&&(a=r.invertedYRatio,o=n.globals.minY,s=n.globals.maxY),"left"===this.moveDirection?(e=o+n.globals.gridWidth/15*a,t=s+n.globals.gridWidth/15*a):"right"===this.moveDirection&&(e=o-n.globals.gridWidth/15*a,t=s-n.globals.gridWidth/15*a),n.globals.isRangeBar||(en.globals.initialMaxX)&&(e=o,t=s);var l={min:e,max:t};n.config.chart.zoom.autoScaleYaxis&&(i=new X(this.ctx).autoScaleY(this.ctx,i,{xaxis:l}));var c={xaxis:{min:e,max:t}};n.config.chart.group||(c.yaxis=i),this.updateScrolledChart(c,e,t)}},{key:"updateScrolledChart",value:function(e,t,n){var r=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof r.config.chart.events.scrolled&&r.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:n}})}}]),n}(),ge=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return c(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,n=e.elGrid,r=e.clientX,i=e.clientY,a=this.w,o=n.getBoundingClientRect(),s=o.width,l=o.height,c=s/(a.globals.dataPoints-1),u=l/a.globals.dataPoints,d=this.hasBars();!a.globals.comboCharts&&!d||a.config.xaxis.convertedCatToNumeric||(c=s/a.globals.dataPoints);var h=r-o.left-a.globals.barPadForNumericAxis,p=i-o.top;h<0||p<0||h>s||p>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):a.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):a.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var f=Math.round(h/c),g=Math.floor(p/u);d&&!a.config.xaxis.convertedCatToNumeric&&(f=Math.ceil(h/c),f-=1);var m=null,v=null,y=[],b=[];if(a.globals.seriesXvalues.forEach((function(e){y.push([e[0]+1e-6].concat(e))})),a.globals.seriesYvalues.forEach((function(e){b.push([e[0]+1e-6].concat(e))})),y=y.map((function(e){return e.filter((function(e){return x.isNumber(e)}))})),b=b.map((function(e){return e.filter((function(e){return x.isNumber(e)}))})),a.globals.isXNumeric){var w=this.ttCtx.getElGrid().getBoundingClientRect(),S=h*(w.width/s),k=p*(w.height/l);m=(v=this.closestInMultiArray(S,k,y,b)).index,f=v.j,null!==m&&(y=a.globals.seriesXvalues[m],f=(v=this.closestInArray(S,y)).index)}return a.globals.capturedSeriesIndex=null===m?-1:m,(!f||f<1)&&(f=0),a.globals.isBarHorizontal?a.globals.capturedDataPointIndex=g:a.globals.capturedDataPointIndex=f,{capturedSeries:m,j:a.globals.isBarHorizontal?g:f,hoverX:h,hoverY:p}}},{key:"closestInMultiArray",value:function(e,t,n,r){var i=this.w,a=0,o=null,s=-1;i.globals.series.length>1?a=this.getFirstActiveXArray(n):o=0;var l=n[a][0],c=Math.abs(e-l);if(n.forEach((function(t){t.forEach((function(t,n){var r=Math.abs(e-t);r0?t:-1})),i=0;i0)for(var r=0;r *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");(e=v(e)).sort((function(e,t){var n=Number(e.getAttribute("data:realIndex")),r=Number(t.getAttribute("data:realIndex"));return rn?-1:0}));var t=[];return e.forEach((function(e){t.push(e.querySelector(".apexcharts-marker"))})),t}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,n=t.config.markers.hover.size;return void 0===n&&(n=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),n}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var r=n.allTooltipSeriesGroups,i=0;i ').concat(n.attrs.name,""),t+="
".concat(n.val,"
")})),y.innerHTML=e+"",b.innerHTML=t+""};o?l.globals.seriesGoals[t][n]&&Array.isArray(l.globals.seriesGoals[t][n])?x():(y.innerHTML="",b.innerHTML=""):x()}else y.innerHTML="",b.innerHTML="";null!==f&&(r[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,r[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==f?f:""),o&&g[0]&&(null==u||l.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||l.globals.collapsedSeriesIndices.indexOf(t)>-1?g[0].parentNode.style.display="none":g[0].parentNode.style.display=l.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("apexcharts-active"),n.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,n=e.j,r=this.w,i=this.ctx.series.filteredSeriesX(),a="",o="",s=null,l=null,c={series:r.globals.series,seriesIndex:t,dataPointIndex:n,w:r},u=r.globals.ttZFormatter;null===n?l=r.globals.series[t]:r.globals.isXNumeric&&"treemap"!==r.config.chart.type?(a=i[t][n],0===i[t].length&&(a=i[this.tooltipUtil.getFirstActiveXArray(i)][n])):a=void 0!==r.globals.labels[n]?r.globals.labels[n]:"";var d=a;return a=r.globals.isXNumeric&&"datetime"===r.config.xaxis.type?new L(this.ctx).xLabelFormat(r.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new D(this.ctx).formatDate,w:this.w}):r.globals.isBarHorizontal?r.globals.yLabelFormatters[0](d,c):r.globals.xLabelFormatter(d,c),void 0!==r.config.tooltip.x.formatter&&(a=r.globals.ttKeyFormatter(d,c)),r.globals.seriesZ.length>0&&r.globals.seriesZ[t].length>0&&(s=u(r.globals.seriesZ[t][n],r)),o="function"==typeof r.config.xaxis.tooltip.formatter?r.globals.xaxisTooltipFormatter(d,c):a,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(a)?a.join(" "):a,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:s}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,n=e.j,r=e.y1,i=e.y2,a=e.w,o=this.ttCtx.getElTooltip(),s=a.config.tooltip.custom;Array.isArray(s)&&s[t]&&(s=s[t]),o.innerHTML=s({ctx:this.ctx,series:a.globals.series,seriesIndex:t,dataPointIndex:n,y1:r,y2:i,w:a})}}]),e}(),ve=function(){function e(t){s(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return c(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,r=this.w,i=n.getElXCrosshairs(),a=e-n.xcrosshairsWidth/2,o=r.globals.labels.slice().length;if(null!==t&&(a=r.globals.gridWidth/o*t),null===i||r.globals.isBarHorizontal||(i.setAttribute("x",a),i.setAttribute("x1",a),i.setAttribute("x2",a),i.setAttribute("y2",r.globals.gridHeight),i.classList.add("apexcharts-active")),a<0&&(a=0),a>r.globals.gridWidth&&(a=r.globals.gridWidth),n.isXAxisTooltipEnabled){var s=a;"tickWidth"!==r.config.xaxis.crosshairs.width&&"barWidth"!==r.config.xaxis.crosshairs.width||(s=a+n.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&k.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&k.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip&&0!==n.xcrosshairsWidth){n.xaxisTooltip.classList.add("apexcharts-active");var r,i=n.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=n.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e))e+=t.globals.translateX,r=new k(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=r.width+"px",n.xaxisTooltip.style.left=e+"px",n.xaxisTooltip.style.top=i+"px"}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var r=parseInt(n.ycrosshairsHidden.getAttribute("y1"),10),i=t.globals.translateY+r,a=n.yaxisTTEls[e].getBoundingClientRect().height,o=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(o-=26),i-=a/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(n.yaxisTTEls[e].classList.add("apexcharts-active"),n.yaxisTTEls[e].style.top=i+"px",n.yaxisTTEls[e].style.left=o+t.config.yaxis[e].tooltip.offsetX+"px"):n.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,i=this.ttCtx,a=i.getElTooltip(),o=i.tooltipRect,s=null!==n?parseFloat(n):1,l=parseFloat(e)+s+5,c=parseFloat(t)+s/2;if(l>r.globals.gridWidth/2&&(l=l-o.ttWidth-s-10),l>r.globals.gridWidth-o.ttWidth-10&&(l=r.globals.gridWidth-o.ttWidth),l<-20&&(l=-20),r.config.tooltip.followCursor){var u=i.getElGrid().getBoundingClientRect();(l=i.e.clientX-u.left)>r.globals.gridWidth/2&&(l-=i.tooltipRect.ttWidth),(c=i.e.clientY+r.globals.translateY-u.top)>r.globals.gridHeight/2&&(c-=i.tooltipRect.ttHeight)}else r.globals.isBarHorizontal||o.ttHeight/2+c>r.globals.gridHeight&&(c=r.globals.gridHeight-o.ttHeight+r.globals.translateY);isNaN(l)||(l+=r.globals.translateX,a.style.left=l+"px",a.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var n=this.w,r=this.ttCtx;if(n.globals.markers.size[e]>0)for(var i=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),a=0;a0&&(c.setAttribute("r",s),c.setAttribute("cx",n),c.setAttribute("cy",r)),this.moveXCrosshairs(n),a.fixedTooltip||this.moveTooltip(n,r,s)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,n=this.ttCtx,r=n.w,i=0,a=0,o=r.globals.pointsArray;t=new W(this.ctx).getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var s=n.tooltipUtil.getHoverMarkerSize(t);o[t]&&(i=o[t][e][0],a=o[t][e][1]);var l=n.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c0?(l[c]&&l[c].setAttribute("r",s),l[c]&&l[c].setAttribute("cy",d)):l[c]&&l[c].setAttribute("r",0)}}this.moveXCrosshairs(i),n.fixedTooltip||this.moveTooltip(i,a||r.globals.gridHeight,s)}},{key:"moveStickyTooltipOverBars",value:function(e,t){var n=this.w,r=this.ttCtx,i=n.globals.columnSeries?n.globals.columnSeries.length:n.globals.series.length,a=i>=2&&i%2==0?Math.floor(i/2):Math.floor(i/2)+1;n.globals.isBarHorizontal&&(a=new W(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(a,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(a,"'] path[j='").concat(e,"']"));o||"number"!=typeof t||(o=n.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"']")));var s=o?parseFloat(o.getAttribute("cx")):0,l=o?parseFloat(o.getAttribute("cy")):0,c=o?parseFloat(o.getAttribute("barWidth")):0,u=r.getElGrid().getBoundingClientRect(),d=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));n.globals.isXNumeric?(o&&!d&&(s-=i%2!=0?c/2:0),o&&d&&n.globals.comboCharts&&(s-=c/2)):n.globals.isBarHorizontal||(s=r.xAxisTicksPositions[e-1]+r.dataPointsDividedWidth/2,isNaN(s)&&(s=r.xAxisTicksPositions[e]-r.dataPointsDividedWidth/2)),n.globals.isBarHorizontal?l-=r.tooltipRect.ttHeight:n.config.tooltip.followCursor?l=r.e.clientY-u.top-r.tooltipRect.ttHeight/2:l+r.tooltipRect.ttHeight+15>n.globals.gridHeight&&(l=n.globals.gridHeight),n.globals.isBarHorizontal||this.moveXCrosshairs(s),r.fixedTooltip||this.moveTooltip(s,l||n.globals.gridHeight)}}]),e}(),ye=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new ve(t)}return c(e,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new k(this.ctx),n=new z(this.ctx),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");r=v(r),e.config.chart.stacked&&r.sort((function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))}));for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=this.w;"bubble"!==i.config.chart.type&&this.newPointSize(e,t);var a=t.getAttribute("cx"),o=t.getAttribute("cy");if(null!==n&&null!==r&&(a=n,o=r),this.tooltipPosition.moveXCrosshairs(a),!this.fixedTooltip){if("radar"===i.config.chart.type){var s=this.ttCtx.getElGrid().getBoundingClientRect();a=this.ttCtx.e.clientX-s.left}this.tooltipPosition.moveTooltip(a,o,i.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,n=this,r=this.ttCtx,i=e,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,s=0;s=0?e[t].setAttribute("r",n):e[t].setAttribute("r",0)}}}]),e}(),be=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t}return c(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,n=e.opt,r=e.x,i=e.y,a=e.type,o=this.ttCtx,s=this.w;if(t.target.classList.contains("apexcharts-".concat(a,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),u=this.getAttr(t,"cx"),d=this.getAttr(t,"cy"),h=this.getAttr(t,"width"),p=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:l,j:c,shared:!1,e:t}),s.globals.capturedSeriesIndex=l,s.globals.capturedDataPointIndex=c,r=u+o.tooltipRect.ttWidth/2+h,i=d+o.tooltipRect.ttHeight/2-p/2,o.tooltipPosition.moveXCrosshairs(u+h/2),r>s.globals.gridWidth/2&&(r=u-o.tooltipRect.ttWidth/2+h),o.w.config.tooltip.followCursor){var f=s.globals.dom.elWrap.getBoundingClientRect();r=s.globals.clientX-f.left-(r>s.globals.gridWidth/2?o.tooltipRect.ttWidth:0),i=s.globals.clientY-f.top-(i>s.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:r,y:i}}},{key:"handleMarkerTooltip",value:function(e){var t,n,r=e.e,i=e.opt,a=e.x,o=e.y,s=this.w,l=this.ttCtx;if(r.target.classList.contains("apexcharts-marker")){var c=parseInt(i.paths.getAttribute("cx"),10),u=parseInt(i.paths.getAttribute("cy"),10),d=parseFloat(i.paths.getAttribute("val"));if(n=parseInt(i.paths.getAttribute("rel"),10),t=parseInt(i.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var h=x.findAncestor(i.paths,"apexcharts-series");h&&(t=parseInt(h.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:t,j:n,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:r}),"mouseup"===r.type&&l.markerClick(r,t,n),s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=n,a=c,o=u+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var p=l.getElGrid().getBoundingClientRect();o=l.e.clientY+s.globals.translateY-p.top}d<0&&(o=u),l.marker.enlargeCurrentPoint(n,i.paths,a,o)}return{x:a,y:o}}},{key:"handleBarTooltip",value:function(e){var t,n,r=e.e,i=e.opt,a=this.w,o=this.ttCtx,s=o.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:r,opt:i});t=d.i;var h=d.barHeight,p=d.j;a.globals.capturedSeriesIndex=t,a.globals.capturedDataPointIndex=p,a.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!a.config.tooltip.shared?(c=d.x,u=d.y,n=Array.isArray(a.config.stroke.width)?a.config.stroke.width[t]:a.config.stroke.width,l=c):a.globals.comboCharts||a.config.tooltip.shared||(l/=2),isNaN(u)&&(u=a.globals.svgHeight-o.tooltipRect.ttHeight);var f=parseInt(i.paths.parentNode.getAttribute("data:realIndex"),10),g=a.globals.isMultipleYAxis?a.config.yaxis[f]&&a.config.yaxis[f].reversed:a.config.yaxis[0].reversed;if(c+o.tooltipRect.ttWidth>a.globals.gridWidth&&!g?c-=o.tooltipRect.ttWidth:c<0&&(c=0),o.w.config.tooltip.followCursor){var m=o.getElGrid().getBoundingClientRect();u=o.e.clientY-m.top}null===o.tooltip&&(o.tooltip=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),a.config.tooltip.shared||(a.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(l+n/2):o.tooltipPosition.moveXCrosshairs(l)),!o.fixedTooltip&&(!a.config.tooltip.shared||a.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(g&&(c-=o.tooltipRect.ttWidth)<0&&(c=0),!g||a.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||(u=u+h-2*(a.globals.series[t][p]<0?h:0)),u=u+a.globals.translateY-o.tooltipRect.ttHeight/2,s.style.left=c+a.globals.translateX+"px",s.style.top=u+"px")}},{key:"getBarTooltipXY",value:function(e){var t=e.e,n=e.opt,r=this.w,i=null,a=this.ttCtx,o=0,s=0,l=0,c=0,u=0,d=t.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")||d.contains("apexcharts-boxPlot-area")||d.contains("apexcharts-rangebar-area")){var h=t.target,p=h.getBoundingClientRect(),f=n.elGrid.getBoundingClientRect(),g=p.height;u=p.height;var m=p.width,v=parseInt(h.getAttribute("cx"),10),y=parseInt(h.getAttribute("cy"),10);c=parseFloat(h.getAttribute("barWidth"));var b="touchmove"===t.type?t.touches[0].clientX:t.clientX;i=parseInt(h.getAttribute("j"),10),o=parseInt(h.parentNode.getAttribute("rel"),10)-1;var x=h.getAttribute("data-range-y1"),w=h.getAttribute("data-range-y2");r.globals.comboCharts&&(o=parseInt(h.parentNode.getAttribute("data:realIndex"),10)),a.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:o,j:i,y1:x?parseInt(x,10):null,y2:w?parseInt(w,10):null,shared:!a.showOnIntersect&&r.config.tooltip.shared,e:t}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(s=b-f.left+15,l=y-a.dataPointsDividedHeight+g/2-a.tooltipRect.ttHeight/2):(s=r.globals.isXNumeric?v-m/2:v-a.dataPointsDividedWidth+m/2,l=t.clientY-f.top-a.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((s=v)0&&n.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,n){var r=this.ttCtx,i=this.w,a=i.globals.yLabelFormatters[e];if(r.yaxisTooltips[e]){var o=r.getElGrid().getBoundingClientRect(),s=(t-o.top)*n.yRatio[e],l=i.globals.maxYArr[e]-i.globals.minYArr[e],c=i.globals.minYArr[e]+(l-s);r.tooltipPosition.moveYCrosshairs(t-o.top),r.yaxisTooltipText[e].innerHTML=a(c),r.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),we=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new ge(this),this.tooltipLabels=new me(this),this.tooltipPosition=new ve(this),this.marker=new ye(this),this.intersect=new be(this),this.axesTooltip=new xe(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return c(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(e,n){return!!(e.show&&e.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&n.classList.add(t.config.tooltip.cssClass),n.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(n),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var r=new Z(this.ctx);this.xAxisTicksPositions=r.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==t.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var i=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(i=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(i),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,n=this.w,r=[],i=this.getElTooltip(),a=function(a){var o=document.createElement("div");o.classList.add("apexcharts-tooltip-series-group"),o.style.order=n.config.tooltip.inverseOrder?e-a:a+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(a)<0&&o.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=n.globals.colors[a],o.appendChild(s);var l=document.createElement("div");l.classList.add("apexcharts-tooltip-text"),l.style.fontFamily=t.tConfig.style.fontFamily||n.config.chart.fontFamily,l.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(e){var t=document.createElement("div");t.classList.add("apexcharts-tooltip-".concat(e,"-group"));var n=document.createElement("span");n.classList.add("apexcharts-tooltip-text-".concat(e,"-label")),t.appendChild(n);var r=document.createElement("span");r.classList.add("apexcharts-tooltip-text-".concat(e,"-value")),t.appendChild(r),l.appendChild(t)})),o.appendChild(l),i.appendChild(o),r.push(o)},o=0;o0&&this.addPathsEventListeners(p,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),n=t.getBoundingClientRect(),r=n.width+10,i=n.height+10,a=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,s=this.tConfig.fixed.position.toLowerCase();return s.indexOf("right")>-1&&(a=a+e.globals.svgWidth-r+10),s.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-i-10),t.style.left=a+"px",t.style.top=o+"px",{x:a,y:o,ttWidth:r,ttHeight:i}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var n=this,r=function(r){var i={paths:e[r],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(t){return e[r].addEventListener(t,n.onSeriesHover.bind(n,i),{capture:!1,passive:!0})}))},i=0;i=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){n.seriesHover(e,t)}),100-r))}},{key:"seriesHover",value:function(e,t){var n=this;this.lastHoverTime=Date.now();var r=[],i=this.w;i.config.chart.group&&(r=this.ctx.getGroupedCharts()),i.globals.axisCharts&&(i.globals.minX===-1/0&&i.globals.maxX===1/0||0===i.globals.dataPoints)||(r.length?r.forEach((function(r){var i=n.getElTooltip(r),a={paths:e.paths,tooltipEl:i,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:r.w.globals.tooltip.ttItems};r.w.globals.minX===n.w.globals.minX&&r.w.globals.maxX===n.w.globals.maxX&&r.w.globals.tooltip.seriesHoverByContext({chartCtx:r,ttCtx:r.w.globals.tooltip,opt:a,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,n=e.ttCtx,r=e.opt,i=e.e,a=t.w,o=this.getElTooltip();o&&(n.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},n.e=i,!n.tooltipUtil.hasBars()||a.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new W(t).toggleSeriesOnHover(i,i.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),a.globals.axisCharts?n.axisChartsTooltips({e:i,opt:r,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:i,opt:r,tooltipRect:n.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,n,r=e.e,i=e.opt,a=this.w,o=i.elGrid.getBoundingClientRect(),s="touchmove"===r.type?r.touches[0].clientX:r.clientX,l="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=l,this.clientX=s,a.globals.capturedSeriesIndex=-1,a.globals.capturedDataPointIndex=-1,lo.top+o.height)this.handleMouseOut(i);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!a.config.tooltip.shared){var c=parseInt(i.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(i)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),h=a.globals.xyCharts||"bar"===a.config.chart.type&&!a.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||a.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(a.globals.collapsedSeries.length+a.globals.ancillaryCollapsedSeries.length===a.globals.series.length)return;null!==d&&d.classList.add("apexcharts-active");var p=this.yaxisTooltips.filter((function(e){return!0===e}));if(null!==this.ycrosshairs&&p.length&&this.ycrosshairs.classList.add("apexcharts-active"),h&&!this.showOnIntersect)this.handleStickyTooltip(r,s,l,i);else if("heatmap"===a.config.chart.type||"treemap"===a.config.chart.type){var f=this.intersect.handleHeatTreeTooltip({e:r,opt:i,x:t,y:n,type:a.config.chart.type});t=f.x,n=f.y,u.style.left=t+"px",u.style.top=n+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:r,opt:i}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:r,opt:i,x:t,y:n});if(this.yaxisTooltips.length)for(var g=0;gl.width)this.handleMouseOut(r);else if(null!==s)this.handleStickyCapturedSeries(e,s,r,o);else if(this.tooltipUtil.isXoverlap(o)||i.globals.isBarHorizontal){var c=i.globals.series.findIndex((function(e,t){return!i.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,c,o,r.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,n,r){var i=this.w;if(this.tConfig.shared||null!==i.globals.series[t][r]){if(void 0!==i.globals.series[t][r])this.tConfig.shared&&this.tooltipUtil.isXoverlap(r)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,r,n.ttItems):this.create(e,this,t,r,n.ttItems,!1);else if(this.tooltipUtil.isXoverlap(r)){var a=i.globals.series.findIndex((function(e,t){return!i.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,a,r,n.ttItems)}}else this.handleMouseOut(n)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new k(this.ctx),n=e.globals.dom.Paper.select(".apexcharts-bar-area"),r=0;r5&&void 0!==arguments[5]?arguments[5]:null,_=this.w,C=t;"mouseup"===e.type&&this.markerClick(e,n,r),null===S&&(S=this.tConfig.shared);var E=this.tooltipUtil.hasMarkers(n),A=this.tooltipUtil.getElBars();if(_.config.legend.tooltipHoverFormatter){var I=_.config.legend.tooltipHoverFormatter,T=Array.from(this.legendLabels);T.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}));for(var O=0;O0?C.marker.enlargePoints(r):C.tooltipPosition.moveDynamicPointsOnHover(r);else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(A),this.barSeriesHeight>0)){var U=new k(this.ctx),M=_.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(r,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(r,n);for(var R=0;Ri.globals.gridHeight&&(f=i.globals.gridHeight-y)),{bcx:u,bcy:c,dataLabelsX:t,dataLabelsY:f,totalDataLabelsX:r,totalDataLabelsY:n,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,n=e.x,r=e.i,i=e.j,a=e.realIndex,o=e.groupIndex,s=e.bcy,l=e.barHeight,c=e.barWidth,u=e.textRects,d=e.dataLabelsX,h=e.strokeWidth,p=e.dataLabelsConfig,f=e.barDataLabelsConfig,g=e.barTotalDataLabelsConfig,m=e.offX,v=e.offY,y=t.globals.gridHeight/t.globals.dataPoints;c=Math.abs(c);var b,x,w=(s+=-1!==o?o*l:0)-(this.barCtx.isRangeBar?0:y)+l/2+u.height/2+v-3,S="start",_=this.barCtx.series[r][i]<0,C=n;switch(this.barCtx.isReversed&&(C=n+c-(_?2*c:0),n=t.globals.gridWidth-c),f.position){case"center":d=_?C+c/2-m:Math.max(u.width/2,C-c/2)+m;break;case"bottom":d=_?C+c-h-Math.round(u.width/2)-m:C-c+h+Math.round(u.width/2)+m;break;case"top":d=_?C-h+Math.round(u.width/2)-m:C-h-Math.round(u.width/2)+m}if(this.barCtx.lastActiveBarSerieIndex===a&&g.enabled){var E=new k(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:a,j:i}),p.fontSize);_?(b=C-h+Math.round(E.width/2)-m-g.offsetX-15,S="end"):b=C-h-Math.round(E.width/2)+m+g.offsetX+15,x=w+g.offsetY}return t.config.chart.stacked||(d<0?d=d+u.width+h:d+u.width/2>t.globals.gridWidth&&(d=t.globals.gridWidth-u.width-h)),{bcx:n,bcy:s,dataLabelsX:d,dataLabelsY:w,totalDataLabelsX:b,totalDataLabelsY:x,totalDataLabelsAnchor:S}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,n=e.y,r=e.val,i=e.i,o=e.j,s=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,h="rotate(0)";"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&(h="rotate(-90, ".concat(t,", ").concat(n,")"));var p=new B(this.barCtx.ctx),f=new k(this.barCtx.ctx),g=u.formatter,m=null,v=d.globals.collapsedSeriesIndices.indexOf(i)>-1;if(u.enabled&&!v){m=f.group({class:"apexcharts-data-labels",transform:h});var y="";void 0!==r&&(y=g(r,a(a({},d),{},{seriesIndex:i,dataPointIndex:o,w:d}))),!r&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(y="");var b=d.globals.series[i][o]<0,x=d.config.plotOptions.bar.dataLabels.position;"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&("top"===x&&(u.textAnchor=b?"end":"start"),"center"===x&&(u.textAnchor="middle"),"bottom"===x&&(u.textAnchor=b?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&cMath.abs(c)&&(y=""):s.height/1.6>Math.abs(l)&&(y=""));var w=a({},u);this.barCtx.isHorizontal&&r<0&&("start"===u.textAnchor?w.textAnchor="end":"end"===u.textAnchor&&(w.textAnchor="start")),p.plotDataLabelsText({x:t,y:n,text:y,i:i,j:o,parent:m,dataLabelsConfig:w,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t,n=e.x,r=e.y,i=e.val,a=e.realIndex,o=e.textAnchor,s=e.barTotalDataLabelsConfig,l=new k(this.barCtx.ctx);return s.enabled&&void 0!==n&&void 0!==r&&this.barCtx.lastActiveBarSerieIndex===a&&(t=l.drawText({x:n,y:r,foreColor:s.style.color,text:i,textAnchor:o,fontFamily:s.style.fontFamily,fontSize:s.style.fontSize,fontWeight:s.style.fontWeight})),t}}]),e}(),ke=function(){function e(t){s(this,e),this.w=t.w,this.barCtx=t}return c(e,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var n=0;n0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[n].length),t.globals.isXNumeric)for(var r=0;rt.globals.minX&&t.globals.seriesX[n][r]0&&(r=l.globals.minXDiff/d),(a=r/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(a=1)}-1===String(this.barCtx.barOptions.columnWidth).indexOf("%")&&(a=parseInt(this.barCtx.barOptions.columnWidth,10)),o=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(r-a*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:n,xDivision:r,barHeight:i,barWidth:a,zeroH:o,zeroW:s}}},{key:"initializeStackedPrevVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]})):(e.prevY=[],e.prevX=[],e.prevYF=[],e.prevXF=[],e.prevYVal=[],e.prevXVal=[])}},{key:"initializeStackedXYVars",value:function(e){var t=e.w;t.globals.hasSeriesGroups?t.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]})):(e.xArrj=[],e.xArrjF=[],e.xArrjVal=[],e.yArrj=[],e.yArrjF=[],e.yArrjVal=[])}},{key:"getPathFillColor",value:function(e,t,n,r){var i,a,o,s,l=this.w,c=new V(this.barCtx.ctx),u=null,d=this.barCtx.barOptions.distributed?n:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(r){e[t][n]>=r.from&&e[t][n]<=r.to&&(u=r.color)})),l.config.series[t].data[n]&&l.config.series[t].data[n].fillColor&&(u=l.config.series[t].data[n].fillColor),c.fillPath({seriesNumber:this.barCtx.barOptions.distributed?d:r,dataPointIndex:n,color:u,value:e[t][n],fillConfig:null===(i=l.config.series[t].data[n])||void 0===i?void 0:i.fill,fillType:null!==(a=l.config.series[t].data[n])&&void 0!==a&&null!==(o=a.fill)&&void 0!==o&&o.type?null===(s=l.config.series[t].data[n])||void 0===s?void 0:s.fill.type:l.config.fill.type})}},{key:"getStrokeWidth",value:function(e,t,n){var r=0,i=this.w;return this.barCtx.series[e][t]?this.barCtx.isNullValue=!1:this.barCtx.isNullValue=!0,i.config.stroke.show&&(this.barCtx.isNullValue||(r=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[n]:this.barCtx.strokeWidth)),r}},{key:"shouldApplyRadius",value:function(e){var t=this.w,n=!1;return t.config.plotOptions.bar.borderRadius>0&&(t.config.chart.stacked&&"last"===t.config.plotOptions.bar.borderRadiusWhenStacked?this.barCtx.lastActiveBarSerieIndex===e&&(n=!0):n=!0),n}},{key:"barBackground",value:function(e){var t=e.j,n=e.i,r=e.x1,i=e.x2,a=e.y1,o=e.y2,s=e.elSeries,l=this.w,c=new k(this.barCtx.ctx),u=new W(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===n){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],h=c.drawRect(void 0!==r?r:0,void 0!==a?a:0,void 0!==i?i:l.globals.gridWidth,void 0!==o?o:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);s.add(h),h.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,n=e.barWidth,r=e.barXPosition,i=e.y1,a=e.y2,o=e.strokeWidth,s=e.seriesGroup,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new k(this.barCtx.ctx);(o=Array.isArray(o)?o[l]:o)||(o=0);var p=n,f=r;null!==(t=d.config.series[l].data[u])&&void 0!==t&&t.columnWidthOffset&&(f=r-d.config.series[l].data[u].columnWidthOffset/2,p=n+d.config.series[l].data[u].columnWidthOffset);var g=f,m=f+p;i+=.001,a+=.001;var v=h.move(g,i),y=h.move(g,i),b=h.line(m-o,i);if(d.globals.previousPaths.length>0&&(y=this.barCtx.getPreviousPath(l,u,!1)),v=v+h.line(g,a)+h.line(m-o,a)+h.line(m-o,i)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),y=y+h.line(g,i)+b+b+b+b+b+h.line(g,i)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),this.shouldApplyRadius(l)&&(v=h.roundPathCorners(v,d.config.plotOptions.bar.borderRadius)),d.config.chart.stacked){var x=this.barCtx;d.globals.hasSeriesGroups&&s&&(x=this.barCtx[s]),x.yArrj.push(a),x.yArrjF.push(Math.abs(i-a)),x.yArrjVal.push(this.barCtx.series[c][u])}return{pathTo:v,pathFrom:y}}},{key:"getBarpaths",value:function(e){var t,n=e.barYPosition,r=e.barHeight,i=e.x1,a=e.x2,o=e.strokeWidth,s=e.seriesGroup,l=e.realIndex,c=e.i,u=e.j,d=e.w,h=new k(this.barCtx.ctx);(o=Array.isArray(o)?o[l]:o)||(o=0);var p=n,f=r;null!==(t=d.config.series[l].data[u])&&void 0!==t&&t.barHeightOffset&&(p=n-d.config.series[l].data[u].barHeightOffset/2,f=r+d.config.series[l].data[u].barHeightOffset);var g=p,m=p+f;i+=.001,a+=.001;var v=h.move(i,g),y=h.move(i,g);d.globals.previousPaths.length>0&&(y=this.barCtx.getPreviousPath(l,u,!1));var b=h.line(i,m-o);if(v=v+h.line(a,g)+h.line(a,m-o)+b+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),y=y+h.line(i,g)+b+b+b+b+b+h.line(i,g)+("around"===d.config.plotOptions.bar.borderRadiusApplication?" Z":" z"),this.shouldApplyRadius(l)&&(v=h.roundPathCorners(v,d.config.plotOptions.bar.borderRadius)),d.config.chart.stacked){var x=this.barCtx;d.globals.hasSeriesGroups&&s&&(x=this.barCtx[s]),x.xArrj.push(a),x.xArrjF.push(Math.abs(i-a)),x.xArrjVal.push(this.barCtx.series[c][u])}return{pathTo:v,pathFrom:y}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,n=this.w,r=0;r2&&void 0!==arguments[2]&&!arguments[2]?null:t;return null!=e&&(n=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),n}},{key:"getYForValue",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?null:t;return null!=e&&(n=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),n}},{key:"getGoalValues",value:function(e,t,n,r,i){var o=this,s=this.w,l=[],c=function(r,i){var a;l.push((u(a={},e,"x"===e?o.getXForValue(r,t,!1):o.getYForValue(r,n,!1)),u(a,"attrs",i),a))};if(s.globals.seriesGoals[r]&&s.globals.seriesGoals[r][i]&&Array.isArray(s.globals.seriesGoals[r][i])&&s.globals.seriesGoals[r][i].forEach((function(e){c(e.value,e)})),this.barCtx.barOptions.isDumbbell&&s.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:s.globals.colors,h={strokeHeight:"x"===e?0:s.globals.markers.size[r],strokeWidth:"x"===e?s.globals.markers.size[r]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[r])?d[r][0]:d[r]};c(s.globals.seriesRangeStart[r][i],h),c(s.globals.seriesRangeEnd[r][i],a(a({},h),{},{strokeColor:Array.isArray(d[r])?d[r][1]:d[r]}))}return l}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,n=e.barYPosition,r=e.goalX,i=e.goalY,a=e.barWidth,o=e.barHeight,s=new k(this.barCtx.ctx),l=s.group({className:"apexcharts-bar-goals-groups"});l.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:l.node}),l.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var c=null;return this.barCtx.isHorizontal?Array.isArray(r)&&r.forEach((function(e){var t=void 0!==e.attrs.strokeHeight?e.attrs.strokeHeight:o/2,r=n+t+o/2;c=s.drawLine(e.x,r-2*t,e.x,r,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeWidth?e.attrs.strokeWidth:2,e.attrs.strokeLineCap),l.add(c)})):Array.isArray(i)&&i.forEach((function(e){var n=void 0!==e.attrs.strokeWidth?e.attrs.strokeWidth:a/2,r=t+n+a/2;c=s.drawLine(r-2*n,e.y,r,e.y,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeHeight?e.attrs.strokeHeight:2,e.attrs.strokeLineCap),l.add(c)})),l}}]),e}(),_e=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.isRangeBar=r.globals.seriesRange.length&&this.isHorizontal,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0;var i=new W(this.ctx);this.lastActiveBarSerieIndex=i.getActiveConfigSeriesIndex("desc",["bar","column"]);var a=i.getBarSeriesIndices(),o=new _(this.ctx);this.stackedSeriesTotals=o.getStackedSeriesTotals(this.w.config.series.map((function(e,t){return-1===a.indexOf(t)?t:-1})).filter((function(e){return-1!==e}))),this.barHelpers=new ke(this)}return c(e,[{key:"draw",value:function(e,t){var n=this.w,r=new k(this.ctx),i=new _(this.ctx,n);e=i.getLogSeries(e),this.series=e,this.yRatio=i.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var o=r.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var s=0,l=0;s0&&(this.visibleI=this.visibleI+1);var b=0,w=0;this.yRatio.length>1&&(this.yaxisIndex=v),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var S=this.barHelpers.initialPositions();f=S.y,b=S.barHeight,u=S.yDivision,h=S.zeroW,p=S.x,w=S.barWidth,c=S.xDivision,d=S.zeroH,this.horizontal||m.push(p+w/2);for(var C=r.group({class:"apexcharts-datalabels","data:realIndex":v}),E=r.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),A=0;A0&&m.push(p+w/2),g.push(f);var D=this.barHelpers.getPathFillColor(e,s,A,v);this.renderSeries({realIndex:v,pathFill:D,j:A,i:s,pathFrom:T.pathFrom,pathTo:T.pathTo,strokeWidth:I,elSeries:y,x:p,y:f,series:e,barHeight:T.barHeight?T.barHeight:b,barWidth:T.barWidth?T.barWidth:w,elDataLabelsWrap:C,elGoalsMarkers:E,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[v]=m,n.globals.seriesYvalues[v]=g,o.add(y)}return o}},{key:"renderSeries",value:function(e){var t=e.realIndex,n=e.pathFill,r=e.lineFill,i=e.j,a=e.i,o=e.groupIndex,s=e.pathFrom,l=e.pathTo,c=e.strokeWidth,u=e.elSeries,d=e.x,h=e.y,p=e.y1,f=e.y2,g=e.series,m=e.barHeight,v=e.barWidth,y=e.barYPosition,b=e.elDataLabelsWrap,x=e.elGoalsMarkers,w=e.visibleSeries,_=e.type,C=this.w,E=new k(this.ctx);r||(r=this.barOptions.distributed?C.globals.stroke.colors[i]:C.globals.stroke.colors[t]),C.config.series[a].data[i]&&C.config.series[a].data[i].strokeColor&&(r=C.config.series[a].data[i].strokeColor),this.isNullValue&&(n="none");var A=i/C.config.chart.animations.animateGradually.delay*(C.config.chart.animations.speed/C.globals.dataPoints)/2.4,I=E.renderPaths({i:a,j:i,realIndex:t,pathFrom:s,pathTo:l,stroke:r,strokeWidth:c,strokeLineCap:C.config.stroke.lineCap,fill:n,animationDelay:A,initialSpeed:C.config.chart.animations.speed,dataChangeSpeed:C.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(_,"-area")});I.attr("clip-path","url(#gridRectMask".concat(C.globals.cuid,")"));var T=C.config.forecastDataPoints;T.count>0&&i>=C.globals.dataPoints-T.count&&(I.node.setAttribute("stroke-dasharray",T.dashArray),I.node.setAttribute("stroke-width",T.strokeWidth),I.node.setAttribute("fill-opacity",T.fillOpacity)),void 0!==p&&void 0!==f&&(I.attr("data-range-y1",p),I.attr("data-range-y2",f)),new S(this.ctx).setSelectionFilter(I,t,i),u.add(I);var O=new Se(this).handleBarDataLabels({x:d,y:h,y1:p,y2:f,i:a,j:i,series:g,realIndex:t,groupIndex:o,barHeight:m,barWidth:v,barYPosition:y,renderedPath:I,visibleSeries:w});return null!==O.dataLabels&&b.add(O.dataLabels),O.totalDataLabels&&b.add(O.totalDataLabels),u.add(b),x&&u.add(x),u}},{key:"drawBarPaths",value:function(e){var t,n=e.indexes,r=e.barHeight,i=e.strokeWidth,a=e.zeroW,o=e.x,s=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=n.i,h=n.j;if(u.globals.isXNumeric)t=(s=(u.globals.seriesX[d][h]-u.globals.minX)/this.invertedXRatio-r)+r*this.visibleI;else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var p=0,f=0;u.globals.seriesPercent.forEach((function(e,t){e[h]&&p++,t0&&(r=this.seriesLen*r/p),t=s+r*this.visibleI,t-=r*f}else t=s+r*this.visibleI;o=this.barHelpers.getXForValue(this.series[d][h],a);var g=this.barHelpers.getBarpaths({barYPosition:t,barHeight:r,x1:a,x2:o,strokeWidth:i,series:this.series,realIndex:n.realIndex,i:d,j:h,w:u});return u.globals.isXNumeric||(s+=l),this.barHelpers.barBackground({j:h,i:d,y1:t-r*this.visibleI,y2:r*this.seriesLen,elSeries:c}),{pathTo:g.pathTo,pathFrom:g.pathFrom,x:o,y:s,goalX:this.barHelpers.getGoalValues("x",a,null,d,h),barYPosition:t,barHeight:r}}},{key:"drawColumnPaths",value:function(e){var t,n=e.indexes,r=e.x,i=e.y,a=e.xDivision,o=e.barWidth,s=e.zeroH,l=e.strokeWidth,c=e.elSeries,u=this.w,d=n.realIndex,h=n.i,p=n.j,f=n.bc;if(u.globals.isXNumeric){var g=d;u.globals.seriesX[d].length||(g=u.globals.maxValsInArrayIndex),u.globals.seriesX[g][p]&&(r=(u.globals.seriesX[g][p]-u.globals.minX)/this.xRatio-o*this.seriesLen/2),t=r+o*this.visibleI}else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var m=0,v=0;u.globals.seriesPercent.forEach((function(e,t){e[p]&&m++,t0&&(o=this.seriesLen*o/m),t=r+o*this.visibleI,t-=o*v}else t=r+o*this.visibleI;i=this.barHelpers.getYForValue(this.series[h][p],s);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:s,y2:i,strokeWidth:l,series:this.series,realIndex:n.realIndex,i:h,j:p,w:u});return u.globals.isXNumeric||(r+=a),this.barHelpers.barBackground({bc:f,j:p,i:h,x1:t-l/2-o*this.visibleI,x2:o*this.seriesLen+l/2,elSeries:c}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:r,y:i,goalY:this.barHelpers.getGoalValues("y",null,s,h,p),barXPosition:t,barWidth:o}}},{key:"getPreviousPath",value:function(e,t){for(var n,r=this.w,i=0;i0&&parseInt(a.realIndex,10)===parseInt(e,10)&&void 0!==r.globals.previousPaths[i].paths[t]&&(n=r.globals.previousPaths[i].paths[t].d)}return n}}]),e}(),Ce=function(e){d(n,_e);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this,r=this.w;this.graphics=new k(this.ctx),this.bar=new _e(this.ctx,this.xyRatios);var i=new _(this.ctx,r);e=i.getLogSeries(e),this.yRatio=i.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e),"100%"===r.config.chart.stackType&&(e=r.globals.seriesPercent.slice()),this.series=e,this.barHelpers.initializeStackedPrevVars(this);for(var o=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),s=0,l=0,c=function(i,c){var u=void 0,d=void 0,h=void 0,p=void 0,f=-1;n.groupCtx=n,r.globals.seriesGroups.forEach((function(e,t){e.indexOf(r.config.series[i].name)>-1&&(f=t)})),-1!==f&&(n.groupCtx=n[r.globals.seriesGroups[f]]);var g=[],m=[],v=r.globals.comboCharts?t[i]:i;n.yRatio.length>1&&(n.yaxisIndex=v),n.isReversed=r.config.yaxis[n.yaxisIndex]&&r.config.yaxis[n.yaxisIndex].reversed;var y=n.graphics.group({class:"apexcharts-series",seriesName:x.escapeString(r.globals.seriesNames[v]),rel:i+1,"data:realIndex":v});n.ctx.series.addCollapsedClassToSeries(y,v);var b=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),w=n.graphics.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),S=0,k=0,_=n.initialPositions(s,l,u,d,h,p);l=_.y,S=_.barHeight,d=_.yDivision,p=_.zeroW,s=_.x,k=_.barWidth,u=_.xDivision,h=_.zeroH,n.barHelpers.initializeStackedXYVars(n),1===n.groupCtx.prevY.length&&n.groupCtx.prevY[0].every((function(e){return isNaN(e)}))&&(n.groupCtx.prevY[0]=n.groupCtx.prevY[0].map((function(e){return h})),n.groupCtx.prevYF[0]=n.groupCtx.prevYF[0].map((function(e){return 0})));for(var C=0;C1?(n=u.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:s*parseInt(u.config.plotOptions.bar.columnWidth,10)/100,null!==(c=u.globals.seriesGroups)&&void 0!==c&&c.length&&(s/=u.globals.seriesGroups.length),-1===String(u.config.plotOptions.bar.columnWidth).indexOf("%")&&(s=parseInt(u.config.plotOptions.bar.columnWidth,10)),i=u.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?u.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=u.globals.padHorizontal+(n-s)/2),{x:e,y:t,yDivision:r,xDivision:n,barHeight:o,barWidth:s,zeroH:i,zeroW:a}}},{key:"drawStackedBarPaths",value:function(e){for(var t,n=e.indexes,r=e.barHeight,i=e.strokeWidth,a=e.zeroW,o=e.x,s=e.y,l=e.groupIndex,c=e.seriesGroup,u=e.yDivision,d=e.elSeries,h=this.w,p=s+(-1!==l?l*r:0),f=n.i,g=n.j,m=0,v=0;v0){var b=a;this.groupCtx.prevXVal[y-1][g]<0?b=this.series[f][g]>=0?this.groupCtx.prevX[y-1][g]+m-2*(this.isReversed?m:0):this.groupCtx.prevX[y-1][g]:this.groupCtx.prevXVal[y-1][g]>=0&&(b=this.series[f][g]>=0?this.groupCtx.prevX[y-1][g]:this.groupCtx.prevX[y-1][g]-m+2*(this.isReversed?m:0)),t=b}else t=a;o=null===this.series[f][g]?t:t+this.series[f][g]/this.invertedYRatio-2*(this.isReversed?this.series[f][g]/this.invertedYRatio:0);var x=this.barHelpers.getBarpaths({barYPosition:p,barHeight:r,x1:t,x2:o,strokeWidth:i,series:this.series,realIndex:n.realIndex,seriesGroup:c,i:f,j:g,w:h});return this.barHelpers.barBackground({j:g,i:f,y1:p,y2:r,elSeries:d}),s+=u,{pathTo:x.pathTo,pathFrom:x.pathFrom,goalX:this.barHelpers.getGoalValues("x",a,null,f,g),barYPosition:p,x:o,y:s}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,n=e.x,r=e.y,i=e.xDivision,a=e.barWidth,o=e.zeroH,s=e.groupIndex,l=e.seriesGroup,c=e.elSeries,u=this.w,d=t.i,h=t.j,p=t.bc;if(u.globals.isXNumeric){var f=u.globals.seriesX[d][h];f||(f=0),n=(f-u.globals.minX)/this.xRatio-a/2,u.globals.seriesGroups.length&&(n=(f-u.globals.minX)/this.xRatio-a/2*u.globals.seriesGroups.length)}for(var g,m=n+(-1!==s?s*a:0),v=0,y=0;y0&&!u.globals.isXNumeric||b>0&&u.globals.isXNumeric&&u.globals.seriesX[d-1][h]===u.globals.seriesX[d][h]){var x,w,S,k=Math.min(this.yRatio.length+1,d+1);if(void 0!==this.groupCtx.prevY[b-1]&&this.groupCtx.prevY[b-1].length)for(var _=1;_=0?S-v+2*(this.isReversed?v:0):S;break}if((null===(I=this.groupCtx.prevYVal[b-E])||void 0===I?void 0:I[h])>=0){w=this.series[d][h]>=0?S:S+v-2*(this.isReversed?v:0);break}}void 0===w&&(w=u.globals.gridHeight),g=null!==(x=this.groupCtx.prevYF[0])&&void 0!==x&&x.every((function(e){return 0===e}))&&this.groupCtx.prevYF.slice(1,b).every((function(e){return e.every((function(e){return isNaN(e)}))}))?o:w}else g=o;r=this.series[d][h]?g-this.series[d][h]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[d][h]/this.yRatio[this.yaxisIndex]:0):g;var T=this.barHelpers.getColumnPaths({barXPosition:m,barWidth:a,y1:g,y2:r,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,seriesGroup:l,realIndex:t.realIndex,i:d,j:h,w:u});return this.barHelpers.barBackground({bc:p,j:h,i:d,x1:m,x2:a,elSeries:c}),n+=i,{pathTo:T.pathTo,pathFrom:T.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,o,d,h),barXPosition:m,x:u.globals.isXNumeric?n-i:n,y:r}}}]),n}(),Ee=function(e){d(n,_e);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t,n){var r=this,i=this.w,o=new k(this.ctx),s=i.globals.comboCharts?t:i.config.chart.type,l=new V(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=i.config.plotOptions.bar.horizontal;var c=new _(this.ctx,i);e=c.getLogSeries(e),this.series=e,this.yRatio=c.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var u=o.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),d=function(t){r.isBoxPlot="boxPlot"===i.config.chart.type||"boxPlot"===i.config.series[t].type;var s,c,d,h,p,f,g=void 0,m=void 0,v=[],y=[],b=i.globals.comboCharts?n[t]:t,w=o.group({class:"apexcharts-series",seriesName:x.escapeString(i.globals.seriesNames[b]),rel:t+1,"data:realIndex":b});r.ctx.series.addCollapsedClassToSeries(w,b),e[t].length>0&&(r.visibleI=r.visibleI+1),r.yRatio.length>1&&(r.yaxisIndex=b);var S=r.barHelpers.initialPositions();m=S.y,p=S.barHeight,c=S.yDivision,h=S.zeroW,g=S.x,f=S.barWidth,s=S.xDivision,d=S.zeroH,y.push(g+f/2);for(var k=o.group({class:"apexcharts-datalabels","data:realIndex":b}),_=function(n){var o=r.barHelpers.getStrokeWidth(t,n,b),u=null,x={indexes:{i:t,j:n,realIndex:b},x:g,y:m,strokeWidth:o,elSeries:w};u=r.isHorizontal?r.drawHorizontalBoxPaths(a(a({},x),{},{yDivision:c,barHeight:p,zeroW:h})):r.drawVerticalBoxPaths(a(a({},x),{},{xDivision:s,barWidth:f,zeroH:d})),m=u.y,g=u.x,n>0&&y.push(g+f/2),v.push(m),u.pathTo.forEach((function(a,s){var c=!r.isBoxPlot&&r.candlestickOptions.wick.useFillColor?u.color[s]:i.globals.stroke.colors[t],d=l.fillPath({seriesNumber:b,dataPointIndex:n,color:u.color[s],value:e[t][n]});r.renderSeries({realIndex:b,pathFill:d,lineFill:c,j:n,i:t,pathFrom:u.pathFrom,pathTo:a,strokeWidth:o,elSeries:w,x:g,y:m,series:e,barHeight:p,barWidth:f,elDataLabelsWrap:k,visibleSeries:r.visibleI,type:i.config.chart.type})}))},C=0;Cv.c&&(d=!1);var x=Math.min(v.o,v.c),w=Math.max(v.o,v.c),S=v.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[m][u]-s.globals.minX)/this.xRatio-i/2);var _=n+i*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(x=a,w=a):(x=a-x/g,w=a-w/g,y=a-v.h/g,b=a-v.l/g,S=a-v.m/g);var C=l.move(_,a),E=l.move(_+i/2,x);return s.globals.previousPaths.length>0&&(E=this.getPreviousPath(m,u,!0)),C=this.isBoxPlot?[l.move(_,x)+l.line(_+i/2,x)+l.line(_+i/2,y)+l.line(_+i/4,y)+l.line(_+i-i/4,y)+l.line(_+i/2,y)+l.line(_+i/2,x)+l.line(_+i,x)+l.line(_+i,S)+l.line(_,S)+l.line(_,x+o/2),l.move(_,S)+l.line(_+i,S)+l.line(_+i,w)+l.line(_+i/2,w)+l.line(_+i/2,b)+l.line(_+i-i/4,b)+l.line(_+i/4,b)+l.line(_+i/2,b)+l.line(_+i/2,w)+l.line(_,w)+l.line(_,S)+"z"]:[l.move(_,w)+l.line(_+i/2,w)+l.line(_+i/2,y)+l.line(_+i/2,w)+l.line(_+i,w)+l.line(_+i,x)+l.line(_+i/2,x)+l.line(_+i/2,b)+l.line(_+i/2,x)+l.line(_,x)+l.line(_,w-o/2)],E+=l.move(_,x),s.globals.isXNumeric||(n+=r),{pathTo:C,pathFrom:E,x:n,y:w,barXPosition:_,color:this.isBoxPlot?f:d?[h]:[p]}}},{key:"drawHorizontalBoxPaths",value:function(e){var t=e.indexes;e.x;var n=e.y,r=e.yDivision,i=e.barHeight,a=e.zeroW,o=e.strokeWidth,s=this.w,l=new k(this.ctx),c=t.i,u=t.j,d=this.boxOptions.colors.lower;this.isBoxPlot&&(d=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var h=this.invertedYRatio,p=t.realIndex,f=this.getOHLCValue(p,u),g=a,m=a,v=Math.min(f.o,f.c),y=Math.max(f.o,f.c),b=f.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[p][u]-s.globals.minX)/this.invertedXRatio-i/2);var x=n+i*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(v=a,y=a):(v=a+v/h,y=a+y/h,g=a+f.h/h,m=a+f.l/h,b=a+f.m/h);var w=l.move(a,x),S=l.move(v,x+i/2);return s.globals.previousPaths.length>0&&(S=this.getPreviousPath(p,u,!0)),w=[l.move(v,x)+l.line(v,x+i/2)+l.line(g,x+i/2)+l.line(g,x+i/2-i/4)+l.line(g,x+i/2+i/4)+l.line(g,x+i/2)+l.line(v,x+i/2)+l.line(v,x+i)+l.line(b,x+i)+l.line(b,x)+l.line(v+o/2,x),l.move(b,x)+l.line(b,x+i)+l.line(y,x+i)+l.line(y,x+i/2)+l.line(m,x+i/2)+l.line(m,x+i-i/4)+l.line(m,x+i/4)+l.line(m,x+i/2)+l.line(y,x+i/2)+l.line(y,x)+l.line(b,x)+"z"],S+=l.move(v,x),s.globals.isXNumeric||(n+=r),{pathTo:w,pathFrom:S,x:y,y:n,barYPosition:x,color:d}}},{key:"getOHLCValue",value:function(e,t){var n=this.w;return{o:this.isBoxPlot?n.globals.seriesCandleH[e][t]:n.globals.seriesCandleO[e][t],h:this.isBoxPlot?n.globals.seriesCandleO[e][t]:n.globals.seriesCandleH[e][t],m:n.globals.seriesCandleM[e][t],l:this.isBoxPlot?n.globals.seriesCandleC[e][t]:n.globals.seriesCandleL[e][t],c:this.isBoxPlot?n.globals.seriesCandleL[e][t]:n.globals.seriesCandleC[e][t]}}}]),n}(),Ae=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,n=e.config.plotOptions[e.config.chart.type];return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(e,n){e.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,n,r){var i=this.w,a=1,o=i.config.plotOptions[e].shadeIntensity,s=this.determineColor(e,t,n);i.globals.hasNegs||r?a=i.config.plotOptions[e].reverseNegativeShade?s.percent<0?s.percent/100*(1.25*o):(1-s.percent/100)*(1.25*o):s.percent<=0?1-(1+s.percent/100)*o:(1-s.percent/100)*o:(a=1-s.percent/100,"treemap"===e&&(a=(1-s.percent/100)*(1.25*o)));var l=s.color,c=new x;return i.config.plotOptions[e].enableShades&&(l="dark"===this.w.config.theme.mode?x.hexToRgba(c.shadeColor(-1*a,s.color),i.config.fill.opacity):x.hexToRgba(c.shadeColor(a,s.color),i.config.fill.opacity)),{color:l,colorProps:s}}},{key:"determineColor",value:function(e,t,n){var r=this.w,i=r.globals.series[t][n],a=r.config.plotOptions[e],o=a.colorScale.inverse?n:t;a.distributed&&"treemap"===r.config.chart.type&&(o=n);var s=r.globals.colors[o],l=null,c=Math.min.apply(Math,v(r.globals.series[t])),u=Math.max.apply(Math,v(r.globals.series[t]));a.distributed||"heatmap"!==e||(c=r.globals.minY,u=r.globals.maxY),void 0!==a.colorScale.min&&(c=a.colorScale.minr.globals.maxY?a.colorScale.max:r.globals.maxY);var d=Math.abs(u)+Math.abs(c),h=100*i/(0===d?d-1e-6:d);return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(e,t){if(i>=e.from&&i<=e.to){s=e.color,l=e.foreColor?e.foreColor:null,c=e.from,u=e.to;var n=Math.abs(u)+Math.abs(c);h=100*i/(0===n?n-1e-6:n)}})),{color:s,foreColor:l,percent:h}}},{key:"calculateDataLabels",value:function(e){var t=e.text,n=e.x,r=e.y,i=e.i,a=e.j,o=e.colorProps,s=e.fontSize,l=this.w.config.dataLabels,c=new k(this.ctx),u=new B(this.ctx),d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var h=l.offsetX,p=l.offsetY,f=n+h,g=r+parseFloat(l.style.fontSize)/3+p;u.plotDataLabelsText({x:f,y:g,text:t,i:i,j:a,color:o.foreColor,parent:d,fontSize:s,dataLabelsConfig:l})}return d}},{key:"addListeners",value:function(e){var t=new k(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),e}(),Ie=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Ae(t),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return c(e,[{key:"draw",value:function(e){var t=this.w,n=new k(this.ctx),r=n.group({class:"apexcharts-heatmap"});r.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var i=t.globals.gridWidth/t.globals.dataPoints,a=t.globals.gridHeight/t.globals.series.length,o=0,s=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c=0;s?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:x.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new S(this.ctx).dropShadow(u,d,c)}for(var h=0,p=t.config.plotOptions.heatmap.shadeIntensity,f=0;f-1&&this.pieClicked(d),n.config.dataLabels.enabled){var w=y.x,_=y.y,C=100*p/this.fullAngle+"%";if(0!==p&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?t.endAngle=t.endAngle-(r+o):r+o=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(s=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(s)>this.fullAngle&&(s-=this.fullAngle);var l=Math.PI*(s-90)/180,c=t.centerX+i*Math.cos(o),u=t.centerY+i*Math.sin(o),d=t.centerX+i*Math.cos(l),h=t.centerY+i*Math.sin(l),p=x.polarToCartesian(t.centerX,t.centerY,t.donutSize,s),f=x.polarToCartesian(t.centerX,t.centerY,t.donutSize,a),g=r>180?1:0,m=["M",c,u,"A",i,i,0,g,1,d,h];return"donut"===t.chartType?[].concat(m,["L",p.x,p.y,"A",t.donutSize,t.donutSize,0,g,0,f.x,f.y,"L",c,u,"z"]).join(" "):"pie"===t.chartType||"polarArea"===t.chartType?[].concat(m,["L",t.centerX,t.centerY,"L",c,u]).join(" "):[].concat(m).join(" ")}},{key:"drawPolarElements",value:function(e){var t=this.w,n=new X(this.ctx),r=new k(this.ctx),i=new Te(this.ctx),a=r.group(),o=r.group(),s=n.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),l=s.result.reverse(),c=s.result.length;this.maxY=s.niceMax;for(var u=t.globals.radialSize,d=u/(c-1),h=0;h1&&e.total.show&&(i=e.total.color);var o=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=a.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,e.value.formatter)(n,a),r||"function"!=typeof e.total.formatter||(n=e.total.formatter(a));var l=t===e.total.label;t=e.name.formatter(t,l,a),null!==o&&(o.textContent=t),null!==s&&(s.textContent=n),null!==o&&(o.style.fill=i)}},{key:"printDataLabelsInner",value:function(e,t){var n=this.w,r=e.getAttribute("data:value"),i=n.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];n.globals.series.length>1&&this.printInnerLabels(t,i,r,e);var a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==a&&(a.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,n=this.w,r=new k(this.ctx),i=n.config.plotOptions.polarArea.spokes;if(0!==i.strokeWidth){for(var a=[],o=360/n.globals.series.length,s=0;s1)o&&!t.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(i));else if(l({makeSliceOut:!1,printLabel:!0}),!o)if(i.globals.selectedDataPoints.length&&i.globals.series.length>1)if(i.globals.selectedDataPoints[0].length>0){var c=i.globals.selectedDataPoints[0],u=i.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,t)}else a&&i.globals.selectedDataPoints.length&&0===i.globals.selectedDataPoints[0].length&&(a.style.opacity=0);else a&&i.globals.series.length>1&&(a.style.opacity=0)}}]),e}(),Ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new k(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight0&&(g=t.getPreviousPath(s));for(var m=0;m=10?e.x>0?(n="start",r+=10):e.x<0&&(n="end",r-=10):n="middle",Math.abs(e.y)>=t-10&&(e.y<0?i-=10:e.y>0&&(i+=10)),{textAnchor:n,newX:r,newY:i}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,n=null,r=0;r0&&parseInt(i.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[r].paths[0]&&(n=t.globals.previousPaths[r].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var r=[],i=0;i=360&&(h=360-Math.abs(this.startAngle)-.1);var p=n.drawPath({d:"",stroke:u,strokeWidth:o*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var f=c.dropShadow;i.dropShadow(p,f)}l.add(p),p.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(p,{centerX:e.centerX,centerY:e.centerY,endAngle:h,startAngle:d,size:e.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return r}},{key:"drawArcs",value:function(e){var t=this.w,n=new k(this.ctx),r=new V(this.ctx),i=new S(this.ctx),a=n.group(),o=this.getStrokeWidth(e);e.size=e.size-o/2;var s=t.config.plotOptions.radialBar.hollow.background,l=e.size-o*e.series.length-this.margin*e.series.length-o*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(e,a,l,s));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:s||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;i.dropShadow(u,d)}var h=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(h=0);var p=null;this.radialDataLabels.show&&(p=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:h})),"back"===t.config.plotOptions.radialBar.hollow.position&&(a.add(u),p&&a.add(p));var f=!1;t.config.plotOptions.radialBar.inverseOrder&&(f=!0);for(var g=f?e.series.length-1:0;f?g>=0:g100?100:e.series[g])/100,_=Math.round(this.totalAngle*w)+this.startAngle,C=void 0;t.globals.dataChanged&&(b=this.startAngle,C=Math.round(this.totalAngle*x.negToZero(t.globals.previousPaths[g])/100)+b),Math.abs(_)+Math.abs(y)>=360&&(_-=.01),Math.abs(C)+Math.abs(b)>=360&&(C-=.01);var E=_-y,A=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[g]:t.config.stroke.dashArray,I=n.drawPath({d:"",stroke:v,strokeWidth:o,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+g,strokeDashArray:A});if(k.setAttrs(I.node,{"data:angle":E,"data:value":e.series[g]}),t.config.chart.dropShadow.enabled){var T=t.config.chart.dropShadow;i.dropShadow(I,T,g)}i.setSelectionFilter(I,0,g),this.addListeners(I,this.radialDataLabels),m.add(I),I.attr({index:0,j:g});var O=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(O=t.config.chart.animations.speed),t.globals.dataChanged&&(O=t.config.chart.animations.dynamicAnimation.speed),this.animDur=O/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(I,{centerX:e.centerX,centerY:e.centerY,endAngle:_,startAngle:y,prevEndAngle:C,prevStartAngle:b,size:e.size,i:g,totalItems:2,animBeginArr:this.animBeginArr,dur:O,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:a,elHollow:u,dataLabels:p}}},{key:"drawHollow",value:function(e){var t=new k(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,n,r){var i=this.w,a=new V(this.ctx),o=x.randomId(),s=i.config.plotOptions.radialBar.hollow.image;if(i.config.plotOptions.radialBar.hollow.imageClipped)a.clippedImgArea({width:n,height:n,image:s,patternID:"pattern".concat(i.globals.cuid).concat(o)}),r="url(#pattern".concat(i.globals.cuid).concat(o,")");else{var l=i.config.plotOptions.radialBar.hollow.imageWidth,c=i.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=i.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-t.width/2+i.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+i.config.plotOptions.radialBar.hollow.imageOffsetY)}));t.add(u)}else{var d=i.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-l/2+i.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+i.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));t.add(d)}}return r}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}}]),n}(),Le=function(e){d(n,_e);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this.w,r=new k(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var i=r.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),o=0;o0&&(this.visibleI=this.visibleI+1);var g=0,m=0;this.yRatio.length>1&&(this.yaxisIndex=p);var v=this.barHelpers.initialPositions();d=v.y,c=v.zeroW,u=v.x,m=v.barWidth,s=v.xDivision,l=v.zeroH;for(var y=r.group({class:"apexcharts-datalabels","data:realIndex":p}),b=r.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),w=0;w0}));return r=l.config.plotOptions.bar.rangeBarGroupRows?i+o*h:i+a*this.visibleI+o*h,p>-1&&!l.config.plotOptions.bar.rangeBarOverlap&&(c=l.globals.seriesRange[t][p].overlaps).indexOf(u)>-1&&(r=(a=s.barHeight/c.length)*this.visibleI+o*(100-parseInt(this.barOptions.barHeight,10))/100/2+a*(this.visibleI+c.indexOf(u))+o*h),{barYPosition:r,barHeight:a}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,n=e.x;e.strokeWidth;var r=e.xDivision,i=e.barWidth,a=e.zeroH,o=this.w,s=t.i,l=t.j,c=this.yRatio[this.yaxisIndex],u=t.realIndex,d=this.getRangeValue(u,l),h=Math.min(d.start,d.end),p=Math.max(d.start,d.end);o.globals.isXNumeric&&(n=(o.globals.seriesX[s][l]-o.globals.minX)/this.xRatio-i/2);var f=n+i*this.visibleI;void 0===this.series[s][l]||null===this.series[s][l]?h=a:(h=a-h/c,p=a-p/c);var g=Math.abs(p-h),m=this.barHelpers.getColumnPaths({barXPosition:f,barWidth:i,y1:h,y2:p,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:t.realIndex,i:u,j:l,w:o});return o.globals.isXNumeric||(n+=r),{pathTo:m.pathTo,pathFrom:m.pathFrom,barHeight:g,x:n,y:p,goalY:this.barHelpers.getGoalValues("y",null,a,s,l),barXPosition:f}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,n=e.y,r=e.y1,i=e.y2,a=e.yDivision,o=e.barHeight,s=e.barYPosition,l=e.zeroW,c=this.w,u=l+r/this.invertedYRatio,d=l+i/this.invertedYRatio,h=Math.abs(d-u),p=this.barHelpers.getBarpaths({barYPosition:s,barHeight:o,x1:u,x2:d,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:t.realIndex,realIndex:t.realIndex,j:t.j,w:c});return c.globals.isXNumeric||(n+=a),{pathTo:p.pathTo,pathFrom:p.pathFrom,barWidth:h,x:d,goalX:this.barHelpers.getGoalValues("x",l,null,t.realIndex,t.j),y:n}}},{key:"getRangeValue",value:function(e,t){var n=this.w;return{start:n.globals.seriesRangeStart[e][t],end:n.globals.seriesRangeEnd[e][t]}}}]),n}(),Pe=function(){function e(t){s(this,e),this.w=t.w,this.lineCtx=t}return c(e,[{key:"sameValueSeriesFix",value:function(e,t){var n=this.w;if(("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[e])&&new _(this.lineCtx.ctx,n).seriesHaveSameValues(e)){var r=t[e].slice();r[r.length-1]=r[r.length-1]+1e-6,t[e]=r}return t}},{key:"calculatePoints",value:function(e){var t=e.series,n=e.realIndex,r=e.x,i=e.y,a=e.i,o=e.j,s=e.prevY,l=this.w,c=[],u=[];if(0===o){var d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(d=(l.globals.seriesX[n][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(d),u.push(x.isNumber(t[a][0])?s+l.config.markers.offsetY:null),c.push(r+l.config.markers.offsetX),u.push(x.isNumber(t[a][o+1])?i+l.config.markers.offsetY:null)}else c.push(r+l.config.markers.offsetX),u.push(x.isNumber(t[a][o+1])?i+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,n=e.pathFromArea,r=e.realIndex,i=this.w,a=0;a0&&parseInt(o.realIndex,10)===parseInt(r,10)&&("line"===o.type?(this.lineCtx.appendPathFrom=!1,t=i.globals.previousPaths[a].paths[0].d):"area"===o.type&&(this.lineCtx.appendPathFrom=!1,n=i.globals.previousPaths[a].paths[0].d,i.config.stroke.show&&i.globals.previousPaths[a].paths[1]&&(t=i.globals.previousPaths[a].paths[1].d)))}return{pathFromLine:t,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(e){var t,n=e.i,r=e.series,i=e.prevY,a=e.lineYPosition,o=this.w;if(void 0!==(null===(t=r[n])||void 0===t?void 0:t[0]))i=(a=o.config.chart.stacked&&n>0?this.lineCtx.prevSeriesY[n-1][0]:this.lineCtx.zeroY)-r[n][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?r[n][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(o.config.chart.stacked&&n>0&&void 0===r[n][0])for(var s=n-1;s>=0;s--)if(null!==r[s][0]&&void 0!==r[s][0]){i=a=this.lineCtx.prevSeriesY[s][0];break}return{prevY:i,lineYPosition:a}}}]),e}(),Fe=function(){function e(t,n,r){s(this,e),this.ctx=t,this.w=t.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||r,this.scatter=new H(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new Pe(this),this.markers=new z(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return c(e,[{key:"draw",value:function(e,t,n,r){var i=this.w,o=new k(this.ctx),s=i.globals.comboCharts?t:i.config.chart.type,l=o.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),c=new _(this.ctx,i);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=c.getLogSeries(e),this.yRatio=c.getLogYRatios(this.yRatio);for(var u=[],d=0;d0&&(g=(i.globals.seriesX[h][0]-i.globals.minX)/this.xRatio),f.push(g);var m,v=g,y=void 0,b=v,x=this.zeroY,w=this.zeroY;x=this.lineHelpers.determineFirstPrevY({i:d,series:e,prevY:x,lineYPosition:0}).prevY,p.push(x),m=x,"rangeArea"===s&&(y=w=this.lineHelpers.determineFirstPrevY({i:d,series:r,prevY:w,lineYPosition:0}).prevY);var S={type:s,series:e,realIndex:h,i:d,x:g,y:1,pX:v,pY:m,pathsFrom:this._calculatePathsFrom({type:s,series:e,i:d,realIndex:h,prevX:b,prevY:x,prevY2:w}),linePaths:[],areaPaths:[],seriesIndex:n,lineYPosition:0,xArrj:f,yArrj:p,seriesRangeEnd:r},C=this._iterateOverDataPoints(a(a({},S),{},{iterations:"rangeArea"===s?e[d].length-1:void 0,isRangeStart:!0}));if("rangeArea"===s){var E=this._calculatePathsFrom({series:r,i:d,realIndex:h,prevX:b,prevY:w}),A=this._iterateOverDataPoints(a(a({},S),{},{series:r,pY:y,pathsFrom:E,iterations:r[d].length-1,isRangeStart:!1}));C.linePaths[0]=A.linePath+C.linePath,C.pathFromLine=A.pathFromLine+C.pathFromLine}this._handlePaths({type:s,realIndex:h,i:d,paths:C}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),u.push(this.elSeries)}if(i.config.chart.stacked)for(var I=u.length;I>0;I--)l.add(u[I-1]);else for(var T=0;T1&&(this.yaxisIndex=n),this.isReversed=r.config.yaxis[this.yaxisIndex]&&r.config.yaxis[this.yaxisIndex].reversed,this.zeroY=r.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?r.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>r.globals.gridHeight||"end"===r.config.plotOptions.area.fillTo)&&(this.areaBottomY=r.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=i.group({class:"apexcharts-series",seriesName:x.escapeString(r.globals.seriesNames[n])}),this.elPointsMain=i.group({class:"apexcharts-series-markers-wrap","data:realIndex":n}),this.elDataLabelsWrap=i.group({class:"apexcharts-datalabels","data:realIndex":n});var a=e[t].length===r.globals.dataPoints;this.elSeries.attr({"data:longestSeries":a,rel:t+1,"data:realIndex":n}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,n,r,i,a=e.type,o=e.series,s=e.i,l=e.realIndex,c=e.prevX,u=e.prevY,d=e.prevY2,h=this.w,p=new k(this.ctx);if(null===o[s][0]){for(var f=0;f0){var g=this.lineHelpers.checkPreviousPaths({pathFromLine:r,pathFromArea:i,realIndex:l});r=g.pathFromLine,i=g.pathFromArea}return{prevX:c,prevY:u,linePath:t,areaPath:n,pathFromLine:r,pathFromArea:i}}},{key:"_handlePaths",value:function(e){var t=e.type,n=e.realIndex,r=e.i,i=e.paths,o=this.w,s=new k(this.ctx),l=new V(this.ctx);this.prevSeriesY.push(i.yArrj),o.globals.seriesXvalues[n]=i.xArrj,o.globals.seriesYvalues[n]=i.yArrj;var c=o.config.forecastDataPoints;if(c.count>0&&"rangeArea"!==t){var u=o.globals.seriesXvalues[n][o.globals.seriesXvalues[n].length-c.count-1],d=s.drawRect(u,0,o.globals.gridWidth,o.globals.gridHeight,0);o.globals.dom.elForecastMask.appendChild(d.node);var h=s.drawRect(0,0,u,o.globals.gridHeight,0);o.globals.dom.elNonForecastMask.appendChild(h.node)}this.pointsChart||o.globals.delayedElements.push({el:this.elPointsMain.node,index:n});var p={i:r,realIndex:n,animationDelay:r,initialSpeed:o.config.chart.animations.speed,dataChangeSpeed:o.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var f=l.fillPath({seriesNumber:n}),g=0;g0&&"rangeArea"!==t){var _=s.renderPaths(w);_.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&_.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(_),_.attr("clip-path","url(#forecastMask".concat(o.globals.cuid,")")),S.attr("clip-path","url(#nonForecastMask".concat(o.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t=e.type,n=e.series,r=e.iterations,i=e.realIndex,a=e.i,o=e.x,s=e.y,l=e.pX,c=e.pY,u=e.pathsFrom,d=e.linePaths,h=e.areaPaths,p=e.seriesIndex,f=e.lineYPosition,g=e.xArrj,m=e.yArrj,v=e.isRangeStart,y=e.seriesRangeEnd,b=this.w,w=new k(this.ctx),S=this.yRatio,_=u.prevY,C=u.linePath,E=u.areaPath,A=u.pathFromLine,I=u.pathFromArea,T=x.isNumber(b.globals.minYArr[i])?b.globals.minYArr[i]:b.globals.minY;r||(r=b.globals.dataPoints>1?b.globals.dataPoints-1:b.globals.dataPoints);for(var O=s,N=0;N0&&b.globals.collapsedSeries.length-1){t--;break}return t>=0?t:0}(a-1)][N+1]:this.zeroY,D?s=f-T/S[this.yaxisIndex]+2*(this.isReversed?T/S[this.yaxisIndex]:0):(s=f-n[a][N+1]/S[this.yaxisIndex]+2*(this.isReversed?n[a][N+1]/S[this.yaxisIndex]:0),"rangeArea"===t&&(O=f-y[a][N+1]/S[this.yaxisIndex]+2*(this.isReversed?y[a][N+1]/S[this.yaxisIndex]:0))),g.push(o),m.push(s);var P=this.lineHelpers.calculatePoints({series:n,x:o,y:s,realIndex:i,i:a,j:N,prevY:_}),F=this._createPaths({type:t,series:n,i:a,realIndex:i,j:N,x:o,y:s,y2:O,pX:l,pY:c,linePath:C,areaPath:E,linePaths:d,areaPaths:h,seriesIndex:p,isRangeStart:v});h=F.areaPaths,d=F.linePaths,l=F.pX,c=F.pY,E=F.areaPath,C=F.linePath,this.appendPathFrom&&(A+=w.line(o,this.zeroY),I+=w.line(o,this.zeroY)),this.handleNullDataPoints(n,P,a,N,i),this._handleMarkersAndLabels({type:t,pointsPos:P,i:a,j:N,realIndex:i,isRangeStart:v})}return{yArrj:m,xArrj:g,pathFromArea:I,areaPaths:h,pathFromLine:A,linePaths:d,linePath:C,areaPath:E}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,n=e.pointsPos,r=e.isRangeStart,i=e.i,a=e.j,o=e.realIndex,s=this.w,l=new B(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,a,{realIndex:o,pointsPos:n,zRatio:this.zRatio,elParent:this.elPointsMain});else{s.globals.series[i].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var c=this.markers.plotChartMarkers(n,o,a+1);null!==c&&this.elPointsMain.add(c)}var u=l.drawDataLabel({type:t,isRangeStart:r,pos:n,i:o,j:a+1});null!==u&&this.elDataLabelsWrap.add(u)}},{key:"_createPaths",value:function(e){var t=e.type,n=e.series,r=e.i,i=e.realIndex,a=e.j,o=e.x,s=e.y,l=e.y2,c=e.pX,u=e.pY,d=e.linePath,h=e.areaPath,p=e.linePaths,f=e.areaPaths,g=e.seriesIndex,m=e.isRangeStart,v=this.w,y=new k(this.ctx),b=v.config.stroke.curve,x=this.areaBottomY;if(Array.isArray(v.config.stroke.curve)&&(b=Array.isArray(g)?v.config.stroke.curve[g[r]]:v.config.stroke.curve[r]),"smooth"===b){var w=.35*(o-c);v.globals.hasNullValues?(null!==n[r][a]&&(null!==n[r][a+1]?(d=y.move(c,u)+y.curve(c+w,u,o-w,s,o+1,s),h=y.move(c+1,u)+y.curve(c+w,u,o-w,s,o+1,s)+y.line(o,x)+y.line(c,x)+"z"):(d=y.move(c,u),h=y.move(c,u)+"z")),p.push(d),f.push(h)):(d+=y.curve(c+w,u,o-w,s,o,s),h+=y.curve(c+w,u,o-w,s,o,s)),c=o,u=s,a===n[r].length-2&&(h=h+y.curve(c,u,o,s,o,x)+y.move(o,s)+"z","rangeArea"===t&&m?d=d+y.curve(c,u,o,s,o,l)+y.move(o,l)+"z":v.globals.hasNullValues||(p.push(d),f.push(h)))}else{if(null===n[r][a+1]){d+=y.move(o,s);var S=v.globals.isXNumeric?(v.globals.seriesX[i][a]-v.globals.minX)/this.xRatio:o-this.xDivision;h=h+y.line(S,x)+y.move(o,s)+"z"}null===n[r][a]&&(d+=y.move(o,s),h+=y.move(o,x)),"stepline"===b?(d=d+y.line(o,null,"H")+y.line(null,s,"V"),h=h+y.line(o,null,"H")+y.line(null,s,"V")):"straight"===b&&(d+=y.line(o,s),h+=y.line(o,s)),a===n[r].length-2&&(h=h+y.line(o,x)+y.move(o,s)+"z","rangeArea"===t&&m?d=d+y.line(o,l)+y.move(o,l)+"z":(p.push(d),f.push(h)))}return{linePaths:p,areaPaths:f,pX:c,pY:u,linePath:d,areaPath:h}}},{key:"handleNullDataPoints",value:function(e,t,n,r,i){var a=this.w;if(null===e[n][r]&&a.config.markers.showNullDataPoints||1===e[n].length){var o=this.markers.plotChartMarkers(t,i,r+1,this.strokeWidth-a.config.markers.strokeWidth/2,!0);null!==o&&this.elPointsMain.add(o)}}}]),e}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function e(t,n,r,i){this.xoffset=t,this.yoffset=n,this.height=i,this.width=r,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var t,n=[],r=this.xoffset,i=this.yoffset,o=a(e)/this.height,s=a(e)/this.width;if(this.width>=this.height)for(t=0;t=this.height){var r=t/this.height,i=this.width-r;n=new e(this.xoffset+r,this.yoffset,i,this.height)}else{var a=t/this.width,o=this.height-a;n=new e(this.xoffset,this.yoffset+a,this.width,o)}return n}}function t(t,r,i,o,s){o=void 0===o?0:o,s=void 0===s?0:s;var l=n(function(e,t){var n,r=[],i=t/a(e);for(n=0;n=o}(t,l=e[0],s)?(t.push(l),n(e.slice(1),t,i,o)):(c=i.cutArea(a(t),o),o.push(i.getCoordinates(t)),n(e,[],c,o)),o;o.push(i.getCoordinates(t))}function r(e,t){var n=Math.min.apply(Math,e),r=Math.max.apply(Math,e),i=a(e);return Math.max(Math.pow(t,2)*r/Math.pow(i,2),Math.pow(i,2)/(Math.pow(t,2)*n))}function i(e){return e&&e.constructor===Array}function a(e){var t,n=0;for(t=0;ta-r&&l.width<=o-i){var c=s.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,")"))}}},{key:"animateTreemap",value:function(e,t,n,r){var i=new w(this.ctx);i.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:n.x,y:n.y,width:n.width,height:n.height},r,(function(){i.animationCompleted(e)}))}}]),e}(),je=86400,Ve=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return c(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var n=this,r=this.w;if(r.globals.allSeriesCollapsed)return r.globals.labels=[],r.globals.timescaleLabels=[],[];var i=new D(this.ctx),o=(t-e)/864e5;this.determineInterval(o),r.globals.disableZoomIn=!1,r.globals.disableZoomOut=!1,o<.00011574074074074075?r.globals.disableZoomIn=!0:o>5e4&&(r.globals.disableZoomOut=!0);var s=i.getTimeUnitsfromTimestamp(e,t,this.utc),l=r.globals.gridWidth/o,c=l/24,u=c/60,d=u/60,h=Math.floor(24*o),p=Math.floor(1440*o),f=Math.floor(o*je),g=Math.floor(o),m=Math.floor(o/30),v=Math.floor(o/365),y={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},b={firstVal:y,currentMillisecond:y.minMillisecond,currentSecond:y.minSecond,currentMinute:y.minMinute,currentHour:y.minHour,currentMonthDate:y.minDate,currentDate:y.minDate,currentMonth:y.minMonth,currentYear:y.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:f,numberOfMinutes:p,numberOfHours:h,numberOfDays:g,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(b);break;case"months":case"half_year":this.generateMonthScale(b);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(b);break;case"hours":this.generateHourScale(b);break;case"minutes_fives":case"minutes":this.generateMinuteScale(b);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(b)}var x=this.timeScaleArray.map((function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?a(a({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?a(a({},t),{},{value:e.value}):"minute"===e.unit?a(a({},t),{},{value:e.value,minute:e.value}):"second"===e.unit?a(a({},t),{},{value:e.value,minute:e.minute,second:e.second}):e}));return x.filter((function(e){var t=1,i=Math.ceil(r.globals.gridWidth/120),a=e.value;void 0!==r.config.xaxis.tickAmount&&(i=r.config.xaxis.tickAmount),x.length>i&&(t=Math.floor(x.length/i));var o=!1,s=!1;switch(n.tickInterval){case"years":"year"===e.unit&&(o=!0);break;case"half_year":t=7,"year"===e.unit&&(o=!0);break;case"months":t=1,"year"===e.unit&&(o=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(o=!0),30===a&&(s=!0);break;case"months_days":t=10,"month"===e.unit&&(o=!0),30===a&&(s=!0);break;case"week_days":t=8,"month"===e.unit&&(o=!0);break;case"days":t=1,"month"===e.unit&&(o=!0);break;case"hours":"day"===e.unit&&(o=!0);break;case"minutes_fives":case"seconds_fives":a%5!=0&&(s=!0);break;case"seconds_tens":a%10!=0&&(s=!0)}if("hours"===n.tickInterval||"minutes_fives"===n.tickInterval||"seconds_tens"===n.tickInterval||"seconds_fives"===n.tickInterval){if(!s)return!0}else if((a%t==0||o)&&!s)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var n=this.w,r=this.formatDates(e),i=this.removeOverlappingTS(r);n.globals.timescaleLabels=i.slice(),new ue(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,n=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case n>15:this.tickInterval="minutes_fives";break;case n>5:this.tickInterval="minutes";break;case n>1:this.tickInterval="seconds_tens";break;case 60*n>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,n=e.currentMonth,r=e.currentYear,i=e.daysWidthOnXAxis,a=e.numberOfYears,o=t.minYear,s=0,l=new D(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var u=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);s=(l.determineDaysOfYear(t.minYear)-u+1)*i,o=t.minYear+1,this.timeScaleArray.push({position:s,value:o,unit:c,year:o,month:x.monthMod(n+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:s,value:o,unit:c,year:r,month:x.monthMod(n+1)});for(var d=o,h=s,p=0;p1){l=(c.determineDaysOfMonths(r+1,t.minYear)-n+1)*a,s=x.monthMod(r+1);var h=i+d,p=x.monthMod(s),f=s;0===s&&(u="year",f=h,p=1,h+=d+=1),this.timeScaleArray.push({position:l,value:f,unit:u,year:h,month:p})}else this.timeScaleArray.push({position:l,value:s,unit:u,year:i,month:x.monthMod(r)});for(var g=s+1,m=l,v=0,y=1;vo.determineDaysOfMonths(t+1,n)?(c=1,s="month",h=t+=1,t):t},d=(24-t.minHour)*i,h=l,p=u(c,n,r);0===t.minHour&&1===t.minDate?(d=0,h=x.monthMod(t.minMonth),s="month",c=t.minDate,a++):1!==t.minDate&&0===t.minHour&&0===t.minMinute&&(d=0,l=t.minDate,h=l,p=u(c=l,n,r)),this.timeScaleArray.push({position:d,value:h,unit:s,year:this._getYear(r,p,0),month:x.monthMod(p),day:c});for(var f=d,g=0;gs.determineDaysOfMonths(t+1,i)&&(g=1,t+=1),{month:t,date:g}},u=function(e,t){return e>s.determineDaysOfMonths(t+1,i)?t+=1:t},d=60-(t.minMinute+t.minSecond/60),h=d*a,p=t.minHour+1,f=p+1;60===d&&(h=0,f=(p=t.minHour)+1);var g=n,m=u(g,r);this.timeScaleArray.push({position:h,value:p,unit:l,day:g,hour:f,year:i,month:x.monthMod(m)});for(var v=h,y=0;y=24&&(f=0,l="day",m=c(g+=1,m).month,m=u(g,m));var b=this._getYear(i,m,0);v=60*a+v;var w=0===f?g:f;this.timeScaleArray.push({position:v,value:w,unit:l,hour:f,day:g,year:b,month:x.monthMod(m)}),f++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,r=e.currentMinute,i=e.currentHour,a=e.currentDate,o=e.currentMonth,s=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,u=e.numberOfMinutes,d=r+1,h=a,p=o,f=s,g=i,m=(60-n-t/1e3)*c,v=0;v=60&&(d=0,24===(g+=1)&&(g=0)),this.timeScaleArray.push({position:m,value:d,unit:"minute",hour:g,minute:d,day:h,year:this._getYear(f,p,0),month:x.monthMod(p)}),m+=l,d++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,r=e.currentMinute,i=e.currentHour,a=e.currentDate,o=e.currentMonth,s=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,u=n+1,d=r,h=a,p=o,f=s,g=i,m=(1e3-t)/1e3*l,v=0;v=60&&(u=0,++d>=60&&(d=0,24===++g&&(g=0))),this.timeScaleArray.push({position:m,value:u,unit:"second",hour:g,minute:d,second:u,day:h,year:this._getYear(f,p,0),month:x.monthMod(p)}),m+=l,u++}},{key:"createRawDateString",value:function(e,t){var n=e.year;return 0===e.month&&(e.month=1),n+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?n+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":n+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?n+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":n+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),"minute"===e.unit?n+=":"+("0"+t).slice(-2):n+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),"second"===e.unit?n+=":"+("0"+t).slice(-2):n+=":00",this.utc&&(n+=".000Z"),n}},{key:"formatDates",value:function(e){var t=this,n=this.w;return e.map((function(e){var r=e.value.toString(),i=new D(t.ctx),a=t.createRawDateString(e,r),o=i.getDate(i.parseDate(a));if(t.utc||(o=i.getDate(i.parseDateWithTimezone(a))),void 0===n.config.xaxis.labels.format){var s="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(s=l.year),"month"===e.unit&&(s=l.month),"day"===e.unit&&(s=l.day),"hour"===e.unit&&(s=l.hour),"minute"===e.unit&&(s=l.minute),"second"===e.unit&&(s=l.second),r=i.formatDate(o,s)}else r=i.formatDate(o,n.config.xaxis.labels.format);return{dateString:a,position:e.position,value:r,unit:e.unit,year:e.year,month:e.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,n=this,r=new k(this.ctx),i=!1;e.length>0&&e[0].value&&e.every((function(t){return t.value.length===e[0].value.length}))&&(i=!0,t=r.getTextRects(e[0].value).width);var a=0,o=e.map((function(o,s){if(s>0&&n.w.config.xaxis.labels.hideOverlappingLabels){var l=i?t:r.getTextRects(e[a].value).width,c=e[a].position;return o.position>c+l+10?(a=s,o):null}return o}));return o.filter((function(e){return null!==e}))}},{key:"_getYear",value:function(e,t,n){return e+Math.floor(t/12)+n}}]),e}(),ze=function(){function e(t,n){s(this,e),this.ctx=n,this.w=n.w,this.el=t}return c(e,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,n=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(n)>-1,e.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].indexOf(n)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type||"boxPlot"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.chartID,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),k.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject"),k.setAttrs(e.dom.elLegendForeign,{x:0,y:0,width:e.svgWidth,height:e.svgHeight}),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.dom.elLegendForeign.appendChild(e.dom.elLegendWrap),e.dom.Paper.node.appendChild(e.dom.elLegendForeign),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var n=this.w,r=n.config,i=n.globals,a={series:[],i:[]},o={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},d={series:[],i:[]},h={series:[],i:[]},p={series:[],seriesRangeEnd:[],i:[]};i.series.map((function(t,f){var g=0;void 0!==e[f].type?("column"===e[f].type||"bar"===e[f].type?(i.series.length>1&&r.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(t),c.i.push(f),g++,n.globals.columnSeries=c.series):"area"===e[f].type?(o.series.push(t),o.i.push(f),g++):"line"===e[f].type?(a.series.push(t),a.i.push(f),g++):"scatter"===e[f].type?(s.series.push(t),s.i.push(f)):"bubble"===e[f].type?(l.series.push(t),l.i.push(f),g++):"candlestick"===e[f].type?(u.series.push(t),u.i.push(f),g++):"boxPlot"===e[f].type?(d.series.push(t),d.i.push(f),g++):"rangeBar"===e[f].type?(h.series.push(t),h.i.push(f),g++):"rangeArea"===e[f].type?(p.series.push(i.seriesRangeStart[f]),p.seriesRangeEnd.push(i.seriesRangeEnd[f]),p.i.push(f),g++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble/candlestick/boxPlot/rangeBar/rangeArea"),g>1&&(i.comboCharts=!0)):(a.series.push(t),a.i.push(f))}));var f=new Fe(this.ctx,t),g=new Ee(this.ctx,t);this.ctx.pie=new Oe(this.ctx);var m=new De(this.ctx);this.ctx.rangeBar=new Le(this.ctx,t);var v=new Ne(this.ctx),y=[];if(i.comboCharts){if(o.series.length>0&&y.push(f.draw(o.series,"area",o.i)),c.series.length>0)if(n.config.chart.stacked){var b=new Ce(this.ctx,t);y.push(b.draw(c.series,c.i))}else this.ctx.bar=new _e(this.ctx,t),y.push(this.ctx.bar.draw(c.series,c.i));if(p.series.length>0&&y.push(f.draw(p.series,"rangeArea",p.i,p.seriesRangeEnd)),a.series.length>0&&y.push(f.draw(a.series,"line",a.i)),u.series.length>0&&y.push(g.draw(u.series,"candlestick",u.i)),d.series.length>0&&y.push(g.draw(d.series,"boxPlot",d.i)),h.series.length>0&&y.push(this.ctx.rangeBar.draw(h.series,h.i)),s.series.length>0){var x=new Fe(this.ctx,t,!0);y.push(x.draw(s.series,"scatter",s.i))}if(l.series.length>0){var w=new Fe(this.ctx,t,!0);y.push(w.draw(l.series,"bubble",l.i))}}else switch(r.chart.type){case"line":y=f.draw(i.series,"line");break;case"area":y=f.draw(i.series,"area");break;case"bar":r.chart.stacked?y=new Ce(this.ctx,t).draw(i.series):(this.ctx.bar=new _e(this.ctx,t),y=this.ctx.bar.draw(i.series));break;case"candlestick":y=new Ee(this.ctx,t).draw(i.series,"candlestick");break;case"boxPlot":y=new Ee(this.ctx,t).draw(i.series,"boxPlot");break;case"rangeBar":y=this.ctx.rangeBar.draw(i.series);break;case"rangeArea":y=f.draw(i.seriesRangeStart,"rangeArea",void 0,i.seriesRangeEnd);break;case"heatmap":y=new Ie(this.ctx,t).draw(i.series);break;case"treemap":y=new Re(this.ctx,t).draw(i.series);break;case"pie":case"donut":case"polarArea":y=this.ctx.pie.draw(i.series);break;case"radialBar":y=m.draw(i.series);break;case"radar":y=v.draw(i.series);break;default:y=f.draw(i.series)}return y}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var n=x.getDimensions(this.el),r=t.chart.width.toString().split(/[0-9]+/g).pop();"%"===r?x.isNumber(n[0])&&(0===n[0].width&&(n=x.getDimensions(this.el.parentNode)),e.svgWidth=n[0]*parseInt(t.chart.width,10)/100):"px"!==r&&""!==r||(e.svgWidth=parseInt(t.chart.width,10));var i=t.chart.height.toString().split(/[0-9]+/g).pop();if("auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===i){var a=x.getDimensions(this.el.parentNode);e.svgHeight=a[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;if(e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),k.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),"%"!==i){var o=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+o+"px"}e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,n={transform:"translate("+e.translateX+", "+t+")"};k.setAttrs(e.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=0,r=e.config.chart.sparkline.enabled?1:15;r+=e.config.grid.padding.bottom,"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||!e.config.legend.show||e.config.legend.floating||(n=new he(this.ctx).legendHelpers.getLegendBBox().clwh+10);var i=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),a=2.05*e.globals.radialSize;if(i&&!e.config.chart.sparkline.enabled&&0!==e.config.plotOptions.radialBar.startAngle){var o=x.getBoundingClientRect(i);a=o.bottom;var s=o.bottom-o.top;a=Math.max(2.05*e.globals.radialSize,s)}var l=a+t.translateY+n+r;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),e.config.chart.height&&String(e.config.chart.height).indexOf("%")>0||(t.dom.elWrap.style.height=l+"px",k.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px")}},{key:"coreCalculations",value:function(){new K(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(e){return[]}))},n=new R,r=this.w.globals;n.initGlobalVars(r),r.seriesXvalues=t(),r.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if("back"===t.config.xaxis.crosshairs.position&&new ne(this.ctx).drawXCrosshairs(),"back"===t.config.yaxis[0].crosshairs.position&&new ne(this.ctx).drawYCrosshairs(),"datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter){this.ctx.timeScale=new Ve(this.ctx);var n=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(n)}e=new _(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&"function"!=typeof t.config.chart.events.selection){var n=t.config.chart.brush.targets||[t.config.chart.brush.target];n.forEach((function(t){var n=ApexCharts.getChartByID(t);n.w.globals.brushSource=e.ctx,"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){e.updateSourceChart(n)}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){e.updateSourceChart(n)})})),t.config.chart.events.selection=function(e,r){n.forEach((function(e){var n=ApexCharts.getChartByID(e),i=x.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var o=new X(n);i=o.autoScaleY(n,i,r)}var s=n.w.config.yaxis.reduce((function(e,t,r){return[].concat(v(e),[a(a({},n.w.config.yaxis[r]),{},{min:i[0].min,max:i[0].max})])}),[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:r.xaxis.min,max:r.xaxis.max},yaxis:s},!1,!1,!1,!1)}))}}}}]),e}(),He=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"_updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var l=[t.ctx];i&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(i,c){var u=i.w;if(u.globals.shouldAnimate=r,n||(u.globals.resized=!0,u.globals.dataChanged=!0,r&&i.series.getPreviousPaths()),e&&"object"===o(e)&&(i.config=new M(e),e=_.extendArrayProps(i.config,e,u),i.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,u.config=x.extend(u.config,e),a&&(u.globals.lastXAxis=e.xaxis?x.clone(e.xaxis):[],u.globals.lastYAxis=e.yaxis?x.clone(e.yaxis):[],u.globals.initialConfig=x.extend({},u.config),u.globals.initialSeries=x.clone(u.config.series),e.series))){for(var d=0;d2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(i){var a,o=n.w;return o.globals.shouldAnimate=t,o.globals.dataChanged=!0,t&&n.ctx.series.getPreviousPaths(),o.globals.axisCharts?(0===(a=e.map((function(e,t){return n._extendSeries(e,t)}))).length&&(a=[{data:[]}]),o.config.series=a):o.config.series=e.slice(),r&&(o.globals.initialConfig.series=x.clone(o.config.series),o.globals.initialSeries=x.clone(o.config.series)),n.ctx.update().then((function(){i(n.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var n=this.w,r=n.config.series[t];return a(a({},n.config.series[t]),{},{name:e.name?e.name:r&&r.name,color:e.color?e.color:r&&r.color,type:e.type?e.type:r&&r.type,data:e.data?e.data:r&&r.data})}},{key:"toggleDataPointSelection",value:function(e,t){var n=this.w,r=null,i=".apexcharts-series[data\\:realIndex='".concat(e,"']");return n.globals.axisCharts?r=n.globals.dom.Paper.select("".concat(i," path[j='").concat(t,"'], ").concat(i," circle[j='").concat(t,"'], ").concat(i," rect[j='").concat(t,"']")).members[0]:void 0===t&&(r=n.globals.dom.Paper.select("".concat(i," path[j='").concat(e,"']")).members[0],"pie"!==n.config.chart.type&&"polarArea"!==n.config.chart.type&&"donut"!==n.config.chart.type||this.ctx.pie.pieClicked(e)),r?(new k(this.ctx).pathMouseDown(r,null),r.node?r.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(n){void 0!==e.xaxis[n]&&(t.config.xaxis[n]=e.xaxis[n],t.globals.lastXAxis[n]=e.xaxis[n])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var n=new U(e);e=n.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&"100%"===e.chart.stackType&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,n=this.w,r=n.globals.lastXAxis,i=n.globals.lastYAxis;e&&e.xaxis&&(r=e.xaxis),e&&e.yaxis&&(i=e.yaxis),n.config.xaxis.min=r.min,n.config.xaxis.max=r.max;var a=function(e){void 0!==i[e]&&(n.config.yaxis[e].min=i[e].min,n.config.yaxis[e].max=i[e].max)};n.config.yaxis.map((function(e,r){n.globals.zoomed||void 0!==i[r]?a(r):void 0!==t.ctx.opts.yaxis[r]&&(e.min=t.ctx.opts.yaxis[r].min,e.max=t.ctx.opts.yaxis[r].max)}))}}]),e}();Ue="undefined"!=typeof window?window:void 0,Me=function(e,t){var n=(void 0!==this?this:e).SVG=function(e){if(n.supported)return e=new n.Doc(e),n.parser.draw||n.prepare(),e};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(e){return"Svgjs"+d(e)+n.did++},n.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},n.extend=function(){var e,t;t=(e=[].slice.call(arguments)).pop();for(var r=e.length-1;r>=0;r--)if(e[r])for(var i in t)e[r].prototype[i]=t[i];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,n.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&n.extend(t,e.extend),e.construct&&n.extend(e.parent||n.Container,e.construct),t},n.adopt=function(t){return t?t.instance?t.instance:((r="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[d(t.nodeName)]?new(n[d(t.nodeName)]):new n.Element(t)).type=t.nodeName,r.node=t,t.instance=r,r instanceof n.Doc&&r.namespace().defs(),r.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),r):null;var r},n.prepare=function(){var e=t.getElementsByTagName("body")[0],r=(e?new n.Doc(e):n.adopt(t.documentElement).nested()).size(2,0);n.parser={body:e||t.documentElement,draw:r.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:r.polyline().node,path:r.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},t.addEventListener("DOMContentLoaded",(function(){n.parser.draw||n.prepare()}),!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(e,t){for(var n=e.length,r=[],i=0;i1?1:e,new n.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),n.Color.test=function(e){return e+="",n.regex.isHex.test(e)||n.regex.isRgb.test(e)},n.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},n.Color.isColor=function(e){return n.Color.isRgb(e)||n.Color.test(e)},n.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)}}),n.PointArray=function(e,t){n.Array.call(this,e,t||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var r={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]}},i="mlhvqtcsaz".split(""),a=0,s=i.length;al);return a},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(n.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof n.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new n.Number(e),new n.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new n.Number(e),new n.Number(this-e,this.unit||e.unit)},times:function(e){return e=new n.Number(e),new n.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new n.Number(e),new n.Number(this/e,this.unit||e.unit)},to:function(e){var t=new n.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new n.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new n.Number(this.destination).minus(this).times(e).plus(this):this}}}),n.Element=n.invent({create:function(e){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var r=p(this,e,t);return this.width(new n.Number(r.width)).height(new n.Number(r.height))},clone:function(e){this.writeDataToDom();var t=m(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(n.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!=e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return n.get(this.attr(e))},parent:function(t){var r=this;if(!r.node.parentNode)return null;if(r=n.adopt(r.node.parentNode),!t)return r;for(;r&&r.node instanceof e.SVGElement;){if("string"==typeof t?r.matches(t):r instanceof t)return r;if(!r.node.parentNode||"#document"==r.node.parentNode.nodeName)return null;r=n.adopt(r.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(e){var t=[],n=this;do{if(!(n=n.parent(e))||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var r=t.createElement("svg");if(!(e&&this instanceof n.Parent))return r.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),r.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");r.innerHTML=""+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var i=0,a=r.firstChild.childNodes.length;i":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},n.morph=function(e){return function(t,r){return new n.MorphObj(t,r).at(e)}},n.Situation=n.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(e.duration).valueOf(),this.delay=new n.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,r){"object"===o(e)&&(t=e.ease,r=e.delay,e=e.duration);var i=new n.Situation({duration:e||1e3,delay:r||0,ease:n.easing[t||"-"]||t});return this.queue(i),this},target:function(e){return e&&e instanceof n.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof n.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t=this.situation;if(t.init)return this;for(var r in t.animations){e=this.target()[r](),Array.isArray(e)||(e=[e]),Array.isArray(t.animations[r])||(t.animations[r]=[t.animations[r]]);for(var i=e.length;i--;)t.animations[r][i]instanceof n.Number&&(e[i]=new n.Number(e[i])),t.animations[r][i]=e[i].morph(t.animations[r][i])}for(var r in t.attrs)t.attrs[r]=new n.MorphObj(this.target().attr(r),t.attrs[r]);for(var r in t.styles)t.styles[r]=new n.MorphObj(this.target().style(r),t.styles[r]);return t.initialTransformation=this.target().matrixify(),t.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(e){var t=this.last();return this.target().on("finished.fx",(function n(r){r.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))})),this._callStart()},during:function(e){var t=this.last(),r=function(r){r.detail.situation==t&&e.call(this,r.detail.pos,n.morph(r.detail.pos),r.detail.eased,t)};return this.target().off("during.fx",r).on("during.fx",r),this.after((function(){this.off("during.fx",r)})),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,r;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||nthis.lastPos&&a<=i&&(this.situation.once[a].call(this.target(),this.pos,i),delete this.situation.once[a]);return this.active&&this.target().fire("during",{pos:this.pos,eased:i,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=i,this):this},eachAt:function(){var e,t=this,r=this.target(),i=this.situation;for(var a in i.animations)e=[].concat(i.animations[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(i.ease(t.pos),t.pos):e})),r[a].apply(r,e);for(var a in i.attrs)e=[a].concat(i.attrs[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(i.ease(t.pos),t.pos):e})),r.attr.apply(r,e);for(var a in i.styles)e=[a].concat(i.styles[a]).map((function(e){return"string"!=typeof e&&e.at?e.at(i.ease(t.pos),t.pos):e})),r.style.apply(r,e);if(i.transforms.length){e=i.initialTransformation,a=0;for(var o=i.transforms.length;a=0;--r)this[y[r]]=null!=e[y[r]]?e[y[r]]:t[y[r]]},extend:{extract:function(){var e=f(this,0,1);f(this,1,0);var t=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(t*Math.PI/180)+this.f*Math.sin(t*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(t*Math.PI/180)+this.e*Math.sin(-t*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(e){return this.destination=new n.Matrix(e),this},multiply:function(e){return new n.Matrix(this.native().multiply(function(e){return e instanceof n.Matrix||(e=new n.Matrix(e)),e}(e).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(e,t){return new n.Matrix(this.native().translate(e||0,t||0))},native:function(){for(var e=n.parser.native.createSVGMatrix(),t=y.length-1;t>=0;t--)e[y[t]]=this[y[t]];return e},toString:function(){return"matrix("+v(this.a)+","+v(this.b)+","+v(this.c)+","+v(this.d)+","+v(this.e)+","+v(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new n.Matrix(t)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,t){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===o(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(e,t){return this.destination=new n.Point(e,t),this}}}),n.extend(n.Element,{point:function(e,t){return new n.Point(e,t).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,t,r){if(null==e){for(e={},r=(t=this.node.attributes).length-1;r>=0;r--)e[t[r].nodeName]=n.regex.isNumber.test(t[r].nodeValue)?parseFloat(t[r].nodeValue):t[r].nodeValue;return e}if("object"===o(e))for(var i in e)this.attr(i,e[i]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof n.Image&&(t=this.doc().defs().pattern(0,0,(function(){this.add(t)})))),"number"==typeof t?t=new n.Number(t):n.Color.isColor(t)?t=new n.Color(t):Array.isArray(t)&&(t=new n.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof r?this.node.setAttributeNS(r,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),n.extend(n.Element,{transform:function(e,t){var r;return"object"!==o(e)?(r=new n.Matrix(this).extract(),"string"==typeof e?r[e]:r):(r=new n.Matrix(this),t=!!t||!!e.relative,null!=e.a&&(r=t?r.multiply(new n.Matrix(e)):new n.Matrix(e)),this.attr("transform",r))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map((function(e){var t=e.trim().split("(");return[t[0],t[1].split(n.regex.delimiter).map((function(e){return parseFloat(e)}))]})).reduce((function(e,t){return"matrix"==t[0]?e.multiply(g(t[1])):e[t[0]].apply(e,t[1])}),new n.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,r=this.arguments.length;n=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return n.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){for(var r=this.children(),i=0,a=r.length;i=0;r--)t.childNodes[r]instanceof e.SVGElement&&m(t.childNodes[r]);return n.adopt(t).id(n.eid(t.nodeName))}function v(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach((function(e){var t={};t[e]=function(t){if(void 0===t)return this;if("string"==typeof t||n.Color.isRgb(t)||t&&"function"==typeof t.fill)this.attr(e,t);else for(var r=l[e].length-1;r>=0;r--)null!=t[l[e][r]]&&this.attr(l.prefix(e,l[e][r]),t[l[e][r]]);return this},n.extend(n.Element,n.FX,t)})),n.extend(n.Element,n.FX,{translate:function(e,t){return this.transform({x:e,y:t})},matrix:function(e){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new n.Number(e).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(e){return this.y(new n.Number(e).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),n.Set=n.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){for(var e=[].slice.call(arguments),t=0,n=e.length;t-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(e){return new n.Set(e)}}}),n.FX.Set=n.invent({create:function(e){this.set=e}}),n.Set.inherit=function(){var e=[];for(var t in n.Shape.prototype)"function"==typeof n.Shape.prototype[t]&&"function"!=typeof n.Set.prototype[t]&&e.push(t);for(var t in e.forEach((function(e){n.Set.prototype[e]=function(){for(var t=0,r=this.members.length;t=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(e){var r=t.getElementById(function(e){var t=(e||"").toString().match(n.regex.reference);if(t)return t[1]}(e)||e);return n.adopt(r)},n.select=function(e,r){return new n.Set(n.utils.map((r||t).querySelectorAll(e),(function(e){return n.adopt(e)})))},n.extend(n.Parent,{select:function(e){return n.select(e,this.node)}});var y="abcdef".split("");if("function"!=typeof e.CustomEvent){var b=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};b.prototype=e.Event.prototype,n.CustomEvent=b}else n.CustomEvent=e.CustomEvent;return n},r=function(){return Me(Ue,Ue.document)}.call(t,n,t,e),void 0!==r&&(e.exports=r), /*! svg.filter.js - v2.0.2 - 2016-02-24 * https://github.com/wout/svg.filter.js * Copyright (c) 2016 Wout Fierens; Licensed MIT */ function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,n){return this.put(new SVG.BlendEffect(e,t,n))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,n){return this.put(new SVG.CompositeEffect(e,t,n))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,n){return this.put(new SVG.DiffuseLightingEffect(e,t,n))},displacementMap:function(e,t,n,r,i){return this.put(new SVG.DisplacementMapEffect(e,t,n,r,i))},specularLighting:function(e,t,n,r){return this.put(new SVG.SpecularLightingEffect(e,t,n,r))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,n,r,i){return this.put(new SVG.TurbulenceEffect(e,t,n,r,i))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,n){return this.parent()&&this.parent().diffuseLighting(e,t,n).in(this)},displacementMap:function(e,t,n,r){return this.parent()&&this.parent().displacementMap(this,e,t,n,r)},specularLighting:function(e,t,n,r){return this.parent()&&this.parent().specularLighting(e,t,n,r).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,n,r,i){return this.parent()&&this.parent().turbulence(e,t,n,r,i).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,n){this.attr({in:e,in2:t,mode:n||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=i(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=i(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,n){this.attr({in:e,in2:t,operator:n})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,n,r,i){this.attr({in:e,in2:t,scale:n,xChannelSelector:r,yChannelSelector:i})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",function(e){if(!Array.isArray(e))return e;for(var t=0,n=e.length,r=[];t1&&(I*=r=Math.sqrt(r),T*=r),i=(new SVG.Matrix).rotate(O).scale(1/I,1/T).rotate(-O),F=F.transform(i),U=U.transform(i),a=[U.x-F.x,U.y-F.y],s=a[0]*a[0]+a[1]*a[1],o=Math.sqrt(s),a[0]/=o,a[1]/=o,l=s<4?Math.sqrt(1-s/4):0,N===D&&(l*=-1),c=new SVG.Point((U.x+F.x)/2+l*-a[1],(U.y+F.y)/2+l*a[0]),u=new SVG.Point(F.x-c.x,F.y-c.y),d=new SVG.Point(U.x-c.x,U.y-c.y),h=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(h*=-1),p=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(p*=-1),D&&h>p&&(p+=2*Math.PI),!D&&ha.maxX-t.width&&(o=(r=a.maxX-t.width)-this.startPoints.box.x),null!=a.minY&&ia.maxY-t.height&&(s=(i=a.maxY-t.height)-this.startPoints.box.y),null!=a.snapToGrid&&(r-=r%a.snapToGrid,i-=i%a.snapToGrid,o-=o%a.snapToGrid,s-=s%a.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:o,y:s},!0):this.el.move(r,i));return n},e.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(t,n){"function"!=typeof t&&"object"!=typeof t||(n=t,t=!0);var r=this.remember("_draggable")||new e(this);return(t=void 0===t||t)?r.init(n||{},t):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function e(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(e,t,n){var r="string"!=typeof e?e:t[e];return n?r/2:r},this.pointCoords=function(e,t){var n=this.pointsList[e];return{x:this.pointCoord(n[0],t,"t"===e||"b"===e),y:this.pointCoord(n[1],t,"r"===e||"l"===e)}}}e.prototype.init=function(e,t){var n=this.el.bbox();this.options={};var r=this.el.selectize.defaults.points;for(var i in this.el.selectize.defaults)this.options[i]=this.el.selectize.defaults[i],void 0!==t[i]&&(this.options[i]=t[i]);var a=["points","pointsExclude"];for(var i in a){var o=this.options[a[i]];"string"==typeof o?o=o.length>0?o.split(/\s*,\s*/i):[]:"boolean"==typeof o&&"points"===a[i]&&(o=o?r:[]),this.options[a[i]]=o}this.options.points=[r,this.options.points].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))})),this.options.points=[this.options.points,this.options.pointsExclude].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)<0}))})),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},e.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},e.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map((function(t){return[t[0]-e.x,t[1]-e.y]}))},e.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),n=0,r=t.length;n0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;case"lb":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(e,t){var n=e+this.parameters.p.x,r=t+this.parameters.p.y,i=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),a=Math.atan2(r-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),o=this.parameters.rotation+180*(a-i)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(o-o%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var n=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),r=this.el.array().valueOf();r[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],r[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(r)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"touchend.resize",(function(){t.done()})),SVG.on(window,"mousemove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"mouseup.resize",(function(){t.done()}))},e.prototype.update=function(e){if(e){var t=this._extractPosition(e),n=this.transformPoint(t.x,t.y),r=n.x-this.parameters.p.x,i=n.y-this.parameters.p.y;this.lastUpdateCall=[r,i],this.calc(r,i),this.el.fire("resizing",{dx:r,dy:i,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},e.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},e.prototype.snapToGrid=function(e,t,n,r){var i;return void 0!==r?i=[(n+e)%this.options.snapToGrid,(r+t)%this.options.snapToGrid]:(n=null==n?3:n,i=[(this.parameters.box.x+e+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(i[0]-=this.options.snapToGrid),t<0&&(i[1]-=this.options.snapToGrid),e-=Math.abs(i[0])o.maxX&&(e=o.maxX-i),void 0!==o.minY&&a+to.maxY&&(t=o.maxY-a),[e,t]},e.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var n=e.slice(),r=this.parameters.box.width/this.parameters.box.height,i=this.parameters.box.width+e[0],a=this.parameters.box.height-e[1],o=i/a;return or&&(n[0]=this.parameters.box.width-a*r,t&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(t){return(this.remember("_resizeHandler")||new e(this)).init(t||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),void 0===window.Apex&&(window.Apex={});var Be=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new w(this.ctx),this.ctx.axes=new te(this.ctx),this.ctx.core=new ze(this.ctx.el,this.ctx),this.ctx.config=new M({}),this.ctx.data=new $(this.ctx),this.ctx.grid=new G(this.ctx),this.ctx.graphics=new k(this.ctx),this.ctx.coreUtils=new _(this.ctx),this.ctx.crosshairs=new ne(this.ctx),this.ctx.events=new Q(this.ctx),this.ctx.exports=new Y(this.ctx),this.ctx.localization=new ee(this.ctx),this.ctx.options=new O,this.ctx.responsive=new re(this.ctx),this.ctx.series=new W(this.ctx),this.ctx.theme=new ie(this.ctx),this.ctx.formatters=new L(this.ctx),this.ctx.titleSubtitle=new ae(this.ctx),this.ctx.legend=new he(this.ctx),this.ctx.toolbar=new pe(this.ctx),this.ctx.tooltip=new we(this.ctx),this.ctx.dimensions=new ue(this.ctx),this.ctx.updateHelpers=new He(this.ctx),this.ctx.zoomPanSelection=new fe(this.ctx),this.ctx.w.globals.tooltip=new we(this.ctx)}}]),e}(),We=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(e,t){this.removeClass("*"),this.off(),this.stop()}),!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,n=e.isUpdating,r=this.w.globals.dom.Paper.node;r.parentNode&&r.parentNode.parentNode&&!n&&(r.parentNode.parentNode.style.minHeight="unset");var i=this.w.globals.dom.baseEl;i&&this.ctx.eventList.forEach((function(e){i.removeEventListener(e,t.ctx.events.documentEvent)}));var a=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(a.Paper),a.Paper.remove(),a.elWrap=null,a.elGraphical=null,a.elLegendWrap=null,a.elLegendForeign=null,a.baseEl=null,a.elGridRect=null,a.elGridRectMask=null,a.elGridRectMarkerMask=null,a.elForecastMask=null,a.elNonForecastMask=null,a.elDefs=null}}]),e}(),$e=new WeakMap,qe=function(){function e(t,n){s(this,e),this.opts=n,this.ctx=this,this.w=new j(n).init(),this.el=t,this.w.globals.cuid=x.randomId(),this.w.globals.chartID=this.w.config.chart.id?x.escapeString(this.w.config.chart.id):this.w.globals.cuid,new Be(this).initModules(),this.create=x.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return c(e,[{key:"render",value:function(){var e=this;return new Promise((function(t,n){if(null!==e.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var r=e.w.config.chart.events.beforeMount;if("function"==typeof r&&r(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(e,t){var n=!1;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=e.getBoundingClientRect();"none"!==e.style.display&&0!==r.width||(n=!0)}var i=new ResizeObserver((function(r){n&&t.call(e,r),n=!0}));e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(e.children).forEach((function(e){return i.observe(e)})):i.observe(e),$e.set(t,i)}(e.el.parentNode,e.parentResizeHandler),!e.css){var i=e.el.getRootNode&&e.el.getRootNode(),a=x.is("ShadowRoot",i),o=e.el.ownerDocument,s=o.getElementById("apexcharts-css");!a&&s||(e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent='@keyframes opaque {\n 0% {\n opacity: 0\n }\n\n to {\n opacity: 1\n }\n}\n\n@keyframes resizeanim {\n 0%,to {\n opacity: 0\n }\n}\n\n.apexcharts-canvas {\n position: relative;\n user-select: none\n}\n\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0,0,0,.5);\n box-shadow: 0 0 1px rgba(255,255,255,.5);\n -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5)\n}\n\n.apexcharts-inner {\n position: relative\n}\n\n.apexcharts-text tspan {\n font-family: inherit\n}\n\n.legend-mouseover-inactive {\n transition: .15s ease all;\n opacity: .2\n}\n\n.apexcharts-legend-text {\n padding-left: 15px;\n margin-left: -15px;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n border: 1px solid #e3e3e3;\n background: rgba(255,255,255,.96)\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n color: #fff;\n background: rgba(30,30,30,.8)\n}\n\n.apexcharts-tooltip * {\n font-family: inherit\n}\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n background: #eceff1;\n border-bottom: 1px solid #ddd\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n background: rgba(0,0,0,.7);\n border-bottom: 1px solid #333\n}\n\n.apexcharts-tooltip-text-goals-value,.apexcharts-tooltip-text-y-value,.apexcharts-tooltip-text-z-value {\n display: inline-block;\n margin-left: 5px;\n font-weight: 600\n}\n\n.apexcharts-tooltip-text-goals-label:empty,.apexcharts-tooltip-text-goals-value:empty,.apexcharts-tooltip-text-y-label:empty,.apexcharts-tooltip-text-y-value:empty,.apexcharts-tooltip-text-z-value:empty,.apexcharts-tooltip-title:empty {\n display: none\n}\n\n.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {\n padding: 6px 0 5px\n}\n\n.apexcharts-tooltip-goals-group,.apexcharts-tooltip-text-goals-label,.apexcharts-tooltip-text-goals-value {\n display: flex\n}\n\n.apexcharts-tooltip-text-goals-label:not(:empty),.apexcharts-tooltip-text-goals-value:not(:empty) {\n margin-top: -6px\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0;\n margin-right: 10px;\n border-radius: 50%\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n opacity: 1\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px\n}\n\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0!important\n}\n\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px\n}\n\n.apexcharts-custom-tooltip,.apexcharts-tooltip-box {\n padding: 4px 8px\n}\n\n.apexcharts-tooltip-boxPlot {\n display: flex;\n flex-direction: column-reverse\n}\n\n.apexcharts-tooltip-box>div {\n margin: 4px 0\n}\n\n.apexcharts-tooltip-box span.value {\n font-weight: 700\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: 700;\n display: block;\n margin-bottom: 5px\n}\n\n.apexcharts-xaxistooltip,.apexcharts-yaxistooltip {\n opacity: 0;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #eceff1;\n border: 1px solid #90a4ae\n}\n\n.apexcharts-xaxistooltip {\n padding: 9px 10px;\n transition: .15s ease all\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n background: rgba(0,0,0,.7);\n border: 1px solid rgba(0,0,0,.5);\n color: #fff\n}\n\n.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before {\n left: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none\n}\n\n.apexcharts-xaxistooltip:after {\n border-color: transparent;\n border-width: 6px;\n margin-left: -6px\n}\n\n.apexcharts-xaxistooltip:before {\n border-color: transparent;\n border-width: 7px;\n margin-left: -7px\n}\n\n.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before {\n bottom: 100%\n}\n\n.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before {\n top: 100%\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n border-bottom-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n border-top-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-yaxistooltip {\n padding: 4px 10px\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n background: rgba(0,0,0,.7);\n border: 1px solid rgba(0,0,0,.5);\n color: #fff\n}\n\n.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before {\n top: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none\n}\n\n.apexcharts-yaxistooltip:after {\n border-color: transparent;\n border-width: 6px;\n margin-top: -6px\n}\n\n.apexcharts-yaxistooltip:before {\n border-color: transparent;\n border-width: 7px;\n margin-top: -7px\n}\n\n.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before {\n left: 100%\n}\n\n.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before {\n right: 100%\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n border-left-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n border-right-color: rgba(0,0,0,.5)\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n opacity: 1\n}\n\n.apexcharts-yaxistooltip-hidden {\n display: none\n}\n\n.apexcharts-xcrosshairs,.apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: .15s ease all\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active {\n opacity: 1;\n transition: .15s ease all\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0\n}\n\n.apexcharts-selection-rect {\n cursor: move\n}\n\n.svg_select_boundingRect,.svg_select_points_rot {\n pointer-events: none;\n opacity: 0;\n visibility: hidden\n}\n\n.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot {\n opacity: 0;\n visibility: hidden\n}\n\n.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible\n}\n\n.svg_select_points {\n fill: #efefef;\n stroke: #333;\n rx: 2\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n cursor: move\n}\n\n.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6e8192;\n text-align: center\n}\n\n.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg {\n fill: #6e8192\n}\n\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(.76)\n}\n\n.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg {\n fill: #f3f4f5\n}\n\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {\n fill: #008ffb\n}\n\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {\n fill: #333\n}\n\n.apexcharts-menu-icon,.apexcharts-selection-icon {\n position: relative\n}\n\n.apexcharts-reset-icon {\n margin-left: 5px\n}\n\n.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon {\n transform: scale(.85)\n}\n\n.apexcharts-zoomin-icon,.apexcharts-zoomout-icon {\n transform: scale(.7)\n}\n\n.apexcharts-zoomout-icon {\n margin-right: 3px\n}\n\n.apexcharts-pan-icon {\n transform: scale(.62);\n position: relative;\n left: 1px;\n top: 0\n}\n\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6e8192;\n stroke-width: 2\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n stroke: #008ffb\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n stroke: #333\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0 6px 2px;\n display: flex;\n justify-content: space-between;\n align-items: center\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: .15s ease all;\n pointer-events: none\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n opacity: 1;\n pointer-events: all;\n transition: .15s ease all\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n background: #eee\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n background: rgba(0,0,0,.7);\n color: #fff\n}\n\n@media screen and (min-width:768px) {\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1\n }\n}\n\n.apexcharts-canvas .apexcharts-element-hidden,.apexcharts-datalabel.apexcharts-element-hidden,.apexcharts-hide .apexcharts-series-points {\n opacity: 0\n}\n\n.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label {\n cursor: default;\n pointer-events: none\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: .3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease\n}\n\n.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-point-annotation-label,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-xaxis-annotation-label,.apexcharts-yaxis-annotation-label,.apexcharts-zoom-rect {\n pointer-events: none\n}\n\n.apexcharts-marker {\n transition: .15s ease all\n}\n\n.resize-triggers {\n animation: 1ms resizeanim;\n visibility: hidden;\n opacity: 0;\n height: 100%;\n width: 100%;\n overflow: hidden\n}\n\n.contract-trigger:before,.resize-triggers,.resize-triggers>div {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n left: 0\n}\n\n.resize-triggers>div {\n height: 100%;\n width: 100%;\n background: #eee;\n overflow: auto\n}\n\n.contract-trigger:before {\n overflow: hidden;\n width: 200%;\n height: 200%\n}\n',a?i.prepend(e.css):o.head.appendChild(e.css))}var l=e.create(e.w.config.series,{});if(!l)return t(e);e.mount(l).then((function(){"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(l)})).catch((function(e){n(e)}))}else n(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var n=this.w;new Be(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,this.responsive.checkResponsiveConfig(t),n.config.xaxis.convertedCatToNumeric&&new U(n.config).convertCatToNumericXaxis(n.config,this.ctx),null===this.el)return r.animationEnded=!0,null;if(this.core.setupElements(),"treemap"===n.config.chart.type&&(n.config.grid.show=!1,n.config.yaxis[0].show=!1),0===r.svgWidth)return r.animationEnded=!0,null;var i=_.checkComboSeries(e);r.comboCharts=i.comboCharts,r.comboBarCount=i.comboBarCount;var a=e.every((function(e){return e.data&&0===e.data.length}));(0===e.length||a)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new z(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!n.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=n.globals.minX,this.ctx.toolbar.maxX=n.globals.maxX),this.formatters.heatmapLabelFormatters(),new _(this).getLargestMarkerSize(),this.dimensions.plotCoords();var o=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(e,o),l=new B(this);return l.bringForward(),n.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:s,xyRatios:o,dimensions:{plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this,r=n.w;return new Promise((function(i,a){if(null===n.el)return a(new Error("Not enough data to display or target element not found"));(null===t||r.globals.allSeriesCollapsed)&&n.series.handleNoData(),n.grid=new G(n);var o=n.grid.drawGrid();if(n.annotations=new N(n),n.annotations.drawImageAnnos(),n.annotations.drawTextAnnos(),"back"===r.config.grid.position&&o&&r.globals.dom.elGraphical.add(o.el),Array.isArray(t.elGraph))for(var s=0;s0&&r.globals.memory.methodsToExec.forEach((function(e){e.method(e.params,!1,e.context)})),r.globals.axisCharts||r.globals.noData||n.core.resizeNonAxisCharts(),i(n)}))}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=$e.get(e))&&(t.disconnect(),$e.delete(e));var n=this.w.config.chart.id;n&&Apex._chartInstances.forEach((function(e,t){e.id===x.escapeString(n)&&Apex._chartInstances.splice(t,1)})),new We(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w;return o.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(e,n){return t.updateHelpers._extendSeries(e,n)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,n,r,i,a)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,n)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w.config.series.slice();return r.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(r,t,n)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var r=n.w.config.series.slice(),i=0;i0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addXaxisAnnotationExternal(e,t,r)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addYaxisAnnotationExternal(e,t,r)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addPointAnnotationExternal(e,t,r)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this;t&&(n=t),n.annotations.removeAnnotation(n,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new K(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new K(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new Y(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Y(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;"function"==typeof e&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=x.escapeString(e),n=Apex._chartInstances.filter((function(e){return e.id===t}))[0];return n&&n.chart}},{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),n=0;n2?i-2:0),o=2;onull===e||void 0===e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),A=e=>{do{e+=Math.floor(Math.random()*k)}while(document.getElementById(e));return e},I=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},T=e=>{const t=I(e);return t&&document.querySelector(t)?t:null},O=e=>{const t=I(e);return t?document.querySelector(t):null},N=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),i=Number.parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*_):0},D=e=>{e.dispatchEvent(new Event(C))},L=e=>!(!e||"object"!==typeof e)&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType),P=e=>L(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?document.querySelector(e):null,F=e=>{if(!L(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},U=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||("undefined"!==typeof e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),M=e=>{if(!document.documentElement.attachShadow)return null;if("function"===typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?M(e.parentNode):null},R=()=>{},j=e=>{e.offsetHeight},V=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,z=[],H=e=>{"loading"===document.readyState?(z.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of z)e()})),z.push(e)):e()},B=()=>"rtl"===document.documentElement.dir,W=e=>{H((()=>{const t=V();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}}))},$=e=>{"function"===typeof e&&e()},q=(e,t,n=!0)=>{if(!n)return void $(e);const r=5,i=N(t)+r;let a=!1;const o=({target:n})=>{n===t&&(a=!0,t.removeEventListener(C,o),$(e))};t.addEventListener(C,o),setTimeout((()=>{a||D(t)}),i)},Y=(e,t,n,r)=>{const i=e.length;let a=e.indexOf(t);return-1===a?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},Z=/[^.]*(?=\..*)\.|.*/,G=/\..*/,X=/::\d+$/,K={};let J=1;const Q={mouseenter:"mouseover",mouseleave:"mouseout"},ee=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function te(e,t){return t&&`${t}::${J++}`||e.uidEvent||J++}function ne(e){const t=te(e);return e.uidEvent=t,K[t]=K[t]||{},K[t]}function re(e,t){return function n(r){return he(r,{delegateTarget:e}),n.oneOff&&de.off(e,r.type,t),t.apply(e,[r])}}function ie(e,t,n){return function r(i){const a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const s of a)if(s===o)return he(i,{delegateTarget:o}),r.oneOff&&de.off(e,i.type,t,n),n.apply(o,[i])}}function ae(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function oe(e,t,n){const r="string"===typeof t,i=r?n:t||n;let a=ue(e);return ee.has(a)||(a=e),[r,i,a]}function se(e,t,n,r,i){if("string"!==typeof t||!e)return;let[a,o,s]=oe(t,n,r);if(t in Q){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=ne(e),c=l[s]||(l[s]={}),u=ae(c,o,a?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const d=te(o,t.replace(Z,"")),h=a?ie(e,n,o):re(e,o);h.delegationSelector=a?n:null,h.callable=o,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(s,h,a)}function le(e,t,n,r,i){const a=ae(t[n],r,i);a&&(e.removeEventListener(n,a,Boolean(i)),delete t[n][a.uidEvent])}function ce(e,t,n,r){const i=t[n]||{};for(const a of Object.keys(i))if(a.includes(r)){const r=i[a];le(e,t,n,r.callable,r.delegationSelector)}}function ue(e){return e=e.replace(G,""),Q[e]||e}const de={on(e,t,n,r){se(e,t,n,r,!1)},one(e,t,n,r){se(e,t,n,r,!0)},off(e,t,n,r){if("string"!==typeof t||!e)return;const[i,a,o]=oe(t,n,r),s=o!==t,l=ne(e),c=l[o]||{},u=t.startsWith(".");if("undefined"===typeof a){if(u)for(const n of Object.keys(l))ce(e,l,n,t.slice(1));for(const n of Object.keys(c)){const r=n.replace(X,"");if(!s||t.includes(r)){const t=c[n];le(e,l,o,t.callable,t.delegationSelector)}}}else{if(!Object.keys(c).length)return;le(e,l,o,a,i?n:null)}},trigger(e,t,n){if("string"!==typeof t||!e)return null;const r=V(),i=ue(t),a=t!==i;let o=null,s=!0,l=!0,c=!1;a&&r&&(o=r.Event(t,n),r(e).trigger(o),s=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(t,{bubbles:s,cancelable:!0});return u=he(u,n),c&&u.preventDefault(),l&&e.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function he(e,t){for(const[r,i]of Object.entries(t||{}))try{e[r]=i}catch(n){Object.defineProperty(e,r,{configurable:!0,get(){return i}})}return e}const pe=new Map,fe={set(e,t,n){pe.has(e)||pe.set(e,new Map);const r=pe.get(e);r.has(t)||0===r.size?r.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get(e,t){return pe.has(e)&&pe.get(e).get(t)||null},remove(e,t){if(!pe.has(e))return;const n=pe.get(e);n.delete(t),0===n.size&&pe.delete(e)}};function ge(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!==typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function me(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const ve={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${me(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${me(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=ge(e.dataset[r])}return t},getDataAttribute(e,t){return ge(e.getAttribute(`data-bs-${me(t)}`))}};class ye{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=L(t)?ve.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"===typeof n?n:{},...L(t)?ve.getDataAttributes(t):{},..."object"===typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const n of Object.keys(t)){const r=t[n],i=e[n],a=L(i)?"element":E(i);if(!new RegExp(r).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${r}".`)}}}const be="5.2.3";class xe extends ye{constructor(e,t){super(),e=P(e),e&&(this._element=e,this._config=this._getConfig(t),fe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fe.remove(this._element,this.constructor.DATA_KEY),de.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){q(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return fe.get(P(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"===typeof t?t:null)}static get VERSION(){return be}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const we=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;de.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),U(this))return;const i=O(this)||this.closest(`.${r}`),a=e.getOrCreateInstance(i);a[t]()}))},Se="alert",ke="bs.alert",_e=`.${ke}`,Ce=`close${_e}`,Ee=`closed${_e}`,Ae="fade",Ie="show";class Te extends xe{static get NAME(){return Se}close(){const e=de.trigger(this._element,Ce);if(e.defaultPrevented)return;this._element.classList.remove(Ie);const t=this._element.classList.contains(Ae);this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),de.trigger(this._element,Ee),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Te.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}we(Te,"close"),W(Te);const Oe="button",Ne="bs.button",De=`.${Ne}`,Le=".data-api",Pe="active",Fe='[data-bs-toggle="button"]',Ue=`click${De}${Le}`;class Me extends xe{static get NAME(){return Oe}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Pe))}static jQueryInterface(e){return this.each((function(){const t=Me.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}de.on(document,Ue,Fe,(e=>{e.preventDefault();const t=e.target.closest(Fe),n=Me.getOrCreateInstance(t);n.toggle()})),W(Me);const Re={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter((e=>e.matches(t)))},parents(e,t){const n=[];let r=e.parentNode.closest(t);while(r)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;while(n){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;while(n){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!U(e)&&F(e)))}},je="swipe",Ve=".bs.swipe",ze=`touchstart${Ve}`,He=`touchmove${Ve}`,Be=`touchend${Ve}`,We=`pointerdown${Ve}`,$e=`pointerup${Ve}`,qe="touch",Ye="pen",Ze="pointer-event",Ge=40,Xe={endCallback:null,leftCallback:null,rightCallback:null},Ke={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Je extends ye{constructor(e,t){super(),this._element=e,e&&Je.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Xe}static get DefaultType(){return Ke}static get NAME(){return je}dispose(){de.off(this._element,Ve)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),$(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Ge)return;const t=e/this._deltaX;this._deltaX=0,t&&$(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(de.on(this._element,We,(e=>this._start(e))),de.on(this._element,$e,(e=>this._end(e))),this._element.classList.add(Ze)):(de.on(this._element,ze,(e=>this._start(e))),de.on(this._element,He,(e=>this._move(e))),de.on(this._element,Be,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Ye||e.pointerType===qe)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qe="carousel",et="bs.carousel",tt=`.${et}`,nt=".data-api",rt="ArrowLeft",it="ArrowRight",at=500,ot="next",st="prev",lt="left",ct="right",ut=`slide${tt}`,dt=`slid${tt}`,ht=`keydown${tt}`,pt=`mouseenter${tt}`,ft=`mouseleave${tt}`,gt=`dragstart${tt}`,mt=`load${tt}${nt}`,vt=`click${tt}${nt}`,yt="carousel",bt="active",xt="slide",wt="carousel-item-end",St="carousel-item-start",kt="carousel-item-next",_t="carousel-item-prev",Ct=".active",Et=".carousel-item",At=Ct+Et,It=".carousel-item img",Tt=".carousel-indicators",Ot="[data-bs-slide], [data-bs-slide-to]",Nt='[data-bs-ride="carousel"]',Dt={[rt]:ct,[it]:lt},Lt={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Pt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ft extends xe{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Re.findOne(Tt,this._element),this._addEventListeners(),this._config.ride===yt&&this.cycle()}static get Default(){return Lt}static get DefaultType(){return Pt}static get NAME(){return Qe}next(){this._slide(ot)}nextWhenVisible(){!document.hidden&&F(this._element)&&this.next()}prev(){this._slide(st)}pause(){this._isSliding&&D(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?de.one(this._element,dt,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void de.one(this._element,dt,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const r=e>n?ot:st;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&de.on(this._element,ht,(e=>this._keydown(e))),"hover"===this._config.pause&&(de.on(this._element,pt,(()=>this.pause())),de.on(this._element,ft,(()=>this._maybeEnableCycle()))),this._config.touch&&Je.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Re.find(It,this._element))de.on(n,gt,(e=>e.preventDefault()));const e=()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),at+this._config.interval))},t={leftCallback:()=>this._slide(this._directionToOrder(lt)),rightCallback:()=>this._slide(this._directionToOrder(ct)),endCallback:e};this._swipeHelper=new Je(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Dt[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Re.findOne(Ct,this._indicatorsElement);t.classList.remove(bt),t.removeAttribute("aria-current");const n=Re.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(bt),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),r=e===ot,i=t||Y(this._getItems(),n,r,this._config.wrap);if(i===n)return;const a=this._getItemIndex(i),o=t=>de.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a}),s=o(ut);if(s.defaultPrevented)return;if(!n||!i)return;const l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;const c=r?St:wt,u=r?kt:_t;i.classList.add(u),j(i),n.classList.add(c),i.classList.add(c);const d=()=>{i.classList.remove(c,u),i.classList.add(bt),n.classList.remove(bt,u,c),this._isSliding=!1,o(dt)};this._queueCallback(d,n,this._isAnimated()),l&&this.cycle()}_isAnimated(){return this._element.classList.contains(xt)}_getActive(){return Re.findOne(At,this._element)}_getItems(){return Re.find(Et,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return B()?e===lt?st:ot:e===lt?ot:st}_orderToDirection(e){return B()?e===st?lt:ct:e===st?ct:lt}static jQueryInterface(e){return this.each((function(){const t=Ft.getOrCreateInstance(this,e);if("number"!==typeof e){if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}de.on(document,vt,Ot,(function(e){const t=O(this);if(!t||!t.classList.contains(yt))return;e.preventDefault();const n=Ft.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===ve.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),de.on(window,mt,(()=>{const e=Re.find(Nt);for(const t of e)Ft.getOrCreateInstance(t)})),W(Ft);const Ut="collapse",Mt="bs.collapse",Rt=`.${Mt}`,jt=".data-api",Vt=`show${Rt}`,zt=`shown${Rt}`,Ht=`hide${Rt}`,Bt=`hidden${Rt}`,Wt=`click${Rt}${jt}`,$t="show",qt="collapse",Yt="collapsing",Zt="collapsed",Gt=`:scope .${qt} .${qt}`,Xt="collapse-horizontal",Kt="width",Jt="height",Qt=".collapse.show, .collapse.collapsing",en='[data-bs-toggle="collapse"]',tn={parent:null,toggle:!0},nn={parent:"(null|element)",toggle:"boolean"};class rn extends xe{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=Re.find(en);for(const r of n){const e=T(r),t=Re.find(e).filter((e=>e===this._element));null!==e&&t.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return tn}static get DefaultType(){return nn}static get NAME(){return Ut}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Qt).filter((e=>e!==this._element)).map((e=>rn.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;const t=de.trigger(this._element,Vt);if(t.defaultPrevented)return;for(const o of e)o.hide();const n=this._getDimension();this._element.classList.remove(qt),this._element.classList.add(Yt),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Yt),this._element.classList.add(qt,$t),this._element.style[n]="",de.trigger(this._element,zt)},i=n[0].toUpperCase()+n.slice(1),a=`scroll${i}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const e=de.trigger(this._element,Ht);if(e.defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,j(this._element),this._element.classList.add(Yt),this._element.classList.remove(qt,$t);for(const r of this._triggerArray){const e=O(r);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Yt),this._element.classList.add(qt),de.trigger(this._element,Bt)};this._element.style[t]="",this._queueCallback(n,this._element,!0)}_isShown(e=this._element){return e.classList.contains($t)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=P(e.parent),e}_getDimension(){return this._element.classList.contains(Xt)?Kt:Jt}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(en);for(const t of e){const e=O(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Re.find(Gt,this._config.parent);return Re.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(Zt,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"===typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=rn.getOrCreateInstance(this,t);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}de.on(document,Wt,en,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=T(this),n=Re.find(t);for(const r of n)rn.getOrCreateInstance(r,{toggle:!1}).toggle()})),W(rn);const an="dropdown",on="bs.dropdown",sn=`.${on}`,ln=".data-api",cn="Escape",un="Tab",dn="ArrowUp",hn="ArrowDown",pn=2,fn=`hide${sn}`,gn=`hidden${sn}`,mn=`show${sn}`,vn=`shown${sn}`,yn=`click${sn}${ln}`,bn=`keydown${sn}${ln}`,xn=`keyup${sn}${ln}`,wn="show",Sn="dropup",kn="dropend",_n="dropstart",Cn="dropup-center",En="dropdown-center",An='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',In=`${An}.${wn}`,Tn=".dropdown-menu",On=".navbar",Nn=".navbar-nav",Dn=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ln=B()?"top-end":"top-start",Pn=B()?"top-start":"top-end",Fn=B()?"bottom-end":"bottom-start",Un=B()?"bottom-start":"bottom-end",Mn=B()?"left-start":"right-start",Rn=B()?"right-start":"left-start",jn="top",Vn="bottom",zn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Hn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Bn extends xe{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Re.next(this._element,Tn)[0]||Re.prev(this._element,Tn)[0]||Re.findOne(Tn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return zn}static get DefaultType(){return Hn}static get NAME(){return an}toggle(){return this._isShown()?this.hide():this.show()}show(){if(U(this._element)||this._isShown())return;const e={relatedTarget:this._element},t=de.trigger(this._element,mn,e);if(!t.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Nn))for(const e of[].concat(...document.body.children))de.on(e,"mouseover",R);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wn),this._element.classList.add(wn),de.trigger(this._element,vn,e)}}hide(){if(U(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){const t=de.trigger(this._element,fn,e);if(!t.defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))de.off(e,"mouseover",R);this._popper&&this._popper.destroy(),this._menu.classList.remove(wn),this._element.classList.remove(wn),this._element.setAttribute("aria-expanded","false"),ve.removeDataAttribute(this._menu,"popper"),de.trigger(this._element,gn,e)}}_getConfig(e){if(e=super._getConfig(e),"object"===typeof e.reference&&!L(e.reference)&&"function"!==typeof e.reference.getBoundingClientRect)throw new TypeError(`${an.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if("undefined"===typeof r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:L(this._config.reference)?e=P(this._config.reference):"object"===typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=x.fi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(wn)}_getPlacement(){const e=this._parent;if(e.classList.contains(kn))return Mn;if(e.classList.contains(_n))return Rn;if(e.classList.contains(Cn))return jn;if(e.classList.contains(En))return Vn;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains(Sn)?t?Pn:Ln:t?Un:Fn}_detectNavbar(){return null!==this._element.closest(On)}_getOffset(){const{offset:e}=this._config;return"string"===typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"===typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(ve.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"===typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=Re.find(Dn,this._menu).filter((e=>F(e)));n.length&&Y(n,t,e===hn,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Bn.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e.button===pn||"keyup"===e.type&&e.key!==un)return;const t=Re.find(In);for(const n of t){const t=Bn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),i=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&e.key===un||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:t._element};"click"===e.type&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n=e.key===cn,r=[dn,hn].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(An)?this:Re.prev(this,An)[0]||Re.next(this,An)[0]||Re.findOne(An,e.delegateTarget.parentNode),a=Bn.getOrCreateInstance(i);if(r)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),i.focus())}}de.on(document,bn,An,Bn.dataApiKeydownHandler),de.on(document,bn,Tn,Bn.dataApiKeydownHandler),de.on(document,yn,Bn.clearMenus),de.on(document,xn,Bn.clearMenus),de.on(document,yn,An,(function(e){e.preventDefault(),Bn.getOrCreateInstance(this).toggle()})),W(Bn);const Wn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$n=".sticky-top",qn="padding-right",Yn="margin-right";class Zn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qn,(t=>t+e)),this._setElementAttributes(Wn,qn,(t=>t+e)),this._setElementAttributes($n,Yn,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qn),this._resetElementAttributes(Wn,qn),this._resetElementAttributes($n,Yn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth(),i=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&ve.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){const n=e=>{const n=ve.getDataAttribute(e,t);null!==n?(ve.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,t){if(L(e))t(e);else for(const n of Re.find(e,this._element))t(n)}}const Gn="backdrop",Xn="fade",Kn="show",Jn=`mousedown.bs.${Gn}`,Qn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},er={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class tr extends ye{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Qn}static get DefaultType(){return er}static get NAME(){return Gn}show(e){if(!this._config.isVisible)return void $(e);this._append();const t=this._getElement();this._config.isAnimated&&j(t),t.classList.add(Kn),this._emulateAnimation((()=>{$(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Kn),this._emulateAnimation((()=>{this.dispose(),$(e)}))):$(e)}dispose(){this._isAppended&&(de.off(this._element,Jn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Xn),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=P(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),de.on(e,Jn,(()=>{$(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){q(e,this._getElement(),this._config.isAnimated)}}const nr="focustrap",rr="bs.focustrap",ir=`.${rr}`,ar=`focusin${ir}`,or=`keydown.tab${ir}`,sr="Tab",lr="forward",cr="backward",ur={autofocus:!0,trapElement:null},dr={autofocus:"boolean",trapElement:"element"};class hr extends ye{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ur}static get DefaultType(){return dr}static get NAME(){return nr}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),de.off(document,ir),de.on(document,ar,(e=>this._handleFocusin(e))),de.on(document,or,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,de.off(document,ir))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=Re.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===cr?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===sr&&(this._lastTabNavDirection=e.shiftKey?cr:lr)}}const pr="modal",fr="bs.modal",gr=`.${fr}`,mr=".data-api",vr="Escape",yr=`hide${gr}`,br=`hidePrevented${gr}`,xr=`hidden${gr}`,wr=`show${gr}`,Sr=`shown${gr}`,kr=`resize${gr}`,_r=`click.dismiss${gr}`,Cr=`mousedown.dismiss${gr}`,Er=`keydown.dismiss${gr}`,Ar=`click${gr}${mr}`,Ir="modal-open",Tr="fade",Or="show",Nr="modal-static",Dr=".modal.show",Lr=".modal-dialog",Pr=".modal-body",Fr='[data-bs-toggle="modal"]',Ur={backdrop:!0,focus:!0,keyboard:!0},Mr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Rr extends xe{constructor(e,t){super(e,t),this._dialog=Re.findOne(Lr,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Zn,this._addEventListeners()}static get Default(){return Ur}static get DefaultType(){return Mr}static get NAME(){return pr}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;const t=de.trigger(this._element,wr,{relatedTarget:e});t.defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ir),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;const e=de.trigger(this._element,yr);e.defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Or),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])de.off(e,gr);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new tr({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new hr({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Re.findOne(Pr,this._dialog);t&&(t.scrollTop=0),j(this._element),this._element.classList.add(Or);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,de.trigger(this._element,Sr,{relatedTarget:e})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){de.on(this._element,Er,(e=>{if(e.key===vr)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),de.on(window,kr,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),de.on(this._element,Cr,(e=>{de.one(this._element,_r,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ir),this._resetAdjustments(),this._scrollBar.reset(),de.trigger(this._element,xr)}))}_isAnimated(){return this._element.classList.contains(Tr)}_triggerBackdropTransition(){const e=de.trigger(this._element,br);if(e.defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Nr)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Nr),this._queueCallback((()=>{this._element.classList.remove(Nr),this._queueCallback((()=>{this._element.style.overflowY=n}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=B()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=B()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Rr.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}de.on(document,Ar,Fr,(function(e){const t=O(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),de.one(t,wr,(e=>{e.defaultPrevented||de.one(t,xr,(()=>{F(this)&&this.focus()}))}));const n=Re.findOne(Dr);n&&Rr.getInstance(n).hide();const r=Rr.getOrCreateInstance(t);r.toggle(this)})),we(Rr),W(Rr);const jr="offcanvas",Vr="bs.offcanvas",zr=`.${Vr}`,Hr=".data-api",Br=`load${zr}${Hr}`,Wr="Escape",$r="show",qr="showing",Yr="hiding",Zr="offcanvas-backdrop",Gr=".offcanvas.show",Xr=`show${zr}`,Kr=`shown${zr}`,Jr=`hide${zr}`,Qr=`hidePrevented${zr}`,ei=`hidden${zr}`,ti=`resize${zr}`,ni=`click${zr}${Hr}`,ri=`keydown.dismiss${zr}`,ii='[data-bs-toggle="offcanvas"]',ai={backdrop:!0,keyboard:!0,scroll:!1},oi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class si extends xe{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ai}static get DefaultType(){return oi}static get NAME(){return jr}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;const t=de.trigger(this._element,Xr,{relatedTarget:e});if(t.defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Zn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qr);const n=()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add($r),this._element.classList.remove(qr),de.trigger(this._element,Kr,{relatedTarget:e})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;const e=de.trigger(this._element,Jr);if(e.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Yr),this._backdrop.hide();const t=()=>{this._element.classList.remove($r,Yr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Zn).reset(),de.trigger(this._element,ei)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{"static"!==this._config.backdrop?this.hide():de.trigger(this._element,Qr)},t=Boolean(this._config.backdrop);return new tr({className:Zr,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new hr({trapElement:this._element})}_addEventListeners(){de.on(this._element,ri,(e=>{e.key===Wr&&(this._config.keyboard?this.hide():de.trigger(this._element,Qr))}))}static jQueryInterface(e){return this.each((function(){const t=si.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}de.on(document,ni,ii,(function(e){const t=O(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),U(this))return;de.one(t,ei,(()=>{F(this)&&this.focus()}));const n=Re.findOne(Gr);n&&n!==t&&si.getInstance(n).hide();const r=si.getOrCreateInstance(t);r.toggle(this)})),de.on(window,Br,(()=>{for(const e of Re.find(Gr))si.getOrCreateInstance(e).show()})),de.on(window,ti,(()=>{for(const e of Re.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&si.getOrCreateInstance(e).hide()})),we(si),W(si);const li=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ci=/^aria-[\w-]*$/i,ui=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,di=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,hi=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!li.has(n)||Boolean(ui.test(e.nodeValue)||di.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},pi={"*":["class","dir","id","lang","role",ci],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function fi(e,t,n){if(!e.length)return e;if(n&&"function"===typeof n)return n(e);const r=new window.DOMParser,i=r.parseFromString(e,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const o of a){const e=o.nodeName.toLowerCase();if(!Object.keys(t).includes(e)){o.remove();continue}const n=[].concat(...o.attributes),r=[].concat(t["*"]||[],t[e]||[]);for(const t of n)hi(t,r)||o.removeAttribute(t.nodeName)}return i.body.innerHTML}const gi="TemplateFactory",mi={allowList:pi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},vi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},yi={entry:"(string|element|function|null)",selector:"(string|element)"};class bi extends ye{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return mi}static get DefaultType(){return vi}static get NAME(){return gi}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},yi)}_setContent(e,t,n){const r=Re.findOne(n,e);r&&(t=this._resolvePossibleFunction(t),t?L(t)?this._putElementInTemplate(P(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?fi(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"===typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const xi="tooltip",wi=new Set(["sanitize","allowList","sanitizeFn"]),Si="fade",ki="modal",_i="show",Ci=".tooltip-inner",Ei=`.${ki}`,Ai="hide.bs.modal",Ii="hover",Ti="focus",Oi="click",Ni="manual",Di="hide",Li="hidden",Pi="show",Fi="shown",Ui="inserted",Mi="click",Ri="focusin",ji="focusout",Vi="mouseenter",zi="mouseleave",Hi={AUTO:"auto",TOP:"top",RIGHT:B()?"left":"right",BOTTOM:"bottom",LEFT:B()?"right":"left"},Bi={allowList:pi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Wi={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class $i extends xe{constructor(e,t){if("undefined"===typeof r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Bi}static get DefaultType(){return Wi}static get NAME(){return xi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),de.off(this._element.closest(Ei),Ai,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=de.trigger(this._element,this.constructor.eventName(Pi)),t=M(this._element),n=(t||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!n)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),de.trigger(this._element,this.constructor.eventName(Ui))),this._popper=this._createPopper(r),r.classList.add(_i),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))de.on(o,"mouseover",R);const a=()=>{de.trigger(this._element,this.constructor.eventName(Fi)),!1===this._isHovered&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;const e=de.trigger(this._element,this.constructor.eventName(Di));if(e.defaultPrevented)return;const t=this._getTipElement();if(t.classList.remove(_i),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))de.off(r,"mouseover",R);this._activeTrigger[Oi]=!1,this._activeTrigger[Ti]=!1,this._activeTrigger[Ii]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),de.trigger(this._element,this.constructor.eventName(Li)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Si,_i),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=A(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Si),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new bi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ci]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Si)}_isShown(){return this.tip&&this.tip.classList.contains(_i)}_createPopper(e){const t="function"===typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=Hi[t.toUpperCase()];return x.fi(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"===typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"===typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"===typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"===typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)de.on(this._element,this.constructor.eventName(Mi),this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t.toggle()}));else if(t!==Ni){const e=t===Ii?this.constructor.eventName(Vi):this.constructor.eventName(Ri),n=t===Ii?this.constructor.eventName(zi):this.constructor.eventName(ji);de.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Ti:Ii]=!0,t._enter()})),de.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Ti:Ii]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},de.on(this._element.closest(Ei),Ai,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=ve.getDataAttributes(this._element);for(const n of Object.keys(t))wi.has(n)&&delete t[n];return e={...t,..."object"===typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:P(e.container),"number"===typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"===typeof e.title&&(e.title=e.title.toString()),"number"===typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=$i.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}W($i);const qi="popover",Yi=".popover-header",Zi=".popover-body",Gi={...$i.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Xi={...$i.DefaultType,content:"(null|string|element|function)"};class Ki extends $i{static get Default(){return Gi}static get DefaultType(){return Xi}static get NAME(){return qi}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Yi]:this._getTitle(),[Zi]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=Ki.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}W(Ki);const Ji="scrollspy",Qi="bs.scrollspy",ea=`.${Qi}`,ta=".data-api",na=`activate${ea}`,ra=`click${ea}`,ia=`load${ea}${ta}`,aa="dropdown-item",oa="active",sa='[data-bs-spy="scroll"]',la="[href]",ca=".nav, .list-group",ua=".nav-link",da=".nav-item",ha=".list-group-item",pa=`${ua}, ${da} > ${ua}, ${ha}`,fa=".dropdown",ga=".dropdown-toggle",ma={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},va={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ya extends xe{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ma}static get DefaultType(){return va}static get NAME(){return Ji}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=P(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"===typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(de.off(this._config.target,ra),de.on(this._config.target,ra,la,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return}else i||e||n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Re.find(la,this._config.target);for(const t of e){if(!t.hash||U(t))continue;const e=Re.findOne(t.hash,this._element);F(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(oa),this._activateParents(e),de.trigger(this._element,na,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(aa))Re.findOne(ga,e.closest(fa)).classList.add(oa);else for(const t of Re.parents(e,ca))for(const e of Re.prev(t,pa))e.classList.add(oa)}_clearActiveClass(e){e.classList.remove(oa);const t=Re.find(`${la}.${oa}`,e);for(const n of t)n.classList.remove(oa)}static jQueryInterface(e){return this.each((function(){const t=ya.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}de.on(window,ia,(()=>{for(const e of Re.find(sa))ya.getOrCreateInstance(e)})),W(ya);const ba="tab",xa="bs.tab",wa=`.${xa}`,Sa=`hide${wa}`,ka=`hidden${wa}`,_a=`show${wa}`,Ca=`shown${wa}`,Ea=`click${wa}`,Aa=`keydown${wa}`,Ia=`load${wa}`,Ta="ArrowLeft",Oa="ArrowRight",Na="ArrowUp",Da="ArrowDown",La="active",Pa="fade",Fa="show",Ua="dropdown",Ma=".dropdown-toggle",Ra=".dropdown-menu",ja=":not(.dropdown-toggle)",Va='.list-group, .nav, [role="tablist"]',za=".nav-item, .list-group-item",Ha=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}`,Ba='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wa=`${Ha}, ${Ba}`,$a=`.${La}[data-bs-toggle="tab"], .${La}[data-bs-toggle="pill"], .${La}[data-bs-toggle="list"]`;class qa extends xe{constructor(e){super(e),this._parent=this._element.closest(Va),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),de.on(this._element,Aa,(e=>this._keydown(e))))}static get NAME(){return ba}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?de.trigger(t,Sa,{relatedTarget:e}):null,r=de.trigger(e,_a,{relatedTarget:t});r.defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(La),this._activate(O(e));const n=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),de.trigger(e,Ca,{relatedTarget:t})):e.classList.add(Fa)};this._queueCallback(n,e,e.classList.contains(Pa))}_deactivate(e,t){if(!e)return;e.classList.remove(La),e.blur(),this._deactivate(O(e));const n=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),de.trigger(e,ka,{relatedTarget:t})):e.classList.remove(Fa)};this._queueCallback(n,e,e.classList.contains(Pa))}_keydown(e){if(![Ta,Oa,Na,Da].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Oa,Da].includes(e.key),n=Y(this._getChildren().filter((e=>!U(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),qa.getOrCreateInstance(n).show())}_getChildren(){return Re.find(Wa,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=O(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains(Ua))return;const r=(e,r)=>{const i=Re.findOne(e,n);i&&i.classList.toggle(r,t)};r(Ma,La),r(Ra,Fa),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(La)}_getInnerElement(e){return e.matches(Wa)?e:Re.findOne(Wa,e)}_getOuterElement(e){return e.closest(za)||e}static jQueryInterface(e){return this.each((function(){const t=qa.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}de.on(document,Ea,Ba,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),U(this)||qa.getOrCreateInstance(this).show()})),de.on(window,Ia,(()=>{for(const e of Re.find($a))qa.getOrCreateInstance(e)})),W(qa);const Ya="toast",Za="bs.toast",Ga=`.${Za}`,Xa=`mouseover${Ga}`,Ka=`mouseout${Ga}`,Ja=`focusin${Ga}`,Qa=`focusout${Ga}`,eo=`hide${Ga}`,to=`hidden${Ga}`,no=`show${Ga}`,ro=`shown${Ga}`,io="fade",ao="hide",oo="show",so="showing",lo={animation:"boolean",autohide:"boolean",delay:"number"},co={animation:!0,autohide:!0,delay:5e3};class uo extends xe{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return co}static get DefaultType(){return lo}static get NAME(){return Ya}show(){const e=de.trigger(this._element,no);if(e.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(io);const t=()=>{this._element.classList.remove(so),de.trigger(this._element,ro),this._maybeScheduleHide()};this._element.classList.remove(ao),j(this._element),this._element.classList.add(oo,so),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown())return;const e=de.trigger(this._element,eo);if(e.defaultPrevented)return;const t=()=>{this._element.classList.add(ao),this._element.classList.remove(so,oo),de.trigger(this._element,to)};this._element.classList.add(so),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(oo),super.dispose()}isShown(){return this._element.classList.contains(oo)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t;break}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){de.on(this._element,Xa,(e=>this._onInteraction(e,!0))),de.on(this._element,Ka,(e=>this._onInteraction(e,!1))),de.on(this._element,Ja,(e=>this._onInteraction(e,!0))),de.on(this._element,Qa,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=uo.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}we(uo),W(uo);var ho=Object.defineProperty,po=(e,t,n)=>t in e?ho(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fo=(e,t,n)=>(po(e,"symbol"!=typeof t?t+"":t,n),n);const go=(e,t)=>{var n;const r=(0,i.XI)();return(0,a.m0)((()=>{r.value=e()}),{...t,flush:null!=(n=null==t?void 0:t.flush)?n:"sync"}),(0,i.OT)(r)},mo=e=>(0,a.Fl)((()=>e.value?`justify-content-${e.value}`:""));class vo{constructor(e,t={}){if(fo(this,"cancelable",!0),fo(this,"componentId",null),fo(this,"_defaultPrevented",!1),fo(this,"eventType",""),fo(this,"nativeEvent",null),fo(this,"_preventDefault"),fo(this,"relatedTarget",null),fo(this,"target",null),!e)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,vo.Defaults,t,{eventType:e}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(e){this._defaultPrevented=e}get preventDefault(){return this._preventDefault}set preventDefault(e){this._preventDefault=e}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class yo extends vo{constructor(e,t={}){super(e,t),fo(this,"trigger",null),Object.assign(this,vo.Defaults,t,{eventType:e})}static get Defaults(){return{...super.Defaults,trigger:null}}}const bo=e=>null!==e&&"object"==typeof e,xo=e=>/^[0-9]*\.?[0-9]+$/.test(String(e)),wo=e=>"[object Object]"===Object.prototype.toString.call(e),So=e=>null===e,ko=/_/g,_o=/([a-z])([A-Z])/g,Co=/(\s|^)(\w)/g,Eo=/(\s|^)(\w)/,Ao=/\s+/,Io=/^#/,To=/^#[A-Za-z]+[\w\-:.]*$/,Oo=/-u-.+/,No=(e,t=2)=>"string"==typeof e?e:null==e?"":Array.isArray(e)||wo(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,t):String(e),Do=e=>e.replace(ko," ").replace(_o,((e,t,n)=>`${t} ${n}`)).replace(Eo,((e,t,n)=>t+n.toUpperCase())),Lo=e=>e.replace(ko," ").replace(_o,((e,t,n)=>`${t} ${n}`)).replace(Co,((e,t,n)=>t+n.toUpperCase())),Po=e=>{const t=e.trim();return t.charAt(0).toUpperCase()+t.slice(1)},Fo=e=>`\\${e}`,Uo=e=>{const t=No(e),{length:n}=t,r=t.charCodeAt(0);return t.split("").reduce(((e,i,a)=>{const o=t.charCodeAt(a);return 0===o?`${e}�`:127===o||o>=1&&o<=31||0===a&&o>=48&&o<=57||1===a&&o>=48&&o<=57&&45===r?e+Fo(`${o.toString(16)} `):0===a&&45===o&&1===n?e+Fo(i):o>=128||45===o||95===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?e+i:e+Fo(i)}),"")},Mo=typeof window<"u",Ro=typeof document<"u",jo=typeof navigator<"u",Vo=Mo&&Ro&&jo,zo=Mo?window:{},Ho=(()=>{let e=!1;if(Vo)try{const t={get passive(){e=!0}};zo.addEventListener("test",t,t),zo.removeEventListener("test",t,t)}catch{e=!1}return e})(),Bo=typeof window<"u",Wo=typeof document<"u",$o=typeof Element<"u",qo=typeof navigator<"u",Yo=Bo&&Wo&&qo,Zo=Bo?window:{},Go=Wo?document:{},Xo=qo?navigator:{},Ko=(Xo.userAgent||"").toLowerCase();Ko.indexOf("jsdom"),/msie|trident/.test(Ko),(()=>{let e=!1;if(Yo)try{const t={get passive(){return e=!0,e}};Zo.addEventListener("test",t,t),Zo.removeEventListener("test",t,t)}catch{e=!1}})(),Yo&&("ontouchstart"in Go.documentElement||Xo.maxTouchPoints),Yo&&Boolean(Zo.PointerEvent||Zo.MSPointerEvent),Yo&&"IntersectionObserver"in Zo&&"IntersectionObserverEntry"in Zo&&Zo.IntersectionObserverEntry.prototype;const Jo=$o?Element.prototype:void 0,Qo=(null==Jo?void 0:Jo.matches)||(null==Jo?void 0:Jo.msMatchesSelector)||(null==Jo?void 0:Jo.webkitMatchesSelector),es=e=>!(!e||e.nodeType!==Node.ELEMENT_NODE),ts=e=>es(e)?e.getBoundingClientRect():null,ns=(e=[])=>{const{activeElement:t}=document;return t&&!e.some((e=>e===t))?t:null},rs=e=>es(e)&&e===ns(),is=(e,t={})=>{try{e.focus(t)}catch(n){console.error(n)}return rs(e)},as=(e,t)=>t&&es(e)&&e.getAttribute(t)||null,os=e=>{if("none"===as(e,"display"))return!1;const t=ts(e);return!!(t&&t.height>0&&t.width>0)},ss=(e,t)=>!e||e(t).filter((e=>e.type!==a.sv)).length<1,ls=(e,t)=>(es(t)?t:Go).querySelector(e)||null,cs=(e,t)=>Array.from([(es(t)?t:Go).querySelectorAll(e)]),us=(e,t)=>t&&es(e)?e.getAttribute(t):null,ds=e=>Go.getElementById(/^#/.test(e)?e.slice(1):e)||null,hs=(e,t,n)=>{t&&es(e)&&e.setAttribute(t,n)},ps=(e,t)=>{t&&es(e)&&e.removeAttribute(t)},fs=(e,t)=>No(e).toLowerCase()===No(t).toLowerCase(),gs=Mo?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||(e=>setTimeout(e,16)):e=>setTimeout(e,0),ms=(e,t)=>!!es(e)&&Qo.call(e,t),vs=(null==Jo?void 0:Jo.closest)||function(e){let t=this;if(!t)return null;do{if(ms(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&t.nodeType===Node.ELEMENT_NODE);return null},ys=(e,t,n=!1)=>{if(!es(t))return null;const r=vs.call(t,e);return n?r:r===t?null:r},bs=(e,t,n)=>t.concat(["sm","md","lg","xl","xxl"]).reduce(((t,r)=>(t[e?`${e}${r.charAt(0).toUpperCase()+r.slice(1)}`:r]=n,t)),Object.create(null)),xs=(e,t,n,r=n)=>Object.keys(t).reduce(((t,i)=>(e[i]&&t.push([r,i.replace(n,""),e[i]].filter((e=>e&&"boolean"!=typeof e)).join("-").toLowerCase()),t)),[]),ws=(e="")=>`__BVID__${Math.random().toString().slice(2,8)}___BV_${e}__`,Ss=(e,t)=>!0===e||"true"===e||""===e?"true":"grammar"===e||"spelling"===e?e:!1===t?"true":!1===e||"false"===e?"false":void 0,ks=e=>!!e&&"object"==typeof e&&e.constructor===Object,_s=(e,t,n=!0)=>{const r=e instanceof Date&&"function"==typeof e.getMonth?new Date(e.getTime()):Object.assign({},e);return ks(e)&&ks(t)&&Object.keys(t).forEach((i=>{ks(t[i])?i in e?r[i]=_s(e[i],t[i],n):Object.assign(r,{[i]:t[i]}):Array.isArray(t[i])&&Array.isArray(e[i])?Object.assign(r,{[i]:n?e[i].concat(t[i].filter((t=>!e[i].includes(t)))):t[i]}):Object.assign(r,{[i]:t[i]})})),r},Cs=(e,t={},n={})=>{const r=[e];let i;for(let a=0;aNumber.isInteger(e)?e:t,As=(e,t=NaN)=>{const n=Number.parseInt(e,10);return Number.isNaN(n)?t:n},Is=(e,t=NaN)=>{const n=Number.parseFloat(e.toString());return Number.isNaN(n)?t:n},Ts=(e,t)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,n)=>({...t,[n]:e[n]})),{}),Os=e=>Array.isArray(e)?e.map((e=>Os(e))):e instanceof Date?new Date(e.getTime()):e&&"object"==typeof e?Object.getOwnPropertyNames(e).reduce(((t,n)=>{var r;return Object.defineProperty(t,n,null!=(r=Object.getOwnPropertyDescriptor(e,n))?r:{}),t[n]=Os(e[n]),t}),Object.create(Object.getPrototypeOf(e))):e,Ns=e=>new Promise((t=>t(Os(e)))),Ds=(e,t)=>t+(e?Po(e):""),Ls=(e,t)=>(Array.isArray(t)?t.slice():Object.keys(t)).reduce(((t,n)=>(t[n]=e[n],t)),{}),Ps=e=>"boolean"==typeof e?e:""===e||"true"===e,Fs=e=>!(!e.href&&!e.to);function Us(e){return go((()=>void 0===e.value?void 0:Ps(e.value)))}const Ms=Symbol(),Rs={items:(0,i.qj)([]),reset(){this.items=(0,i.qj)([])}},js=e=>{e.provide(Ms,Rs)},Vs=()=>{const e=(0,a.f3)(Ms);return e||Rs},zs=(e,t,n)=>{(0,a.bv)((()=>{var r;null==(r=null==e?void 0:e.value)||r.addEventListener(t,n)})),(0,a.Jd)((()=>{var r;null==(r=null==e?void 0:e.value)||r.removeEventListener(t,n)}))},Hs=e=>(0,a.Fl)((()=>({"form-check":!1===e.plain&&!1===e.button,"form-check-inline":!0===e.inline,"form-switch":!0===e.switch,[`form-control-${e.size}`]:void 0!==e.size&&"md"!==e.size}))),Bs=e=>(0,a.Fl)((()=>({"form-check-input":!1===e.plain&&!1===e.button,"is-valid":!0===e.state,"is-invalid":!1===e.state,"btn-check":!0===e.button}))),Ws=e=>(0,a.Fl)((()=>({"form-check-label":!1===e.plain&&!1===e.button,btn:!0===e.button,[`btn-${e.buttonVariant}`]:!0===e.button&&void 0!==e.buttonVariant,[`btn-${e.size}`]:e.button&&e.size&&"md"!==e.size}))),$s=e=>(0,a.Fl)((()=>({"aria-invalid":Ss(e.ariaInvalid,e.state),"aria-required":!0===e.required||void 0}))),qs=e=>(0,a.Fl)((()=>({"was-validated":!0===e.validated,"btn-group":!0===e.buttons&&!1===e.stacked,"btn-group-vertical":!0===e.stacked,[`btn-group-${e.size}`]:void 0!==e.size}))),Ys=(e,t,n)=>e.reduce(((e,t)=>"Symbol(Fragment)"===t.type.toString()?e.concat(t.children):e.concat([t])),[]).filter((e=>e.type.__name===t||e.type.name===t)).map((e=>{const t=(e.children.default?e.children.default():[]).find((e=>"Symbol(Text)"===e.type.toString()));return{props:{disabled:n,...e.props},text:t?t.children:""}})),Zs=(e,t)=>"string"==typeof e?{props:{value:e,disabled:t.disabled},text:e}:{props:{value:e[t.valueField],disabled:t.disabled||e[t.disabledField],...e.props},text:e[t.textField],html:e[t.htmlField]},Gs=(e,t,n,r,i)=>({...e,props:{"button-variant":n.buttonVariant,form:n.form,name:r.value,id:`${i.value}_option_${t}`,button:n.buttons,state:n.state,plain:n.plain,size:n.size,inline:!n.stacked,required:n.required,...e.props}}),Xs=(e,t)=>(0,a.Fl)((()=>(null==e?void 0:e.value)||ws(t))),Ks={ariaInvalid:{type:[Boolean,String],default:void 0},autocomplete:{type:String,required:!1},autofocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},form:{type:String,required:!1},formatter:{type:Function,required:!1},id:{type:String,required:!1},lazy:{type:Boolean,default:!1},lazyFormatter:{type:Boolean,default:!1},list:{type:String,required:!1},modelValue:{type:[String,Number],default:""},name:{type:String,required:!1},number:{type:Boolean,default:!1},placeholder:{type:String,required:!1},plaintext:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},size:{type:String,required:!1},state:{type:Boolean,default:null},trim:{type:Boolean,default:!1}},Js=(e,t)=>{const n=(0,i.iH)();let r=null,o=!0;const s=Xs((0,i.Vh)(e,"id"),"input"),l=(t,n,r=!1)=>(t=String(t),"function"!=typeof e.formatter||e.lazyFormatter&&!r?t:(o=!1,e.formatter(t,n))),c=t=>e.trim?t.trim():e.number?Number.parseFloat(t):t,u=()=>{(0,a.Y3)((()=>{var t;e.autofocus&&(null==(t=n.value)||t.focus())}))};(0,a.bv)(u),(0,a.bv)((()=>{n.value&&(n.value.value=e.modelValue)})),(0,a.dl)(u);const d=(0,a.Fl)((()=>{var t;return Ss(e.ariaInvalid,null!=(t=e.state)?t:void 0)})),h=n=>{const{value:i}=n.target,a=l(i,n);if(!1===a||n.defaultPrevented)return void n.preventDefault();if(e.lazy)return;const o=c(a);e.modelValue!==o&&(r=i,t("update:modelValue",o)),t("input",a)},p=n=>{const{value:i}=n.target,a=l(i,n);if(!1===a||n.defaultPrevented)return void n.preventDefault();if(!e.lazy)return;r=i,t("update:modelValue",a);const o=c(a);e.modelValue!==o&&t("change",a)},f=n=>{if(t("blur",n),!e.lazy&&!e.lazyFormatter)return;const{value:i}=n.target,a=l(i,n,!0);r=i,t("update:modelValue",a)},g=()=>{var t;e.disabled||null==(t=n.value)||t.focus()},m=()=>{var t;e.disabled||null==(t=n.value)||t.blur()};return(0,a.YP)((()=>e.modelValue),(e=>{!n.value||(n.value.value=r&&o?r:e,r=null,o=!0)})),{input:n,computedId:s,computedAriaInvalid:d,onInput:h,onChange:p,onBlur:f,focus:g,blur:m}},Qs=(e,t)=>{if(!e)return e;if(t in e)return e[t];const n=t.split(".");return Qs(e[n[0]],n.splice(1).join("."))},el=(e,t=null,n,r)=>{if("[object Object]"===Object.prototype.toString.call(e)){const i=Qs(e,r.valueField),a=Qs(e,r.textField),o=Qs(e,r.htmlField),s=Qs(e,r.disabledField),l=e[r.optionsField]||null;return null!==l?{label:String(Qs(e,r.labelField)||a),options:tl(l,n,r)}:{value:typeof i>"u"?t||a:i,text:String(typeof a>"u"?t:a),html:o,disabled:Boolean(s)}}return{value:t||e,text:String(e),disabled:!1}},tl=(e,t,n)=>Array.isArray(e)?e.map((e=>el(e,null,t,n))):"[object Object]"===Object.prototype.toString.call(e)?(console.warn(`[BootstrapVue warn]: ${t} - Setting prop "options" to an object is deprecated. Use the array format instead.`),Object.keys(e).map((r=>{const i=e[r];switch(typeof i){case"object":return el(i.text,String(i.value),t,n);default:return el(i,String(r),t,n)}}))):[],nl=["id"],rl=Symbol(),il=(0,a.aZ)({__name:"BAccordion",props:{flush:{default:!1},free:{default:!1},id:null},setup(e){const t=e,n=Xs((0,i.Vh)(t,"id"),"accordion"),r=Us((0,i.Vh)(t,"flush")),s=Us((0,i.Vh)(t,"free")),l=(0,a.Fl)((()=>({"accordion-flush":r.value})));return s.value||(0,a.JJ)(rl,n.value),(e,t)=>((0,a.wg)(),(0,a.iD)("div",{id:(0,i.SU)(n),class:(0,o.C_)(["accordion",(0,i.SU)(l)])},[(0,a.WI)(e.$slots,"default")],10,nl))}}),al=(0,a.aZ)({__name:"BCollapse",props:{accordion:null,id:{default:ws()},modelValue:{default:!1},tag:{default:"div"},toggle:{default:!1},visible:{default:!1},isNav:{default:!1}},emits:["update:modelValue","show","shown","hide","hidden"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"modelValue")),s=Us((0,i.Vh)(n,"toggle")),l=Us((0,i.Vh)(n,"visible")),c=Us((0,i.Vh)(n,"isNav")),u=(0,i.iH)(),d=(0,i.iH)(),h=(0,a.Fl)((()=>({show:r.value,"navbar-collapse":c.value}))),p=()=>t("update:modelValue",!1);return(0,a.YP)((()=>r.value),(e=>{var t,n;e?null==(t=d.value)||t.show():null==(n=d.value)||n.hide()})),(0,a.YP)((()=>l.value),(e=>{var n,r;e?(t("update:modelValue",!!e),null==(n=d.value)||n.show()):(t("update:modelValue",!!e),null==(r=d.value)||r.hide())})),zs(u,"show.bs.collapse",(()=>{t("show"),t("update:modelValue",!0)})),zs(u,"hide.bs.collapse",(()=>{t("hide"),t("update:modelValue",!1)})),zs(u,"shown.bs.collapse",(()=>t("shown"))),zs(u,"hidden.bs.collapse",(()=>t("hidden"))),(0,a.bv)((()=>{var e;d.value=new rn(u.value,{parent:n.accordion?`#${n.accordion}`:void 0,toggle:s.value}),(l.value||r.value)&&(t("update:modelValue",!0),null==(e=d.value)||e.show())})),(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,ref_key:"element",ref:u,class:(0,o.C_)(["collapse",(0,i.SU)(h)]),"data-bs-parent":e.accordion||null,"is-nav":(0,i.SU)(c)},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{visible:(0,i.SU)(r),close:p})])),_:3},8,["id","class","data-bs-parent","is-nav"]))}}),ol={mounted(e,t){let n=t.value;Object.keys(t.modifiers).length>0&&([n]=Object.keys(t.modifiers)),e.setAttribute("data-bs-toggle","modal"),e.setAttribute("data-bs-target",`#${n}`)}},sl={mounted(e,t){let n="right";const r=[];t.modifiers.left?n="left":t.modifiers.right?n="right":t.modifiers.bottom?n="bottom":t.modifiers.top&&(n="top"),t.modifiers.manual?r.push("manual"):(t.modifiers.click&&r.push("click"),t.modifiers.hover&&r.push("hover"),t.modifiers.focus&&r.push("focus")),e.setAttribute("data-bs-toggle","popover"),new Ki(e,{trigger:0===r.length?"click":r.join(" "),placement:n,content:t.value,html:t.modifiers.html})},unmounted(e){const t=Ki.getInstance(e);null==t||t.dispose()}},ll=e=>{if(e.classList.contains("offcanvas"))return"offcanvas";if(e.classList.contains("collapse"))return"collapse";throw Error("Couldn't resolve toggle type")},cl=(e,t)=>{const{modifiers:n,arg:r,value:i}=e,a=Object.keys(n||{}),o="string"==typeof i?i.split(Ao):i;if(fs(t.tagName,"a")){const e=us(t,"href")||"";To.test(e)&&a.push(e.replace(Io,""))}return Array.prototype.concat.apply([],[r,o]).forEach((e=>"string"==typeof e&&a.push(e))),a.filter(((e,t,n)=>e&&n.indexOf(e)===t))},ul={mounted(e,t){const n=cl(t,e),r=[];let i="data-bs-target";"a"===e.tagName&&(i="href");for(let a=0;a0&&e.setAttribute(i,r.join(","))}},dl=(e,t)=>{if(null!=t&&t.trigger)return t.trigger;if(e.manual)return"manual";const n=[];return e.click&&n.push("click"),e.hover&&n.push("hover"),e.focus&&n.push("focus"),n.length>0?n.join(" "):"hover focus"},hl=(e,t)=>null!=t&&t.placement?t.placement:e.left?"left":e.right?"right":e.bottom?"bottom":"top",pl=e=>null!=e&&e.delay?e.delay:0,fl=e=>typeof e>"u"?(console.warn("Review tooltip directive usage. Some uses are not defining a title in root component or a value like `v-b-tooltip='{title: \"my title\"}'` nor `v-b-tooltip=\"'my title'\"` to define a title"),""):"object"==typeof e?null==e?void 0:e.title:e,gl={beforeMount(e,t){e.setAttribute("data-bs-toggle","tooltip"),e.getAttribute("title")||e.setAttribute("title",fl(t.value).toString());const n=/<("[^"]*"|'[^']*'|[^'">])*>/.test(e.title),r=dl(t.modifiers,t.value),i=hl(t.modifiers,t.value),a=pl(t.value),o=e.getAttribute("title");new $i(e,{trigger:r,placement:i,delay:a,html:n}),o&&e.setAttribute("data-bs-original-title",o)},updated(e,t){e.getAttribute("title")||e.setAttribute("title",fl(t.value).toString());const n=e.getAttribute("title"),r=e.getAttribute("data-bs-original-title"),i=$i.getInstance(e);e.removeAttribute("title"),n&&n!==r&&(null==i||i.setContent({".tooltip-inner":n}),e.setAttribute("data-bs-original-title",n))},unmounted(e){const t=$i.getInstance(e);null==t||t.dispose()}},ml=new Map,vl=e=>{if(ml.has(e)){const t=ml.get(e);t&&t.stop&&t.stop(),ml.delete(e)}},yl=(e,t)=>{const n={margin:"0px",once:!1,callback:t.value};Object.keys(t.modifiers).forEach((e=>{Number.isInteger(e)?n.margin=`${e}px`:"once"===e.toLowerCase()&&(n.once=!0)})),vl(e);const r=new xl(e,n.margin,n.once,n.callback,t.instance);ml.set(e,r)},bl={beforeMount(e,t){yl(e,t)},updated(e,t){yl(e,t)},unmounted(e){vl(e)}};class xl{constructor(e,t,n,r,i){fo(this,"element"),fo(this,"margin"),fo(this,"once"),fo(this,"callback"),fo(this,"instance"),fo(this,"observer"),fo(this,"doneOnce"),fo(this,"visible"),this.element=e,this.margin=t,this.once=n,this.callback=r,this.instance=i,this.createObserver()}createObserver(){if(this.observer&&this.stop(),!this.doneOnce&&"function"==typeof this.callback){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch{return console.error("Intersection Observer not supported"),this.doneOnce=!0,this.observer=void 0,void this.callback(null)}this.instance.$nextTick((()=>{this.observer&&this.observer.observe(this.element)}))}}handler(e){const[t]=e,n=Boolean(t.isIntersecting||t.intersectionRatio>0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}stop(){this.observer&&this.observer.disconnect(),this.observer=null}}const wl={mounted(e,t){!1!==t.value&&e.focus()}},Sl={BModal:ol,BPopover:sl,BToggle:ul,BTooltip:gl,BVisible:bl,focus:wl},kl={class:"accordion-item"},_l=["id"],Cl=["aria-expanded","aria-controls"],El={class:"accordion-body"},Al=(0,a.aZ)({__name:"BAccordionItem",props:{id:null,title:null,visible:{default:!1}},setup(e){const t=e,n=(0,a.f3)(rl,""),r=Xs((0,i.Vh)(t,"id"),"accordion_item"),s=Us((0,i.Vh)(t,"visible"));return(t,l)=>((0,a.wg)(),(0,a.iD)("div",kl,[(0,a._)("h2",{id:`${(0,i.SU)(r)}heading`,class:"accordion-header"},[(0,a.wy)(((0,a.wg)(),(0,a.iD)("button",{class:(0,o.C_)(["accordion-button",{collapsed:!(0,i.SU)(s)}]),type:"button","aria-expanded":(0,i.SU)(s)?"true":"false","aria-controls":(0,i.SU)(r)},[(0,a.WI)(t.$slots,"title",{},(()=>[(0,a.Uk)((0,o.zw)(e.title),1)]))],10,Cl)),[[(0,i.SU)(ul),void 0,(0,i.SU)(r)]])],8,_l),(0,a.Wm)(al,{id:(0,i.SU)(r),class:"accordion-collapse",visible:e.visible,accordion:(0,i.SU)(n),"aria-labelledby":`heading${(0,i.SU)(r)}`},{default:(0,a.w5)((()=>[(0,a._)("div",El,[(0,a.WI)(t.$slots,"default")])])),_:3},8,["id","visible","accordion","aria-labelledby"])]))}}),Il=["type","disabled","aria-label"],Tl=(0,a.aZ)({__name:"BCloseButton",props:{ariaLabel:{default:"Close"},disabled:{default:!1},white:{default:!1},type:{default:"button"}},emits:["click"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"disabled")),s=Us((0,i.Vh)(n,"white")),l=(0,a.Fl)((()=>({"btn-close-white":s.value})));return(n,s)=>((0,a.wg)(),(0,a.iD)("button",{type:e.type,class:(0,o.C_)(["btn-close",(0,i.SU)(l)]),disabled:(0,i.SU)(r),"aria-label":e.ariaLabel,onClick:s[0]||(s[0]=e=>t("click",e))},null,10,Il))}}),Ol=(0,a.aZ)({__name:"BAlert",props:{dismissLabel:{default:"Close"},dismissible:{default:!1},fade:{default:!1},modelValue:{type:[Boolean,Number],default:!1},show:{default:!1},variant:{default:"info"}},emits:["closed","close-count-down","update:modelValue"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"dismissible"));Us((0,i.Vh)(n,"fade"));const s=Us((0,i.Vh)(n,"show")),l=(0,a.Rr)();let c;const u=(0,i.iH)(null),d=(0,i.iH)(),h=(0,a.Fl)((()=>!ss(l.close))),p=(0,a.Fl)((()=>!!n.modelValue||s.value)),f=(0,a.Fl)((()=>[[`alert-${n.variant}`],{show:!!n.modelValue,"alert-dismissible":r.value,fade:!!n.modelValue}])),g=e=>{if("boolean"==typeof e)return 0;const t=Es(e,0);return t>0?t:0},m=(0,i.iH)(0),v=(0,a.Fl)((()=>!0===n.modelValue||!(!1===n.modelValue||Es(n.modelValue,0)<1)&&!!n.modelValue)),y=()=>{void 0!==c&&(clearTimeout(c),c=void 0)},b=()=>{m.value=g(n.modelValue),(v.value||s.value)&&!d.value&&(d.value=new Te(u.value))},x=()=>{"boolean"==typeof n.modelValue?t("update:modelValue",!1):t("update:modelValue",0),t("closed")};return(0,a.YP)((()=>n.modelValue),b),(0,a.YP)((()=>s.value),b),(0,a.YP)(m,(e=>{y(),"boolean"!=typeof n.modelValue&&(t("close-count-down",e),0===e&&n.modelValue>0&&t("closed"),n.modelValue!==e&&t("update:modelValue",e),e>0&&(c=setTimeout((()=>{m.value--}),1e3)))})),m.value=g(n.modelValue),(0,a.Jd)((()=>{var e;y(),null==(e=d.value)||e.dispose(),d.value=void 0})),(t,n)=>(0,i.SU)(p)?((0,a.wg)(),(0,a.iD)("div",{key:0,ref_key:"element",ref:u,class:(0,o.C_)(["alert",(0,i.SU)(f)]),role:"alert"},[(0,a.WI)(t.$slots,"default"),(0,i.SU)(r)?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,i.SU)(h)?((0,a.wg)(),(0,a.iD)("button",{key:0,type:"button","data-bs-dismiss":"alert",onClick:x},[(0,a.WI)(t.$slots,"close")])):((0,a.wg)(),(0,a.j4)(Tl,{key:1,"aria-label":e.dismissLabel,"data-bs-dismiss":"alert",onClick:x},null,8,["aria-label"]))],64)):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)}}),Nl=Symbol(),Dl=(0,a.aZ)({__name:"BAvatarGroup",props:{overlap:{default:.3},rounded:{type:[Boolean,String],default:!1},size:null,square:{default:!1},tag:{default:"div"},variant:null},setup(e){const t=e,n=Us((0,i.Vh)(t,"square")),r=(0,a.Fl)((()=>Ul(t.size))),s=(0,a.Fl)((()=>Math.min(Math.max(c(t.overlap),0),1)/2)),l=(0,a.Fl)((()=>{const e=r.value?`calc(${r.value} * ${s.value})`:null;return e?{paddingLeft:e,paddingRight:e}:{}})),c=e=>"string"==typeof e&&xo(e)?Is(e,0):e||0;return(0,a.JJ)(Nl,{overlapScale:s,size:t.size,square:n.value,rounded:t.rounded,variant:t.variant}),(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"b-avatar-group",role:"group"},{default:(0,a.w5)((()=>[(0,a._)("div",{class:"b-avatar-group-inner",style:(0,o.j5)((0,i.SU)(l))},[(0,a.WI)(t.$slots,"default")],4)])),_:3}))}}),Ll={key:0,class:"b-avatar-custom"},Pl={key:1,class:"b-avatar-img"},Fl=["src","alt"],Ul=e=>{const t="string"==typeof e&&xo(e)?Is(e,0):e;return"number"==typeof t?`${t}px`:t||null},Ml=(0,a.aZ)({__name:"BAvatar",props:{alt:{default:"avatar"},ariaLabel:null,badge:{type:[Boolean,String],default:!1},badgeLeft:{default:!1},badgeOffset:null,badgeTop:{default:!1},badgeVariant:{default:"primary"},button:{default:!1},buttonType:{default:"button"},disabled:{default:!1},icon:null,rounded:{type:[Boolean,String],default:"circle"},size:null,square:{default:!1},src:null,text:null,textVariant:null,variant:{default:"secondary"}},emits:["click","img-error"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),s=(0,a.f3)(Nl,null),l=["sm",null,"lg"],c=.4,u=.7*c,d=Us((0,i.Vh)(n,"badgeLeft")),h=Us((0,i.Vh)(n,"badgeTop")),p=Us((0,i.Vh)(n,"button")),f=Us((0,i.Vh)(n,"disabled")),g=Us((0,i.Vh)(n,"square")),m=(0,a.Fl)((()=>!ss(r.default))),v=(0,a.Fl)((()=>!ss(r.badge))),y=(0,a.Fl)((()=>!!n.badge||""===n.badge||v.value)),b=(0,a.Fl)((()=>null!=s&&s.size?s.size:Ul(n.size))),x=(0,a.Fl)((()=>null!=s&&s.variant?s.variant:n.variant)),w=(0,a.Fl)((()=>null!=s&&s.rounded?s.rounded:n.rounded)),S=(0,a.Fl)((()=>({type:p.value?n.buttonType:void 0,"aria-label":n.ariaLabel||null,disabled:f.value||null}))),k=(0,a.Fl)((()=>[`bg-${n.badgeVariant}`])),_=(0,a.Fl)((()=>!0===n.badge?"":n.badge)),C=(0,a.Fl)((()=>[[`text-${L(n.badgeVariant)}`]])),E=(0,a.Fl)((()=>({[`b-avatar-${n.size}`]:!!n.size&&-1!==l.indexOf(Ul(n.size)),[`bg-${x.value}`]:!!x.value,badge:!p.value&&x.value&&m.value,rounded:""===w.value||!0===w.value,["rounded-circle"]:!g.value&&"circle"===w.value,["rounded-0"]:g.value||"0"===w.value,["rounded-1"]:!g.value&&"sm"===w.value,["rounded-3"]:!g.value&&"lg"===w.value,["rounded-top"]:!g.value&&"top"===w.value,["rounded-bottom"]:!g.value&&"bottom"===w.value,["rounded-start"]:!g.value&&"left"===w.value,["rounded-end"]:!g.value&&"right"===w.value,btn:p.value,[`btn-${x.value}`]:!!p.value&&!!x.value}))),A=(0,a.Fl)((()=>[[`text-${n.textVariant||L(x.value)}`]])),I=(0,a.Fl)((()=>{const e=n.badgeOffset||"0px";return{fontSize:(-1===l.indexOf(b.value||null)?`calc(${b.value} * ${u})`:"")||"",top:h.value?e:"",bottom:h.value?"":e,left:d.value?e:"",right:d.value?"":e}})),T=(0,a.Fl)((()=>{const e=-1===l.indexOf(b.value||null)?`calc(${b.value} * ${c})`:null;return e?{fontSize:e}:{}})),O=(0,a.Fl)((()=>{var e;const t=(null==(e=null==s?void 0:s.overlapScale)?void 0:e.value)||0,n=b.value&&t?`calc(${b.value} * -${t})`:null;return n?{marginLeft:n,marginRight:n}:{}})),N=(0,a.Fl)((()=>p.value?"button":"span")),D=(0,a.Fl)((()=>({...O.value,width:b.value,height:b.value}))),L=e=>"light"===e||"warning"===e?"dark":"light",P=e=>{!f.value&&p.value&&t("click",e)},F=e=>t("img-error",e);return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)((0,i.SU)(N)),(0,a.dG)({class:["b-avatar",(0,i.SU)(E)],style:(0,i.SU)(D)},(0,i.SU)(S),{onClick:P}),{default:(0,a.w5)((()=>[(0,i.SU)(m)?((0,a.wg)(),(0,a.iD)("span",Ll,[(0,a.WI)(t.$slots,"default")])):e.src?((0,a.wg)(),(0,a.iD)("span",Pl,[(0,a._)("img",{src:e.src,alt:e.alt,onError:F},null,40,Fl)])):e.text?((0,a.wg)(),(0,a.iD)("span",{key:2,class:(0,o.C_)(["b-avatar-text",(0,i.SU)(A)]),style:(0,o.j5)((0,i.SU)(T))},(0,o.zw)(e.text),7)):(0,a.kq)("",!0),(0,i.SU)(y)?((0,a.wg)(),(0,a.iD)("span",{key:3,class:(0,o.C_)(["b-avatar-badge",(0,i.SU)(k)]),style:(0,o.j5)((0,i.SU)(I))},[(0,i.SU)(v)?(0,a.WI)(t.$slots,"badge",{key:0}):((0,a.wg)(),(0,a.iD)("span",{key:1,class:(0,o.C_)((0,i.SU)(C))},(0,o.zw)((0,i.SU)(_)),3))],6)):(0,a.kq)("",!0)])),_:3},16,["class","style"]))}}),Rl={active:{type:[Boolean,String],default:!1},activeClass:{type:String,default:"router-link-active"},append:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},event:{type:[String,Array],default:"click"},exact:{type:[Boolean,String],default:!1},exactActiveClass:{type:String,default:"router-link-exact-active"},href:{type:String},rel:{type:String,default:null},replace:{type:[Boolean,String],default:!1},routerComponentName:{type:String,default:"router-link"},routerTag:{type:String,default:"a"},target:{type:String,default:"_self"},to:{type:[String,Object],default:null}},jl=(0,a.aZ)({props:Rl,emits:["click"],setup(e,{emit:t,attrs:n}){const r=Us((0,i.Vh)(e,"active")),o=Us((0,i.Vh)(e,"append")),s=Us((0,i.Vh)(e,"disabled")),l=Us((0,i.Vh)(e,"exact")),c=Us((0,i.Vh)(e,"replace")),u=(0,a.FN)(),d=(0,i.iH)(null),h=(0,a.Fl)((()=>{const t=e.routerComponentName.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("");return void 0===(null==u?void 0:u.appContext.app.component(t))||s.value||!e.to?"a":e.routerComponentName})),p=(0,a.Fl)((()=>{const t="#";if(e.href)return e.href;if("string"==typeof e.to)return e.to||t;const n=e.to;if("[object Object]"===Object.prototype.toString.call(n)&&(n.path||n.query||n.hash)){const e=n.path||"",r=n.query?`?${Object.keys(n.query).map((e=>`${e}=${n.query[e]}`)).join("=")}`:"",i=n.hash&&"#"!==n.hash.charAt(0)?`#${n.hash}`:n.hash||"";return`${e}${r}${i}`||t}return t})),f=(0,a.Fl)((()=>({to:e.to,href:p.value,target:e.target,rel:"_blank"===e.target&&null===e.rel?"noopener":e.rel||null,tabindex:s.value?"-1":typeof n.tabindex>"u"?null:n.tabindex,"aria-disabled":s.value?"true":null})));return{computedLinkClasses:(0,a.Fl)((()=>({active:r.value,disabled:s.value}))),tag:h,routerAttr:f,link:d,clicked:e=>{if(s.value)return e.preventDefault(),void e.stopImmediatePropagation();t("click",e)},activeBoolean:r,appendBoolean:o,disabledBoolean:s,replaceBoolean:c,exactBoolean:l}}}),Vl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function zl(e,t,n,r,i,o){return"router-link"===e.tag?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),(0,a.dG)({key:0},e.routerAttr,{custom:""}),{default:(0,a.w5)((({href:t,navigate:n,isActive:r,isExactActive:i})=>[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.routerTag),(0,a.dG)({ref:"link",href:t,class:[(r||e.activeBoolean)&&e.activeClass,(i||e.exactBoolean)&&e.exactActiveClass]},e.$attrs,{onClick:n}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:2},1040,["href","class","onClick"]))])),_:3},16)):((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),(0,a.dG)({key:1,ref:"link",class:e.computedLinkClasses},e.routerAttr,{onClick:e.clicked}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16,["class","onClick"]))}const Hl=Vl(jl,[["render",zl]]),Bl=Ts(Rl,["event","routerTag"]),Wl=(0,a.aZ)({components:{BLink:Hl},props:{pill:{type:[Boolean,String],default:!1},tag:{type:String,default:"span"},variant:{type:String,default:"secondary"},textIndicator:{type:[Boolean,String],default:!1},dotIndicator:{type:[Boolean,String],default:!1},...Bl},setup(e){const t=Us((0,i.Vh)(e,"pill")),n=Us((0,i.Vh)(e,"textIndicator")),r=Us((0,i.Vh)(e,"dotIndicator")),o=Us((0,i.Vh)(e,"active")),s=Us((0,i.Vh)(e,"disabled")),l=(0,a.Fl)((()=>Fs(e))),c=(0,a.Fl)((()=>l.value?Hl:e.tag)),u=(0,a.Fl)((()=>[[`bg-${e.variant}`],{active:o.value,disabled:s.value,"text-dark":["warning","info","light"].includes(e.variant),"rounded-pill":t.value,"position-absolute top-0 start-100 translate-middle":n.value||r.value,"p-2 border border-light rounded-circle":r.value,"text-decoration-none":l.value}])),d=(0,a.Fl)((()=>l.value?Ls(e,Bl):{}));return{computedClasses:u,computedLinkProps:d,computedTag:c}}});function $l(e,t,n,r,i,o){return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.computedTag),(0,a.dG)({class:["badge",e.computedClasses]},e.computedLinkProps),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16,["class"])}const ql=Vl(Wl,[["render",$l]]),Yl=Ts(Rl,["event","routerTag"]),Zl=(0,a.aZ)({components:{BLink:Hl},props:{...Yl,active:{type:[Boolean,String],default:!1},ariaCurrent:{type:String,default:"location"},disabled:{type:[Boolean,String],default:!1},text:{type:String,required:!1}},emits:["click"],setup(e,{emit:t}){const n=Us((0,i.Vh)(e,"active")),r=Us((0,i.Vh)(e,"disabled")),o=(0,a.Fl)((()=>({active:n.value}))),s=(0,a.Fl)((()=>n.value?"span":Hl)),l=(0,a.Fl)((()=>n.value?e.ariaCurrent:void 0));return{computedLinkProps:(0,a.Fl)((()=>"span"!==s.value?Ls(e,Yl):{})),computedClasses:o,computedTag:s,computedAriaCurrent:l,clicked:e=>{if(r.value||n.value)return e.preventDefault(),void e.stopImmediatePropagation();r.value||t("click",e)}}}});function Gl(e,t,n,r,i,s){return(0,a.wg)(),(0,a.iD)("li",{class:(0,o.C_)(["breadcrumb-item",e.computedClasses])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.computedTag),(0,a.dG)({"aria-current":e.computedAriaCurrent},e.computedLinkProps,{onClick:e.clicked}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},16,["aria-current","onClick"]))],2)}const Xl=Vl(Zl,[["render",Gl]]),Kl={"aria-label":"breadcrumb"},Jl={class:"breadcrumb"},Ql=(0,a.aZ)({__name:"BBreadcrumb",props:{items:null},setup(e){const t=e,n=Vs(),r=(0,a.Fl)((()=>{const e=t.items||(null==n?void 0:n.items)||[];let r=!1;return e.map(((t,n)=>("string"==typeof t&&(t={text:t},n((0,a.wg)(),(0,a.iD)("nav",Kl,[(0,a._)("ol",Jl,[(0,a.WI)(e.$slots,"prepend"),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(r),((e,t)=>((0,a.wg)(),(0,a.j4)(Xl,(0,a.dG)({key:t},e),{default:(0,a.w5)((()=>[(0,a.Uk)((0,o.zw)(e.text),1)])),_:2},1040)))),128)),(0,a.WI)(e.$slots,"default"),(0,a.WI)(e.$slots,"append")])]))}}),ec={key:0,class:"visually-hidden"},tc=(0,a.aZ)({__name:"BSpinner",props:{label:null,role:{default:"status"},small:{default:!1},tag:{default:"span"},type:{default:"border"},variant:null},setup(e){const t=e,n=(0,a.Rr)(),r=Us((0,i.Vh)(t,"small")),s=(0,a.Fl)((()=>({"spinner-border":"border"===t.type,"spinner-border-sm":"border"===t.type&&r.value,"spinner-grow":"grow"===t.type,"spinner-grow-sm":"grow"===t.type&&r.value,[`text-${t.variant}`]:void 0!==t.variant}))),l=(0,a.Fl)((()=>!ss(n.label)));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)((0,i.SU)(s)),role:e.label||(0,i.SU)(l)?e.role:null,"aria-hidden":!e.label&&!(0,i.SU)(l)||null},{default:(0,a.w5)((()=>[e.label||(0,i.SU)(l)?((0,a.wg)(),(0,a.iD)("span",ec,[(0,a.WI)(t.$slots,"label",{},(()=>[(0,a.Uk)((0,o.zw)(e.label),1)]))])):(0,a.kq)("",!0)])),_:3},8,["class","role","aria-hidden"]))}}),nc=(0,a.aZ)({components:{BLink:Hl,BSpinner:tc},props:{...Rl,active:{type:[Boolean,String],default:!1},disabled:{type:[Boolean,String],default:!1},href:{type:String,required:!1},pill:{type:[Boolean,String],default:!1},pressed:{type:[Boolean,String],default:!1},rel:{type:String,default:void 0},size:{type:String,default:"md"},squared:{type:[Boolean,String],default:!1},tag:{type:String,default:"button"},target:{type:String,default:"_self"},type:{type:String,default:"button"},variant:{type:String,default:"secondary"},loading:{type:[Boolean,String],default:!1},loadingMode:{type:String,default:"inline"}},emits:["click","update:pressed"],setup(e,{emit:t}){const n=Us((0,i.Vh)(e,"active")),r=Us((0,i.Vh)(e,"disabled")),o=Us((0,i.Vh)(e,"pill")),s=Us((0,i.Vh)(e,"pressed")),l=Us((0,i.Vh)(e,"squared")),c=Us((0,i.Vh)(e,"loading")),u=(0,a.Fl)((()=>!0===s.value)),d=(0,a.Fl)((()=>"button"===e.tag&&void 0===e.href&&null===e.to)),h=(0,a.Fl)((()=>Fs(e))),p=(0,a.Fl)((()=>null!==e.to)),f=(0,a.Fl)((()=>void 0===e.href&&!d.value)),g=(0,a.Fl)((()=>[[`btn-${e.variant}`],[`btn-${e.size}`],{active:n.value||s.value,"rounded-pill":o.value,"rounded-0":l.value,disabled:r.value}])),m=(0,a.Fl)((()=>({"aria-disabled":f.value?r.value:null,"aria-pressed":u.value?s.value:null,autocomplete:u.value?"off":null,disabled:d.value?r.value:null,href:e.href,rel:h.value?e.rel:null,role:f.value||h.value?"button":null,target:h.value?e.target:null,type:d.value?e.type:null,to:d.value?null:e.to,append:h.value?e.append:null,activeClass:p.value?e.activeClass:null,event:p.value?e.event:null,exact:p.value?e.exact:null,exactActiveClass:p.value?e.exactActiveClass:null,replace:p.value?e.replace:null,routerComponentName:p.value?e.routerComponentName:null,routerTag:p.value?e.routerTag:null}))),v=(0,a.Fl)((()=>p.value?Hl:e.href?"a":e.tag));return{computedClasses:g,computedAttrs:m,computedTag:v,clicked:e=>{if(r.value)return e.preventDefault(),void e.stopPropagation();t("click",e),u.value&&t("update:pressed",!s.value)},loadingBoolean:c}}});function rc(e,t,n,r,i,s){const l=(0,a.up)("b-spinner");return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.computedTag),(0,a.dG)({class:["btn",e.computedClasses]},e.computedAttrs,{onClick:e.clicked}),{default:(0,a.w5)((()=>[e.loadingBoolean?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["btn-loading",{"mode-fill":"fill"===e.loadingMode,"mode-inline":"inline"===e.loadingMode}])},[(0,a.WI)(e.$slots,"loading",{},(()=>[(0,a.Wm)(l,{class:"btn-spinner",small:"lg"!==e.size},null,8,["small"])]))],2)):(0,a.kq)("",!0),(0,a._)("div",{class:(0,o.C_)(["btn-content",{"btn-loading-fill":e.loadingBoolean&&"fill"===e.loadingMode}])},[(0,a.WI)(e.$slots,"default")],2)])),_:3},16,["class","onClick"])}const ic=Vl(nc,[["render",rc]]),ac=(0,a.aZ)({__name:"BButtonGroup",props:{ariaLabel:{default:"Group"},size:null,tag:{default:"div"},vertical:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"vertical")),r=(0,a.Fl)((()=>({"btn-group":!n.value,[`btn-group-${t.size}`]:void 0!==t.size,"btn-group-vertical":n.value})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)((0,i.SU)(r)),role:"group","aria-label":e.ariaLabel},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},8,["class","aria-label"]))}}),oc=["role","aria-label"],sc=(0,a.aZ)({__name:"BButtonToolbar",props:{ariaLabel:{default:"Group"},justify:{default:!1},role:{default:"toolbar"}},setup(e){const t=Us((0,i.Vh)(e,"justify")),n=(0,a.Fl)((()=>({"justify-content-between":t.value})));return(t,r)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)([(0,i.SU)(n),"btn-toolbar"]),role:e.role,"aria-label":e.ariaLabel},[(0,a.WI)(t.$slots,"default")],10,oc))}}),lc=(0,a.aZ)({__name:"BImg",props:{alt:null,blank:{default:!1},blankColor:{default:"transparent"},block:{default:!1},center:{default:!1},fluid:{default:!1},lazy:{default:!1},fluidGrow:{default:!1},height:null,left:{default:!1},start:{default:!1},right:{default:!1},end:{default:!1},rounded:{type:[Boolean,String],default:!1},sizes:null,src:null,srcset:null,thumbnail:{default:!1},width:null},emits:["load"],setup(e,{emit:t}){const n=e,r='',o=Us((0,i.Vh)(n,"lazy")),s=Us((0,i.Vh)(n,"blank")),l=Us((0,i.Vh)(n,"block")),c=Us((0,i.Vh)(n,"center")),u=Us((0,i.Vh)(n,"fluid")),d=Us((0,i.Vh)(n,"fluidGrow")),h=Us((0,i.Vh)(n,"left")),p=Us((0,i.Vh)(n,"start")),f=Us((0,i.Vh)(n,"right")),g=Us((0,i.Vh)(n,"end")),m=Us((0,i.Vh)(n,"thumbnail")),v=(0,a.Fl)((()=>"string"==typeof n.srcset?n.srcset.split(",").filter((e=>e)).join(","):Array.isArray(n.srcset)?n.srcset.filter((e=>e)).join(","):void 0)),y=(0,a.Fl)((()=>"string"==typeof n.sizes?n.sizes.split(",").filter((e=>e)).join(","):Array.isArray(n.sizes)?n.sizes.filter((e=>e)).join(","):void 0)),b=(0,a.Fl)((()=>{const e=e=>void 0===e?void 0:"number"==typeof e?e:Number.parseInt(e,10)||void 0,t=e(n.width),r=e(n.height);if(s.value){if(void 0!==t&&void 0===r)return{height:t,width:t};if(void 0===t&&void 0!==r)return{height:r,width:r};if(void 0===t&&void 0===r)return{height:1,width:1}}return{width:t,height:r}})),x=(0,a.Fl)((()=>_(b.value.width,b.value.height,n.blankColor))),w=(0,a.Fl)((()=>({src:s.value?x.value:n.src,alt:n.alt,width:b.value.width||void 0,height:b.value.height||void 0,srcset:s.value?void 0:v.value,sizes:s.value?void 0:y.value,loading:o.value?"lazy":"eager"}))),S=(0,a.Fl)((()=>h.value||p.value?"float-start":f.value||g.value?"float-end":c.value?"mx-auto":void 0)),k=(0,a.Fl)((()=>({"img-thumbnail":m.value,"img-fluid":u.value||d.value,"w-100":d.value,rounded:""===n.rounded||!0===n.rounded,[`rounded-${n.rounded}`]:"string"==typeof n.rounded&&""!==n.rounded,[`${S.value}`]:void 0!==S.value,"d-block":l.value||c.value}))),_=(e,t,n)=>`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(r.replace("%{w}",String(e)).replace("%{h}",String(t)).replace("%{f}",n))}`;return(e,n)=>((0,a.wg)(),(0,a.iD)("img",(0,a.dG)({class:(0,i.SU)(k)},(0,i.SU)(w),{onLoad:n[0]||(n[0]=e=>t("load",e))}),null,16))}}),cc=(0,a.aZ)({__name:"BCardImg",props:{alt:null,blank:{default:!1},blankColor:null,bottom:{default:!1},lazy:{default:!1},height:null,left:{default:!1},start:{default:!1},right:{default:!1},end:{default:!1},sizes:null,src:null,srcset:null,top:{default:!1},width:null},emits:["load"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"bottom")),o=Us((0,i.Vh)(n,"end")),s=Us((0,i.Vh)(n,"left")),l=Us((0,i.Vh)(n,"right")),c=Us((0,i.Vh)(n,"start")),u=Us((0,i.Vh)(n,"top")),d=(0,a.Fl)((()=>u.value?"card-img-top":l.value||o.value?"card-img-right":r.value?"card-img-bottom":s.value||c.value?"card-img-left":"card-img")),h=(0,a.Fl)((()=>({alt:n.alt,height:n.height,src:n.src,lazy:n.lazy,width:n.width,blank:n.blank,blankColor:n.blankColor,sizes:n.sizes,srcset:n.srcset})));return(e,n)=>((0,a.wg)(),(0,a.j4)(lc,(0,a.dG)({class:(0,i.SU)(d)},(0,i.SU)(h),{onLoad:n[0]||(n[0]=e=>t("load",e))}),null,16,["class"]))}}),uc=["innerHTML"],dc=(0,a.aZ)({__name:"BCardHeadFoot",props:{text:null,bgVariant:null,borderVariant:null,html:null,tag:{default:"div"},textVariant:null},setup(e){const t=e,n=(0,a.Fl)((()=>({[`text-${t.textVariant}`]:void 0!==t.textVariant,[`bg-${t.bgVariant}`]:void 0!==t.bgVariant,[`border-${t.borderVariant}`]:void 0!==t.borderVariant})));return(t,r)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)((0,i.SU)(n))},{default:(0,a.w5)((()=>[e.html?((0,a.wg)(),(0,a.iD)("div",{key:0,innerHTML:e.html},null,8,uc)):(0,a.WI)(t.$slots,"default",{key:1},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},8,["class"]))}}),hc=(0,a.aZ)({__name:"BCardHeader",props:{text:null,bgVariant:null,borderVariant:null,html:null,tag:{default:"div"},textVariant:null},setup(e){const t=e;return(e,n)=>((0,a.wg)(),(0,a.j4)(dc,(0,a.dG)({class:"card-header"},t),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16))}}),pc=(0,a.aZ)({__name:"BCardTitle",props:{text:null,tag:{default:"h4"}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"card-title"},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3}))}}),fc=(0,a.aZ)({__name:"BCardSubtitle",props:{text:null,tag:{default:"h6"},textVariant:{default:"muted"}},setup(e){const t=e,n=(0,a.Fl)((()=>[`text-${t.textVariant}`]));return(t,r)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["card-subtitle mb-2",(0,i.SU)(n)])},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},8,["class"]))}}),gc=(0,a.aZ)({__name:"BCardBody",props:{bodyBgVariant:null,bodyTag:{default:"div"},bodyTextVariant:null,overlay:{default:!1},subtitle:null,subtitleTag:{default:"h4"},subtitleTextVariant:null,title:null,titleTag:{default:"h4"},text:null},setup(e){const t=e,n=(0,a.Rr)(),r=Us((0,i.Vh)(t,"overlay")),s=(0,a.Fl)((()=>!ss(n.title))),l=(0,a.Fl)((()=>!ss(n.subtitle))),c=(0,a.Fl)((()=>({"card-img-overlay":r.value,[`text-${t.bodyTextVariant}`]:void 0!==t.bodyTextVariant,[`bg-${t.bodyBgVariant}`]:void 0!==t.bodyBgVariant})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.bodyTag),{class:(0,o.C_)(["card-body",(0,i.SU)(c)])},{default:(0,a.w5)((()=>[e.title||(0,i.SU)(s)?((0,a.wg)(),(0,a.j4)(pc,{key:0,tag:e.titleTag},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"title",{},(()=>[(0,a.Uk)((0,o.zw)(e.title),1)]))])),_:3},8,["tag"])):(0,a.kq)("",!0),e.subtitle||(0,i.SU)(l)?((0,a.wg)(),(0,a.j4)(fc,{key:1,tag:e.subtitleTag,"text-variant":e.subtitleTextVariant},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"subtitle",{},(()=>[(0,a.Uk)((0,o.zw)(e.subtitle),1)]))])),_:3},8,["tag","text-variant"])):(0,a.kq)("",!0),(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},8,["class"]))}}),mc=(0,a.aZ)({__name:"BCardFooter",props:{text:null,bgVariant:null,borderVariant:null,html:null,tag:{default:"div"},textVariant:null},setup(e){const t=e;return(n,r)=>((0,a.wg)(),(0,a.j4)(dc,(0,a.dG)({class:"card-footer"},t),{default:(0,a.w5)((()=>[(0,a.WI)(n.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},16))}}),vc=(0,a.aZ)({__name:"BCard",props:{align:null,bgVariant:null,bodyBgVariant:null,bodyClass:null,bodyTag:{default:"div"},bodyTextVariant:null,borderVariant:null,footer:null,footerBgVariant:null,footerBorderVariant:null,footerClass:null,footerHtml:{default:""},footerTag:{default:"div"},footerTextVariant:null,header:null,headerBgVariant:null,headerBorderVariant:null,headerClass:null,headerHtml:{default:""},headerTag:{default:"div"},headerTextVariant:null,imgAlt:null,imgBottom:{default:!1},imgEnd:{default:!1},imgHeight:null,imgLeft:{default:!1},imgRight:{default:!1},imgSrc:null,imgStart:{default:!1},imgTop:{default:!1},imgWidth:null,noBody:{default:!1},overlay:{default:!1},subtitle:null,subtitleTag:{default:"h6"},subtitleTextVariant:{default:"muted"},tag:{default:"div"},textVariant:null,title:null,titleTag:{default:"h4"},bodyText:{default:""}},setup(e){const t=e,n=(0,a.Rr)(),r=Us((0,i.Vh)(t,"imgBottom")),s=Us((0,i.Vh)(t,"imgEnd")),l=Us((0,i.Vh)(t,"imgLeft")),c=Us((0,i.Vh)(t,"imgRight")),u=Us((0,i.Vh)(t,"imgStart")),d=Us((0,i.Vh)(t,"noBody")),h=(0,a.Fl)((()=>!ss(n.header))),p=(0,a.Fl)((()=>!ss(n.footer))),f=(0,a.Fl)((()=>({[`text-${t.align}`]:void 0!==t.align,[`text-${t.textVariant}`]:void 0!==t.textVariant,[`bg-${t.bgVariant}`]:void 0!==t.bgVariant,[`border-${t.borderVariant}`]:void 0!==t.borderVariant,"flex-row":l.value||u.value,"flex-row-reverse":s.value||c.value}))),g=(0,a.Fl)((()=>({bgVariant:t.headerBgVariant,borderVariant:t.headerBorderVariant,html:t.headerHtml,tag:t.headerTag,textVariant:t.headerTextVariant}))),m=(0,a.Fl)((()=>({overlay:t.overlay,bodyBgVariant:t.bodyBgVariant,bodyTag:t.bodyTag,bodyTextVariant:t.bodyTextVariant,subtitle:t.subtitle,subtitleTag:t.subtitleTag,subtitleTextVariant:t.subtitleTextVariant,title:t.title,titleTag:t.titleTag}))),v=(0,a.Fl)((()=>({bgVariant:t.footerBgVariant,borderVariant:t.footerBorderVariant,html:t.footerHtml,tag:t.footerTag,textVariant:t.footerTextVariant}))),y=(0,a.Fl)((()=>({src:t.imgSrc,alt:t.imgAlt,height:t.imgHeight,width:t.imgWidth,bottom:t.imgBottom,end:t.imgEnd,left:t.imgLeft,right:t.imgRight,start:t.imgStart,top:t.imgTop})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["card",(0,i.SU)(f)])},{default:(0,a.w5)((()=>[(0,i.SU)(r)?(0,a.kq)("",!0):(0,a.WI)(t.$slots,"img",{key:0},(()=>[e.imgSrc?((0,a.wg)(),(0,a.j4)(cc,(0,o.vs)((0,a.dG)({key:0},(0,i.SU)(y))),null,16)):(0,a.kq)("",!0)])),e.header||(0,i.SU)(h)||e.headerHtml?((0,a.wg)(),(0,a.j4)(hc,(0,a.dG)({key:1},(0,i.SU)(g),{class:e.headerClass}),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"header",{},(()=>[(0,a.Uk)((0,o.zw)(e.header),1)]))])),_:3},16,["class"])):(0,a.kq)("",!0),(0,i.SU)(d)?(0,a.WI)(t.$slots,"default",{key:3},(()=>[(0,a.Uk)((0,o.zw)(e.bodyText),1)])):((0,a.wg)(),(0,a.j4)(gc,(0,a.dG)({key:2},(0,i.SU)(m),{class:e.bodyClass}),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.bodyText),1)]))])),_:3},16,["class"])),e.footer||(0,i.SU)(p)||e.footerHtml?((0,a.wg)(),(0,a.j4)(mc,(0,a.dG)({key:4},(0,i.SU)(v),{class:e.footerClass}),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"footer",{},(()=>[(0,a.Uk)((0,o.zw)(e.footer),1)]))])),_:3},16,["class"])):(0,a.kq)("",!0),(0,i.SU)(r)?(0,a.WI)(t.$slots,"img",{key:5},(()=>[e.imgSrc?((0,a.wg)(),(0,a.j4)(cc,(0,o.vs)((0,a.dG)({key:0},(0,i.SU)(y))),null,16)):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])),_:3},8,["class"]))}}),yc=(0,a.aZ)({__name:"BCardGroup",props:{columns:{default:!1},deck:{default:!1},tag:{default:"div"}},setup(e){const t=e,n=Us((0,i.Vh)(t,"columns")),r=Us((0,i.Vh)(t,"deck")),s=(0,a.Fl)((()=>r.value?"card-deck":n.value?"card-columns":"card-group")),l=(0,a.Fl)((()=>[s.value]));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)((0,i.SU)(l))},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},8,["class"]))}}),bc=(0,a.aZ)({__name:"BCardText",props:{text:null,tag:{default:"p"}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"card-text"},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3}))}}),xc=["id"],wc={key:0,class:"carousel-indicators"},Sc=["data-bs-target","data-bs-slide-to","aria-label"],kc={class:"carousel-inner"},_c=["data-bs-target"],Cc=(0,a._)("span",{class:"carousel-control-prev-icon","aria-hidden":"true"},null,-1),Ec={class:"visually-hidden"},Ac=["data-bs-target"],Ic=(0,a._)("span",{class:"carousel-control-next-icon","aria-hidden":"true"},null,-1),Tc={class:"visually-hidden"},Oc=Symbol(),Nc=(0,a.aZ)({__name:"BCarousel",props:{startingSlide:{default:0},id:null,imgHeight:null,imgWidth:null,background:null,modelValue:{default:0},controls:{default:!1},indicators:{default:!1},interval:{default:5e3},noTouch:{default:!1},noWrap:{default:!1},controlsPrevText:{default:"Previous"},controlsNextText:{default:"Next"},indicatorsButtonLabel:{default:"Slide"}},emits:["sliding-start","sliding-end"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),s=Xs((0,i.Vh)(n,"id"),"carousel"),l=Us((0,i.Vh)(n,"controls")),c=Us((0,i.Vh)(n,"indicators")),u=Us((0,i.Vh)(n,"noTouch"));Us((0,i.Vh)(n,"noWrap"));const d=(0,i.iH)(),h=(0,i.iH)(),p=(0,i.iH)([]);return zs(d,"slide.bs.carousel",(e=>t("sliding-start",e))),zs(d,"slid.bs.carousel",(e=>t("sliding-end",e))),(0,a.bv)((()=>{h.value=new Ft(d.value,{wrap:!u.value,interval:n.interval,touch:!u.value}),r.default&&(p.value=r.default().filter((e=>{var t;return"BCarouselSlide"===(null==(t=e.type)?void 0:t.__name)})))})),(0,a.JJ)(Oc,{background:n.background,width:n.imgWidth,height:n.imgHeight}),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{id:(0,i.SU)(s),ref_key:"element",ref:d,class:"carousel slide","data-bs-ride":"carousel"},[(0,i.SU)(c)?((0,a.wg)(),(0,a.iD)("div",wc,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(p.value,((t,n)=>((0,a.wg)(),(0,a.iD)("button",{key:n,type:"button","data-bs-target":`#${(0,i.SU)(s)}`,"data-bs-slide-to":n,class:(0,o.C_)(n===e.startingSlide?"active":""),"aria-current":"true","aria-label":`${e.indicatorsButtonLabel} ${n}`},null,10,Sc)))),128))])):(0,a.kq)("",!0),(0,a._)("div",kc,[(0,a.WI)(t.$slots,"default")]),(0,i.SU)(l)?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a._)("button",{class:"carousel-control-prev",type:"button","data-bs-target":`#${(0,i.SU)(s)}`,"data-bs-slide":"prev"},[Cc,(0,a._)("span",Ec,(0,o.zw)(e.controlsPrevText),1)],8,_c),(0,a._)("button",{class:"carousel-control-next",type:"button","data-bs-target":`#${(0,i.SU)(s)}`,"data-bs-slide":"next"},[Ic,(0,a._)("span",Tc,(0,o.zw)(e.controlsNextText),1)],8,Ac)],64)):(0,a.kq)("",!0)],8,xc))}}),Dc=["data-bs-interval"],Lc=["innerHTML"],Pc={key:1},Fc=["innerHTML"],Uc={key:1},Mc=(0,a.aZ)({__name:"BCarouselSlide",props:{imgSrc:null,imgHeight:null,imgWidth:null,interval:null,active:{default:!1},background:null,caption:null,captionHtml:null,captionTag:{default:"h3"},contentTag:{default:"div"},contentVisibleUp:null,id:null,imgAlt:null,imgBlank:{default:!1},imgBlankColor:{default:"transparent"},text:null,textHtml:null,textTag:{default:"p"}},setup(e){const t=e,n=(0,a.Rr)(),r=(0,a.f3)(Oc,{}),s=Us((0,i.Vh)(t,"active")),l=(0,a.Fl)((()=>!ss(n.default))),c=(0,a.Fl)((()=>({background:`${t.background||r.background||"rgb(171, 171, 171)"} none repeat scroll 0% 0%`}))),u=(0,a.Fl)((()=>({"d-none":void 0!==t.contentVisibleUp,[`d-${t.contentVisibleUp}-block`]:void 0!==t.contentVisibleUp}))),d=(0,a.Fl)((()=>r.width)),h=(0,a.Fl)((()=>r.height));return(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)(["carousel-item",{active:(0,i.SU)(s)}]),"data-bs-interval":e.interval,style:(0,o.j5)((0,i.SU)(c))},[(0,a.WI)(t.$slots,"img",{},(()=>[(0,a.Wm)(lc,{class:"d-block w-100",alt:e.imgAlt,src:e.imgSrc,width:e.imgWidth||(0,i.SU)(d),height:e.imgHeight||(0,i.SU)(h),blank:e.imgBlank,"blank-color":e.imgBlankColor},null,8,["alt","src","width","height","blank","blank-color"])])),e.caption||e.captionHtml||e.text||e.textHtml||(0,i.SU)(l)?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.contentTag),{key:0,class:(0,o.C_)(["carousel-caption",(0,i.SU)(u)])},{default:(0,a.w5)((()=>[e.caption||e.captionHtml?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.captionTag),{key:0},{default:(0,a.w5)((()=>[e.captionHtml?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.captionHtml},null,8,Lc)):((0,a.wg)(),(0,a.iD)("span",Pc,(0,o.zw)(e.caption),1))])),_:1})):(0,a.kq)("",!0),e.text||e.textHtml?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.textTag),{key:1},{default:(0,a.w5)((()=>[e.textHtml?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.textHtml},null,8,Fc)):((0,a.wg)(),(0,a.iD)("span",Uc,(0,o.zw)(e.text),1))])),_:1})):(0,a.kq)("",!0),(0,a.WI)(t.$slots,"default")])),_:3},8,["class"])):(0,a.kq)("",!0)],14,Dc))}}),Rc=bs("",[],{type:[Boolean,String,Number],default:!1}),jc=bs("offset",[""],{type:[String,Number],default:null}),Vc=bs("order",[""],{type:[String,Number],default:null}),zc=(0,a.aZ)({name:"BCol",props:{col:{type:[Boolean,String],default:!1},cols:{type:[String,Number],default:null},...Rc,offset:{type:[String,Number],default:null},...jc,order:{type:[String,Number],default:null},...Vc,alignSelf:{type:String,default:null},tag:{type:String,default:"div"}},setup(e){const t=[{content:Rc,propPrefix:"cols",classPrefix:"col"},{content:jc,propPrefix:"offset"},{content:Vc,propPrefix:"order"}],n=Us((0,i.Vh)(e,"col")),r=(0,a.Fl)((()=>t.flatMap((t=>xs(e,t.content,t.propPrefix,t.classPrefix)))));return{computedClasses:(0,a.Fl)((()=>[r.value,{col:n.value||!r.value.some((e=>/^col-/.test(e)))&&!e.cols,[`col-${e.cols}`]:!!e.cols,[`offset-${e.offset}`]:!!e.offset,[`order-${e.order}`]:!!e.order,[`align-self-${e.alignSelf}`]:!!e.alignSelf}]))}}});function Hc(e,t,n,r,i,s){return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(e.computedClasses)},{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},8,["class"])}const Bc=Vl(zc,[["render",Hc]]),Wc={autoHide:!0,delay:5e3,noCloseButton:!1,pos:"top-right",value:!0};class $c{constructor(e){fo(this,"vm"),fo(this,"containerPositions"),(0,i.PG)(e)?this.vm=e:this.vm=(0,i.qj)(e),this.containerPositions=(0,a.Fl)((()=>{const e=new Set([]);return this.vm.toasts.map((t=>{t.options.pos&&e.add(t.options.pos)})),e}))}toasts(e){return e?(0,a.Fl)((()=>this.vm.toasts.filter((t=>{if(t.options.pos===e&&t.options.value)return t})))):(0,a.Fl)((()=>this.vm.toasts))}remove(...e){this.vm.toasts=this.vm.toasts.filter((t=>{if(t.options.id&&!e.includes(t.options.id))return t}))}isRoot(){var e;return null!=(e=this.vm.root)&&e}show(e,t=Wc){const n={id:ws(),...Wc,...t},r={options:(0,i.qj)(n),content:e};return this.vm.toasts.push(r),r}info(e,t=Wc){return this.show(e,{variant:"info",...t})}danger(e,t=Wc){return this.show(e,{variant:"danger",...t})}warning(e,t=Wc){return this.show(e,{variant:"warning",...t})}success(e,t=Wc){return this.show(e,{variant:"success",...t})}hide(){}}class qc{constructor(){fo(this,"vms"),fo(this,"rootInstance"),fo(this,"useToast",Kc),this.vms={}}getOrCreateViewModel(e){if(!e){if(this.rootInstance)return this.vms[this.rootInstance];const e={root:!0,toasts:[],container:void 0,id:Symbol("toast")};return this.rootInstance=e.id,this.vms[e.id]=e,e}if(e.root){if(this.rootInstance)return this.vms[this.rootInstance];this.rootInstance=e.id}return this.vms[e.id]=e,e}getVM(e){return!e&&this.rootInstance?this.vms[this.rootInstance]:e?this.vms[e]:void 0}}const Yc=Symbol(),Zc=Symbol(),Gc={container:void 0,toasts:[],root:!1};function Xc(){return(0,a.f3)(Zc)}function Kc(e,t=Yc){const n=(0,a.f3)(Xc());if(!e)return new $c(n.getOrCreateViewModel());const r={id:Symbol("toastInstance")},i={...Gc,...r,...e},o=n.getOrCreateViewModel(i);return new $c(o)}const Jc={install:(e,t={})=>{var n,r,i,a;e.provide(Zc,null!=(r=null==(n=null==t?void 0:t.BToast)?void 0:n.injectkey)?r:Yc),e.provide(null!=(a=null==(i=null==t?void 0:t.BToast)?void 0:i.injectkey)?a:Yc,new qc)}},Qc=(0,a.aZ)({__name:"BTransition",props:{appear:{default:!1},mode:null,noFade:{default:!1},transProps:null},setup(e){const t=e,n=Us((0,i.Vh)(t,"appear")),r=Us((0,i.Vh)(t,"noFade")),l=(0,a.Fl)((()=>{const e={name:"",enterActiveClass:"",enterToClass:"",leaveActiveClass:"",leaveToClass:"showing",enterFromClass:"showing",leaveFromClass:""},t={...e,enterActiveClass:"fade showing",leaveActiveClass:"fade showing"};return r.value?e:t})),c=(0,a.Fl)((()=>({mode:t.mode,css:!0,...l.value}))),u=(0,a.Fl)((()=>void 0!==t.transProps?{...c.value,...t.transProps}:n.value?{...c.value,appear:!0,appearActiveClass:l.value.enterActiveClass,appearToClass:l.value.enterToClass}:c.value));return(e,t)=>((0,a.wg)(),(0,a.j4)(s.uT,(0,o.vs)((0,a.F4)((0,i.SU)(u))),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16))}}),eu="toast-title",tu=1e3,nu=(0,a.aZ)({components:{BLink:Hl},props:{...Rl,delay:{type:Number,default:5e3},bodyClass:{type:String},body:{type:[Object,String]},headerClass:{type:String},headerTag:{type:String,default:"div"},animation:{type:[Boolean,String],default:!0},id:{type:String},isStatus:{type:[Boolean,String],default:!1},autoHide:{type:[Boolean,String],default:!0},noCloseButton:{type:[Boolean,String],default:!1},noFade:{type:[Boolean,String],default:!1},noHoverPause:{type:[Boolean,String],default:!1},solid:{type:[Boolean,String],default:!1},static:{type:[Boolean,String],default:!1},title:{type:String},modelValue:{type:[Boolean,String],default:!1},toastClass:{type:Array},variant:{type:String}},emits:["destroyed","update:modelValue"],setup(e,{emit:t,slots:n}){Us((0,i.Vh)(e,"animation"));const r=Us((0,i.Vh)(e,"isStatus")),o=Us((0,i.Vh)(e,"autoHide")),s=Us((0,i.Vh)(e,"noCloseButton")),l=Us((0,i.Vh)(e,"noFade")),c=Us((0,i.Vh)(e,"noHoverPause"));Us((0,i.Vh)(e,"solid")),Us((0,i.Vh)(e,"static"));const u=Us((0,i.Vh)(e,"modelValue")),d=(0,i.iH)(!1),h=(0,i.iH)(!1),p=(0,i.iH)(!1),f=(0,a.Fl)((()=>({[`b-toast-${e.variant}`]:void 0!==e.variant,show:p.value||d.value})));let g,m,v;const y=()=>{typeof g>"u"||(clearTimeout(g),g=void 0)},b=(0,a.Fl)((()=>Math.max(Es(e.delay,0),tu))),x=()=>{u.value&&(m=v=0,y(),h.value=!0,gs((()=>{p.value=!1})))},w=()=>{y(),t("update:modelValue",!0),m=v=0,h.value=!1,(0,a.Y3)((()=>{gs((()=>{p.value=!0}))}))},S=()=>{if(!o.value||c.value||!g||v)return;const e=Date.now()-m;e>0&&(y(),v=Math.max(b.value-e,tu))},k=()=>{(!o.value||c.value||!v)&&(v=m=0),_()};(0,a.YP)((()=>u.value),(e=>{e?w():x()}));const _=()=>{y(),o.value&&(g=setTimeout(x,v||b.value),m=Date.now(),v=0)},C=()=>{d.value=!0,t("update:modelValue",!0)},E=()=>{d.value=!1,_()},A=()=>{d.value=!0},I=()=>{d.value=!1,v=m=0,t("update:modelValue",!1)};(0,a.Ah)((()=>{y(),o.value&&t("destroyed",e.id)})),(0,a.bv)((()=>{(0,a.Y3)((()=>{u.value&&gs((()=>{w()}))}))}));const T=()=>{(0,a.Y3)((()=>{gs((()=>{x()}))}))};return()=>{const t=()=>{const t=[],r=Cs(eu,{hide:x},n);r?t.push((0,a.h)(r)):e.title&&t.push((0,a.h)("strong",{class:"me-auto"},e.title)),!s.value&&0!==t.length&&t.push((0,a.h)(Tl,{class:["btn-close"],onClick:()=>{x()}}));const i=[];if(t.length>0&&i.push((0,a.h)(e.headerTag,{class:"toast-header"},{default:()=>t})),Cs("default",{hide:x},n)||e.body){const t=(0,a.h)(Fs(e)?"b-link":"div",{class:["toast-body",e.bodyClass],onClick:Fs(e)?{click:T}:{}},Cs("default",{hide:x},n)||e.body);i.push(t)}return(0,a.h)("div",{class:["toast",e.toastClass,f.value],tabindex:"0"},i)};return(0,a.h)("div",{class:["b-toast"],id:e.id,role:h.value?null:r.value?"status":"alert","aria-live":h.value?null:r.value?"polite":"assertive","aria-atomic":h.value?null:"true",onmouseenter:S,onmouseleave:k},[(0,a.h)(Qc,{noFade:l.value,onAfterEnter:E,onBeforeEnter:C,onAfterLeave:I,onBeforeLeave:A},(()=>[p.value?t():""]))])}}}),ru=(0,a.aZ)({__name:"BToaster",props:{position:{default:"top-right"},instance:null},setup(e){const t=e,n={"top-left":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-right":"top-0 end-0","middle-left":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-right":"top-50 end-0 translate-middle-y","bottom-left":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-right":"bottom-0 end-0"},r=(0,a.Fl)((()=>n[t.position])),s=e=>{var n;null==(n=t.instance)||n.remove(e)};return(t,n)=>{var l;return(0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)([[(0,i.SU)(r)],"b-toaster position-fixed p-3"]),style:{"z-index":"11"}},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(null==(l=e.instance)?void 0:l.toasts(e.position).value,(e=>((0,a.wg)(),(0,a.j4)(nu,{id:e.options.id,key:e.options.id,modelValue:e.options.value,"onUpdate:modelValue":t=>e.options.value=t,"auto-hide":e.options.autoHide,delay:e.options.delay,"no-close-button":e.options.noCloseButton,title:e.content.title,body:e.content.body,component:e.content.body,variant:e.options.variant,onDestroyed:s},null,8,["id","modelValue","onUpdate:modelValue","auto-hide","delay","no-close-button","title","body","component","variant"])))),128))],2)}}}),iu=(0,a.aZ)({props:{gutterX:{type:String,default:null},gutterY:{type:String,default:null},fluid:{type:[Boolean,String],default:!1},toast:{type:Object},position:{type:String,required:!1}},setup(e,{slots:t,expose:n}){const r=(0,i.iH)();let o;const s=(0,a.Fl)((()=>({container:!e.fluid,["container-fluid"]:"boolean"==typeof e.fluid&&e.fluid,[`container-${e.fluid}`]:"string"==typeof e.fluid,[`gx-${e.gutterX}`]:null!==e.gutterX,[`gy-${e.gutterY}`]:null!==e.gutterY})));return(0,a.bv)((()=>{e.toast})),e.toast&&(o=Kc({container:r,root:e.toast.root}),n({})),()=>{var n;const i=[];return null==o||o.containerPositions.value.forEach((e=>{i.push((0,a.h)(ru,{key:e,instance:o,position:e}))})),(0,a.h)("div",{class:[s.value,e.position],ref:r},[...i,null==(n=t.default)?void 0:n.call(t)])}},methods:{}}),au={class:"visually-hidden"},ou=["aria-labelledby","role"],su=(0,a.aZ)({__name:"BDropdown",props:{id:null,menuClass:null,size:null,splitClass:null,splitVariant:null,text:null,toggleClass:null,autoClose:{type:[Boolean,String],default:!0},block:{default:!1},boundary:{default:"clippingParents"},dark:{default:!1},disabled:{default:!1},isNav:{default:!1},dropup:{default:!1},dropright:{default:!1},dropleft:{default:!1},noFlip:{default:!1},offset:{default:0},popperOpts:{default:()=>({})},right:{default:!1},role:{default:"menu"},split:{default:!1},splitButtonType:{default:"button"},splitHref:{default:void 0},noCaret:{default:!1},toggleText:{default:"Toggle dropdown"},variant:{default:"secondary"}},emits:["show","shown","hide","hidden","click","toggle"],setup(e,{expose:t,emit:n}){const r=e,s=Xs((0,i.Vh)(r,"id"),"dropdown"),l=Us((0,i.Vh)(r,"block")),c=Us((0,i.Vh)(r,"dark")),u=Us((0,i.Vh)(r,"dropup")),d=Us((0,i.Vh)(r,"dropright")),h=Us((0,i.Vh)(r,"isNav")),p=Us((0,i.Vh)(r,"dropleft")),f=Us((0,i.Vh)(r,"right")),g=Us((0,i.Vh)(r,"split")),m=Us((0,i.Vh)(r,"noCaret")),v=(0,i.iH)(),y=(0,i.iH)(),b=(0,i.iH)(),x=(0,a.Fl)((()=>({"d-grid":l.value,"d-flex":l.value&&g.value}))),w=(0,a.Fl)((()=>[g.value?r.splitClass:r.toggleClass,{"nav-link":h.value,"dropdown-toggle":!g.value,"dropdown-toggle-no-caret":m.value&&!g.value,"w-100":g.value&&l.value}])),S=(0,a.Fl)((()=>[r.menuClass,{"dropdown-menu-dark":c.value,"dropdown-menu-end":f.value}])),k=(0,a.Fl)((()=>({"data-bs-toggle":g.value?void 0:"dropdown","aria-expanded":!!g.value&&void 0,ref:g.value?void 0:y,href:g.value?r.splitHref:void 0}))),_=(0,a.Fl)((()=>({ref:g.value?y:void 0}))),C=()=>{var e;null==(e=b.value)||e.hide()},E=e=>{g.value&&n("click",e)};return zs(v,"show.bs.dropdown",(()=>n("show"))),zs(v,"shown.bs.dropdown",(()=>n("shown"))),zs(v,"hide.bs.dropdown",(()=>n("hide"))),zs(v,"hidden.bs.dropdown",(()=>n("hidden"))),(0,a.bv)((()=>{var e;b.value=new Bn(null==(e=y.value)?void 0:e.$el,{autoClose:r.autoClose,boundary:r.boundary,offset:r.offset?r.offset.toString():"",reference:r.offset||g.value?"parent":"toggle",popperConfig:e=>{const t={placement:"bottom-start",modifiers:r.noFlip?[{name:"flip",options:{fallbackPlacements:[]}}]:[]};return u.value?t.placement=f.value?"top-end":"top-start":d.value?t.placement="right-start":p.value?t.placement="left-start":f.value&&(t.placement="bottom-end"),_s(e,_s(t,r.popperOpts))}})})),t({hide:C}),(t,r)=>((0,a.wg)(),(0,a.iD)("div",{ref_key:"parent",ref:v,class:(0,o.C_)([(0,i.SU)(x),"btn-group"])},[(0,a.Wm)(ic,(0,a.dG)({id:(0,i.SU)(s),variant:e.splitVariant||e.variant,size:e.size,class:(0,i.SU)(w),disabled:e.disabled,type:e.splitButtonType},(0,i.SU)(k),{onClick:E}),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"button-content",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},16,["id","variant","size","class","disabled","type"]),(0,i.SU)(g)?((0,a.wg)(),(0,a.j4)(ic,(0,a.dG)({key:0,variant:e.variant,size:e.size,disabled:e.disabled},(0,i.SU)(_),{class:[e.toggleClass,"dropdown-toggle-split dropdown-toggle"],"data-bs-toggle":"dropdown","aria-expanded":"false",onClick:r[0]||(r[0]=e=>n("toggle"))}),{default:(0,a.w5)((()=>[(0,a._)("span",au,[(0,a.WI)(t.$slots,"toggle-text",{},(()=>[(0,a.Uk)((0,o.zw)(e.toggleText),1)]))])])),_:3},16,["variant","size","disabled","class"])):(0,a.kq)("",!0),(0,a._)("ul",{class:(0,o.C_)(["dropdown-menu",(0,i.SU)(S)]),"aria-labelledby":(0,i.SU)(s),role:e.role},[(0,a.WI)(t.$slots,"default")],10,ou)],2))}}),lu={role:"presentation"},cu=(0,a.aZ)({__name:"BDropdownDivider",props:{tag:{default:"hr"}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.iD)("li",lu,[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"dropdown-divider",role:"separator","aria-orientation":"horizontal"}))]))}}),uu={},du={role:"presentation"},hu={class:"px-4 py-3"};function pu(e,t){return(0,a.wg)(),(0,a.iD)("li",du,[(0,a._)("form",hu,[(0,a.WI)(e.$slots,"default")])])}const fu=Vl(uu,[["render",pu]]),gu={role:"presentation"},mu=["id","aria-describedby"],vu={inheritAttrs:!1},yu=(0,a.aZ)({...vu,__name:"BDropdownGroup",props:{id:null,ariaDescribedby:null,header:null,headerClass:null,headerTag:{default:"header"},headerVariant:null},setup(e){const t=e,n=(0,a.Fl)((()=>t.id?`${t.id}_group_dd_header`:void 0)),r=(0,a.Fl)((()=>"header"===t.headerTag?void 0:"heading")),s=(0,a.Fl)((()=>[t.headerClass,{[`text-${t.headerVariant}`]:void 0!==t.headerVariant}]));return(t,l)=>((0,a.wg)(),(0,a.iD)("li",gu,[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.headerTag),{id:(0,i.SU)(n),class:(0,o.C_)(["dropdown-header",(0,i.SU)(s)]),role:(0,i.SU)(r)},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"header",{},(()=>[(0,a.Uk)((0,o.zw)(e.header),1)]))])),_:3},8,["id","class","role"])),(0,a._)("ul",(0,a.dG)({id:e.id,role:"group",class:"list-unstyled"},t.$attrs,{"aria-describedby":e.ariaDescribedby||(0,i.SU)(n)}),[(0,a.WI)(t.$slots,"default")],16,mu)]))}}),bu={},xu={class:"dropdown-header"};function wu(e,t){return(0,a.wg)(),(0,a.iD)("li",null,[(0,a._)("h6",xu,[(0,a.WI)(e.$slots,"default")])])}const Su=Vl(bu,[["render",wu]]),ku={inheritAttrs:!1},_u=(0,a.aZ)({...ku,__name:"BDropdownItem",props:{href:null,linkClass:null,active:{default:!1},disabled:{default:!1},rel:{default:void 0},target:{default:"_self"},variant:null},emits:["click"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"active")),s=Us((0,i.Vh)(n,"disabled")),l=(0,a.l1)(),c=(0,a.Fl)((()=>[n.linkClass,{active:r.value,disabled:s.value,[`text-${n.variant}`]:void 0!==n.variant}])),u=(0,a.Fl)((()=>n.href?"a":l.to?Hl:"button")),d=(0,a.Fl)((()=>({disabled:s.value,"aria-current":r.value?"true":null,href:"a"===u.value?n.href:null,rel:n.rel,type:"button"===u.value?"button":null,target:n.target,...l.to?{activeClass:"active",...l}:{}}))),h=e=>t("click",e);return(e,t)=>((0,a.wg)(),(0,a.iD)("li",{role:"presentation",class:(0,o.C_)(e.$attrs.class)},[((0,a.wg)(),(0,a.j4)((0,a.LL)((0,i.SU)(u)),(0,a.dG)({class:["dropdown-item",(0,i.SU)(c)]},(0,i.SU)(d),{onClick:h}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16,["class"]))],2))}}),Cu=["disabled"],Eu={inheritAttrs:!1},Au=(0,a.aZ)({...Eu,__name:"BDropdownItemButton",props:{buttonClass:null,active:{default:!1},activeClass:{default:"active"},disabled:{default:!1},variant:null},emits:["click"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"active")),s=Us((0,i.Vh)(n,"disabled")),l=(0,a.Fl)((()=>[n.buttonClass,{[n.activeClass]:r.value,disabled:s.value,[`text-${n.variant}`]:void 0!==n.variant}])),c=e=>t("click",e);return(e,t)=>((0,a.wg)(),(0,a.iD)("li",{role:"presentation",class:(0,o.C_)(e.$attrs.class)},[(0,a._)("button",{role:"menu",type:"button",class:(0,o.C_)(["dropdown-item",(0,i.SU)(l)]),disabled:(0,i.SU)(s),onClick:c},[(0,a.WI)(e.$slots,"default")],10,Cu)],2))}}),Iu={role:"presentation"},Tu={class:"px-4 py-1 mb-0 text-muted"},Ou=(0,a.aZ)({__name:"BDropdownText",props:{text:{default:""}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.iD)("li",Iu,[(0,a._)("p",Tu,[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])]))}}),Nu=["id","novalidate","onSubmit"],Du=(0,a.aZ)({__name:"BForm",props:{id:null,floating:{default:!1},novalidate:{default:!1},validated:{default:!1}},emits:["submit"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"floating")),l=Us((0,i.Vh)(n,"novalidate")),c=Us((0,i.Vh)(n,"validated")),u=(0,a.Fl)((()=>({"form-floating":r.value,"was-validated":c.value}))),d=e=>t("submit",e);return(t,n)=>((0,a.wg)(),(0,a.iD)("form",{id:e.id,novalidate:(0,i.SU)(l),class:(0,o.C_)((0,i.SU)(u)),onSubmit:(0,s.iM)(d,["prevent"])},[(0,a.WI)(t.$slots,"default")],42,Nu))}}),Lu={class:"form-floating"},Pu=["for"],Fu=(0,a.aZ)({__name:"BFormFloatingLabel",props:{labelFor:null,label:null,text:null},setup(e){return(t,n)=>((0,a.wg)(),(0,a.iD)("div",Lu,[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)])),(0,a._)("label",{for:e.labelFor},[(0,a.WI)(t.$slots,"label",{},(()=>[(0,a.Uk)((0,o.zw)(e.label),1)]))],8,Pu)]))}}),Uu=(0,a.aZ)({__name:"BFormInvalidFeedback",props:{ariaLive:null,forceShow:{default:!1},id:null,text:null,role:null,state:{default:void 0},tag:{default:"div"},tooltip:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"forceShow")),r=Us((0,i.Vh)(t,"state")),s=Us((0,i.Vh)(t,"tooltip")),l=(0,a.Fl)((()=>!0===n.value||!1===r.value)),c=(0,a.Fl)((()=>({"d-block":l.value,"invalid-feedback":!s.value,"invalid-tooltip":s.value}))),u=(0,a.Fl)((()=>({id:t.id,role:t.role,"aria-live":t.ariaLive,"aria-atomic":t.ariaLive?"true":void 0})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),(0,a.dG)({class:(0,i.SU)(c)},(0,i.SU)(u)),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},16,["class"]))}}),Mu=(0,a.aZ)({__name:"BFormRow",props:{tag:{default:"div"}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"row d-flex flex-wrap"},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3}))}}),Ru=(0,a.aZ)({__name:"BFormText",props:{id:null,inline:{default:!1},tag:{default:"small"},text:null,textVariant:{default:"muted"}},setup(e){const t=e,n=Us((0,i.Vh)(t,"inline")),r=(0,a.Fl)((()=>[[`text-${t.textVariant}`],{"form-text":!n.value}]));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,class:(0,o.C_)((0,i.SU)(r))},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},8,["id","class"]))}}),ju=(0,a.aZ)({__name:"BFormValidFeedback",props:{ariaLive:null,forceShow:{default:!1},id:null,role:null,text:null,state:{default:void 0},tag:{default:"div"},tooltip:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"forceShow")),r=Us((0,i.Vh)(t,"state")),s=Us((0,i.Vh)(t,"tooltip")),l=(0,a.Fl)((()=>!0===n.value||!0===r.value)),c=(0,a.Fl)((()=>({"d-block":l.value,"valid-feedback":!s.value,"valid-tooltip":s.value}))),u=(0,a.Fl)((()=>t.ariaLive?"true":void 0));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,role:e.role,"aria-live":e.ariaLive,"aria-atomic":(0,i.SU)(u),class:(0,o.C_)((0,i.SU)(c))},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3},8,["id","role","aria-live","aria-atomic","class"]))}}),Vu=["id","disabled","required","name","form","aria-label","aria-labelledby","aria-required","value","indeterminate"],zu=["for"],Hu={inheritAttrs:!1},Bu=(0,a.aZ)({...Hu,__name:"BFormCheckbox",props:{ariaLabel:null,ariaLabelledBy:null,form:null,indeterminate:null,name:null,id:{default:void 0},autofocus:{default:!1},plain:{default:!1},button:{default:!1},switch:{default:!1},disabled:{default:!1},buttonVariant:{default:"secondary"},inline:{default:!1},required:{default:void 0},size:{default:"md"},state:{default:void 0},uncheckedValue:{type:[Array,Set,Boolean,String,Object,Number],default:!1},value:{type:[Array,Set,Boolean,String,Object,Number],default:!0},modelValue:{type:[Array,Set,Boolean,String,Object,Number],default:void 0}},emits:["update:modelValue","input","change"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),l=Xs((0,i.Vh)(n,"id"),"form-check"),c=Us((0,i.Vh)(n,"indeterminate")),u=Us((0,i.Vh)(n,"autofocus")),d=Us((0,i.Vh)(n,"plain")),h=Us((0,i.Vh)(n,"button")),p=Us((0,i.Vh)(n,"switch")),f=Us((0,i.Vh)(n,"disabled")),g=Us((0,i.Vh)(n,"inline")),m=Us((0,i.Vh)(n,"required")),v=Us((0,i.Vh)(n,"state")),y=(0,i.iH)(null),b=(0,i.iH)(!1),x=(0,a.Fl)((()=>!ss(r.default))),w=(0,a.Fl)({get:()=>n.uncheckedValue?Array.isArray(n.modelValue)?n.modelValue.indexOf(n.value)>-1:n.modelValue===n.value:n.modelValue,set:e=>{let r=e;Array.isArray(n.modelValue)?n.uncheckedValue&&(r=n.modelValue,e?(r.indexOf(n.uncheckedValue)>-1&&r.splice(r.indexOf(n.uncheckedValue),1),r.push(n.value)):(r.indexOf(n.value)>-1&&r.splice(r.indexOf(n.value),1),r.push(n.uncheckedValue))):r=e?n.value:n.uncheckedValue,t("input",r),t("update:modelValue",r),t("change",r)}}),S=(0,a.Fl)((()=>Array.isArray(n.modelValue)?n.modelValue.indexOf(n.value)>-1:JSON.stringify(n.modelValue)===JSON.stringify(n.value))),k=(0,i.qj)({plain:(0,i.Vh)(d,"value"),button:(0,i.Vh)(h,"value"),inline:(0,i.Vh)(g,"value"),switch:(0,i.Vh)(p,"value"),size:(0,i.Vh)(n,"size"),state:(0,i.Vh)(v,"value"),buttonVariant:(0,i.Vh)(n,"buttonVariant")}),_=Hs(k),C=Bs(k),E=Ws(k);return(0,a.bv)((()=>{u.value&&y.value.focus()})),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)((0,i.SU)(_))},[(0,a.wy)((0,a._)("input",(0,a.dG)({id:(0,i.SU)(l)},t.$attrs,{ref_key:"input",ref:y,"onUpdate:modelValue":n[0]||(n[0]=e=>(0,i.dq)(w)?w.value=e:null),class:(0,i.SU)(C),type:"checkbox",disabled:(0,i.SU)(f),required:!!e.name&&!!(0,i.SU)(m),name:e.name,form:e.form,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledBy,"aria-required":e.name&&(0,i.SU)(m)?"true":void 0,value:e.value,indeterminate:(0,i.SU)(c),onFocus:n[1]||(n[1]=e=>b.value=!0),onBlur:n[2]||(n[2]=e=>b.value=!1)}),null,16,Vu),[[s.e8,(0,i.SU)(w)]]),(0,i.SU)(x)||!(0,i.SU)(d)?((0,a.wg)(),(0,a.iD)("label",{key:0,for:(0,i.SU)(l),class:(0,o.C_)([(0,i.SU)(E),{active:(0,i.SU)(S),focus:b.value}])},[(0,a.WI)(t.$slots,"default")],10,zu)):(0,a.kq)("",!0)],2))}}),Wu=["id"],$u=["innerHTML"],qu=["textContent"],Yu=(0,a.aZ)({__name:"BFormCheckboxGroup",props:{id:null,form:null,modelValue:{default:()=>[]},ariaInvalid:{default:void 0},autofocus:{default:!1},buttonVariant:{default:"secondary"},buttons:{default:!1},disabled:{default:!1},disabledField:{default:"disabled"},htmlField:{default:"html"},name:null,options:{default:()=>[]},plain:{default:!1},required:{default:!1},size:null,stacked:{default:!1},state:{default:void 0},switches:{default:!1},textField:{default:"text"},validated:{default:!1},valueField:{default:"value"}},emits:["input","update:modelValue","change"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),s="BFormCheckbox",l=Xs((0,i.Vh)(n,"id"),"checkbox"),c=Xs((0,i.Vh)(n,"name"),"checkbox");Us((0,i.Vh)(n,"autofocus"));const u=Us((0,i.Vh)(n,"buttons")),d=Us((0,i.Vh)(n,"disabled"));Us((0,i.Vh)(n,"plain"));const h=Us((0,i.Vh)(n,"required")),p=Us((0,i.Vh)(n,"stacked")),f=Us((0,i.Vh)(n,"state")),g=Us((0,i.Vh)(n,"switches")),m=Us((0,i.Vh)(n,"validated")),v=(0,a.Fl)({get:()=>n.modelValue,set:e=>{if(JSON.stringify(e)===JSON.stringify(n.modelValue))return;const r=n.options.filter((t=>e.map((e=>JSON.stringify(e))).includes(JSON.stringify("string"==typeof t?t:t[n.valueField])))).map((e=>"string"==typeof e?e:e[n.valueField]));t("input",r),t("update:modelValue",r),t("change",r)}}),y=(0,a.Fl)((()=>(r.first?Ys(r.first(),s,d.value):[]).concat(n.options.map((e=>Zs(e,n)))).concat(r.default?Ys(r.default(),s,d.value):[]).map(((e,t)=>Gs(e,t,n,c,l))).map((e=>({...e,props:{switch:g.value,...e.props}}))))),b=(0,i.qj)({required:(0,i.Vh)(h,"value"),ariaInvalid:(0,i.Vh)(n,"ariaInvalid"),state:(0,i.Vh)(f,"value"),validated:(0,i.Vh)(m,"value"),buttons:(0,i.Vh)(u,"value"),stacked:(0,i.Vh)(p,"value"),size:(0,i.Vh)(n,"size")}),x=$s(b),w=qs(b);return(e,t)=>((0,a.wg)(),(0,a.iD)("div",(0,a.dG)((0,i.SU)(x),{id:(0,i.SU)(l),role:"group",class:[(0,i.SU)(w),"bv-no-focus-ring"],tabindex:"-1"}),[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(y),((e,n)=>((0,a.wg)(),(0,a.j4)(Bu,(0,a.dG)({key:n,modelValue:(0,i.SU)(v),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,i.dq)(v)?v.value=e:null)},e.props),{default:(0,a.w5)((()=>[e.html?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.html},null,8,$u)):((0,a.wg)(),(0,a.iD)("span",{key:1,textContent:(0,o.zw)(e.text)},null,8,qu))])),_:2},1040,["modelValue"])))),128))],16,Wu))}}),Zu=["input","select","textarea"],Gu=Zu.map((e=>`${e}:not([disabled])`)).join(),Xu=[...Zu,"a","button","label"],Ku="label",Ju="invalid-feedback",Qu="valid-feedback",ed="description",td="default",nd=(0,a.aZ)({components:{BCol:Bc,BFormInvalidFeedback:Uu,BFormRow:Mu,BFormText:Ru,BFormValidFeedback:ju},props:{contentCols:{type:[Boolean,String,Number],required:!1},contentColsLg:{type:[Boolean,String,Number],required:!1},contentColsMd:{type:[Boolean,String,Number],required:!1},contentColsSm:{type:[Boolean,String,Number],required:!1},contentColsXl:{type:[Boolean,String,Number],required:!1},description:{type:[String],required:!1},disabled:{type:[Boolean,String],default:!1},feedbackAriaLive:{type:String,default:"assertive"},id:{type:String,required:!1},invalidFeedback:{type:String,required:!1},label:{type:String,required:!1},labelAlign:{type:[Boolean,String,Number],required:!1},labelAlignLg:{type:[Boolean,String,Number],required:!1},labelAlignMd:{type:[Boolean,String,Number],required:!1},labelAlignSm:{type:[Boolean,String,Number],required:!1},labelAlignXl:{type:[Boolean,String,Number],required:!1},labelClass:{type:[Array,Object,String],required:!1},labelCols:{type:[Boolean,String,Number],required:!1},labelColsLg:{type:[Boolean,String,Number],required:!1},labelColsMd:{type:[Boolean,String,Number],required:!1},labelColsSm:{type:[Boolean,String,Number],required:!1},labelColsXl:{type:[Boolean,String,Number],required:!1},labelFor:{type:String,required:!1},labelSize:{type:String,required:!1},labelSrOnly:{type:[Boolean,String],default:!1},state:{type:[Boolean,String],default:null},tooltip:{type:[Boolean,String],default:!1},validFeedback:{type:String,required:!1},validated:{type:[Boolean,String],default:!1},floating:{type:[Boolean,String],default:!1}},setup(e,{attrs:t}){const n=Us((0,i.Vh)(e,"disabled")),r=Us((0,i.Vh)(e,"labelSrOnly")),o=Us((0,i.Vh)(e,"state")),s=Us((0,i.Vh)(e,"tooltip")),l=Us((0,i.Vh)(e,"validated")),c=Us((0,i.Vh)(e,"floating")),u=null,d=["xs","sm","md","lg","xl"],h=(e,t)=>d.reduce(((n,r)=>{const i=Ds("xs"===r?"":r,`${t}Align`),a=e[i]||null;return a&&("xs"===r?n.push(`text-${a}`):n.push(`text-${r}-${a}`)),n}),[]),p=(e,t)=>d.reduce(((n,r)=>{const i=Ds("xs"===r?"":r,`${t}Cols`);let a=e[i];return a=""===a||(a||!1),"boolean"!=typeof a&&"auto"!==a&&(a=As(a,0),a=a>0&&a),a&&("xs"===r?n.cols=a:n[r||("boolean"==typeof a?"col":"cols")]=a),n}),{}),f=(0,i.iH)(),g=(t,n=null)=>{if(Vo&&e.labelFor){const r=ls(`#${Uo(e.labelFor)}`,f);if(r){const e="aria-describedby",i=(t||"").split(Ao),a=(n||"").split(Ao),o=(us(r,e)||"").split(Ao).filter((e=>!a.includes(e))).concat(i).filter(((e,t,n)=>n.indexOf(e)===t)).filter((e=>e)).join(" ").trim();o?hs(r,e,o):ps(r,e)}}},m=(0,a.Fl)((()=>p(e,"content"))),v=(0,a.Fl)((()=>h(e,"label"))),y=(0,a.Fl)((()=>p(e,"label"))),b=(0,a.Fl)((()=>Object.keys(m.value).length>0||Object.keys(y.value).length>0)),x=(0,a.Fl)((()=>"boolean"==typeof o.value?o.value:null)),w=(0,a.Fl)((()=>{const e=x.value;return!0===e?"is-valid":!1===e?"is-invalid":null})),S=(0,a.Fl)((()=>Ss(t.ariaInvalid,o.value)));return(0,a.YP)((()=>u),((e,t)=>{e!==t&&g(e,t)})),(0,a.bv)((()=>{(0,a.Y3)((()=>{g(u)}))})),{disabledBoolean:n,labelSrOnlyBoolean:r,stateBoolean:o,tooltipBoolean:s,validatedBoolean:l,floatingBoolean:c,ariaDescribedby:u,computedAriaInvalid:S,contentColProps:m,isHorizontal:b,labelAlignClasses:v,labelColProps:y,onLegendClick:t=>{if(e.labelFor)return;const{target:n}=t,r=n?n.tagName:"";if(-1!==Xu.indexOf(r))return;const i=cs(Gu,f).filter(os);1===i.length&&is(i[0])},stateClass:w}},render(){const e=this.$props,t=this.$slots,n=Xs(),r=!e.labelFor;let o=null;const s=Cs(Ku,{},t)||e.label,l=s?ws("_BV_label_"):null;if(s||this.isHorizontal){const t=r?"legend":"label";if(this.labelSrOnlyBoolean)s&&(o=(0,a.h)(t,{class:"visually-hidden",id:l,for:e.labelFor||null},s)),o=this.isHorizontal?(0,a.h)(Bc,this.labelColProps,{default:()=>o}):(0,a.h)("div",{},[o]);else{const n={onClick:r?this.onLegendClick:null,...this.isHorizontal?this.labelColProps:{},tag:this.isHorizontal?t:null,id:l,for:e.labelFor||null,tabIndex:r?"-1":null,class:[this.isHorizontal?"col-form-label":"form-label",{"bv-no-focus-ring":r,"col-form-label":this.isHorizontal||r,"pt-0":!this.isHorizontal&&r,"d-block":!this.isHorizontal&&!r,[`col-form-label-${e.labelSize}`]:!!e.labelSize},this.labelAlignClasses,e.labelClass]};o=this.isHorizontal?(0,a.h)(Bc,n,{default:()=>s}):(0,a.h)(t,n,s)}}let c=null;const u=Cs(Ju,{},t)||this.invalidFeedback,d=u?ws("_BV_feedback_invalid_"):void 0;u&&(c=(0,a.h)(Uu,{ariaLive:e.feedbackAriaLive,id:d,state:this.stateBoolean,tooltip:this.tooltipBoolean},{default:()=>u}));let h=null;const p=Cs(Qu,{},t)||this.validFeedback,f=p?ws("_BV_feedback_valid_"):void 0;p&&(h=(0,a.h)(ju,{ariaLive:e.feedbackAriaLive,id:f,state:this.stateBoolean,tooltip:this.tooltipBoolean},{default:()=>p}));let g=null;const m=Cs(ed,{},t)||this.description,v=m?ws("_BV_description_"):void 0;m&&(g=(0,a.h)(Ru,{id:v},{default:()=>m}));const y=this.ariaDescribedby=[v,!1===this.stateBoolean?d:null,!0===this.stateBoolean?f:null].filter((e=>e)).join(" ")||null,b=[Cs(td,{ariaDescribedby:y,descriptionId:v,id:n,labelId:l},t)||"",c,h,g];!this.isHorizontal&&this.floatingBoolean&&b.push(o);let x=(0,a.h)("div",{ref:"content",class:[{"form-floating":!this.isHorizontal&&this.floatingBoolean}]},b);this.isHorizontal&&(x=(0,a.h)(Bc,{ref:"content",...this.contentColProps},{default:()=>b}));const w={class:["mb-3",this.stateClass,{"was-validated":this.validatedBoolean}],id:Xs((0,i.Vh)(e,"id")).value,disabled:r?this.disabledBoolean:null,role:r?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":r&&this.isHorizontal?l:null};return this.isHorizontal&&!r?(0,a.h)(Mu,w,{default:()=>[o,x]}):(0,a.h)(r?"fieldset":"div",w,this.isHorizontal&&r?[(0,a.h)(Mu,{},{default:()=>[o,x]})]:this.isHorizontal||!this.floatingBoolean?[o,x]:[x])}}),rd=["text","number","email","password","search","url","tel","date","time","range","color"],id=(0,a.aZ)({props:{...Ks,max:{type:[String,Number],required:!1},min:{type:[String,Number],required:!1},step:{type:[String,Number],required:!1},type:{type:String,default:"text",validator:e=>rd.includes(e)}},emits:["update:modelValue","change","blur","input"],setup(e,{emit:t}){const{input:n,computedId:r,computedAriaInvalid:o,onInput:s,onChange:l,onBlur:c,focus:u,blur:d}=Js(e,t),h=(0,i.iH)(!1),p=(0,a.Fl)((()=>{const t="range"===e.type,n="color"===e.type;return{"form-control-highlighted":h.value,"form-range":t,"form-control":n||!e.plaintext&&!t,"form-control-color":n,"form-control-plaintext":e.plaintext&&!t&&!n,[`form-control-${e.size}`]:!!e.size,"is-valid":!0===e.state,"is-invalid":!1===e.state}})),f=(0,a.Fl)((()=>rd.includes(e.type)?e.type:"text"));return{computedClasses:p,localType:f,input:n,computedId:r,computedAriaInvalid:o,onInput:s,onChange:l,onBlur:c,focus:u,blur:d,highlight:()=>{!0!==h.value&&(h.value=!0,setTimeout((()=>{h.value=!1}),2e3))}}}}),ad=["id","name","form","type","disabled","placeholder","required","autocomplete","readonly","min","max","step","list","aria-required","aria-invalid"];function od(e,t,n,r,i,o){return(0,a.wg)(),(0,a.iD)("input",(0,a.dG)({id:e.computedId,ref:"input",class:e.computedClasses,name:e.name||void 0,form:e.form||void 0,type:e.localType,disabled:e.disabled,placeholder:e.placeholder,required:e.required,autocomplete:e.autocomplete||void 0,readonly:e.readonly||e.plaintext,min:e.min,max:e.max,step:e.step,list:"password"!==e.type?e.list:void 0,"aria-required":e.required?"true":void 0,"aria-invalid":e.computedAriaInvalid},e.$attrs,{onInput:t[0]||(t[0]=t=>e.onInput(t)),onChange:t[1]||(t[1]=t=>e.onChange(t)),onBlur:t[2]||(t[2]=t=>e.onBlur(t))}),null,16,ad)}const sd=Vl(id,[["render",od]]),ld=["id","disabled","required","name","form","aria-label","aria-labelledby","value","aria-required"],cd=["for"],ud=(0,a.aZ)({__name:"BFormRadio",props:{ariaLabel:null,ariaLabelledby:null,form:null,id:null,name:null,size:null,autofocus:{default:!1},modelValue:{type:[Boolean,String,Array,Object,Number],default:void 0},plain:{default:!1},button:{default:!1},switch:{default:!1},disabled:{default:!1},buttonVariant:{default:"secondary"},inline:{default:!1},required:{default:!1},state:{default:void 0},value:{type:[String,Boolean,Object,Number],default:!0}},emits:["input","change","update:modelValue"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),l=Xs((0,i.Vh)(n,"id"),"form-check"),c=Us((0,i.Vh)(n,"autofocus")),u=Us((0,i.Vh)(n,"plain")),d=Us((0,i.Vh)(n,"button")),h=Us((0,i.Vh)(n,"switch")),p=Us((0,i.Vh)(n,"disabled")),f=Us((0,i.Vh)(n,"inline")),g=Us((0,i.Vh)(n,"required")),m=Us((0,i.Vh)(n,"state")),v=(0,i.iH)(null),y=(0,i.iH)(!1),b=(0,a.Fl)({get:()=>Array.isArray(n.modelValue)?n.modelValue[0]:n.modelValue,set:e=>{const r=!!e&&n.value,i=Array.isArray(n.modelValue)?[r]:r;t("input",i),t("change",i),t("update:modelValue",i)}}),x=(0,a.Fl)((()=>Array.isArray(n.modelValue)?(n.modelValue||[]).find((e=>e===n.value)):JSON.stringify(n.modelValue)===JSON.stringify(n.value))),w=(0,a.Fl)((()=>!ss(r.default))),S=(0,i.qj)({plain:(0,i.Vh)(u,"value"),button:(0,i.Vh)(d,"value"),inline:(0,i.Vh)(f,"value"),switch:(0,i.Vh)(h,"value"),size:(0,i.Vh)(n,"size"),state:(0,i.Vh)(m,"value"),buttonVariant:(0,i.Vh)(n,"buttonVariant")}),k=Hs(S),_=Bs(S),C=Ws(S);return(0,a.bv)((()=>{c.value&&null!==v.value&&v.value.focus()})),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)((0,i.SU)(k))},[(0,a.wy)((0,a._)("input",(0,a.dG)({id:(0,i.SU)(l)},t.$attrs,{ref_key:"input",ref:v,"onUpdate:modelValue":n[0]||(n[0]=e=>(0,i.dq)(b)?b.value=e:null),class:(0,i.SU)(_),type:"radio",disabled:(0,i.SU)(p),required:!!e.name&&(0,i.SU)(g),name:e.name,form:e.form,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,value:e.value,"aria-required":!(!e.name||!(0,i.SU)(g))||void 0,onFocus:n[1]||(n[1]=e=>y.value=!0),onBlur:n[2]||(n[2]=e=>y.value=!1)}),null,16,ld),[[s.G2,(0,i.SU)(b)]]),(0,i.SU)(w)||!1===(0,i.SU)(u)?((0,a.wg)(),(0,a.iD)("label",{key:0,for:(0,i.SU)(l),class:(0,o.C_)([(0,i.SU)(C),{active:(0,i.SU)(x),focus:y.value}])},[(0,a.WI)(t.$slots,"default")],10,cd)):(0,a.kq)("",!0)],2))}}),dd=["id"],hd=["innerHTML"],pd=["textContent"],fd=(0,a.aZ)({__name:"BFormRadioGroup",props:{size:null,form:null,id:null,name:null,modelValue:{type:[String,Boolean,Array,Object,Number],default:""},ariaInvalid:{default:void 0},autofocus:{default:!1},buttonVariant:{default:"secondary"},buttons:{default:!1},disabled:{default:!1},disabledField:{default:"disabled"},htmlField:{default:"html"},options:{default:()=>[]},plain:{default:!1},required:{default:!1},stacked:{default:!1},state:{default:void 0},textField:{default:"text"},validated:{default:!1},valueField:{default:"value"}},emits:["input","update:modelValue","change"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),s="BFormRadio",l=Xs((0,i.Vh)(n,"id"),"radio"),c=Xs((0,i.Vh)(n,"name"),"checkbox");Us((0,i.Vh)(n,"autofocus"));const u=Us((0,i.Vh)(n,"buttons")),d=Us((0,i.Vh)(n,"disabled"));Us((0,i.Vh)(n,"plain"));const h=Us((0,i.Vh)(n,"required")),p=Us((0,i.Vh)(n,"stacked")),f=Us((0,i.Vh)(n,"state")),g=Us((0,i.Vh)(n,"validated")),m=(0,a.Fl)({get:()=>n.modelValue,set:e=>{t("input",e),t("update:modelValue",e),t("change",e)}}),v=(0,a.Fl)((()=>(r.first?Ys(r.first(),s,d.value):[]).concat(n.options.map((e=>Zs(e,n)))).concat(r.default?Ys(r.default(),s,d.value):[]).map(((e,t)=>Gs(e,t,n,c,l))).map((e=>({...e}))))),y=(0,i.qj)({required:(0,i.Vh)(h,"value"),ariaInvalid:(0,i.Vh)(n,"ariaInvalid"),state:(0,i.Vh)(f,"value"),validated:(0,i.Vh)(g,"value"),buttons:(0,i.Vh)(u,"value"),stacked:(0,i.Vh)(p,"value"),size:(0,i.Vh)(n,"size")}),b=$s(y),x=qs(y);return(e,t)=>((0,a.wg)(),(0,a.iD)("div",(0,a.dG)((0,i.SU)(b),{id:(0,i.SU)(l),role:"radiogroup",class:[(0,i.SU)(x),"bv-no-focus-ring"],tabindex:"-1"}),[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(v),((e,n)=>((0,a.wg)(),(0,a.j4)(ud,(0,a.dG)({key:n,modelValue:(0,i.SU)(m),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,i.dq)(m)?m.value=e:null)},e.props),{default:(0,a.w5)((()=>[e.html?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.html},null,8,hd)):((0,a.wg)(),(0,a.iD)("span",{key:1,textContent:(0,o.zw)(e.text)},null,8,pd))])),_:2},1040,["modelValue"])))),128))],16,dd))}}),gd=["value","disabled"],md=(0,a.aZ)({__name:"BFormSelectOption",props:{value:null,disabled:{default:!1}},setup(e){const t=Us((0,i.Vh)(e,"disabled"));return(n,r)=>((0,a.wg)(),(0,a.iD)("option",{value:e.value,disabled:(0,i.SU)(t)},[(0,a.WI)(n.$slots,"default")],8,gd))}}),vd=["label"],yd=(0,a.aZ)({__name:"BFormSelectOptionGroup",props:{label:null,disabledField:{default:"disabled"},htmlField:{default:"html"},options:{default:()=>[]},textField:{default:"text"},valueField:{default:"value"}},setup(e){const t=e,n=(0,a.Fl)((()=>tl(t.options,"BFormSelectOptionGroup",t)));return(t,r)=>((0,a.wg)(),(0,a.iD)("optgroup",{label:e.label},[(0,a.WI)(t.$slots,"first"),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(n),((e,n)=>((0,a.wg)(),(0,a.j4)(md,(0,a.dG)({key:n,value:e.value,disabled:e.disabled},t.$attrs,{innerHTML:e.html||e.text}),null,16,["value","disabled","innerHTML"])))),128)),(0,a.WI)(t.$slots,"default")],8,vd))}}),bd=["id","name","form","multiple","size","disabled","required","aria-required","aria-invalid"],xd=(0,a.aZ)({__name:"BFormSelect",props:{ariaInvalid:{default:void 0},autofocus:{default:!1},disabled:{default:!1},disabledField:{default:"disabled"},form:null,htmlField:{default:"html"},id:null,labelField:{default:"label"},multiple:{default:!1},name:null,options:{default:()=>[]},optionsField:{default:"options"},plain:{default:!1},required:{default:!1},selectSize:{default:0},size:null,state:{default:void 0},textField:{default:"text"},valueField:{default:"value"},modelValue:{default:""}},emits:["input","update:modelValue","change"],setup(e,{expose:t,emit:n}){const r=e,o=Xs((0,i.Vh)(r,"id"),"input"),l=Us((0,i.Vh)(r,"autofocus")),c=Us((0,i.Vh)(r,"disabled")),u=Us((0,i.Vh)(r,"multiple")),d=Us((0,i.Vh)(r,"plain")),h=Us((0,i.Vh)(r,"required")),p=Us((0,i.Vh)(r,"state")),f=(0,i.iH)(),g=(0,a.Fl)((()=>({"form-control":d.value,[`form-control-${r.size}`]:r.size&&d.value,"form-select":!d.value,[`form-select-${r.size}`]:r.size&&!d.value,"is-valid":!0===p.value,"is-invalid":!1===p.value}))),m=(0,a.Fl)((()=>{if(r.selectSize||d.value)return r.selectSize})),v=(0,a.Fl)((()=>Ss(r.ariaInvalid,p.value))),y=(0,a.Fl)((()=>tl(r.options,"BFormSelect",r))),b=(0,a.Fl)({get(){return r.modelValue},set(e){n("change",e),n("update:modelValue",e),n("input",e)}}),x=()=>{var e;c.value||null==(e=f.value)||e.focus()},w=()=>{var e;c.value||null==(e=f.value)||e.blur()},S=()=>{(0,a.Y3)((()=>{var e;l.value&&(null==(e=f.value)||e.focus())}))};return(0,a.bv)(S),(0,a.dl)(S),t({blur:w,focus:x}),(t,n)=>(0,a.wy)(((0,a.wg)(),(0,a.iD)("select",(0,a.dG)({id:(0,i.SU)(o),ref_key:"input",ref:f},t.$attrs,{"onUpdate:modelValue":n[0]||(n[0]=e=>(0,i.dq)(b)?b.value=e:null),class:(0,i.SU)(g),name:e.name,form:e.form||void 0,multiple:(0,i.SU)(u)||void 0,size:(0,i.SU)(m),disabled:(0,i.SU)(c),required:(0,i.SU)(h),"aria-required":!!(0,i.SU)(h)||void 0,"aria-invalid":(0,i.SU)(v)}),[(0,a.WI)(t.$slots,"first"),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(y),((e,t)=>((0,a.wg)(),(0,a.iD)(a.HY,{key:t},[Array.isArray(e.options)?((0,a.wg)(),(0,a.j4)(yd,{key:0,label:e.label,options:e.options},null,8,["label","options"])):((0,a.wg)(),(0,a.j4)(md,{key:1,value:e.value,disabled:e.disabled,innerHTML:e.html||e.text},null,8,["value","disabled","innerHTML"]))],64)))),128)),(0,a.WI)(t.$slots,"default")],16,bd)),[[s.bM,(0,i.SU)(b)]])}}),wd=["id"],Sd=(0,a.aZ)({__name:"BFormTag",props:{id:null,title:null,disabled:{default:!1},noRemove:{default:!1},pill:{default:!1},removeLabel:{default:"Remove tag"},tag:{default:"span"},variant:{default:"secondary"}},emits:["remove"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),s=Xs((0,i.Vh)(n,"id")),l=Us((0,i.Vh)(n,"disabled")),c=Us((0,i.Vh)(n,"noRemove")),u=Us((0,i.Vh)(n,"pill")),d=(0,a.Fl)((()=>{var e,t,i;return null!=(i=(null!=(t=null==(e=r.default)?void 0:e.call(r)[0].children)?t:"").toString()||n.title)?i:""})),h=(0,a.Fl)((()=>`${s.value}taglabel__`)),p=(0,a.Fl)((()=>[`bg-${n.variant}`,{"text-dark":["warning","info","light"].includes(n.variant),"rounded-pill":u.value,disabled:l.value}]));return(n,r)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:(0,i.SU)(s),title:(0,i.SU)(d),class:(0,o.C_)(["badge b-form-tag d-inline-flex align-items-center mw-100",(0,i.SU)(p)]),"aria-labelledby":(0,i.SU)(h)},{default:(0,a.w5)((()=>[(0,a._)("span",{id:(0,i.SU)(h),class:"b-form-tag-content flex-grow-1 text-truncate"},[(0,a.WI)(n.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)((0,i.SU)(d)),1)]))],8,wd),(0,i.SU)(l)||(0,i.SU)(c)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(Tl,{key:0,"aria-keyshortcuts":"Delete","aria-label":e.removeLabel,class:"b-form-tag-remove",white:!["warning","info","light"].includes(e.variant),"aria-describedby":(0,i.SU)(h),"aria-controls":e.id,onClick:r[0]||(r[0]=e=>t("remove",(0,i.SU)(d)))},null,8,["aria-label","white","aria-describedby","aria-controls"]))])),_:3},8,["id","title","class","aria-labelledby"]))}}),kd=["id"],_d=["id","for","aria-live"],Cd=["id","aria-live"],Ed=["id"],Ad=["aria-controls"],Id={role:"group",class:"d-flex"},Td=["id","disabled","value","type","placeholder","form","required"],Od=["disabled"],Nd={"aria-live":"polite","aria-atomic":"true"},Dd={key:0,class:"d-block invalid-feedback"},Ld={key:1,class:"form-text text-muted"},Pd={key:2,class:"form-text text-muted"},Fd=["name","value"],Ud=(0,a.aZ)({__name:"BFormTags",props:{addButtonText:{default:"Add"},addButtonVariant:{default:"outline-secondary"},addOnChange:{default:!1},autofocus:{default:!1},disabled:{default:!1},duplicateTagText:{default:"Duplicate tag(s)"},inputAttrs:null,inputClass:null,inputId:null,inputType:{default:"text"},invalidTagText:{default:"Invalid tag(s)"},form:null,limit:null,limitTagsText:{default:"Tag limit reached"},modelValue:{default:()=>[]},name:null,noAddOnEnter:{default:!1},noOuterFocus:{default:!1},noTagRemove:{default:!1},placeholder:{default:"Add tag..."},removeOnDelete:{default:!1},required:{default:!1},separator:null,state:{default:void 0},size:null,tagClass:null,tagPills:{default:!1},tagRemoveLabel:null,tagRemovedLabel:{default:"Tag removed"},tagValidator:{type:Function,default:()=>!0},tagVariant:{default:"secondary"}},emits:["update:modelValue","input","tag-state","focus","focusin","focusout","blur"],setup(e,{emit:t}){const n=e,r=Xs(),s=Us((0,i.Vh)(n,"addOnChange")),l=Us((0,i.Vh)(n,"autofocus")),c=Us((0,i.Vh)(n,"disabled")),u=Us((0,i.Vh)(n,"noAddOnEnter")),d=Us((0,i.Vh)(n,"noOuterFocus")),h=Us((0,i.Vh)(n,"noTagRemove")),p=Us((0,i.Vh)(n,"removeOnDelete")),f=Us((0,i.Vh)(n,"required")),g=Us((0,i.Vh)(n,"state")),m=Us((0,i.Vh)(n,"tagPills")),v=(0,i.iH)(null),y=(0,a.Fl)((()=>n.inputId||`${r.value}input__`)),b=(0,i.iH)(n.modelValue),x=(0,i.iH)(""),w=(0,i.iH)(!1),S=(0,i.iH)(!1),k=(0,i.iH)(""),_=(0,i.iH)([]),C=(0,i.iH)([]),E=(0,i.iH)([]),A=(0,a.Fl)((()=>({[`form-control-${n.size}`]:void 0!==n.size,disabled:c.value,focus:S.value,"is-invalid":!1===g.value,"is-valid":!0===g.value}))),I=(0,a.Fl)((()=>b.value.includes(x.value))),T=(0,a.Fl)((()=>""!==x.value&&!n.tagValidator(x.value))),O=(0,a.Fl)((()=>b.value.length===n.limit)),N=(0,a.Fl)((()=>!T.value&&!I.value)),D=(0,a.Fl)((()=>({addButtonText:n.addButtonText,addButtonVariant:n.addButtonVariant,addTag:V,disableAddButton:N.value,disabled:c.value,duplicateTagText:n.duplicateTagText,duplicateTags:E.value,form:n.form,inputAttrs:{...n.inputAttrs,disabled:c.value,form:n.form,id:y,value:x},inputHandlers:{input:M,keydown:j,change:R},inputId:y,inputType:n.inputType,invalidTagText:n.invalidTagText,invalidTags:C.value,isDuplicate:I.value,isInvalid:T.value,isLimitReached:O.value,limitTagsText:n.limitTagsText,limit:n.limit,noTagRemove:h.value,placeholder:n.placeholder,removeTag:z,required:f.value,separator:n.separator,size:n.size,state:g.value,tagClass:n.tagClass,tagPills:m.value,tagRemoveLabel:n.tagRemoveLabel,tagVariant:n.tagVariant,tags:b.value})));(0,a.YP)((()=>n.modelValue),(e=>{b.value=e}));const L=()=>{var e;l.value&&(null==(e=v.value)||e.focus())},P=e=>{c.value?e.target.blur():t("focusin",e)},F=e=>{c.value||d.value||(S.value=!0,t("focus",e))},U=e=>{S.value=!1,t("blur",e)},M=e=>{var r,i;const a="string"==typeof e?e:e.target.value;w.value=!1,(null==(r=n.separator)?void 0:r.includes(a.charAt(0)))&&a.length>0?v.value&&(v.value.value=""):(x.value=a,null!=(i=n.separator)&&i.includes(a.charAt(a.length-1))?V(a.slice(0,a.length-1)):(_.value=n.tagValidator(a)&&!I.value?[a]:[],C.value=n.tagValidator(a)?[]:[a],E.value=I.value?[a]:[],t("tag-state",_.value,C.value,E.value)))},R=e=>{s.value&&(M(e),I.value||V(x.value))},j=e=>{"Enter"!==e.key||u.value?("Backspace"===e.key||"Delete"===e.key)&&p.value&&""===x.value&&w.value&&b.value.length>0?z(b.value[b.value.length-1]):w.value=!0:V(x.value)},V=e=>{var r;if(e=(e||x.value).trim(),""===e||I.value||!n.tagValidator(e)||n.limit&&O.value)return;const i=[...n.modelValue,e];x.value="",w.value=!0,t("update:modelValue",i),t("input",i),null==(r=v.value)||r.focus()},z=e=>{var n;const r=b.value.indexOf(null!=(n=null==e?void 0:e.toString())?n:"");k.value=b.value.splice(r,1).toString(),t("update:modelValue",b.value)};return(0,a.bv)((()=>{L(),n.modelValue.length>0&&(w.value=!0)})),(0,a.dl)((()=>L())),(n,s)=>((0,a.wg)(),(0,a.iD)("div",{id:(0,i.SU)(r),class:(0,o.C_)(["b-form-tags form-control h-auto",(0,i.SU)(A)]),role:"group",tabindex:"-1",onFocusin:P,onFocusout:s[1]||(s[1]=e=>t("focusout",e))},[(0,a._)("output",{id:`${(0,i.SU)(r)}selected_tags__`,class:"visually-hidden",role:"status",for:(0,i.SU)(y),"aria-live":S.value?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"},(0,o.zw)(b.value.join(", ")),9,_d),(0,a._)("div",{id:`${(0,i.SU)(r)}removed_tags__`,role:"status","aria-live":S.value?"assertive":"off","aria-atomic":"true",class:"visually-hidden"}," ("+(0,o.zw)(e.tagRemovedLabel)+") "+(0,o.zw)(k.value),9,Cd),(0,a.WI)(n.$slots,"default",(0,o.vs)((0,a.F4)((0,i.SU)(D))),(()=>[(0,a._)("ul",{id:`${(0,i.SU)(r)}tag_list__`,class:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(b.value,((t,r)=>(0,a.WI)(n.$slots,"tag",(0,o.vs)((0,a.dG)({key:r},{tag:t,tagClass:e.tagClass,tagVariant:e.tagVariant,tagPills:(0,i.SU)(m),removeTag:z})),(()=>[(0,a.Wm)(Sd,{class:(0,o.C_)(e.tagClass),tag:"li",variant:e.tagVariant,pill:e.tagPills,onRemove:z},{default:(0,a.w5)((()=>[(0,a.Uk)((0,o.zw)(t),1)])),_:2},1032,["class","variant","pill"])])))),128)),(0,a._)("li",{role:"none","aria-live":"off",class:"b-from-tags-field flex-grow-1","aria-controls":`${(0,i.SU)(r)}tag_list__`},[(0,a._)("div",Id,[(0,a._)("input",(0,a.dG)({id:(0,i.SU)(y),ref_key:"input",ref:v,disabled:(0,i.SU)(c),value:x.value,type:e.inputType,placeholder:e.placeholder,class:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",style:{outline:"currentcolor none 0px","min-width":"5rem"}},e.inputAttrs,{form:e.form,required:(0,i.SU)(f),onInput:M,onChange:R,onKeydown:j,onFocus:F,onBlur:U}),null,16,Td),(0,i.SU)(N)?((0,a.wg)(),(0,a.iD)("button",{key:0,type:"button",class:(0,o.C_)(["btn b-form-tags-button py-0",[`btn-${e.addButtonVariant}`,{"disabled invisible":0===x.value.length},e.inputClass]]),style:{"font-size":"90%"},disabled:(0,i.SU)(c)||0===x.value.length||(0,i.SU)(O),onClick:s[0]||(s[0]=e=>V(x.value))},[(0,a.WI)(n.$slots,"add-button-text",{},(()=>[(0,a.Uk)((0,o.zw)(e.addButtonText),1)]))],10,Od)):(0,a.kq)("",!0)])],8,Ad)],8,Ed),(0,a._)("div",Nd,[(0,i.SU)(T)?((0,a.wg)(),(0,a.iD)("div",Dd,(0,o.zw)(e.invalidTagText)+": "+(0,o.zw)(x.value),1)):(0,a.kq)("",!0),(0,i.SU)(I)?((0,a.wg)(),(0,a.iD)("small",Ld,(0,o.zw)(e.duplicateTagText)+": "+(0,o.zw)(x.value),1)):(0,a.kq)("",!0),b.value.length===e.limit?((0,a.wg)(),(0,a.iD)("small",Pd,"Tag limit reached")):(0,a.kq)("",!0)])])),e.name?((0,a.wg)(!0),(0,a.iD)(a.HY,{key:0},(0,a.Ko)(b.value,((t,n)=>((0,a.wg)(),(0,a.iD)("input",{key:n,type:"hidden",name:e.name,value:t},null,8,Fd)))),128)):(0,a.kq)("",!0)],42,kd))}}),Md=(0,a.aZ)({props:{...Ks,noResize:{type:[Boolean,String],default:!1},rows:{type:[String,Number],required:!1,default:2},wrap:{type:String,default:"soft"}},emits:["update:modelValue","change","blur","input"],setup(e,{emit:t}){const{input:n,computedId:r,computedAriaInvalid:o,onInput:s,onChange:l,onBlur:c,focus:u,blur:d}=Js(e,t),h=Us((0,i.Vh)(e,"noResize")),p=(0,a.Fl)((()=>({"form-control":!e.plaintext,"form-control-plaintext":e.plaintext,[`form-control-${e.size}`]:!!e.size,"is-valid":!0===e.state,"is-invalid":!1===e.state}))),f=(0,a.Fl)((()=>h.value?{resize:"none"}:void 0));return{input:n,computedId:r,computedAriaInvalid:o,onInput:s,onChange:l,onBlur:c,focus:u,blur:d,computedClasses:p,computedStyles:f}}}),Rd=["id","name","form","disabled","placeholder","required","autocomplete","readonly","aria-required","aria-invalid","rows","wrap"];function jd(e,t,n,r,i,o){return(0,a.wg)(),(0,a.iD)("textarea",(0,a.dG)({id:e.computedId,ref:"input",class:e.computedClasses,name:e.name||void 0,form:e.form||void 0,disabled:e.disabled,placeholder:e.placeholder,required:e.required,autocomplete:e.autocomplete||void 0,readonly:e.readonly||e.plaintext,"aria-required":e.required?"true":void 0,"aria-invalid":e.computedAriaInvalid,rows:e.rows,style:e.computedStyles,wrap:e.wrap||void 0},e.$attrs,{onInput:t[0]||(t[0]=t=>e.onInput(t)),onChange:t[1]||(t[1]=t=>e.onChange(t)),onBlur:t[2]||(t[2]=t=>e.onBlur(t))}),null,16,Rd)}const Vd=Vl(Md,[["render",jd]]),zd={key:0,class:"input-group-text"},Hd=["innerHTML"],Bd={key:1},Wd={key:0,class:"input-group-text"},$d=["innerHTML"],qd={key:1},Yd=(0,a.aZ)({__name:"BInputGroup",props:{append:null,appendHtml:null,id:null,prepend:null,prependHtml:null,size:null,tag:{default:"div"}},setup(e){const t=e,n=(0,a.Fl)((()=>({"input-group-sm":"sm"===t.size,"input-group-lg":"lg"===t.size}))),r=(0,a.Fl)((()=>!!t.append||!!t.appendHtml)),s=(0,a.Fl)((()=>!!t.prepend||!!t.prependHtml));return(t,l)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,class:(0,o.C_)(["input-group",(0,i.SU)(n)]),role:"group"},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"prepend",{},(()=>[(0,i.SU)(s)?((0,a.wg)(),(0,a.iD)("span",zd,[e.prependHtml?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.prependHtml},null,8,Hd)):((0,a.wg)(),(0,a.iD)("span",Bd,(0,o.zw)(e.prepend),1))])):(0,a.kq)("",!0)])),(0,a.WI)(t.$slots,"default"),(0,a.WI)(t.$slots,"append",{},(()=>[(0,i.SU)(r)?((0,a.wg)(),(0,a.iD)("span",Wd,[e.appendHtml?((0,a.wg)(),(0,a.iD)("span",{key:0,innerHTML:e.appendHtml},null,8,$d)):((0,a.wg)(),(0,a.iD)("span",qd,(0,o.zw)(e.append),1))])):(0,a.kq)("",!0)]))])),_:3},8,["id","class"]))}}),Zd=(0,a.aZ)({__name:"BInputGroupText",props:{tag:{default:"div"},text:null},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:"input-group-text"},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))])),_:3}))}}),Gd=(0,a.aZ)({__name:"BInputGroupAddon",props:{isText:{default:!1}},setup(e){const t=Us((0,i.Vh)(e,"isText"));return(e,n)=>(0,i.SU)(t)?((0,a.wg)(),(0,a.j4)(Zd,{key:0},{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3})):(0,a.WI)(e.$slots,"default",{key:1})}}),Xd=(0,a.aZ)({__name:"BInputGroupAppend",props:{isText:{default:!1}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)(Gd,{"is-text":e.isText},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},8,["is-text"]))}}),Kd=(0,a.aZ)({__name:"BInputGroupPrepend",props:{isText:{default:!1}},setup(e){return(t,n)=>((0,a.wg)(),(0,a.j4)(Gd,{"is-text":e.isText},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},8,["is-text"]))}}),Jd=Symbol(),Qd=(0,a.aZ)({__name:"BListGroup",props:{flush:{default:!1},horizontal:{type:[Boolean,String],default:!1},numbered:{default:!1},tag:{default:"div"}},setup(e){const t=e,n=Us((0,i.Vh)(t,"flush")),r=Us((0,i.Vh)(t,"numbered")),s=(0,a.Fl)((()=>{const e=!n.value&&t.horizontal;return{"list-group-flush":n.value,"list-group-horizontal":!0===e,[`list-group-horizontal-${e}`]:"string"==typeof e,"list-group-numbered":r.value}})),l=(0,a.Fl)((()=>!0===r.value?"ol":t.tag));return(0,a.JJ)(Jd,{numbered:r.value}),(e,t)=>((0,a.wg)(),(0,a.j4)((0,a.LL)((0,i.SU)(l)),{class:(0,o.C_)(["list-group",(0,i.SU)(s)])},{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},8,["class"]))}}),eh=(0,a.aZ)({__name:"BListGroupItem",props:{action:{default:!1},active:{default:!1},button:{default:!1},disabled:{default:!1},href:null,tag:{default:"div"},target:{default:"_self"},to:null,variant:null},setup(e){const t=e,n=(0,a.l1)(),r=(0,a.f3)(Jd,null),o=Us((0,i.Vh)(t,"action")),s=Us((0,i.Vh)(t,"active")),l=Us((0,i.Vh)(t,"button")),c=Us((0,i.Vh)(t,"disabled")),u=(0,a.Fl)((()=>!l.value&&(!!t.href||!!t.to))),d=(0,a.Fl)((()=>null!=r&&r.numbered?"li":l.value?"button":u.value?Hl:t.tag)),h=(0,a.Fl)((()=>o.value||u.value||l.value||["a","router-link","button","b-link"].includes(t.tag))),p=(0,a.Fl)((()=>({[`list-group-item-${t.variant}`]:void 0!==t.variant,"list-group-item-action":h.value,active:s.value,disabled:c.value}))),f=(0,a.Fl)((()=>{const e={};return l.value&&((!n||!n.type)&&(e.type="button"),c.value&&(e.disabled=!0)),e}));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)((0,i.SU)(d)),(0,a.dG)({class:["list-group-item",(0,i.SU)(p)],"aria-current":!!(0,i.SU)(s)||void 0,"aria-disabled":!!(0,i.SU)(c)||void 0,target:(0,i.SU)(u)?e.target:void 0,href:(0,i.SU)(l)?void 0:e.href,to:(0,i.SU)(l)?void 0:e.to},(0,i.SU)(f)),{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},16,["class","aria-current","aria-disabled","target","href","to"]))}}),th=["id","aria-labelledby","aria-describedby"],nh=["id"],rh={inheritAttrs:!1},ih=(0,a.aZ)({...rh,__name:"BModal",props:{bodyBgVariant:null,bodyClass:null,bodyTextVariant:null,busy:{default:!1},lazy:{default:!1},buttonSize:{default:"md"},cancelDisabled:{default:!1},cancelTitle:{default:"Cancel"},cancelVariant:{default:"secondary"},centered:{default:!1},contentClass:null,dialogClass:null,footerBgVariant:null,footerBorderVariant:null,footerClass:null,footerTextVariant:null,fullscreen:{type:[Boolean,String],default:!1},headerBgVariant:null,headerBorderVariant:null,headerClass:null,headerCloseLabel:{default:"Close"},headerCloseWhite:{default:!1},headerTextVariant:null,hideBackdrop:{default:!1},hideFooter:{default:!1},hideHeader:{default:!1},hideHeaderClose:{default:!1},id:null,modalClass:null,modelValue:{default:!1},noCloseOnBackdrop:{default:!1},noCloseOnEsc:{default:!1},noFade:{default:!1},noFocus:{default:!1},okDisabled:{default:!1},okOnly:{default:!1},okTitle:{default:"Ok"},okVariant:{default:"primary"},scrollable:{default:!1},show:{default:!1},size:null,title:null,titleClass:null,titleSrOnly:{default:!1},titleTag:{default:"h5"},static:{default:!1}},emits:["update:modelValue","show","shown","hide","hidden","hide-prevented","show-prevented","ok","cancel","close"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),l=Xs((0,i.Vh)(n,"id"),"modal"),c=Us((0,i.Vh)(n,"busy")),u=Us((0,i.Vh)(n,"lazy")),d=Us((0,i.Vh)(n,"cancelDisabled")),h=Us((0,i.Vh)(n,"centered")),p=Us((0,i.Vh)(n,"hideBackdrop")),f=Us((0,i.Vh)(n,"hideFooter")),g=Us((0,i.Vh)(n,"hideHeader")),m=Us((0,i.Vh)(n,"hideHeaderClose")),v=Us((0,i.Vh)(n,"modelValue")),y=Us((0,i.Vh)(n,"noCloseOnBackdrop")),b=Us((0,i.Vh)(n,"noCloseOnEsc")),x=Us((0,i.Vh)(n,"noFade")),w=Us((0,i.Vh)(n,"noFocus")),S=Us((0,i.Vh)(n,"okDisabled")),k=Us((0,i.Vh)(n,"okOnly")),_=Us((0,i.Vh)(n,"scrollable")),C=Us((0,i.Vh)(n,"titleSrOnly")),E=Us((0,i.Vh)(n,"static")),A=(0,i.iH)(!1),I=(0,i.iH)(null),T=(0,i.iH)(!1),O=(0,a.Fl)((()=>[n.modalClass,{fade:!x.value,show:A.value}])),N=(0,a.Fl)((()=>!ss(r["header-close"]))),D=(0,a.Fl)((()=>[n.dialogClass,{"modal-fullscreen":!0===n.fullscreen,[`modal-fullscreen-${n.fullscreen}-down`]:"string"==typeof n.fullscreen,[`modal-${n.size}`]:void 0!==n.size,"modal-dialog-centered":h.value,"modal-dialog-scrollable":_.value}])),L=(0,a.Fl)((()=>[n.bodyClass,{[`bg-${n.bodyBgVariant}`]:void 0!==n.bodyBgVariant,[`text-${n.bodyTextVariant}`]:void 0!==n.bodyTextVariant}])),P=(0,a.Fl)((()=>[n.headerClass,{[`bg-${n.headerBgVariant}`]:void 0!==n.headerBgVariant,[`border-${n.headerBorderVariant}`]:void 0!==n.headerBorderVariant,[`text-${n.headerTextVariant}`]:void 0!==n.headerTextVariant}])),F=(0,a.Fl)((()=>[n.footerClass,{[`bg-${n.footerBgVariant}`]:void 0!==n.footerBgVariant,[`border-${n.footerBorderVariant}`]:void 0!==n.footerBorderVariant,[`text-${n.footerTextVariant}`]:void 0!==n.footerTextVariant}])),U=(0,a.Fl)((()=>[n.titleClass,{["visually-hidden"]:C.value}])),M=(0,a.Fl)((()=>d.value||c.value)),R=(0,a.Fl)((()=>S.value||c.value)),j=(e,t={})=>new yo(e,{cancelable:!1,target:I.value||null,relatedTarget:null,trigger:null,...t,componentId:l.value}),V=(e="")=>{const n=j("hide",{cancelable:""!==e,trigger:e});if("ok"===e&&t(e,n),"cancel"===e&&t(e,n),"close"===e&&t(e,n),t("hide",n),n.defaultPrevented||"backdrop"===e&&y.value||"esc"===e&&b.value)return t("update:modelValue",!0),void t("hide-prevented");t("update:modelValue",!1)},z=()=>{const e=j("show",{cancelable:!0});if(t("show",e),e.defaultPrevented)return t("update:modelValue",!1),void t("show-prevented");t("update:modelValue",!0)},H=()=>z(),B=()=>{A.value=!0,t("shown",j("shown")),!0===u.value&&(T.value=!0)},W=()=>{A.value=!1},$=()=>{t("hidden",j("hidden")),!0===u.value&&(T.value=!1)};return(0,a.YP)((()=>v.value),(e=>{!0===e&&!w.value&&(0,a.Y3)((()=>{null!==I.value&&I.value.focus()}))})),(t,n)=>((0,a.wg)(),(0,a.j4)(a.lR,{to:"body",disabled:(0,i.SU)(E)},[(0,a.Wm)(Qc,{"no-fade":!0,"trans-props":{enterToClass:"show"},onBeforeEnter:H,onAfterEnter:B,onLeave:W,onAfterLeave:$},{default:(0,a.w5)((()=>[(0,a.wy)((0,a._)("div",(0,a.dG)({id:(0,i.SU)(l),ref_key:"element",ref:I,class:["modal",(0,i.SU)(O)],role:"dialog","aria-labelledby":`${(0,i.SU)(l)}-label`,"aria-describedby":`${(0,i.SU)(l)}-body`,tabindex:"-1"},t.$attrs,{onKeyup:n[5]||(n[5]=(0,s.D2)((e=>V("esc")),["esc"]))}),[(0,a._)("div",{class:(0,o.C_)(["modal-dialog",(0,i.SU)(D)])},[!(0,i.SU)(u)||(0,i.SU)(u)&&T.value||(0,i.SU)(u)&&!0===(0,i.SU)(v)?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["modal-content",e.contentClass])},[(0,i.SU)(g)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["modal-header",(0,i.SU)(P)])},[(0,a.WI)(t.$slots,"header",{},(()=>[((0,a.wg)(),(0,a.j4)((0,a.LL)(e.titleTag),{id:`${(0,i.SU)(l)}-label`,class:(0,o.C_)(["modal-title",(0,i.SU)(U)])},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"title",{},(()=>[(0,a.Uk)((0,o.zw)(e.title),1)]),!0)])),_:3},8,["id","class"])),(0,i.SU)(m)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,i.SU)(N)?((0,a.wg)(),(0,a.iD)("button",{key:0,type:"button",onClick:n[0]||(n[0]=e=>V("close"))},[(0,a.WI)(t.$slots,"header-close",{},void 0,!0)])):((0,a.wg)(),(0,a.j4)(Tl,{key:1,"aria-label":e.headerCloseLabel,white:e.headerCloseWhite,onClick:n[1]||(n[1]=e=>V("close"))},null,8,["aria-label","white"]))],64))]),!0)],2)),(0,a._)("div",{id:`${(0,i.SU)(l)}-body`,class:(0,o.C_)(["modal-body",(0,i.SU)(L)])},[(0,a.WI)(t.$slots,"default",{},void 0,!0)],10,nh),(0,i.SU)(f)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,o.C_)(["modal-footer",(0,i.SU)(F)])},[(0,a.WI)(t.$slots,"footer",{},(()=>[(0,a.WI)(t.$slots,"cancel",{},(()=>[(0,i.SU)(k)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(ic,{key:0,type:"button",class:"btn",disabled:(0,i.SU)(M),size:e.buttonSize,variant:e.cancelVariant,onClick:n[2]||(n[2]=e=>V("cancel"))},{default:(0,a.w5)((()=>[(0,a.Uk)((0,o.zw)(e.cancelTitle),1)])),_:1},8,["disabled","size","variant"]))]),!0),(0,a.WI)(t.$slots,"ok",{},(()=>[(0,a.Wm)(ic,{type:"button",class:"btn",disabled:(0,i.SU)(R),size:e.buttonSize,variant:e.okVariant,onClick:n[3]||(n[3]=e=>V("ok"))},{default:(0,a.w5)((()=>[(0,a.Uk)((0,o.zw)(e.okTitle),1)])),_:1},8,["disabled","size","variant"])]),!0)]),!0)],2))],2)):(0,a.kq)("",!0)],2),(0,i.SU)(p)?(0,a.kq)("",!0):(0,a.WI)(t.$slots,"backdrop",{key:0},(()=>[(0,a._)("div",{class:"modal-backdrop fade show",onClick:n[4]||(n[4]=e=>V("backdrop"))})]),!0)],16,th),[[s.F8,(0,i.SU)(v)]])])),_:3})],8,["disabled"]))}}),ah=Vl(ih,[["__scopeId","data-v-05140552"]]),oh=(0,a.aZ)({__name:"BNav",props:{align:null,cardHeader:{default:!1},fill:{default:!1},justified:{default:!1},pills:{default:!1},small:{default:!1},tabs:{default:!1},tag:{default:"ul"},vertical:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"cardHeader")),r=Us((0,i.Vh)(t,"fill")),s=Us((0,i.Vh)(t,"justified")),l=Us((0,i.Vh)(t,"pills")),c=Us((0,i.Vh)(t,"small")),u=Us((0,i.Vh)(t,"tabs")),d=Us((0,i.Vh)(t,"vertical")),h=mo((0,i.Vh)(t,"align")),p=(0,a.Fl)((()=>({"nav-tabs":u.value,"nav-pills":l.value&&!u.value,"card-header-tabs":!d.value&&n.value&&u.value,"card-header-pills":!d.value&&n.value&&l.value&&!u.value,"flex-column":d.value,"nav-fill":!d.value&&r.value,"nav-justified":!d.value&&s.value,[h.value]:!d.value&&void 0!==t.align,small:c.value})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["nav",(0,i.SU)(p)])},{default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default")])),_:3},8,["class"]))}}),sh=(0,a.aZ)({__name:"BNavForm",props:{role:null,id:null,floating:{default:!1},novalidate:{default:!1},validated:{default:!1}},emits:["submit"],setup(e,{emit:t}){const n=e,r=(0,a.Fl)((()=>({floating:n.floating,role:n.role,id:n.id,novalidate:n.novalidate,validated:n.validated}))),o=e=>t("submit",e);return(e,t)=>((0,a.wg)(),(0,a.j4)(Du,(0,a.dG)((0,i.SU)(r),{class:"d-flex",onSubmit:(0,s.iM)(o,["prevent"])}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16,["onSubmit"]))}}),lh=(0,a.aZ)({components:{BLink:Hl},props:{...Ts(Rl,["event","routerTag"])},setup(e){return{disabledBoolean:Us((0,i.Vh)(e,"disabled"))}}}),ch={class:"nav-item"};function uh(e,t,n,r,i,o){const s=(0,a.up)("b-link");return(0,a.wg)(),(0,a.iD)("li",ch,[(0,a.Wm)(s,(0,a.dG)({class:"nav-link"},e.$props,{"active-class":"active",tabindex:e.disabledBoolean?-1:void 0,"aria-disabled":!!e.disabledBoolean||void 0}),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16,["tabindex","aria-disabled"])])}const dh=Vl(lh,[["render",uh]]),hh={class:"nav-item dropdown"},ph=(0,a.aZ)({__name:"BNavItemDropdown",props:{id:null,text:null,toggleClass:null,size:null,offset:null,autoClose:{type:[Boolean,String],default:!0},dark:{type:Boolean,default:!1},dropleft:{type:Boolean,default:!1},dropright:{type:Boolean,default:!1},dropup:{type:Boolean,default:!1},right:{type:Boolean,default:!1},left:{type:[Boolean,String],default:!1},split:{type:Boolean,default:!1},splitVariant:null,noCaret:{type:Boolean,default:!1},variant:{default:"link"}},setup(e){const t=e;return(e,n)=>((0,a.wg)(),(0,a.iD)("li",hh,[(0,a.Wm)(su,(0,a.dG)(t,{"is-nav":""}),(0,a.Nv)({_:2},[(0,a.Ko)(e.$slots,((t,n,r)=>({name:n,fn:(0,a.w5)((t=>[(0,a.WI)(e.$slots,n,(0,o.vs)((0,a.F4)(t||{})))]))})))]),1040)]))}}),fh={class:"navbar-text"},gh=(0,a.aZ)({__name:"BNavText",props:{text:null},setup(e){return(t,n)=>((0,a.wg)(),(0,a.iD)("li",fh,[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.text),1)]))]))}}),mh=(0,a.aZ)({__name:"BNavbar",props:{fixed:null,print:{default:!1},sticky:null,tag:{default:"nav"},toggleable:{type:[Boolean,String],default:!1},dark:{default:!1},variant:null,container:{type:[String,Boolean],default:"fluid"}},setup(e){const t=e,n=Us((0,i.Vh)(t,"print")),r=Us((0,i.Vh)(t,"dark")),s=(0,a.Fl)((()=>"nav"===t.tag?void 0:"navigation")),l=(0,a.Fl)((()=>"string"==typeof t.toggleable?`navbar-expand-${t.toggleable}`:!1===t.toggleable?"navbar-expand":void 0)),c=(0,a.Fl)((()=>!0===t.container?"container":"container-fluid")),u=(0,a.Fl)((()=>({"d-print":n.value,[`sticky-${t.sticky}`]:void 0!==t.sticky,"navbar-dark":r.value,[`bg-${t.variant}`]:void 0!==t.variant,[`fixed-${t.fixed}`]:void 0!==t.fixed,[`${l.value}`]:void 0!==l.value})));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["navbar",(0,i.SU)(u)]),role:(0,i.SU)(s)},{default:(0,a.w5)((()=>[!1!==e.container?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)((0,i.SU)(c))},[(0,a.WI)(t.$slots,"default")],2)):(0,a.WI)(t.$slots,"default",{key:1})])),_:3},8,["class","role"]))}}),vh=Ts(Rl,["event","routerTag"]),yh=(0,a.aZ)({components:{BLink:Hl},props:{tag:{type:String,default:"div"},...vh},setup(e){const t=(0,a.Fl)((()=>Fs(e))),n=(0,a.Fl)((()=>t.value?Hl:e.tag));return{computedLinkProps:(0,a.Fl)((()=>t.value?Ls(e,vh):{})),computedTag:n}}});function bh(e,t,n,r,i,o){return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.computedTag),(0,a.dG)({class:"navbar-brand"},e.computedLinkProps),{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},16)}const xh=Vl(yh,[["render",bh]]),wh=(0,a.aZ)({__name:"BNavbarNav",props:{align:null,fill:{default:!1},justified:{default:!1},small:{default:!1},tag:{default:"ul"}},setup(e){const t=e,n=Us((0,i.Vh)(t,"fill")),r=Us((0,i.Vh)(t,"justified")),s=Us((0,i.Vh)(t,"small")),l=mo((0,i.Vh)(t,"align")),c=(0,a.Fl)((()=>({"nav-fill":n.value,"nav-justified":r.value,[l.value]:void 0!==t.align,small:s.value})));return(e,t)=>((0,a.wg)(),(0,a.iD)("ul",{class:(0,o.C_)(["navbar-nav",(0,i.SU)(c)])},[(0,a.WI)(e.$slots,"default")],2))}}),Sh=(0,a._)("span",{class:"navbar-toggler-icon"},null,-1),kh=(0,a.aZ)({__name:"BNavbarToggle",props:{disabled:{default:!1},label:{default:"Toggle navigation"},target:null},emits:["click"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"disabled")),o=(0,a.Fl)((()=>({disabled:r.value,"aria-label":n.label}))),s=(0,a.Fl)((()=>({disabled:r.value}))),l=e=>{r.value||t("click",e)};return(t,n)=>(0,a.wy)(((0,a.wg)(),(0,a.iD)("button",(0,a.dG)({class:["navbar-toggler",(0,i.SU)(s)],type:"button"},(0,i.SU)(o),{onClick:l}),[(0,a.WI)(t.$slots,"default",{},(()=>[Sh]))],16)),[[(0,i.SU)(ul),(0,i.SU)(r)?void 0:e.target]])}}),_h=["data-bs-backdrop","data-bs-scroll"],Ch={key:0,class:"offcanvas-header"},Eh={id:"offcanvasLabel",class:"offcanvas-title"},Ah={class:"offcanvas-body"},Ih={key:1},Th=(0,a.aZ)({__name:"BOffcanvas",props:{dismissLabel:{default:"Close"},modelValue:{default:!1},bodyScrolling:{default:!1},backdrop:{default:!0},placement:{default:"start"},title:null,noHeaderClose:{default:!1},noHeader:{default:!1}},emits:["update:modelValue","show","shown","hide","hidden"],setup(e,{emit:t}){const n=e,r=Us((0,i.Vh)(n,"modelValue")),s=Us((0,i.Vh)(n,"bodyScrolling")),l=Us((0,i.Vh)(n,"backdrop")),c=Us((0,i.Vh)(n,"noHeaderClose")),u=Us((0,i.Vh)(n,"noHeader")),d=(0,a.Rr)(),h=(0,i.iH)(),p=(0,i.iH)(),f=(0,a.Fl)((()=>!ss(d.footer))),g=(0,a.Fl)((()=>[`offcanvas-${n.placement}`])),m=()=>{t("show"),t("update:modelValue",!0)},v=()=>{t("hide"),t("update:modelValue",!1)};return(0,a.YP)((()=>r.value),(e=>{var t,n;e?null==(t=p.value)||t.show(h.value):null==(n=p.value)||n.hide()})),zs(h,"shown.bs.offcanvas",(()=>t("shown"))),zs(h,"hidden.bs.offcanvas",(()=>t("hidden"))),zs(h,"show.bs.offcanvas",(()=>{m()})),zs(h,"hide.bs.offcanvas",(()=>{v()})),(0,a.bv)((()=>{var e;p.value=new si(h.value),r.value&&(null==(e=p.value)||e.show(h.value))})),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{ref_key:"element",ref:h,class:(0,o.C_)(["offcanvas",(0,i.SU)(g)]),tabindex:"-1","aria-labelledby":"offcanvasLabel","data-bs-backdrop":(0,i.SU)(l),"data-bs-scroll":(0,i.SU)(s)},[(0,i.SU)(u)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Ch,[(0,a.WI)(t.$slots,"header",(0,o.vs)((0,a.F4)({visible:(0,i.SU)(r),placement:e.placement,hide:v})),(()=>[(0,a._)("h5",Eh,[(0,a.WI)(t.$slots,"title",{},(()=>[(0,a.Uk)((0,o.zw)(e.title),1)]))]),(0,i.SU)(c)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.j4)(Tl,{key:0,class:"text-reset","data-bs-dismiss":"offcanvas","aria-label":e.dismissLabel},null,8,["aria-label"]))]))])),(0,a._)("div",Ah,[(0,a.WI)(t.$slots,"default")]),(0,i.SU)(f)?((0,a.wg)(),(0,a.iD)("div",Ih,[(0,a.WI)(t.$slots,"footer",(0,o.vs)((0,a.F4)({visible:(0,i.SU)(r),placement:e.placement,hide:v})))])):(0,a.kq)("",!0)],10,_h))}}),Oh=(0,a.aZ)({__name:"BOverlay",props:{bgColor:null,blur:{default:"2px"},fixed:{default:!1},noCenter:{default:!1},noFade:{default:!1},noWrap:{default:!1},opacity:{default:.85},overlayTag:{default:"div"},rounded:{type:[Boolean,String],default:!1},show:{default:!1},spinnerSmall:{default:!1},spinnerType:{default:"border"},spinnerVariant:null,variant:{default:"light"},wrapTag:{default:"div"},zIndex:{default:10}},emits:["click","hidden","shown"],setup(e,{emit:t}){const n=e,r={top:0,left:0,bottom:0,right:0},s=Us((0,i.Vh)(n,"fixed")),l=Us((0,i.Vh)(n,"noCenter")),c=Us((0,i.Vh)(n,"noWrap")),u=Us((0,i.Vh)(n,"show")),d=Us((0,i.Vh)(n,"spinnerSmall")),h=(0,a.Fl)((()=>!0===n.rounded||""===n.rounded?"rounded":!1===n.rounded?"":`rounded-${n.rounded}`)),p=(0,a.Fl)((()=>n.variant&&!n.bgColor?`bg-${n.variant}`:"")),f=(0,a.Fl)((()=>u.value?"true":null)),g=(0,a.Fl)((()=>({type:n.spinnerType||void 0,variant:n.spinnerVariant||void 0,small:d.value}))),m=(0,a.Fl)((()=>({...r,zIndex:n.zIndex||10}))),v=(0,a.Fl)((()=>["b-overlay",{"position-absolute":!c.value||!s.value,"position-fixed":c.value&&s.value}])),y=(0,a.Fl)((()=>[p.value,h.value])),b=(0,a.Fl)((()=>({...r,opacity:n.opacity,backgroundColor:n.bgColor||void 0,backdropFilter:blur?`blur(${blur})`:void 0}))),x=(0,a.Fl)((()=>l.value?r:{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}));return(n,r)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.wrapTag),{class:"b-overlay-wrap position-relative","aria-busy":(0,i.SU)(f)},{default:(0,a.w5)((()=>[(0,a.WI)(n.$slots,"default"),(0,a.Wm)(Qc,{"no-fade":e.noFade,"trans-props":{enterToClass:"show"},name:"fade",onOnAfterEnter:r[1]||(r[1]=e=>t("shown")),onOnAfterLeave:r[2]||(r[2]=e=>t("hidden"))},{default:(0,a.w5)((()=>[(0,i.SU)(u)?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.overlayTag),{key:0,class:(0,o.C_)((0,i.SU)(v)),style:(0,o.j5)((0,i.SU)(m)),onClick:r[0]||(r[0]=e=>t("click",e))},{default:(0,a.w5)((()=>[(0,a._)("div",{class:(0,o.C_)(["position-absolute",(0,i.SU)(y)]),style:(0,o.j5)((0,i.SU)(b))},null,6),(0,a._)("div",{class:"position-absolute",style:(0,o.j5)((0,i.SU)(x))},[(0,a.WI)(n.$slots,"overlay",(0,o.vs)((0,a.F4)((0,i.SU)(g))),(()=>[(0,a.Wm)(tc,(0,o.vs)((0,a.F4)((0,i.SU)(g))),null,16)]))],4)])),_:3},8,["class","style"])):(0,a.kq)("",!0)])),_:3},8,["no-fade"])])),_:3},8,["aria-busy"]))}}),Nh=5,Dh=20,Lh=0,Ph=3,Fh="ellipsis-text",Uh="first-text",Mh="last-text",Rh="next-text",jh="page",Vh="prev-text",zh=e=>Math.max(Es(e)||Dh,1),Hh=e=>Math.max(Es(e)||Lh,0),Bh=(e,t)=>{const n=Es(e)||1;return n>t?t:n<1?1:n},Wh=(0,a.aZ)({name:"BPagination",props:{align:{type:String,default:"start"},ariaControls:{type:String,required:!1},ariaLabel:{type:String,default:"Pagination"},disabled:{type:[Boolean,String],default:!1},ellipsisClass:{type:[Array,String],default:()=>[]},ellipsisText:{type:String,default:"…"},firstClass:{type:[Array,String],default:()=>[]},firstNumber:{type:[Boolean,String],default:!1},firstText:{type:String,default:"«"},hideEllipsis:{type:[Boolean,String],default:!1},hideGotoEndButtons:{type:[Boolean,String],default:!1},labelFirstPage:{type:String,default:"Go to first page"},labelLastPage:{type:String,default:"Go to last page"},labelNextPage:{type:String,default:"Go to next page"},labelPage:{type:String,default:"Go to page"},labelPrevPage:{type:String,default:"Go to previous page"},lastClass:{type:[Array,String],default:()=>[]},lastNumber:{type:[Boolean,String],default:!1},lastText:{type:String,default:"»"},limit:{type:Number,default:Nh},modelValue:{type:Number,default:1},nextClass:{type:[Array,String],default:()=>[]},nextText:{type:String,default:"›"},pageClass:{type:[Array,String],default:()=>[]},perPage:{type:Number,default:Dh},pills:{type:[Boolean,String],default:!1},prevClass:{type:[Array,String],default:()=>[]},prevText:{type:String,default:"‹"},size:{type:String,required:!1},totalRows:{type:Number,default:Lh}},emits:["update:modelValue","page-click"],setup(e,{emit:t,slots:n}){const r=Us((0,i.Vh)(e,"disabled")),o=Us((0,i.Vh)(e,"firstNumber")),s=Us((0,i.Vh)(e,"hideEllipsis")),l=Us((0,i.Vh)(e,"hideGotoEndButtons")),c=Us((0,i.Vh)(e,"lastNumber")),u=Us((0,i.Vh)(e,"pills")),d=(0,a.Fl)((()=>"fill"===e.align?"start":e.align)),h=mo((0,i.Vh)(d,"value")),p=(0,a.Fl)((()=>Math.ceil(Hh(e.totalRows)/zh(e.perPage)))),f=(0,a.Fl)((()=>{let t;return t=p.value-e.modelValue+2Ph?p.value-m.value+1:e.modelValue-Math.floor(m.value/2),t<1?t=1:t>p.value-m.value&&(t=p.value-m.value+1),e.limit<=Ph&&c.value&&p.value===t+m.value-1&&(t=Math.max(t-1,1)),t})),g=(0,a.Fl)((()=>{const t=p.value-e.modelValue;let n=!1;return t+2Ph?e.limit>Ph&&(n=!0):e.limit>Ph&&(n=!(s.value&&!o.value)),f.value<=1&&(n=!1),n&&o.value&&f.value<4&&(n=!1),n})),m=(0,a.Fl)((()=>{let t=e.limit;return p.value<=e.limit?t=p.value:e.modelValuePh?((!s.value||c.value)&&(t=e.limit-(o.value?0:1)),t=Math.min(t,e.limit)):p.value-e.modelValue+2Ph?(!s.value||o.value)&&(t=e.limit-(c.value?0:1)):e.limit>Ph&&(t=e.limit-(s.value?0:2)),t})),v=(0,a.Fl)((()=>{const t=p.value-m.value;let n=!1;e.modelValuePh?(!s.value||c.value)&&(n=!0):e.limit>Ph&&(n=!(s.value&&!c.value)),f.value>t&&(n=!1);const r=f.value+m.value-1;return n&&c.value&&r>p.value-3&&(n=!1),n})),y=(0,i.qj)({pageSize:zh(e.perPage),totalRows:Hh(e.totalRows),numberOfPages:p.value}),b=(n,r)=>{if(r===e.modelValue)return;const{target:i}=n,a=new vo("page-click",{cancelable:!0,target:i});t("page-click",a,r),!a.defaultPrevented&&t("update:modelValue",r)},x=(0,a.Fl)((()=>e.size?`pagination-${e.size}`:"")),w=(0,a.Fl)((()=>u.value?"b-pagination-pills":""));(0,a.YP)((()=>e.modelValue),(n=>{const r=Bh(n,p.value);r!==e.modelValue&&t("update:modelValue",r)})),(0,a.YP)(y,((n,r)=>{null!=n&&(r.pageSize!==n.pageSize&&r.totalRows===n.totalRows||r.numberOfPages!==n.numberOfPages&&e.modelValue>r.numberOfPages)&&t("update:modelValue",1)}));const S=(0,a.Fl)((()=>{const e=[];for(let t=0;t{const t=[],i=S.value.map((e=>e.number)),s=t=>t===e.modelValue,u=e.modelValue<1,d="fill"===e.align,f=(t,i,o,l,c,h)=>{const f=r.value||s(h)||u||t<1||t>p.value,g=t<1?1:t>p.value?p.value:t,m={disabled:f,page:g,index:g-1},v=Cs(o,m,n)||l||"";return(0,a.h)("li",{class:["page-item",{disabled:f,"flex-fill":d,"d-flex":d&&!f},c]},(0,a.h)(f?"span":"button",{class:["page-link",{"flex-grow-1":!f&&d}],"aria-label":i,"aria-controls":e.ariaControls||null,"aria-disabled":f?"true":null,role:"menuitem",type:f?null:"button",tabindex:f?null:"-1",onClick:e=>{f||b(e,g)}},v))},m=t=>(0,a.h)("li",{class:["page-item","disabled","bv-d-xs-down-none",d?"flex-fill":"",e.ellipsisClass],role:"separator",key:"ellipsis-"+(t?"last":"first")},[(0,a.h)("span",{class:["page-link"]},Cs(Fh,{},n)||e.ellipsisText||"...")]),y=(t,i)=>{const o=s(t.number)&&!u,l=r.value?null:o||u&&0===i?"0":"-1",c={active:o,disabled:r.value,page:t.number,index:t.number-1,content:t.number},h=Cs(jh,c,n)||t.number,p=(0,a.h)(r.value?"span":"button",{class:["page-link",{"flex-grow-1":!r.value&&d}],"aria-controls":e.ariaControls||null,"aria-disabled":r.value?"true":null,"aria-label":e.labelPage?`${e.labelPage} ${t.number}`:null,role:"menuitemradio",type:r.value?null:"button",tabindex:l,onClick:e=>{r.value||b(e,t.number)}},h);return(0,a.h)("li",{class:["page-item",{disabled:r.value,active:o,"flex-fill":d,"d-flex":d&&!r.value},e.pageClass],role:"presentation",key:`page-${t.number}`},p)};if(!l.value&&!o.value){const n=f(1,e.labelFirstPage,Uh,e.firstText,e.firstClass,1);t.push(n)}const k=f(e.modelValue-1,e.labelFirstPage,Vh,e.prevText,e.prevClass,1);t.push(k),o.value&&1!==i[0]&&t.push(y({number:1},0)),g.value&&t.push(m(!1)),S.value.forEach(((e,n)=>{const r=g.value&&o.value&&1!==i[0]?1:0;t.push(y(e,n+r))})),v.value&&t.push(m(!0)),c.value&&i[i.length-1]!==p.value&&t.push(y({number:p.value},-1));const _=f(e.modelValue+1,e.labelNextPage,Rh,e.nextText,e.nextClass,p.value);if(t.push(_),!c.value&&!l.value){const n=f(p.value,e.labelLastPage,Mh,e.lastText,e.lastClass,p.value);t.push(n)}return(0,a.h)("ul",{class:["pagination",x.value,h.value,w.value],role:"menubar","aria-disabled":r.value,"aria-label":e.ariaLabel||null},t)}}}),$h=(0,a.aZ)({__name:"BPlaceholder",props:{tag:{default:"span"},width:null,cols:null,variant:null,size:null,animation:null},setup(e){const t=e,n=(0,a.Fl)((()=>void 0===t.width?void 0:"number"==typeof t.width?t.width.toString():t.width.includes("%")?t.width.replaceAll("%",""):t.width)),r=(0,a.Fl)((()=>void 0===t.cols?void 0:"number"==typeof t.cols?t.cols.toString():t.cols)),s=(0,a.Fl)((()=>({[`col-${r.value}`]:void 0!==r.value&&void 0===n.value,[`bg-${t.variant}`]:void 0!==t.variant,[`placeholder-${t.size}`]:void 0!==t.size,[`placeholder-${t.animation}`]:void 0!==t.animation}))),l=(0,a.Fl)((()=>void 0===n.value?void 0:`width: ${n.value}%;`));return(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["placeholder",(0,i.SU)(s)]),style:(0,o.j5)((0,i.SU)(l))},null,8,["class","style"]))}}),qh=(0,a.aZ)({__name:"BPlaceholderButton",props:{tag:{default:"div"},width:null,cols:null,variant:{default:"primary"},animation:null},setup(e){const t=e,n=(0,a.Fl)((()=>["btn",`btn-${t.variant}`,"disabled"])),r=(0,a.Fl)((()=>({animation:t.animation,width:t.width,cols:t.cols,tag:t.tag})));return(e,t)=>((0,a.wg)(),(0,a.j4)($h,(0,a.dG)({class:(0,i.SU)(n)},(0,i.SU)(r)),null,16,["class"]))}}),Yh=(0,a.aZ)({__name:"BPlaceholderCard",props:{noHeader:{default:!1},headerWidth:{default:100},headerVariant:null,headerAnimation:null,headerSize:null,noFooter:{default:!1},footerWidth:{default:100},footerVariant:null,footerAnimation:null,footerSize:null,animation:null,size:null,variant:null,noButton:{default:!1},imgBottom:{default:!1},imgSrc:null,imgBlankColor:{default:"#868e96"},imgHeight:{default:100},noImg:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"noButton")),r=Us((0,i.Vh)(t,"noHeader")),s=Us((0,i.Vh)(t,"noFooter")),l=Us((0,i.Vh)(t,"noImg")),c=(0,a.Fl)((()=>({width:t.headerWidth,variant:t.headerVariant,animation:t.headerAnimation,size:t.headerSize}))),u=(0,a.Fl)((()=>({width:t.footerWidth,animation:t.footerAnimation,size:n.value?t.footerSize:void 0,variant:t.footerVariant}))),d=(0,a.Fl)((()=>({blank:!t.imgSrc,blankColor:t.imgBlankColor,height:t.imgSrc?void 0:t.imgHeight,src:t.imgSrc,top:!t.imgBottom,bottom:t.imgBottom})));return(t,h)=>((0,a.wg)(),(0,a.j4)(vc,{"img-bottom":e.imgBottom},(0,a.Nv)({default:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Wm)($h,{cols:"7"}),(0,a.Wm)($h,{cols:"4"}),(0,a.Wm)($h,{cols:"4"}),(0,a.Wm)($h,{cols:"6"}),(0,a.Wm)($h,{cols:"8"})]))])),_:2},[(0,i.SU)(l)?void 0:{name:"img",fn:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"img",{},(()=>[(0,a.Wm)(cc,(0,o.vs)((0,a.F4)((0,i.SU)(d))),null,16)]))])),key:"0"},(0,i.SU)(r)?void 0:{name:"header",fn:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"header",{},(()=>[(0,a.Wm)($h,(0,o.vs)((0,a.F4)((0,i.SU)(c))),null,16)]))])),key:"1"},(0,i.SU)(s)?void 0:{name:"footer",fn:(0,a.w5)((()=>[(0,a.WI)(t.$slots,"footer",{},(()=>[(0,i.SU)(n)?((0,a.wg)(),(0,a.j4)($h,(0,o.vs)((0,a.dG)({key:1},(0,i.SU)(u))),null,16)):((0,a.wg)(),(0,a.j4)(qh,(0,o.vs)((0,a.dG)({key:0},(0,i.SU)(u))),null,16))]))])),key:"2"}]),1032,["img-bottom"]))}}),Zh=(0,a.aZ)({__name:"BTableSimple",props:{bordered:{default:!1},borderless:{default:!1},borderVariant:null,captionTop:{default:!1},dark:{default:!1},hover:{default:!1},responsive:{type:[Boolean,String],default:!1},stacked:{type:[Boolean,String],default:!1},striped:{default:!1},small:{default:!1},tableClass:null,tableVariant:null,stickyHeader:{default:!1}},setup(e){const t=e,n=Us((0,i.Vh)(t,"captionTop")),r=Us((0,i.Vh)(t,"borderless")),s=Us((0,i.Vh)(t,"bordered")),l=Us((0,i.Vh)(t,"dark")),c=Us((0,i.Vh)(t,"hover")),u=Us((0,i.Vh)(t,"small")),d=Us((0,i.Vh)(t,"striped")),h=Us((0,i.Vh)(t,"stickyHeader")),p=(0,a.Fl)((()=>["table","b-table",{"table-bordered":s.value,"table-borderless":r.value,[`border-${t.borderVariant}`]:void 0!==t.borderVariant,"caption-top":n.value,"table-dark":l.value,"table-hover":c.value,"b-table-stacked":"boolean"==typeof t.stacked&&t.stacked,[`b-table-stacked-${t.stacked}`]:"string"==typeof t.stacked,"table-striped":d.value,"table-sm":u.value,[`table-${t.tableVariant}`]:void 0!==t.tableVariant},t.tableClass])),f=(0,a.Fl)((()=>[{"table-responsive":!0===t.responsive,[`table-responsive-${t.responsive}`]:"string"==typeof t.responsive,"b-table-sticky-header":h.value}]));return(t,n)=>e.responsive?((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,o.C_)((0,i.SU)(f))},[(0,a._)("table",{role:"table",class:(0,o.C_)((0,i.SU)(p))},[(0,a.WI)(t.$slots,"default")],2)],2)):((0,a.wg)(),(0,a.iD)("table",{key:0,role:"table",class:(0,o.C_)((0,i.SU)(p))},[(0,a.WI)(t.$slots,"default")],2))}}),Gh=(0,a.aZ)({__name:"BPlaceholderTable",props:{rows:{default:3},columns:{default:5},cellWidth:{default:100},size:null,animation:null,variant:null,headerColumns:null,hideHeader:{default:!1},headerCellWidth:{default:100},headerSize:null,headerAnimation:null,headerVariant:null,footerColumns:null,showFooter:{default:!1},footerCellWidth:{default:100},footerSize:null,footerAnimation:null,footerVariant:null},setup(e){const t=e,n=(0,a.Fl)((()=>"string"==typeof t.columns?As(t.columns,5):t.columns)),r=(0,a.Fl)((()=>"string"==typeof t.rows?As(t.rows,3):t.rows)),s=(0,a.Fl)((()=>void 0===t.headerColumns?n.value:"string"==typeof t.headerColumns?As(t.headerColumns,n.value):t.headerColumns)),l=(0,a.Fl)((()=>void 0===t.footerColumns?n.value:"string"==typeof t.footerColumns?As(t.footerColumns,n.value):t.footerColumns)),c=(0,a.Fl)((()=>({size:t.size,variant:t.variant,animation:t.animation,width:t.cellWidth}))),u=(0,a.Fl)((()=>({size:t.headerSize,variant:t.headerVariant,animation:t.headerAnimation,width:t.headerCellWidth}))),d=(0,a.Fl)((()=>({size:t.footerSize,variant:t.footerVariant,animation:t.footerAnimation,width:t.footerCellWidth}))),h=Us((0,i.Vh)(t,"hideHeader")),p=Us((0,i.Vh)(t,"showFooter"));return(e,t)=>((0,a.wg)(),(0,a.j4)(Zh,null,{default:(0,a.w5)((()=>[(0,i.SU)(h)?(0,a.kq)("",!0):(0,a.WI)(e.$slots,"thead",{key:0},(()=>[(0,a._)("thead",null,[(0,a._)("tr",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(s),((e,t)=>((0,a.wg)(),(0,a.iD)("th",{key:t},[(0,a.Wm)($h,(0,o.vs)((0,a.F4)((0,i.SU)(u))),null,16)])))),128))])])])),(0,a.WI)(e.$slots,"default",{},(()=>[(0,a._)("tbody",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(r),((e,t)=>((0,a.wg)(),(0,a.iD)("tr",{key:t},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(n),((e,t)=>((0,a.wg)(),(0,a.iD)("td",{key:t},[(0,a.Wm)($h,(0,o.vs)((0,a.F4)((0,i.SU)(c))),null,16)])))),128))])))),128))])])),(0,i.SU)(p)?(0,a.WI)(e.$slots,"tfoot",{key:1},(()=>[(0,a._)("tfoot",null,[(0,a._)("tr",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(l),((e,t)=>((0,a.wg)(),(0,a.iD)("th",{key:t},[(0,a.Wm)($h,(0,o.vs)((0,a.F4)((0,i.SU)(d))),null,16)])))),128))])])])):(0,a.kq)("",!0)])),_:3}))}}),Xh=(0,a.aZ)({__name:"BPlaceholderWrapper",props:{loading:{default:!1}},setup(e){const t=Us((0,i.Vh)(e,"loading"));return(e,n)=>(0,i.SU)(t)?(0,a.WI)(e.$slots,"loading",{key:0}):(0,a.WI)(e.$slots,"default",{key:1})}}),Kh=(0,a.aZ)({props:{container:{type:[String,Object],default:"body"},content:{type:String},id:{type:String},customClass:{type:String,default:""},noninteractive:{type:[Boolean,String],default:!1},placement:{type:String,default:"right"},target:{type:[String,Object],default:void 0},title:{type:String},delay:{type:[Number,Object],default:0},triggers:{type:String,default:"click"},show:{type:[Boolean,String],default:!1},variant:{type:String,default:void 0},html:{type:[Boolean,String],default:!0},sanitize:{type:[Boolean,String],default:!1},offset:{type:String,default:"0"}},emits:["show","shown","hide","hidden","inserted"],setup(e,{emit:t,slots:n}){Us((0,i.Vh)(e,"noninteractive"));const r=Us((0,i.Vh)(e,"show")),o=Us((0,i.Vh)(e,"html")),s=Us((0,i.Vh)(e,"sanitize")),l=(0,i.iH)(),c=(0,i.iH)(),u=(0,i.iH)(),d=(0,i.iH)(),h=(0,i.iH)(),p=(0,a.Fl)((()=>({[`b-popover-${e.variant}`]:void 0!==e.variant}))),f=e=>"string"==typeof e||e instanceof HTMLElement?e:typeof e<"u"?e.$el:void 0,g=e=>{if(e){if("string"==typeof e){const t=document.getElementById(e);return t||void 0}return e}},m=t=>{c.value=g(f(t)),c.value&&(u.value=new Ki(c.value,{customClass:e.customClass,container:f(e.container),trigger:e.triggers,placement:e.placement,title:e.title||n.title?d.value:"",content:h.value,html:o.value,delay:e.delay,sanitize:s.value,offset:e.offset}))};return(0,a.YP)((()=>e.target),(e=>{var t;null==(t=u.value)||t.dispose(),m(e)})),(0,a.YP)((()=>r.value),((e,t)=>{var n,r;e!==t&&(e?null==(n=u.value)||n.show():null==(r=u.value)||r.hide())})),zs(c,"show.bs.popover",(()=>t("show"))),zs(c,"shown.bs.popover",(()=>t("shown"))),zs(c,"hide.bs.popover",(()=>t("hide"))),zs(c,"hidden.bs.popover",(()=>t("hidden"))),zs(c,"inserted.bs.popover",(()=>t("inserted"))),(0,a.bv)((()=>{var t,n,i;(0,a.Y3)((()=>{m(e.target)})),null==(n=null==(t=l.value)?void 0:t.parentNode)||n.removeChild(l.value),r.value&&(null==(i=u.value)||i.show())})),(0,a.Jd)((()=>{var e;null==(e=u.value)||e.dispose()})),{element:l,titleRef:d,contentRef:h,computedClasses:p}}}),Jh=["id"],Qh={ref:"titleRef"},ep={ref:"contentRef"};function tp(e,t,n,r,i,s){return(0,a.wg)(),(0,a.iD)("div",{id:e.id,ref:"element",class:(0,o.C_)(["popover b-popover",e.computedClasses]),role:"tooltip",tabindex:"-1"},[(0,a._)("div",Qh,[(0,a.WI)(e.$slots,"title",{},(()=>[(0,a.Uk)((0,o.zw)(e.title),1)]))],512),(0,a._)("div",ep,[(0,a.WI)(e.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(e.content),1)]))],512)],10,Jh)}const np=Vl(Kh,[["render",tp]]),rp=["aria-valuenow","aria-valuemax"],ip=(0,a.aZ)({__name:"BProgressBar",props:{animated:{default:!1},label:null,labelHtml:null,max:null,precision:{default:0},showProgress:{default:!1},showValue:{default:!1},striped:{default:!1},value:{default:0},variant:null},setup(e){const t=e,n=(0,a.f3)(ap),r=Us((0,i.Vh)(t,"animated")),s=Us((0,i.Vh)(t,"showProgress")),l=Us((0,i.Vh)(t,"showValue")),c=Us((0,i.Vh)(t,"striped")),u=(0,a.Fl)((()=>({"progress-bar-animated":r.value||(null==n?void 0:n.animated),"progress-bar-striped":c.value||(null==n?void 0:n.striped)||r.value||(null==n?void 0:n.animated),[`bg-${t.variant}`]:void 0!==t.variant}))),d=(0,a.Fl)((()=>"number"==typeof t.precision?t.precision:Number.parseFloat(t.precision))),h=(0,a.Fl)((()=>"number"==typeof t.value?t.value:Number.parseFloat(t.value))),p=(0,a.Fl)((()=>"number"==typeof t.max?t.max:void 0===t.max?void 0:Number.parseFloat(t.max))),f=(0,a.Fl)((()=>void 0!==t.labelHtml?t.labelHtml:l.value||(null==n?void 0:n.showValue)?h.value.toFixed(d.value):s.value||(null==n?void 0:n.showProgress)?(100*h.value/(p.value||100)).toFixed(d.value):void 0!==t.label?t.label:"")),g=(0,a.Fl)((()=>null!=n&&n.max?100*h.value/("number"==typeof n.max?n.max:Number.parseInt(n.max))+"%":t.max?100*h.value/("number"==typeof t.max?t.max:Number.parseInt(t.max))+"%":"string"==typeof t.value?t.value:`${t.value}%`));return(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)(["progress-bar",(0,i.SU)(u)]),role:"progressbar","aria-valuenow":e.value,"aria-valuemin":"0","aria-valuemax":e.max,style:(0,o.j5)({width:(0,i.SU)(g)})},[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)((0,i.SU)(f)),1)]))],14,rp))}}),ap=Symbol(),op=(0,a.aZ)({__name:"BProgress",props:{variant:null,max:null,height:null,animated:{default:!1},precision:{default:0},showProgress:{default:!1},showValue:{default:!1},striped:{default:!1},value:{default:0}},setup(e){const t=e,n=Us((0,i.Vh)(t,"animated")),r=Us((0,i.Vh)(t,"showProgress")),s=Us((0,i.Vh)(t,"showValue")),l=Us((0,i.Vh)(t,"striped")),c=(0,a.Fl)((()=>({animated:t.animated,max:t.max,precision:t.precision,showProgress:t.showProgress,showValue:t.showValue,striped:t.striped,value:t.value,variant:t.variant})));return(0,a.JJ)(ap,{animated:n.value,max:t.max,showProgress:r.value,showValue:s.value,striped:l.value}),(t,n)=>((0,a.wg)(),(0,a.iD)("div",{class:"progress",style:(0,o.j5)({height:e.height})},[(0,a.WI)(t.$slots,"default",{},(()=>[(0,a.Wm)(ip,(0,o.vs)((0,a.F4)((0,i.SU)(c))),null,16)]))],4))}}),sp=bs("cols",[""],{type:[String,Number],default:null}),lp=(0,a.aZ)({name:"BRow",props:{tag:{type:String,default:"div"},gutterX:{type:String,default:null},gutterY:{type:String,default:null},noGutters:{type:[Boolean,String],default:!1},alignV:{type:String,default:null},alignH:{type:String,default:null},alignContent:{type:String,default:null},...sp},setup(e){const t=Us((0,i.Vh)(e,"noGutters")),n=mo((0,i.Vh)(e,"alignH")),r=(0,a.Fl)((()=>xs(e,sp,"cols","row-cols")));return{computedClasses:(0,a.Fl)((()=>[r.value,{[`gx-${e.gutterX}`]:null!==e.gutterX,[`gy-${e.gutterY}`]:null!==e.gutterY,"g-0":t.value,[`align-items-${e.alignV}`]:null!==e.alignV,[n.value]:null!==e.alignH,[`align-content-${e.alignContent}`]:null!==e.alignContent}]))}}});function cp(e,t,n,r,i,s){return(0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{class:(0,o.C_)(["row",e.computedClasses])},{default:(0,a.w5)((()=>[(0,a.WI)(e.$slots,"default")])),_:3},8,["class"])}const up=Vl(lp,[["render",cp]]),dp=(0,a.aZ)({__name:"BSkeleton",props:{height:null,width:null,size:null,animation:{default:"wave"},type:{default:"text"},variant:null},setup(e){const t=e,n=(0,a.Fl)((()=>[`b-skeleton-${t.type}`,{[`b-skeleton-animate-${t.animation}`]:"boolean"!=typeof t.animation&&t.animation,[`bg-${t.variant}`]:void 0!==t.variant}])),r=(0,a.Fl)((()=>({width:t.size||t.width,height:t.size||t.height})));return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)(["b-skeleton",(0,i.SU)(n)]),style:(0,o.j5)((0,i.SU)(r))},null,6))}}),hp=(0,a.aZ)({__name:"BSkeletonIcon",props:{animation:{default:"wave"}},setup(e){const t=e,n=(0,a.Fl)((()=>[`b-skeleton-animate-${t.animation}`]));return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,o.C_)(["b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",(0,i.SU)(n)])},[(0,a.WI)(e.$slots,"default")],2))}}),pp={key:0},fp={key:1},gp=(0,a.aZ)({__name:"BSkeletonTable",props:{animation:{default:"wave"},columns:{default:5},hideHeader:{default:!1},rows:{default:3},showFooter:{default:!1},tableProps:null},setup(e){const t=e,n=Us((0,i.Vh)(t,"hideHeader")),r=Us((0,i.Vh)(t,"showFooter"));return(t,s)=>((0,a.wg)(),(0,a.j4)(Zh,(0,o.vs)((0,a.F4)(e.tableProps)),{default:(0,a.w5)((()=>[(0,i.SU)(n)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("thead",pp,[(0,a._)("tr",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.columns,((e,t)=>((0,a.wg)(),(0,a.iD)("th",{key:t},[(0,a.Wm)(dp)])))),128))])])),(0,a._)("tbody",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.rows,((t,n)=>((0,a.wg)(),(0,a.iD)("tr",{key:n},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.columns,((e,t)=>((0,a.wg)(),(0,a.iD)("td",{key:t},[(0,a.Wm)(dp,{width:"75%"})])))),128))])))),128))]),(0,i.SU)(r)?((0,a.wg)(),(0,a.iD)("tfoot",fp,[(0,a._)("tr",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.columns,((e,t)=>((0,a.wg)(),(0,a.iD)("th",{key:t},[(0,a.Wm)(dp)])))),128))])])):(0,a.kq)("",!0)])),_:1},16))}}),mp=(0,a.aZ)({__name:"BSkeletonWrapper",props:{loading:{default:!1}},setup(e){const t=Us((0,i.Vh)(e,"loading"));return(e,n)=>(0,i.SU)(t)?(0,a.WI)(e.$slots,"loading",{key:0}):(0,a.WI)(e.$slots,"default",{key:1})}}),vp=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((e=>e.toLowerCase())),yp=e=>{const t=No(e).toLowerCase().replace(Oo,"").split("-"),n=t.slice(0,2).join("-"),r=t[0];return vp.includes(n)||vp.includes(r)},bp=e=>Ho?bo(e)?e:{capture:!!e||!1}:!!(bo(e)?e.capture:e),xp=(e,t,n,r)=>{e&&e.addEventListener&&e.addEventListener(t,n,bp(r))},wp=(e,t,n,r)=>{e&&e.removeEventListener&&e.removeEventListener(t,n,r)},Sp=(e,t)=>{(e?xp:wp)(...t)},kp=(e,{preventDefault:t=!0,propagation:n=!0,immediatePropagation:r=!1}={})=>{t&&e.preventDefault(),n&&e.stopPropagation(),r&&e.stopImmediatePropagation()},_p="ArrowDown",Cp="End",Ep="Home",Ap="PageDown",Ip="PageUp",Tp="ArrowUp",Op=1,Np=100,Dp=1,Lp=500,Pp=100,Fp=10,Up=4,Mp=[Tp,_p,Ep,Cp,Ip,Ap],Rp=(0,a.aZ)({props:{ariaControls:{type:String,required:!1},ariaLabel:{type:String,required:!1},labelIncrement:{type:String,default:"Increment"},labelDecrement:{type:String,default:"Decrement"},modelValue:{type:Number,default:null},name:{type:String,default:"BFormSpinbutton"},disabled:{type:[Boolean,String],default:!1},placeholder:{type:String,required:!1},locale:{type:String,default:"locale"},form:{type:String,required:!1},inline:{type:Boolean,default:!1},size:{type:String,required:!1},formatterFn:{type:Function},readonly:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},repeatDelay:{type:[String,Number],default:Lp},repeatInterval:{type:[String,Number],default:Pp},repeatStepMultiplier:{type:[String,Number],default:Up},repeatThreshold:{type:[String,Number],default:Fp},required:{type:[Boolean,String],default:!1},step:{type:[String,Number],default:Dp},min:{type:[String,Number],default:Op},max:{type:[String,Number],default:Np},wrap:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=(0,i.iH)(!1),r=(0,a.Fl)((()=>1)),o=()=>{t("change",l.value)},s=(0,i.iH)(null),l=(0,a.Fl)({get(){return So(e.modelValue)?s.value:e.modelValue},set(n){So(e.modelValue)?s.value=n:t("update:modelValue",n)}});let c,u,d=!1;const h=(0,a.Fl)((()=>Is(e.step,Dp))),p=(0,a.Fl)((()=>Is(e.min,Op))),f=(0,a.Fl)((()=>{const t=Is(e.max,Np),n=h.value,r=p.value;return Math.floor((t-r)/n)*n+r})),g=(0,a.Fl)((()=>{const t=Es(e.repeatDelay,0);return t>0?t:Lp})),m=(0,a.Fl)((()=>{const t=Es(e.repeatInterval,0);return t>0?t:Pp})),v=(0,a.Fl)((()=>Math.max(Es(e.repeatThreshold,Fp),1))),y=(0,a.Fl)((()=>Math.max(Es(e.repeatStepMultiplier,Up),1))),b=(0,a.Fl)((()=>{const e=h.value;return Math.floor(e)===e?0:(e.toString().split(".")[1]||"").length})),x=(0,a.Fl)((()=>Math.pow(10,b.value||0))),w=(0,a.Fl)((()=>{const{value:e}=l;return null===e?"":e.toFixed(b.value)})),S=(0,a.Fl)((()=>{const t=[e.locale];return new Intl.NumberFormat(t).resolvedOptions().locale})),k=(0,a.Fl)((()=>yp(S.value))),_=()=>{const e=b.value;return new Intl.NumberFormat(S.value,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"}).format},C=(0,a.Fl)((()=>e.formatterFn?e.formatterFn:_())),E=(0,a.Fl)((()=>({role:"group",lang:S.value,tabindex:e.disabled?null:"-1",title:e.ariaLabel}))),A=(0,a.Fl)((()=>!So(e.modelValue)||!So(s.value))),I=(0,a.Fl)((()=>({dir:k.value,spinId:r.value,tabindex:e.disabled?null:"0",role:"spinbutton","aria-live":"off","aria-label":e.ariaLabel||null,"aria-controls":e.ariaControls||null,"aria-invalid":!1===e.state||!A.value&&e.required?"true":null,"aria-required":e.required?"true":null,"aria-valuemin":p.value,"aria-valuemax":f.value,"aria-valuenow":So(l.value)?null:l.value,"aria-valuetext":So(l.value)?null:C.value(l.value)}))),T=t=>{let{value:n}=l;if(!e.disabled&&!So(n)){const r=h.value*t,i=p.value,a=f.value,o=x.value,{wrap:s}=e;n=Math.round((n-i)/r)*r+i+r,n=Math.round(n*o)/o,l.value=n>a?s?i:a:n{So(l.value)?l.value=p.value:T(1*e)},N=(t=1)=>{So(l.value)?l.value=e.wrap?f.value:p.value:T(-1*t)},D=t=>{const{code:n,altKey:r,ctrlKey:i,metaKey:a}=t;if(!(e.disabled||e.readonly||r||i||a)&&Mp.includes(n)){if(kp(t,{propagation:!1}),d)return;R(),[Tp,_p].includes(n)?(d=!0,n===Tp?P(t,O):n===_p&&P(t,N)):n===Ip?O(y.value):n===Ap?N(y.value):n===Ep?l.value=p.value:n===Cp&&(l.value=f.value)}},L=t=>{const{code:n,altKey:r,ctrlKey:i,metaKey:a}=t;e.disabled||e.readonly||r||i||a||Mp.includes(n)&&(kp(t,{propagation:!1}),R(),d=!1,o())},P=(t,n)=>{const{type:r}=t||{};if(!e.disabled&&!e.readonly){if(F(t)&&"mousedown"===r&&t.button)return;R(),n(1);const e=v.value,i=y.value,a=g.value,o=m.value;c=setTimeout((()=>{let t=0;u=setInterval((()=>{n(t{F(e)&&"mouseup"===e.type&&e.button||(kp(e,{propagation:!1}),R(),M(!1),o())},M=e=>{try{Sp(e,[document.body,"mouseup",U,!1]),Sp(e,[document.body,"touchend",U,!1])}catch{return 0}},R=()=>{clearTimeout(c),clearInterval(u),c=void 0,u=void 0},j=(t,i,o,s,l,c,u)=>{const d=(0,a.h)(o,{props:{scale:n.value?1.5:1.25},attrs:{"aria-hidden":"true"}}),h={hasFocus:n.value},p=n=>{!e.disabled&&!e.readonly&&(kp(n,{propagation:!1}),M(!0),P(n,t))};return(0,a.h)("button",{class:[{"py-0":!e.vertical},"btn","btn-sm","border-0","rounded-0"],tabindex:"-1",type:"button",disabled:e.disabled||e.readonly||c,"aria-disabled":e.disabled||e.readonly||c?"true":null,"aria-controls":r.value,"aria-label":i||null,"aria-keyshortcuts":l||null,onmousedown:p,ontouchstart:p},[Cs(u,h)||d])};return()=>{const t=j(O,e.labelIncrement,(0,a.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-plus",viewBox:"0 0 16 16"},(0,a.h)("path",{d:"M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"})),"inc","ArrowUp",!1,"increment"),r=j(N,e.labelDecrement,(0,a.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-dash",viewBox:"0 0 16 16"},(0,a.h)("path",{d:"M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"})),"dec","ArrowDown",!1,"decrement"),i=[];e.name&&!e.disabled&&i.push((0,a.h)("input",{type:"hidden",name:e.name,form:e.form||null,value:w.value,key:"hidden"}));const o=(0,a.h)("output",{class:[{"d-flex":e.vertical},{"align-self-center":!e.vertical},{"align-items-center":e.vertical},{"border-top":e.vertical},{"border-bottom":e.vertical},{"border-start":!e.vertical},{"border-end":!e.vertical},"flex-grow-1"],...I.value,key:"output"},[(0,a.h)("bdi",A.value?C.value(l.value):e.placeholder||"")]);return(0,a.h)("div",{class:["b-form-spinbutton form-control",{disabled:e.disabled},{readonly:e.readonly},{focus:n},{"d-inline-flex":e.inline||e.vertical},{"d-flex":!e.inline&&!e.vertical},{"align-items-stretch":!e.vertical},{"flex-column":e.vertical},e.size?`form-control-${e.size}`:null],...E.value,onkeydown:D,onkeyup:L},e.vertical?[t,i,o,r]:[r,i,o,t])}}}),jp=["TD","TH","TR"],Vp=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),zp=e=>{if(!e||!e.target)return!1;const t=e.target;if("disabled"in t&&t.disabled||-1!==jp.indexOf(t.tagName))return!1;if(ys(".dropdown-menu",t))return!0;const n="LABEL"===t.tagName?t:ys("label",t);if(n){const e=us(n,"for"),t=e?ds(e):ls("input, select, textarea",n);if(t&&!t.disabled)return!0}return ms(t,Vp)},Hp=()=>{const e=(e,t)=>{const n=[];return null!=e&&e.length||!(null==t?void 0:t.length)?(Array.isArray(e)&&e.forEach((e=>{"string"==typeof e?n.push({key:e,label:Do(e)}):bo(e)&&e.key&&"string"==typeof e.key&&n.push({...e})})),n):(Object.keys(t[0]).forEach((e=>n.push({key:e,label:Do(e)}))),n)},t=(0,i.iH)([]),n=(e,n,r,i)=>(t.value=Os(n),"isFilterableTable"in i&&!0===i.isFilterableTable.value&&r.filter&&(t.value=o(t.value,r.filter,r.filterable)),"isSortable"in i&&!0===i.isSortable.value&&(t.value=a(e,t.value,{key:r.sortBy,desc:i.sortDescBoolean.value},r.sortCompare)),t.value),r=(0,i.iH)(void 0),a=(e,t,n,r)=>{if(!n||!n.key)return t;const i=n.key;return t.sort(((e,t)=>{if(void 0!==r)return r(e,t,n.key,n.desc);const a=e=>"object"==typeof e?JSON.stringify(e):e;return a(e[i])>a(t[i])?n.desc?-1:1:a(t[i])>a(e[i])?n.desc?1:-1:0}))},o=(e,t,n)=>e.filter((e=>Object.entries(e).filter((e=>{const[r,i]=e;return!(!i||"_"===r[0]||n.length>0&&!n.includes(r))&&("object"==typeof i?JSON.stringify(Object.values(i)):"string"==typeof i?i:i.toString()).toLowerCase().includes(t.toLowerCase())})).length>0));return{normaliseFields:e,mapItems:n,internalItems:t,updateInternalItems:async e=>{try{return t.value=await Ns(e),t.value}catch{return}},filterEvent:r,notifyFilteredItems:()=>{r.value&&r.value(t.value)}}},Bp=["title","abbr","onClick"],Wp={class:"d-inline-flex flex-nowrap align-items-center gap-1"},$p={key:1},qp=["onClick","onDblclick","onMouseenter","onMouseleave"],Yp={key:0,class:"b-table-stacked-label"},Zp=["colspan"],Gp=["colspan"],Xp={class:"d-flex align-items-center justify-content-center gap-2"},Kp=(0,a._)("strong",null,"Loading...",-1),Jp={key:1,class:"b-table-empty-slot"},Qp=["colspan"],ef={key:0},tf=["title","abbr","onClick"],nf={key:1},rf={key:2},af={key:3},of=(0,a.aZ)({__name:"BTable",props:{align:null,caption:null,captionTop:{default:!1},borderless:{default:!1},bordered:{default:!1},borderVariant:null,dark:{default:!1},fields:{default:()=>[]},footClone:{default:!1},hover:{default:!1},items:{default:()=>[]},provider:null,sortCompare:null,noProvider:null,noProviderPaging:null,noProviderSorting:null,noProviderFiltering:null,responsive:{type:[Boolean,String],default:!1},small:{default:!1},striped:{default:!1},stacked:{type:[Boolean,String],default:!1},labelStacked:{type:Boolean,default:!1},variant:null,sortBy:null,sortDesc:{default:!1},sortInternal:{default:!0},selectable:{default:!1},stickySelect:{default:!1},selectHead:{type:[Boolean,String],default:!0},selectMode:{default:"single"},selectionVariant:{default:"primary"},stickyHeader:{default:!1},busy:{default:!1},showEmpty:{default:!1},perPage:null,currentPage:{default:1},filter:null,filterable:null,emptyText:{default:"There are no records to show"},emptyFilteredText:{default:"There are no records matching your request"}},emits:["headClicked","rowClicked","rowDblClicked","rowHovered","rowUnhovered","rowSelected","rowUnselected","selection","update:busy","update:sortBy","update:sortDesc","sorted","filtered"],setup(e,{expose:t,emit:n}){const r=e,s=(0,a.Rr)(),l=Hp(),c=Us((0,i.Vh)(r,"footClone")),u=Us((0,i.Vh)(r,"sortDesc")),d=Us((0,i.Vh)(r,"sortInternal")),h=Us((0,i.Vh)(r,"selectable")),p=Us((0,i.Vh)(r,"stickySelect")),f=Us((0,i.Vh)(r,"labelStacked")),g=Us((0,i.Vh)(r,"busy")),m=Us((0,i.Vh)(r,"showEmpty")),v=Us((0,i.Vh)(r,"noProviderPaging")),y=Us((0,i.Vh)(r,"noProviderSorting")),b=Us((0,i.Vh)(r,"noProviderFiltering")),x=(0,i.iH)(g.value);l.filterEvent.value=async e=>{if(I.value)return void await H();const t=await Ns(e);n("filtered",t)};const w=(0,i.iH)(new Set([])),S=(0,a.Fl)((()=>w.value.size>0)),k=(0,a.Fl)((()=>({[`align-${r.align}`]:void 0!==r.align,"b-table-selectable":h.value,[`b-table-select-${r.selectMode}`]:h.value,"b-table-selecting user-select-none":h.value&&S.value,"b-table-busy":x.value,"b-table-sortable":O.value,"b-table-sort-desc":O.value&&!0===u.value,"b-table-sort-asc":O.value&&!1===u.value}))),_=(0,a.Fl)((()=>({bordered:r.bordered,borderless:r.borderless,borderVariant:r.borderVariant,captionTop:r.captionTop,dark:r.dark,hover:r.hover,responsive:r.responsive,striped:r.striped,stacked:r.stacked,small:r.small,tableClass:k.value,tableVariant:r.variant,stickyHeader:r.stickyHeader}))),C=(0,a.Fl)((()=>l.normaliseFields(r.fields,r.items))),E=(0,a.Fl)((()=>C.value.length+(h.value?1:0))),A=(0,a.Fl)((()=>void 0!==r.filter&&""!==r.filter)),I=(0,a.Fl)((()=>void 0!==r.provider)),T=(0,a.Fl)((()=>h.value&&(!!r.selectHead||void 0!==s.selectHead))),O=(0,a.Fl)((()=>r.fields.filter((e=>"string"!=typeof e&&e.sortable)).length>0)),N=(0,a.Fl)((()=>O.value&&!0===d.value)),D=(0,a.Fl)((()=>{const e=I.value?l.internalItems.value:N.value?l.mapItems(r.fields,r.items,r,{isSortable:O,isFilterableTable:A,sortDescBoolean:u}):r.items;if(void 0!==r.perPage){const t=(r.currentPage-1)*r.perPage;return e.splice(t,r.perPage)}return e})),L=e=>"string"==typeof e?Lo(e):void 0!==e.label?e.label:"string"==typeof e.key?Lo(e.key):e.key,P=(e,t,r=!1)=>{const i="string"==typeof e?e:e.key;n("headClicked",i,e,t,r),j(e)},F=(e,t,r)=>{n("rowClicked",e,t,r),z(e,t,r.shiftKey)},U=(e,t,r)=>n("rowDblClicked",e,t,r),M=(e,t,r)=>n("rowHovered",e,t,r),R=(e,t,r)=>n("rowUnhovered",e,t,r),j=e=>{if(!O.value)return;const t="string"==typeof e?e:e.key,i="string"!=typeof e&&e.sortable;if(!0===O.value&&!0===i){const e=!u.value;t!==r.sortBy&&n("update:sortBy",t),n("update:sortDesc",e),n("sorted",t,e)}},V=()=>{!h.value||n("selection",Array.from(w.value))},z=(e,t,i=!1)=>{if(h.value){if(w.value.has(e))w.value.delete(e),n("rowUnselected",e);else if("single"===r.selectMode&&w.value.size>0&&(w.value.forEach((e=>n("rowUnselected",e))),w.value.clear()),"range"===r.selectMode&&w.value.size>0&&i){const e=Array.from(w.value).pop(),r=D.value.findIndex((t=>t===e)),i=Math.min(r,t),a=Math.max(r,t);D.value.slice(i,a+1).forEach((e=>{w.value.has(e)||(w.value.add(e),n("rowSelected",e))}))}else w.value.add(e),n("rowSelected",e);V()}},H=async()=>{if(!I.value||!r.provider||x.value)return;x.value=!0;const e=new Proxy({currentPage:r.currentPage,filter:r.filter,sortBy:r.sortBy,sortDesc:r.sortDesc,perPage:r.perPage},{get(e,t){return t in e?e[t]:void 0},set(){return console.error("BTable provider context is a read-only object."),!0}}),t=r.provider(e,l.updateInternalItems);if(void 0!==t){if(t instanceof Promise)try{const e=await t;return Array.isArray(e)?await l.updateInternalItems(e):void 0}finally{x.value&&(x.value=!1)}try{return await l.updateInternalItems(t)}finally{x.value&&(x.value=!1)}}},B=e=>{e._showDetails=!e._showDetails},W=e=>[e.class,e.thClass,e.variant?`table-${e.variant}`:void 0,{"b-table-sortable-column":O.value&&e.sortable,"b-table-sticky-column":e.stickyColumn}],$=(e,t)=>[e.class,e.tdClass,e.variant?`table-${e.variant}`:void 0,(null==t?void 0:t._cellVariants)&&(null==t?void 0:t._cellVariants[e.key])?`table-${null==t?void 0:t._cellVariants[e.key]}`:void 0,{"b-table-sticky-column":e.stickyColumn}],q=e=>[e._rowVariant?`table-${e._rowVariant}`:null,e._rowVariant?`table-${e._rowVariant}`:null,h.value&&w.value.has(e)?`selected table-${r.selectionVariant}`:null],Y=()=>{if(!h.value)return;const e=w.value.size>0?Array.from(w.value):[];w.value=new Set([...D.value]),w.value.forEach((t=>{e.includes(t)||n("rowSelected",t)})),V()},Z=()=>{!h.value||(w.value.forEach((e=>{n("rowUnselected",e)})),w.value=new Set([]),V())},G=e=>{if(!h.value)return;const t=D.value[e];!t||w.value.has(t)||(w.value.add(t),n("rowSelected",t),V())},X=e=>{if(!h.value)return;const t=D.value[e];!t||!w.value.has(t)||(w.value.delete(t),n("rowUnselected",t),V())},K=async(e,t,n)=>{if(t===n)return;const i=e=>r.noProvider&&r.noProvider.includes(e),a=!["currentPage","perPage"].includes(e),o=["currentPage","perPage"].includes(e)&&(i("paging")||!0===v.value),s=["filter"].includes(e)&&(i("filtering")||!0===b.value),c=["sortBy","sortDesc"].includes(e)&&(i("sorting")||!0===y.value);o||s||c||(await H(),a&&l.notifyFilteredItems())};return(0,a.YP)((()=>r.filter),((e,t)=>{e===t||I.value||e||Ns(r.items).then((e=>n("filtered",e)))})),(0,a.YP)((()=>x.value),(()=>x.value!==g.value&&n("update:busy",x.value))),(0,a.YP)((()=>g.value),(()=>x.value!==g.value&&(x.value=g.value))),(0,a.YP)((()=>r.filter),((e,t)=>K("filter",e,t))),(0,a.YP)((()=>r.currentPage),((e,t)=>K("currentPage",e,t))),(0,a.YP)((()=>r.perPage),((e,t)=>K("perPage",e,t))),(0,a.YP)((()=>r.sortBy),((e,t)=>K("sortBy",e,t))),(0,a.YP)((()=>r.sortDesc),((e,t)=>K("sortDesc",e,t))),(0,a.bv)((()=>{I.value&&H()})),t({selectAllRows:Y,clearSelected:Z,selectRow:G,unselectRow:X}),(t,n)=>((0,a.wg)(),(0,a.j4)(Zh,(0,o.vs)((0,a.F4)((0,i.SU)(_))),{default:(0,a.w5)((()=>{var n;return[(0,a._)("thead",null,[t.$slots["thead-top"]?(0,a.WI)(t.$slots,"thead-top",{key:0}):(0,a.kq)("",!0),(0,a._)("tr",null,[(0,i.SU)(T)?((0,a.wg)(),(0,a.iD)("th",{key:0,class:(0,o.C_)(["b-table-selection-column",{"b-table-sticky-column":(0,i.SU)(p)}])},[(0,a.WI)(t.$slots,"select-head",{},(()=>[(0,a.Uk)((0,o.zw)("boolean"==typeof e.selectHead?"Selected":e.selectHead),1)]))],2)):(0,a.kq)("",!0),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(C),(n=>((0,a.wg)(),(0,a.iD)("th",(0,a.dG)({key:n.key,scope:"col",class:W(n),title:n.headerTitle,abbr:n.headerAbbr,style:n.thStyle},n.thAttr,{onClick:e=>P(n,e)}),[(0,a._)("div",Wp,[(0,a.WI)(t.$slots,"sort-icon",{field:n,sortBy:e.sortBy,selected:n.key===e.sortBy,isDesc:(0,i.SU)(u),direction:(0,i.SU)(u)?"desc":"asc"},(()=>[(0,i.SU)(O)&&n.sortable?((0,a.wg)(),(0,a.iD)("span",{key:0,class:(0,o.C_)(["b-table-sort-icon",{sorted:n.key===e.sortBy,["sorted-"+((0,i.SU)(u)?"desc":"asc")]:n.key===e.sortBy}])},null,2)):(0,a.kq)("",!0)])),(0,a._)("div",null,[t.$slots["head("+n.key+")"]||t.$slots["head()"]?(0,a.WI)(t.$slots,t.$slots["head("+n.key+")"]?"head("+n.key+")":"head()",{key:0,label:n.label}):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Uk)((0,o.zw)(L(n)),1)],64))])])],16,Bp)))),128))]),t.$slots["thead-sub"]?((0,a.wg)(),(0,a.iD)("tr",$p,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(C),(e=>((0,a.wg)(),(0,a.iD)("td",{key:e.key,scope:"col",class:(0,o.C_)([e.class,e.thClass,e.variant?`table-${e.variant}`:""])},[t.$slots["thead-sub"]?(0,a.WI)(t.$slots,"thead-sub",(0,a.dG)({key:0,items:(0,i.SU)(C)},e)):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Uk)((0,o.zw)(e.label),1)],64))],2)))),128))])):(0,a.kq)("",!0)]),(0,a._)("tbody",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(D),((n,r)=>((0,a.wg)(),(0,a.iD)(a.HY,{key:r},[(0,a._)("tr",{class:(0,o.C_)(q(n)),onClick:e=>!(0,i.SU)(zp)(e)&&F(n,r,e),onDblclick:e=>!(0,i.SU)(zp)(e)&&U(n,r,e),onMouseenter:e=>!(0,i.SU)(zp)(e)&&M(n,r,e),onMouseleave:e=>!(0,i.SU)(zp)(e)&&R(n,r,e)},[(0,i.SU)(T)?((0,a.wg)(),(0,a.iD)("td",{key:0,class:(0,o.C_)(["b-table-selection-column",{"b-table-sticky-column":(0,i.SU)(p)}])},[(0,a.WI)(t.$slots,"select-cell",{},(()=>[(0,a._)("span",{class:(0,o.C_)(w.value.has(n)?"text-primary":"")},"🗹",2)]))],2)):(0,a.kq)("",!0),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(C),(s=>((0,a.wg)(),(0,a.iD)("td",(0,a.dG)({key:s.key},s.tdAttr,{class:$(s,n)}),[e.stacked&&(0,i.SU)(f)?((0,a.wg)(),(0,a.iD)("label",Yp,(0,o.zw)(L(s)),1)):(0,a.kq)("",!0),t.$slots["cell("+s.key+")"]||t.$slots["cell()"]?(0,a.WI)(t.$slots,t.$slots["cell("+s.key+")"]?"cell("+s.key+")":"cell()",{key:1,value:n[s.key],index:r,item:n,field:s,items:e.items,toggleDetails:()=>B(n),detailsShowing:n._showDetails}):((0,a.wg)(),(0,a.iD)(a.HY,{key:2},[(0,a.Uk)((0,o.zw)(n[s.key]),1)],64))],16)))),128))],42,qp),!0===n._showDetails&&t.$slots["row-details"]?((0,a.wg)(),(0,a.iD)("tr",{key:0,class:(0,o.C_)(q(n))},[(0,a._)("td",{colspan:(0,i.SU)(E)},[(0,a.WI)(t.$slots,"row-details",{item:n,toggleDetails:()=>B(n)})],8,Zp)],2)):(0,a.kq)("",!0)],64)))),128)),x.value?((0,a.wg)(),(0,a.iD)("tr",{key:0,class:(0,o.C_)(["b-table-busy-slot",{"b-table-static-busy":0==(0,i.SU)(D).length}])},[(0,a._)("td",{colspan:(0,i.SU)(E)},[(0,a.WI)(t.$slots,"table-busy",{},(()=>[(0,a._)("div",Xp,[(0,a.Wm)(tc,{class:"align-middle"}),Kp])]))],8,Gp)],2)):(0,a.kq)("",!0),(0,i.SU)(m)&&0===(0,i.SU)(D).length?((0,a.wg)(),(0,a.iD)("tr",Jp,[(0,a._)("td",{colspan:(0,i.SU)(E)},[(0,a.WI)(t.$slots,"empty",{items:(0,i.SU)(D),filtered:(0,i.SU)(A)},(()=>[(0,a.Uk)((0,o.zw)((0,i.SU)(A)?e.emptyFilteredText:e.emptyText),1)]))],8,Qp)])):(0,a.kq)("",!0)]),(0,i.SU)(c)?((0,a.wg)(),(0,a.iD)("tfoot",ef,[(0,a._)("tr",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(C),(e=>((0,a.wg)(),(0,a.iD)("th",(0,a.dG)({key:e.key},e.thAttr,{scope:"col",class:[e.class,e.thClass,e.variant?`table-${e.variant}`:""],title:e.headerTitle,abbr:e.headerAbbr,style:e.thStyle,onClick:t=>P(e,t,!0)}),(0,o.zw)(e.label),17,tf)))),128))])])):t.$slots["custom-foot"]?((0,a.wg)(),(0,a.iD)("tfoot",nf,[(0,a.WI)(t.$slots,"custom-foot",{fields:(0,i.SU)(C),items:e.items,columns:null==(n=(0,i.SU)(C))?void 0:n.length})])):(0,a.kq)("",!0),t.$slots["table-caption"]?((0,a.wg)(),(0,a.iD)("caption",rf,[(0,a.WI)(t.$slots,"table-caption")])):e.caption?((0,a.wg)(),(0,a.iD)("caption",af,(0,o.zw)(e.caption),1)):(0,a.kq)("",!0)]})),_:3},16))}}),sf=(0,a.aZ)({__name:"BTbody",props:{variant:null},setup(e){const t=e,n=(0,a.Fl)((()=>({[`thead-${t.variant}`]:void 0!==t.variant})));return(e,t)=>((0,a.wg)(),(0,a.iD)("tbody",{role:"rowgroup",class:(0,o.C_)((0,i.SU)(n))},[(0,a.WI)(e.$slots,"default")],2))}}),lf=["scope","colspan","rowspan","data-label"],cf={key:0},uf=(0,a.aZ)({__name:"BTd",props:{colspan:null,rowspan:null,stackedHeading:null,stickyColumn:{default:!1},variant:null},setup(e){const t=e,n=Us((0,i.Vh)(t,"stickyColumn")),r=(0,a.Fl)((()=>({[`table-${t.variant}`]:void 0!==t.variant,"b-table-sticky-column":n.value,"table-b-table-default":n.value&&void 0===t.variant}))),s=(0,a.Fl)((()=>t.colspan?"colspan":t.rowspan?"rowspan":"col"));return(t,n)=>((0,a.wg)(),(0,a.iD)("td",{role:"cell",scope:(0,i.SU)(s),class:(0,o.C_)((0,i.SU)(r)),colspan:e.colspan,rowspan:e.rowspan,"data-label":e.stackedHeading},[e.stackedHeading?((0,a.wg)(),(0,a.iD)("div",cf,[(0,a.WI)(t.$slots,"default")])):(0,a.WI)(t.$slots,"default",{key:1})],10,lf))}}),df=(0,a.aZ)({__name:"BTfoot",props:{variant:null},setup(e){const t=e,n=(0,a.Fl)((()=>({[`table-${t.variant}`]:void 0!==t.variant})));return(e,t)=>((0,a.wg)(),(0,a.iD)("tfoot",{role:"rowgroup",class:(0,o.C_)((0,i.SU)(n))},[(0,a.WI)(e.$slots,"default")],2))}}),hf=["scope","colspan","rowspan","data-label"],pf={key:0},ff=(0,a.aZ)({__name:"BTh",props:{colspan:null,rowspan:null,stackedHeading:null,stickyColumn:{default:!1},variant:null},setup(e){const t=e,n=Us((0,i.Vh)(t,"stickyColumn")),r=(0,a.Fl)((()=>({[`table-${t.variant}`]:void 0!==t.variant,"b-table-sticky-column":n.value,"table-b-table-default":n.value&&void 0===t.variant}))),s=(0,a.Fl)((()=>t.colspan?"colspan":t.rowspan?"rowspan":"col"));return(t,n)=>((0,a.wg)(),(0,a.iD)("th",{role:"columnheader",scope:(0,i.SU)(s),class:(0,o.C_)((0,i.SU)(r)),colspan:e.colspan,rowspan:e.rowspan,"data-label":e.stackedHeading},[void 0!==e.stackedHeading?((0,a.wg)(),(0,a.iD)("div",pf,[(0,a.WI)(t.$slots,"default")])):(0,a.WI)(t.$slots,"default",{key:1})],10,hf))}}),gf=(0,a.aZ)({__name:"BThead",props:{variant:null},setup(e){const t=e,n=(0,a.Fl)((()=>({[`table-${t.variant}`]:void 0!==t.variant})));return(e,t)=>((0,a.wg)(),(0,a.iD)("thead",{role:"rowgroup",class:(0,o.C_)((0,i.SU)(n))},[(0,a.WI)(e.$slots,"default")],2))}}),mf=(0,a.aZ)({__name:"BTr",props:{variant:null},setup(e){const t=e,n=(0,a.Fl)((()=>({[`table-${t.variant}`]:void 0!==t.variant})));return(e,t)=>((0,a.wg)(),(0,a.iD)("tr",{role:"row",class:(0,o.C_)((0,i.SU)(n))},[(0,a.WI)(e.$slots,"default")],2))}}),vf=["id","data-bs-target","aria-controls","aria-selected","onClick"],yf=Symbol(),bf=(0,a.aZ)({__name:"BTabs",props:{activeNavItemClass:null,activeTabClass:null,align:null,card:{default:!1},contentClass:null,end:{default:!1},fill:{default:!1},id:null,justified:{default:!1},lazy:{default:!1},navClass:null,navWrapperClass:null,noFade:{default:!1},noNavStyle:{default:!1},pills:{default:!1},small:{default:!1},tag:{default:"div"},vertical:{default:!1},modelValue:{default:-1}},emits:["update:modelValue","activate-tab","click"],setup(e,{emit:t}){const n=e,r=(0,a.Rr)(),l=Us((0,i.Vh)(n,"card")),c=Us((0,i.Vh)(n,"end")),u=Us((0,i.Vh)(n,"fill")),d=Us((0,i.Vh)(n,"justified")),h=Us((0,i.Vh)(n,"lazy")),p=Us((0,i.Vh)(n,"noFade")),f=Us((0,i.Vh)(n,"noNavStyle")),g=Us((0,i.Vh)(n,"pills")),m=Us((0,i.Vh)(n,"small")),v=Us((0,i.Vh)(n,"vertical")),y=(0,i.iH)(n.modelValue),b=(0,i.iH)(""),x=(0,a.Fl)({get:()=>y.value,set:e=>{y.value=e,w.value.length>0&&e>=0&&e{let e=[];return r.default&&(e=I(r).map(((e,t)=>{e.props||(e.props={});const i=e.props["button-id"]||ws("tab"),a=e.props.id||ws(),o=x.value>-1?t===x.value:""===e.props.active,s=e.props["title-item-class"],l=e.props["title-link-attributes"];return{buttonId:i,contentId:a,active:o,disabled:""===e.props.disabled||!0===e.props.disabled,navItemClasses:[{active:o,disabled:""===e.props.disabled||!0===e.props.disabled},o&&n.activeNavItemClass?n.activeNavItemClass:null,e.props["title-link-class"]],tabClasses:[{fade:!p.value},o&&n.activeTabClass?n.activeTabClass:null],target:`#${a}`,title:e.props.title,titleItemClass:s,titleLinkAttributes:l,onClick:e.props.onClick,tab:e,tabComponent:()=>I(r)[t]}}))),e})),S=(0,a.Fl)((()=>!((null==w?void 0:w.value)&&w.value.length>0))),k=(0,a.Fl)((()=>({"d-flex":v.value,"align-items-start":v.value}))),_=mo((0,i.Vh)(n,"align")),C=(0,a.Fl)((()=>({"nav-pills":g.value,"flex-column me-3":v.value,[_.value]:void 0!==n.align,"nav-fill":u.value,"card-header-tabs":l.value,"nav-justified":d.value,"nav-tabs":!f.value&&!g.value,small:m.value}))),E=e=>{let r=!1;if(void 0!==e&&e>-1&&e{var n;E(t),t>=0&&!w.value[t].disabled&&(null==(n=w.value[t])?void 0:n.onClick)&&"function"==typeof w.value[t].onClick&&w.value[t].onClick(e)},I=e=>e&&e.default?e.default().reduce(((e,t)=>("symbol"==typeof t.type?e=e.concat(t.children):e.push(t),e)),[]).filter((e=>{var t;return"BTab"===(null==(t=e.type)?void 0:t.__name)})):[];return E(y.value),(0,a.YP)((()=>n.modelValue),((e,t)=>{if(e===t)return;if(e=Math.max(e,-1),t=Math.max(t,-1),w.value.length<=0)return void(x.value=-1);const n=e>t;let r=e;const i=w.value.length-1;for(;r>=0&&r<=i&&w.value[r].disabled;)r+=n?1:-1;r<0?E(0):r>=w.value.length?E(w.value.length-1):E(r)})),(0,a.YP)((()=>w.value),(()=>{let e=w.value.map((e=>e.active&&!e.disabled)).lastIndexOf(!0);e<0&&(x.value>=w.value.length?e=w.value.map((e=>!e.disabled)).lastIndexOf(!0):w.value[x.value]&&!w.value[x.value].disabled&&(e=x.value)),e<0&&(e=w.value.map((e=>!e.disabled)).indexOf(!0)),w.value.forEach(((t,n)=>t.active=n===e)),E(e)})),(0,a.bv)((()=>{if(x.value<0&&w.value.length>0&&!w.value.some((e=>e.active))){const e=w.value.map((e=>!e.disabled)).indexOf(!0);E(e>=0?e:-1)}})),(0,a.JJ)(yf,{lazy:h.value,card:l.value}),(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,class:(0,o.C_)(["tabs",(0,i.SU)(k)])},{default:(0,a.w5)((()=>[(0,i.SU)(c)?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,o.C_)(["tab-content",e.contentClass])},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(w),(({tabComponent:e,contentId:t,tabClasses:n,active:r},i)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e()),{id:t,key:i,class:(0,o.C_)(n),active:r},null,8,["id","class","active"])))),128)),(0,i.SU)(S)?((0,a.wg)(),(0,a.iD)("div",{key:"bv-empty-tab",class:(0,o.C_)(["tab-pane active",{"card-body":(0,i.SU)(l)}])},[(0,a.WI)(t.$slots,"empty")],2)):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0),(0,a._)("div",{class:(0,o.C_)([e.navWrapperClass,{"card-header":(0,i.SU)(l),"ms-auto":e.vertical&&(0,i.SU)(c)}])},[(0,a._)("ul",{class:(0,o.C_)(["nav",[(0,i.SU)(C),e.navClass]]),role:"tablist"},[(0,a.WI)(t.$slots,"tabs-start"),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(w),(({tab:e,buttonId:t,contentId:n,navItemClasses:r,active:i,target:l},c)=>((0,a.wg)(),(0,a.iD)("li",{key:c,class:(0,o.C_)(["nav-item",e.props["title-item-class"]])},[(0,a._)("button",(0,a.dG)({id:t,class:["nav-link",r],"data-bs-toggle":"tab","data-bs-target":l,role:"tab","aria-controls":n,"aria-selected":i},e.props["title-link-attributes"],{onClick:(0,s.iM)((e=>A(e,c)),["stop","prevent"])}),[e.children&&e.children.title?((0,a.wg)(),(0,a.j4)((0,a.LL)(e.children.title),{key:0})):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Uk)((0,o.zw)(e.props.title),1)],64))],16,vf)],2)))),128)),(0,a.WI)(t.$slots,"tabs-end")],2)],2),(0,i.SU)(c)?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,o.C_)(["tab-content",e.contentClass])},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,i.SU)(w),(({tabComponent:e,contentId:t,tabClasses:n,active:r},i)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e()),{id:t,key:i,class:(0,o.C_)(n),active:r},null,8,["id","class","active"])))),128)),(0,i.SU)(S)?((0,a.wg)(),(0,a.iD)("div",{key:"bv-empty-tab",class:(0,o.C_)(["tab-pane active",{"card-body":(0,i.SU)(l)}])},[(0,a.WI)(t.$slots,"empty")],2)):(0,a.kq)("",!0)],2))])),_:3},8,["id","class"]))}}),xf=(0,a.aZ)({__name:"BTab",props:{id:null,title:null,active:{default:!1},buttonId:{default:void 0},disabled:{default:!1},lazy:{default:void 0},lazyOnce:{default:void 0},noBody:{type:[Boolean,String],default:!1},tag:{default:"div"},titleItemClass:null,titleLinkAttributes:{default:void 0},titleLinkClass:null},setup(e){const t=e,n=(0,a.f3)(yf,null),r=Us((0,i.Vh)(t,"active")),s=Us((0,i.Vh)(t,"disabled")),l=Us((0,i.Vh)(t,void 0!==t.lazyOnce?"lazyOnce":"lazy")),c=(0,i.iH)(!1),u=(0,a.Fl)((()=>!(!(null==n?void 0:n.lazy)&&!l.value))),d=(0,a.Fl)((()=>void 0!==t.lazyOnce)),h=(0,a.Fl)((()=>r.value&&!s.value)),p=(0,a.Fl)((()=>{const e=u.value&&d.value&&c.value;return h.value||!u.value||e})),f=(0,a.Fl)((()=>({active:r.value,show:r.value,"card-body":(null==n?void 0:n.card)&&!1===t.noBody})));return(0,a.YP)((()=>p.value),(e=>{e&&!c.value&&(c.value=!0)})),(t,n)=>((0,a.wg)(),(0,a.j4)((0,a.LL)(e.tag),{id:e.id,class:(0,o.C_)(["tab-pane",(0,i.SU)(f)]),role:"tabpanel","aria-labelledby":"profile-tab"},{default:(0,a.w5)((()=>[(0,i.SU)(p)?(0,a.WI)(t.$slots,"default",{key:0}):(0,a.kq)("",!0)])),_:3},8,["id","class"]))}}),wf={BAccordion:il,BAccordionItem:Al,BNavText:gh,BAlert:Ol,BAvatar:Ml,BAvatarGroup:Dl,BNavForm:sh,BBadge:ql,BBreadcrumb:Ql,BBreadcrumbItem:Xl,BButton:ic,BButtonGroup:ac,BButtonToolbar:sc,BCard:vc,BCardBody:gc,BCardFooter:mc,BCardGroup:yc,BCardHeader:hc,BCardImg:cc,BCardSubtitle:fc,BCardText:bc,BCardTitle:pc,BCarousel:Nc,BCarouselSlide:Mc,BCloseButton:Tl,BCol:Bc,BCollapse:al,BContainer:iu,BDropdown:su,BDropdownDivider:cu,BDropdownForm:fu,BDropdownGroup:yu,BDropdownHeader:Su,BDropdownItem:_u,BDropdownItemButton:Au,BDropdownText:Ou,BForm:Du,BFormCheckbox:Bu,BFormCheckboxGroup:Yu,BFormFloatingLabel:Fu,BFormGroup:nd,BFormInput:sd,BFormInvalidFeedback:Uu,BFormRadio:ud,BFormRadioGroup:fd,BFormRow:Mu,BFormSelect:xd,BFormSelectOption:md,BFormSelectOptionGroup:yd,BFormText:Ru,BFormTextarea:Vd,BFormTag:Sd,BFormTags:Ud,BFormValidFeedback:ju,BImg:lc,BInputGroup:Yd,BInputGroupAddon:Gd,BInputGroupAppend:Xd,BInputGroupPrepend:Kd,BInputGroupText:Zd,BLink:Hl,BListGroup:Qd,BListGroupItem:eh,BModal:ah,BNav:oh,BNavbar:mh,BNavbarBrand:xh,BNavbarNav:wh,BNavbarToggle:kh,BNavItem:dh,BNavItemDropdown:ph,BOffcanvas:Th,BOverlay:Oh,BPagination:Wh,BPlaceholder:$h,BPlaceholderButton:qh,BPlaceholderCard:Yh,BPlaceholderTable:Gh,BPlaceholderWrapper:Xh,BPopover:np,BProgress:op,BProgressBar:ip,BRow:up,BSkeleton:dp,BSkeletonIcon:hp,BSkeletonTable:gp,BSkeletonWrapper:mp,BSpinner:tc,BFormSpinButton:Rp,BTab:xf,BTable:of,BTableSimple:Zh,BTbody:sf,BTd:uf,BTfoot:df,BTh:ff,BThead:gf,BTr:mf,BToast:nu,BToaster:ru,BToastContainer:ru,BTabs:bf,BTransition:Qc,BToastPlugin:Jc},Sf={install(e,t={}){Object.entries(wf).forEach((([t,n])=>{e.component(t,n)})),Object.entries(Sl).forEach((([t,n])=>{e.directive(t,n)})),js(e)}}},20425:function(e){!function(t,n){e.exports=n()}(0,(function(){var e="__v-click-outside",t="undefined"!=typeof window,n="undefined"!=typeof navigator,r=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],i=function(e){var t=e.event,n=e.handler;(0,e.middleware)(t)&&n(t)},a=function(t,n){var a=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe),capture:Boolean(e.capture)}}(n.value),o=a.handler,s=a.middleware,l=a.detectIframe,c=a.capture;if(a.isActive){if(t[e]=a.events.map((function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,a=e.middleware,o=n.path||n.composedPath&&n.composedPath();(o?o.indexOf(t)<0:!t.contains(n.target))&&i({event:n,handler:r,middleware:a})}({el:t,event:e,handler:o,middleware:s})},capture:c}})),l){var u={event:"blur",srcTarget:window,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,a=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&i({event:n,handler:r,middleware:a})}),0)}({el:t,event:e,handler:o,middleware:s})},capture:c};t[e]=[].concat(t[e],[u])}t[e].forEach((function(n){var r=n.event,i=n.srcTarget,a=n.handler;return setTimeout((function(){t[e]&&i.addEventListener(r,a,c)}),0)}))}},o=function(t){(t[e]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,e.capture)})),delete t[e]},s=t?{beforeMount:a,updated:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(e),a(e,{value:n}))},unmounted:o}:{};return{install:function(e){e.directive("click-outside",s)},directive:s}}))},19662:function(e,t,n){var r=n(60614),i=n(66330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a function")}},19670:function(e,t,n){var r=n(70111),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not an object")}},41318:function(e,t,n){var r=n(45656),i=n(51400),a=n(26244),o=function(e){return function(t,n,o){var s,l=r(t),c=a(l),u=i(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},83658:function(e,t,n){"use strict";var r=n(19781),i=n(43157),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!o(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},84326:function(e,t,n){var r=n(1702),i=r({}.toString),a=r("".slice);e.exports=function(e){return a(i(e),8,-1)}},99920:function(e,t,n){var r=n(92597),i=n(53887),a=n(31236),o=n(3070);e.exports=function(e,t,n){for(var s=i(t),l=o.f,c=a.f,u=0;un)throw t("Maximum allowed index exceeded");return e}},88113:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,n){var r,i,a=n(17854),o=n(88113),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(e,t,n){var r=n(17854),i=n(31236).f,a=n(68880),o=n(98052),s=n(13072),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,h,p,f,g=e.target,m=e.global,v=e.stat;if(u=m?r:v?r[g]||s(g,{}):(r[g]||{}).prototype,u)for(d in t){if(p=t[d],e.dontCallGetSet?(f=i(u,d),h=f&&f.value):h=u[d],n=c(m?d:g+(v?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&a(p,"sham",!0),o(u,d,p,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},34374:function(e,t,n){var r=n(47293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:function(e,t,n){var r=n(34374),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},76530:function(e,t,n){var r=n(19781),i=n(92597),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1702:function(e,t,n){var r=n(34374),i=Function.prototype,a=i.call,o=r&&i.bind.bind(a,a);e.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}},35005:function(e,t,n){var r=n(17854),i=n(60614),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},58173:function(e,t,n){var r=n(19662),i=n(68554);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},17854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:function(e,t,n){var r=n(1702),i=n(47908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},3501:function(e){e.exports={}},64664:function(e,t,n){var r=n(19781),i=n(47293),a=n(80317);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){var r=n(1702),i=n(47293),a=n(84326),o=Object,s=r("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):o(e)}:o},42788:function(e,t,n){var r=n(1702),i=n(60614),a=n(5465),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},29909:function(e,t,n){var r,i,a,o=n(94811),s=n(17854),l=n(70111),c=n(68880),u=n(92597),d=n(5465),h=n(6200),p=n(3501),f="Object already initialized",g=s.TypeError,m=s.WeakMap,v=function(e){return a(e)?i(e):r(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}};if(o||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw g(f);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},a=function(e){return b.has(e)}}else{var x=h("state");p[x]=!0,r=function(e,t){if(u(e,x))throw g(f);return t.facade=e,c(e,x,t),t},i=function(e){return u(e,x)?e[x]:{}},a=function(e){return u(e,x)}}e.exports={set:r,get:i,has:a,enforce:v,getterFor:y}},43157:function(e,t,n){var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:function(e,t,n){var r=n(4154),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},54705:function(e,t,n){var r=n(47293),i=n(60614),a=/#|\.prototype\./,o=function(e,t){var n=l[s(e)];return n==u||n!=c&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},68554:function(e){e.exports=function(e){return null===e||void 0===e}},70111:function(e,t,n){var r=n(60614),i=n(4154),a=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},31913:function(e){e.exports=!1},52190:function(e,t,n){var r=n(35005),i=n(60614),a=n(47976),o=n(43307),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,s(e))}},26244:function(e,t,n){var r=n(17466);e.exports=function(e){return r(e.length)}},56339:function(e,t,n){var r=n(1702),i=n(47293),a=n(60614),o=n(92597),s=n(19781),l=n(76530).CONFIGURABLE,c=n(42788),u=n(29909),d=u.enforce,h=u.get,p=String,f=Object.defineProperty,g=r("".slice),m=r("".replace),v=r([].join),y=s&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=e.exports=function(e,t,n){"Symbol("===g(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&o(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=d(e);return o(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return a(this)&&h(this).source||c(this)}),"toString")},74758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3070:function(e,t,n){var r=n(19781),i=n(64664),a=n(3353),o=n(19670),s=n(34948),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",p="writable";t.f=r?a?function(e,t,n){if(o(e),t=s(t),o(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=u(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(o(e),t=s(t),o(n),i)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){var r=n(19781),i=n(46916),a=n(55296),o=n(79114),s=n(45656),l=n(34948),c=n(92597),u=n(64664),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return o(!i(a.f,e,t),e[t])}},8006:function(e,t,n){var r=n(16324),i=n(80748),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},47976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},16324:function(e,t,n){var r=n(1702),i=n(92597),a=n(45656),o=n(41318).indexOf,s=n(3501),l=r([].push);e.exports=function(e,t){var n,r=a(e),c=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&l(u,n);while(t.length>c)i(r,n=t[c++])&&(~o(u,n)||l(u,n));return u}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},92140:function(e,t,n){var r=n(46916),i=n(60614),a=n(70111),o=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!a(s=r(n,e)))return s;if(i(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!a(s=r(n,e)))return s;throw o("Can't convert object to primitive value")}},53887:function(e,t,n){var r=n(35005),i=n(1702),a=n(8006),o=n(25181),s=n(19670),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=o.f;return n?l(t,n(e)):t}},84488:function(e,t,n){var r=n(68554),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(72309),i=n(69711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},5465:function(e,t,n){var r=n(17854),i=n(13072),a="__core-js_shared__",o=r[a]||i(a,{});e.exports=o},72309:function(e,t,n){var r=n(31913),i=n(5465);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},36293:function(e,t,n){var r=n(7392),i=n(47293);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},51400:function(e,t,n){var r=n(19303),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},45656:function(e,t,n){var r=n(68361),i=n(84488);e.exports=function(e){return r(i(e))}},19303:function(e,t,n){var r=n(74758);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},17466:function(e,t,n){var r=n(19303),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},47908:function(e,t,n){var r=n(84488),i=Object;e.exports=function(e){return i(r(e))}},57593:function(e,t,n){var r=n(46916),i=n(70111),a=n(52190),o=n(58173),s=n(92140),l=n(5112),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,l=o(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},34948:function(e,t,n){var r=n(57593),i=n(52190);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},66330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},69711:function(e,t,n){var r=n(1702),i=0,a=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},43307:function(e,t,n){var r=n(36293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(19781),i=n(47293);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},94811:function(e,t,n){var r=n(17854),i=n(60614),a=r.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},5112:function(e,t,n){var r=n(17854),i=n(72309),a=n(92597),o=n(69711),s=n(36293),l=n(43307),c=r.Symbol,u=i("wks"),d=l?c["for"]||c:c&&c.withoutSetter||o;e.exports=function(e){return a(u,e)||(u[e]=s&&a(c,e)?c[e]:d("Symbol."+e)),u[e]}},57658:function(e,t,n){"use strict";var r=n(82109),i=n(47908),a=n(26244),o=n(83658),s=n(7207),l=n(47293),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=c||!u();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=i(this),n=a(t),r=arguments.length;s(n+r);for(var l=0;l=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;x[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},k=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},_=y;_.l=S,_.i=w,_.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e)}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return _},v.isValid=function(){return!(this.$d.toString()===p)},v.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return k(e)68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=o.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var r=h(t)(e),i=r.year,a=r.month,o=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,f=o||(i||a?1:p.getDate()),g=i||p.getFullYear(),m=0;i&&!a||(m=a>0?a-1:p.getMonth());var v=s||0,y=l||0,b=c||0,x=u||0;return d?new Date(Date.UTC(g,m,f,v,y,b,x+60*d.offset*1e3)):n?new Date(Date.UTC(g,m,f,v,y,b,x)):new Date(g,m,f,v,y,b,x)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var p=s.length,f=1;f<=p;f+=1){o[1]=s[f-1];var g=n.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}f===p&&(this.$d=new Date(""))}else i.call(this,e)}}}))},92997:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}}))},79212:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))},37412:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))},96036:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,n,r,a){var o=e.name?e:e.$locale(),s=i(o[t]),l=i(o[n]),c=s||l.map((function(e){return e.slice(0,r)}));if(!a)return c;var u=o.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):a(e,"months")},monthsShort:function(t){return t?t.format("MMM"):a(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):a(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):a(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):a(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return a(o(),"months")},n.monthsShort=function(){return a(o(),"monthsShort","months",3)},n.weekdays=function(e){return a(o(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return a(o(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return a(o(),"weekdaysMin","weekdays",2,e)}}}))},55183:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="week",t="year";return function(n,r,i){var a=r.prototype;a.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?i(this).startOf("week").week():Math.ceil(l)},a.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},172:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}))},95573:function(e){"use strict"; /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */var t=/["'&<>]/;function n(e){var n,r=""+e,i=t.exec(r);if(!i)return r;var a="",o=0,s=0;for(o=i.index;o',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js": /*!*******************************************!*\ !*** ./node_modules/classnames/dedupe.js ***! \*******************************************/ /*! no static exports found */function(e,t,n){var r,i; /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r1?arguments[1]:void 0,m=void 0!==g,v=0,y=c(h);if(m&&(g=r(g,f>2?arguments[2]:void 0,2)),void 0==y||p==Array&&o(y))for(t=s(h.length),n=new p(t);t>v;v++)l(n,v,m?g(h[v],v):h[v]);else for(d=y.call(h),n=new p;!(u=d.next()).done;v++)l(n,v,m?a(d,g,[u.value,v],!0):u.value);return n.length=v,n}},"./node_modules/core-js/internals/array-includes.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/array-includes.js ***! \**********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/to-indexed-object */"./node_modules/core-js/internals/to-indexed-object.js"),i=n(/*! ../internals/to-length */"./node_modules/core-js/internals/to-length.js"),a=n(/*! ../internals/to-absolute-index */"./node_modules/core-js/internals/to-absolute-index.js");e.exports=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"./node_modules/core-js/internals/bind-context.js": /*!********************************************************!*\ !*** ./node_modules/core-js/internals/bind-context.js ***! \********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/a-function */"./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js": /*!****************************************************************************!*\ !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! \****************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/an-object */"./node_modules/core-js/internals/an-object.js");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(o){var a=e["return"];throw void 0!==a&&r(a.call(e)),o}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js": /*!**************************************************************************!*\ !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***! \**************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/well-known-symbol */"./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"./node_modules/core-js/internals/classof-raw.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/classof-raw.js ***! \*******************************************************/ /*! no static exports found */function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js": /*!***************************************************!*\ !*** ./node_modules/core-js/internals/classof.js ***! \***************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/classof-raw */"./node_modules/core-js/internals/classof-raw.js"),i=n(/*! ../internals/well-known-symbol */"./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),a))?n:o?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},"./node_modules/core-js/internals/copy-constructor-properties.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! \***********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),i=n(/*! ../internals/own-keys */"./node_modules/core-js/internals/own-keys.js"),a=n(/*! ../internals/object-get-own-property-descriptor */"./node_modules/core-js/internals/object-get-own-property-descriptor.js"),o=n(/*! ../internals/object-define-property */"./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=i(t),s=o.f,l=a.f,c=0;c",c="java"+i+":";t.style.display="none",s.appendChild(t),t.src=String(c),e=t.contentWindow.document,e.open(),e.write(r+i+o+"document.F=Object"+r+"/"+i+o),e.close(),p=e.F;while(n--)delete p[d][a[n]];return p()};e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=r(e),n=new h,h[d]=null,n[u]=e):n=p(),void 0===t?n:i(n,t)},o[u]=!0},"./node_modules/core-js/internals/object-define-properties.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/object-define-properties.js ***! \********************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/descriptors */"./node_modules/core-js/internals/descriptors.js"),i=n(/*! ../internals/object-define-property */"./node_modules/core-js/internals/object-define-property.js"),a=n(/*! ../internals/an-object */"./node_modules/core-js/internals/an-object.js"),o=n(/*! ../internals/object-keys */"./node_modules/core-js/internals/object-keys.js");e.exports=r?Object.defineProperties:function(e,t){a(e);var n,r=o(t),s=r.length,l=0;while(s>l)i.f(e,n=r[l++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js": /*!******************************************************************!*\ !*** ./node_modules/core-js/internals/object-define-property.js ***! \******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/descriptors */"./node_modules/core-js/internals/descriptors.js"),i=n(/*! ../internals/ie8-dom-define */"./node_modules/core-js/internals/ie8-dom-define.js"),a=n(/*! ../internals/an-object */"./node_modules/core-js/internals/an-object.js"),o=n(/*! ../internals/to-primitive */"./node_modules/core-js/internals/to-primitive.js"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js": /*!******************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! \******************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/descriptors */"./node_modules/core-js/internals/descriptors.js"),i=n(/*! ../internals/object-property-is-enumerable */"./node_modules/core-js/internals/object-property-is-enumerable.js"),a=n(/*! ../internals/create-property-descriptor */"./node_modules/core-js/internals/create-property-descriptor.js"),o=n(/*! ../internals/to-indexed-object */"./node_modules/core-js/internals/to-indexed-object.js"),s=n(/*! ../internals/to-primitive */"./node_modules/core-js/internals/to-primitive.js"),l=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),c=n(/*! ../internals/ie8-dom-define */"./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),c)try{return u(e,t)}catch(n){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names.js": /*!*************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! \*************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/object-keys-internal */"./node_modules/core-js/internals/object-keys-internal.js"),i=n(/*! ../internals/enum-bug-keys */"./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js": /*!***************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! \***************************************************************************/ /*! no static exports found */function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js": /*!*******************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),i=n(/*! ../internals/to-object */"./node_modules/core-js/internals/to-object.js"),a=n(/*! ../internals/shared-key */"./node_modules/core-js/internals/shared-key.js"),o=n(/*! ../internals/correct-prototype-getter */"./node_modules/core-js/internals/correct-prototype-getter.js"),s=a("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js": /*!****************************************************************!*\ !*** ./node_modules/core-js/internals/object-keys-internal.js ***! \****************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),i=n(/*! ../internals/to-indexed-object */"./node_modules/core-js/internals/to-indexed-object.js"),a=n(/*! ../internals/array-includes */"./node_modules/core-js/internals/array-includes.js"),o=n(/*! ../internals/hidden-keys */"./node_modules/core-js/internals/hidden-keys.js"),s=a(!1);e.exports=function(e,t){var n,a=i(e),l=0,c=[];for(n in a)!r(o,n)&&r(a,n)&&c.push(n);while(t.length>l)r(a,n=t[l++])&&(~s(c,n)||c.push(n));return c}},"./node_modules/core-js/internals/object-keys.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/object-keys.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/object-keys-internal */"./node_modules/core-js/internals/object-keys-internal.js"),i=n(/*! ../internals/enum-bug-keys */"./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js": /*!*************************************************************************!*\ !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! \*************************************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js": /*!*******************************************************************!*\ !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! \*******************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/validate-set-prototype-of-arguments */"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n,i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"./node_modules/core-js/internals/own-keys.js": /*!****************************************************!*\ !*** ./node_modules/core-js/internals/own-keys.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js"),i=n(/*! ../internals/object-get-own-property-names */"./node_modules/core-js/internals/object-get-own-property-names.js"),a=n(/*! ../internals/object-get-own-property-symbols */"./node_modules/core-js/internals/object-get-own-property-symbols.js"),o=n(/*! ../internals/an-object */"./node_modules/core-js/internals/an-object.js"),s=r.Reflect;e.exports=s&&s.ownKeys||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js": /*!************************************************!*\ !*** ./node_modules/core-js/internals/path.js ***! \************************************************/ /*! no static exports found */function(e,t,n){e.exports=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js": /*!****************************************************!*\ !*** ./node_modules/core-js/internals/redefine.js ***! \****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js"),i=n(/*! ../internals/shared */"./node_modules/core-js/internals/shared.js"),a=n(/*! ../internals/hide */"./node_modules/core-js/internals/hide.js"),o=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),s=n(/*! ../internals/set-global */"./node_modules/core-js/internals/set-global.js"),l=n(/*! ../internals/function-to-string */"./node_modules/core-js/internals/function-to-string.js"),c=n(/*! ../internals/internal-state */"./node_modules/core-js/internals/internal-state.js"),u=c.get,d=c.enforce,h=String(l).split("toString");i("inspectSource",(function(e){return l.call(e)})),(e.exports=function(e,t,n,i){var l=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),d(n).source=h.join("string"==typeof t?t:"")),e!==r?(l?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=n:a(e,t,n)):c?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||l.call(this)}))},"./node_modules/core-js/internals/require-object-coercible.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/require-object-coercible.js ***! \********************************************************************/ /*! no static exports found */function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/set-global.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js"),i=n(/*! ../internals/hide */"./node_modules/core-js/internals/hide.js");e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/set-to-string-tag.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/object-define-property */"./node_modules/core-js/internals/object-define-property.js").f,i=n(/*! ../internals/has */"./node_modules/core-js/internals/has.js"),a=n(/*! ../internals/well-known-symbol */"./node_modules/core-js/internals/well-known-symbol.js"),o=a("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/shared-key.js ***! \******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/shared */"./node_modules/core-js/internals/shared.js"),i=n(/*! ../internals/uid */"./node_modules/core-js/internals/uid.js"),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},"./node_modules/core-js/internals/shared.js": /*!**************************************************!*\ !*** ./node_modules/core-js/internals/shared.js ***! \**************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js"),i=n(/*! ../internals/set-global */"./node_modules/core-js/internals/set-global.js"),a=n(/*! ../internals/is-pure */"./node_modules/core-js/internals/is-pure.js"),o="__core-js_shared__",s=r[o]||i(o,{});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/string-at.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/to-integer */"./node_modules/core-js/internals/to-integer.js"),i=n(/*! ../internals/require-object-coercible */"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e,t,n){var a,o,s=String(i(e)),l=r(t),c=s.length;return l<0||l>=c?n?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?n?s.charAt(l):a:n?s.slice(l,l+2):o-56320+(a-55296<<10)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/to-absolute-index.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/to-integer */"./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/to-indexed-object.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/indexed-object */"./node_modules/core-js/internals/indexed-object.js"),i=n(/*! ../internals/require-object-coercible */"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(i(e))}},"./node_modules/core-js/internals/to-integer.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/to-integer.js ***! \******************************************************/ /*! no static exports found */function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"./node_modules/core-js/internals/to-length.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/to-length.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/to-integer */"./node_modules/core-js/internals/to-integer.js"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/to-object.js ***! \*****************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/require-object-coercible */"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(r(e))}},"./node_modules/core-js/internals/to-primitive.js": /*!********************************************************!*\ !*** ./node_modules/core-js/internals/to-primitive.js ***! \********************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/is-object */"./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js": /*!***********************************************!*\ !*** ./node_modules/core-js/internals/uid.js ***! \***********************************************/ /*! no static exports found */function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js": /*!*******************************************************************************!*\ !*** ./node_modules/core-js/internals/validate-set-prototype-of-arguments.js ***! \*******************************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/is-object */"./node_modules/core-js/internals/is-object.js"),i=n(/*! ../internals/an-object */"./node_modules/core-js/internals/an-object.js");e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/well-known-symbol.js ***! \*************************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/global */"./node_modules/core-js/internals/global.js"),i=n(/*! ../internals/shared */"./node_modules/core-js/internals/shared.js"),a=n(/*! ../internals/uid */"./node_modules/core-js/internals/uid.js"),o=n(/*! ../internals/native-symbol */"./node_modules/core-js/internals/native-symbol.js"),s=r.Symbol,l=i("wks");e.exports=function(e){return l[e]||(l[e]=o&&s[e]||(o?s:a)("Symbol."+e))}},"./node_modules/core-js/modules/es.array.from.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/modules/es.array.from.js ***! \*******************************************************/ /*! no static exports found */function(e,t,n){var r=n(/*! ../internals/export */"./node_modules/core-js/internals/export.js"),i=n(/*! ../internals/array-from */"./node_modules/core-js/internals/array-from.js"),a=n(/*! ../internals/check-correctness-of-iteration */"./node_modules/core-js/internals/check-correctness-of-iteration.js"),o=!a((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:o},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js": /*!************************************************************!*\ !*** ./node_modules/core-js/modules/es.string.iterator.js ***! \************************************************************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ../internals/string-at */"./node_modules/core-js/internals/string-at.js"),i=n(/*! ../internals/internal-state */"./node_modules/core-js/internals/internal-state.js"),a=n(/*! ../internals/define-iterator */"./node_modules/core-js/internals/define-iterator.js"),o="String Iterator",s=i.set,l=i.getterFor(o);a(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i,!0),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/webpack/buildin/global.js": /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"./src/default-attrs.json": /*!********************************!*\ !*** ./src/default-attrs.json ***! \********************************/ /*! exports provided: xmlns, width, height, viewBox, fill, stroke, stroke-width, stroke-linecap, stroke-linejoin, default */function(e){e.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js": /*!*********************!*\ !*** ./src/icon.js ***! \*********************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[];u(this,e),this.name=t,this.contents=n,this.tags=i,this.attrs=r({},l.default,{class:"feather feather-"+t})}return i(e,[{key:"toSvg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r({},this.attrs,e,{class:(0,o.default)(this.attrs.class,e.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),e}();function h(e){return Object.keys(e).map((function(t){return t+'="'+e[t]+'"'})).join(" ")}t.default=d},"./src/icons.js": /*!**********************!*\ !*** ./src/icons.js ***! \**********************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./icon */"./src/icon.js"),i=c(r),a=n(/*! ../dist/icons.json */"./dist/icons.json"),o=c(a),s=n(/*! ./tags.json */"./src/tags.json"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}t.default=Object.keys(o.default).map((function(e){return new i.default(e,o.default[e],l.default[e])})).reduce((function(e,t){return e[t.name]=t,e}),{})},"./src/index.js": /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /*! no static exports found */function(e,t,n){"use strict";var r=n(/*! ./icons */"./src/icons.js"),i=c(r),a=n(/*! ./to-svg */"./src/to-svg.js"),o=c(a),s=n(/*! ./replace */"./src/replace.js"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}e.exports={icons:i.default,toSvg:o.default,replace:l.default}},"./src/replace.js": /*!************************!*\ !*** ./src/replace.js ***! \************************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"===typeof document)throw new Error("`feather.replace()` only works in a browser environment.");var t=document.querySelectorAll("[data-feather]");Array.from(t).forEach((function(t){return u(t,e)}))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e),i=n["data-feather"];delete n["data-feather"];var o=s.default[i].toSvg(r({},t,n,{class:(0,a.default)(t.class,n.class)})),l=(new DOMParser).parseFromString(o,"image/svg+xml"),c=l.querySelector("svg");e.parentNode.replaceChild(c,e)}function d(e){return Array.from(e.attributes).reduce((function(e,t){return e[t.name]=t.value,e}),{})}t.default=c},"./src/tags.json": /*!***********************!*\ !*** ./src/tags.json ***! \***********************/ /*! exports provided: activity, airplay, alert-circle, alert-octagon, alert-triangle, align-center, align-justify, align-left, align-right, anchor, archive, at-sign, award, aperture, bar-chart, bar-chart-2, battery, battery-charging, bell, bell-off, bluetooth, book-open, book, bookmark, box, briefcase, calendar, camera, cast, chevron-down, chevron-up, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-rain, cloud-snow, cloud, codepen, codesandbox, code, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, dollar-sign, droplet, edit, edit-2, edit-3, eye, eye-off, external-link, facebook, fast-forward, figma, file-minus, file-plus, file-text, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, instagram, key, layers, layout, life-bouy, link, link-2, linkedin, list, lock, log-in, log-out, mail, map-pin, map, maximize, maximize-2, meh, menu, message-circle, message-square, mic-off, mic, minimize, minimize-2, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation, navigation-2, octagon, package, paperclip, pause, pause-circle, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, play, pie-chart, play-circle, plus, plus-circle, plus-square, pocket, power, printer, radio, refresh-cw, refresh-ccw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, settings, share-2, shield, shield-off, shopping-bag, shopping-cart, shuffle, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, star, stop-circle, sun, sunrise, sunset, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash, trash-2, triangle, truck, tv, twitch, twitter, type, umbrella, unlock, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume, volume-1, volume-2, volume-x, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out, default */function(e){e.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js": /*!***********************!*\ !*** ./src/to-svg.js ***! \***********************/ /*! no static exports found */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(/*! ./icons */"./src/icons.js"),i=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!e)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[e])throw new Error("No icon matching '"+e+"'. See the complete list of icons at https://feathericons.com");return i.default[e].toSvg(t)}t.default=o},0: /*!**************************************************!*\ !*** multi core-js/es/array/from ./src/index.js ***! \**************************************************/ /*! no static exports found */function(e,t,n){n(/*! core-js/es/array/from */"./node_modules/core-js/es/array/from.js"),e.exports=n(/*! /home/runner/work/feather/feather/src/index.js */"./src/index.js")}})}))},62705:function(e,t,n){var r=n(55639),i=r.Symbol;e.exports=i},29932:function(e){function t(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++ni?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;var a=Array(i);while(++r=i?e:r(e,t,n)}e.exports=i},98805:function(e,t,n){var r=n(40180),i=n(62689),a=n(83140),o=n(79833);function s(e){return function(t){t=o(t);var n=i(t)?a(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}e.exports=s},35393:function(e,t,n){var r=n(62663),i=n(53816),a=n(58748),o="['’]",s=RegExp(o,"g");function l(e){return function(t){return r(a(i(t).replace(s,"")),e,"")}}e.exports=l},69389:function(e,t,n){var r=n(18674),i={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},a=r(i);e.exports=a},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},62689:function(e){var t="\\ud800-\\udfff",n="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=n+r+i,o="\\ufe0e\\ufe0f",s="\\u200d",l=RegExp("["+s+t+a+o+"]");function c(e){return l.test(e)}e.exports=c},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function n(e){return t.test(e)}e.exports=n},2333:function(e){var t=Object.prototype,n=t.toString;function r(e){return n.call(e)}e.exports=r},55639:function(e,t,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},83140:function(e,t,n){var r=n(44286),i=n(62689),a=n(676);function o(e){return i(e)?a(e):r(e)}e.exports=o},676:function(e){var t="\\ud800-\\udfff",n="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=n+r+i,o="\\ufe0e\\ufe0f",s="["+t+"]",l="["+a+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+l+"|"+c+")",d="[^"+t+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",f="\\u200d",g=u+"?",m="["+o+"]?",v="(?:"+f+"(?:"+[d,h,p].join("|")+")"+m+g+")*",y=m+g+v,b="(?:"+[d+l+"?",l,h,p,s].join("|")+")",x=RegExp(c+"(?="+c+")|"+b+y,"g");function w(e){return e.match(x)||[]}e.exports=w},2757:function(e){var t="\\ud800-\\udfff",n="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=n+r+i,o="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",l="\\xac\\xb1\\xd7\\xf7",c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",d=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\ufe0e\\ufe0f",f=l+c+u+d,g="['’]",m="["+f+"]",v="["+a+"]",y="\\d+",b="["+o+"]",x="["+s+"]",w="[^"+t+f+y+o+s+h+"]",S="\\ud83c[\\udffb-\\udfff]",k="(?:"+v+"|"+S+")",_="[^"+t+"]",C="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",A="["+h+"]",I="\\u200d",T="(?:"+x+"|"+w+")",O="(?:"+A+"|"+w+")",N="(?:"+g+"(?:d|ll|m|re|s|t|ve))?",D="(?:"+g+"(?:D|LL|M|RE|S|T|VE))?",L=k+"?",P="["+p+"]?",F="(?:"+I+"(?:"+[_,C,E].join("|")+")"+P+L+")*",U="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",M="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",R=P+L+F,j="(?:"+[b,C,E].join("|")+")"+R,V=RegExp([A+"?"+x+"+"+N+"(?="+[m,A,"$"].join("|")+")",O+"+"+D+"(?="+[m,A+T,"$"].join("|")+")",A+"?"+T+"+"+N,A+"+"+D,M,U,y,j].join("|"),"g");function z(e){return e.match(V)||[]}e.exports=z},68929:function(e,t,n){var r=n(48403),i=n(35393),a=i((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},48403:function(e,t,n){var r=n(79833),i=n(11700);function a(e){return i(r(e).toLowerCase())}e.exports=a},53816:function(e,t,n){var r=n(69389),i=n(79833),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",l="\\u20d0-\\u20ff",c=o+s+l,u="["+c+"]",d=RegExp(u,"g");function h(e){return e=i(e),e&&e.replace(a,r).replace(d,"")}e.exports=h},1469:function(e){var t=Array.isArray;e.exports=t},37005:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},33448:function(e,t,n){var r=n(44239),i=n(37005),a="[object Symbol]";function o(e){return"symbol"==typeof e||i(e)&&r(e)==a}e.exports=o},79833:function(e,t,n){var r=n(80531);function i(e){return null==e?"":r(e)}e.exports=i},11700:function(e,t,n){var r=n(98805),i=r("toUpperCase");e.exports=i},58748:function(e,t,n){var r=n(49029),i=n(93157),a=n(79833),o=n(2757);function s(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?o(e):r(e):e.match(t)||[]}e.exports=s},59424:function(e,t,n){"use strict"; /*! * maska v1.5.2 * (c) 2019-2022 Alexander Shabunevich * Released under the MIT License. */ function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:c,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return d(t).length>1?h(t)(e,t,n,r):p(e,t,n,r)}function d(e){try{return JSON.parse(e)}catch(i){return[e]}}function h(e){var t=d(e).sort((function(e,t){return e.length-t.length}));return function(e,r,i){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t.map((function(t){return p(e,t,i,!1)})),s=o.pop();for(var l in t)if(n(s,t[l],i))return p(e,t[l],i,a);return""};function n(e,t,n){for(var r in n)n[r].escape&&(t=t.replace(new RegExp(r+".{1}","g"),""));return t.split("").filter((function(e){return n[e]&&n[e].pattern})).length>=e.length}}function p(e,t,n){for(var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=0,a=0,o="",s="";i1&&void 0!==arguments[1]?arguments[1]:{};if(a(this,e),!t)throw new Error("Maska: no element for mask");if(null!=r.preprocessor&&"function"!=typeof r.preprocessor)throw new Error("Maska: preprocessor must be a function");if(r.tokens)for(var o in r.tokens)r.tokens[o]=i({},r.tokens[o]),r.tokens[o].pattern&&m(r.tokens[o].pattern)&&(r.tokens[o].pattern=new RegExp(r.tokens[o].pattern));this._opts={mask:r.mask,tokens:i(i({},c),r.tokens),preprocessor:r.preprocessor},this._el=m(t)?document.querySelectorAll(t):t.length?t:[t],this.inputEvent=function(e){return n.updateValue(e.target,e)},this.init()}var t,n,r;return t=e,n=[{key:"init",value:function(){for(var e=this,t=function(t){var n=g(e._el[t]);!e._opts.mask||n.dataset.mask&&n.dataset.mask===e._opts.mask||(n.dataset.mask=e._opts.mask),setTimeout((function(){return e.updateValue(n)}),0),n.dataset.maskInited||(n.dataset.maskInited=!0,n.addEventListener("input",e.inputEvent),n.addEventListener("beforeinput",e.beforeInput))},n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=document.createEvent("Event");return n.initEvent(e,!0,!0),t&&(n.inputType=t),n}(e,n&&n.inputType||null))}}],n&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),b=(v=new WeakMap,function(e,t){t.value&&(v.has(e)&&!function(e){return!(m(e.value)&&e.value===e.oldValue||Array.isArray(e.value)&&JSON.stringify(e.value)===JSON.stringify(e.oldValue)||e.value&&e.value.mask&&e.oldValue&&e.oldValue.mask&&e.value.mask===e.oldValue.mask)}(t)||v.set(e,new y(e,function(e){var t={};return e.mask?(t.mask=Array.isArray(e.mask)?JSON.stringify(e.mask):e.mask,t.tokens=e.tokens?i({},e.tokens):{},t.preprocessor=e.preprocessor):t.mask=Array.isArray(e)?JSON.stringify(e):e,t}(t.value))))});function x(e){e.directive("maska",b)}"undefined"!=typeof window&&window.Vue&&window.Vue.use&&window.Vue.use(x)},54415:function(){},70655:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},_T:function(){return a}}); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);ii?Symbol(e):e,o=(e,t,n)=>s({l:e,k:t,s:n}),s=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),l=e=>"number"===typeof e&&isFinite(e),c=e=>"[object Date]"===C(e),u=e=>"[object RegExp]"===C(e),d=e=>E(e)&&0===Object.keys(e).length;function h(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const p=Object.assign;let f;const g=()=>f||(f="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function m(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const v=Object.prototype.hasOwnProperty;function y(e,t){return v.call(e,t)}const b=Array.isArray,x=e=>"function"===typeof e,w=e=>"string"===typeof e,S=e=>"boolean"===typeof e,k=e=>null!==e&&"object"===typeof e,_=Object.prototype.toString,C=e=>_.call(e),E=e=>"[object Object]"===C(e),A=e=>null==e?"":b(e)||E(e)&&e.toString===_?JSON.stringify(e,null,2):String(e); /*! * message-compiler v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */ const I={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};I.EXPECTED_TOKEN,I.INVALID_TOKEN_IN_PLACEHOLDER,I.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,I.UNKNOWN_ESCAPE_SEQUENCE,I.INVALID_UNICODE_ESCAPE_SEQUENCE,I.UNBALANCED_CLOSING_BRACE,I.UNTERMINATED_CLOSING_BRACE,I.EMPTY_PLACEHOLDER,I.NOT_ALLOW_NEST_PLACEHOLDER,I.INVALID_LINKED_FORMAT,I.MUST_HAVE_MESSAGES_IN_PLURAL,I.UNEXPECTED_EMPTY_LINKED_MODIFIER,I.UNEXPECTED_EMPTY_LINKED_KEY,I.UNEXPECTED_LEXICAL_ANALYSIS;function T(e,t,n={}){const{domain:r,messages:i,args:a}=n,o=e,s=new SyntaxError(String(o));return s.code=e,t&&(s.location=t),s.domain=r,s}function O(e){throw e}function N(e,t,n){return{line:e,column:t,offset:n}}function D(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const L=" ",P="\r",F="\n",U=String.fromCharCode(8232),M=String.fromCharCode(8233);function R(e){const t=e;let n=0,r=1,i=1,a=0;const o=e=>t[e]===P&&t[e+1]===F,s=e=>t[e]===F,l=e=>t[e]===M,c=e=>t[e]===U,u=e=>o(e)||s(e)||l(e)||c(e),d=()=>n,h=()=>r,p=()=>i,f=()=>a,g=e=>o(e)||l(e)||c(e)?F:t[e],m=()=>g(n),v=()=>g(n+a);function y(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function b(){return o(n+a)&&a++,a++,t[n+a]}function x(){n=0,r=1,i=1,a=0}function w(e=0){a=e}function S(){const e=n+a;while(e!==n)y();a=0}return{index:d,line:h,column:p,peekOffset:f,charAt:g,currentChar:m,currentPeek:v,next:y,peek:b,reset:x,resetPeek:w,skipToPeek:S}}const j=void 0,V="'",z="tokenizer";function H(e,t={}){const n=!1!==t.location,r=R(e),i=()=>r.index(),a=()=>N(r.line(),r.column(),r.index()),o=a(),s=i(),l={currentType:14,offset:s,startLoc:o,endLoc:o,lastType:14,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,n,...r){const i=c();if(t.column+=n,t.offset+=n,u){const n=D(i.startLoc,t),a=T(e,n,{domain:z,args:r});u(a)}}function h(e,t,r){e.endLoc=a(),e.currentType=t;const i={type:t};return n&&(i.loc=D(e.startLoc,e.endLoc)),null!=r&&(i.value=r),i}const p=e=>h(e,14);function f(e,t){return e.currentChar()===t?(e.next(),t):(d(I.EXPECTED_TOKEN,a(),0,t),"")}function g(e){let t="";while(e.currentPeek()===L||e.currentPeek()===F)t+=e.currentPeek(),e.peek();return t}function m(e){const t=g(e);return e.skipToPeek(),t}function v(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function y(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function b(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r=v(e.currentPeek());return e.resetPeek(),r}function x(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r="-"===e.currentPeek()?e.peek():e.currentPeek(),i=y(r);return e.resetPeek(),i}function w(e,t){const{currentType:n}=t;if(2!==n)return!1;g(e);const r=e.currentPeek()===V;return e.resetPeek(),r}function S(e,t){const{currentType:n}=t;if(8!==n)return!1;g(e);const r="."===e.currentPeek();return e.resetPeek(),r}function k(e,t){const{currentType:n}=t;if(9!==n)return!1;g(e);const r=v(e.currentPeek());return e.resetPeek(),r}function _(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;g(e);const r=":"===e.currentPeek();return e.resetPeek(),r}function C(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?v(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===L||!t)&&(t===F?(e.peek(),r()):v(t))},i=r();return e.resetPeek(),i}function E(e){g(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function A(e){const t=g(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}function O(e,t=!0){const n=(t=!1,r="",i=!1)=>{const a=e.currentPeek();return"{"===a?"%"!==r&&t:"@"!==a&&a?"%"===a?(e.peek(),n(t,"%",!0)):"|"===a?!("%"!==r&&!i)||!(r===L||r===F):a===L?(e.peek(),n(!0,L,i)):a!==F||(e.peek(),n(!0,F,i)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function P(e,t){const n=e.currentChar();return n===j?j:t(n)?(e.next(),n):null}function U(e){const t=e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t};return P(e,t)}function M(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57};return P(e,t)}function H(e){const t=e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};return P(e,t)}function B(e){let t="",n="";while(t=M(e))n+=t;return n}function W(e){m(e);const t=e.currentChar();return"%"!==t&&d(I.EXPECTED_TOKEN,a(),0,t),e.next(),"%"}function $(e){let t="";while(1){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!O(e))break;t+=n,e.next()}else if(n===L||n===F)if(O(e))t+=n,e.next();else{if(E(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function q(e){m(e);let t="",n="";while(t=U(e))n+=t;return e.currentChar()===j&&d(I.UNTERMINATED_CLOSING_BRACE,a(),0),n}function Y(e){m(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${B(e)}`):t+=B(e),e.currentChar()===j&&d(I.UNTERMINATED_CLOSING_BRACE,a(),0),t}function Z(e){m(e),f(e,"'");let t="",n="";const r=e=>e!==V&&e!==F;while(t=P(e,r))n+="\\"===t?G(e):t;const i=e.currentChar();return i===F||i===j?(d(I.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),i===F&&(e.next(),f(e,"'")),n):(f(e,"'"),n)}function G(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return X(e,t,4);case"U":return X(e,t,6);default:return d(I.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),""}}function X(e,t,n){f(e,t);let r="";for(let i=0;i"{"!==e&&"}"!==e&&e!==L&&e!==F;while(t=P(e,r))n+=t;return n}function J(e){let t="",n="";while(t=U(e))n+=t;return n}function Q(e){const t=(n=!1,r)=>{const i=e.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===L?r:i===F?(r+=i,e.next(),t(n,r)):(r+=i,e.next(),t(!0,r)):r};return t(!1,"")}function ee(e){m(e);const t=f(e,"|");return m(e),t}function te(e,t){let n=null;const r=e.currentChar();switch(r){case"{":return t.braceNest>=1&&d(I.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=h(t,2,"{"),m(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(I.EMPTY_PLACEHOLDER,a(),0),e.next(),n=h(t,3,"}"),t.braceNest--,t.braceNest>0&&m(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(I.UNTERMINATED_CLOSING_BRACE,a(),0),n=ne(e,t)||p(t),t.braceNest=0,n;default:let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(I.UNTERMINATED_CLOSING_BRACE,a(),0),n=h(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(I.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,re(e,t);if(r=b(e,t))return n=h(t,5,q(e)),m(e),n;if(i=x(e,t))return n=h(t,6,Y(e)),m(e),n;if(o=w(e,t))return n=h(t,7,Z(e)),m(e),n;if(!r&&!i&&!o)return n=h(t,13,K(e)),d(I.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),m(e),n;break}return n}function ne(e,t){const{currentType:n}=t;let r=null;const i=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==F&&i!==L||d(I.INVALID_LINKED_FORMAT,a(),0),i){case"@":return e.next(),r=h(t,8,"@"),t.inLinked=!0,r;case".":return m(e),e.next(),h(t,9,".");case":":return m(e),e.next(),h(t,10,":");default:return E(e)?(r=h(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||_(e,t)?(m(e),ne(e,t)):k(e,t)?(m(e),h(t,12,J(e))):C(e,t)?(m(e),"{"===i?te(e,t)||r:h(t,11,Q(e))):(8===n&&d(I.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,re(e,t))}}function re(e,t){let n={type:14};if(t.braceNest>0)return te(e,t)||p(t);if(t.inLinked)return ne(e,t)||p(t);const r=e.currentChar();switch(r){case"{":return te(e,t)||p(t);case"}":return d(I.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),h(t,3,"}");case"@":return ne(e,t)||p(t);default:if(E(e))return n=h(t,1,ee(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:i}=A(e);if(r)return i?h(t,0,$(e)):h(t,4,W(e));if(O(e))return h(t,0,$(e));break}return n}function ie(){const{currentType:e,offset:t,startLoc:n,endLoc:o}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=o,l.offset=i(),l.startLoc=a(),r.currentChar()===j?h(l,14):re(r,l)}return{nextToken:ie,currentOffset:i,currentPosition:a,context:c}}const B="parser",W=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function q(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,t,r,i,...a){const o=e.currentPosition();if(o.offset+=i,o.column+=i,n){const e=D(r,o),i=T(t,e,{domain:B,args:a});n(i)}}function i(e,n,r){const i={type:e,start:n,end:n};return t&&(i.loc={start:r,end:r}),i}function a(e,n,r,i){e.end=n,i&&(e.type=i),t&&e.loc&&(e.loc.end=r)}function o(e,t){const n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=i(5,r,o);return s.index=parseInt(t,10),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=i(4,r,o);return s.key=t,e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:o}=n,s=i(9,r,o);return s.value=t.replace(W,$),e.nextToken(),a(s,e.currentOffset(),e.currentPosition()),s}function u(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,l=i(8,o,s);return 12!==t.type?(r(e,I.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",a(l,o,s),{nextConsumeToken:t,node:l}):(null==t.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Y(t)),l.value=t.value||"",a(l,e.currentOffset(),e.currentPosition()),{node:l})}function d(e,t){const n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function h(e){const t=e.context(),n=i(6,t.offset,t.startLoc);let o=e.nextToken();if(9===o.type){const t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(10!==o.type&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 11:null==o.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(o)),n.key=d(e,o.value||"");break;case 5:null==o.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(o)),n.key=l(e,o.value||"");break;case 6:null==o.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(o)),n.key=s(e,o.value||"");break;case 7:null==o.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(o)),n.key=c(e,o.value||"");break;default:r(e,I.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const u=e.context(),h=i(7,u.offset,u.startLoc);return h.value="",a(h,u.offset,u.startLoc),n.key=h,a(n,u.offset,u.startLoc),{nextConsumeToken:o,node:n}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=1===t.currentType?e.currentOffset():t.offset,u=1===t.currentType?t.endLoc:t.startLoc,d=i(2,n,u);d.items=[];let p=null;do{const n=p||e.nextToken();switch(p=null,n.type){case 0:null==n.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(n)),d.items.push(o(e,n.value||""));break;case 6:null==n.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(n)),d.items.push(s(e,n.value||""));break;case 5:null==n.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(n)),d.items.push(l(e,n.value||""));break;case 7:null==n.value&&r(e,I.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Y(n)),d.items.push(c(e,n.value||""));break;case 8:const i=h(e);d.items.push(i.node),p=i.nextConsumeToken||null;break}}while(14!==t.currentType&&1!==t.currentType);const f=1===t.currentType?t.lastOffset:e.currentOffset(),g=1===t.currentType?t.lastEndLoc:e.currentPosition();return a(d,f,g),d}function g(e,t,n,o){const s=e.context();let l=0===o.items.length;const c=i(1,t,n);c.cases=[],c.cases.push(o);do{const t=f(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==s.currentType);return l&&r(e,I.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(c,e.currentOffset(),e.currentPosition()),c}function m(e){const t=e.context(),{offset:n,startLoc:r}=t,i=f(e);return 14===t.currentType?i:g(e,n,r,i)}function v(n){const o=H(n,p({},e)),s=o.context(),l=i(0,s.offset,s.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=m(o),14!==s.currentType&&r(o,I.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||""),a(l,o.currentOffset(),o.currentPosition()),l}return{parse:v}}function Y(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Z(e,t={}){const n={ast:e,helpers:new Set},r=()=>n,i=e=>(n.helpers.add(e),e);return{context:r,helper:i}}function G(e,t){for(let n=0;no;function l(e,t){o.code+=e}function c(e,t=!0){const n=t?i:"";l(a?n+" ".repeat(e):n)}function u(e=!0){const t=++o.indentLevel;e&&c(t)}function d(e=!0){const t=--o.indentLevel;e&&c(t)}function h(){c(o.indentLevel)}const p=e=>`_${e}`,f=()=>o.needIndent;return{context:s,push:l,indent:u,deindent:d,newline:h,helper:p,needIndent:f}}function Q(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),re(e,t.key),t.modifier?(e.push(", "),re(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ee(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let n=0;n{const n=w(t.mode)?t.mode:"normal",r=w(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",o=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=J(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),s.length>0&&(l.push(`const { ${s.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),re(l,e),l.deindent(o),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function ae(e,t={}){const n=p({},t),r=q(n),i=r.parse(e);return K(i,n),ie(i,n)} /*! * devtools-if v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */ const oe={I18nInit:"i18n:init",FunctionTranslate:"function:translate"},se=[];se[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},se[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},se[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},se[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},se[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},se[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},se[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const le=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ce(e){return le.test(e)}function ue(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function de(e){if(void 0===e||null===e)return"o";const t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function he(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(ce(t)?ue(t):"*"+t)}function pe(e){const t=[];let n,r,i,a,o,s,l,c=-1,u=0,d=0;const h=[];function p(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,i="\\"+t,h[0](),!0}h[0]=()=>{void 0===r?r=i:r+=i},h[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},h[2]=()=>{h[0](),d++},h[3]=()=>{if(d>0)d--,u=4,h[0]();else{if(d=0,void 0===r)return!1;if(r=he(r),!1===r)return!1;h[1]()}};while(null!==u)if(c++,n=e[c],"\\"!==n||!p()){if(a=de(n),l=se[u],o=l[a]||l["l"]||8,8===o)return;if(u=o[0],void 0!==o[1]&&(s=h[o[1]],s&&(i=n,!1===s())))return;if(7===u)return t}}const fe=new Map;function ge(e,t){return k(e)?e[t]:null}function me(e,t){if(!k(e))return null;let n=fe.get(t);if(n||(n=pe(t),n&&fe.set(t,n)),!n)return null;const r=n.length;let i=e,a=0;while(ae,ye=e=>"",be="text",xe=e=>0===e.length?"":e.join(""),we=A;function Se(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function ke(e){const t=l(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(l(e.named.count)||l(e.named.n))?l(e.named.count)?e.named.count:l(e.named.n)?e.named.n:t:t}function _e(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ce(e={}){const t=e.locale,n=ke(e),r=k(e.pluralRules)&&w(t)&&x(e.pluralRules[t])?e.pluralRules[t]:Se,i=k(e.pluralRules)&&w(t)&&x(e.pluralRules[t])?Se:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||{};l(e.pluralIndex)&&_e(n,c);const u=e=>c[e];function d(t){const n=x(e.messages)?e.messages(t):!!k(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):ye)}const h=t=>e.modifiers?e.modifiers[t]:ve,p=E(e.processor)&&x(e.processor.normalize)?e.processor.normalize:xe,f=E(e.processor)&&x(e.processor.interpolate)?e.processor.interpolate:we,g=E(e.processor)&&w(e.processor.type)?e.processor.type:be,m=(e,...t)=>{const[n,r]=t;let i="text",a="";1===t.length?k(n)?(a=n.modifier||a,i=n.type||i):w(n)&&(a=n||a):2===t.length&&(w(n)&&(a=n||a),w(r)&&(i=r||i));let o=d(e)(v);return"vnode"===i&&b(o)&&a&&(o=o[0]),a?h(a)(o,i):o},v={["list"]:s,["named"]:u,["plural"]:a,["linked"]:m,["message"]:d,["type"]:g,["interpolate"]:f,["normalize"]:p};return v}let Ee=null;function Ae(e){Ee=e}function Ie(e,t,n){Ee&&Ee.emit(oe.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Te=Oe(oe.FunctionTranslate);function Oe(e){return t=>Ee&&Ee.emit(e,t)}const Ne={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};Ne.NOT_FOUND_KEY,Ne.FALLBACK_TO_TRANSLATE,Ne.CANNOT_FORMAT_NUMBER,Ne.FALLBACK_TO_NUMBER_FORMAT,Ne.CANNOT_FORMAT_DATE,Ne.FALLBACK_TO_DATE_FORMAT;function De(e,t,n){return[...new Set([n,...b(t)?t:k(t)?Object.keys(t):w(t)?[t]:[n]])]}function Le(e,t,n){const r=w(n)?n:je,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];while(b(e))e=Pe(a,e,t);const o=b(t)||!E(t)?t:t["default"]?t["default"]:null;e=w(o)?[o]:o,b(e)&&Pe(a,e,!1),i.__localeChainCache.set(r,a)}return a}function Pe(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function He(){return{upper:(e,t)=>"text"===t&&w(e)?e.toUpperCase():"vnode"===t&&k(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&w(e)?e.toLowerCase():"vnode"===t&&k(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&w(e)?ze(e):"vnode"===t&&k(e)&&"__v_isVNode"in e?ze(e.children):e}}let Be,We,$e;function qe(e){Be=e}function Ye(e){We=e}function Ze(e){$e=e}let Ge=null;const Xe=e=>{Ge=e},Ke=()=>Ge;let Je=null;const Qe=e=>{Je=e},et=()=>Je;let tt=0;function nt(e={}){const t=w(e.version)?e.version:Me,n=w(e.locale)?e.locale:je,r=b(e.fallbackLocale)||E(e.fallbackLocale)||w(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,i=E(e.messages)?e.messages:{[n]:{}},a=E(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=E(e.numberFormats)?e.numberFormats:{[n]:{}},s=p({},e.modifiers||{},He()),l=e.pluralRules||{},c=x(e.missing)?e.missing:null,d=!S(e.missingWarn)&&!u(e.missingWarn)||e.missingWarn,f=!S(e.fallbackWarn)&&!u(e.fallbackWarn)||e.fallbackWarn,g=!!e.fallbackFormat,m=!!e.unresolving,v=x(e.postTranslation)?e.postTranslation:null,y=E(e.processor)?e.processor:null,_=!S(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,A=x(e.messageCompiler)?e.messageCompiler:Be,I=x(e.messageResolver)?e.messageResolver:We||ge,T=x(e.localeFallbacker)?e.localeFallbacker:$e||De,O=k(e.fallbackContext)?e.fallbackContext:void 0,N=x(e.onWarn)?e.onWarn:h,D=e,L=k(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,P=k(D.__numberFormatters)?D.__numberFormatters:new Map,F=k(D.__meta)?D.__meta:{};tt++;const U={version:t,cid:tt,locale:n,fallbackLocale:r,messages:i,modifiers:s,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:g,unresolving:m,postTranslation:v,processor:y,warnHtmlMessage:_,escapeParameter:C,messageCompiler:A,messageResolver:I,localeFallbacker:T,fallbackContext:O,onWarn:N,__meta:F};return U.datetimeFormats=a,U.numberFormats=o,U.__datetimeFormatters=L,U.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&Ie(U,t,F),U}function rt(e,t,n,r,i){const{missing:a,onWarn:o}=e;if(null!==a){const r=a(e,n,t,i);return w(r)?r:t}return t}function it(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const at=e=>e;let ot=Object.create(null);function st(e,t={}){{const n=t.onCacheKey||at,r=n(e),i=ot[r];if(i)return i;let a=!1;const o=t.onError||O;t.onError=e=>{a=!0,o(e)};const{code:s}=ae(e,t),l=new Function(`return ${s}`)();return a?l:ot[r]=l}}let lt=I.__EXTEND_POINT__;const ct=()=>++lt,ut={INVALID_ARGUMENT:lt,INVALID_DATE_ARGUMENT:ct(),INVALID_ISO_DATE_ARGUMENT:ct(),__EXTEND_POINT__:ct()};function dt(e){return T(e,null,void 0)}ut.INVALID_ARGUMENT,ut.INVALID_DATE_ARGUMENT,ut.INVALID_ISO_DATE_ARGUMENT;const ht=()=>"",pt=e=>x(e);function ft(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[l,c]=bt(...t),u=S(c.missingWarn)?c.missingWarn:e.missingWarn,d=S(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=S(c.escapeParameter)?c.escapeParameter:e.escapeParameter,f=!!c.resolvedMessage,g=w(c.default)||S(c.default)?S(c.default)?a?l:()=>l:c.default:n?a?l:()=>l:"",m=n||""!==g,v=w(c.locale)?c.locale:e.locale;h&>(c);let[y,b,x]=f?[l,v,s[v]||{}]:mt(e,l,v,o,d,u),k=y,_=l;if(f||w(k)||pt(k)||m&&(k=g,_=k),!f&&(!w(k)&&!pt(k)||!w(b)))return i?Re:l;let C=!1;const E=()=>{C=!0},A=pt(k)?k:vt(e,l,b,k,_,E);if(C)return k;const I=wt(e,b,x,c),T=Ce(I),O=yt(e,A,T),N=r?r(O,l):O;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:w(l)?l:pt(k)?k.key:"",locale:b||(pt(k)?k.locale:""),format:w(k)?k:pt(k)?k.source:"",message:N};t.meta=p({},e.__meta,Ke()||{}),Te(t)}return N}function gt(e){b(e.list)?e.list=e.list.map((e=>w(e)?m(e):e)):k(e.named)&&Object.keys(e.named).forEach((t=>{w(e.named[t])&&(e.named[t]=m(e.named[t]))}))}function mt(e,t,n,r,i,a){const{messages:o,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let d,h={},p=null,f=n,g=null;const m="translate";for(let v=0;vr;return e.locale=n,e.key=t,e}const l=o(r,xt(e,n,i,r,s,a));return l.locale=n,l.key=t,l.source=r,l}function yt(e,t,n){const r=t(n);return r}function bt(...e){const[t,n,r]=e,i={};if(!w(t)&&!l(t)&&!pt(t))throw dt(ut.INVALID_ARGUMENT);const a=l(t)?String(t):(pt(t),t);return l(n)?i.plural=n:w(n)?i.default=n:E(n)&&!d(n)?i.named=n:b(n)&&(i.list=n),l(r)?i.plural=r:w(r)?i.default=r:E(r)&&p(i,r),[a,i]}function xt(e,t,n,r,i,a){return{warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>o(t,n,e)}}function wt(e,t,n,r){const{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,h=r=>{let i=o(n,r);if(null==i&&d){const[,,e]=mt(d,r,t,s,c,u);i=o(e,r)}if(w(i)){let n=!1;const a=()=>{n=!0},o=vt(e,r,t,i,r,a);return n?ht:o}return pt(i)?i:ht},p={locale:t,modifiers:i,pluralRules:a,messages:h};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),l(r.plural)&&(p.pluralIndex=r.plural),p}const St="undefined"!==typeof Intl;St&&Intl.DateTimeFormat,St&&Intl.NumberFormat;function kt(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e;const[l,c,u,h]=Ct(...t),f=S(u.missingWarn)?u.missingWarn:e.missingWarn,g=(S(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,!!u.part),m=w(u.locale)?u.locale:e.locale,v=o(e,i,m);if(!w(l)||""===l)return new Intl.DateTimeFormat(m,h).format(c);let y,b={},x=null,k=m,_=null;const C="datetime format";for(let d=0;d{_t.includes(e)?s[e]=n[e]:a[e]=n[e]})),w(r)?a.locale=r:E(r)&&(s=r),E(i)&&(s=i),[a.key||"",o,a,s]}function Et(e,t,n){const r=e;for(const i in n){const e=`${t}__${i}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function At(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e;const[l,c,u,h]=Tt(...t),f=S(u.missingWarn)?u.missingWarn:e.missingWarn,g=(S(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,!!u.part),m=w(u.locale)?u.locale:e.locale,v=o(e,i,m);if(!w(l)||""===l)return new Intl.NumberFormat(m,h).format(c);let y,b={},x=null,k=m,_=null;const C="number format";for(let d=0;d{It.includes(e)?o[e]=n[e]:a[e]=n[e]})),w(r)?a.locale=r:E(r)&&(o=r),E(i)&&(o=i),[a.key||"",s,a,o]}function Ot(e,t,n){const r=e;for(const i in n){const e=`${t}__${i}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(g().__INTLIFY_PROD_DEVTOOLS__=!1);var Nt=n(66252),Dt=n(2262); /*! * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */ const Lt="9.2.2";function Pt(){let e=!1;"boolean"!==typeof __VUE_I18N_FULL_INSTALL__&&(e=!0,g().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!==typeof __VUE_I18N_LEGACY_API__&&(e=!0,g().__VUE_I18N_LEGACY_API__=!0),"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(g().__INTLIFY_PROD_DEVTOOLS__=!1)}let Ft=Ne.__EXTEND_POINT__;const Ut=()=>++Ft,Mt={FALLBACK_TO_ROOT:Ft,NOT_SUPPORTED_PRESERVE:Ut(),NOT_SUPPORTED_FORMATTER:Ut(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ut(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ut(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ut(),NOT_FOUND_PARENT_SCOPE:Ut()};Mt.FALLBACK_TO_ROOT,Mt.NOT_SUPPORTED_PRESERVE,Mt.NOT_SUPPORTED_FORMATTER,Mt.NOT_SUPPORTED_PRESERVE_DIRECTIVE,Mt.NOT_SUPPORTED_GET_CHOICE_INDEX,Mt.COMPONENT_NAME_LEGACY_COMPATIBLE,Mt.NOT_FOUND_PARENT_SCOPE;let Rt=I.__EXTEND_POINT__;const jt=()=>++Rt,Vt={UNEXPECTED_RETURN_TYPE:Rt,INVALID_ARGUMENT:jt(),MUST_BE_CALL_SETUP_TOP:jt(),NOT_INSLALLED:jt(),NOT_AVAILABLE_IN_LEGACY_MODE:jt(),REQUIRED_VALUE:jt(),INVALID_VALUE:jt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:jt(),NOT_INSLALLED_WITH_PROVIDE:jt(),UNEXPECTED_ERROR:jt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:jt(),BRIDGE_SUPPORT_VUE_2_ONLY:jt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:jt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:jt(),__EXTEND_POINT__:jt()};function zt(e,...t){return T(e,null,void 0)}Vt.UNEXPECTED_RETURN_TYPE,Vt.INVALID_ARGUMENT,Vt.MUST_BE_CALL_SETUP_TOP,Vt.NOT_INSLALLED,Vt.UNEXPECTED_ERROR,Vt.NOT_AVAILABLE_IN_LEGACY_MODE,Vt.REQUIRED_VALUE,Vt.INVALID_VALUE,Vt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Vt.NOT_INSLALLED_WITH_PROVIDE,Vt.NOT_COMPATIBLE_LEGACY_VUE_I18N,Vt.BRIDGE_SUPPORT_VUE_2_ONLY,Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const Ht=a("__transrateVNode"),Bt=a("__datetimeParts"),Wt=a("__numberParts"),$t=a("__setPluralRules");a("__intlifyMeta");const qt=a("__injectWithOption");function Yt(e){if(!k(e))return e;for(const t in e)if(y(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let i=e;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(o[t]=o[t]||{},Xt(n,o[t])):Xt(n,o)}else w(e)&&Xt(JSON.parse(e),o)})),null==i&&a)for(const s in o)y(o,s)&&Yt(o[s]);return o}const Gt=e=>!k(e)||b(e);function Xt(e,t){if(Gt(e)||Gt(t))throw zt(Vt.INVALID_VALUE);for(const n in e)y(e,n)&&(Gt(e[n])||Gt(t[n])?t[n]=e[n]:Xt(e[n],t[n]))}function Kt(e){return e.type}function Jt(e,t,n){let r=k(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Zt(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);if(i.length&&i.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),k(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(k(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function Qt(e){return(0,Nt.Wm)(Nt.xv,null,e,0)}const en="__INTLIFY_META__";let tn=0;function nn(e){return(t,n,r,i)=>e(n,r,(0,Nt.FN)()||void 0,i)}const rn=()=>{const e=(0,Nt.FN)();let t=null;return e&&(t=Kt(e)[en])?{[en]:t}:null};function an(e={},t){const{__root:n}=e,i=void 0===n;let a=!S(e.inheritLocale)||e.inheritLocale;const o=(0,Dt.iH)(n&&a?n.locale.value:w(e.locale)?e.locale:je),s=(0,Dt.iH)(n&&a?n.fallbackLocale.value:w(e.fallbackLocale)||b(e.fallbackLocale)||E(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o.value),c=(0,Dt.iH)(Zt(o.value,e)),d=(0,Dt.iH)(E(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),h=(0,Dt.iH)(E(e.numberFormats)?e.numberFormats:{[o.value]:{}});let f=n?n.missingWarn:!S(e.missingWarn)&&!u(e.missingWarn)||e.missingWarn,g=n?n.fallbackWarn:!S(e.fallbackWarn)&&!u(e.fallbackWarn)||e.fallbackWarn,m=n?n.fallbackRoot:!S(e.fallbackRoot)||e.fallbackRoot,v=!!e.fallbackFormat,y=x(e.missing)?e.missing:null,_=x(e.missing)?nn(e.missing):null,C=x(e.postTranslation)?e.postTranslation:null,A=n?n.warnHtmlMessage:!S(e.warnHtmlMessage)||e.warnHtmlMessage,I=!!e.escapeParameter;const T=n?n.modifiers:E(e.modifiers)?e.modifiers:{};let O,N=e.pluralRules||n&&n.pluralRules;const D=()=>{i&&Qe(null);const t={version:Lt,locale:o.value,fallbackLocale:s.value,messages:c.value,modifiers:T,pluralRules:N,missing:null===_?void 0:_,missingWarn:f,fallbackWarn:g,fallbackFormat:v,unresolving:!0,postTranslation:null===C?void 0:C,warnHtmlMessage:A,escapeParameter:I,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=d.value,t.numberFormats=h.value,t.__datetimeFormatters=E(O)?O.__datetimeFormatters:void 0,t.__numberFormatters=E(O)?O.__numberFormatters:void 0;const n=nt(t);return i&&Qe(n),n};function L(){return[o.value,s.value,c.value,d.value,h.value]}O=D(),it(O,o.value,s.value);const P=(0,Nt.Fl)({get:()=>o.value,set:e=>{o.value=e,O.locale=o.value}}),F=(0,Nt.Fl)({get:()=>s.value,set:e=>{s.value=e,O.fallbackLocale=s.value,it(O,o.value,e)}}),U=(0,Nt.Fl)((()=>c.value)),M=(0,Nt.Fl)((()=>d.value)),R=(0,Nt.Fl)((()=>h.value));function j(){return x(C)?C:null}function V(e){C=e,O.postTranslation=e}function z(){return y}function H(e){null!==e&&(_=nn(e)),y=e,O.missing=_}const B=(e,t,r,a,o,s)=>{let c;if(L(),__INTLIFY_PROD_DEVTOOLS__)try{Xe(rn()),i||(O.fallbackContext=n?et():void 0),c=e(O)}finally{Xe(null),i||(O.fallbackContext=void 0)}else c=e(O);if(l(c)&&c===Re){const[e,r]=t();return n&&m?a(n):o(e)}if(s(c))return c;throw zt(Vt.UNEXPECTED_RETURN_TYPE)};function W(...e){return B((t=>Reflect.apply(ft,null,[t,...e])),(()=>bt(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>w(e)))}function $(...e){const[t,n,r]=e;if(r&&!k(r))throw zt(Vt.INVALID_ARGUMENT);return W(t,n,p({resolvedMessage:!0},r||{}))}function q(...e){return B((t=>Reflect.apply(kt,null,[t,...e])),(()=>Ct(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>Ve),(e=>w(e)))}function Y(...e){return B((t=>Reflect.apply(At,null,[t,...e])),(()=>Tt(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>Ve),(e=>w(e)))}function Z(e){return e.map((e=>w(e)||l(e)||S(e)?Qt(String(e)):e))}const G=e=>e,X={normalize:Z,interpolate:G,type:"vnode"};function K(...e){return B((t=>{let n;const r=t;try{r.processor=X,n=Reflect.apply(ft,null,[r,...e])}finally{r.processor=null}return n}),(()=>bt(...e)),"translate",(t=>t[Ht](...e)),(e=>[Qt(e)]),(e=>b(e)))}function J(...e){return B((t=>Reflect.apply(At,null,[t,...e])),(()=>Tt(...e)),"number format",(t=>t[Wt](...e)),(()=>[]),(e=>w(e)||b(e)))}function Q(...e){return B((t=>Reflect.apply(kt,null,[t,...e])),(()=>Ct(...e)),"datetime format",(t=>t[Bt](...e)),(()=>[]),(e=>w(e)||b(e)))}function ee(e){N=e,O.pluralRules=N}function te(e,t){const n=w(t)?t:o.value,r=ie(n);return null!==O.messageResolver(r,e)}function ne(e){let t=null;const n=Le(O,s.value,o.value);for(let r=0;r{a&&(o.value=e,O.locale=e,it(O,o.value,s.value))})),(0,Nt.YP)(n.fallbackLocale,(e=>{a&&(s.value=e,O.fallbackLocale=e,it(O,o.value,s.value))})));const pe={id:tn,locale:P,fallbackLocale:F,get inheritLocale(){return a},set inheritLocale(e){a=e,e&&n&&(o.value=n.locale.value,s.value=n.fallbackLocale.value,it(O,o.value,s.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:U,get modifiers(){return T},get pluralRules(){return N||{}},get isGlobal(){return i},get missingWarn(){return f},set missingWarn(e){f=e,O.missingWarn=f},get fallbackWarn(){return g},set fallbackWarn(e){g=e,O.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return v},set fallbackFormat(e){v=e,O.fallbackFormat=v},get warnHtmlMessage(){return A},set warnHtmlMessage(e){A=e,O.warnHtmlMessage=e},get escapeParameter(){return I},set escapeParameter(e){I=e,O.escapeParameter=e},t:W,getLocaleMessage:ie,setLocaleMessage:ae,mergeLocaleMessage:oe,getPostTranslationHandler:j,setPostTranslationHandler:V,getMissingHandler:z,setMissingHandler:H,[$t]:ee};return pe.datetimeFormats=M,pe.numberFormats=R,pe.rt=$,pe.te=te,pe.tm=re,pe.d=q,pe.n=Y,pe.getDateTimeFormat=se,pe.setDateTimeFormat=le,pe.mergeDateTimeFormat=ce,pe.getNumberFormat=ue,pe.setNumberFormat=de,pe.mergeNumberFormat=he,pe[qt]=e.__injectWithOption,pe[Ht]=K,pe[Bt]=Q,pe[Wt]=J,pe}function on(e){const t=w(e.locale)?e.locale:je,n=w(e.fallbackLocale)||b(e.fallbackLocale)||E(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=x(e.missing)?e.missing:void 0,i=!S(e.silentTranslationWarn)&&!u(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!S(e.silentFallbackWarn)&&!u(e.silentFallbackWarn)||!e.silentFallbackWarn,o=!S(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=E(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=x(e.postTranslation)?e.postTranslation:void 0,h=!w(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,g=!S(e.sync)||e.sync;let m=e.messages;if(E(e.sharedMessages)){const t=e.sharedMessages,n=Object.keys(t);m=n.reduce(((e,n)=>{const r=e[n]||(e[n]={});return p(r,t[n]),e}),m||{})}const{__i18n:v,__root:y,__injectWithOption:k}=e,_=e.datetimeFormats,C=e.numberFormats,A=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:A,datetimeFormats:_,numberFormats:C,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:h,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:g,__i18n:v,__root:y,__injectWithOption:k}}function sn(e={},t){{const t=an(on(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return S(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=S(e)?!e:e},get silentFallbackWarn(){return S(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=S(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,i]=e,a={};let o=null,s=null;if(!w(n))throw zt(Vt.INVALID_ARGUMENT);const l=n;return w(r)?a.locale=r:b(r)?o=r:E(r)&&(s=r),b(i)?o=i:E(i)&&(s=i),Reflect.apply(t.t,t,[l,o||s||{},a])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){const[n,r,i]=e,a={plural:1};let o=null,s=null;if(!w(n))throw zt(Vt.INVALID_ARGUMENT);const c=n;return w(r)?a.locale=r:l(r)?a.plural=r:b(r)?o=r:E(r)&&(s=r),w(i)?a.locale=i:b(i)?o=i:E(i)&&(s=i),Reflect.apply(t.t,t,[c,o||s||{},a])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex(e,t){return-1},__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:r}=e;r&&r(t,n)}};return n}}const ln={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function cn({slots:e},t){if(1===t.length&&"default"===t[0]){const t=e.default?e.default():[];return t.reduce(((e,t)=>[...e,...b(t.children)?t.children:[t]]),[])}return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}function un(e){return Nt.HY}const dn={name:"i18n-t",props:p({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>l(e)||!isNaN(e)}},ln),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Cn({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter((e=>"_"!==e)),o={};e.locale&&(o.locale=e.locale),void 0!==e.plural&&(o.plural=w(e.plural)?+e.plural:e.plural);const s=cn(t,a),l=i[Ht](e.keypath,s,o),c=p({},r),u=w(e.tag)||k(e.tag)?e.tag:un();return(0,Nt.h)(u,c,l)}}};function hn(e){return b(e)&&!w(e[0])}function pn(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const t={part:!0};let o={};e.locale&&(t.locale=e.locale),w(e.format)?t.key=e.format:k(e.format)&&(w(e.format.key)&&(t.key=e.format.key),o=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?p({},t,{[r]:e.format[r]}):t),{}));const s=r(e.value,t,o);let l=[t.key];b(s)?l=s.map(((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];return hn(r)&&(r[0].key=`${e.type}-${t}`),r})):w(s)&&(l=[s]);const c=p({},a),u=w(e.tag)||k(e.tag)?e.tag:un();return(0,Nt.h)(u,c,l)}}const fn={name:"i18n-n",props:p({value:{type:Number,required:!0},format:{type:[String,Object]}},ln),setup(e,t){const n=e.i18n||Cn({useScope:"parent",__useComponent:!0});return pn(e,t,It,((...e)=>n[Wt](...e)))}},gn={name:"i18n-d",props:p({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ln),setup(e,t){const n=e.i18n||Cn({useScope:"parent",__useComponent:!0});return pn(e,t,_t,((...e)=>n[Bt](...e)))}};function mn(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}function vn(e){const t=t=>{const{instance:n,modifiers:r,value:i}=t;if(!n||!n.$)throw zt(Vt.UNEXPECTED_ERROR);const a=mn(e,n.$);const o=yn(i);return[Reflect.apply(a.t,a,[...bn(o)]),a]},n=(n,i)=>{const[a,o]=t(i);r&&e.global===o&&(n.__i18nWatcher=(0,Nt.YP)(o.locale,(()=>{i.instance&&i.instance.$forceUpdate()}))),n.__composer=o,n.textContent=a},i=e=>{r&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},a=(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=yn(t);e.textContent=Reflect.apply(n.t,n,[...bn(r)])}},o=e=>{const[n]=t(e);return{textContent:n}};return{created:n,unmounted:i,beforeUpdate:a,getSSRProps:o}}function yn(e){if(w(e))return{path:e};if(E(e)){if(!("path"in e))throw zt(Vt.REQUIRED_VALUE,"path");return e}throw zt(Vt.INVALID_VALUE)}function bn(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return w(n)&&(o.locale=n),l(i)&&(o.plural=i),l(a)&&(o.plural=a),[t,s,o]}function xn(e,t,...n){const r=E(n[0])?n[0]:{},i=!!r.useI18nComponentName,a=!S(r.globalInstall)||r.globalInstall;a&&(e.component(i?"i18n":dn.name,dn),e.component(fn.name,fn),e.component(gn.name,gn)),e.directive("t",vn(t))}function wn(e,t,n){return{beforeCreate(){const r=(0,Nt.FN)();if(!r)throw zt(Vt.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const n=i.i18n;i.__i18n&&(n.__i18n=i.__i18n),n.__root=t,this===this.$root?this.$i18n=Sn(e,n):(n.__injectWithOption=!0,this.$i18n=sn(n))}else i.__i18n?this===this.$root?this.$i18n=Sn(e,i):this.$i18n=sn({__i18n:i.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;i.__i18nGlobal&&Jt(t,i,i),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){0},unmounted(){const e=(0,Nt.FN)();if(!e)throw zt(Vt.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}function Sn(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[$t](t.pluralizationRules||e.pluralizationRules);const n=Zt(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const kn=a("global-vue-i18n");function _n(e={},t){const n=__VUE_I18N_LEGACY_API__&&S(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=!S(e.globalInjection)||e.globalInjection,i=!__VUE_I18N_LEGACY_API__||!n||!!e.allowComposition,o=new Map,[s,l]=En(e,n),c=a("");function u(e){return o.get(e)||null}function d(e,t){o.set(e,t)}function h(e){o.delete(e)}{const e={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(t,...i){t.__VUE_I18N_SYMBOL__=c,t.provide(t.__VUE_I18N_SYMBOL__,e),!n&&r&&Fn(t,e.global),__VUE_I18N_FULL_INSTALL__&&xn(t,e,...i),__VUE_I18N_LEGACY_API__&&n&&t.mixin(wn(l,l.__composer,e));const a=t.unmount;t.unmount=()=>{e.dispose(),a()}},get global(){return l},dispose(){s.stop()},__instances:o,__getInstance:u,__setInstance:d,__deleteInstance:h};return e}}function Cn(e={}){const t=(0,Nt.FN)();if(null==t)throw zt(Vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw zt(Vt.NOT_INSLALLED);const n=An(t),r=Tn(n),i=Kt(t),a=In(e,i);if(__VUE_I18N_LEGACY_API__&&"legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw zt(Vt.NOT_AVAILABLE_IN_LEGACY_MODE);return Dn(t,a,r,e)}if("global"===a)return Jt(r,e,i),r;if("parent"===a){let i=On(n,t,e.__useComponent);return null==i&&(i=r),i}const o=n;let s=o.__getInstance(t);if(null==s){const n=p({},e);"__i18n"in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=an(n),Nn(o,t,s),o.__setInstance(t,s)}return s}function En(e,t,n){const r=(0,Dt.B)();{const n=__VUE_I18N_LEGACY_API__&&t?r.run((()=>sn(e))):r.run((()=>an(e)));if(null==n)throw zt(Vt.UNEXPECTED_ERROR);return[r,n]}}function An(e){{const t=(0,Nt.f3)(e.isCE?kn:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw zt(e.isCE?Vt.NOT_INSLALLED_WITH_PROVIDE:Vt.UNEXPECTED_ERROR);return t}}function In(e,t){return d(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Tn(e){return"composition"===e.mode?e.global:e.global.__composer}function On(e,t,n=!1){let r=null;const i=t.root;let a=t.parent;while(null!=a){const t=e;if("composition"===e.mode)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(a);null!=e&&(r=e.__composer,n&&r&&!r[qt]&&(r=null))}if(null!=r)break;if(i===a)break;a=a.parent}return r}function Nn(e,t,n){(0,Nt.bv)((()=>{0}),t),(0,Nt.Ah)((()=>{e.__deleteInstance(t)}),t)}function Dn(e,t,n,r={}){const i="local"===t,a=(0,Dt.XI)(null);if(i&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw zt(Vt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=!S(r.inheritLocale)||r.inheritLocale,s=(0,Dt.iH)(i&&o?n.locale.value:w(r.locale)?r.locale:je),l=(0,Dt.iH)(i&&o?n.fallbackLocale.value:w(r.fallbackLocale)||b(r.fallbackLocale)||E(r.fallbackLocale)||!1===r.fallbackLocale?r.fallbackLocale:s.value),c=(0,Dt.iH)(Zt(s.value,r)),d=(0,Dt.iH)(E(r.datetimeFormats)?r.datetimeFormats:{[s.value]:{}}),h=(0,Dt.iH)(E(r.numberFormats)?r.numberFormats:{[s.value]:{}}),p=i?n.missingWarn:!S(r.missingWarn)&&!u(r.missingWarn)||r.missingWarn,f=i?n.fallbackWarn:!S(r.fallbackWarn)&&!u(r.fallbackWarn)||r.fallbackWarn,g=i?n.fallbackRoot:!S(r.fallbackRoot)||r.fallbackRoot,m=!!r.fallbackFormat,v=x(r.missing)?r.missing:null,y=x(r.postTranslation)?r.postTranslation:null,k=i?n.warnHtmlMessage:!S(r.warnHtmlMessage)||r.warnHtmlMessage,_=!!r.escapeParameter,C=i?n.modifiers:E(r.modifiers)?r.modifiers:{},A=r.pluralRules||i&&n.pluralRules;function I(){return[s.value,l.value,c.value,d.value,h.value]}const T=(0,Nt.Fl)({get:()=>a.value?a.value.locale.value:s.value,set:e=>{a.value&&(a.value.locale.value=e),s.value=e}}),O=(0,Nt.Fl)({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:e=>{a.value&&(a.value.fallbackLocale.value=e),l.value=e}}),N=(0,Nt.Fl)((()=>a.value?a.value.messages.value:c.value)),D=(0,Nt.Fl)((()=>d.value)),L=(0,Nt.Fl)((()=>h.value));function P(){return a.value?a.value.getPostTranslationHandler():y}function F(e){a.value&&a.value.setPostTranslationHandler(e)}function U(){return a.value?a.value.getMissingHandler():v}function M(e){a.value&&a.value.setMissingHandler(e)}function R(e){return I(),e()}function j(...e){return a.value?R((()=>Reflect.apply(a.value.t,null,[...e]))):R((()=>""))}function V(...e){return a.value?Reflect.apply(a.value.rt,null,[...e]):""}function z(...e){return a.value?R((()=>Reflect.apply(a.value.d,null,[...e]))):R((()=>""))}function H(...e){return a.value?R((()=>Reflect.apply(a.value.n,null,[...e]))):R((()=>""))}function B(e){return a.value?a.value.tm(e):{}}function W(e,t){return!!a.value&&a.value.te(e,t)}function $(e){return a.value?a.value.getLocaleMessage(e):{}}function q(e,t){a.value&&(a.value.setLocaleMessage(e,t),c.value[e]=t)}function Y(e,t){a.value&&a.value.mergeLocaleMessage(e,t)}function Z(e){return a.value?a.value.getDateTimeFormat(e):{}}function G(e,t){a.value&&(a.value.setDateTimeFormat(e,t),d.value[e]=t)}function X(e,t){a.value&&a.value.mergeDateTimeFormat(e,t)}function K(e){return a.value?a.value.getNumberFormat(e):{}}function J(e,t){a.value&&(a.value.setNumberFormat(e,t),h.value[e]=t)}function Q(e,t){a.value&&a.value.mergeNumberFormat(e,t)}const ee={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:O,messages:N,datetimeFormats:D,numberFormats:L,get inheritLocale(){return a.value?a.value.inheritLocale:o},set inheritLocale(e){a.value&&(a.value.inheritLocale=e)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:C},get pluralRules(){return a.value?a.value.pluralRules:A},get isGlobal(){return!!a.value&&a.value.isGlobal},get missingWarn(){return a.value?a.value.missingWarn:p},set missingWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackWarn(){return a.value?a.value.fallbackWarn:f},set fallbackWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackRoot(){return a.value?a.value.fallbackRoot:g},set fallbackRoot(e){a.value&&(a.value.fallbackRoot=e)},get fallbackFormat(){return a.value?a.value.fallbackFormat:m},set fallbackFormat(e){a.value&&(a.value.fallbackFormat=e)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:k},set warnHtmlMessage(e){a.value&&(a.value.warnHtmlMessage=e)},get escapeParameter(){return a.value?a.value.escapeParameter:_},set escapeParameter(e){a.value&&(a.value.escapeParameter=e)},t:j,getPostTranslationHandler:P,setPostTranslationHandler:F,getMissingHandler:U,setMissingHandler:M,rt:V,d:z,n:H,tm:B,te:W,getLocaleMessage:$,setLocaleMessage:q,mergeLocaleMessage:Y,getDateTimeFormat:Z,setDateTimeFormat:G,mergeDateTimeFormat:X,getNumberFormat:K,setNumberFormat:J,mergeNumberFormat:Q};function te(e){e.locale.value=s.value,e.fallbackLocale.value=l.value,Object.keys(c.value).forEach((t=>{e.mergeLocaleMessage(t,c.value[t])})),Object.keys(d.value).forEach((t=>{e.mergeDateTimeFormat(t,d.value[t])})),Object.keys(h.value).forEach((t=>{e.mergeNumberFormat(t,h.value[t])})),e.escapeParameter=_,e.fallbackFormat=m,e.fallbackRoot=g,e.fallbackWarn=f,e.missingWarn=p,e.warnHtmlMessage=k}return(0,Nt.wF)((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw zt(Vt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=a.value=e.proxy.$i18n.__composer;"global"===t?(s.value=n.locale.value,l.value=n.fallbackLocale.value,c.value=n.messages.value,d.value=n.datetimeFormats.value,h.value=n.numberFormats.value):i&&te(n)})),ee}const Ln=["locale","fallbackLocale","availableLocales"],Pn=["t","rt","d","n","tm"];function Fn(e,t){const n=Object.create(null);Ln.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw zt(Vt.UNEXPECTED_ERROR);const i=(0,Dt.dq)(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)})),e.config.globalProperties.$i18n=n,Pn.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw zt(Vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}))}if(qe(st),Ye(me),Ze(Le),Pt(),__INTLIFY_PROD_DEVTOOLS__){const e=g();e.__INTLIFY__=!0,Ae(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},83744:function(e,t){"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n}},54489:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({8875:function(e,t,n){var r,i,a;(function(n,o){i=[],r=o,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,c=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*