diff --git a/BUILD_GUIDE.md b/BUILD_GUIDE.md new file mode 100644 index 0000000..2e2eb8b --- /dev/null +++ b/BUILD_GUIDE.md @@ -0,0 +1,180 @@ +# 🚀 Panduan Build untuk Production + +## 📋 Masalah yang Diselesaikan + +Aplikasi ini memiliki **banyak file JS dan CSS** yang harus dibangun semuanya karena: +- Setiap halaman memerlukan file JS/CSS yang spesifik +- Jika ada file yang hilang, halaman akan error (404 Not Found) +- Server dengan RAM terbatas sering mengalami "killed" saat build + +## 🎯 Solusi yang Tersedia + +### 1. **Build di Local (RECOMMENDED) 🏆** +```bash +# Build di local computer Anda +npm run build:local + +# Upload ke server +./deploy.sh username server.com /path/to/project +``` + +**Kelebihan:** +- ✅ Tidak ada batasan memory +- ✅ Build lebih cepat +- ✅ Semua file terjamin ter-build + +### 2. **Build di Server dengan Optimasi** +```bash +# Option A: Build dengan memory optimization +npm run build:prod + +# Option B: Build dengan retry mechanism +npm run build:chunked + +# Option C: Build manual dengan script +./build-production.sh +``` + +### 3. **Setup Server untuk Build** +```bash +# Setup swap memory dan optimasi (run dengan sudo) +sudo ./server-setup.sh + +# Kemudian build +npm run build:prod +``` + +## 📁 File yang Akan Dibangun + +Semua file ini **WAJIB** ada karena dibutuhkan oleh halaman-halaman aplikasi: + +### CSS Files: +- `resources/scss/style.scss` - Main stylesheet +- `resources/scss/icons.scss` - Icons +- `resources/scss/components/_*.scss` - Components +- `resources/scss/dashboards/_*.scss` - Dashboard styles +- `resources/scss/pages/quick-search/*.scss` - Quick search pages +- Third-party CSS (Quill, Flatpickr, GridJS, dll) + +### JS Files: +- **Core:** `app.js`, `config.js`, `dashboard.js` +- **Pages:** `chart.js`, `form-*.js`, `table-*.js`, `maps-*.js` +- **Data:** `data-advertisements.js`, `data-umkm.js`, `data-tourisms.js` +- **Settings:** `syncronize.js`, `general-settings.js` +- **Dashboards:** `bigdata.js`, `pbg.js`, `potentials/*.js` +- **Users & Roles:** `users/*.js`, `roles/*.js`, `menus/*.js` +- **Reports:** `growth-report.js`, `tourisms/index.js` +- **Dan semua file lainnya sesuai kebutuhan halaman** + +## ⚙️ Konfigurasi Build + +### Memory Optimization +```javascript +// vite.config.production.js +export default defineConfig({ + build: { + rollupOptions: { + output: { + manualChunks: { + vendor: ['bootstrap', 'moment', 'axios'], + charts: ['apexcharts'], + maps: ['leaflet', 'jsvectormap', 'gmaps'], + ui: ['sweetalert2', 'flatpickr', 'quill'] + } + }, + maxParallelFileOps: 1 // Untuk server dengan RAM terbatas + } + } +}) +``` + +### Memory Limits +```bash +# Untuk server dengan RAM 2GB+ +NODE_OPTIONS="--max-old-space-size=2048" + +# Untuk server dengan RAM 1GB +NODE_OPTIONS="--max-old-space-size=1024" +``` + +## 🔧 Troubleshooting + +### Build Terkill (Killed) +```bash +# Solusi 1: Build di local +npm run build:local +./deploy.sh + +# Solusi 2: Tambah swap memory +sudo ./server-setup.sh + +# Solusi 3: Gunakan build chunked +npm run build:chunked +``` + +### File JS/CSS Tidak Ditemukan +```bash +# Pastikan semua file ada di vite.config.production.js +# Jangan hapus file apapun dari daftar input! + +# Verifikasi build +find public/build -name "*.js" | wc -l +find public/build -name "*.css" | wc -l +``` + +### Server Kehabisan Memory +```bash +# Check memory usage +free -h + +# Add swap file +sudo fallocate -l 2G /swapfile +sudo chmod 600 /swapfile +sudo mkswap /swapfile +sudo swapon /swapfile +``` + +## 📦 Deployment Flow + +### Local Build → Server Deploy +```bash +# 1. Di local +npm ci +npm run build:local + +# 2. Edit deploy.sh dengan info server +# 3. Deploy +./deploy.sh username server.com /path/to/project +``` + +### Server Build +```bash +# 1. Setup server +sudo ./server-setup.sh + +# 2. Install dependencies +npm ci --production=false + +# 3. Build +npm run build:chunked + +# 4. Optimize Laravel +php artisan config:cache +php artisan route:cache +php artisan view:cache +``` + +## ⚠️ Catatan Penting + +1. **JANGAN HAPUS FILE APAPUN** dari `vite.config.production.js` +2. **SEMUA FILE WAJIB ADA** karena dibutuhkan oleh halaman-halaman aplikasi +3. **BUILD DI LOCAL** adalah solusi terbaik untuk server dengan RAM terbatas +4. **BACKUP** selalu sebelum deploy ke production + +## 🎉 Success Indicators + +Build berhasil jika: +- ✅ File `public/build/manifest.json` ada +- ✅ Folder `public/build/assets/` berisi banyak file JS/CSS +- ✅ Tidak ada error 404 saat mengakses halaman +- ✅ Semua halaman dapat memuat JS/CSS yang dibutuhkan \ No newline at end of file diff --git a/build-chunked.sh b/build-chunked.sh new file mode 100755 index 0000000..69b4cad --- /dev/null +++ b/build-chunked.sh @@ -0,0 +1,92 @@ +#!/bin/bash + +# Build script bertahap untuk menghindari memory overload +# Tetap membangun SEMUA file yang diperlukan tapi secara bertahap + +echo "🔨 Starting chunked production build..." + +# Set memory limit +export NODE_OPTIONS="--max-old-space-size=1536" +export NODE_ENV=production + +# Clean previous build +echo "🧹 Cleaning previous build..." +rm -rf public/build/* + +# Fungsi untuk build dengan retry +build_with_retry() { + local config_file=$1 + local attempt=1 + local max_attempts=3 + + while [ $attempt -le $max_attempts ]; do + echo "🔄 Build attempt $attempt of $max_attempts..." + + if vite build --config $config_file; then + echo "✅ Build successful on attempt $attempt" + return 0 + else + echo "❌ Build failed on attempt $attempt" + if [ $attempt -lt $max_attempts ]; then + echo "⏳ Waiting 5 seconds before retry..." + sleep 5 + # Clear memory caches + sync && echo 3 > /proc/sys/vm/drop_caches 2>/dev/null || true + fi + attempt=$((attempt + 1)) + fi + done + + return 1 +} + +echo "📦 Building all assets with memory optimization..." + +# Try building with production config first +if build_with_retry "vite.config.production.js"; then + echo "🎉 Build completed successfully!" + echo "📊 Build summary:" + du -sh public/build/* 2>/dev/null || echo "Build files created" + + # Count generated files + echo "📁 Generated files:" + find public/build -type f | wc -l | xargs echo "Total files:" + +else + echo "❌ Build failed after all attempts!" + echo "" + echo "💡 Alternative solutions:" + echo " 1. ✨ Build locally: npm run build:local" + echo " 2. 🔧 Increase server memory/swap" + echo " 3. ☁️ Use GitHub Actions CI/CD" + echo " 4. 🚀 Use deployment services (Vercel, Netlify)" + echo "" + echo "🏠 For local build and deploy:" + echo " npm run build:local" + echo " ./deploy.sh your-username your-server.com /path/to/project" + + exit 1 +fi + +echo "" +echo "🔍 Verifying all essential files are built..." + +# Check for essential files +essential_files=( + "public/build/manifest.json" + "public/build/assets" +) + +missing_files=() +for file in "${essential_files[@]}"; do + if [ ! -e "$file" ]; then + missing_files+=("$file") + fi +done + +if [ ${#missing_files[@]} -eq 0 ]; then + echo "✅ All essential files are present!" +else + echo "⚠️ Missing files:" + printf ' %s\n' "${missing_files[@]}" +fi \ No newline at end of file diff --git a/build-production.sh b/build-production.sh new file mode 100755 index 0000000..a5a6914 --- /dev/null +++ b/build-production.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +# Production build script dengan optimasi memory +# Untuk server dengan resource terbatas + +echo "🔨 Starting production build with memory optimization..." + +# Set Node.js memory limit (adjust sesuai RAM server) +# Untuk server dengan banyak file, gunakan memory yang lebih besar +export NODE_OPTIONS="--max-old-space-size=2048 --max-semi-space-size=1024" + +# Use production vite config +export NODE_ENV=production + +# Clean previous build +echo "🧹 Cleaning previous build..." +rm -rf public/build/* + +# Build with limited resources +echo "📦 Building assets with memory optimization..." + +# Option 1: Build with custom config +vite build --config vite.config.production.js + +# Option 2: Alternative - build in chunks (uncomment if needed) +# echo "Building CSS files first..." +# vite build --config vite.config.production.js --mode css-only +# +# echo "Building JS files..." +# vite build --config vite.config.production.js --mode js-only + +if [ $? -eq 0 ]; then + echo "✅ Build completed successfully!" + echo "📊 Build summary:" + du -sh public/build/* +else + echo "❌ Build failed!" + echo "💡 Try these solutions:" + echo " 1. Increase server memory" + echo " 2. Build locally and upload files" + echo " 3. Use swap memory (temporary solution)" + exit 1 +fi \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 42d5c6c..9a82e13 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,39 +1,52 @@ -GIT_BRANCH="dev" -PHP_VERSION="php8.3" +#!/bin/bash -echo "🚀 Starting deployment..." -php artisan down +# Deploy script untuk build di local dan upload ke server +# Usage: ./deploy.sh [server-user] [server-host] [server-path] -echo "📥 Pulling latest changes from Git..." -git fetch origin $GIT_BRANCH -git reset --hard origin/$GIT_BRANCH -git pull origin $GIT_BRANCH +# Default values (ganti sesuai server Anda) +SERVER_USER=${1:-"your-username"} +SERVER_HOST=${2:-"your-server.com"} +SERVER_PATH=${3:-"/path/to/your/project"} -echo "⚡ Installing NPM dependencies and building assets..." -npm ci --no-audit --no-fund +echo "🚀 Starting deployment process..." + +# 1. Clean previous build +echo "🧹 Cleaning previous build..." +rm -rf public/build/* + +# 2. Install dependencies (jika belum) +echo "📦 Installing dependencies..." +npm ci --production=false + +# 3. Build project +echo "🔨 Building project..." npm run build -echo "📦 Installing composer dependencies..." -COMPOSER_ALLOW_SUPERUSER=1 composer install --no-interaction --optimize-autoloader +# Check if build was successful +if [ $? -ne 0 ]; then + echo "❌ Build failed!" + exit 1 +fi -echo "🗄️ Running migrations..." -php artisan migrate --force +echo "✅ Build completed successfully!" -echo "Running seeders..." -php artisan db:seed --force +# 4. Upload build files to server +echo "📤 Uploading build files to server..." +rsync -avz --progress --delete public/build/ $SERVER_USER@$SERVER_HOST:$SERVER_PATH/public/build/ -echo "⚡ Optimizing application..." -php artisan optimize:clear +# 5. Upload other necessary files (optional) +echo "📤 Uploading other files..." +rsync -avz --progress \ + --exclude='node_modules' \ + --exclude='.git' \ + --exclude='public/build' \ + --exclude='storage/logs/*' \ + --exclude='bootstrap/cache/*' \ + ./ $SERVER_USER@$SERVER_HOST:$SERVER_PATH/ -echo "🔄 Restarting PHP service..." -systemctl reload $PHP_VERSION-fpm - -echo "🔁 Restarting Supervisor queue workers..." -php artisan queue:restart - -supervisorctl reread -supervisorctl update -supervisorctl restart all - -php artisan up -echo "🚀 Deployment completed successfully!" \ No newline at end of file +echo "🎉 Deployment completed successfully!" +echo "Don't forget to run the following commands on the server:" +echo " - composer install --no-dev --optimize-autoloader" +echo " - php artisan config:cache" +echo " - php artisan route:cache" +echo " - php artisan view:cache" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6673f60..6c10c7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "www", + "name": "sibedas-pbg-web", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 064828a..0a08654 100755 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "type": "module", "scripts": { "build": "vite build", + "build:prod": "NODE_OPTIONS='--max-old-space-size=2048 --max-semi-space-size=1024' vite build --config vite.config.production.js", + "build:chunked": "./build-chunked.sh", + "build:local": "vite build && echo 'Build completed! Now run: ./deploy.sh to upload to server'", "dev": "vite" }, "devDependencies": { diff --git a/public/build/assets/_commonjsHelpers-C4iS2aBk.js b/public/build/assets/_commonjsHelpers-C4iS2aBk.js deleted file mode 100644 index 7e9f0fd..0000000 --- a/public/build/assets/_commonjsHelpers-C4iS2aBk.js +++ /dev/null @@ -1 +0,0 @@ -var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}export{f as a,u as c,l as g}; diff --git a/public/build/assets/apexcharts.common-7mov3gaG.js b/public/build/assets/apexcharts.common-7mov3gaG.js deleted file mode 100644 index 3694dde..0000000 --- a/public/build/assets/apexcharts.common-7mov3gaG.js +++ /dev/null @@ -1,808 +0,0 @@ -import{a as Kt}from"./_commonjsHelpers-C4iS2aBk.js";var Ge={exports:{}};/*! - * ApexCharts v3.54.1 - * (c) 2018-2024 ApexCharts - * Released under the MIT License. - */(function(Ve,pt){function Te(y,e){(e==null||e>y.length)&&(e=y.length);for(var t=0,i=Array(e);t=y.length?{done:!0}:{done:!1,value:y[i++]}},e:function(o){throw o},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,s=!0,n=!1;return{s:function(){t=t.call(y)},n:function(){var o=t.next();return s=o.done,o},e:function(o){n=!0,r=o},f:function(){try{s||t.return==null||t.return()}finally{if(n)throw r}}}}function xe(y){var e=Ue();return function(){var t,i=Ce(y);if(e){var a=Ce(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(r,s){if(s&&(typeof s=="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return je(r)}(this,t)}}function Se(y,e,t){return(e=$e(e))in y?Object.defineProperty(y,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):y[e]=t,y}function Ce(y){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ce(y)}function be(y,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(e&&e.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),e&&ze(y,e)}function Ue(){try{var y=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ue=function(){return!!y})()}function qe(y,e){var t=Object.keys(y);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(y);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(y,a).enumerable})),t.push.apply(t,i)}return t}function E(y){for(var e=1;e>16,n=i>>8&255,o=255&i;return"#"+(16777216+65536*(Math.round((a-s)*r)+s)+256*(Math.round((a-n)*r)+n)+(Math.round((a-o)*r)+o)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return y.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&Q(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,i=[];for(t=0;t1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){var t=String(e).split(/[eE]/);if(t.length===1)return t[0];var i="",a=e<0?"-":"",r=t[0].replace(".",""),s=Number(t[1])+1;if(s<0){for(i=a+"0.";s++;)i+="0";return i+r.replace(/^-/,"")}for(s-=r.length;s--;)i+="0";return r+i}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e,null),i=e.clientHeight,a=e.clientWidth;return i-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[a-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),i]}},{key:"getBoundingClientRect",value:function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce(function(t,i){return Array.isArray(i)&&(i=i.reduce(function(a,r){return a.length>r.length?a:r})),t.length>i.length?t:i},0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var i=e.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:"x",i=e.toString().slice();return i=i.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,i){if(i>=e.length)for(var a=i-e.length+1;a--;)e.push(void 0);return e.splice(i,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 i in t)t.hasOwnProperty(i)&&(e.style.key=t[i])}},{key:"preciseAddition",value:function(e,t){var i=(String(e).split(".")[1]||"").length,a=(String(t).split(".")[1]||"").length,r=Math.pow(10,Math.max(i,a));return(Math.round(e*r)+Math.round(t*r))/r}},{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:"isMsEdge",value:function(){var e=window.navigator.userAgent,t=e.indexOf("Edge/");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}},{key:"getGCD",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,a=Math.pow(10,i-Math.floor(Math.log10(Math.max(e,t))));for(e=Math.round(Math.abs(e)*a),t=Math.round(Math.abs(t)*a);t;){var r=t;t=e%t,e=r}return e/a}},{key:"getPrimeFactors",value:function(e){for(var t=[],i=2;e>=2;)e%i==0?(t.push(i),e/=i):i++;return t}},{key:"mod",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,a=Math.pow(10,i-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*a))%(t=Math.round(Math.abs(t)*a))/a}}]),y}(),ge=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return F(y,[{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(t){var i=1.70158;return(t-=1)*t*((i+1)*t+i)+1};break;case"bounce":e=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375};break;case"elastic":e=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,i,a){e.attr(t).animate(a).attr(i)}},{key:"animateMarker",value:function(e,t,i,a){e.attr({opacity:0}).animate(t,i).attr({opacity:1}).afterAll(function(){a()})}},{key:"animateRect",value:function(e,t,i,a,r){e.attr(t).animate(a).attr(i).afterAll(function(){return r()})}},{key:"animatePathsGradually",value:function(e){var t=e.el,i=e.realIndex,a=e.j,r=e.fill,s=e.pathFrom,n=e.pathTo,o=e.speed,h=e.delay,d=this.w,c=0;d.config.chart.animations.animateGradually.enabled&&(c=d.config.chart.animations.animateGradually.delay),d.config.chart.animations.dynamicAnimation.enabled&&d.globals.dataChanged&&d.config.chart.type!=="bar"&&(c=0),this.morphSVG(t,i,a,d.config.chart.type!=="line"||d.globals.comboCharts?r:"stroke",s,n,o,h*c)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")})}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,i,a,r,s,n,o){var h=this,d=this.w;r||(r=e.attr("pathFrom")),s||(s=e.attr("pathTo"));var c=function(g){return d.config.chart.type==="radar"&&(n=1),"M 0 ".concat(d.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=c()),(!s||s.indexOf("undefined")>-1||s.indexOf("NaN")>-1)&&(s=c()),d.globals.shouldAnimate||(n=1),e.plot(r).animate(1,d.globals.easing,o).plot(r).animate(n,d.globals.easing,o).plot(s).afterAll(function(){P.isNumber(i)?i===d.globals.series[d.globals.maxValsInArrayIndex].length-2&&d.globals.shouldAnimate&&h.animationCompleted(e):a!=="none"&&d.globals.shouldAnimate&&(!d.globals.comboCharts&&t===d.globals.series.length-1||d.globals.comboCharts)&&h.animationCompleted(e),h.showDelayedElements()})}}]),y}(),ee=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"getDefaultFilter",value:function(e,t){var i=this.w;e.unfilter(!0),new window.SVG.Filter().size("120%","180%","-5%","-40%"),i.config.states.normal.filter!=="none"?this.applyFilter(e,t,i.config.states.normal.filter.type,i.config.states.normal.filter.value):i.config.chart.dropShadow.enabled&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var i=this.w;i.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,i.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,i){var a=this,r=this.w,s=i.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(n){var o=r.config.chart.dropShadow;(o.enabled?a.addShadow(n,t,o):n).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:s}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,i){var a=this,r=this.w,s=i.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter(function(n){var o=r.config.chart.dropShadow;(o.enabled?a.addShadow(n,t,o):n).componentTransfer({rgb:{type:"linear",slope:s}})}),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5;switch(i){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:a});break;case"darken":this.addDarkenFilter(e,t,{intensity:a})}}},{key:"addShadow",value:function(e,t,i){var a,r=this.w,s=i.blur,n=i.top,o=i.left,h=i.color,d=i.opacity;if(((a=r.config.chart.dropShadow.enabledOnSeries)===null||a===void 0?void 0:a.length)>0&&r.config.chart.dropShadow.enabledOnSeries.indexOf(t)===-1)return e;var c=e.flood(Array.isArray(h)?h[t]:h,d).composite(e.sourceAlpha,"in").offset(o,n).gaussianBlur(s).merge(e.source);return e.blend(e.source,c)}},{key:"dropShadow",value:function(e,t){var i,a,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=t.top,n=t.left,o=t.blur,h=t.color,d=t.opacity,c=t.noUserSpaceOnUse,g=this.w;return e.unfilter(!0),P.isMsEdge()&&g.config.chart.type==="radialBar"||((i=g.config.chart.dropShadow.enabledOnSeries)===null||i===void 0?void 0:i.length)>0&&((a=g.config.chart.dropShadow.enabledOnSeries)===null||a===void 0?void 0:a.indexOf(r))===-1||(h=Array.isArray(h)?h[r]:h,e.filter(function(p){var x=null;x=P.isSafari()||P.isFirefox()||P.isMsEdge()?p.flood(h,d).composite(p.sourceAlpha,"in").offset(n,s).gaussianBlur(o):p.flood(h,d).composite(p.sourceAlpha,"in").offset(n,s).gaussianBlur(o).merge(p.source),p.blend(p.source,x)}),c||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,i){var a=this.w;if(a.globals.selectedDataPoints[t]!==void 0&&a.globals.selectedDataPoints[t].indexOf(i)>-1){e.node.setAttribute("selected",!0);var r=a.config.states.active.filter;r!=="none"&&this.applyFilter(e,t,r.type,r.value)}}},{key:"_scaleFilterSize",value:function(e){(function(t){for(var i in t)t.hasOwnProperty(i)&&e.setAttribute(i,t[i])})({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),y}(),X=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"roundPathCorners",value:function(e,t){function i(S,C,L){var M=C.x-S.x,T=C.y-S.y,I=Math.sqrt(M*M+T*T);return a(S,C,Math.min(1,L/I))}function a(S,C,L){return{x:S.x+(C.x-S.x)*L,y:S.y+(C.y-S.y)*L}}function r(S,C){S.length>2&&(S[S.length-2]=C.x,S[S.length-1]=C.y)}function s(S){return{x:parseFloat(S[S.length-2]),y:parseFloat(S[S.length-1])}}e.indexOf("NaN")>-1&&(e="");var n=e.split(/[,\s]/).reduce(function(S,C){var L=C.match("([a-zA-Z])(.+)");return L?(S.push(L[1]),S.push(L[2])):S.push(C),S},[]).reduce(function(S,C){return parseFloat(C)==C&&S.length?S[S.length-1].push(C):S.push([C]),S},[]),o=[];if(n.length>1){var h=s(n[0]),d=null;n[n.length-1][0]=="Z"&&n[0].length>2&&(d=["L",h.x,h.y],n[n.length-1]=d),o.push(n[0]);for(var c=1;c2&&p[0]=="L"&&x.length>2&&x[0]=="L"){var f,m,v=s(g),w=s(p),l=s(x);f=i(w,v,t),m=i(w,l,t),r(p,f),p.origPoint=w,o.push(p);var u=a(f,w,.5),b=a(w,m,.5),A=["C",u.x,u.y,b.x,b.y,m.x,m.y];A.origPoint=w,o.push(A)}else o.push(p)}if(d){var k=s(o[o.length-1]);o.push(["Z"]),r(o[0],k)}}else o=n;return o.reduce(function(S,C){return S+C.join(" ")+" "},"")}},{key:"drawLine",value:function(e,t,i,a){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#a8a8a8",s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,n=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,o=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:i,y2:a,stroke:r,"stroke-dasharray":s,"stroke-width":n,"stroke-linecap":o})}},{key:"drawRect",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#fefefe",n=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,o=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,h=arguments.length>8&&arguments[8]!==void 0?arguments[8]:null,d=arguments.length>9&&arguments[9]!==void 0?arguments[9]:0,c=this.w.globals.dom.Paper.rect();return c.attr({x:e,y:t,width:i>0?i:0,height:a>0?a:0,rx:r,ry:r,opacity:n,"stroke-width":o!==null?o:0,stroke:h!==null?h:"none","stroke-dasharray":d}),c.node.setAttribute("fill",s),c}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#e1e1e1",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:a,stroke:t,"stroke-width":i})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;e<0&&(e=0);var i=this.w.globals.dom.Paper.circle(2*e);return t!==null&&i.attr(t),i}},{key:"drawPath",value:function(e){var t=e.d,i=t===void 0?"":t,a=e.stroke,r=a===void 0?"#a8a8a8":a,s=e.strokeWidth,n=s===void 0?1:s,o=e.fill,h=e.fillOpacity,d=h===void 0?1:h,c=e.strokeOpacity,g=c===void 0?1:c,p=e.classes,x=e.strokeLinecap,f=x===void 0?null:x,m=e.strokeDashArray,v=m===void 0?0:m,w=this.w;return f===null&&(f=w.config.stroke.lineCap),(i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(w.globals.gridHeight)),w.globals.dom.Paper.path(i).attr({fill:o,"fill-opacity":d,stroke:r,"stroke-opacity":g,"stroke-linecap":f,"stroke-width":n,"stroke-dasharray":v,class:p})}},{key:"group",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w.globals.dom.Paper.group();return e!==null&&t.attr(e),t}},{key:"move",value:function(e,t){var i=["M",e,t].join(" ");return i}},{key:"line",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=null;return i===null?a=[" L",e,t].join(" "):i==="H"?a=[" H",e].join(" "):i==="V"&&(a=[" V",t].join(" ")),a}},{key:"curve",value:function(e,t,i,a,r,s){var n=["C",e,t,i,a,r,s].join(" ");return n}},{key:"quadraticCurve",value:function(e,t,i,a){return["Q",e,t,i,a].join(" ")}},{key:"arc",value:function(e,t,i,a,r,s,n){var o="A";arguments.length>7&&arguments[7]!==void 0&&arguments[7]&&(o="a");var h=[o,e,t,i,a,r,s,n].join(" ");return h}},{key:"renderPaths",value:function(e){var t,i=e.j,a=e.realIndex,r=e.pathFrom,s=e.pathTo,n=e.stroke,o=e.strokeWidth,h=e.strokeLinecap,d=e.fill,c=e.animationDelay,g=e.initialSpeed,p=e.dataChangeSpeed,x=e.className,f=e.chartType,m=e.shouldClipToGrid,v=m===void 0||m,w=e.bindEventsOnPaths,l=w===void 0||w,u=e.drawShadow,b=u===void 0||u,A=this.w,k=new ee(this.ctx),S=new ge(this.ctx),C=this.w.config.chart.animations.enabled,L=C&&this.w.config.chart.animations.dynamicAnimation.enabled,M=!!(C&&!A.globals.resized||L&&A.globals.dataChanged&&A.globals.shouldAnimate);M?t=r:(t=s,A.globals.animationEnded=!0);var T=A.config.stroke.dashArray,I=0;I=Array.isArray(T)?T[a]:A.config.stroke.dashArray;var z=this.drawPath({d:t,stroke:n,strokeWidth:o,fill:d,fillOpacity:1,classes:x,strokeLinecap:h,strokeDashArray:I});if(z.attr("index",a),v&&(f==="bar"&&!A.globals.isHorizontal||A.globals.comboCharts?z.attr({"clip-path":"url(#gridRectBarMask".concat(A.globals.cuid,")")}):z.attr({"clip-path":"url(#gridRectMask".concat(A.globals.cuid,")")})),A.config.states.normal.filter.type!=="none")k.getDefaultFilter(z,a);else if(A.config.chart.dropShadow.enabled&&b){var Y=A.config.chart.dropShadow;k.dropShadow(z,Y,a)}l&&(z.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,z)),z.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,z)),z.node.addEventListener("mousedown",this.pathMouseDown.bind(this,z))),z.attr({pathTo:s,pathFrom:r});var D={el:z,j:i,realIndex:a,pathFrom:r,pathTo:s,fill:d,strokeWidth:o,delay:c};return!C||A.globals.resized||A.globals.dataChanged?!A.globals.resized&&A.globals.dataChanged||S.showDelayedElements():S.animatePathsGradually(E(E({},D),{},{speed:g})),A.globals.dataChanged&&L&&M&&S.animatePathsGradually(E(E({},D),{},{speed:p})),z}},{key:"drawPattern",value:function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#a8a8a8",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,i,function(s){e==="horizontalLines"?s.line(0,0,i,0).stroke({color:a,width:r+1}):e==="verticalLines"?s.line(0,0,0,t).stroke({color:a,width:r+1}):e==="slantedLines"?s.line(0,0,t,i).stroke({color:a,width:r}):e==="squares"?s.rect(t,i).fill("none").stroke({color:a,width:r}):e==="circles"&&s.circle(t).fill("none").stroke({color:a,width:r})})}},{key:"drawGradient",value:function(e,t,i,a,r){var s,n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,h=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null,d=arguments.length>8&&arguments[8]!==void 0?arguments[8]:0,c=this.w;t.length<9&&t.indexOf("#")===0&&(t=P.hexToRgba(t,a)),i.length<9&&i.indexOf("#")===0&&(i=P.hexToRgba(i,r));var g=0,p=1,x=1,f=null;o!==null&&(g=o[0]!==void 0?o[0]/100:0,p=o[1]!==void 0?o[1]/100:1,x=o[2]!==void 0?o[2]/100:1,f=o[3]!==void 0?o[3]/100:null);var m=!(c.config.chart.type!=="donut"&&c.config.chart.type!=="pie"&&c.config.chart.type!=="polarArea"&&c.config.chart.type!=="bubble");if(s=h===null||h.length===0?c.globals.dom.Paper.gradient(m?"radial":"linear",function(l){l.at(g,t,a),l.at(p,i,r),l.at(x,i,r),f!==null&&l.at(f,t,a)}):c.globals.dom.Paper.gradient(m?"radial":"linear",function(l){(Array.isArray(h[d])?h[d]:h).forEach(function(u){l.at(u.offset/100,u.color,u.opacity)})}),m){var v=c.globals.gridWidth/2,w=c.globals.gridHeight/2;c.config.chart.type!=="bubble"?s.attr({gradientUnits:"userSpaceOnUse",cx:v,cy:w,r:n}):s.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else e==="vertical"?s.from(0,0).to(0,1):e==="diagonal"?s.from(0,0).to(1,1):e==="horizontal"?s.from(0,1).to(1,1):e==="diagonal2"&&s.from(1,0).to(0,1);return s}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,i=e.maxWidth,a=e.fontSize,r=e.fontFamily,s=this.getTextRects(t,a,r),n=s.width/t.length,o=Math.floor(i/n);return i-1){var o=i.globals.selectedDataPoints[r].indexOf(s);i.globals.selectedDataPoints[r].splice(o,1)}}else{if(!i.config.states.active.allowMultipleDataPointsSelection&&i.globals.selectedDataPoints.length>0){i.globals.selectedDataPoints=[];var h=i.globals.dom.Paper.select(".apexcharts-series path").members,d=i.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,c=function(x){Array.prototype.forEach.call(x,function(f){f.node.setAttribute("selected","false"),a.getDefaultFilter(f,r)})};c(h),c(d)}e.node.setAttribute("selected","true"),n="true",i.globals.selectedDataPoints[r]===void 0&&(i.globals.selectedDataPoints[r]=[]),i.globals.selectedDataPoints[r].push(s)}if(n==="true"){var g=i.config.states.active.filter;if(g!=="none")a.applyFilter(e,r,g.type,g.value);else if(i.config.states.hover.filter!=="none"&&!i.globals.isTouchDevice){var p=i.config.states.hover.filter;a.applyFilter(e,r,p.type,p.value)}}else i.config.states.active.filter.type!=="none"&&(i.config.states.hover.filter.type==="none"||i.globals.isTouchDevice?a.getDefaultFilter(e,r):(p=i.config.states.hover.filter,a.applyFilter(e,r,p.type,p.value)));typeof i.config.chart.events.dataPointSelection=="function"&&i.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:s,w:i}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:s,w:i}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,i,a){var r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],s=this.w,n=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:i,foreColor:"#fff",opacity:0});a&&n.attr("transform",a),s.globals.dom.Paper.add(n);var o=n.bbox();return r||(o=n.node.getBoundingClientRect()),n.remove(),{width:o.width,height:o.height}}},{key:"placeTextWithEllipsis",value:function(e,t,i){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=i/1.1)){for(var a=t.length-3;a>0;a-=3)if(e.getSubStringLength(0,a)<=i/1.1)return void(e.textContent=t.substring(0,a)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&e.setAttribute(i,t[i])}}]),y}(),$=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,i=[];if(t.globals.series.length===0)return i;for(var a=0;a0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce(function(t,i){return t+i},0):this.w.globals.series[e].reduce(function(t,i){return t+i},0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,i=[];return t.globals.seriesGroups.forEach(function(a){var r=[];t.config.series.forEach(function(n,o){a.indexOf(t.globals.seriesNames[o])>-1&&r.push(o)});var s=t.globals.series.map(function(n,o){return r.indexOf(o)===-1?o:-1}).filter(function(n){return n!==-1});i.push(e.getStackedSeriesTotals(s))}),i}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,i=[],a=[],r=[],s=e.series.length>t.yaxis.length||t.yaxis.some(function(c){return Array.isArray(c.seriesName)});t.series.forEach(function(c,g){r.push(g),a.push(null)}),t.yaxis.forEach(function(c,g){i[g]=[]});var n=[];t.yaxis.forEach(function(c,g){var p=!1;if(c.seriesName){var x=[];Array.isArray(c.seriesName)?x=c.seriesName:x.push(c.seriesName),x.forEach(function(f){t.series.forEach(function(m,v){if(m.name===f){var w=v;g===v||s?!s||r.indexOf(v)>-1?i[g].push([g,v]):console.warn("Series '"+m.name+"' referenced more than once in what looks like the new style. That is, when using either seriesName: [], or when there are more series than yaxes."):(i[v].push([v,g]),w=g),p=!0,(w=r.indexOf(w))!==-1&&r.splice(w,1)}})})}p||n.push(g)}),i=i.map(function(c,g){var p=[];return c.forEach(function(x){a[x[1]]=x[0],p.push(x[1])}),p});for(var o=t.yaxis.length-1,h=0;h0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter(function(t){return t!==null}):this.w.config.series[e].data.filter(function(t){return t!==null})).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every(function(t,i,a){return t===a[0]})}},{key:"getCategoryLabels",value:function(e){var t=this.w,i=e.slice();return t.config.xaxis.convertedCatToNumeric&&(i=e.map(function(a,r){return t.config.xaxis.labels.formatter(a-t.globals.minX+1)})),i}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map(function(t){return t.length}).indexOf(Math.max.apply(Math,e.globals.series.map(function(t){return t.length})))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach(function(i){t=Math.max(t,i)}),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach(function(i){t=Math.max(t,i.size)}),t>0&&(e.config.markers.hover.size>0?t=e.config.markers.hover.size:t+=e.config.markers.hover.sizeOffset),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map(function(t,i){var a=0;if(Array.isArray(t))for(var r=0;re&&i.globals.seriesX[r][n]0){var x=function(m,v){var w=r.config.yaxis[r.globals.seriesYAxisReverseMap[v]],l=m<0?-1:1;return m=Math.abs(m),w.logarithmic&&(m=a.getBaseLog(w.logBase,m)),-l*m/n[v]};if(s.isMultipleYAxis){h=[];for(var f=0;f0&&t.forEach(function(n){var o=[],h=[];e.i.forEach(function(d,c){r.config.series[d].group===n&&(o.push(e.series[c]),h.push(d))}),o.length>0&&s.push(a.draw(o,i,h))}),s}}],[{key:"checkComboSeries",value:function(e,t){var i=!1,a=0,r=0;return t===void 0&&(t="line"),e.length&&e[0].type!==void 0&&e.forEach(function(s){s.type!=="bar"&&s.type!=="column"&&s.type!=="candlestick"&&s.type!=="boxPlot"||a++,s.type!==void 0&&s.type!==t&&r++}),r>0&&(i=!0),{comboBarCount:a,comboCharts:i}}},{key:"extendArrayProps",value:function(e,t,i){var a,r,s,n,o,h;return(a=t)!==null&&a!==void 0&&a.yaxis&&(t=e.extendYAxis(t,i)),(r=t)!==null&&r!==void 0&&r.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),(s=t)!==null&&s!==void 0&&(n=s.annotations)!==null&&n!==void 0&&n.xaxis&&(t=e.extendXAxisAnnotations(t)),(o=t)!==null&&o!==void 0&&(h=o.annotations)!==null&&h!==void 0&&h.points&&(t=e.extendPointAnnotations(t))),t}}]),y}(),Le=function(){function y(e){R(this,y),this.w=e.w,this.annoCtx=e}return F(y,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=this.w;if(e.label.orientation==="vertical"){var a=t!==null?t:0,r=i.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(a,"']"));if(r!==null){var s=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-s.height+4);var n=e.label.position==="top"?s.width:-s.width;r.setAttribute("y",parseFloat(r.getAttribute("y"))+n);var o=this.annoCtx.graphics.rotateAroundCenter(r),h=o.x,d=o.y;r.setAttribute("transform","rotate(-90 ".concat(h," ").concat(d,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var i=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var a=i.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),s=t.label.style.padding,n=s.left,o=s.right,h=s.top,d=s.bottom;if(t.label.orientation==="vertical"){var c=[n,o,h,d];h=c[0],d=c[1],n=c[2],o=c[3]}var g=r.left-a.left-n,p=r.top-a.top-h,x=this.annoCtx.graphics.drawRect(g-i.globals.barPadForNumericAxis,p,r.width+n+o,r.height+h+d,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&x.node.classList.add(t.id),x}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,i=function(a,r,s){var n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(s,"-annotations .apexcharts-").concat(s,"-annotation-label[rel='").concat(r,"']"));if(n){var o=n.parentNode,h=e.addBackgroundToAnno(n,a);h&&(o.insertBefore(h.node,n),a.label.mouseEnter&&h.node.addEventListener("mouseenter",a.label.mouseEnter.bind(e,a)),a.label.mouseLeave&&h.node.addEventListener("mouseleave",a.label.mouseLeave.bind(e,a)),a.label.click&&h.node.addEventListener("click",a.label.click.bind(e,a)))}};t.config.annotations.xaxis.forEach(function(a,r){return i(a,r,"xaxis")}),t.config.annotations.yaxis.forEach(function(a,r){return i(a,r,"yaxis")}),t.config.annotations.points.forEach(function(a,r){return i(a,r,"point")})}},{key:"getY1Y2",value:function(e,t){var i,a=this.w,r=e==="y1"?t.y:t.y2,s=!1;if(this.annoCtx.invertAxis){var n=a.config.xaxis.convertedCatToNumeric?a.globals.categoryLabels:a.globals.labels,o=n.indexOf(r),h=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(o+1,")"));i=h?parseFloat(h.getAttribute("y")):(a.globals.gridHeight/n.length-1)*(o+1)-a.globals.barHeight,t.seriesIndex!==void 0&&a.globals.barHeight&&(i-=a.globals.barHeight/2*(a.globals.series.length-1)-a.globals.barHeight*t.seriesIndex)}else{var d,c=a.globals.seriesYAxisMap[t.yAxisIndex][0],g=a.config.yaxis[t.yAxisIndex].logarithmic?new $(this.annoCtx.ctx).getLogVal(a.config.yaxis[t.yAxisIndex].logBase,r,c)/a.globals.yLogRatio[c]:(r-a.globals.minYArr[c])/(a.globals.yRange[c]/a.globals.gridHeight);i=a.globals.gridHeight-Math.min(Math.max(g,0),a.globals.gridHeight),s=g>a.globals.gridHeight||g<0,!t.marker||t.y!==void 0&&t.y!==null||(i=0),(d=a.config.yaxis[t.yAxisIndex])!==null&&d!==void 0&&d.reversed&&(i=g)}return typeof r=="string"&&r.includes("px")&&(i=parseFloat(r)),{yP:i,clipped:s}}},{key:"getX1X2",value:function(e,t){var i=this.w,a=e==="x1"?t.x:t.x2,r=this.annoCtx.invertAxis?i.globals.minY:i.globals.minX,s=this.annoCtx.invertAxis?i.globals.maxY:i.globals.maxX,n=this.annoCtx.invertAxis?i.globals.yRange[0]:i.globals.xRange,o=!1,h=this.annoCtx.inversedReversedAxis?(s-a)/(n/i.globals.gridWidth):(a-r)/(n/i.globals.gridWidth);return i.config.xaxis.type!=="category"&&!i.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||i.globals.dataFormatXNumeric||i.config.chart.sparkline.enabled||(h=this.getStringX(a)),typeof a=="string"&&a.includes("px")&&(h=parseFloat(a)),a==null&&t.marker&&(h=i.globals.gridWidth),t.seriesIndex!==void 0&&i.globals.barWidth&&!this.annoCtx.invertAxis&&(h-=i.globals.barWidth/2*(i.globals.series.length-1)-i.globals.barWidth*t.seriesIndex),h>i.globals.gridWidth?(h=i.globals.gridWidth,o=!0):h<0&&(h=0,o=!0),{x:h,clipped:o}}},{key:"getStringX",value:function(e){var t=this.w,i=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var a=t.globals.labels.map(function(s){return Array.isArray(s)?s.join(" "):s}).indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(a+1,")"));return r&&(i=parseFloat(r.getAttribute("x"))),i}}]),y}(),ft=function(){function y(e){R(this,y),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new Le(this.annoCtx)}return F(y,[{key:"addXaxisAnnotation",value:function(e,t,i){var a,r=this.w,s=this.helpers.getX1X2("x1",e),n=s.x,o=s.clipped,h=!0,d=e.label.text,c=e.strokeDashArray;if(P.isNumber(n)){if(e.x2===null||e.x2===void 0){if(!o){var g=this.annoCtx.graphics.drawLine(n+e.offsetX,0+e.offsetY,n+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,c,e.borderWidth);t.appendChild(g.node),e.id&&g.node.classList.add(e.id)}}else{var p=this.helpers.getX1X2("x2",e);if(a=p.x,h=p.clipped,!o||!h){if(a12?p-12:p===0?12:p;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+h(p))).replace(/(^|[^\\])H/g,"$1"+p)).replace(/(^|[^\\])hh+/g,"$1"+h(x))).replace(/(^|[^\\])h/g,"$1"+x);var f=a?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+h(f))).replace(/(^|[^\\])m/g,"$1"+f);var m=a?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+h(m))).replace(/(^|[^\\])s/g,"$1"+m);var v=a?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+h(v,3)),v=Math.round(v/10),t=t.replace(/(^|[^\\])ff/g,"$1"+h(v)),v=Math.round(v/10);var w=p<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+v)).replace(/(^|[^\\])TT+/g,"$1"+w)).replace(/(^|[^\\])T/g,"$1"+w.charAt(0));var l=w.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+l)).replace(/(^|[^\\])t/g,"$1"+l.charAt(0));var u=-e.getTimezoneOffset(),b=a||!u?"Z":u>0?"+":"-";if(!a){var A=(u=Math.abs(u))%60;b+=h(Math.floor(u/60))+":"+h(A)}t=t.replace(/(^|[^\\])K/g,"$1"+b);var k=(a?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(n[0],"g"),n[k])).replace(new RegExp(o[0],"g"),o[k])).replace(new RegExp(r[0],"g"),r[c])).replace(new RegExp(s[0],"g"),s[c])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,i){var a=this.w;a.config.xaxis.min!==void 0&&(e=a.config.xaxis.min),a.config.xaxis.max!==void 0&&(t=a.config.xaxis.max);var r=this.getDate(e),s=this.getDate(t),n=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),o=this.formatDate(s,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(n[6],10),maxMillisecond:parseInt(o[6],10),minSecond:parseInt(n[5],10),maxSecond:parseInt(o[5],10),minMinute:parseInt(n[4],10),maxMinute:parseInt(o[4],10),minHour:parseInt(n[3],10),maxHour:parseInt(o[3],10),minDate:parseInt(n[2],10),maxDate:parseInt(o[2],10),minMonth:parseInt(n[1],10)-1,maxMonth:parseInt(o[1],10)-1,minYear:parseInt(n[0],10),maxYear:parseInt(o[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,i){return this.determineDaysOfMonths(e,t)-i}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,i){var a=this.daysCntOfYear[t]+i;return t>1&&this.isLeapYear()&&a++,a}},{key:"determineDaysOfMonths",value:function(e,t){var i=30;switch(e=P.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(i=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:i=31}return i}}]),y}(),me=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return F(y,[{key:"xLabelFormat",value:function(e,t,i,a){var r=this.w;if(r.config.xaxis.type==="datetime"&&r.config.xaxis.labels.formatter===void 0&&r.config.tooltip.x.formatter===void 0){var s=new K(this.ctx);return s.formatDate(s.getDate(t),r.config.tooltip.x.format)}return e(t,i,a)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map(function(t){return t}):e}},{key:"defaultYFormatter",value:function(e,t,i){var a=this.w;if(P.isNumber(e))if(a.globals.yValueDecimal!==0)e=e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:a.globals.yValueDecimal);else{var r=e.toFixed(0);e=e==r?r:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(i){return e.defaultGeneralFormatter(i)},t.globals.ttKeyFormatter=function(i){return e.defaultGeneralFormatter(i)},t.globals.ttZFormatter=function(i){return i},t.globals.legendFormatter=function(i){return e.defaultGeneralFormatter(i)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(i){if(P.isNumber(i)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(P.isNumber(t.config.xaxis.decimalsInFloat))return i.toFixed(t.config.xaxis.decimalsInFloat);var a=t.globals.maxX-t.globals.minX;return a>0&&a<100?i.toFixed(1):i.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?i.toFixed(1):i.toFixed(0)}return i},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach(function(i,a){i.labels.formatter!==void 0?t.globals.yLabelFormatters[a]=i.labels.formatter:t.globals.yLabelFormatters[a]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map(function(s){return e.defaultYFormatter(s,i,a)}):e.defaultYFormatter(r,i,a):r}}),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce(function(i,a){return i.length>a.length?i:a},0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),y}(),he=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"getLabel",value:function(e,t,i,a){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",n=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],o=this.w,h=e[a]===void 0?"":e[a],d=h,c=o.globals.xLabelFormatter,g=o.config.xaxis.labels.formatter,p=!1,x=new me(this.ctx),f=h;n&&(d=x.xLabelFormat(c,h,f,{i:a,dateFormatter:new K(this.ctx).formatDate,w:o}),g!==void 0&&(d=g(h,e[a],{i:a,dateFormatter:new K(this.ctx).formatDate,w:o})));var m,v;t.length>0?(m=t[a].unit,v=null,t.forEach(function(b){b.unit==="month"?v="year":b.unit==="day"?v="month":b.unit==="hour"?v="day":b.unit==="minute"&&(v="hour")}),p=v===m,i=t[a].position,d=t[a].value):o.config.xaxis.type==="datetime"&&g===void 0&&(d=""),d===void 0&&(d=""),d=Array.isArray(d)?d:d.toString();var w=new X(this.ctx),l={};l=o.globals.rotateXLabels&&n?w.getTextRects(d,parseInt(s,10),null,"rotate(".concat(o.config.xaxis.labels.rotate," 0 0)"),!1):w.getTextRects(d,parseInt(s,10));var u=!o.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(d)&&(String(d)==="NaN"||r.indexOf(d)>=0&&u)&&(d=""),{x:i,text:d,textRect:l,isBold:p}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,i){var a=this.w,r=a.config.xaxis.tickAmount;return r==="dataPoints"&&(r=Math.round(a.globals.gridWidth/120)),r>i||e%Math.round(i/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,i,a,r){var s=this.w;if(e===0&&s.globals.skipFirstTimelinelabel&&(t.text=""),e===i-1&&s.globals.skipLastTimelinelabel&&(t.text=""),s.config.xaxis.labels.hideOverlappingLabels&&a.length>0){var n=r[r.length-1];t.xa.length||a.some(function(r){return Array.isArray(r.seriesName)})?e:i.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,i=t.config.yaxis[e];if(!i.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!i.showForNullSeries){var a=t.globals.seriesYAxisMap[e],r=new $(this.ctx);return a.every(function(s){return r.isSeriesNull(s)})}return!1}},{key:"getYAxisForeColor",value:function(e,t){var i=this.w;return Array.isArray(e)&&i.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,i.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,i,a,r,s,n){var o=this.w,h=new X(this.ctx),d=o.globals.translateY+o.config.yaxis[r].labels.offsetY;if(o.globals.isBarHorizontal?d=0:o.config.chart.type==="heatmap"&&(d+=s/2),a.show&&t>0){o.config.yaxis[r].opposite===!0&&(e+=a.width);for(var c=t;c>=0;c--){var g=h.drawLine(e+i.offsetX-a.width+a.offsetX,d+a.offsetY,e+i.offsetX+a.offsetX,d+a.offsetY,a.color);n.add(g),d+=s}}}}]),y}(),xt=function(){function y(e){R(this,y),this.w=e.w,this.annoCtx=e,this.helpers=new Le(this.annoCtx),this.axesUtils=new he(this.annoCtx)}return F(y,[{key:"addYaxisAnnotation",value:function(e,t,i){var a,r=this.w,s=e.strokeDashArray,n=this.helpers.getY1Y2("y1",e),o=n.yP,h=n.clipped,d=!0,c=!1,g=e.label.text;if(e.y2===null||e.y2===void 0){if(!h){c=!0;var p=this.annoCtx.graphics.drawLine(0+e.offsetX,o+e.offsetY,this._getYAxisAnnotationWidth(e),o+e.offsetY,e.borderColor,s,e.borderWidth);t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}}else{if(a=(n=this.helpers.getY1Y2("y2",e)).yP,d=n.clipped,a>o){var x=o;o=a,a=x}if(!h||!d){c=!0;var f=this.annoCtx.graphics.drawRect(0+e.offsetX,a+e.offsetY,this._getYAxisAnnotationWidth(e),o-a,0,e.fillColor,e.opacity,1,e.borderColor,s);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}}if(c){var m=e.label.position==="right"?r.globals.gridWidth:e.label.position==="center"?r.globals.gridWidth/2:0,v=this.annoCtx.graphics.drawText({x:m+e.label.offsetX,y:(a??o)+e.label.offsetY-3,text:g,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:"")});v.attr({rel:i}),t.appendChild(v.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,i=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach(function(a,r){a.yAxisIndex=e.axesUtils.translateYAxisIndex(a.yAxisIndex),e.axesUtils.isYAxisHidden(a.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(a.yAxisIndex)||e.addYaxisAnnotation(a,i.node,r)}),i}}]),y}(),bt=function(){function y(e){R(this,y),this.w=e.w,this.annoCtx=e,this.helpers=new Le(this.annoCtx)}return F(y,[{key:"addPointAnnotation",value:function(e,t,i){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var a=this.helpers.getX1X2("x1",e),r=a.x,s=a.clipped,n=(a=this.helpers.getY1Y2("y1",e)).yP,o=a.clipped;if(P.isNumber(r)&&!o&&!s){var h={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:"")},d=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,n+e.marker.offsetY,h);t.appendChild(d.node);var c=e.label.text?e.label.text:"",g=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:n+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:c,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(g.attr({rel:i}),t.appendChild(g.node),e.customSVG.SVG){var p=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});p.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(n+e.customSVG.offsetY,")")}),p.node.innerHTML=e.customSVG.SVG,t.appendChild(p.node)}if(e.image.path){var x=e.image.width?e.image.width:20,f=e.image.height?e.image.height:20;d=this.annoCtx.addImage({x:r+e.image.offsetX-x/2,y:n+e.image.offsetY-f/2,width:x,height:f,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&d.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&d.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&d.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,i=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map(function(a,r){e.addPointAnnotation(a,i.node,r)}),i}}]),y}(),Je={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"}}},ce=function(){function y(){R(this,y),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,showDuplicates:!1,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:void 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,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 F(y,[{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:"",locales:[Je],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,nonce: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,targets:void 0},stacked:!1,stackOnlyBar:!0,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",categoryFormatter:void 0,valueFormatter:void 0},png:{filename:void 0},svg:{filename:void 0},scale:void 0,width:void 0},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,allowMouseWheelZoom:!0,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{line:{isSlopeChart:!1},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,isFunnel:!1,isFunnel3d:!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,borderRadius:4,dataLabels:{format:"scale"},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(t,i){return t+i},0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,offsetX:0,offsetY:0,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},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(t,i){return t+i},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 e!==null?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:{size:7,fillColors:void 0,strokeWidth:1,shape:void 0,offsetX:0,offsetY:0,customHTML:void 0,onClick:void 0},itemMargin:{horizontal:5,vertical:4},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",offsetX:0,offsetY:0,showNullDataPoints:!0,onClick:void 0,onDblClick:void 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,hideEmptySeries:!1,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},stepSize:void 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:"",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),y}(),mt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.graphics=new X(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new Le(this),this.xAxisAnnotations=new ft(this),this.yAxisAnnotations=new xt(this),this.pointsAnnotations=new bt(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 F(y,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),i=this.xAxisAnnotations.drawXAxisAnnotations(),a=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,s=[t,i,a],n=[i.node,t.node,a.node],o=0;o<3;o++)e.globals.dom.elGraphical.add(s[o]),!r||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&n[o].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:n[o],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map(function(t,i){e.addImage(t,i)})}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map(function(t,i){e.addText(t,i)})}},{key:"addXaxisAnnotation",value:function(e,t,i){this.xAxisAnnotations.addXaxisAnnotation(e,t,i)}},{key:"addYaxisAnnotation",value:function(e,t,i){this.yAxisAnnotations.addYaxisAnnotation(e,t,i)}},{key:"addPointAnnotation",value:function(e,t,i){this.pointsAnnotations.addPointAnnotation(e,t,i)}},{key:"addText",value:function(e,t){var i=e.x,a=e.y,r=e.text,s=e.textAnchor,n=e.foreColor,o=e.fontSize,h=e.fontFamily,d=e.fontWeight,c=e.cssClass,g=e.backgroundColor,p=e.borderWidth,x=e.strokeDashArray,f=e.borderRadius,m=e.borderColor,v=e.appendTo,w=v===void 0?".apexcharts-svg":v,l=e.paddingLeft,u=l===void 0?4:l,b=e.paddingRight,A=b===void 0?4:b,k=e.paddingBottom,S=k===void 0?2:k,C=e.paddingTop,L=C===void 0?2:C,M=this.w,T=this.graphics.drawText({x:i,y:a,text:r,textAnchor:s||"start",fontSize:o||"12px",fontWeight:d||"regular",fontFamily:h||M.config.chart.fontFamily,foreColor:n||M.config.chart.foreColor,cssClass:c}),I=M.globals.dom.baseEl.querySelector(w);I&&I.appendChild(T.node);var z=T.bbox();if(r){var Y=this.graphics.drawRect(z.x-u,z.y-L,z.width+u+A,z.height+S+L,f,g||"transparent",1,p,m,x);I.insertBefore(Y.node,T.node)}}},{key:"addImage",value:function(e,t){var i=this.w,a=e.path,r=e.x,s=r===void 0?0:r,n=e.y,o=n===void 0?0:n,h=e.width,d=h===void 0?20:h,c=e.height,g=c===void 0?20:c,p=e.appendTo,x=p===void 0?".apexcharts-svg":p,f=i.globals.dom.Paper.image(a);f.size(d,g).move(s,o);var m=i.globals.dom.baseEl.querySelector(x);return m&&m.appendChild(f.node),f}},{key:"addXaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"xaxis",contextMethod:i.addXaxisAnnotation}),i}},{key:"addYaxisAnnotationExternal",value:function(e,t,i){return this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"yaxis",contextMethod:i.addYaxisAnnotation}),i}},{key:"addPointAnnotationExternal",value:function(e,t,i){return this.invertAxis===void 0&&(this.invertAxis=i.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:i,type:"point",contextMethod:i.addPointAnnotation}),i}},{key:"addAnnotationExternal",value:function(e){var t=e.params,i=e.pushToMemory,a=e.context,r=e.type,s=e.contextMethod,n=a,o=n.w,h=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),d=h.childNodes.length+1,c=new ce,g=Object.assign({},r==="xaxis"?c.xAxisAnnotation:r==="yaxis"?c.yAxisAnnotation:c.pointAnnotation),p=P.extend(g,t);switch(r){case"xaxis":this.addXaxisAnnotation(p,h,d);break;case"yaxis":this.addYaxisAnnotation(p,h,d);break;case"point":this.addPointAnnotation(p,h,d)}var x=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(d,"']")),f=this.helpers.addBackgroundToAnno(x,p);return f&&h.insertBefore(f.node,x),i&&o.globals.memory.methodsToExec.push({context:n,id:p.id?p.id:P.randomId(),method:s,label:"addAnnotation",params:t}),a}},{key:"clearAnnotations",value:function(e){for(var t=e.w,i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),a=t.globals.memory.methodsToExec.length-1;a>=0;a--)t.globals.memory.methodsToExec[a].label!=="addText"&&t.globals.memory.methodsToExec[a].label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(a,1);i=P.listToArray(i),Array.prototype.forEach.call(i,function(r){for(;r.firstChild;)r.removeChild(r.firstChild)})}},{key:"removeAnnotation",value:function(e,t){var i=e.w,a=i.globals.dom.baseEl.querySelectorAll(".".concat(t));a&&(i.globals.memory.methodsToExec.map(function(r,s){r.id===t&&i.globals.memory.methodsToExec.splice(s,1)}),Array.prototype.forEach.call(a,function(r){r.parentElement.removeChild(r)}))}}]),y}(),Ee=function(y){var e,t=y.isTimeline,i=y.ctx,a=y.seriesIndex,r=y.dataPointIndex,s=y.y1,n=y.y2,o=y.w,h=o.globals.seriesRangeStart[a][r],d=o.globals.seriesRangeEnd[a][r],c=o.globals.labels[r],g=o.config.series[a].name?o.config.series[a].name:"",p=o.globals.ttKeyFormatter,x=o.config.tooltip.y.title.formatter,f={w:o,seriesIndex:a,dataPointIndex:r,start:h,end:d};typeof x=="function"&&(g=x(g,f)),(e=o.config.series[a].data[r])!==null&&e!==void 0&&e.x&&(c=o.config.series[a].data[r].x),t||o.config.xaxis.type==="datetime"&&(c=new me(i).xLabelFormat(o.globals.ttKeyFormatter,c,c,{i:void 0,dateFormatter:new K(i).formatDate,w:o})),typeof p=="function"&&(c=p(c,f)),Number.isFinite(s)&&Number.isFinite(n)&&(h=s,d=n);var m="",v="",w=o.globals.colors[a];if(o.config.tooltip.x.formatter===void 0)if(o.config.xaxis.type==="datetime"){var l=new K(i);m=l.formatDate(l.getDate(h),o.config.tooltip.x.format),v=l.formatDate(l.getDate(d),o.config.tooltip.x.format)}else m=h,v=d;else m=o.config.tooltip.x.formatter(h),v=o.config.tooltip.x.formatter(d);return{start:h,end:d,startVal:m,endVal:v,ylabel:c,color:w,seriesName:g}},Ye=function(y){var e=y.color,t=y.seriesName,i=y.ylabel,a=y.start,r=y.end,s=y.seriesIndex,n=y.dataPointIndex,o=y.ctx.tooltip.tooltipLabels.getFormatters(s);a=o.yLbFormatter(a),r=o.yLbFormatter(r);var h=o.yLbFormatter(y.w.globals.series[s][n]),d=` - `.concat(a,` - - - `).concat(r,` - `);return'
'+(t||"")+'
'+i+": "+(y.w.globals.comboCharts?y.w.config.series[s].type==="rangeArea"||y.w.config.series[s].type==="rangeBar"?d:"".concat(h,""):d)+"
"},ve=function(){function y(e){R(this,y),this.opts=e}return F(y,[{key:"hideYAxis",value:function(){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}},{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.hideYAxis(),P.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:"slope",value:function(){return this.hideYAxis(),{chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!0,formatter:function(e,t){var i=t.w.config.series[t.seriesIndex].name;return e!==null?i+": "+e:""},background:{enabled:!1},offsetX:-5},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}},xaxis:{position:"top",labels:{style:{fontSize:14,fontWeight:900}},tooltip:{enabled:!1},crosshairs:{show:!1}},markers:{size:8,hover:{sizeOffset:1}},legend:{show:!1},tooltip:{shared:!1,intersect:!0,followCursor:!0},stroke:{width:5,curve:"straight"}}}},{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"}},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:"funnel",value:function(){return this.hideYAxis(),E(E({},this.bar()),{},{chart:{animations:{easing:"linear",speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{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 i=t.seriesIndex,a=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,i,a,["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 i=t.seriesIndex,a=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,i,a,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:7,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 i=t.seriesIndex,a=t.dataPointIndex,r=t.w,s=function(){var n=r.globals.seriesRangeStart[i][a];return r.globals.seriesRangeEnd[i][a]-n};return r.globals.comboCharts?r.config.series[i].type==="rangeBar"||r.config.series[i].type==="rangeArea"?s():e:s()},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(t){var i=Ee(E(E({},t),{},{isTimeline:!0})),a=i.color,r=i.seriesName,s=i.ylabel,n=i.startVal,o=i.endVal;return Ye(E(E({},t),{},{color:a,seriesName:r,ylabel:s,start:n,end:o}))}(e):function(t){var i=Ee(t),a=i.color,r=i.seriesName,s=i.ylabel,n=i.start,o=i.end;return Ye(E(E({},t),{},{color:a,seriesName:r,ylabel:s,start:n,end:o}))}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,i;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(i=e.plotOptions.bar)!==null&&i!==void 0&&i.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(t){var i=Ee(t),a=i.color,r=i.seriesName,s=i.ylabel,n=i.start,o=i.end;return Ye(E(E({},t),{},{color:a,seriesName:r,ylabel:s,start:n,end:o}))}(e)}}}}},{key:"brush",value:function(e){return P.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(i,a){e.yaxis[a].min=0,e.yaxis[a].max=100}),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(i){return typeof i=="number"&&i?i.toFixed(0)+"%":i}),e}},{key:"stackedBars",value:function(){var e=this.bar();return E(E({},e),{},{plotOptions:E(E({},e.plotOptions),{},{bar:E(E({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,i){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(s){return P.isNumber(s)?Math.floor(s):s};var a=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return i&&i.length&&(r=i.map(function(s){return Array.isArray(s)?s:String(s)})),r&&r.length&&(e.xaxis.labels.formatter=function(s){return P.isNumber(s)?a(r[Math.floor(s)-1]):a(s)}),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"}},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:{opacity:1,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"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{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"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"polarArea",value:function(){return{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"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{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:5,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},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},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"_getBoxTooltip",value:function(e,t,i,a,r){var s=e.globals.seriesCandleO[t][i],n=e.globals.seriesCandleH[t][i],o=e.globals.seriesCandleM[t][i],h=e.globals.seriesCandleL[t][i],d=e.globals.seriesCandleC[t][i];return e.config.series[t].type&&e.config.series[t].type!==r?`
- `.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": ").concat(e.globals.series[t][i],` -
`):'
')+"
".concat(a[0],': ')+s+"
"+"
".concat(a[1],': ')+n+"
"+(o?"
".concat(a[2],': ')+o+"
":"")+"
".concat(a[3],': ')+h+"
"+"
".concat(a[4],': ')+d+"
"}}]),y}(),ye=function(){function y(e){R(this,y),this.opts=e}return F(y,[{key:"init",value:function(e){var t=e.responsiveOverride,i=this.opts,a=new ce,r=new ve(i);this.chartType=i.chart.type,i=this.extendYAxis(i),i=this.extendAnnotations(i);var s=a.init(),n={};if(i&&Q(i)==="object"){var o,h,d,c,g,p,x,f,m,v,w={};w=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(i.chart.type)!==-1?r[i.chart.type]():r.line(),(o=i.plotOptions)!==null&&o!==void 0&&(h=o.bar)!==null&&h!==void 0&&h.isFunnel&&(w=r.funnel()),i.chart.stacked&&i.chart.type==="bar"&&(w=r.stackedBars()),(d=i.chart.brush)!==null&&d!==void 0&&d.enabled&&(w=r.brush(w)),(c=i.plotOptions)!==null&&c!==void 0&&(g=c.line)!==null&&g!==void 0&&g.isSlopeChart&&(w=r.slope()),i.chart.stacked&&i.chart.stackType==="100%"&&(i=r.stacked100(i)),(p=i.plotOptions)!==null&&p!==void 0&&(x=p.bar)!==null&&x!==void 0&&x.isDumbbell&&(i=r.dumbbell(i)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(i),i.xaxis=i.xaxis||window.Apex.xaxis||{},t||(i.xaxis.convertedCatToNumeric=!1),((f=(i=this.checkForCatToNumericXAxis(this.chartType,w,i)).chart.sparkline)!==null&&f!==void 0&&f.enabled||(m=window.Apex.chart)!==null&&m!==void 0&&(v=m.sparkline)!==null&&v!==void 0&&v.enabled)&&(w=r.sparkline(w)),n=P.extend(s,w)}var l=P.extend(n,window.Apex);return s=P.extend(l,i),s=this.handleUserInputErrors(s)}},{key:"checkForCatToNumericXAxis",value:function(e,t,i){var a,r,s=new ve(i),n=(e==="bar"||e==="boxPlot")&&((a=i.plotOptions)===null||a===void 0||(r=a.bar)===null||r===void 0?void 0:r.horizontal),o=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",h=i.xaxis.type!=="datetime"&&i.xaxis.type!=="numeric",d=i.xaxis.tickPlacement?i.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return n||o||!h||d==="between"||(i=s.convertCatToNumeric(i)),i}},{key:"extendYAxis",value:function(e,t){var i=new ce;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=P.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[P.extend(i.yAxis,e.yaxis)]:e.yaxis=P.extendArray(e.yaxis,i.yAxis);var a=!1;e.yaxis.forEach(function(s){s.logarithmic&&(a=!0)});var r=e.series;return t&&!r&&(r=t.config.series),a&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map(function(s,n){if(s.name||(r[n].name="series-".concat(n+1)),e.yaxis[n])return e.yaxis[n].seriesName=r[n].name,e.yaxis[n];var o=P.extend(i.yAxis,e.yaxis[0]);return o.show=!1,o})),a&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new ce;return e.annotations.yaxis=P.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new ce;return e.annotations.xaxis=P.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new ce;return e.annotations.points=P.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),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(t.chart.type==="bar"&&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 t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),y}(),Qe=function(){function y(){R(this,y)}return F(y,[{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.barGroups=[],e.lineGroups=[],e.areaGroups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.lastWheelExecution=0,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,e.multiAxisTickAmount=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:[],invalidLogScale:!1,ignoreYAxisIndexes:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&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,isSlopeChart:e.plotOptions.line.isSlopeChart,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,niceScaleAllowedMagMsd:[[1,1,2,5,5,5,10,10,10,10,10],[1,1,2,5,5,5,10,10,10,10,10]],niceScaleDefaultTicks:[1,2,4,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,24],seriesYAxisMap:[],seriesYAxisReverseMap:[]}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=P.extend({},e),t.initialSeries=P.clone(e.series),t.lastXAxis=P.clone(t.initialConfig.xaxis),t.lastYAxis=P.clone(t.initialConfig.yaxis),t}}]),y}(),vt=function(){function y(e){R(this,y),this.opts=e}return F(y,[{key:"init",value:function(){var e=new ye(this.opts).init({responsiveOverride:!1});return{config:e,globals:new Qe().init(e)}}}]),y}(),ne=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return F(y,[{key:"clippedImgArea",value:function(e){var t=this.w,i=t.config,a=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),s=a>r?a:r,n=e.image,o=0,h=0;e.width===void 0&&e.height===void 0?i.fill.image.width!==void 0&&i.fill.image.height!==void 0?(o=i.fill.image.width+1,h=i.fill.image.height):(o=s+1,h=s):(o=e.width,h=e.height);var d=document.createElementNS(t.globals.SVGNS,"pattern");X.setAttrs(d,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:o+"px",height:h+"px"});var c=document.createElementNS(t.globals.SVGNS,"image");d.appendChild(c),c.setAttributeNS(window.SVG.xlink,"href",n),X.setAttrs(c,{x:0,y:0,preserveAspectRatio:"none",width:o+"px",height:h+"px"}),c.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(d)}},{key:"getSeriesIndex",value:function(e){var t=this.w,i=t.config.chart.type;return(i==="bar"||i==="rangeBar")&&t.config.plotOptions.bar.distributed||i==="heatmap"||i==="treemap"?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 i,a,r,s=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var n=this.getFillColors()[this.seriesIndex];t.globals.seriesColors[this.seriesIndex]!==void 0&&(n=t.globals.seriesColors[this.seriesIndex]),typeof n=="function"&&(n=n({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var o=e.fillType?e.fillType:this.getFillType(this.seriesIndex),h=Array.isArray(s.fill.opacity)?s.fill.opacity[this.seriesIndex]:s.fill.opacity;e.color&&(n=e.color),n||(n="#fff",console.warn("undefined color - ApexCharts"));var d=n;if(n.indexOf("rgb")===-1?n.length<9&&(d=P.hexToRgba(n,h)):n.indexOf("rgba")>-1&&(h=P.getOpacityFromRGBA(n)),e.opacity&&(h=e.opacity),o==="pattern"&&(a=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:a,fillColor:n,fillOpacity:h,defaultColor:d})),o==="gradient"&&(r=this.handleGradientFill({fillConfig:e.fillConfig,fillColor:n,fillOpacity:h,i:this.seriesIndex})),o==="image"){var c=s.fill.image.src,g=e.patternID?e.patternID:"",p="pattern".concat(t.globals.cuid).concat(e.seriesNumber+1).concat(g);this.patternIDs.indexOf(p)===-1&&(this.clippedImgArea({opacity:h,image:Array.isArray(c)?e.seriesNumber-1&&(p=P.getOpacityFromRGBA(g));var x=s.gradient.opacityTo===void 0?i:Array.isArray(s.gradient.opacityTo)?s.gradient.opacityTo[r]:s.gradient.opacityTo;if(s.gradient.gradientToColors===void 0||s.gradient.gradientToColors.length===0)n=s.gradient.shade==="dark"?d.shadeColor(-1*parseFloat(s.gradient.shadeIntensity),t.indexOf("rgb")>-1?P.rgb2hex(t):t):d.shadeColor(parseFloat(s.gradient.shadeIntensity),t.indexOf("rgb")>-1?P.rgb2hex(t):t);else if(s.gradient.gradientToColors[o.seriesNumber]){var f=s.gradient.gradientToColors[o.seriesNumber];n=f,f.indexOf("rgba")>-1&&(x=P.getOpacityFromRGBA(f))}else n=t;if(s.gradient.gradientFrom&&(g=s.gradient.gradientFrom),s.gradient.gradientTo&&(n=s.gradient.gradientTo),s.gradient.inverseColors){var m=g;g=n,n=m}return g.indexOf("rgb")>-1&&(g=P.rgb2hex(g)),n.indexOf("rgb")>-1&&(n=P.rgb2hex(n)),h.drawGradient(c,g,n,p,x,o.size,s.gradient.stops,s.gradient.colorStops,r)}}]),y}(),ue=function(){function y(e,t){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{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&&arguments[4]!==void 0&&arguments[4],n=this.w,o=t,h=e,d=null,c=new X(this.ctx),g=n.config.markers.discrete&&n.config.markers.discrete.length;if((n.globals.markers.size[t]>0||s||g)&&(d=c.group({class:s||g?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(n.globals.cuid,")")),Array.isArray(h.x))for(var p=0;p0:n.config.markers.size>0)||s||g){P.isNumber(h.y[p])?f+=" w".concat(P.randomId()):f="apexcharts-nullpoint";var m=this.getMarkerConfig({cssClass:f,seriesIndex:t,dataPointIndex:x});n.config.series[o].data[x]&&(n.config.series[o].data[x].fillColor&&(m.pointFillColor=n.config.series[o].data[x].fillColor),n.config.series[o].data[x].strokeColor&&(m.pointStrokeColor=n.config.series[o].data[x].strokeColor)),a!==void 0&&(m.pSize=a),(h.x[p]<-n.globals.markers.largestSize||h.x[p]>n.globals.gridWidth+n.globals.markers.largestSize||h.y[p]<-n.globals.markers.largestSize||h.y[p]>n.globals.gridHeight+n.globals.markers.largestSize)&&(m.pSize=0),(r=c.drawMarker(h.x[p],h.y[p],m)).attr("rel",x),r.attr("j",x),r.attr("index",t),r.node.setAttribute("default-marker-size",m.pSize),new ee(this.ctx).setSelectionFilter(r,t,x),this.addEvents(r),d&&d.add(r)}else n.globals.pointsArray[t]===void 0&&(n.globals.pointsArray[t]=[]),n.globals.pointsArray[t].push([h.x[p],h.y[p]])}return d}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,i=e.seriesIndex,a=e.dataPointIndex,r=a===void 0?null:a,s=e.radius,n=s===void 0?null:s,o=e.size,h=o===void 0?null:o,d=e.strokeWidth,c=d===void 0?null:d,g=this.w,p=this.getMarkerStyle(i),x=h===null?g.globals.markers.size[i]:h,f=g.config.markers;return r!==null&&f.discrete.length&&f.discrete.map(function(m){m.seriesIndex===i&&m.dataPointIndex===r&&(p.pointStrokeColor=m.strokeColor,p.pointFillColor=m.fillColor,x=m.size,p.pointShape=m.shape)}),{pSize:n===null?x:n,pRadius:n!==null?n:f.radius,pointStrokeWidth:c!==null?c:Array.isArray(f.strokeWidth)?f.strokeWidth[i]:f.strokeWidth,pointStrokeColor:p.pointStrokeColor,pointFillColor:p.pointFillColor,shape:p.pointShape||(Array.isArray(f.shape)?f.shape[i]:f.shape),class:t,pointStrokeOpacity:Array.isArray(f.strokeOpacity)?f.strokeOpacity[i]:f.strokeOpacity,pointStrokeDashArray:Array.isArray(f.strokeDashArray)?f.strokeDashArray[i]:f.strokeDashArray,pointFillOpacity:Array.isArray(f.fillOpacity)?f.fillOpacity[i]:f.fillOpacity,seriesIndex:i}}},{key:"addEvents",value:function(e){var t=this.w,i=new X(this.ctx);e.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",i.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",i.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,i=t.globals.markers.colors,a=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(a)?a[e]:a,pointFillColor:Array.isArray(i)?i[e]:i}}}]),y}(),Ke=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled}return F(y,[{key:"draw",value:function(e,t,i){var a=this.w,r=new X(this.ctx),s=i.realIndex,n=i.pointsPos,o=i.zRatio,h=i.elParent,d=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(a.config.chart.type)});if(d.attr("clip-path","url(#gridRectMarkerMask".concat(a.globals.cuid,")")),Array.isArray(n.x))for(var c=0;cf.maxBubbleRadius&&(x=f.maxBubbleRadius)}var m=n.x[c],v=n.y[c];if(x=x||0,v!==null&&a.globals.series[s][g]!==void 0||(p=!1),p){var w=this.drawPoint(m,v,x,s,g,t);d.add(w)}h.add(d)}}},{key:"drawPoint",value:function(e,t,i,a,r,s){var n=this.w,o=a,h=new ge(this.ctx),d=new ee(this.ctx),c=new ne(this.ctx),g=new ue(this.ctx),p=new X(this.ctx),x=g.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:o,dataPointIndex:r,radius:n.config.chart.type==="bubble"||n.globals.comboCharts&&n.config.series[a]&&n.config.series[a].type==="bubble"?i:null}),f=c.fillPath({seriesNumber:a,dataPointIndex:r,color:x.pointFillColor,patternUnits:"objectBoundingBox",value:n.globals.series[a][s]}),m=p.drawMarker(e,t,x);if(n.config.series[o].data[r]&&n.config.series[o].data[r].fillColor&&(f=n.config.series[o].data[r].fillColor),m.attr({fill:f}),n.config.chart.dropShadow.enabled){var v=n.config.chart.dropShadow;d.dropShadow(m,v,a)}if(!this.initialAnim||n.globals.dataChanged||n.globals.resized)n.globals.animationEnded=!0;else{var w=n.config.chart.animations.speed;h.animateMarker(m,w,n.globals.easing,function(){window.setTimeout(function(){h.animationCompleted(m)},100)})}return m.attr({rel:r,j:r,index:a,"default-marker-size":x.pSize}),d.setSelectionFilter(m,a,r),g.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),y}(),pe=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"dataLabelsCorrection",value:function(e,t,i,a,r,s,n){var o=this.w,h=!1,d=new X(this.ctx).getTextRects(i,n),c=d.width,g=d.height;t<0&&(t=0),t>o.globals.gridHeight+g&&(t=o.globals.gridHeight+g/2),o.globals.dataLabelsRects[a]===void 0&&(o.globals.dataLabelsRects[a]=[]),o.globals.dataLabelsRects[a].push({x:e,y:t,width:c,height:g});var p=o.globals.dataLabelsRects[a].length-2,x=o.globals.lastDrawnDataLabelsIndexes[a]!==void 0?o.globals.lastDrawnDataLabelsIndexes[a][o.globals.lastDrawnDataLabelsIndexes[a].length-1]:0;if(o.globals.dataLabelsRects[a][p]!==void 0){var f=o.globals.dataLabelsRects[a][x];(e>f.x+f.width||t>f.y+f.height||t+gt.globals.gridWidth+w.textRects.width+30)&&(o="");var l=t.globals.dataLabels.style.colors[s];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(l=t.globals.dataLabels.style.colors[n]),typeof l=="function"&&(l=l({series:t.globals.series,seriesIndex:s,dataPointIndex:n,w:t})),p&&(l=p);var u=g.offsetX,b=g.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(u=0,b=0),t.globals.isSlopeChart&&(n!==0&&(u=-2*g.offsetX+5),n!==0&&n!==t.config.series[s].data.length-1&&(u=0)),w.drawnextLabel){if((v=i.drawText({width:100,height:parseInt(g.style.fontSize,10),x:a+u,y:r+b,foreColor:l,textAnchor:h||g.textAnchor,text:o,fontSize:d||g.style.fontSize,fontFamily:g.style.fontFamily,fontWeight:g.style.fontWeight||"normal"})).attr({class:m||"apexcharts-datalabel",cx:a,cy:r}),g.dropShadow.enabled){var A=g.dropShadow;new ee(this.ctx).dropShadow(v,A)}c.add(v),t.globals.lastDrawnDataLabelsIndexes[s]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[s]=[]),t.globals.lastDrawnDataLabelsIndexes[s].push(n)}return v}},{key:"addBackgroundToDataLabel",value:function(e,t){var i=this.w,a=i.config.dataLabels.background,r=a.padding,s=a.padding/2,n=t.width,o=t.height,h=new X(this.ctx).drawRect(t.x-r,t.y-s/2,n+2*r,o+s,a.borderRadius,i.config.chart.background!=="transparent"&&i.config.chart.background?i.config.chart.background:"#fff",a.opacity,a.borderWidth,a.borderColor);return a.dropShadow.enabled&&new ee(this.ctx).dropShadow(h,a.dropShadow),h}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),i=0;i0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w,r=P.clone(a.globals.initialSeries);a.globals.previousPaths=[],i?(a.globals.collapsedSeries=[],a.globals.ancillaryCollapsedSeries=[],a.globals.collapsedSeriesIndices=[],a.globals.ancillaryCollapsedSeriesIndices=[]):r=this.emptyCollapsedSeries(r),a.config.series=r,e&&(t&&(a.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(r,a.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,i=0;i-1&&(e[i].data=[]);return e}},{key:"highlightSeries",value:function(e){var t=this.w,i=this.getSeriesByName(e),a=parseInt(i==null?void 0:i.getAttribute("data:realIndex"),10),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis"),s=null,n=null,o=null;if(t.globals.axisCharts||t.config.chart.type==="radialBar")if(t.globals.axisCharts){s=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(a,"']")),n=t.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(a,"']"));var h=t.globals.seriesYAxisReverseMap[a];o=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(h,"']"))}else s=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(a+1,"']"));else s=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(a+1,"'] path"));for(var d=0;d=h.from&&(g0&&arguments[0]!==void 0?arguments[0]:"asc",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=this.w,a=0;if(i.config.series.length>1){for(var r=i.config.series.map(function(n,o){return n.data&&n.data.length>0&&i.globals.collapsedSeriesIndices.indexOf(o)===-1&&(!i.globals.comboCharts||t.length===0||t.length&&t.indexOf(i.config.series[o].type)>-1)?o:-1}),s=e==="asc"?0:r.length-1;e==="asc"?s=0;e==="asc"?s++:s--)if(r[s]!==-1){a=r[s];break}}return a}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map(function(e,t){return e.type==="bar"||e.type==="column"?t:-1}).filter(function(e){return e!==-1}):this.w.config.series.map(function(e,t){return t})}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(s,n,o){for(var h=s[n].childNodes,d={type:o,paths:[],realIndex:s[n].getAttribute("data:realIndex")},c=0;c0)for(var a=function(s){for(var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(s,"'] rect")),o=[],h=function(c){var g=function(x){return n[c].getAttribute(x)},p={x:parseFloat(g("x")),y:parseFloat(g("y")),width:parseFloat(g("width")),height:parseFloat(g("height"))};o.push({rect:p,color:n[c].getAttribute("color")})},d=0;d0)for(var a=0;a0?t:[]});return e}}]),y}(),Re=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new $(this.ctx)}return F(y,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new re(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].x!==void 0&&e[this.activeSeriesIndex].data[0]!==null)return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new re(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),e[this.activeSeriesIndex].data!==void 0&&e[this.activeSeriesIndex].data.length>0&&e[this.activeSeriesIndex].data[0]!==void 0&&e[this.activeSeriesIndex].data[0]!==null&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var i=this.w.config,a=this.w.globals,r=i.chart.type==="boxPlot"||i.series[t].type==="boxPlot",s=0;s=5?this.twoDSeries.push(P.parseNumber(e[t].data[s][4])):this.twoDSeries.push(P.parseNumber(e[t].data[s][1])),a.dataFormatXNumeric=!0),i.xaxis.type==="datetime"){var n=new Date(e[t].data[s][0]);n=new Date(n).getTime(),this.twoDSeriesX.push(n)}else this.twoDSeriesX.push(e[t].data[s][0]);for(var o=0;o-1&&(s=this.activeSeriesIndex);for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:this.ctx,a=this.w.config,r=this.w.globals,s=new K(i),n=a.labels.length>0?a.labels.slice():a.xaxis.categories.slice();r.isRangeBar=a.chart.type==="rangeBar"&&r.isBarHorizontal,r.hasXaxisGroups=a.xaxis.type==="category"&&a.xaxis.group.groups.length>0,r.hasXaxisGroups&&(r.groups=a.xaxis.group.groups),e.forEach(function(p,x){p.name!==void 0?r.seriesNames.push(p.name):r.seriesNames.push("series-"+parseInt(x+1,10))}),this.coreUtils.setSeriesYAxisMappings();var o=[],h=J(new Set(a.series.map(function(p){return p.group})));a.series.forEach(function(p,x){var f=h.indexOf(p.group);o[f]||(o[f]=[]),o[f].push(r.seriesNames[x])}),r.seriesGroups=o;for(var d=function(){for(var p=0;p0&&(this.twoDSeriesX=n,r.seriesX.push(this.twoDSeriesX))),r.labels.push(this.twoDSeriesX);var g=e[c].data.map(function(p){return P.parseNumber(p)});r.series.push(g)}r.seriesZ.push(this.threeDSeries),e[c].color!==void 0?r.seriesColors.push(e[c].color):r.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,i=this.w.config;t.series=e.slice(),t.seriesNames=i.labels.slice();for(var a=0;a0?i.labels=t.xaxis.categories:t.labels.length>0?i.labels=t.labels.slice():this.fallbackToCategory?(i.labels=i.labels[0],i.seriesRange.length&&(i.seriesRange.map(function(a){a.forEach(function(r){i.labels.indexOf(r.x)<0&&r.x&&i.labels.push(r.x)})}),i.labels=Array.from(new Set(i.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new ve(t).convertCatToNumericXaxis(t,this.ctx,i.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,i=this.w.config,a=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var r=i.series.map(function(c,g){return c.data.filter(function(p,x,f){return f.findIndex(function(m){return m.x===p.x})===x})}),s=r.reduce(function(c,g,p,x){return x[c].length>g.length?c:p},0),n=0;n0&&r==i.length&&t.push(a)}),e.globals.ignoreYAxisIndexes=t.map(function(i){return i})}}]),y}(),Pe=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"scaleSvgNode",value:function(e,t){var i=parseFloat(e.getAttributeNS(null,"width")),a=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",i*t),e.setAttributeNS(null,"height",a*t),e.setAttributeNS(null,"viewBox","0 0 "+i+" "+a)}},{key:"getSvgString",value:function(){var e=this;return new Promise(function(t){var i=e.w,a=i.config.chart.toolbar.export.width,r=i.config.chart.toolbar.export.scale||a/i.globals.svgWidth;r||(r=1);var s=e.w.globals.dom.Paper.svg(),n=e.w.globals.dom.Paper.node.cloneNode(!0);r!==1&&e.scaleSvgNode(n,r),e.convertImagesToBase64(n).then(function(){s=new XMLSerializer().serializeToString(n),t(s.replace(/ /g," "))})})}},{key:"convertImagesToBase64",value:function(e){var t=this,i=e.getElementsByTagName("image"),a=Array.from(i).map(function(r){var s=r.getAttributeNS("http://www.w3.org/1999/xlink","href");return s&&!s.startsWith("data:")?t.getBase64FromUrl(s).then(function(n){r.setAttributeNS("http://www.w3.org/1999/xlink","href",n)}).catch(function(n){console.error("Error converting image to base64:",n)}):Promise.resolve()});return Promise.all(a)}},{key:"getBase64FromUrl",value:function(e){return new Promise(function(t,i){var a=new Image;a.crossOrigin="Anonymous",a.onload=function(){var r=document.createElement("canvas");r.width=a.width,r.height=a.height,r.getContext("2d").drawImage(a,0,0),t(r.toDataURL())},a.onerror=i,a.src=e})}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),i=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(a,function(r){r.setAttribute("width",0)}),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),i&&i[0]&&(i[0].setAttribute("y",-100),i[0].setAttribute("y1",-100),i[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){var e=this;return new Promise(function(t){e.cleanup(),e.getSvgString().then(function(i){var a=new Blob([i],{type:"image/svg+xml;charset=utf-8"});t(URL.createObjectURL(a))})})}},{key:"dataURI",value:function(e){var t=this;return new Promise(function(i){var a=t.w,r=e?e.scale||e.width/a.globals.svgWidth:1;t.cleanup();var s=document.createElement("canvas");s.width=a.globals.svgWidth*r,s.height=parseInt(a.globals.dom.elWrap.style.height,10)*r;var n=a.config.chart.background!=="transparent"&&a.config.chart.background?a.config.chart.background:"#fff",o=s.getContext("2d");o.fillStyle=n,o.fillRect(0,0,s.width*r,s.height*r),t.getSvgString().then(function(h){var d="data:image/svg+xml,"+encodeURIComponent(h),c=new Image;c.crossOrigin="anonymous",c.onload=function(){if(o.drawImage(c,0,0),s.msToBlob){var g=s.msToBlob();i({blob:g})}else{var p=s.toDataURL("image/png");i({imgURI:p})}},c.src=d})})}},{key:"exportToSVG",value:function(){var e=this;this.svgUrl().then(function(t){e.triggerDownload(t,e.w.config.chart.toolbar.export.svg.filename,".svg")})}},{key:"exportToPng",value:function(){var e=this,t=this.w.config.chart.toolbar.export.scale,i=this.w.config.chart.toolbar.export.width,a=t?{scale:t}:i?{width:i}:void 0;this.dataURI(a).then(function(r){var s=r.imgURI,n=r.blob;n?navigator.msSaveOrOpenBlob(n,e.w.globals.chartID+".png"):e.triggerDownload(s,e.w.config.chart.toolbar.export.png.filename,".png")})}},{key:"exportToCSV",value:function(e){var t=this,i=e.series,a=e.fileName,r=e.columnDelimiter,s=r===void 0?",":r,n=e.lineDelimiter,o=n===void 0?` -`:n,h=this.w;i||(i=h.config.series);var d,c,g=[],p=[],x="",f=h.globals.series.map(function(k,S){return h.globals.collapsedSeriesIndices.indexOf(S)===-1?k:[]}),m=function(k){return typeof h.config.chart.toolbar.export.csv.categoryFormatter=="function"?h.config.chart.toolbar.export.csv.categoryFormatter(k):h.config.xaxis.type==="datetime"&&String(k).length>=10?new Date(k).toDateString():P.isNumber(k)?k:k.split(s).join("")},v=function(k){return typeof h.config.chart.toolbar.export.csv.valueFormatter=="function"?h.config.chart.toolbar.export.csv.valueFormatter(k):k},w=Math.max.apply(Math,J(i.map(function(k){return k.data?k.data.length:0}))),l=new Re(this.ctx),u=new he(this.ctx),b=function(k){var S="";if(h.globals.axisCharts){if(h.config.xaxis.type==="category"||h.config.xaxis.convertedCatToNumeric)if(h.globals.isBarHorizontal){var C=h.globals.yLabelFormatters[0],L=new re(t.ctx).getActiveConfigSeriesIndex();S=C(h.globals.labels[k],{seriesIndex:L,dataPointIndex:k,w:h})}else S=u.getLabel(h.globals.labels,h.globals.timescaleLabels,0,k).text;h.config.xaxis.type==="datetime"&&(h.config.xaxis.categories.length?S=h.config.xaxis.categories[k]:h.config.labels.length&&(S=h.config.labels[k]))}else S=h.config.labels[k];return S===null?"nullvalue":(Array.isArray(S)&&(S=S.join(" ")),P.isNumber(S)?S:S.split(s).join(""))},A=function(k,S){if(g.length&&S===0&&p.push(g.join(s)),k.data){k.data=k.data.length&&k.data||J(Array(w)).map(function(){return""});for(var C=0;C0&&!i.globals.isBarHorizontal&&(this.xaxisLabels=i.globals.timescaleLabels.slice()),i.config.xaxis.overwriteCategories&&(this.xaxisLabels=i.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],i.config.xaxis.position==="top"?this.offY=0:this.offY=i.globals.gridHeight,this.offY=this.offY+i.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=i.config.chart.type==="bar"&&i.config.plotOptions.bar.horizontal,this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.xaxisBorderWidth=i.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=i.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=i.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=i.config.xaxis.axisBorder.height,this.yaxis=i.config.yaxis[0]}return F(y,[{key:"drawXaxis",value:function(){var e=this.w,t=new X(this.ctx),i=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),a=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});i.add(a);for(var r=[],s=0;s6&&arguments[6]!==void 0?arguments[6]:{},d=[],c=[],g=this.w,p=h.xaxisFontSize||this.xaxisFontSize,x=h.xaxisFontFamily||this.xaxisFontFamily,f=h.xaxisForeColors||this.xaxisForeColors,m=h.fontWeight||g.config.xaxis.labels.style.fontWeight,v=h.cssClass||g.config.xaxis.labels.style.cssClass,w=g.globals.padHorizontal,l=a.length,u=g.config.xaxis.type==="category"?g.globals.dataPoints:l;if(u===0&&l>u&&(u=l),r){var b=u>1?u-1:u;n=g.globals.gridWidth/Math.min(b,l-1),w=w+s(0,n)/2+g.config.xaxis.labels.offsetX}else n=g.globals.gridWidth/u,w=w+s(0,n)+g.config.xaxis.labels.offsetX;for(var A=function(S){var C=w-s(S,n)/2+g.config.xaxis.labels.offsetX;S===0&&l===1&&n/2===w&&u===1&&(C=g.globals.gridWidth/2);var L=o.axesUtils.getLabel(a,g.globals.timescaleLabels,C,S,d,p,e),M=28;if(g.globals.rotateXLabels&&e&&(M=22),g.config.xaxis.title.text&&g.config.xaxis.position==="top"&&(M+=parseFloat(g.config.xaxis.title.style.fontSize)+2),e||(M=M+parseFloat(p)+(g.globals.xAxisLabelsHeight-g.globals.xAxisGroupLabelsHeight)+(g.globals.rotateXLabels?10:0)),L=g.config.xaxis.tickAmount!==void 0&&g.config.xaxis.tickAmount!=="dataPoints"&&g.config.xaxis.type!=="datetime"?o.axesUtils.checkLabelBasedOnTickamount(S,L,l):o.axesUtils.checkForOverflowingLabels(S,L,l,d,c),g.config.xaxis.labels.show){var T=t.drawText({x:L.x,y:o.offY+g.config.xaxis.labels.offsetY+M-(g.config.xaxis.position==="top"?g.globals.xAxisHeight+g.config.xaxis.axisTicks.height-2:0),text:L.text,textAnchor:"middle",fontWeight:L.isBold?600:m,fontSize:p,fontFamily:x,foreColor:Array.isArray(f)?e&&g.config.xaxis.convertedCatToNumeric?f[g.globals.minX+S-1]:f[S]:f,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+v});if(i.add(T),T.on("click",function(z){if(typeof g.config.chart.events.xAxisLabelClick=="function"){var Y=Object.assign({},g,{labelIndex:S});g.config.chart.events.xAxisLabelClick(z,o.ctx,Y)}}),e){var I=document.createElementNS(g.globals.SVGNS,"title");I.textContent=Array.isArray(L.text)?L.text.join(" "):L.text,T.node.appendChild(I),L.text!==""&&(d.push(L.text),c.push(L))}}Sa.globals.gridWidth)){var s=this.offY+a.config.xaxis.axisTicks.offsetY;if(t=t+s+a.config.xaxis.axisTicks.height,a.config.xaxis.position==="top"&&(t=s-a.config.xaxis.axisTicks.height),a.config.xaxis.axisTicks.show){var n=new X(this.ctx).drawLine(e+a.config.xaxis.axisTicks.offsetX,s+a.config.xaxis.offsetY,r+a.config.xaxis.axisTicks.offsetX,t+a.config.xaxis.offsetY,a.config.xaxis.axisTicks.color);i.add(n),n.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],i=this.xaxisLabels.length,a=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r0){var d=r[r.length-1].getBBox(),c=r[0].getBBox();d.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),c.x+c.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var g=0;g0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return F(y,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,i=new X(this.ctx);e||(e=i.group({class:"apexcharts-grid"}));var a=i.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=i.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(a),e}},{key:"drawGrid",value:function(){if(this.w.globals.axisCharts){var e=this.renderGrid();return this.drawGridArea(e.el),e}return null}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,i=new X(this.ctx),a=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,J(e.config.stroke.width)):e.config.stroke.width,r=function(d){var c=document.createElementNS(t.SVGNS,"clipPath");return c.setAttribute("id",d),c};t.dom.elGridRectMask=r("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=r("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=r("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=r("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=r("nonForecastMask".concat(t.cuid));var s=0,n=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(s=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),n=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=i.drawRect(0,0,t.gridWidth,t.gridHeight,0,"#fff"),t.dom.elGridRectBar=i.drawRect(-a/2-s-2,-a/2-2,t.gridWidth+a+n+s+4,t.gridHeight+a+4,0,"#fff");var o=e.globals.markers.largestSize;t.dom.elGridRectMarker=i.drawRect(-o,-o,t.gridWidth+2*o,t.gridHeight+2*o,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectBarMask.appendChild(t.dom.elGridRectBar.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var h=t.dom.baseEl.querySelector("defs");h.appendChild(t.dom.elGridRectMask),h.appendChild(t.dom.elGridRectBarMask),h.appendChild(t.dom.elGridRectMarkerMask),h.appendChild(t.dom.elForecastMask),h.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,i=e.x1,a=e.y1,r=e.x2,s=e.y2,n=e.xCount,o=e.parent,h=this.w;if(!(t===0&&h.globals.skipFirstTimelinelabel||t===n-1&&h.globals.skipLastTimelinelabel&&!h.config.xaxis.labels.formatter||h.config.chart.type==="radar")){h.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:i,y1:a,x2:r,y2:s,xCount:n,parent:o});var d=0;if(h.globals.hasXaxisGroups&&h.config.xaxis.tickPlacement==="between"){var c=h.globals.groups;if(c){for(var g=0,p=0;g0&&e.config.xaxis.type!=="datetime"&&(r=t.yAxisScale[a].result.length-1)),this._drawXYLines({xCount:r,tickAmount:s})}else r=s,s=t.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:s});return this.drawGridBands(r,s),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var i,a,r=this,s=this.w;if(((i=s.config.grid.row.colors)===null||i===void 0?void 0:i.length)>0&&function(x,f,m,v,w,l){for(var u=0,b=0;u=s.config.grid[x].colors.length&&(b=0),r._drawGridBandRect({c:b,x1:m,y1:v,x2:w,y2:l,type:x}),v+=s.globals.gridHeight/t}("row",t,0,0,s.globals.gridWidth,s.globals.gridHeight/t),((a=s.config.grid.column.colors)===null||a===void 0?void 0:a.length)>0){var n=s.globals.isBarHorizontal||s.config.xaxis.tickPlacement!=="on"||s.config.xaxis.type!=="category"&&!s.config.xaxis.convertedCatToNumeric?e:e-1;s.globals.isXNumeric&&(n=s.globals.xAxisScale.result.length-1);for(var o=s.globals.padHorizontal,h=s.globals.padHorizontal+s.globals.gridWidth/n,d=s.globals.gridHeight,c=0,g=0;c=s.config.grid.column.colors.length&&(g=0),s.config.xaxis.type==="datetime"&&(o=this.xaxisLabels[c].position,h=(((p=this.xaxisLabels[c+1])===null||p===void 0?void 0:p.position)||s.globals.gridWidth)-this.xaxisLabels[c].position),this._drawGridBandRect({c:g,x1:o,y1:0,x2:h,y2:d,type:"column"}),o+=s.globals.gridWidth/n}}}}]),y}(),tt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.coreUtils=new $(this.ctx)}return F(y,[{key:"niceScale",value:function(e,t){var i,a,r,s,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=1e-11,h=this.w,d=h.globals;d.isBarHorizontal?(i=h.config.xaxis,a=Math.max((d.svgWidth-100)/25,2)):(i=h.config.yaxis[n],a=Math.max((d.svgHeight-100)/15,2)),P.isNumber(a)||(a=10),r=i.min!==void 0&&i.min!==null,s=i.max!==void 0&&i.min!==null;var c=i.stepSize!==void 0&&i.stepSize!==null,g=i.tickAmount!==void 0&&i.tickAmount!==null,p=g?i.tickAmount:d.niceScaleDefaultTicks[Math.min(Math.round(a/2),d.niceScaleDefaultTicks.length-1)];if(d.isMultipleYAxis&&!g&&d.multiAxisTickAmount>0&&(p=d.multiAxisTickAmount,g=!0),p=p==="dataPoints"?d.dataPoints-1:Math.abs(Math.round(p)),(e===Number.MIN_VALUE&&t===0||!P.isNumber(e)&&!P.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=P.isNumber(i.min)?i.min:0,t=P.isNumber(i.max)?i.max:e+p,d.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var x=t;t=e,e=x}else e===t&&(e=e===0?0:e-1,t=t===0?2:t+1);var f=[];p<1&&(p=1);var m=p,v=Math.abs(t-e);!r&&e>0&&e/v<.15&&(e=0,r=!0),!s&&t<0&&-t/v<.15&&(t=0,s=!0);var w=(v=Math.abs(t-e))/m,l=w,u=Math.floor(Math.log10(l)),b=Math.pow(10,u),A=Math.ceil(l/b);if(w=l=(A=d.niceScaleAllowedMagMsd[d.yValueDecimal===0?0:1][A])*b,d.isBarHorizontal&&i.stepSize&&i.type!=="datetime"?(w=i.stepSize,c=!0):c&&(w=i.stepSize),c&&i.forceNiceScale){var k=Math.floor(Math.log10(w));w*=Math.pow(10,u-k)}if(r&&s){var S=v/m;if(g)if(c)if(P.mod(v,w)!=0){var C=P.getGCD(w,S);w=S/C<10?C:S}else P.mod(w,S)==0?w=S:(S=w,g=!1);else w=S;else if(c)P.mod(v,w)==0?S=w:w=S;else if(P.mod(v,w)==0)S=w;else{S=v/(m=Math.ceil(v/w));var L=P.getGCD(v,w);v/La&&(e=t-w*p,e+=w*Math.floor((M-e)/w))}else if(r)if(g)t=e+w*m;else{var T=t;t=w*Math.ceil(t/w),Math.abs(t-e)/P.getGCD(v,w)>a&&(t=e+w*p,t+=w*Math.ceil((T-t)/w))}}else if(d.isMultipleYAxis&&g){var I=w*Math.floor(e/w),z=I+w*m;z0&&e16&&P.getPrimeFactors(m).length<2&&m++,!g&&i.forceNiceScale&&d.yValueDecimal===0&&m>v&&(m=v,w=Math.round(v/m)),m>a&&(!g&&!c||i.forceNiceScale)){var Y=P.getPrimeFactors(m),D=Y.length-1,H=m;e:for(var O=0;Ose);return{result:f,niceMin:f[0],niceMax:f[f.length-1]}}},{key:"linearScale",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,s=Math.abs(t-e),n=[];if(e===t)return{result:n=[e],niceMin:n[0],niceMax:n[n.length-1]};(i=this._adjustTicksForSmallRange(i,a,s))==="dataPoints"&&(i=this.w.globals.dataPoints-1),r||(r=s/i),r=Math.round(10*(r+Number.EPSILON))/10,i===Number.MAX_VALUE&&(i=5,r=1);for(var o=e;i>=0;)n.push(o),o=P.preciseAddition(o,r),i-=1;return{result:n,niceMin:n[0],niceMax:n[n.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,i){t<=0&&(t=Math.max(e,i)),e<=0&&(e=Math.min(t,i));for(var a=[],r=Math.ceil(Math.log(t)/Math.log(i)+1),s=Math.floor(Math.log(e)/Math.log(i));s5?(a.allSeriesCollapsed=!1,a.yAxisScale[e]=s.forceNiceScale?this.logarithmicScaleNice(t,i,s.logBase):this.logarithmicScale(t,i,s.logBase)):i!==-Number.MAX_VALUE&&P.isNumber(i)&&t!==Number.MAX_VALUE&&P.isNumber(t)?(a.allSeriesCollapsed=!1,a.yAxisScale[e]=this.niceScale(t,i,e)):a.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var i=this.w,a=i.globals,r=Math.abs(t-e);if(t!==-Number.MAX_VALUE&&P.isNumber(t)){var s=a.xTickAmount+1;r<10&&r>1&&(s=r),a.xAxisScale=this.linearScale(e,t,s,0,i.config.xaxis.stepSize)}else a.xAxisScale=this.linearScale(0,10,10);return a.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,i=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var a=i.seriesYAxisMap,r=i.minYArr,s=i.maxYArr;i.allSeriesCollapsed=!0,i.barGroups=[],a.forEach(function(n,o){var h=[];n.forEach(function(d){var c=t.series[d].group;h.indexOf(c)<0&&h.push(c)}),n.length>0?function(){var d,c,g=Number.MAX_VALUE,p=-Number.MAX_VALUE,x=g,f=p;if(t.chart.stacked)(function(){var w=new Array(i.dataPoints).fill(0),l=[],u=[],b=[];h.forEach(function(){l.push(w.map(function(){return Number.MIN_VALUE})),u.push(w.map(function(){return Number.MIN_VALUE})),b.push(w.map(function(){return Number.MIN_VALUE}))});for(var A=function(S){!d&&t.series[n[S]].type&&(d=t.series[n[S]].type);var C=n[S];c=t.series[C].group?t.series[C].group:"axis-".concat(o),!(i.collapsedSeriesIndices.indexOf(C)<0&&i.ancillaryCollapsedSeriesIndices.indexOf(C)<0)||(i.allSeriesCollapsed=!1,h.forEach(function(L,M){if(t.series[C].group===L)for(var T=0;T=0?u[M][T]+=I:b[M][T]+=I,l[M][T]+=I,x=Math.min(x,I),f=Math.max(f,I)}})),d!=="bar"&&d!=="column"||i.barGroups.push(c)},k=0;k1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w.config,s=this.w.globals,n=-Number.MAX_VALUE,o=Number.MIN_VALUE;a===null&&(a=e+1);var h=s.series,d=h,c=h;r.chart.type==="candlestick"?(d=s.seriesCandleL,c=s.seriesCandleH):r.chart.type==="boxPlot"?(d=s.seriesCandleO,c=s.seriesCandleC):s.isRangeData&&(d=s.seriesRangeStart,c=s.seriesRangeEnd);var g=!1;if(s.seriesX.length>=a){var p,x=(p=s.brushSource)===null||p===void 0?void 0:p.w.config.chart.brush;(r.chart.zoom.enabled&&r.chart.zoom.autoScaleYaxis||x!=null&&x.enabled&&x!=null&&x.autoScaleYaxis)&&(g=!0)}for(var f=e;fv&&s.seriesX[f][w]>r.xaxis.max;w--);}for(var l=v;l<=w&&ld[f][l]&&d[f][l]<0&&(o=d[f][l])}else s.hasNullValues=!0}m!=="bar"&&m!=="column"||(o<0&&n<0&&(n=0,i=Math.max(i,0)),o===Number.MIN_VALUE&&(o=0,t=Math.min(t,0)))}return r.chart.type==="rangeBar"&&s.seriesRangeStart.length&&s.isBarHorizontal&&(o=t),r.chart.type==="bar"&&(o<0&&n<0&&(n=0),o===Number.MIN_VALUE&&(o=0)),{minY:o,maxY:n,lowestY:t,highestY:i}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var i,a=Number.MAX_VALUE;if(e.isMultipleYAxis){a=Number.MAX_VALUE;for(var r=0;re.dataPoints&&e.dataPoints!==0&&(a=e.dataPoints-1);else if(t.xaxis.tickAmount==="dataPoints"){if(e.series.length>1&&(a=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var r=e.maxX-e.minX;r<30&&(a=r-1)}}else a=t.xaxis.tickAmount;if(e.xTickAmount=a,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(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 s=[],n=e.minX-1;n0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,a-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());i&&(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 n=r-a[s-1];n>0&&(e.minXDiff=Math.min(n,e.minXDiff))}}),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)})}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var i=t.seriesGroups;i.length||(i=[this.w.globals.seriesNames.map(function(s){return s})]);var a={},r={};i.forEach(function(s){a[s]=[],r[s]=[],e.w.config.series.map(function(n,o){return s.indexOf(t.seriesNames[o])>-1?o:null}).filter(function(n){return n!==null}).forEach(function(n){for(var o=0;o0?a[s][o]+=parseFloat(t.series[n][o])+1e-4:r[s][o]+=parseFloat(t.series[n][o]))}})}),Object.entries(a).forEach(function(s){var n=Ze(s,1)[0];a[n].forEach(function(o,h){t.maxY=Math.max(t.maxY,a[n][h]),t.minY=Math.min(t.minY,r[n][h])})})}}}]),y}(),De=function(){function y(e,t){R(this,y),this.ctx=e,this.elgrid=t,this.w=e.w;var i=this.w;this.xaxisFontSize=i.config.xaxis.labels.style.fontSize,this.axisFontFamily=i.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=i.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=i.config.chart.type==="bar"&&i.config.plotOptions.bar.horizontal,this.xAxisoffX=i.config.xaxis.position==="bottom"?i.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new he(e)}return F(y,[{key:"drawYaxis",value:function(e){var t=this.w,i=new X(this.ctx),a=t.config.yaxis[e].labels.style,r=a.fontSize,s=a.fontFamily,n=a.fontWeight,o=i.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return o;var h=i.group({class:"apexcharts-yaxis-texts-g"});o.add(h);var d=t.globals.yAxisScale[e].result.length-1,c=t.globals.gridHeight/d,g=t.globals.yLabelFormatters[e],p=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var x=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?x=0:t.config.chart.type==="heatmap"&&(x-=c/2),x+=parseInt(r,10)/3;for(var f=d;f>=0;f--){var m=g(p[f],f,t),v=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&t.config.yaxis.length!==0&&(v*=-1);var w=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),l=this.axesUtils.getYAxisForeColor(a.colors,e),u=Array.isArray(l)?l[f]:l,b=P.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map(function(k){return k.textContent}),A=i.drawText({x:v,y:x,text:b.includes(m)&&!t.config.yaxis[e].labels.showDuplicates?"":m,textAnchor:w,fontSize:r,fontFamily:s,fontWeight:n,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:u,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(a.cssClass)});h.add(A),this.addTooltip(A,m),t.config.yaxis[e].labels.rotate!==0&&this.rotateLabel(i,A,firstLabel,t.config.yaxis[e].labels.rotate),x+=c}}return this.addYAxisTitle(i,o,e),this.addAxisBorder(i,o,e,d,c),o}},{key:"getTextAnchor",value:function(e,t){return e==="left"?"start":e==="center"?"middle":e==="right"?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var i=document.createElementNS(this.w.globals.SVGNS,"title");i.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(i)}},{key:"rotateLabel",value:function(e,t,i,a){var r=e.rotateAroundCenter(i.node),s=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(a," ").concat(r.x," ").concat(s.y,")"))}},{key:"addYAxisTitle",value:function(e,t,i){var a=this.w;if(a.config.yaxis[i].title.text!==void 0){var r=e.group({class:"apexcharts-yaxis-title"}),s=a.config.yaxis[i].opposite?a.globals.translateYAxisX[i]:0,n=e.drawText({x:s,y:a.globals.gridHeight/2+a.globals.translateY+a.config.yaxis[i].title.offsetY,text:a.config.yaxis[i].title.text,textAnchor:"end",foreColor:a.config.yaxis[i].title.style.color,fontSize:a.config.yaxis[i].title.style.fontSize,fontWeight:a.config.yaxis[i].title.style.fontWeight,fontFamily:a.config.yaxis[i].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(a.config.yaxis[i].title.style.cssClass)});r.add(n),t.add(r)}}},{key:"addAxisBorder",value:function(e,t,i,a,r){var s=this.w,n=s.config.yaxis[i].axisBorder,o=31+n.offsetX;if(s.config.yaxis[i].opposite&&(o=-31-n.offsetX),n.show){var h=e.drawLine(o,s.globals.translateY+n.offsetY-2,o,s.globals.gridHeight+s.globals.translateY+n.offsetY+2,n.color,0,n.width);t.add(h)}s.config.yaxis[i].axisTicks.show&&this.axesUtils.drawYAxisTicks(o,a,n,s.config.yaxis[i].axisTicks,i,r,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,i=new X(this.ctx),a=i.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});a.add(r);var s=t.globals.yAxisScale[e].result.length-1,n=t.globals.gridWidth/s+.1,o=n+t.config.xaxis.labels.offsetX,h=t.globals.xLabelFormatter,d=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),c=t.globals.timescaleLabels;if(c.length>0&&(this.xaxisLabels=c.slice(),s=(d=c.slice()).length),t.config.xaxis.labels.show)for(var g=c.length?0:s;c.length?g=0;c.length?g++:g--){var p=h(d[g],g,t),x=t.globals.gridWidth+t.globals.padHorizontal-(o-n+t.config.xaxis.labels.offsetX);if(c.length){var f=this.axesUtils.getLabel(d,c,x,g,this.drawnLabels,this.xaxisFontSize);x=f.x,p=f.text,this.drawnLabels.push(f.text),g===0&&t.globals.skipFirstTimelinelabel&&(p=""),g===d.length-1&&t.globals.skipLastTimelinelabel&&(p="")}var m=i.drawText({x,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?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 ".concat(t.config.xaxis.labels.style.cssClass)});r.add(m),m.tspan(p),this.addTooltip(m,p),o+=n}return this.inversedYAxisTitleText(a),this.inversedYAxisBorder(a),a}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,i=new X(this.ctx),a=t.config.xaxis.axisBorder;if(a.show){var r=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(r-=15);var s=i.drawLine(t.globals.padHorizontal+r+a.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,a.color,0,a.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(s):e.add(s)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,i=new X(this.ctx);if(t.config.xaxis.title.text!==void 0){var a=i.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=i.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 ".concat(t.config.xaxis.title.style.cssClass)});a.add(r),e.add(a)}}},{key:"yAxisTitleRotate",value:function(e,t){var i=this.w,a=new X(this.ctx),r=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),s=r?r.getBoundingClientRect():{width:0,height:0},n=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),o=n?n.getBoundingClientRect():{width:0,height:0};if(n){var h=this.xPaddingForYAxisTitle(e,s,o,t);n.setAttribute("x",h.xPos-(t?10:0));var d=a.rotateAroundCenter(n);n.setAttribute("transform","rotate(".concat(t?-1*i.config.yaxis[e].title.rotate:i.config.yaxis[e].title.rotate," ").concat(d.x," ").concat(d.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,i,a){var r=this.w,s=0,n=10;return r.config.yaxis[e].title.text===void 0||e<0?{xPos:s,padd:0}:(a?s=t.width+r.config.yaxis[e].title.offsetX+i.width/2+n/2:(s=-1*t.width+r.config.yaxis[e].title.offsetX+n/2+i.width/2,r.globals.isBarHorizontal&&(n=25,s=-1*t.width-r.config.yaxis[e].title.offsetX-n)),{xPos:s,padd:n})}},{key:"setYAxisXPosition",value:function(e,t){var i=this.w,a=0,r=0,s=18,n=1;i.config.yaxis.length>1&&(this.multipleYs=!0),i.config.yaxis.forEach(function(o,h){var d=i.globals.ignoreYAxisIndexes.includes(h)||!o.show||o.floating||e[h].width===0,c=e[h].width+t[h].width;o.opposite?i.globals.isBarHorizontal?(r=i.globals.gridWidth+i.globals.translateX-1,i.globals.translateYAxisX[h]=r-o.labels.offsetX):(r=i.globals.gridWidth+i.globals.translateX+n,d||(n+=c+20),i.globals.translateYAxisX[h]=r-o.labels.offsetX+20):(a=i.globals.translateX-s,d||(s+=c+20),i.globals.translateYAxisX[h]=a+o.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;P.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach(function(t,i){var a=e.config.yaxis[i];if(a&&!a.floating&&a.labels.align!==void 0){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-texts-g")),s=P.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-label"))),n=r.getBoundingClientRect();s.forEach(function(o){o.setAttribute("text-anchor",a.labels.align)}),a.labels.align!=="left"||a.opposite?a.labels.align==="center"?r.setAttribute("transform","translate(".concat(n.width/2*(a.opposite?1:-1),", 0)")):a.labels.align==="right"&&a.opposite&&r.setAttribute("transform","translate(".concat(n.width,", 0)")):r.setAttribute("transform","translate(-".concat(n.width,", 0)"))}})}}]),y}(),yt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.documentEvent=P.bind(this.documentEvent,this)}return F(y,[{key:"addEventListener",value:function(e,t){var i=this.w;i.globals.events.hasOwnProperty(e)?i.globals.events[e].push(t):i.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){var a=i.globals.events[e].indexOf(t);a!==-1&&i.globals.events[e].splice(a,1)}}},{key:"fireEvent",value:function(e,t){var i=this.w;if(i.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var a=i.globals.events[e],r=a.length,s=0;s0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var i=t.filter(function(r){return r.name===e})[0];if(!i)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var a=P.extend(Je,i);this.w.globals.locale=a.options}}]),y}(),kt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"drawAxis",value:function(e,t){var i,a,r=this,s=this.w.globals,n=this.w.config,o=new we(this.ctx,t),h=new De(this.ctx,t);s.axisCharts&&e!=="radar"&&(s.isBarHorizontal?(a=h.drawYaxisInversed(0),i=o.drawXaxisInversed(0),s.dom.elGraphical.add(i),s.dom.elGraphical.add(a)):(i=o.drawXaxis(),s.dom.elGraphical.add(i),n.yaxis.map(function(d,c){if(s.ignoreYAxisIndexes.indexOf(c)===-1&&(a=h.drawYaxis(c),s.dom.Paper.add(a),r.w.config.grid.position==="back")){var g=s.dom.Paper.children()[1];g.remove(),s.dom.Paper.add(g)}})))}}]),y}(),He=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new X(this.ctx),i=new ee(this.ctx),a=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,s=e.config.xaxis.crosshairs.fill.type,n=a.colorFrom,o=a.colorTo,h=a.opacityFrom,d=a.opacityTo,c=a.stops,g=r.enabled,p=r.left,x=r.top,f=r.blur,m=r.color,v=r.opacity,w=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){s==="gradient"&&(w=t.drawGradient("vertical",n,o,h,d,null,c,null));var l=t.drawRect();e.config.xaxis.crosshairs.width===1&&(l=t.drawLine());var u=e.globals.gridHeight;(!P.isNumber(u)||u<0)&&(u=0);var b=e.config.xaxis.crosshairs.width;(!P.isNumber(b)||b<0)&&(b=0),l.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:u,width:b,height:u,fill:w,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}),g&&(l=i.dropShadow(l,{left:p,top:x,blur:f,color:m,opacity:v})),e.globals.dom.elGraphical.add(l)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new X(this.ctx),i=e.config.yaxis[0].crosshairs,a=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-a,0,e.globals.gridWidth+a,0,i.stroke.color,i.stroke.dashArray,i.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var s=t.drawLine(-a,0,e.globals.gridWidth+a,0,i.stroke.color,0,0);s.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(s)}}]),y}(),At=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"checkResponsiveConfig",value:function(e){var t=this,i=this.w,a=i.config;if(a.responsive.length!==0){var r=a.responsive.slice();r.sort(function(h,d){return h.breakpoint>d.breakpoint?1:d.breakpoint>h.breakpoint?-1:0}).reverse();var s=new ye({}),n=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=r[0].breakpoint,c=window.innerWidth>0?window.innerWidth:screen.width;if(c>d){var g=P.clone(i.globals.initialConfig);g.series=P.clone(i.config.series);var p=$.extendArrayProps(s,g,i);h=P.extend(p,h),h=P.extend(i.config,h),t.overrideResponsiveOptions(h)}else for(var x=0;x0&&typeof e[0]=="function"?(this.isColorFn=!0,i.config.series.map(function(a,r){var s=e[r]||e[0];return typeof s=="function"?s({value:i.globals.axisCharts?i.globals.series[r][0]||0:i.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t.w}):s})):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach(function(i,a){i&&(t[a]=i)})}},{key:"getMonochromeColors",value:function(e,t,i){var a=e.color,r=e.shadeIntensity,s=e.shadeTo,n=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,o=1/(n/r),h=0;return Array.from({length:n},function(){var d=s==="dark"?i.shadeColor(-1*h,a):i.shadeColor(h,a);return h+=o,d})}},{key:"applyColorTypes",value:function(e,t){var i=this,a=this.w;e.forEach(function(r){a.globals[r].colors=a.config[r].colors===void 0?i.isColorFn?a.config.colors:t:a.config[r].colors.slice(),i.pushExtraColors(a.globals[r].colors)})}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors===void 0?e:t.config.dataLabels.style.colors.slice(),this.pushExtraColors(t.globals.dataLabels.style.colors,50)}},{key:"applyRadarPolygonsColors",value:function(){var e=this.w;e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors===void 0?[e.config.theme.mode==="dark"?"#424242":"none"]:e.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(e.globals.radarPolygons.fill.colors,20)}},{key:"applyMarkersColors",value:function(e){var t=this.w;t.globals.markers.colors=t.config.markers.colors===void 0?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=this.w,r=t||a.globals.series.length;if(i===null&&(i=this.isBarDistributed||this.isHeatmapDistributed||a.config.chart.type==="heatmap"&&a.config.plotOptions.heatmap&&a.config.plotOptions.heatmap.colorScale.inverse),i&&a.globals.series.length&&(r=a.globals.series[a.globals.maxValsInArrayIndex].length*a.globals.series.length),e.lengthe.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,i=[];t.config.series.forEach(function(o,h){o.data.forEach(function(d,c){var g;g=t.globals.series[h][c],a=t.config.dataLabels.formatter(g,{ctx:e.dCtx.ctx,seriesIndex:h,dataPointIndex:c,w:t}),i.push(a)})});var a=P.getLargestStringFromArr(i),r=new X(this.dCtx.ctx),s=t.config.dataLabels.style,n=r.getTextRects(a,parseInt(s.fontSize),s.fontFamily);return{width:1.05*n.width,height:n.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var i=e;if(this.w.globals.isMultiLineX){var a=t.map(function(s,n){return Array.isArray(s)?s.length:1}),r=Math.max.apply(Math,J(a));i=t[a.indexOf(r)]}return i}}]),y}(),Pt=function(){function y(e){R(this,y),this.w=e.w,this.dCtx=e}return F(y,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,i=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&i.length===0&&(i=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var a=this.getxAxisTimeScaleLabelsCoords();e={width:a.width,height:a.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,s=P.getLargestStringFromArr(i),n=this.dCtx.dimHelpers.getLargestStringFromMultiArr(s,i);t.globals.isBarHorizontal&&(n=s=t.globals.yAxisScale[0].result.reduce(function(x,f){return x.length>f.length?x:f},0));var o=new me(this.dCtx.ctx),h=s;s=o.xLabelFormat(r,s,h,{i:void 0,dateFormatter:new K(this.dCtx.ctx).formatDate,w:t}),n=o.xLabelFormat(r,n,h,{i:void 0,dateFormatter:new K(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&s===void 0||String(s).trim()==="")&&(n=s="1");var d=new X(this.dCtx.ctx),c=d.getTextRects(s,t.config.xaxis.labels.style.fontSize),g=c;if(s!==n&&(g=d.getTextRects(n,t.config.xaxis.labels.style.fontSize)),(e={width:c.width>=g.width?c.width:g.width,height:c.height>=g.height?c.height:g.height}).width*i.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var p=function(x){return d.getTextRects(x,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};c=p(s),s!==n&&(g=p(n)),e.height=(c.height>g.height?c.height:g.height)/1.5,e.width=c.width>g.width?c.width:g.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 i,a=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map(function(c){return c.title}),s=P.getLargestStringFromArr(r),n=this.dCtx.dimHelpers.getLargestStringFromMultiArr(s,r),o=new X(this.dCtx.ctx),h=o.getTextRects(s,a),d=h;return s!==n&&(d=o.getTextRects(n,a)),i={width:h.width>=d.width?h.width:d.width,height:h.height>=d.height?h.height:d.height},t.config.xaxis.labels.show||(i={width:0,height:0}),{width:i.width,height:i.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,i=0;if(e.config.xaxis.title.text!==void 0){var a=new X(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=a.width,i=a.height}return{width:t,height:i}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var i=this.dCtx.timescaleLabels.map(function(r){return r.value}),a=i.reduce(function(r,s){return r===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):r.length>s.length?r:s},0);return 1.05*(e=new X(this.dCtx.ctx).getTextRects(a,t.config.xaxis.labels.style.fontSize)).width*i.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,i=this.w,a=i.globals,r=i.config,s=r.xaxis.type,n=e.width;a.skipLastTimelinelabel=!1,a.skipFirstTimelinelabel=!1;var o=i.config.yaxis[0].opposite&&i.globals.isBarHorizontal,h=function(d,c){r.yaxis.length>1&&function(g){return a.collapsedSeriesIndices.indexOf(g)!==-1}(c)||function(g){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var p=t.dCtx.timescaleLabels[0],x=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+n/1.75-t.dCtx.yAxisWidthRight,f=p.position-n/1.75+t.dCtx.yAxisWidthLeft,m=i.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;x>a.svgWidth-a.translateX-m&&(a.skipLastTimelinelabel=!0),f<-(g.show&&!g.floating||r.chart.type!=="bar"&&r.chart.type!=="candlestick"&&r.chart.type!=="rangeBar"&&r.chart.type!=="boxPlot"?10:n/1.75)&&(a.skipFirstTimelinelabel=!0)}else s==="datetime"?t.dCtx.gridPad.right((k=String(c(b,o)))===null||k===void 0?void 0:k.length)?u:b},g),x=p=c(p,o);if(p!==void 0&&p.length!==0||(p=h.niceMax),t.globals.isBarHorizontal){a=0;var f=t.globals.labels.slice();p=P.getLargestStringFromArr(f),p=c(p,{seriesIndex:n,dataPointIndex:-1,w:t}),x=e.dCtx.dimHelpers.getLargestStringFromMultiArr(p,f)}var m=new X(e.dCtx.ctx),v="rotate(".concat(s.labels.rotate," 0 0)"),w=m.getTextRects(p,s.labels.style.fontSize,s.labels.style.fontFamily,v,!1),l=w;p!==x&&(l=m.getTextRects(x,s.labels.style.fontSize,s.labels.style.fontFamily,v,!1)),i.push({width:(d>l.width||d>w.width?d:l.width>w.width?l.width:w.width)+a,height:l.height>w.height?l.height:w.height})}else i.push({width:0,height:0})}),i}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,i=[];return t.config.yaxis.map(function(a,r){if(a.show&&a.title.text!==void 0){var s=new X(e.dCtx.ctx),n="rotate(".concat(a.title.rotate," 0 0)"),o=s.getTextRects(a.title.text,a.title.style.fontSize,a.title.style.fontFamily,n,!1);i.push({width:o.width,height:o.height})}else i.push({width:0,height:0})}),i}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,i=0,a=0,r=e.globals.yAxisScale.length>1?10:0,s=new he(this.dCtx.ctx),n=function(o,h){var d=e.config.yaxis[h].floating,c=0;o.width>0&&!d?(c=o.width+r,function(g){return e.globals.ignoreYAxisIndexes.indexOf(g)>-1}(h)&&(c=c-o.width-r)):c=d||s.isYAxisHidden(h)?0:5,e.config.yaxis[h].opposite?a+=c:i+=c,t+=c};return e.globals.yLabelsCoords.map(function(o,h){n(o,h)}),e.globals.yTitleCoords.map(function(o,h){n(o,h)}),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=i,this.dCtx.yAxisWidthRight=a,t}}]),y}(),It=function(){function y(e){R(this,y),this.w=e.w,this.dCtx=e}return F(y,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,i=t.config,a=t.globals;if(a.noData||a.collapsedSeries.length+a.ancillaryCollapsedSeries.length===i.series.length)return 0;var r=function(p){return["bar","rangeBar","candlestick","boxPlot"].includes(p)},s=i.chart.type,n=0,o=r(s)?i.series.length:1;a.comboBarCount>0&&(o=a.comboBarCount),a.collapsedSeries.forEach(function(p){r(p.type)&&(o-=1)}),i.chart.stacked&&(o=1);var h=r(s)||a.comboBarCount>0,d=Math.abs(a.initialMaxX-a.initialMinX);if(h&&a.isXNumeric&&!a.isBarHorizontal&&o>0&&d!==0){d<=3&&(d=a.dataPoints);var c=d/e,g=a.minXDiff&&a.minXDiff/c>0?a.minXDiff/c:0;g>e/2&&(g/=2),(n=g*parseInt(i.plotOptions.bar.columnWidth,10)/100)<1&&(n=1),a.barPadForNumericAxis=n}return n}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,i=t.globals,a=this.dCtx.isSparkline||!i.axisCharts?0:10;["title","subtitle"].forEach(function(n){t.config[n].text!==void 0?a+=t.config[n].margin:a+=e.dCtx.isSparkline||!i.axisCharts?0:5}),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||i.axisCharts||(a+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),s=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");i.gridHeight-=r.height+s.height+a,i.translateY+=r.height+s.height+a}},{key:"setGridXPosForDualYAxis",value:function(e,t){var i=this.w,a=new he(this.dCtx.ctx);i.config.yaxis.forEach(function(r,s){i.globals.ignoreYAxisIndexes.indexOf(s)!==-1||r.floating||a.isYAxisHidden(s)||(r.opposite&&(i.globals.translateX-=t[s].width+e[s].width+parseInt(r.labels.style.fontSize,10)/1.2+12),i.globals.translateX<2&&(i.globals.translateX=2))})}}]),y}(),Me=function(){function y(e){R(this,y),this.ctx=e,this.w=e.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 Lt(this),this.dimYAxis=new Mt(this),this.dimXAxis=new Pt(this),this.dimGrid=new It(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return F(y,[{key:"plotCoords",value:function(){var e=this,t=this.w,i=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var a=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,J(t.config.stroke.width)):t.config.stroke.width;this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach(function(s){var n=Ze(s,2),o=n[0],h=n[1];e.gridPad[o]=Math.max(h,e.w.globals.markers.largestSize/1.5)}),this.gridPad.top=Math.max(a/2,this.gridPad.top),this.gridPad.bottom=Math.max(a/2,this.gridPad.bottom)),i.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),i.gridHeight=i.gridHeight-this.gridPad.top-this.gridPad.bottom,i.gridWidth=i.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(i.gridWidth);i.gridWidth=i.gridWidth-2*r,i.translateX=i.translateX+this.gridPad.left+this.xPadLeft+(r>0?r:0),i.translateY=i.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,i=t.globals,a=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();i.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map(function(p,x){t.globals.yLabelsCoords.push({width:a[x].width,index:x}),t.globals.yTitleCoords.push({width:r[x].width,index:x})}),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var s=this.dimXAxis.getxAxisLabelsCoords(),n=this.dimXAxis.getxAxisGroupLabelsCoords(),o=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(s,o,n),i.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,i.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(i.rotateXLabels=!1,i.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),i.translateXAxisY=i.translateXAxisY+t.config.xaxis.labels.offsetY,i.translateXAxisX=i.translateXAxisX+t.config.xaxis.labels.offsetX;var h=this.yAxisWidth,d=this.xAxisHeight;i.xAxisLabelsHeight=this.xAxisHeight-o.height,i.xAxisGroupLabelsHeight=i.xAxisLabelsHeight-s.height,i.xAxisLabelsWidth=this.xAxisWidth,i.xAxisHeight=this.xAxisHeight;var c=10;(t.config.chart.type==="radar"||this.isSparkline)&&(h=0,d=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(h=0,d=0,c=0),this.isSparkline||t.config.chart.type==="treemap"||this.dimXAxis.additionalPaddingXLabels(s);var g=function(){i.translateX=h+e.datalabelsCoords.width,i.gridHeight=i.svgHeight-e.lgRect.height-d-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-h-2*e.datalabelsCoords.width};switch(t.config.xaxis.position==="top"&&(c=i.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":i.translateY=c,g();break;case"top":i.translateY=this.lgRect.height+c,g();break;case"left":i.translateY=c,i.translateX=this.lgRect.width+h+this.datalabelsCoords.width,i.gridHeight=i.svgHeight-d-12,i.gridWidth=i.svgWidth-this.lgRect.width-h-2*this.datalabelsCoords.width;break;case"right":i.translateY=c,i.translateX=h+this.datalabelsCoords.width,i.gridHeight=i.svgHeight-d-12,i.gridWidth=i.svgWidth-this.lgRect.width-h-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,a),new De(this.ctx).setYAxisXPosition(a,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=e.config,a=0;e.config.legend.show&&!e.config.legend.floating&&(a=20);var r=i.chart.type==="pie"||i.chart.type==="polarArea"||i.chart.type==="donut"?"pie":"radialBar",s=i.plotOptions[r].offsetY,n=i.plotOptions[r].offsetX;if(!i.legend.show||i.legend.floating){t.gridHeight=t.svgHeight;var o=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(o,t.gridHeight),t.translateY=s,void(t.translateX=n+(t.svgWidth-t.gridWidth)/2)}switch(i.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=s-10,t.translateX=n+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+s+10,t.translateX=n+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-a,t.gridHeight=i.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=s,t.translateX=n+this.lgRect.width+a;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-a-5,t.gridHeight=i.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=s,t.translateX=n+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,i){var a=this.w,r=a.globals.hasXaxisGroups?2:1,s=i.height+e.height+t.height,n=a.globals.isMultiLineX?1.2:a.globals.LINE_HEIGHT_RATIO,o=a.globals.rotateXLabels?22:10,h=a.globals.rotateXLabels&&a.config.legend.position==="bottom"?10:0;this.xAxisHeight=s*n+r*o+h,this.xAxisWidth=e.width,this.xAxisHeight-t.height>a.config.xaxis.labels.maxHeight&&(this.xAxisHeight=a.config.xaxis.labels.maxHeight),a.config.xaxis.labels.minHeight&&this.xAxisHeightc&&(this.yAxisWidth=c)}}]),y}(),Tt=function(){function y(e){R(this,y),this.w=e.w,this.lgCtx=e}return F(y,[{key:"getLegendStyles",value:function(){var e,t,i,a=document.createElement("style");a.setAttribute("type","text/css");var r=((e=this.lgCtx.ctx)===null||e===void 0||(t=e.opts)===null||t===void 0||(i=t.chart)===null||i===void 0?void 0:i.nonce)||this.w.config.chart.nonce;r&&a.setAttribute("nonce",r);var s=document.createTextNode(` - .apexcharts-flip-y { - transform: scaleY(-1) translateY(-100%); - transform-origin: top; - transform-box: fill-box; - } - .apexcharts-flip-x { - transform: scaleX(-1); - transform-origin: center; - transform-box: fill-box; - } - .apexcharts-legend { - display: flex; - overflow: auto; - padding: 0 10px; - } - .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top { - flex-wrap: wrap - } - .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left { - flex-direction: column; - bottom: 0; - } - .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 { - justify-content: flex-start; - } - .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center { - justify-content: center; - } - .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right { - justify-content: flex-end; - } - .apexcharts-legend-series { - cursor: pointer; - line-height: normal; - display: flex; - align-items: center; - } - .apexcharts-legend-text { - position: relative; - font-size: 14px; - } - .apexcharts-legend-text *, .apexcharts-legend-marker * { - pointer-events: none; - } - .apexcharts-legend-marker { - position: relative; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - margin-right: 1px; - } - - .apexcharts-legend-series.apexcharts-no-click { - cursor: auto; - } - .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series { - display: none !important; - } - .apexcharts-inactive-legend { - opacity: 0.45; - }`);return a.appendChild(s),a}},{key:"getLegendDimensions",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 i=this,a=this.w;if(a.globals.axisCharts||a.config.chart.type==="radialBar"){a.globals.resized=!0;var r=null,s=null;a.globals.risingSeries=[],a.globals.axisCharts?(r=a.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),s=parseInt(r.getAttribute("data:realIndex"),10)):(r=a.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),s=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:a.globals.collapsedSeries,csi:a.globals.collapsedSeriesIndices},{cs:a.globals.ancillaryCollapsedSeries,csi:a.globals.ancillaryCollapsedSeriesIndices}].forEach(function(d){i.riseCollapsedSeries(d.cs,d.csi,s)}):this.hideSeries({seriesEl:r,realIndex:s})}else{var n=a.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),o=a.config.chart.type;if(o==="pie"||o==="polarArea"||o==="donut"){var h=a.config.plotOptions.pie.donut.labels;new X(this.lgCtx.ctx).pathMouseDown(n.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(n.members[0].node,h)}n.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,i=this.w,a=i.globals,r=P.clone(i.config.series);if(a.axisCharts){var s=i.config.yaxis[a.seriesYAxisReverseMap[t]],n={index:t,data:r[t].data.slice(),type:r[t].type||i.config.chart.type};if(s&&s.show&&s.showAlways)a.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(a.ancillaryCollapsedSeries.push(n),a.ancillaryCollapsedSeriesIndices.push(t));else if(a.collapsedSeriesIndices.indexOf(t)<0){a.collapsedSeries.push(n),a.collapsedSeriesIndices.push(t);var o=a.risingSeries.indexOf(t);a.risingSeries.splice(o,1)}}else a.collapsedSeries.push({index:t,data:r[t]}),a.collapsedSeriesIndices.push(t);return a.allSeriesCollapsed=a.collapsedSeries.length+a.ancillaryCollapsedSeries.length===i.config.series.length,this._getSeriesBasedOnCollapsedState(r)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,i=e.realIndex,a=this.w,r=this.getSeriesAfterCollapsing({realIndex:i}),s=t.childNodes,n=0;n0){for(var s=0;s1;if(this.legendHelpers.appendToForeignObject(),(a||!t.axisCharts)&&i.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),i.legend.position==="bottom"||i.legend.position==="top"?this.legendAlignHorizontal():i.legend.position!=="right"&&i.legend.position!=="left"||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,i=e.fillcolor,a=this.w,r=document.createElement("span");r.classList.add("apexcharts-legend-marker");var s=a.config.legend.markers.shape||a.config.markers.shape,n=s;Array.isArray(s)&&(n=s[t]);var o=Array.isArray(a.config.legend.markers.size)?parseFloat(a.config.legend.markers.size[t]):parseFloat(a.config.legend.markers.size),h=Array.isArray(a.config.legend.markers.offsetX)?parseFloat(a.config.legend.markers.offsetX[t]):parseFloat(a.config.legend.markers.offsetX),d=Array.isArray(a.config.legend.markers.offsetY)?parseFloat(a.config.legend.markers.offsetY[t]):parseFloat(a.config.legend.markers.offsetY),c=Array.isArray(a.config.legend.markers.strokeWidth)?parseFloat(a.config.legend.markers.strokeWidth[t]):parseFloat(a.config.legend.markers.strokeWidth),g=r.style;if(g.height=2*(o+c)+"px",g.width=2*(o+c)+"px",g.left=h+"px",g.top=d+"px",a.config.legend.markers.customHTML)g.background="transparent",g.color=i[t],Array.isArray(a.config.legend.markers.customHTML)?a.config.legend.markers.customHTML[t]&&(r.innerHTML=a.config.legend.markers.customHTML[t]()):r.innerHTML=a.config.legend.markers.customHTML();else{var p=new ue(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(n),seriesIndex:t,strokeWidth:c,size:o}),x=SVG(r).size("100%","100%"),f=new X(this.ctx).drawMarker(0,0,E(E({},p),{},{pointFillColor:Array.isArray(i)?i[t]:p.pointFillColor,shape:n}));SVG.select(".apexcharts-legend-marker.apexcharts-marker").members.forEach(function(m){m.node.classList.contains("apexcharts-marker-triangle")?m.node.style.transform="translate(50%, 45%)":m.node.style.transform="translate(50%, 50%)"}),x.add(f)}return r}},{key:"drawLegends",value:function(){var e=this,t=this.w,i=t.config.legend.fontFamily,a=t.globals.seriesNames,r=t.config.legend.markers.fillColors?t.config.legend.markers.fillColors.slice():t.globals.colors.slice();if(t.config.chart.type==="heatmap"){var s=t.config.plotOptions.heatmap.colorScale.ranges;a=s.map(function(b){return b.name?b.name:b.from+" - "+b.to}),r=s.map(function(b){return b.color})}else this.isBarsDistributed&&(a=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(a=t.config.legend.customLegendItems);for(var n=t.globals.legendFormatter,o=t.config.legend.inverseOrder,h=o?a.length-1:0;o?h>=0:h<=a.length-1;o?h--:h++){var d,c=n(a[h],{seriesIndex:h,w:t}),g=!1,p=!1;if(t.globals.collapsedSeries.length>0)for(var x=0;x0)for(var f=0;f0?h-10:0)+(d>0?d-10:0)}a.style.position="absolute",s=s+e+i.config.legend.offsetX,n=n+t+i.config.legend.offsetY,a.style.left=s+"px",a.style.top=n+"px",i.config.legend.position==="right"&&(a.style.left="auto",a.style.right=25+i.config.legend.offsetX+"px"),["width","height"].forEach(function(c){a.style[c]&&(a.style[c]=parseInt(i.config.legend[c],10)+"px")})}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new Me(this.ctx),i=t.dimHelpers.getTitleSubtitleCoords("title"),a=t.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;e.config.legend.position==="top"&&(r=i.height+a.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),i=0;e.config.legend.position==="left"&&(i=20),e.config.legend.position==="right"&&(i=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(i,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,i=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(i){var a=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,a,this.w]),new re(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&i&&new re(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-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var i=parseInt(e.target.getAttribute("rel"),10)-1,a=e.target.getAttribute("data:collapsed")==="true",r=this.w.config.chart.events.legendClick;typeof r=="function"&&r(this.ctx,i,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,i,this.w]);var s=this.w.config.legend.markers.onClick;typeof s=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(s(this.ctx,i,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,i,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(i,a)}}}]),y}(),at=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return F(y,[{key:"createToolbar",value:function(){var e=this,t=this.w,i=function(){return document.createElement("div")},a=i();if(a.setAttribute("class","apexcharts-toolbar"),a.style.top=t.config.chart.toolbar.offsetY+"px",a.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(a),this.elZoom=i(),this.elZoomIn=i(),this.elZoomOut=i(),this.elPan=i(),this.elSelection=i(),this.elZoomReset=i(),this.elMenuIcon=i(),this.elMenu=i(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r - - - -`),n("zoomOut",this.elZoomOut,` - - - -`);var o=function(c){e.t[c]&&t.config.chart[c].enabled&&s.push({el:c==="zoom"?e.elZoom:e.elSelection,icon:typeof e.t[c]=="string"?e.t[c]:c==="zoom"?` - - - -`:` - - -`,title:e.localeValues[c==="zoom"?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(c,"-icon")})};o("zoom"),o("selection"),this.t.pan&&t.config.chart.zoom.enabled&&s.push({el:this.elPan,icon:typeof this.t.pan=="string"?this.t.pan:` - - - - - - - -`,title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),n("reset",this.elZoomReset,` - - -`),this.t.download&&s.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var h=0;hthis.wheelDelay&&(this.executeMouseWheelZoom(i),r.globals.lastWheelExecution=s),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(function(){s-r.globals.lastWheelExecution>a.wheelDelay&&(a.executeMouseWheelZoom(i),r.globals.lastWheelExecution=s)},this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(i){var a,r=this.w;this.minX=r.globals.isRangeBar?r.globals.minY:r.globals.minX,this.maxX=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;var s=(a=this.gridRect)===null||a===void 0?void 0:a.getBoundingClientRect();if(s){var n,o,h,d=(i.clientX-s.left)/s.width,c=this.minX,g=this.maxX,p=g-c;if(i.deltaY<0){var x=c+d*p;o=x-(n=.5*p)/2,h=x+n/2}else o=c-(n=1.5*p)/2,h=g+n/2;if(!r.globals.isRangeBar){o=Math.max(o,r.globals.initialMinX),h=Math.min(h,r.globals.initialMaxX);var f=.01*(r.globals.initialMaxX-r.globals.initialMinX);if(h-o0&&a.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:i.globals.gridWidth,maxY:i.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var i=this.w,a=this.xyRatios;if(!i.globals.zoomEnabled){if(i.globals.selection!==void 0&&i.globals.selection!==null)this.drawSelectionRect(i.globals.selection);else if(i.config.chart.selection.xaxis.min!==void 0&&i.config.chart.selection.xaxis.max!==void 0){var r=(i.config.chart.selection.xaxis.min-i.globals.minX)/a.xRatio,s=i.globals.gridWidth-(i.globals.maxX-i.config.chart.selection.xaxis.max)/a.xRatio-r;i.globals.isRangeBar&&(r=(i.config.chart.selection.xaxis.min-i.globals.yAxisScale[0].niceMin)/a.invertedYRatio,s=(i.config.chart.selection.xaxis.max-i.config.chart.selection.xaxis.min)/a.invertedYRatio);var n={x:r,y:0,width:s,height:i.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),typeof i.config.chart.events.selection=="function"&&i.config.chart.events.selection(this.ctx,{xaxis:{min:i.config.chart.selection.xaxis.min,max:i.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(i){var a=i.x,r=i.y,s=i.width,n=i.height,o=i.translateX,h=o===void 0?0:o,d=i.translateY,c=d===void 0?0:d,g=this.w,p=this.zoomRect,x=this.selectionRect;if(this.dragged||g.globals.selection!==null){var f={transform:"translate("+h+", "+c+")"};g.globals.zoomEnabled&&this.dragged&&(s<0&&(s=1),p.attr({x:a,y:r,width:s,height:n,fill:g.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":g.config.chart.zoom.zoomedArea.fill.opacity,stroke:g.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":g.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":g.config.chart.zoom.zoomedArea.stroke.opacity}),X.setAttrs(p.node,f)),g.globals.selectionEnabled&&(x.attr({x:a,y:r,width:s>0?s:0,height:n>0?n:0,fill:g.config.chart.selection.fill.color,"fill-opacity":g.config.chart.selection.fill.opacity,stroke:g.config.chart.selection.stroke.color,"stroke-width":g.config.chart.selection.stroke.width,"stroke-dasharray":g.config.chart.selection.stroke.dashArray,"stroke-opacity":g.config.chart.selection.stroke.opacity}),X.setAttrs(x.node,f))}}},{key:"hideSelectionRect",value:function(i){i&&i.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(i){var a=i.context,r=i.zoomtype,s=this.w,n=a,o=this.gridRect.getBoundingClientRect(),h=n.startX-1,d=n.startY,c=!1,g=!1,p=n.clientX-o.left-h,x=n.clientY-o.top-d,f={};return Math.abs(p+h)>s.globals.gridWidth?p=s.globals.gridWidth-h:n.clientX-o.left<0&&(p=h),h>n.clientX-o.left&&(c=!0,p=Math.abs(p)),d>n.clientY-o.top&&(g=!0,x=Math.abs(x)),f=r==="x"?{x:c?h-p:h,y:0,width:p,height:s.globals.gridHeight}:r==="y"?{x:0,y:g?d-x:d,width:s.globals.gridWidth,height:x}:{x:c?h-p:h,y:g?d-x:d,width:p,height:x},n.drawSelectionRect(f),n.selectionDragging("resizing"),f}},{key:"selectionDragging",value:function(i,a){var r=this,s=this.w,n=this.xyRatios,o=this.selectionRect,h=0;i==="resizing"&&(h=30);var d=function(g){return parseFloat(o.node.getAttribute(g))},c={x:d("x"),y:d("y"),width:d("width"),height:d("height")};s.globals.selection=c,typeof s.config.chart.events.selection=="function"&&s.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var g,p,x,f,m=r.gridRect.getBoundingClientRect(),v=o.node.getBoundingClientRect();s.globals.isRangeBar?(g=s.globals.yAxisScale[0].niceMin+(v.left-m.left)*n.invertedYRatio,p=s.globals.yAxisScale[0].niceMin+(v.right-m.left)*n.invertedYRatio,x=0,f=1):(g=s.globals.xAxisScale.niceMin+(v.left-m.left)*n.xRatio,p=s.globals.xAxisScale.niceMin+(v.right-m.left)*n.xRatio,x=s.globals.yAxisScale[0].niceMin+(m.bottom-v.bottom)*n.yRatio[0],f=s.globals.yAxisScale[0].niceMax-(v.top-m.top)*n.yRatio[0]);var w={xaxis:{min:g,max:p},yaxis:{min:x,max:f}};s.config.chart.events.selection(r.ctx,w),s.config.chart.brush.enabled&&s.config.chart.events.brushScrolled!==void 0&&s.config.chart.events.brushScrolled(r.ctx,w)},h))}},{key:"selectionDrawn",value:function(i){var a=i.context,r=i.zoomtype,s=this.w,n=a,o=this.xyRatios,h=this.ctx.toolbar;if(n.startX>n.endX){var d=n.startX;n.startX=n.endX,n.endX=d}if(n.startY>n.endY){var c=n.startY;n.startY=n.endY,n.endY=c}var g=void 0,p=void 0;s.globals.isRangeBar?(g=s.globals.yAxisScale[0].niceMin+n.startX*o.invertedYRatio,p=s.globals.yAxisScale[0].niceMin+n.endX*o.invertedYRatio):(g=s.globals.xAxisScale.niceMin+n.startX*o.xRatio,p=s.globals.xAxisScale.niceMin+n.endX*o.xRatio);var x=[],f=[];if(s.config.yaxis.forEach(function(A,k){var S=s.globals.seriesYAxisMap[k][0];x.push(s.globals.yAxisScale[k].niceMax-o.yRatio[S]*n.startY),f.push(s.globals.yAxisScale[k].niceMax-o.yRatio[S]*n.endY)}),n.dragged&&(n.dragX>10||n.dragY>10)&&g!==p){if(s.globals.zoomEnabled){var m=P.clone(s.globals.initialConfig.yaxis),v=P.clone(s.globals.initialConfig.xaxis);if(s.globals.zoomed=!0,s.config.xaxis.convertedCatToNumeric&&(g=Math.floor(g),p=Math.floor(p),g<1&&(g=1,p=s.globals.dataPoints),p-g<2&&(p=g+1)),r!=="xy"&&r!=="x"||(v={min:g,max:p}),r!=="xy"&&r!=="y"||m.forEach(function(A,k){m[k].min=f[k],m[k].max=x[k]}),h){var w=h.getBeforeZoomRange(v,m);w&&(v=w.xaxis?w.xaxis:v,m=w.yaxis?w.yaxis:m)}var l={xaxis:v};s.config.chart.group||(l.yaxis=m),n.ctx.updateHelpers._updateOptions(l,!1,n.w.config.chart.animations.dynamicAnimation.enabled),typeof s.config.chart.events.zoomed=="function"&&h.zoomCallback(v,m)}else if(s.globals.selectionEnabled){var u,b=null;u={min:g,max:p},r!=="xy"&&r!=="y"||(b=P.clone(s.config.yaxis)).forEach(function(A,k){b[k].min=f[k],b[k].max=x[k]}),s.globals.selection=n.selection,typeof s.config.chart.events.selection=="function"&&s.config.chart.events.selection(n.ctx,{xaxis:u,yaxis:b})}}}},{key:"panDragging",value:function(i){var a=i.context,r=this.w,s=a;if(r.globals.lastClientPosition.x!==void 0){var n=r.globals.lastClientPosition.x-s.clientX,o=r.globals.lastClientPosition.y-s.clientY;Math.abs(n)>Math.abs(o)&&n>0?this.moveDirection="left":Math.abs(n)>Math.abs(o)&&n<0?this.moveDirection="right":Math.abs(o)>Math.abs(n)&&o>0?this.moveDirection="up":Math.abs(o)>Math.abs(n)&&o<0&&(this.moveDirection="down")}r.globals.lastClientPosition={x:s.clientX,y:s.clientY};var h=r.globals.isRangeBar?r.globals.minY:r.globals.minX,d=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;r.config.xaxis.convertedCatToNumeric||s.panScrolled(h,d)}},{key:"delayedPanScrolled",value:function(){var i=this.w,a=i.globals.minX,r=i.globals.maxX,s=(i.globals.maxX-i.globals.minX)/2;this.moveDirection==="left"?(a=i.globals.minX+s,r=i.globals.maxX+s):this.moveDirection==="right"&&(a=i.globals.minX-s,r=i.globals.maxX-s),a=Math.floor(a),r=Math.floor(r),this.updateScrolledChart({xaxis:{min:a,max:r}},a,r)}},{key:"panScrolled",value:function(i,a){var r=this.w,s=this.xyRatios,n=P.clone(r.globals.initialConfig.yaxis),o=s.xRatio,h=r.globals.minX,d=r.globals.maxX;r.globals.isRangeBar&&(o=s.invertedYRatio,h=r.globals.minY,d=r.globals.maxY),this.moveDirection==="left"?(i=h+r.globals.gridWidth/15*o,a=d+r.globals.gridWidth/15*o):this.moveDirection==="right"&&(i=h-r.globals.gridWidth/15*o,a=d-r.globals.gridWidth/15*o),r.globals.isRangeBar||(ir.globals.initialMaxX)&&(i=h,a=d);var c={xaxis:{min:i,max:a}};r.config.chart.group||(c.yaxis=n),this.updateScrolledChart(c,i,a)}},{key:"updateScrolledChart",value:function(i,a,r){var s=this.w;this.ctx.updateHelpers._updateOptions(i,!1,!1),typeof s.config.chart.events.scrolled=="function"&&s.config.chart.events.scrolled(this.ctx,{xaxis:{min:a,max:r}})}}]),t}(),st=function(){function y(e){R(this,y),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return F(y,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,i=e.elGrid,a=e.clientX,r=e.clientY,s=this.w,n=i.getBoundingClientRect(),o=n.width,h=n.height,d=o/(s.globals.dataPoints-1),c=h/s.globals.dataPoints,g=this.hasBars();!s.globals.comboCharts&&!g||s.config.xaxis.convertedCatToNumeric||(d=o/s.globals.dataPoints);var p=a-n.left-s.globals.barPadForNumericAxis,x=r-n.top;p<0||x<0||p>o||x>h?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):s.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):s.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var f=Math.round(p/d),m=Math.floor(x/c);g&&!s.config.xaxis.convertedCatToNumeric&&(f=Math.ceil(p/d),f-=1);var v=null,w=null,l=s.globals.seriesXvalues.map(function(S){return S.filter(function(C){return P.isNumber(C)})}),u=s.globals.seriesYvalues.map(function(S){return S.filter(function(C){return P.isNumber(C)})});if(s.globals.isXNumeric){var b=this.ttCtx.getElGrid().getBoundingClientRect(),A=p*(b.width/o),k=x*(b.height/h);v=(w=this.closestInMultiArray(A,k,l,u)).index,f=w.j,v!==null&&(l=s.globals.seriesXvalues[v],f=(w=this.closestInArray(A,l)).index)}return s.globals.capturedSeriesIndex=v===null?-1:v,(!f||f<1)&&(f=0),s.globals.isBarHorizontal?s.globals.capturedDataPointIndex=m:s.globals.capturedDataPointIndex=f,{capturedSeries:v,j:s.globals.isBarHorizontal?m:f,hoverX:p,hoverY:x}}},{key:"closestInMultiArray",value:function(e,t,i,a){var r=this.w,s=0,n=null,o=-1;r.globals.series.length>1?s=this.getFirstActiveXArray(i):n=0;var h=i[s][0],d=Math.abs(e-h);if(i.forEach(function(p){p.forEach(function(x,f){var m=Math.abs(e-x);m<=d&&(d=m,o=f)})}),o!==-1){var c=a[s][o],g=Math.abs(t-c);n=s,a.forEach(function(p,x){var f=Math.abs(t-p[o]);f<=g&&(g=f,n=x)})}return{index:n,j:o}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,i=0,a=e.map(function(s,n){return s.length>0?n:-1}),r=0;r0)for(var a=0;a *")):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=J(e)).sort(function(i,a){var r=Number(i.getAttribute("data:realIndex")),s=Number(a.getAttribute("data:realIndex"));return sr?-1:0});var t=[];return e.forEach(function(i){t.push(i.querySelector(".apexcharts-marker"))}),t}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var i=Number(e.getAttribute("cx")),a=Number(e.getAttribute("cy")),r=e.getAttribute("shape");return new X(this.ctx).getMarkerPath(i,a,r,t)}},{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,i=t.config.markers.hover.size;return i===void 0&&(i=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),i}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,i=this.ttCtx;i.allTooltipSeriesGroups.length===0&&(i.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var a=i.allTooltipSeriesGroups,r=0;r ').concat(L.attrs.name,""),C+="
".concat(L.val,"
")}),l.innerHTML=S+"",u.innerHTML=C+""};n?h.globals.seriesGoals[t][i]&&Array.isArray(h.globals.seriesGoals[t][i])?b():(l.innerHTML="",u.innerHTML=""):b()}else l.innerHTML="",u.innerHTML="";if(f!==null&&(a[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=h.config.tooltip.z.title,a[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=f!==void 0?f:""),n&&m[0]){if(h.config.tooltip.hideEmptySeries){var A=a[t].querySelector(".apexcharts-tooltip-marker"),k=a[t].querySelector(".apexcharts-tooltip-text");parseFloat(c)==0?(A.style.display="none",k.style.display="none"):(A.style.display="block",k.style.display="block")}c==null||h.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||h.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(d.tConfig.enabledOnSeries)&&d.tConfig.enabledOnSeries.indexOf(t)===-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=h.config.tooltip.items.display}else Array.isArray(d.tConfig.enabledOnSeries)&&d.tConfig.enabledOnSeries.indexOf(t)===-1&&(m[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var i=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var a=i.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));a&&(a.classList.add("apexcharts-active"),a.style.display=i.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,i=e.j,a=this.w,r=this.ctx.series.filteredSeriesX(),s="",n="",o=null,h=null,d={series:a.globals.series,seriesIndex:t,dataPointIndex:i,w:a},c=a.globals.ttZFormatter;i===null?h=a.globals.series[t]:a.globals.isXNumeric&&a.config.chart.type!=="treemap"?(s=r[t][i],r[t].length===0&&(s=r[this.tooltipUtil.getFirstActiveXArray(r)][i])):s=new Re(this.ctx).isFormatXY()?a.config.series[t].data[i]!==void 0?a.config.series[t].data[i].x:"":a.globals.labels[i]!==void 0?a.globals.labels[i]:"";var g=s;return a.globals.isXNumeric&&a.config.xaxis.type==="datetime"?s=new me(this.ctx).xLabelFormat(a.globals.ttKeyFormatter,g,g,{i:void 0,dateFormatter:new K(this.ctx).formatDate,w:this.w}):s=a.globals.isBarHorizontal?a.globals.yLabelFormatters[0](g,d):a.globals.xLabelFormatter(g,d),a.config.tooltip.x.formatter!==void 0&&(s=a.globals.ttKeyFormatter(g,d)),a.globals.seriesZ.length>0&&a.globals.seriesZ[t].length>0&&(o=c(a.globals.seriesZ[t][i],a)),n=typeof a.config.xaxis.tooltip.formatter=="function"?a.globals.xaxisTooltipFormatter(g,d):s,{val:Array.isArray(h)?h.join(" "):h,xVal:Array.isArray(s)?s.join(" "):s,xAxisTTVal:Array.isArray(n)?n.join(" "):n,zVal:o}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,i=e.j,a=e.y1,r=e.y2,s=e.w,n=this.ttCtx.getElTooltip(),o=s.config.tooltip.custom;Array.isArray(o)&&o[t]&&(o=o[t]),n.innerHTML=o({ctx:this.ctx,series:s.globals.series,seriesIndex:t,dataPointIndex:i,y1:a,y2:r,w:s})}}]),y}(),rt=function(){function y(e){R(this,y),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return F(y,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=this.ttCtx,a=this.w,r=i.getElXCrosshairs(),s=e-i.xcrosshairsWidth/2,n=a.globals.labels.slice().length;if(t!==null&&(s=a.globals.gridWidth/n*t),r===null||a.globals.isBarHorizontal||(r.setAttribute("x",s),r.setAttribute("x1",s),r.setAttribute("x2",s),r.setAttribute("y2",a.globals.gridHeight),r.classList.add("apexcharts-active")),s<0&&(s=0),s>a.globals.gridWidth&&(s=a.globals.gridWidth),i.isXAxisTooltipEnabled){var o=s;a.config.xaxis.crosshairs.width!=="tickWidth"&&a.config.xaxis.crosshairs.width!=="barWidth"||(o=s+i.xcrosshairsWidth/2),this.moveXAxisTooltip(o)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&X.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&X.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;if(i.xaxisTooltip!==null&&i.xcrosshairsWidth!==0){i.xaxisTooltip.classList.add("apexcharts-active");var a=i.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=i.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new X(this.ctx).getTextRects(i.xaxisTooltipText.innerHTML),i.xaxisTooltipText.style.minWidth=r.width+"px",i.xaxisTooltip.style.left=e+"px",i.xaxisTooltip.style.top=a+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,i=this.ttCtx;i.yaxisTTEls===null&&(i.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var a=parseInt(i.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+a,s=i.yaxisTTEls[e].getBoundingClientRect().height,n=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(n-=26),r-=s/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1?(i.yaxisTTEls[e].classList.add("apexcharts-active"),i.yaxisTTEls[e].style.top=r+"px",i.yaxisTTEls[e].style.left=n+t.config.yaxis[e].tooltip.offsetX+"px"):i.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=this.w,r=this.ttCtx,s=r.getElTooltip(),n=r.tooltipRect,o=i!==null?parseFloat(i):1,h=parseFloat(e)+o+5,d=parseFloat(t)+o/2;if(h>a.globals.gridWidth/2&&(h=h-n.ttWidth-o-10),h>a.globals.gridWidth-n.ttWidth-10&&(h=a.globals.gridWidth-n.ttWidth),h<-20&&(h=-20),a.config.tooltip.followCursor){var c=r.getElGrid().getBoundingClientRect();(h=r.e.clientX-c.left)>a.globals.gridWidth/2&&(h-=r.tooltipRect.ttWidth),(d=r.e.clientY+a.globals.translateY-c.top)>a.globals.gridHeight/2&&(d-=r.tooltipRect.ttHeight)}else a.globals.isBarHorizontal||n.ttHeight/2+d>a.globals.gridHeight&&(d=a.globals.gridHeight-n.ttHeight+a.globals.translateY);isNaN(h)||(h+=a.globals.translateX,s.style.left=h+"px",s.style.top=d+"px")}},{key:"moveMarkers",value:function(e,t){var i=this.w,a=this.ttCtx;if(i.globals.markers.size[e]>0)for(var r=i.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),s=0;s0){var x=p.getAttribute("shape"),f=h.getMarkerPath(r,s,x,1.5*c);p.setAttribute("d",f)}this.moveXCrosshairs(r),o.fixedTooltip||this.moveTooltip(r,s,c)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,i=this.ttCtx,a=i.w,r=0,s=0,n=a.globals.pointsArray,o=new re(this.ctx),h=new X(this.ctx);t=o.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var d=i.tooltipUtil.getHoverMarkerSize(t);n[t]&&(r=n[t][e][0],s=n[t][e][1]);var c=i.tooltipUtil.getAllMarkers();if(c!==null)for(var g=0;g0){var w=h.getMarkerPath(r,x,m,d);c[g].setAttribute("d",w)}else c[g].setAttribute("d","")}}this.moveXCrosshairs(r),i.fixedTooltip||this.moveTooltip(r,s||a.globals.gridHeight,d)}},{key:"moveStickyTooltipOverBars",value:function(e,t){var i=this.w,a=this.ttCtx,r=i.globals.columnSeries?i.globals.columnSeries.length:i.globals.series.length,s=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;i.globals.isBarHorizontal&&(s=new re(this.ctx).getActiveConfigSeriesIndex("desc")+1);var n=i.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(s,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(s,"'] path[j='").concat(e,"']"));n||typeof t!="number"||(n=i.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'], - .apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'], - .apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'], - .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var o=n?parseFloat(n.getAttribute("cx")):0,h=n?parseFloat(n.getAttribute("cy")):0,d=n?parseFloat(n.getAttribute("barWidth")):0,c=a.getElGrid().getBoundingClientRect(),g=n&&(n.classList.contains("apexcharts-candlestick-area")||n.classList.contains("apexcharts-boxPlot-area"));i.globals.isXNumeric?(n&&!g&&(o-=r%2!=0?d/2:0),n&&g&&i.globals.comboCharts&&(o-=d/2)):i.globals.isBarHorizontal||(o=a.xAxisTicksPositions[e-1]+a.dataPointsDividedWidth/2,isNaN(o)&&(o=a.xAxisTicksPositions[e]-a.dataPointsDividedWidth/2)),i.globals.isBarHorizontal?h-=a.tooltipRect.ttHeight:i.config.tooltip.followCursor?h=a.e.clientY-c.top-a.tooltipRect.ttHeight/2:h+a.tooltipRect.ttHeight+15>i.globals.gridHeight&&(h=i.globals.gridHeight),i.globals.isBarHorizontal||this.moveXCrosshairs(o),a.fixedTooltip||this.moveTooltip(o,h||i.globals.gridHeight)}}]),y}(),Et=function(){function y(e){R(this,y),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new rt(e)}return F(y,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new X(this.ctx),i=new ue(this.ctx),a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");a=J(a),e.config.chart.stacked&&a.sort(function(c,g){return parseFloat(c.getAttribute("data:realIndex"))-parseFloat(g.getAttribute("data:realIndex"))});for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w;r.config.chart.type!=="bubble"&&this.newPointSize(e,t);var s=t.getAttribute("cx"),n=t.getAttribute("cy");if(i!==null&&a!==null&&(s=i,n=a),this.tooltipPosition.moveXCrosshairs(s),!this.fixedTooltip){if(r.config.chart.type==="radar"){var o=this.ttCtx.getElGrid().getBoundingClientRect();s=this.ttCtx.e.clientX-o.left}this.tooltipPosition.moveTooltip(s,n,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,i=this,a=this.ttCtx,r=e,s=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),n=t.config.markers.hover.size,o=0;o=0){var a=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],i);e[t].setAttribute("d",a)}else e[t].setAttribute("d","M0,0")}}}]),y}(),Yt=function(){function y(e){R(this,y),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return F(y,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,i=e.opt,a=e.x,r=e.y,s=e.type,n=this.ttCtx,o=this.w;if(t.target.classList.contains("apexcharts-".concat(s,"-rect"))){var h=this.getAttr(t,"i"),d=this.getAttr(t,"j"),c=this.getAttr(t,"cx"),g=this.getAttr(t,"cy"),p=this.getAttr(t,"width"),x=this.getAttr(t,"height");if(n.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:h,j:d,shared:!1,e:t}),o.globals.capturedSeriesIndex=h,o.globals.capturedDataPointIndex=d,a=c+n.tooltipRect.ttWidth/2+p,r=g+n.tooltipRect.ttHeight/2-x/2,n.tooltipPosition.moveXCrosshairs(c+p/2),a>o.globals.gridWidth/2&&(a=c-n.tooltipRect.ttWidth/2+p),n.w.config.tooltip.followCursor){var f=o.globals.dom.elWrap.getBoundingClientRect();a=o.globals.clientX-f.left-(a>o.globals.gridWidth/2?n.tooltipRect.ttWidth:0),r=o.globals.clientY-f.top-(r>o.globals.gridHeight/2?n.tooltipRect.ttHeight:0)}}return{x:a,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,i,a=e.e,r=e.opt,s=e.x,n=e.y,o=this.w,h=this.ttCtx;if(a.target.classList.contains("apexcharts-marker")){var d=parseInt(r.paths.getAttribute("cx"),10),c=parseInt(r.paths.getAttribute("cy"),10),g=parseFloat(r.paths.getAttribute("val"));if(i=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,h.intersect){var p=P.findAncestor(r.paths,"apexcharts-series");p&&(t=parseInt(p.getAttribute("data:realIndex"),10))}if(h.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:i,shared:!h.showOnIntersect&&o.config.tooltip.shared,e:a}),a.type==="mouseup"&&h.markerClick(a,t,i),o.globals.capturedSeriesIndex=t,o.globals.capturedDataPointIndex=i,s=d,n=c+o.globals.translateY-1.4*h.tooltipRect.ttHeight,h.w.config.tooltip.followCursor){var x=h.getElGrid().getBoundingClientRect();n=h.e.clientY+o.globals.translateY-x.top}g<0&&(n=c),h.marker.enlargeCurrentPoint(i,r.paths,s,n)}return{x:s,y:n}}},{key:"handleBarTooltip",value:function(e){var t,i,a=e.e,r=e.opt,s=this.w,n=this.ttCtx,o=n.getElTooltip(),h=0,d=0,c=0,g=this.getBarTooltipXY({e:a,opt:r});t=g.i;var p=g.j;s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=p,s.globals.isBarHorizontal&&n.tooltipUtil.hasBars()||!s.config.tooltip.shared?(d=g.x,c=g.y,i=Array.isArray(s.config.stroke.width)?s.config.stroke.width[t]:s.config.stroke.width,h=d):s.globals.comboCharts||s.config.tooltip.shared||(h/=2),isNaN(c)&&(c=s.globals.svgHeight-n.tooltipRect.ttHeight);var x=parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10);if(s.globals.isMultipleYAxis?s.config.yaxis[x]&&s.config.yaxis[x].reversed:s.config.yaxis[0].reversed,d+n.tooltipRect.ttWidth>s.globals.gridWidth?d-=n.tooltipRect.ttWidth:d<0&&(d=0),n.w.config.tooltip.followCursor){var f=n.getElGrid().getBoundingClientRect();c=n.e.clientY-f.top}n.tooltip===null&&(n.tooltip=s.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),s.config.tooltip.shared||(s.globals.comboBarCount>0?n.tooltipPosition.moveXCrosshairs(h+i/2):n.tooltipPosition.moveXCrosshairs(h)),!n.fixedTooltip&&(!s.config.tooltip.shared||s.globals.isBarHorizontal&&n.tooltipUtil.hasBars())&&(c=c+s.globals.translateY-n.tooltipRect.ttHeight/2,o.style.left=d+s.globals.translateX+"px",o.style.top=c+"px")}},{key:"getBarTooltipXY",value:function(e){var t=this,i=e.e,a=e.opt,r=this.w,s=null,n=this.ttCtx,o=0,h=0,d=0,c=0,g=0,p=i.target.classList;if(p.contains("apexcharts-bar-area")||p.contains("apexcharts-candlestick-area")||p.contains("apexcharts-boxPlot-area")||p.contains("apexcharts-rangebar-area")){var x=i.target,f=x.getBoundingClientRect(),m=a.elGrid.getBoundingClientRect(),v=f.height;g=f.height;var w=f.width,l=parseInt(x.getAttribute("cx"),10),u=parseInt(x.getAttribute("cy"),10);c=parseFloat(x.getAttribute("barWidth"));var b=i.type==="touchmove"?i.touches[0].clientX:i.clientX;s=parseInt(x.getAttribute("j"),10),o=parseInt(x.parentNode.getAttribute("rel"),10)-1;var A=x.getAttribute("data-range-y1"),k=x.getAttribute("data-range-y2");r.globals.comboCharts&&(o=parseInt(x.parentNode.getAttribute("data:realIndex"),10));var S=function(L){return r.globals.isXNumeric?l-w/2:t.isVerticalGroupedRangeBar?l+w/2:l-n.dataPointsDividedWidth+w/2},C=function(){return u-n.dataPointsDividedHeight+v/2-n.tooltipRect.ttHeight/2};n.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:o,j:s,y1:A?parseInt(A,10):null,y2:k?parseInt(k,10):null,shared:!n.showOnIntersect&&r.config.tooltip.shared,e:i}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(h=b-m.left+15,d=C()):(h=S(),d=i.clientY-m.top-n.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((h=l)0&&i.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,i){var a=this.ttCtx,r=this.w,s=r.globals,n=s.seriesYAxisMap[e];if(a.yaxisTooltips[e]&&n.length>0){var o=s.yLabelFormatters[e],h=a.getElGrid().getBoundingClientRect(),d=n[0],c=0;i.yRatio.length>1&&(c=d);var g=(t-h.top)*i.yRatio[c],p=s.maxYArr[d]-s.minYArr[d],x=s.minYArr[d]+(p-g);r.config.yaxis[e].reversed&&(x=s.maxYArr[d]-(p-g)),a.tooltipPosition.moveYCrosshairs(t-h.top),a.yaxisTooltipText[e].innerHTML=o(x),a.tooltipPosition.moveYAxisTooltip(e)}}}]),y}(),nt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new st(this),this.tooltipLabels=new Xt(this),this.tooltipPosition=new rt(this),this.marker=new Et(this),this.intersect=new Yt(this),this.axesTooltip=new Rt(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=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return F(y,[{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(s,n){return!!(s.show&&s.tooltip.enabled&&t.globals.axisCharts)}),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var i=document.createElement("div");if(i.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&i.classList.add(t.config.tooltip.cssClass),i.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(i),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var a=new we(this.ctx);this.xAxisTicksPositions=a.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||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,i.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,i=this.w,a=[],r=this.getElTooltip(),s=function(o){var h=document.createElement("div");h.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(o)),h.style.order=i.config.tooltip.inverseOrder?e-o:o+1;var d=document.createElement("span");d.classList.add("apexcharts-tooltip-marker"),d.style.backgroundColor=i.globals.colors[o],h.appendChild(d);var c=document.createElement("div");c.classList.add("apexcharts-tooltip-text"),c.style.fontFamily=t.tConfig.style.fontFamily||i.config.chart.fontFamily,c.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach(function(g){var p=document.createElement("div");p.classList.add("apexcharts-tooltip-".concat(g,"-group"));var x=document.createElement("span");x.classList.add("apexcharts-tooltip-text-".concat(g,"-label")),p.appendChild(x);var f=document.createElement("span");f.classList.add("apexcharts-tooltip-text-".concat(g,"-value")),p.appendChild(f),c.appendChild(p)}),h.appendChild(c),r.appendChild(h),a.push(h)},n=0;n0&&this.addPathsEventListeners(x,c),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(c)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),i=t.getBoundingClientRect(),a=i.width+10,r=i.height+10,s=this.tConfig.fixed.offsetX,n=this.tConfig.fixed.offsetY,o=this.tConfig.fixed.position.toLowerCase();return o.indexOf("right")>-1&&(s=s+e.globals.svgWidth-a+10),o.indexOf("bottom")>-1&&(n=n+e.globals.svgHeight-r-10),t.style.left=s+"px",t.style.top=n+"px",{x:s,y:n,ttWidth:a,ttHeight:r}}},{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 i=this,a=function(s){var n={paths:e[s],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(o){return e[s].addEventListener(o,i.onSeriesHover.bind(i,n),{capture:!1,passive:!0})})},r=0;r=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout(function(){i.seriesHover(e,t)},100-a))}},{key:"seriesHover",value:function(e,t){var i=this;this.lastHoverTime=Date.now();var a=[],r=this.w;r.config.chart.group&&(a=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||r.globals.dataPoints===0)||(a.length?a.forEach(function(s){var n=i.getElTooltip(s),o={paths:e.paths,tooltipEl:n,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:s.w.globals.tooltip.ttItems};s.w.globals.minX===i.w.globals.minX&&s.w.globals.maxX===i.w.globals.maxX&&s.w.globals.tooltip.seriesHoverByContext({chartCtx:s,ttCtx:s.w.globals.tooltip,opt:o,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,i=e.ttCtx,a=e.opt,r=e.e,s=t.w,n=this.getElTooltip(t);n&&(i.tooltipRect={x:0,y:0,ttWidth:n.getBoundingClientRect().width,ttHeight:n.getBoundingClientRect().height},i.e=r,i.tooltipUtil.hasBars()&&!s.globals.comboCharts&&!i.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new re(t).toggleSeriesOnHover(r,r.target.parentNode),i.fixedTooltip&&i.drawFixedTooltipRect(),s.globals.axisCharts?i.axisChartsTooltips({e:r,opt:a,tooltipRect:i.tooltipRect}):i.nonAxisChartsTooltips({e:r,opt:a,tooltipRect:i.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,i,a=e.e,r=e.opt,s=this.w,n=r.elGrid.getBoundingClientRect(),o=a.type==="touchmove"?a.touches[0].clientX:a.clientX,h=a.type==="touchmove"?a.touches[0].clientY:a.clientY;if(this.clientY=h,this.clientX=o,s.globals.capturedSeriesIndex=-1,s.globals.capturedDataPointIndex=-1,hn.top+n.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!s.config.tooltip.shared){var d=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(d)<0)return void this.handleMouseOut(r)}var c=this.getElTooltip(),g=this.getElXCrosshairs(),p=[];s.config.chart.group&&(p=this.ctx.getSyncedCharts());var x=s.globals.xyCharts||s.config.chart.type==="bar"&&!s.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||s.globals.comboCharts&&this.tooltipUtil.hasBars();if(a.type==="mousemove"||a.type==="touchmove"||a.type==="mouseup"){if(s.globals.collapsedSeries.length+s.globals.ancillaryCollapsedSeries.length===s.globals.series.length)return;g!==null&&g.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter(function(w){return w===!0});if(this.ycrosshairs!==null&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),x&&!this.showOnIntersect||p.length>1)this.handleStickyTooltip(a,o,h,r);else if(s.config.chart.type==="heatmap"||s.config.chart.type==="treemap"){var m=this.intersect.handleHeatTreeTooltip({e:a,opt:r,x:t,y:i,type:s.config.chart.type});t=m.x,i=m.y,c.style.left=t+"px",c.style.top=i+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:a,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:a,opt:r,x:t,y:i});if(this.yaxisTooltips.length)for(var v=0;vh.width)this.handleMouseOut(a);else if(o!==null)this.handleStickyCapturedSeries(e,o,a,n);else if(this.tooltipUtil.isXoverlap(n)||r.globals.isBarHorizontal){var d=r.globals.series.findIndex(function(c,g){return!r.globals.collapsedSeriesIndices.includes(g)});this.create(e,this,d,n,a.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,i,a){var r=this.w;if(!this.tConfig.shared&&r.globals.series[t][a]===null)return void this.handleMouseOut(i);if(r.globals.series[t][a]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(a)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,a,i.ttItems):this.create(e,this,t,a,i.ttItems,!1);else if(this.tooltipUtil.isXoverlap(a)){var s=r.globals.series.findIndex(function(n,o){return!r.globals.collapsedSeriesIndices.includes(o)});this.create(e,this,s,a,i.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new X(this.ctx),i=e.globals.dom.Paper.select(".apexcharts-bar-area"),a=0;a5&&arguments[5]!==void 0?arguments[5]:null,k=this.w,S=t;e.type==="mouseup"&&this.markerClick(e,i,a),A===null&&(A=this.tConfig.shared);var C=this.tooltipUtil.hasMarkers(i),L=this.tooltipUtil.getElBars();if(k.config.legend.tooltipHoverFormatter){var M=k.config.legend.tooltipHoverFormatter,T=Array.from(this.legendLabels);T.forEach(function(q){var Z=q.getAttribute("data:default-text");q.innerHTML=decodeURIComponent(Z)});for(var I=0;I0?S.marker.enlargePoints(a):S.tooltipPosition.moveDynamicPointsOnHover(a);else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(L),this.barSeriesHeight>0)){var B=new X(this.ctx),N=k.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(a,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(a,i);for(var W=0;W0&&t.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(p-=d*k)),A&&(p=p+g.height/2-w/2-2);var C=t.globals.series[i][a]<0,L=o;switch(this.barCtx.isReversed&&(L=o+(C?c:-c)),m.position){case"center":x=A?C?L-c/2+u:L+c/2-u:C?L-c/2+g.height/2+u:L+c/2+g.height/2-u;break;case"bottom":x=A?C?L-c+u:L+c-u:C?L-c+g.height+w+u:L+c-g.height/2+w-u;break;case"top":x=A?C?L+u:L-u:C?L-g.height/2-u:L+g.height+u}if(this.barCtx.lastActiveBarSerieIndex===r&&v.enabled){var M=new X(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:r,j:a}),f.fontSize);s=C?L-M.height/2-u-v.offsetY+18:L+M.height+u+v.offsetY-18;var T=S;n=b+(t.globals.isXNumeric?-d*t.globals.barGroups.length/2:t.globals.barGroups.length*d/2-(t.globals.barGroups.length-1)*d-T)+v.offsetX}return t.config.chart.stacked||(x<0?x=0+w:x+g.height/3>t.globals.gridHeight&&(x=t.globals.gridHeight-w)),{bcx:h,bcy:o,dataLabelsX:p,dataLabelsY:x,totalDataLabelsX:n,totalDataLabelsY:s,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,i=e.x,a=e.i,r=e.j,s=e.realIndex,n=e.bcy,o=e.barHeight,h=e.barWidth,d=e.textRects,c=e.dataLabelsX,g=e.strokeWidth,p=e.dataLabelsConfig,x=e.barDataLabelsConfig,f=e.barTotalDataLabelsConfig,m=e.offX,v=e.offY,w=t.globals.gridHeight/t.globals.dataPoints;h=Math.abs(h);var l,u,b=n-(this.barCtx.isRangeBar?0:w)+o/2+d.height/2+v-3,A="start",k=t.globals.series[a][r]<0,S=i;switch(this.barCtx.isReversed&&(S=i+(k?-h:h),A=k?"start":"end"),x.position){case"center":c=k?S+h/2-m:Math.max(d.width/2,S-h/2)+m;break;case"bottom":c=k?S+h-g-m:S-h+g+m;break;case"top":c=k?S-g-m:S-g+m}if(this.barCtx.lastActiveBarSerieIndex===s&&f.enabled){var C=new X(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:s,j:r}),p.fontSize);k?(l=S-g-m-f.offsetX,A="end"):l=S+m+f.offsetX+(this.barCtx.isReversed?-(h+g):g),u=b-d.height/2+C.height/2+f.offsetY+g}return t.config.chart.stacked||(p.textAnchor==="start"?c-d.width<0?c=k?d.width+g:g:c+d.width>t.globals.gridWidth&&(c=k?t.globals.gridWidth-g:t.globals.gridWidth-d.width-g):p.textAnchor==="middle"?c-d.width/2<0?c=d.width/2+g:c+d.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-d.width/2-g):p.textAnchor==="end"&&(c<1?c=d.width+g:c+1>t.globals.gridWidth&&(c=t.globals.gridWidth-d.width-g))),{bcx:i,bcy:n,dataLabelsX:c,dataLabelsY:b,totalDataLabelsX:l,totalDataLabelsY:u,totalDataLabelsAnchor:A}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,i=e.y,a=e.val,r=e.i,s=e.j,n=e.textRects,o=e.barHeight,h=e.barWidth,d=e.dataLabelsConfig,c=this.w,g="rotate(0)";c.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(g="rotate(-90, ".concat(t,", ").concat(i,")"));var p=new pe(this.barCtx.ctx),x=new X(this.barCtx.ctx),f=d.formatter,m=null,v=c.globals.collapsedSeriesIndices.indexOf(r)>-1;if(d.enabled&&!v){m=x.group({class:"apexcharts-data-labels",transform:g});var w="";a!==void 0&&(w=f(a,E(E({},c),{},{seriesIndex:r,dataPointIndex:s,w:c}))),!a&&c.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(w="");var l=c.globals.series[r][s]<0,u=c.config.plotOptions.bar.dataLabels.position;c.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(u==="top"&&(d.textAnchor=l?"end":"start"),u==="center"&&(d.textAnchor="middle"),u==="bottom"&&(d.textAnchor=l?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&hMath.abs(h)&&(w=""):n.height/1.6>Math.abs(o)&&(w=""));var b=E({},d);this.barCtx.isHorizontal&&a<0&&(d.textAnchor==="start"?b.textAnchor="end":d.textAnchor==="end"&&(b.textAnchor="start")),p.plotDataLabelsText({x:t,y:i,text:w,i:r,j:s,parent:m,dataLabelsConfig:b,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,i=e.y,a=e.val,r=e.realIndex,s=e.textAnchor,n=e.barTotalDataLabelsConfig;this.w;var o,h=new X(this.barCtx.ctx);return n.enabled&&t!==void 0&&i!==void 0&&this.barCtx.lastActiveBarSerieIndex===r&&(o=h.drawText({x:t,y:i,foreColor:n.style.color,text:a,textAnchor:s,fontFamily:n.style.fontFamily,fontSize:n.style.fontSize,fontWeight:n.style.fontWeight})),o}}]),y}(),Dt=function(){function y(e){R(this,y),this.w=e.w,this.barCtx=e}return F(y,[{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 i=0;i0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[i].length),t.globals.isXNumeric)for(var a=0;at.globals.minX&&t.globals.seriesX[i][a]0&&(a=h.globals.minXDiff/g),(s=a/c*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(s=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(s=parseInt(this.barCtx.barOptions.columnWidth,10)),n=h.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?h.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),e=h.globals.padHorizontal+(a-s*this.barCtx.seriesLen)/2}return h.globals.barHeight=r,h.globals.barWidth=s,{x:e,y:t,yDivision:i,xDivision:a,barHeight:r,barWidth:s,zeroH:n,zeroW:o}}},{key:"initializeStackedPrevVars",value:function(e){e.w.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=[]})}},{key:"initializeStackedXYVars",value:function(e){e.w.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=[]})}},{key:"getPathFillColor",value:function(e,t,i,a){var r,s,n,o,h,d=this.w,c=this.barCtx.ctx.fill,g=null,p=this.barCtx.barOptions.distributed?i:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map(function(x){e[t][i]>=x.from&&e[t][i]<=x.to&&(g=x.color)}),(r=d.config.series[t].data[i])!==null&&r!==void 0&&r.fillColor&&(g=d.config.series[t].data[i].fillColor),c.fillPath({seriesNumber:this.barCtx.barOptions.distributed?p:a,dataPointIndex:i,color:g,value:e[t][i],fillConfig:(s=d.config.series[t].data[i])===null||s===void 0?void 0:s.fill,fillType:(n=d.config.series[t].data[i])!==null&&n!==void 0&&(o=n.fill)!==null&&o!==void 0&&o.type?(h=d.config.series[t].data[i])===null||h===void 0?void 0:h.fill.type:Array.isArray(d.config.fill.type)?d.config.fill.type[a]:d.config.fill.type})}},{key:"getStrokeWidth",value:function(e,t,i){var a=0,r=this.w;return this.barCtx.series[e][t]?this.barCtx.isNullValue=!1:this.barCtx.isNullValue=!0,r.config.stroke.show&&(this.barCtx.isNullValue||(a=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[i]:this.barCtx.strokeWidth)),a}},{key:"createBorderRadiusArr",value:function(e){var t=this.w,i=!this.w.config.chart.stacked||t.config.plotOptions.bar.borderRadiusWhenStacked!=="last"||t.config.plotOptions.bar.borderRadius<=0,a=e.length,r=e[0].length,s=Array.from({length:a},function(){return Array(r).fill(i?"top":"none")});if(i)return s;for(var n=0;n0?(o.push(c),d++):g<0&&(h.push(c),d++)}if(o.length>0&&h.length===0)if(o.length===1)s[o[0]][n]="both";else{var p,x=o[0],f=o[o.length-1],m=Ae(o);try{for(m.s();!(p=m.n()).done;){var v=p.value;s[v][n]=v===x?"bottom":v===f?"top":"none"}}catch(Y){m.e(Y)}finally{m.f()}}else if(h.length>0&&o.length===0)if(h.length===1)s[h[0]][n]="both";else{var w,l=h[0],u=h[h.length-1],b=Ae(h);try{for(b.s();!(w=b.n()).done;){var A=w.value;s[A][n]=A===l?"bottom":A===u?"top":"none"}}catch(Y){b.e(Y)}finally{b.f()}}else if(o.length>0&&h.length>0){var k,S=o[o.length-1],C=Ae(o);try{for(C.s();!(k=C.n()).done;){var L=k.value;s[L][n]=L===S?"top":"none"}}catch(Y){C.e(Y)}finally{C.f()}var M,T=h[h.length-1],I=Ae(h);try{for(I.s();!(M=I.n()).done;){var z=M.value;s[z][n]=z===T?"bottom":"none"}}catch(Y){I.e(Y)}finally{I.f()}}else d===1&&(s[o[0]||h[0]][n]="both")}return s}},{key:"barBackground",value:function(e){var t=e.j,i=e.i,a=e.x1,r=e.x2,s=e.y1,n=e.y2,o=e.elSeries,h=this.w,d=new X(this.barCtx.ctx),c=new re(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&c===i){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var g=this.barCtx.barOptions.colors.backgroundBarColors[t],p=d.drawRect(a!==void 0?a:0,s!==void 0?s:0,r!==void 0?r:h.globals.gridWidth,n!==void 0?n:h.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,g,this.barCtx.barOptions.colors.backgroundBarOpacity);o.add(p),p.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,i=e.barWidth,a=e.barXPosition,r=e.y1,s=e.y2,n=e.strokeWidth,o=e.isReversed,h=e.series,d=e.seriesGroup,c=e.realIndex,g=e.i,p=e.j,x=e.w,f=new X(this.barCtx.ctx);(n=Array.isArray(n)?n[c]:n)||(n=0);var m=i,v=a;(t=x.config.series[c].data[p])!==null&&t!==void 0&&t.columnWidthOffset&&(v=a-x.config.series[c].data[p].columnWidthOffset/2,m=i+x.config.series[c].data[p].columnWidthOffset);var w=n/2,l=v+w,u=v+m-w,b=(h[g][p]>=0?1:-1)*(o?-1:1);r+=.001-w*b,s+=.001+w*b;var A=f.move(l,r),k=f.move(l,r),S=f.line(u,r);if(x.globals.previousPaths.length>0&&(k=this.barCtx.getPreviousPath(c,p,!1)),A=A+f.line(l,s)+f.line(u,s)+S+(x.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[c][p]==="both"?" Z":" z"),k=k+f.line(l,r)+S+S+S+S+S+f.line(l,r)+(x.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[c][p]==="both"?" Z":" z"),this.arrBorderRadius[c][p]!=="none"&&(A=f.roundPathCorners(A,x.config.plotOptions.bar.borderRadius)),x.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[d]).yArrj.push(s-w*b),C.yArrjF.push(Math.abs(r-s+n*b)),C.yArrjVal.push(this.barCtx.series[g][p])}return{pathTo:A,pathFrom:k}}},{key:"getBarpaths",value:function(e){var t,i=e.barYPosition,a=e.barHeight,r=e.x1,s=e.x2,n=e.strokeWidth,o=e.isReversed,h=e.series,d=e.seriesGroup,c=e.realIndex,g=e.i,p=e.j,x=e.w,f=new X(this.barCtx.ctx);(n=Array.isArray(n)?n[c]:n)||(n=0);var m=i,v=a;(t=x.config.series[c].data[p])!==null&&t!==void 0&&t.barHeightOffset&&(m=i-x.config.series[c].data[p].barHeightOffset/2,v=a+x.config.series[c].data[p].barHeightOffset);var w=n/2,l=m+w,u=m+v-w,b=(h[g][p]>=0?1:-1)*(o?-1:1);r+=.001+w*b,s+=.001-w*b;var A=f.move(r,l),k=f.move(r,l);x.globals.previousPaths.length>0&&(k=this.barCtx.getPreviousPath(c,p,!1));var S=f.line(r,u);if(A=A+f.line(s,l)+f.line(s,u)+S+(x.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[c][p]==="both"?" Z":" z"),k=k+f.line(r,l)+S+S+S+S+S+f.line(r,l)+(x.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[c][p]==="both"?" Z":" z"),this.arrBorderRadius[c][p]!=="none"&&(A=f.roundPathCorners(A,x.config.plotOptions.bar.borderRadius)),x.config.chart.stacked){var C=this.barCtx;(C=this.barCtx[d]).xArrj.push(s+w*b),C.xArrjF.push(Math.abs(r-s-n*b)),C.xArrjVal.push(this.barCtx.series[g][p])}return{pathTo:A,pathFrom:k}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,i=this.w,a=0;a2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(i=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),i}},{key:"getYForValue",value:function(e,t,i){var a=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?t:null;return e!=null&&(a=t-e/this.barCtx.yRatio[i]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[i]:0)),a}},{key:"getGoalValues",value:function(e,t,i,a,r,s){var n=this,o=this.w,h=[],d=function(p,x){var f;h.push((Se(f={},e,e==="x"?n.getXForValue(p,t,!1):n.getYForValue(p,i,s,!1)),Se(f,"attrs",x),f))};if(o.globals.seriesGoals[a]&&o.globals.seriesGoals[a][r]&&Array.isArray(o.globals.seriesGoals[a][r])&&o.globals.seriesGoals[a][r].forEach(function(p){d(p.value,p)}),this.barCtx.barOptions.isDumbbell&&o.globals.seriesRange.length){var c=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:o.globals.colors,g={strokeHeight:e==="x"?0:o.globals.markers.size[a],strokeWidth:e==="x"?o.globals.markers.size[a]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(c[a])?c[a][0]:c[a]};d(o.globals.seriesRangeStart[a][r],g),d(o.globals.seriesRangeEnd[a][r],E(E({},g),{},{strokeColor:Array.isArray(c[a])?c[a][1]:c[a]}))}return h}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,i=e.barYPosition,a=e.goalX,r=e.goalY,s=e.barWidth,n=e.barHeight,o=new X(this.barCtx.ctx),h=o.group({className:"apexcharts-bar-goals-groups"});h.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:h.node}),h.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var d=null;return this.barCtx.isHorizontal?Array.isArray(a)&&a.forEach(function(c){if(c.x>=-1&&c.x<=o.w.globals.gridWidth+1){var g=c.attrs.strokeHeight!==void 0?c.attrs.strokeHeight:n/2,p=i+g+n/2;d=o.drawLine(c.x,p-2*g,c.x,p,c.attrs.strokeColor?c.attrs.strokeColor:void 0,c.attrs.strokeDashArray,c.attrs.strokeWidth?c.attrs.strokeWidth:2,c.attrs.strokeLineCap),h.add(d)}}):Array.isArray(r)&&r.forEach(function(c){if(c.y>=-1&&c.y<=o.w.globals.gridHeight+1){var g=c.attrs.strokeWidth!==void 0?c.attrs.strokeWidth:s/2,p=t+g+s/2;d=o.drawLine(p-2*g,c.y,p,c.y,c.attrs.strokeColor?c.attrs.strokeColor:void 0,c.attrs.strokeDashArray,c.attrs.strokeHeight?c.attrs.strokeHeight:2,c.attrs.strokeLineCap),h.add(d)}}),h}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,i=e.currPaths,a=e.color,r=this.w,s=t.x,n=t.x1,o=t.barYPosition,h=i.x,d=i.x1,c=i.barYPosition,g=o+i.barHeight,p=new X(this.barCtx.ctx),x=new P,f=p.move(n,g)+p.line(s,g)+p.line(h,c)+p.line(d,c)+p.line(n,g)+(r.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[realIndex][j]==="both"?" Z":" z");return p.drawPath({d:f,fill:x.shadeColor(.5,P.rgb2hex(a)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadows"})}},{key:"getZeroValueEncounters",value:function(e){var t,i=e.i,a=e.j,r=this.w,s=0,n=0;return(r.config.plotOptions.bar.horizontal?r.globals.series.map(function(o,h){return h}):((t=r.globals.columnSeries)===null||t===void 0?void 0:t.i.map(function(o){return o}))||[]).forEach(function(o){var h=r.globals.seriesPercent[o][a];h&&s++,o-1}),a=this.barCtx.columnGroupIndices,r=a.indexOf(i);return r<0&&(a.push(i),r=a.length-1),{groupIndex:i,columnGroupIndex:r}}}]),y}(),fe=function(){function y(e,t){R(this,y),this.ctx=e,this.w=e.w;var i=this.w;this.barOptions=i.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=i.config.stroke.width,this.isNullValue=!1,this.isRangeBar=i.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!i.globals.isBarHorizontal&&i.globals.seriesRange.length&&i.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var a=new re(this.ctx);this.lastActiveBarSerieIndex=a.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var r=a.getBarSeriesIndices(),s=new $(this.ctx);this.stackedSeriesTotals=s.getStackedSeriesTotals(this.w.config.series.map(function(n,o){return r.indexOf(o)===-1?o:-1}).filter(function(n){return n!==-1})),this.barHelpers=new Dt(this)}return F(y,[{key:"draw",value:function(e,t){var i=this.w,a=new X(this.ctx),r=new $(this.ctx,i);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var s=a.group({class:"apexcharts-bar-series apexcharts-plot-series"});i.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 - ApexCharts");for(var n=0,o=0;n0&&(this.visibleI=this.visibleI+1);var u=0,b=0;this.yRatio.length>1&&(this.yaxisIndex=i.globals.seriesYAxisReverseMap[v],this.translationsIndex=v);var A=this.translationsIndex;this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var k=this.barHelpers.initialPositions();x=k.y,u=k.barHeight,d=k.yDivision,g=k.zeroW,p=k.x,b=k.barWidth,h=k.xDivision,c=k.zeroH,this.horizontal||m.push(p+b/2);var S=a.group({class:"apexcharts-datalabels","data:realIndex":v});i.globals.delayedElements.push({el:S.node}),S.node.classList.add("apexcharts-element-hidden");var C=a.group({class:"apexcharts-bar-goals-markers"}),L=a.group({class:"apexcharts-bar-shadows"});i.globals.delayedElements.push({el:L.node}),L.node.classList.add("apexcharts-element-hidden");for(var M=0;M0){var D=this.barHelpers.drawBarShadow({color:typeof Y=="string"&&(Y==null?void 0:Y.indexOf("url"))===-1?Y:P.hexToRgba(i.globals.colors[n]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:I});D&&L.add(D)}this.pathArr.push(I);var H=this.barHelpers.drawGoalLine({barXPosition:I.barXPosition,barYPosition:I.barYPosition,goalX:I.goalX,goalY:I.goalY,barHeight:u,barWidth:b});H&&C.add(H),x=I.y,p=I.x,M>0&&m.push(p+b/2),f.push(x),this.renderSeries({realIndex:v,pathFill:Y,j:M,i:n,columnGroupIndex:w,pathFrom:I.pathFrom,pathTo:I.pathTo,strokeWidth:T,elSeries:l,x:p,y:x,series:e,barHeight:Math.abs(I.barHeight?I.barHeight:u),barWidth:Math.abs(I.barWidth?I.barWidth:b),elDataLabelsWrap:S,elGoalsMarkers:C,elBarShadows:L,visibleSeries:this.visibleI,type:"bar"})}i.globals.seriesXvalues[v]=m,i.globals.seriesYvalues[v]=f,s.add(l)}return s}},{key:"renderSeries",value:function(e){var t=e.realIndex,i=e.pathFill,a=e.lineFill,r=e.j,s=e.i,n=e.columnGroupIndex,o=e.pathFrom,h=e.pathTo,d=e.strokeWidth,c=e.elSeries,g=e.x,p=e.y,x=e.y1,f=e.y2,m=e.series,v=e.barHeight,w=e.barWidth,l=e.barXPosition,u=e.barYPosition,b=e.elDataLabelsWrap,A=e.elGoalsMarkers,k=e.elBarShadows,S=e.visibleSeries,C=e.type,L=e.classes,M=this.w,T=new X(this.ctx);if(!a){var I=typeof M.globals.stroke.colors[t]=="function"?function(O){var B,N=M.config.stroke.colors;return Array.isArray(N)&&N.length>0&&((B=N[O])||(B=""),typeof B=="function")?B({value:M.globals.series[O][r],dataPointIndex:r,w:M}):B}(t):M.globals.stroke.colors[t];a=this.barOptions.distributed?M.globals.stroke.colors[r]:I}M.config.series[s].data[r]&&M.config.series[s].data[r].strokeColor&&(a=M.config.series[s].data[r].strokeColor),this.isNullValue&&(i="none");var z=r/M.config.chart.animations.animateGradually.delay*(M.config.chart.animations.speed/M.globals.dataPoints)/2.4,Y=T.renderPaths({i:s,j:r,realIndex:t,pathFrom:o,pathTo:h,stroke:a,strokeWidth:d,strokeLineCap:M.config.stroke.lineCap,fill:i,animationDelay:z,initialSpeed:M.config.chart.animations.speed,dataChangeSpeed:M.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(C,"-area ").concat(L),chartType:C});Y.attr("clip-path","url(#gridRectBarMask".concat(M.globals.cuid,")"));var D=M.config.forecastDataPoints;D.count>0&&r>=M.globals.dataPoints-D.count&&(Y.node.setAttribute("stroke-dasharray",D.dashArray),Y.node.setAttribute("stroke-width",D.strokeWidth),Y.node.setAttribute("fill-opacity",D.fillOpacity)),x!==void 0&&f!==void 0&&(Y.attr("data-range-y1",x),Y.attr("data-range-y2",f)),new ee(this.ctx).setSelectionFilter(Y,t,r),c.add(Y);var H=new Ft(this).handleBarDataLabels({x:g,y:p,y1:x,y2:f,i:s,j:r,series:m,realIndex:t,columnGroupIndex:n,barHeight:v,barWidth:w,barXPosition:l,barYPosition:u,renderedPath:Y,visibleSeries:S});return H.dataLabels!==null&&b.add(H.dataLabels),H.totalDataLabels&&b.add(H.totalDataLabels),c.add(b),A&&c.add(A),k&&c.add(k),c}},{key:"drawBarPaths",value:function(e){var t,i=e.indexes,a=e.barHeight,r=e.strokeWidth,s=e.zeroW,n=e.x,o=e.y,h=e.yDivision,d=e.elSeries,c=this.w,g=i.i,p=i.j;if(c.globals.isXNumeric)t=(o=(c.globals.seriesX[g][p]-c.globals.minX)/this.invertedXRatio-a)+a*this.visibleI;else if(c.config.plotOptions.bar.hideZeroBarsWhenGrouped){var x=0,f=0;c.globals.seriesPercent.forEach(function(v,w){v[p]&&x++,w0&&(a=this.seriesLen*a/x),t=o+a*this.visibleI,t-=a*f}else t=o+a*this.visibleI;this.isFunnel&&(s-=(this.barHelpers.getXForValue(this.series[g][p],s)-s)/2),n=this.barHelpers.getXForValue(this.series[g][p],s);var m=this.barHelpers.getBarpaths({barYPosition:t,barHeight:a,x1:s,x2:n,strokeWidth:r,isReversed:this.isReversed,series:this.series,realIndex:i.realIndex,i:g,j:p,w:c});return c.globals.isXNumeric||(o+=h),this.barHelpers.barBackground({j:p,i:g,y1:t-a*this.visibleI,y2:a*this.seriesLen,elSeries:d}),{pathTo:m.pathTo,pathFrom:m.pathFrom,x1:s,x:n,y:o,goalX:this.barHelpers.getGoalValues("x",s,null,g,p),barYPosition:t,barHeight:a}}},{key:"drawColumnPaths",value:function(e){var t,i=e.indexes,a=e.x,r=e.y,s=e.xDivision,n=e.barWidth,o=e.zeroH,h=e.strokeWidth,d=e.elSeries,c=this.w,g=i.realIndex,p=i.translationsIndex,x=i.i,f=i.j,m=i.bc;if(c.globals.isXNumeric){var v=this.getBarXForNumericXAxis({x:a,j:f,realIndex:g,barWidth:n});a=v.x,t=v.barXPosition}else if(c.config.plotOptions.bar.hideZeroBarsWhenGrouped){var w=this.barHelpers.getZeroValueEncounters({i:x,j:f}),l=w.nonZeroColumns,u=w.zeroEncounters;l>0&&(n=this.seriesLen*n/l),t=a+n*this.visibleI,t-=n*u}else t=a+n*this.visibleI;r=this.barHelpers.getYForValue(this.series[x][f],o,p);var b=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:n,y1:o,y2:r,strokeWidth:h,isReversed:this.isReversed,series:this.series,realIndex:g,i:x,j:f,w:c});return c.globals.isXNumeric||(a+=s),this.barHelpers.barBackground({bc:m,j:f,i:x,x1:t-h/2-n*this.visibleI,x2:n*this.seriesLen+h/2,elSeries:d}),{pathTo:b.pathTo,pathFrom:b.pathFrom,x:a,y:r,goalY:this.barHelpers.getGoalValues("y",null,o,x,f,p),barXPosition:t,barWidth:n}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,i=e.barWidth,a=e.realIndex,r=e.j,s=this.w,n=a;return s.globals.seriesX[a].length||(n=s.globals.maxValsInArrayIndex),s.globals.seriesX[n][r]&&(t=(s.globals.seriesX[n][r]-s.globals.minX)/this.xRatio-i*this.seriesLen/2),{barXPosition:t+i*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var i,a=this.w,r=0;r0&&parseInt(s.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[r].paths[t]!==void 0&&(i=a.globals.previousPaths[r].paths[t].d)}return i}}]),y}(),ot=function(y){be(t,fe);var e=xe(t);function t(){return R(this,t),e.apply(this,arguments)}return F(t,[{key:"draw",value:function(i,a){var r=this,s=this.w;this.graphics=new X(this.ctx),this.bar=new fe(this.ctx,this.xyRatios);var n=new $(this.ctx,s);i=n.getLogSeries(i),this.yRatio=n.getLogYRatios(this.yRatio),this.barHelpers.initVariables(i),s.config.chart.stackType==="100%"&&(i=s.globals.comboCharts?a.map(function(x){return s.globals.seriesPercent[x]}):s.globals.seriesPercent.slice()),this.series=i,this.barHelpers.initializeStackedPrevVars(this);for(var o=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),h=0,d=0,c=function(x,f){var m=void 0,v=void 0,w=void 0,l=void 0,u=s.globals.comboCharts?a[x]:x,b=r.barHelpers.getGroupIndex(u),A=b.groupIndex,k=b.columnGroupIndex;r.groupCtx=r[s.globals.seriesGroups[A]];var S=[],C=[],L=0;r.yRatio.length>1&&(r.yaxisIndex=s.globals.seriesYAxisReverseMap[u][0],L=u),r.isReversed=s.config.yaxis[r.yaxisIndex]&&s.config.yaxis[r.yaxisIndex].reversed;var M=r.graphics.group({class:"apexcharts-series",seriesName:P.escapeString(s.globals.seriesNames[u]),rel:x+1,"data:realIndex":u});r.ctx.series.addCollapsedClassToSeries(M,u);var T=r.graphics.group({class:"apexcharts-datalabels","data:realIndex":u}),I=r.graphics.group({class:"apexcharts-bar-goals-markers"}),z=0,Y=0,D=r.initialPositions(h,d,m,v,w,l,L);d=D.y,z=D.barHeight,v=D.yDivision,l=D.zeroW,h=D.x,Y=D.barWidth,m=D.xDivision,w=D.zeroH,s.globals.barHeight=z,s.globals.barWidth=Y,r.barHelpers.initializeStackedXYVars(r),r.groupCtx.prevY.length===1&&r.groupCtx.prevY[0].every(function(U){return isNaN(U)})&&(r.groupCtx.prevY[0]=r.groupCtx.prevY[0].map(function(){return w}),r.groupCtx.prevYF[0]=r.groupCtx.prevYF[0].map(function(){return 0}));for(var H=0;H0&&(Z="apexcharts-flip-x"):r.barHelpers.arrBorderRadius[u][H]==="bottom"&&s.globals.series[u][H]>0&&(Z="apexcharts-flip-y"),M=r.renderSeries({realIndex:u,pathFill:q,j:H,i:x,columnGroupIndex:k,pathFrom:N.pathFrom,pathTo:N.pathTo,strokeWidth:O,elSeries:M,x:h,y:d,series:i,barHeight:z,barWidth:Y,elDataLabelsWrap:T,elGoalsMarkers:I,type:"bar",visibleSeries:k,classes:Z})}s.globals.seriesXvalues[u]=S,s.globals.seriesYvalues[u]=C,r.groupCtx.prevY.push(r.groupCtx.yArrj),r.groupCtx.prevYF.push(r.groupCtx.yArrjF),r.groupCtx.prevYVal.push(r.groupCtx.yArrjVal),r.groupCtx.prevX.push(r.groupCtx.xArrj),r.groupCtx.prevXF.push(r.groupCtx.xArrjF),r.groupCtx.prevXVal.push(r.groupCtx.xArrjVal),o.add(M)},g=0,p=0;g1?c=(r=g.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:String(x).indexOf("%")===-1?c=parseInt(x,10):c*=parseInt(x,10)/100,n=this.isReversed?this.baseLineY[h]:g.globals.gridHeight-this.baseLineY[h],i=g.globals.padHorizontal+(r-c)/2}var f=g.globals.barGroups.length||1;return{x:i,y:a,yDivision:s,xDivision:r,barHeight:d/f,barWidth:c/f,zeroH:n,zeroW:o}}},{key:"drawStackedBarPaths",value:function(i){for(var a,r=i.indexes,s=i.barHeight,n=i.strokeWidth,o=i.zeroW,h=i.x,d=i.y,c=i.columnGroupIndex,g=i.seriesGroup,p=i.yDivision,x=i.elSeries,f=this.w,m=d+c*s,v=r.i,w=r.j,l=r.realIndex,u=r.translationsIndex,b=0,A=0;A0){var S=o;this.groupCtx.prevXVal[k-1][w]<0?S=this.series[v][w]>=0?this.groupCtx.prevX[k-1][w]+b-2*(this.isReversed?b:0):this.groupCtx.prevX[k-1][w]:this.groupCtx.prevXVal[k-1][w]>=0&&(S=this.series[v][w]>=0?this.groupCtx.prevX[k-1][w]:this.groupCtx.prevX[k-1][w]-b+2*(this.isReversed?b:0)),a=S}else a=o;h=this.series[v][w]===null?a:a+this.series[v][w]/this.invertedYRatio-2*(this.isReversed?this.series[v][w]/this.invertedYRatio:0);var C=this.barHelpers.getBarpaths({barYPosition:m,barHeight:s,x1:a,x2:h,strokeWidth:n,isReversed:this.isReversed,series:this.series,realIndex:r.realIndex,seriesGroup:g,i:v,j:w,w:f});return this.barHelpers.barBackground({j:w,i:v,y1:m,y2:s,elSeries:x}),d+=p,{pathTo:C.pathTo,pathFrom:C.pathFrom,goalX:this.barHelpers.getGoalValues("x",o,null,v,w,u),barXPosition:a,barYPosition:m,x:h,y:d}}},{key:"drawStackedColumnPaths",value:function(i){var a=i.indexes,r=i.x,s=i.y,n=i.xDivision,o=i.barWidth,h=i.zeroH,d=i.columnGroupIndex,c=i.seriesGroup,g=i.elSeries,p=this.w,x=a.i,f=a.j,m=a.bc,v=a.realIndex,w=a.translationsIndex;if(p.globals.isXNumeric){var l=p.globals.seriesX[v][f];l||(l=0),r=(l-p.globals.minX)/this.xRatio-o/2*p.globals.barGroups.length}for(var u,b=r+d*o,A=0,k=0;k0&&!p.globals.isXNumeric||S>0&&p.globals.isXNumeric&&p.globals.seriesX[v-1][f]===p.globals.seriesX[v][f]){var C,L,M,T=Math.min(this.yRatio.length+1,v+1);if(this.groupCtx.prevY[S-1]!==void 0&&this.groupCtx.prevY[S-1].length)for(var I=1;I=0?M-A+2*(this.isReversed?A:0):M;break}if(((H=this.groupCtx.prevYVal[S-Y])===null||H===void 0?void 0:H[f])>=0){L=this.series[x][f]>=0?M:M+A-2*(this.isReversed?A:0);break}}L===void 0&&(L=p.globals.gridHeight),u=(C=this.groupCtx.prevYF[0])!==null&&C!==void 0&&C.every(function(B){return B===0})&&this.groupCtx.prevYF.slice(1,S).every(function(B){return B.every(function(N){return isNaN(N)})})?h:L}else u=h;s=this.series[x][f]?u-this.series[x][f]/this.yRatio[w]+2*(this.isReversed?this.series[x][f]/this.yRatio[w]:0):u;var O=this.barHelpers.getColumnPaths({barXPosition:b,barWidth:o,y1:u,y2:s,yRatio:this.yRatio[w],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:c,realIndex:a.realIndex,i:x,j:f,w:p});return this.barHelpers.barBackground({bc:m,j:f,i:x,x1:b,x2:o,elSeries:g}),{pathTo:O.pathTo,pathFrom:O.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,h,x,f),barXPosition:b,x:p.globals.isXNumeric?r:r+n,y:s}}}]),t}(),Oe=function(y){be(t,fe);var e=xe(t);function t(){return R(this,t),e.apply(this,arguments)}return F(t,[{key:"draw",value:function(i,a,r){var s=this,n=this.w,o=new X(this.ctx),h=n.globals.comboCharts?a:n.config.chart.type,d=new ne(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=n.config.plotOptions.bar.horizontal;var c=new $(this.ctx,n);i=c.getLogSeries(i),this.series=i,this.yRatio=c.getLogYRatios(this.yRatio),this.barHelpers.initVariables(i);for(var g=o.group({class:"apexcharts-".concat(h,"-series apexcharts-plot-series")}),p=function(f){s.isBoxPlot=n.config.chart.type==="boxPlot"||n.config.series[f].type==="boxPlot";var m,v,w,l,u=void 0,b=void 0,A=[],k=[],S=n.globals.comboCharts?r[f]:f,C=s.barHelpers.getGroupIndex(S).columnGroupIndex,L=o.group({class:"apexcharts-series",seriesName:P.escapeString(n.globals.seriesNames[S]),rel:f+1,"data:realIndex":S});s.ctx.series.addCollapsedClassToSeries(L,S),i[f].length>0&&(s.visibleI=s.visibleI+1);var M,T,I=0;s.yRatio.length>1&&(s.yaxisIndex=n.globals.seriesYAxisReverseMap[S][0],I=S);var z=s.barHelpers.initialPositions();b=z.y,M=z.barHeight,v=z.yDivision,l=z.zeroW,u=z.x,T=z.barWidth,m=z.xDivision,w=z.zeroH,k.push(u+T/2);for(var Y=o.group({class:"apexcharts-datalabels","data:realIndex":S}),D=function(O){var B=s.barHelpers.getStrokeWidth(f,O,S),N=null,W={indexes:{i:f,j:O,realIndex:S,translationsIndex:I},x:u,y:b,strokeWidth:B,elSeries:L};N=s.isHorizontal?s.drawHorizontalBoxPaths(E(E({},W),{},{yDivision:v,barHeight:M,zeroW:l})):s.drawVerticalBoxPaths(E(E({},W),{},{xDivision:m,barWidth:T,zeroH:w})),b=N.y,u=N.x,O>0&&k.push(u+T/2),A.push(b),N.pathTo.forEach(function(q,Z){var U=!s.isBoxPlot&&s.candlestickOptions.wick.useFillColor?N.color[Z]:n.globals.stroke.colors[f],se=d.fillPath({seriesNumber:S,dataPointIndex:O,color:N.color[Z],value:i[f][O]});s.renderSeries({realIndex:S,pathFill:se,lineFill:U,j:O,i:f,pathFrom:N.pathFrom,pathTo:q,strokeWidth:B,elSeries:L,x:u,y:b,series:i,columnGroupIndex:C,barHeight:M,barWidth:T,elDataLabelsWrap:Y,visibleSeries:s.visibleI,type:n.config.chart.type})})},H=0;Hu.c&&(x=!1);var k=Math.min(u.o,u.c),S=Math.max(u.o,u.c),C=u.m;d.globals.isXNumeric&&(r=(d.globals.seriesX[l][p]-d.globals.minX)/this.xRatio-n/2);var L=r+n*this.visibleI;this.series[g][p]===void 0||this.series[g][p]===null?(k=o,S=o):(k=o-k/w,S=o-S/w,b=o-u.h/w,A=o-u.l/w,C=o-u.m/w);var M=c.move(L,o),T=c.move(L+n/2,k);return d.globals.previousPaths.length>0&&(T=this.getPreviousPath(l,p,!0)),M=this.isBoxPlot?[c.move(L,k)+c.line(L+n/2,k)+c.line(L+n/2,b)+c.line(L+n/4,b)+c.line(L+n-n/4,b)+c.line(L+n/2,b)+c.line(L+n/2,k)+c.line(L+n,k)+c.line(L+n,C)+c.line(L,C)+c.line(L,k+h/2),c.move(L,C)+c.line(L+n,C)+c.line(L+n,S)+c.line(L+n/2,S)+c.line(L+n/2,A)+c.line(L+n-n/4,A)+c.line(L+n/4,A)+c.line(L+n/2,A)+c.line(L+n/2,S)+c.line(L,S)+c.line(L,C)+"z"]:[c.move(L,S)+c.line(L+n/2,S)+c.line(L+n/2,b)+c.line(L+n/2,S)+c.line(L+n,S)+c.line(L+n,k)+c.line(L+n/2,k)+c.line(L+n/2,A)+c.line(L+n/2,k)+c.line(L,k)+c.line(L,S-h/2)],T+=c.move(L,k),d.globals.isXNumeric||(r+=s),{pathTo:M,pathFrom:T,x:r,y:S,barXPosition:L,color:this.isBoxPlot?v:x?[f]:[m]}}},{key:"drawHorizontalBoxPaths",value:function(i){var a=i.indexes;i.x;var r=i.y,s=i.yDivision,n=i.barHeight,o=i.zeroW,h=i.strokeWidth,d=this.w,c=new X(this.ctx),g=a.i,p=a.j,x=this.boxOptions.colors.lower;this.isBoxPlot&&(x=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var f=this.invertedYRatio,m=a.realIndex,v=this.getOHLCValue(m,p),w=o,l=o,u=Math.min(v.o,v.c),b=Math.max(v.o,v.c),A=v.m;d.globals.isXNumeric&&(r=(d.globals.seriesX[m][p]-d.globals.minX)/this.invertedXRatio-n/2);var k=r+n*this.visibleI;this.series[g][p]===void 0||this.series[g][p]===null?(u=o,b=o):(u=o+u/f,b=o+b/f,w=o+v.h/f,l=o+v.l/f,A=o+v.m/f);var S=c.move(o,k),C=c.move(u,k+n/2);return d.globals.previousPaths.length>0&&(C=this.getPreviousPath(m,p,!0)),S=[c.move(u,k)+c.line(u,k+n/2)+c.line(w,k+n/2)+c.line(w,k+n/2-n/4)+c.line(w,k+n/2+n/4)+c.line(w,k+n/2)+c.line(u,k+n/2)+c.line(u,k+n)+c.line(A,k+n)+c.line(A,k)+c.line(u+h/2,k),c.move(A,k)+c.line(A,k+n)+c.line(b,k+n)+c.line(b,k+n/2)+c.line(l,k+n/2)+c.line(l,k+n-n/4)+c.line(l,k+n/4)+c.line(l,k+n/2)+c.line(b,k+n/2)+c.line(b,k)+c.line(A,k)+"z"],C+=c.move(u,k),d.globals.isXNumeric||(r+=s),{pathTo:S,pathFrom:C,x:b,y:r,barYPosition:k,color:x}}},{key:"getOHLCValue",value:function(i,a){var r=this.w;return{o:this.isBoxPlot?r.globals.seriesCandleH[i][a]:r.globals.seriesCandleO[i][a],h:this.isBoxPlot?r.globals.seriesCandleO[i][a]:r.globals.seriesCandleH[i][a],m:r.globals.seriesCandleM[i][a],l:this.isBoxPlot?r.globals.seriesCandleC[i][a]:r.globals.seriesCandleL[i][a],c:this.isBoxPlot?r.globals.seriesCandleL[i][a]:r.globals.seriesCandleC[i][a]}}}]),t}(),lt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,i=e.config.plotOptions[e.config.chart.type];return i.colorScale.ranges.length>0&&i.colorScale.ranges.map(function(a,r){a.from<=0&&(t=!0)}),t}},{key:"getShadeColor",value:function(e,t,i,a){var r=this.w,s=1,n=r.config.plotOptions[e].shadeIntensity,o=this.determineColor(e,t,i);r.globals.hasNegs||a?s=r.config.plotOptions[e].reverseNegativeShade?o.percent<0?o.percent/100*(1.25*n):(1-o.percent/100)*(1.25*n):o.percent<=0?1-(1+o.percent/100)*n:(1-o.percent/100)*n:(s=1-o.percent/100,e==="treemap"&&(s=(1-o.percent/100)*(1.25*n)));var h=o.color,d=new P;if(r.config.plotOptions[e].enableShades)if(this.w.config.theme.mode==="dark"){var c=d.shadeColor(-1*s,o.color);h=P.hexToRgba(P.isColorHex(c)?c:P.rgb2hex(c),r.config.fill.opacity)}else{var g=d.shadeColor(s,o.color);h=P.hexToRgba(P.isColorHex(g)?g:P.rgb2hex(g),r.config.fill.opacity)}return{color:h,colorProps:o}}},{key:"determineColor",value:function(e,t,i){var a=this.w,r=a.globals.series[t][i],s=a.config.plotOptions[e],n=s.colorScale.inverse?i:t;s.distributed&&a.config.chart.type==="treemap"&&(n=i);var o=a.globals.colors[n],h=null,d=Math.min.apply(Math,J(a.globals.series[t])),c=Math.max.apply(Math,J(a.globals.series[t]));s.distributed||e!=="heatmap"||(d=a.globals.minY,c=a.globals.maxY),s.colorScale.min!==void 0&&(d=s.colorScale.mina.globals.maxY?s.colorScale.max:a.globals.maxY);var g=Math.abs(c)+Math.abs(d),p=100*r/(g===0?g-1e-6:g);return s.colorScale.ranges.length>0&&s.colorScale.ranges.map(function(x,f){if(r>=x.from&&r<=x.to){o=x.color,h=x.foreColor?x.foreColor:null,d=x.from,c=x.to;var m=Math.abs(c)+Math.abs(d);p=100*r/(m===0?m-1e-6:m)}}),{color:o,foreColor:h,percent:p}}},{key:"calculateDataLabels",value:function(e){var t=e.text,i=e.x,a=e.y,r=e.i,s=e.j,n=e.colorProps,o=e.fontSize,h=this.w.config.dataLabels,d=new X(this.ctx),c=new pe(this.ctx),g=null;if(h.enabled){g=d.group({class:"apexcharts-data-labels"});var p=h.offsetX,x=h.offsetY,f=i+p,m=a+parseFloat(h.style.fontSize)/3+x;c.plotDataLabelsText({x:f,y:m,text:t,i:r,j:s,color:n.foreColor,parent:g,fontSize:o,dataLabelsConfig:h})}return g}},{key:"addListeners",value:function(e){var t=new X(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))}}]),y}(),Ht=function(){function y(e,t){R(this,y),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new lt(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return F(y,[{key:"draw",value:function(e){var t=this.w,i=new X(this.ctx),a=i.group({class:"apexcharts-heatmap"});a.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,s=t.globals.gridHeight/t.globals.series.length,n=0,o=!1;this.negRange=this.helpers.checkColorRange();var h=e.slice();t.config.yaxis[0].reversed&&(o=!0,h.reverse());for(var d=o?0:h.length-1;o?d=0;o?d++:d--){var c=i.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:P.escapeString(t.globals.seriesNames[d]),rel:d+1,"data:realIndex":d});if(this.ctx.series.addCollapsedClassToSeries(c,d),t.config.chart.dropShadow.enabled){var g=t.config.chart.dropShadow;new ee(this.ctx).dropShadow(c,g,d)}for(var p=0,x=t.config.plotOptions.heatmap.shadeIntensity,f=0;f-1&&this.pieClicked(g),i.config.dataLabels.enabled){var b=l.x,A=l.y,k=100*x/this.fullAngle+"%";if(x!==0&&i.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?t.endAngle=t.endAngle-(a+n):a+n=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(d=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(d)>this.fullAngle&&(d-=this.fullAngle);var c=Math.PI*(d-90)/180,g=i.centerX+s*Math.cos(h),p=i.centerY+s*Math.sin(h),x=i.centerX+s*Math.cos(c),f=i.centerY+s*Math.sin(c),m=P.polarToCartesian(i.centerX,i.centerY,i.donutSize,d),v=P.polarToCartesian(i.centerX,i.centerY,i.donutSize,o),w=r>180?1:0,l=["M",g,p,"A",s,s,0,w,1,x,f];return t=i.chartType==="donut"?[].concat(l,["L",m.x,m.y,"A",i.donutSize,i.donutSize,0,w,0,v.x,v.y,"L",g,p,"z"]).join(" "):i.chartType==="pie"||i.chartType==="polarArea"?[].concat(l,["L",i.centerX,i.centerY,"L",g,p]).join(" "):[].concat(l).join(" "),n.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,i=new tt(this.ctx),a=new X(this.ctx),r=new ht(this.ctx),s=a.group(),n=a.group(),o=i.niceScale(0,Math.ceil(this.maxY),0),h=o.result.reverse(),d=o.result.length;this.maxY=o.niceMax;for(var c=t.globals.radialSize,g=c/(d-1),p=0;p1&&e.total.show&&(r=e.total.color);var n=s.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),o=s.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");i=(0,e.value.formatter)(i,s),a||typeof e.total.formatter!="function"||(i=e.total.formatter(s));var h=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,h,s):"",n!==null&&(n.textContent=t),o!==null&&(o.textContent=i),n!==null&&(n.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var i=this.w,a=e.getAttribute("data:value"),r=i.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];i.globals.series.length>1&&this.printInnerLabels(t,r,a,e);var s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");s!==null&&(s.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,i=this.w,a=new X(this.ctx),r=i.config.plotOptions.polarArea.spokes;if(r.strokeWidth!==0){for(var s=[],n=360/i.globals.series.length,o=0;o0&&(A=t.getPreviousPath(v));for(var k=0;k=10?e.x>0?(i="start",a+=10):e.x<0&&(i="end",a-=10):i="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:i,newX:a,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,i=null,a=0;a0&&parseInt(r.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[a].paths[0]!==void 0&&(i=t.globals.previousPaths[a].paths[0].d)}return i}},{key:"getDataPointsPos",value:function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var a=[],r=0;r=360&&(f=360-Math.abs(this.startAngle)-.1);var m=r.drawPath({d:"",stroke:p,strokeWidth:h*parseInt(g.strokeWidth,10)/100,fill:"none",strokeOpacity:g.opacity,classes:"apexcharts-radialbar-area"});if(g.dropShadow.enabled){var v=g.dropShadow;n.dropShadow(m,v)}c.add(m),m.attr("id","apexcharts-radialbarTrack-"+d),this.animatePaths(m,{centerX:i.centerX,centerY:i.centerY,endAngle:f,startAngle:x,size:i.size,i:d,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:a.globals.easing})}return s}},{key:"drawArcs",value:function(i){var a=this.w,r=new X(this.ctx),s=new ne(this.ctx),n=new ee(this.ctx),o=r.group(),h=this.getStrokeWidth(i);i.size=i.size-h/2;var d=a.config.plotOptions.radialBar.hollow.background,c=i.size-h*i.series.length-this.margin*i.series.length-h*parseInt(a.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,g=c-a.config.plotOptions.radialBar.hollow.margin;a.config.plotOptions.radialBar.hollow.image!==void 0&&(d=this.drawHollowImage(i,o,c,d));var p=this.drawHollow({size:g,centerX:i.centerX,centerY:i.centerY,fill:d||"transparent"});if(a.config.plotOptions.radialBar.hollow.dropShadow.enabled){var x=a.config.plotOptions.radialBar.hollow.dropShadow;n.dropShadow(p,x)}var f=1;!this.radialDataLabels.total.show&&a.globals.series.length>1&&(f=0);var m=null;if(this.radialDataLabels.show){var v=a.globals.dom.Paper.select(".apexcharts-datalabels-group").members[0];m=this.renderInnerDataLabels(v,this.radialDataLabels,{hollowSize:c,centerX:i.centerX,centerY:i.centerY,opacity:f})}a.config.plotOptions.radialBar.hollow.position==="back"&&(o.add(p),m&&o.add(m));var w=!1;a.config.plotOptions.radialBar.inverseOrder&&(w=!0);for(var l=w?i.series.length-1:0;w?l>=0:l100?100:i.series[l])/100,C=Math.round(this.totalAngle*S)+this.startAngle,L=void 0;a.globals.dataChanged&&(k=this.startAngle,L=Math.round(this.totalAngle*P.negToZero(a.globals.previousPaths[l])/100)+k),Math.abs(C)+Math.abs(A)>360&&(C-=.01),Math.abs(L)+Math.abs(k)>360&&(L-=.01);var M=C-A,T=Array.isArray(a.config.stroke.dashArray)?a.config.stroke.dashArray[l]:a.config.stroke.dashArray,I=r.drawPath({d:"",stroke:b,strokeWidth:h,fill:"none",fillOpacity:a.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+l,strokeDashArray:T});if(X.setAttrs(I.node,{"data:angle":M,"data:value":i.series[l]}),a.config.chart.dropShadow.enabled){var z=a.config.chart.dropShadow;n.dropShadow(I,z,l)}if(n.setSelectionFilter(I,0,l),this.addListeners(I,this.radialDataLabels),u.add(I),I.attr({index:0,j:l}),this.barLabels.enabled){var Y=P.polarToCartesian(i.centerX,i.centerY,i.size,A),D=this.barLabels.formatter(a.globals.seriesNames[l],{seriesIndex:l,w:a}),H=["apexcharts-radialbar-label"];this.barLabels.onClick||H.push("apexcharts-no-click");var O=this.barLabels.useSeriesColors?a.globals.colors[l]:a.config.chart.foreColor;O||(O=a.config.chart.foreColor);var B=Y.x+this.barLabels.offsetX,N=Y.y+this.barLabels.offsetY,W=r.drawText({x:B,y:N,text:D,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:O,cssClass:H.join(" ")});W.on("click",this.onBarLabelClick),W.attr({rel:l+1}),A!==0&&W.attr({"transform-origin":"".concat(B," ").concat(N),transform:"rotate(".concat(A," 0 0)")}),u.add(W)}var q=0;!this.initialAnim||a.globals.resized||a.globals.dataChanged||(q=a.config.chart.animations.speed),a.globals.dataChanged&&(q=a.config.chart.animations.dynamicAnimation.speed),this.animDur=q/(1.2*i.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(I,{centerX:i.centerX,centerY:i.centerY,endAngle:C,startAngle:A,prevEndAngle:L,prevStartAngle:k,size:i.size,i:l,totalItems:2,animBeginArr:this.animBeginArr,dur:q,shouldSetPrevPaths:!0,easing:a.globals.easing})}return{g:o,elHollow:p,dataLabels:m}}},{key:"drawHollow",value:function(i){var a=new X(this.ctx).drawCircle(2*i.size);return a.attr({class:"apexcharts-radialbar-hollow",cx:i.centerX,cy:i.centerY,r:i.size,fill:i.fill}),a}},{key:"drawHollowImage",value:function(i,a,r,s){var n=this.w,o=new ne(this.ctx),h=P.randomId(),d=n.config.plotOptions.radialBar.hollow.image;if(n.config.plotOptions.radialBar.hollow.imageClipped)o.clippedImgArea({width:r,height:r,image:d,patternID:"pattern".concat(n.globals.cuid).concat(h)}),s="url(#pattern".concat(n.globals.cuid).concat(h,")");else{var c=n.config.plotOptions.radialBar.hollow.imageWidth,g=n.config.plotOptions.radialBar.hollow.imageHeight;if(c===void 0&&g===void 0){var p=n.globals.dom.Paper.image(d).loaded(function(f){this.move(i.centerX-f.width/2+n.config.plotOptions.radialBar.hollow.imageOffsetX,i.centerY-f.height/2+n.config.plotOptions.radialBar.hollow.imageOffsetY)});a.add(p)}else{var x=n.globals.dom.Paper.image(d).loaded(function(f){this.move(i.centerX-c/2+n.config.plotOptions.radialBar.hollow.imageOffsetX,i.centerY-g/2+n.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(c,g)});a.add(x)}}return s}},{key:"getStrokeWidth",value:function(i){var a=this.w;return i.size*(100-parseInt(a.config.plotOptions.radialBar.hollow.size,10))/100/(i.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(i){var a=parseInt(i.target.getAttribute("rel"),10)-1,r=this.barLabels.onClick,s=this.w;r&&r(s.globals.seriesNames[a],{w:s,seriesIndex:a})}}]),t}(),Bt=function(y){be(t,fe);var e=xe(t);function t(){return R(this,t),e.apply(this,arguments)}return F(t,[{key:"draw",value:function(i,a){var r=this.w,s=new X(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=i,this.seriesRangeStart=r.globals.seriesRangeStart,this.seriesRangeEnd=r.globals.seriesRangeEnd,this.barHelpers.initVariables(i);for(var n=s.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),o=0;o0&&(this.visibleI=this.visibleI+1);var w=0,l=0,u=0;this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[f][0],u=f);var b=this.barHelpers.initialPositions();x=b.y,g=b.zeroW,p=b.x,l=b.barWidth,w=b.barHeight,h=b.xDivision,d=b.yDivision,c=b.zeroH;for(var A=s.group({class:"apexcharts-datalabels","data:realIndex":f}),k=s.group({class:"apexcharts-rangebar-goals-markers"}),S=0;S0});return this.isHorizontal?(s=f.config.plotOptions.bar.rangeBarGroupRows?o+g*u:o+d*this.visibleI+g*u,b>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[a][b].overlaps).indexOf(v)>-1&&(s=(d=x.barHeight/m.length)*this.visibleI+g*(100-parseInt(this.barOptions.barHeight,10))/100/2+d*(this.visibleI+m.indexOf(v))+g*u)):(u>-1&&!f.globals.timescaleLabels.length&&(n=f.config.plotOptions.bar.rangeBarGroupRows?h+p*u:h+c*this.visibleI+p*u),b>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[a][b].overlaps).indexOf(v)>-1&&(n=(c=x.barWidth/m.length)*this.visibleI+p*(100-parseInt(this.barOptions.barWidth,10))/100/2+c*(this.visibleI+m.indexOf(v))+p*u)),{barYPosition:s,barXPosition:n,barHeight:d,barWidth:c}}},{key:"drawRangeColumnPaths",value:function(i){var a=i.indexes,r=i.x,s=i.xDivision,n=i.barWidth,o=i.barXPosition,h=i.zeroH,d=this.w,c=a.i,g=a.j,p=a.realIndex,x=a.translationsIndex,f=this.yRatio[x],m=this.getRangeValue(p,g),v=Math.min(m.start,m.end),w=Math.max(m.start,m.end);this.series[c][g]===void 0||this.series[c][g]===null?v=h:(v=h-v/f,w=h-w/f);var l=Math.abs(w-v),u=this.barHelpers.getColumnPaths({barXPosition:o,barWidth:n,y1:v,y2:w,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:p,i:p,j:g,w:d});if(d.globals.isXNumeric){var b=this.getBarXForNumericXAxis({x:r,j:g,realIndex:p,barWidth:n});r=b.x,o=b.barXPosition}else r+=s;return{pathTo:u.pathTo,pathFrom:u.pathFrom,barHeight:l,x:r,y:m.start<0&&m.end<0?v:w,goalY:this.barHelpers.getGoalValues("y",null,h,c,g,x),barXPosition:o}}},{key:"preventBarOverflow",value:function(i){var a=this.w;return i<0&&(i=0),i>a.globals.gridWidth&&(i=a.globals.gridWidth),i}},{key:"drawRangeBarPaths",value:function(i){var a=i.indexes,r=i.y,s=i.y1,n=i.y2,o=i.yDivision,h=i.barHeight,d=i.barYPosition,c=i.zeroW,g=this.w,p=a.realIndex,x=a.j,f=this.preventBarOverflow(c+s/this.invertedYRatio),m=this.preventBarOverflow(c+n/this.invertedYRatio),v=this.getRangeValue(p,x),w=Math.abs(m-f),l=this.barHelpers.getBarpaths({barYPosition:d,barHeight:h,x1:f,x2:m,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:p,realIndex:p,j:x,w:g});return g.globals.isXNumeric||(r+=o),{pathTo:l.pathTo,pathFrom:l.pathFrom,barWidth:w,x:v.start<0&&v.end<0?f:m,goalX:this.barHelpers.getGoalValues("x",c,null,p,x),y:r}}},{key:"getRangeValue",value:function(i,a){var r=this.w;return{start:r.globals.seriesRangeStart[i][a],end:r.globals.seriesRangeEnd[i][a]}}}]),t}(),Wt=function(){function y(e){R(this,y),this.w=e.w,this.lineCtx=e}return F(y,[{key:"sameValueSeriesFix",value:function(e,t){var i=this.w;if((i.config.fill.type==="gradient"||i.config.fill.type[e]==="gradient")&&new $(this.lineCtx.ctx,i).seriesHaveSameValues(e)){var a=t[e].slice();a[a.length-1]=a[a.length-1]+1e-6,t[e]=a}return t}},{key:"calculatePoints",value:function(e){var t=e.series,i=e.realIndex,a=e.x,r=e.y,s=e.i,n=e.j,o=e.prevY,h=this.w,d=[],c=[];if(n===0){var g=this.lineCtx.categoryAxisCorrection+h.config.markers.offsetX;h.globals.isXNumeric&&(g=(h.globals.seriesX[i][0]-h.globals.minX)/this.lineCtx.xRatio+h.config.markers.offsetX),d.push(g),c.push(P.isNumber(t[s][0])?o+h.config.markers.offsetY:null),d.push(a+h.config.markers.offsetX),c.push(P.isNumber(t[s][n+1])?r+h.config.markers.offsetY:null)}else d.push(a+h.config.markers.offsetX),c.push(P.isNumber(t[s][n+1])?r+h.config.markers.offsetY:null);return{x:d,y:c}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,i=e.pathFromArea,a=e.realIndex,r=this.w,s=0;s0&&parseInt(n.realIndex,10)===parseInt(a,10)&&(n.type==="line"?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[s].paths[0].d):n.type==="area"&&(this.lineCtx.appendPathFrom=!1,i=r.globals.previousPaths[s].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[s].paths[1]&&(t=r.globals.previousPaths[s].paths[1].d)))}return{pathFromLine:t,pathFromArea:i}}},{key:"determineFirstPrevY",value:function(e){var t,i,a,r=e.i,s=e.realIndex,n=e.series,o=e.prevY,h=e.lineYPosition,d=e.translationsIndex,c=this.w,g=c.config.chart.stacked&&!c.globals.comboCharts||c.config.chart.stacked&&c.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[s])===null||t===void 0?void 0:t.type)==="bar"||((i=this.w.config.series[s])===null||i===void 0?void 0:i.type)==="column");if(((a=n[r])===null||a===void 0?void 0:a[0])!==void 0)o=(h=g&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-n[r][0]/this.lineCtx.yRatio[d]+2*(this.lineCtx.isReversed?n[r][0]/this.lineCtx.yRatio[d]:0);else if(g&&r>0&&n[r][0]===void 0){for(var p=r-1;p>=0;p--)if(n[p][0]!==null&&n[p][0]!==void 0){o=h=this.lineCtx.prevSeriesY[p][0];break}}return{prevY:o,lineYPosition:h}}}]),y}(),Gt=function(y){for(var e,t,i,a,r=function(d){for(var c=[],g=d[0],p=d[1],x=c[0]=Ne(g,p),f=1,m=d.length-1;f9&&(a=3*i/Math.sqrt(a),r[o]=a*e,r[o+1]=a*t);for(var h=0;h<=s;h++)a=(y[Math.min(s,h+1)][0]-y[Math.max(0,h-1)][0])/(6*(1+r[h]*r[h])),n.push([a||0,r[h]*a||0]);return n},Vt=function(y){var e=Gt(y),t=y[1],i=y[0],a=[],r=e[1],s=e[0];a.push(i,[i[0]+s[0],i[1]+s[1],t[0]-r[0],t[1]-r[1],t[0],t[1]]);for(var n=2,o=e.length;n1&&i[1].length<6){var a=i[0].length;i[1]=[2*i[0][a-2]-i[0][a-4],2*i[0][a-1]-i[0][a-3]].concat(i[1])}i[0]=i[0].slice(-2)}return i};function Ne(y,e){return(e[1]-y[1])/(e[0]-y[0])}var Be=function(){function y(e,t,i){R(this,y),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||i,this.scatter=new Ke(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new Wt(this),this.markers=new ue(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return F(y,[{key:"draw",value:function(e,t,i,a){var r,s=this.w,n=new X(this.ctx),o=s.globals.comboCharts?t:s.config.chart.type,h=n.group({class:"apexcharts-".concat(o,"-series apexcharts-plot-series")}),d=new $(this.ctx,s);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=d.getLogSeries(e),this.yRatio=d.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var c=[],g=0;g1?p:0;this._initSerieVariables(e,g,p);var f=[],m=[],v=[],w=s.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,p),s.globals.isXNumeric&&s.globals.seriesX.length>0&&(w=(s.globals.seriesX[p][0]-s.globals.minX)/this.xRatio),v.push(w);var l,u=w,b=void 0,A=u,k=this.zeroY,S=this.zeroY;k=this.lineHelpers.determineFirstPrevY({i:g,realIndex:p,series:e,prevY:k,lineYPosition:0,translationsIndex:x}).prevY,s.config.stroke.curve==="monotoneCubic"&&e[g][0]===null?f.push(null):f.push(k),l=k,o==="rangeArea"&&(b=S=this.lineHelpers.determineFirstPrevY({i:g,realIndex:p,series:a,prevY:S,lineYPosition:0,translationsIndex:x}).prevY,m.push(f[0]!==null?S:null));var C=this._calculatePathsFrom({type:o,series:e,i:g,realIndex:p,translationsIndex:x,prevX:A,prevY:k,prevY2:S}),L=[f[0]],M=[m[0]],T={type:o,series:e,realIndex:p,translationsIndex:x,i:g,x:w,y:1,pX:u,pY:l,pathsFrom:C,linePaths:[],areaPaths:[],seriesIndex:i,lineYPosition:0,xArrj:v,yArrj:f,y2Arrj:m,seriesRangeEnd:a},I=this._iterateOverDataPoints(E(E({},T),{},{iterations:o==="rangeArea"?e[g].length-1:void 0,isRangeStart:!0}));if(o==="rangeArea"){for(var z=this._calculatePathsFrom({series:a,i:g,realIndex:p,prevX:A,prevY:S}),Y=this._iterateOverDataPoints(E(E({},T),{},{series:a,xArrj:[w],yArrj:L,y2Arrj:M,pY:b,areaPaths:I.areaPaths,pathsFrom:z,iterations:a[g].length-1,isRangeStart:!1})),D=I.linePaths.length/2,H=0;H=0;O--)h.add(c[O]);else for(var B=0;B1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[i],s=i),this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed,this.zeroY=a.globals.gridHeight-this.baseLineY[s]-(this.isReversed?a.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[s]:0),this.areaBottomY=this.zeroY,(this.zeroY>a.globals.gridHeight||a.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=a.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:a.config.series[i].zIndex!==void 0?a.config.series[i].zIndex:i,seriesName:P.escapeString(a.globals.seriesNames[i])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":i}),this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":i});var n=e[t].length===a.globals.dataPoints;this.elSeries.attr({"data:longestSeries":n,rel:t+1,"data:realIndex":i}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,i,a,r,s=e.type,n=e.series,o=e.i,h=e.realIndex,d=e.translationsIndex,c=e.prevX,g=e.prevY,p=e.prevY2,x=this.w,f=new X(this.ctx);if(n[o][0]===null){for(var m=0;m0){var v=this.lineHelpers.checkPreviousPaths({pathFromLine:a,pathFromArea:r,realIndex:h});a=v.pathFromLine,r=v.pathFromArea}return{prevX:c,prevY:g,linePath:t,areaPath:i,pathFromLine:a,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,i=e.realIndex,a=e.i,r=e.paths,s=this.w,n=new X(this.ctx),o=new ne(this.ctx);this.prevSeriesY.push(r.yArrj),s.globals.seriesXvalues[i]=r.xArrj,s.globals.seriesYvalues[i]=r.yArrj;var h=s.config.forecastDataPoints;if(h.count>0&&t!=="rangeArea"){var d=s.globals.seriesXvalues[i][s.globals.seriesXvalues[i].length-h.count-1],c=n.drawRect(d,0,s.globals.gridWidth,s.globals.gridHeight,0);s.globals.dom.elForecastMask.appendChild(c.node);var g=n.drawRect(0,0,d,s.globals.gridHeight,0);s.globals.dom.elNonForecastMask.appendChild(g.node)}this.pointsChart||s.globals.delayedElements.push({el:this.elPointsMain.node,index:i});var p={i:a,realIndex:i,animationDelay:a,initialSpeed:s.config.chart.animations.speed,dataChangeSpeed:s.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var x=o.fillPath({seriesNumber:i}),f=0;f0&&t!=="rangeArea"){var k=n.renderPaths(b);k.node.setAttribute("stroke-dasharray",h.dashArray),h.strokeWidth&&k.node.setAttribute("stroke-width",h.strokeWidth),this.elSeries.add(k),k.attr("clip-path","url(#forecastMask".concat(s.globals.cuid,")")),A.attr("clip-path","url(#nonForecastMask".concat(s.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,i,a=this,r=e.type,s=e.series,n=e.iterations,o=e.realIndex,h=e.translationsIndex,d=e.i,c=e.x,g=e.y,p=e.pX,x=e.pY,f=e.pathsFrom,m=e.linePaths,v=e.areaPaths,w=e.seriesIndex,l=e.lineYPosition,u=e.xArrj,b=e.yArrj,A=e.y2Arrj,k=e.isRangeStart,S=e.seriesRangeEnd,C=this.w,L=new X(this.ctx),M=this.yRatio,T=f.prevY,I=f.linePath,z=f.areaPath,Y=f.pathFromLine,D=f.pathFromArea,H=P.isNumber(C.globals.minYArr[o])?C.globals.minYArr[o]:C.globals.minY;n||(n=C.globals.dataPoints>1?C.globals.dataPoints-1:C.globals.dataPoints);var O=function(te,ie){return ie-te/M[h]+2*(a.isReversed?te/M[h]:0)},B=g,N=C.config.chart.stacked&&!C.globals.comboCharts||C.config.chart.stacked&&C.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[o])===null||t===void 0?void 0:t.type)==="bar"||((i=this.w.config.series[o])===null||i===void 0?void 0:i.type)==="column"),W=C.config.stroke.curve;Array.isArray(W)&&(W=Array.isArray(w)?W[w[d]]:W[d]);for(var q,Z=0,U=0;U0&&C.globals.collapsedSeries.length0;ie--){if(!(C.globals.collapsedSeriesIndices.indexOf((w==null?void 0:w[ie])||ie)>-1))return ie;ie--}return 0}(d-1)][U+1]:l=this.zeroY:l=this.zeroY,se?g=O(H,l):(g=O(s[d][U+1],l),r==="rangeArea"&&(B=O(S[d][U+1],l))),u.push(c),!se||C.config.stroke.curve!=="smooth"&&C.config.stroke.curve!=="monotoneCubic"?(b.push(g),A.push(B)):(b.push(null),A.push(null));var G=this.lineHelpers.calculatePoints({series:s,x:c,y:g,realIndex:o,i:d,j:U,prevY:T}),_=this._createPaths({type:r,series:s,i:d,realIndex:o,j:U,x:c,y:g,y2:B,xArrj:u,yArrj:b,y2Arrj:A,pX:p,pY:x,pathState:Z,segmentStartX:q,linePath:I,areaPath:z,linePaths:m,areaPaths:v,curve:W,isRangeStart:k});v=_.areaPaths,m=_.linePaths,p=_.pX,x=_.pY,Z=_.pathState,q=_.segmentStartX,z=_.areaPath,I=_.linePath,!this.appendPathFrom||W==="monotoneCubic"&&r==="rangeArea"||(Y+=L.line(c,this.zeroY),D+=L.line(c,this.zeroY)),this.handleNullDataPoints(s,G,d,U,o),this._handleMarkersAndLabels({type:r,pointsPos:G,i:d,j:U,realIndex:o,isRangeStart:k})}return{yArrj:b,xArrj:u,pathFromArea:D,areaPaths:v,pathFromLine:Y,linePaths:m,linePath:I,areaPath:z}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,i=e.pointsPos,a=e.isRangeStart,r=e.i,s=e.j,n=e.realIndex,o=this.w,h=new pe(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,s,{realIndex:n,pointsPos:i,zRatio:this.zRatio,elParent:this.elPointsMain});else{o.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var d=this.markers.plotChartMarkers(i,n,s+1);d!==null&&this.elPointsMain.add(d)}var c=h.drawDataLabel({type:t,isRangeStart:a,pos:i,i:n,j:s+1});c!==null&&this.elDataLabelsWrap.add(c)}},{key:"_createPaths",value:function(e){var t=e.type,i=e.series,a=e.i;e.realIndex;var r,s=e.j,n=e.x,o=e.y,h=e.xArrj,d=e.yArrj,c=e.y2,g=e.y2Arrj,p=e.pX,x=e.pY,f=e.pathState,m=e.segmentStartX,v=e.linePath,w=e.areaPath,l=e.linePaths,u=e.areaPaths,b=e.curve,A=e.isRangeStart,k=new X(this.ctx),S=this.areaBottomY,C=t==="rangeArea",L=t==="rangeArea"&&A;switch(b){case"monotoneCubic":var M=A?d:g;switch(f){case 0:if(M[s+1]===null)break;f=1;case 1:if(!(C?h.length===i[a].length:s===i[a].length-2))break;case 2:var T=A?h:h.slice().reverse(),I=A?M:M.slice().reverse(),z=(r=I,T.map(function(V,G){return[V,r[G]]}).filter(function(V){return V[1]!==null})),Y=z.length>1?Vt(z):z,D=[];C&&(L?u=z:D=u.reverse());var H=0,O=0;if(function(V,G){for(var _=function(ke){var ae=[],le=0;return ke.forEach(function(Qt){Qt!==null?le++:le>0&&(ae.push(le),le=0)}),le>0&&ae.push(le),ae}(V),te=[],ie=0,oe=0;ie<_.length;oe+=_[ie++])te[ie]=jt(G,oe,oe+_[ie]);return te}(I,Y).forEach(function(V){H++;var G=function(ie){for(var oe="",ke=0;ke4?(oe+="C".concat(ae[0],", ").concat(ae[1]),oe+=", ".concat(ae[2],", ").concat(ae[3]),oe+=", ".concat(ae[4],", ").concat(ae[5])):le>2&&(oe+="S".concat(ae[0],", ").concat(ae[1]),oe+=", ".concat(ae[2],", ").concat(ae[3]))}return oe}(V),_=O,te=(O+=V.length)-1;L?v=k.move(z[_][0],z[_][1])+G:C?v=k.move(D[_][0],D[_][1])+k.line(z[_][0],z[_][1])+G+k.line(D[te][0],D[te][1]):(v=k.move(z[_][0],z[_][1])+G,w=v+k.line(z[te][0],S)+k.line(z[_][0],S)+"z",u.push(w)),l.push(v)}),C&&H>1&&!L){var B=l.slice(H).reverse();l.splice(H),B.forEach(function(V){return l.push(V)})}f=0}break;case"smooth":var N=.35*(n-p);if(i[a][s]===null)f=0;else switch(f){case 0:if(m=p,v=L?k.move(p,g[s])+k.line(p,x):k.move(p,x),w=k.move(p,x),i[a][s+1]===null){l.push(v),u.push(w);break}if(f=1,s=i[a].length-2&&(L&&(v+=k.curve(n,o,n,o,n,c)+k.move(n,c)),w+=k.curve(n,o,n,o,n,S)+k.line(m,S)+"z",l.push(v),u.push(w),f=-1)}}p=n,x=o;break;default:var Z=function(V,G,_){var te=[];switch(V){case"stepline":te=k.line(G,null,"H")+k.line(null,_,"V");break;case"linestep":te=k.line(null,_,"V")+k.line(G,null,"H");break;case"straight":te=k.line(G,_)}return te};if(i[a][s]===null)f=0;else switch(f){case 0:if(m=p,v=L?k.move(p,g[s])+k.line(p,x):k.move(p,x),w=k.move(p,x),i[a][s+1]===null){l.push(v),u.push(w);break}if(f=1,s=i[a].length-2&&(L&&(v+=k.line(n,c)),w+=k.line(n,S)+k.line(m,S)+"z",l.push(v),u.push(w),f=-1)}}p=n,x=o}return{linePaths:l,areaPaths:u,pX:p,pY:x,pathState:f,segmentStartX:m,linePath:v,areaPath:w}}},{key:"handleNullDataPoints",value:function(e,t,i,a,r){var s=this.w;if(e[i][a]===null&&s.config.markers.showNullDataPoints||e[i].length===1){var n=this.strokeWidth-s.config.markers.strokeWidth/2;n>0||(n=0);var o=this.markers.plotChartMarkers(t,r,a+1,n,!0);o!==null&&this.elPointsMain.add(o)}}}]),y}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function y(n,o,h,d){this.xoffset=n,this.yoffset=o,this.height=d,this.width=h,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(c){var g,p=[],x=this.xoffset,f=this.yoffset,m=r(c)/this.height,v=r(c)/this.width;if(this.width>=this.height)for(g=0;g=this.height){var p=c/this.height,x=this.width-p;g=new y(this.xoffset+p,this.yoffset,x,this.height)}else{var f=c/this.width,m=this.height-f;g=new y(this.xoffset,this.yoffset+f,this.width,m)}return g}}function e(n,o,h,d,c){d=d===void 0?0:d,c=c===void 0?0:c;var g=t(function(p,x){var f,m=[],v=x/r(p);for(f=0;f=l}(o,g=n[0],c)?(o.push(g),t(n.slice(1),o,h,d)):(p=h.cutArea(r(o),d),d.push(h.getCoordinates(o)),t(n,[],p,d)),d;d.push(h.getCoordinates(o))}function i(n,o){var h=Math.min.apply(Math,n),d=Math.max.apply(Math,n),c=r(n);return Math.max(Math.pow(o,2)*d/Math.pow(c,2),Math.pow(c,2)/(Math.pow(o,2)*h))}function a(n){return n&&n.constructor===Array}function r(n){var o,h=0;for(o=0;os-a&&h.width<=n-r){var d=o.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(d.x," ").concat(d.y,") translate(").concat(h.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,i,a,r,s){var n=new X(this.ctx),o=n.getTextRects(e,t).width+this.w.config.stroke.width+5>r-i&&s-a>r-i?s-a:r-i,h=n.getTextBasedOnMaxWidth({text:e,maxWidth:o,fontSize:t});return e.length!==h.length&&o/t<5?"":h}},{key:"animateTreemap",value:function(e,t,i,a){var r=new ge(this.ctx);r.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:i.x,y:i.y,width:i.width,height:i.height},a,function(){r.animationCompleted(e)})}}]),y}(),dt=86400,Ut=10/dt,qt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return F(y,[{key:"calculateTimeScaleTicks",value:function(e,t){var i=this,a=this.w;if(a.globals.allSeriesCollapsed)return a.globals.labels=[],a.globals.timescaleLabels=[],[];var r=new K(this.ctx),s=(t-e)/864e5;this.determineInterval(s),a.globals.disableZoomIn=!1,a.globals.disableZoomOut=!1,s5e4&&(a.globals.disableZoomOut=!0);var n=r.getTimeUnitsfromTimestamp(e,t,this.utc),o=a.globals.gridWidth/s,h=o/24,d=h/60,c=d/60,g=Math.floor(24*s),p=Math.floor(1440*s),x=Math.floor(s*dt),f=Math.floor(s),m=Math.floor(s/30),v=Math.floor(s/365),w={minMillisecond:n.minMillisecond,minSecond:n.minSecond,minMinute:n.minMinute,minHour:n.minHour,minDate:n.minDate,minMonth:n.minMonth,minYear:n.minYear},l={firstVal:w,currentMillisecond:w.minMillisecond,currentSecond:w.minSecond,currentMinute:w.minMinute,currentHour:w.minHour,currentMonthDate:w.minDate,currentDate:w.minDate,currentMonth:w.minMonth,currentYear:w.minYear,daysWidthOnXAxis:o,hoursWidthOnXAxis:h,minutesWidthOnXAxis:d,secondsWidthOnXAxis:c,numberOfSeconds:x,numberOfMinutes:p,numberOfHours:g,numberOfDays:f,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(l);break;case"months":case"half_year":this.generateMonthScale(l);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(l);break;case"hours":this.generateHourScale(l);break;case"minutes_fives":case"minutes":this.generateMinuteScale(l);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(l)}var u=this.timeScaleArray.map(function(b){var A={position:b.position,unit:b.unit,year:b.year,day:b.day?b.day:1,hour:b.hour?b.hour:0,month:b.month+1};return b.unit==="month"?E(E({},A),{},{day:1,value:b.value+1}):b.unit==="day"||b.unit==="hour"?E(E({},A),{},{value:b.value}):b.unit==="minute"?E(E({},A),{},{value:b.value,minute:b.value}):b.unit==="second"?E(E({},A),{},{value:b.value,minute:b.minute,second:b.second}):b});return u.filter(function(b){var A=1,k=Math.ceil(a.globals.gridWidth/120),S=b.value;a.config.xaxis.tickAmount!==void 0&&(k=a.config.xaxis.tickAmount),u.length>k&&(A=Math.floor(u.length/k));var C=!1,L=!1;switch(i.tickInterval){case"years":b.unit==="year"&&(C=!0);break;case"half_year":A=7,b.unit==="year"&&(C=!0);break;case"months":A=1,b.unit==="year"&&(C=!0);break;case"months_fortnight":A=15,b.unit!=="year"&&b.unit!=="month"||(C=!0),S===30&&(L=!0);break;case"months_days":A=10,b.unit==="month"&&(C=!0),S===30&&(L=!0);break;case"week_days":A=8,b.unit==="month"&&(C=!0);break;case"days":A=1,b.unit==="month"&&(C=!0);break;case"hours":b.unit==="day"&&(C=!0);break;case"minutes_fives":case"seconds_fives":S%5!=0&&(L=!0);break;case"seconds_tens":S%10!=0&&(L=!0)}if(i.tickInterval==="hours"||i.tickInterval==="minutes_fives"||i.tickInterval==="seconds_tens"||i.tickInterval==="seconds_fives"){if(!L)return!0}else if((S%A==0||C)&&!L)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var i=this.w,a=this.formatDates(e),r=this.removeOverlappingTS(a);i.globals.timescaleLabels=r.slice(),new Me(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,i=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 i>15:this.tickInterval="minutes_fives";break;case i>5:this.tickInterval="minutes";break;case i>1:this.tickInterval="seconds_tens";break;case 60*i>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,i=e.currentMonth,a=e.currentYear,r=e.daysWidthOnXAxis,s=e.numberOfYears,n=t.minYear,o=0,h=new K(this.ctx),d="year";if(t.minDate>1||t.minMonth>0){var c=h.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);o=(h.determineDaysOfYear(t.minYear)-c+1)*r,n=t.minYear+1,this.timeScaleArray.push({position:o,value:n,unit:d,year:n,month:P.monthMod(i+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:o,value:n,unit:d,year:a,month:P.monthMod(i+1)});for(var g=n,p=o,x=0;x1){h=(d.determineDaysOfMonths(a+1,t.minYear)-i+1)*s,o=P.monthMod(a+1);var p=r+g,x=P.monthMod(o),f=o;o===0&&(c="year",f=p,x=1,p+=g+=1),this.timeScaleArray.push({position:h,value:f,unit:c,year:p,month:x})}else this.timeScaleArray.push({position:h,value:o,unit:c,year:r,month:P.monthMod(a)});for(var m=o+1,v=h,w=0,l=1;wn.determineDaysOfMonths(u+1,b)&&(d=1,o="month",p=u+=1),u},g=(24-t.minHour)*r,p=h,x=c(d,i,a);t.minHour===0&&t.minDate===1?(g=0,p=P.monthMod(t.minMonth),o="month",d=t.minDate):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(g=0,h=t.minDate,p=h,x=c(d=h,i,a)),this.timeScaleArray.push({position:g,value:p,unit:o,year:this._getYear(a,x,0),month:P.monthMod(x),day:d});for(var f=g,m=0;mo.determineDaysOfMonths(k+1,r)&&(m=1,k+=1),{month:k,date:m}},c=function(A,k){return A>o.determineDaysOfMonths(k+1,r)?k+=1:k},g=60-(t.minMinute+t.minSecond/60),p=g*s,x=t.minHour+1,f=x;g===60&&(p=0,f=x=t.minHour);var m=i;f>=24&&(f=0,m+=1,h="day");var v=d(m,a).month;v=c(m,v),this.timeScaleArray.push({position:p,value:x,unit:h,day:m,hour:f,year:r,month:P.monthMod(v)}),f++;for(var w=p,l=0;l=24&&(f=0,h="day",v=d(m+=1,v).month,v=c(m,v));var u=this._getYear(r,v,0);w=60*s+w;var b=f===0?m:f;this.timeScaleArray.push({position:w,value:b,unit:h,hour:f,day:m,year:u,month:P.monthMod(v)}),f++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,i=e.currentSecond,a=e.currentMinute,r=e.currentHour,s=e.currentDate,n=e.currentMonth,o=e.currentYear,h=e.minutesWidthOnXAxis,d=e.secondsWidthOnXAxis,c=e.numberOfMinutes,g=a+1,p=s,x=n,f=o,m=r,v=(60-i-t/1e3)*d,w=0;w=60&&(g=0,(m+=1)===24&&(m=0)),this.timeScaleArray.push({position:v,value:g,unit:"minute",hour:m,minute:g,day:p,year:this._getYear(f,x,0),month:P.monthMod(x)}),v+=h,g++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,i=e.currentSecond,a=e.currentMinute,r=e.currentHour,s=e.currentDate,n=e.currentMonth,o=e.currentYear,h=e.secondsWidthOnXAxis,d=e.numberOfSeconds,c=i+1,g=a,p=s,x=n,f=o,m=r,v=(1e3-t)/1e3*h,w=0;w=60&&(c=0,++g>=60&&(g=0,++m===24&&(m=0))),this.timeScaleArray.push({position:v,value:c,unit:"second",hour:m,minute:g,second:c,day:p,year:this._getYear(f,x,0),month:P.monthMod(x)}),v+=h,c++}},{key:"createRawDateString",value:function(e,t){var i=e.year;return e.month===0&&(e.month=1),i+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?i+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":i+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?i+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":i+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?i+=":"+("0"+t).slice(-2):i+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?i+=":"+("0"+t).slice(-2):i+=":00",this.utc&&(i+=".000Z"),i}},{key:"formatDates",value:function(e){var t=this,i=this.w;return e.map(function(a){var r=a.value.toString(),s=new K(t.ctx),n=t.createRawDateString(a,r),o=s.getDate(s.parseDate(n));if(t.utc||(o=s.getDate(s.parseDateWithTimezone(n))),i.config.xaxis.labels.format===void 0){var h="dd MMM",d=i.config.xaxis.labels.datetimeFormatter;a.unit==="year"&&(h=d.year),a.unit==="month"&&(h=d.month),a.unit==="day"&&(h=d.day),a.unit==="hour"&&(h=d.hour),a.unit==="minute"&&(h=d.minute),a.unit==="second"&&(h=d.second),r=s.formatDate(o,h)}else r=s.formatDate(o,i.config.xaxis.labels.format);return{dateString:n,position:a.position,value:r,unit:a.unit,year:a.year,month:a.month}})}},{key:"removeOverlappingTS",value:function(e){var t,i=this,a=new X(this.ctx),r=!1;e.length>0&&e[0].value&&e.every(function(o){return o.value.length===e[0].value.length})&&(r=!0,t=a.getTextRects(e[0].value).width);var s=0,n=e.map(function(o,h){if(h>0&&i.w.config.xaxis.labels.hideOverlappingLabels){var d=r?t:a.getTextRects(e[s].value).width,c=e[s].position;return o.position>c+d+10?(s=h,o):null}return o});return n=n.filter(function(o){return o!==null})}},{key:"_getYear",value:function(e,t,i){return e+Math.floor(t/12)+i}}]),y}(),Zt=function(){function y(e,t){R(this,y),this.ctx=t,this.w=t.w,this.el=e}return F(y,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,i=e.config,a=i.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(a),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(a),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(a)&&i.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),X.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas ".concat(t.chartClass.substring(1))}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=new window.SVG.Doc(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(i.chart.offsetX,", ").concat(i.chart.offsetY,")")}),t.dom.Paper.node.style.background=i.theme.mode!=="dark"||i.chart.background?i.theme.mode!=="light"||i.chart.background?i.chart.background:"#fff":"#424242",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),X.setAttrs(t.dom.elLegendForeign,{x:0,y:0,width:t.svgWidth,height:t.svgHeight}),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.dom.elLegendForeign.appendChild(t.dom.elLegendWrap),t.dom.Paper.node.appendChild(t.dom.elLegendForeign),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var i=this.w,a=this.ctx,r=i.config,s=i.globals,n={line:{series:[],i:[]},area:{series:[],i:[]},scatter:{series:[],i:[]},bubble:{series:[],i:[]},column:{series:[],i:[]},candlestick:{series:[],i:[]},boxPlot:{series:[],i:[]},rangeBar:{series:[],i:[]},rangeArea:{series:[],seriesRangeEnd:[],i:[]}},o=r.chart.type||"line",h=null,d=0;s.series.forEach(function(A,k){var S=e[k].type||o;n[S]?(S==="rangeArea"?(n[S].series.push(s.seriesRangeStart[k]),n[S].seriesRangeEnd.push(s.seriesRangeEnd[k])):n[S].series.push(A),n[S].i.push(k),S!=="column"&&S!=="bar"||(i.globals.columnSeries=n.column)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(S)?h=S:S==="bar"?(n.column.series.push(A),n.column.i.push(k)):console.warn("You have specified an unrecognized series type (".concat(S,").")),o!==S&&S!=="scatter"&&d++}),d>0&&(h&&console.warn("Chart or series type ".concat(h," cannot appear with other chart or series types.")),n.column.series.length>0&&r.plotOptions.bar.horizontal&&(d-=n.column.series.length,n.column={series:[],i:[]},i.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),s.comboCharts||(s.comboCharts=d>0);var c=new Be(a,t),g=new Oe(a,t);a.pie=new ct(a);var p=new Nt(a);a.rangeBar=new Bt(a,t);var x=new Ot(a),f=[];if(s.comboCharts){var m,v,w=new $(a);if(n.area.series.length>0&&(m=f).push.apply(m,J(w.drawSeriesByGroup(n.area,s.areaGroups,"area",c))),n.column.series.length>0)if(r.chart.stacked){var l=new ot(a,t);f.push(l.draw(n.column.series,n.column.i))}else a.bar=new fe(a,t),f.push(a.bar.draw(n.column.series,n.column.i));if(n.rangeArea.series.length>0&&f.push(c.draw(n.rangeArea.series,"rangeArea",n.rangeArea.i,n.rangeArea.seriesRangeEnd)),n.line.series.length>0&&(v=f).push.apply(v,J(w.drawSeriesByGroup(n.line,s.lineGroups,"line",c))),n.candlestick.series.length>0&&f.push(g.draw(n.candlestick.series,"candlestick",n.candlestick.i)),n.boxPlot.series.length>0&&f.push(g.draw(n.boxPlot.series,"boxPlot",n.boxPlot.i)),n.rangeBar.series.length>0&&f.push(a.rangeBar.draw(n.rangeBar.series,n.rangeBar.i)),n.scatter.series.length>0){var u=new Be(a,t,!0);f.push(u.draw(n.scatter.series,"scatter",n.scatter.i))}if(n.bubble.series.length>0){var b=new Be(a,t,!0);f.push(b.draw(n.bubble.series,"bubble",n.bubble.i))}}else switch(r.chart.type){case"line":f=c.draw(s.series,"line");break;case"area":f=c.draw(s.series,"area");break;case"bar":r.chart.stacked?f=new ot(a,t).draw(s.series):(a.bar=new fe(a,t),f=a.bar.draw(s.series));break;case"candlestick":f=new Oe(a,t).draw(s.series,"candlestick");break;case"boxPlot":f=new Oe(a,t).draw(s.series,r.chart.type);break;case"rangeBar":f=a.rangeBar.draw(s.series);break;case"rangeArea":f=c.draw(s.seriesRangeStart,"rangeArea",void 0,s.seriesRangeEnd);break;case"heatmap":f=new Ht(a,t).draw(s.series);break;case"treemap":f=new _t(a,t).draw(s.series);break;case"pie":case"donut":case"polarArea":f=a.pie.draw(s.series);break;case"radialBar":f=p.draw(s.series);break;case"radar":f=x.draw(s.series);break;default:f=c.draw(s.series)}return f}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,i=e.config;i.chart.width=i.chart.width||"100%",i.chart.height=i.chart.height||"auto",t.svgWidth=i.chart.width,t.svgHeight=i.chart.height;var a=P.getDimensions(this.el),r=i.chart.width.toString().split(/[0-9]+/g).pop();r==="%"?P.isNumber(a[0])&&(a[0].width===0&&(a=P.getDimensions(this.el.parentNode)),t.svgWidth=a[0]*parseInt(i.chart.width,10)/100):r!=="px"&&r!==""||(t.svgWidth=parseInt(i.chart.width,10));var s=String(i.chart.height).toString().split(/[0-9]+/g).pop();if(t.svgHeight!=="auto"&&t.svgHeight!=="")if(s==="%"){var n=P.getDimensions(this.el.parentNode);t.svgHeight=n[1]*parseInt(i.chart.height,10)/100}else t.svgHeight=parseInt(i.chart.height,10);else t.svgHeight=t.axisCharts?t.svgWidth/1.61:t.svgWidth/1.2;if(t.svgWidth=Math.max(t.svgWidth,0),t.svgHeight=Math.max(t.svgHeight,0),X.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),s!=="%"){var o=i.chart.sparkline.enabled?0:t.axisCharts?i.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(t.svgHeight+o,"px")}t.dom.elWrap.style.width="".concat(t.svgWidth,"px"),t.dom.elWrap.style.height="".concat(t.svgHeight,"px")}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,i=e.translateX;X.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(i,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,i=0,a=e.config.chart.sparkline.enabled?1:15;a+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(i=new it(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),s=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var n=P.getBoundingClientRect(r);s=n.bottom;var o=n.bottom-n.top;s=Math.max(2.05*e.globals.radialSize,o)}var h=Math.ceil(s+t.translateY+i+a);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",h),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(h,"px"),X.setAttrs(t.dom.Paper.node,{height:h}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(h,"px"))}},{key:"coreCalculations",value:function(){new Fe(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map(function(){return[]})},i=new Qe,a=this.w.globals;i.initGlobalVars(a),a.seriesXvalues=t(),a.seriesYvalues=t()}},{key:"isMultipleY",value:function(){return!!(Array.isArray(this.w.config.yaxis)&&this.w.config.yaxis.length>1)&&(this.w.globals.isMultipleYAxis=!0,!0)}},{key:"xySettings",value:function(){var e=this.w,t=null;if(e.globals.axisCharts){if(e.config.xaxis.crosshairs.position==="back"&&new He(this.ctx).drawXCrosshairs(),e.config.yaxis[0].crosshairs.position==="back"&&new He(this.ctx).drawYCrosshairs(),e.config.xaxis.type==="datetime"&&e.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new qt(this.ctx);var i=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?i=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(i=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(i)}t=new $(this.ctx).getCalculatedRatios()}return t}},{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&&typeof t.config.chart.events.selection!="function"){var i=Array.isArray(t.config.chart.brush.targets)?t.config.chart.brush.targets:[t.config.chart.brush.target];i.forEach(function(a){var r=ApexCharts.getChartByID(a);r.w.globals.brushSource=e.ctx,typeof r.w.config.chart.events.zoomed!="function"&&(r.w.config.chart.events.zoomed=function(){return e.updateSourceChart(r)}),typeof r.w.config.chart.events.scrolled!="function"&&(r.w.config.chart.events.scrolled=function(){return e.updateSourceChart(r)})}),t.config.chart.events.selection=function(a,r){i.forEach(function(s){ApexCharts.getChartByID(s).ctx.updateHelpers._updateOptions({xaxis:{min:r.xaxis.min,max:r.xaxis.max}},!1,!1,!1,!1)})}}}}]),y}(),$t=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"_updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],s=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise(function(n){var o=[t.ctx];r&&(o=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(o=[t.ctx],t.ctx.w.globals.isExecCalled=!1),o.forEach(function(h,d){var c=h.w;if(c.globals.shouldAnimate=a,i||(c.globals.resized=!0,c.globals.dataChanged=!0,a&&h.series.getPreviousPaths()),e&&Q(e)==="object"&&(h.config=new ye(e),e=$.extendArrayProps(h.config,e,c),h.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,c.config=P.extend(c.config,e),s&&(c.globals.lastXAxis=e.xaxis?P.clone(e.xaxis):[],c.globals.lastYAxis=e.yaxis?P.clone(e.yaxis):[],c.globals.initialConfig=P.extend({},c.config),c.globals.initialSeries=P.clone(c.config.series),e.series))){for(var g=0;g2&&arguments[2]!==void 0&&arguments[2];return new Promise(function(r){var s,n=i.w;return n.globals.shouldAnimate=t,n.globals.dataChanged=!0,t&&i.ctx.series.getPreviousPaths(),n.globals.axisCharts?((s=e.map(function(o,h){return i._extendSeries(o,h)})).length===0&&(s=[{data:[]}]),n.config.series=s):n.config.series=e.slice(),a&&(n.globals.initialConfig.series=P.clone(n.config.series),n.globals.initialSeries=P.clone(n.config.series)),i.ctx.update().then(function(){r(i.ctx)})})}},{key:"_extendSeries",value:function(e,t){var i=this.w,a=i.config.series[t];return E(E({},i.config.series[t]),{},{name:e.name?e.name:a==null?void 0:a.name,color:e.color?e.color:a==null?void 0:a.color,type:e.type?e.type:a==null?void 0:a.type,group:e.group?e.group:a==null?void 0:a.group,hidden:e.hidden!==void 0?e.hidden:a==null?void 0:a.hidden,data:e.data?e.data:a==null?void 0:a.data,zIndex:e.zIndex!==void 0?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var i=this.w,a=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return i.globals.axisCharts?a=i.globals.dom.Paper.select("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")).members[0]:t===void 0&&(a=i.globals.dom.Paper.select("".concat(r," path[j='").concat(e,"']")).members[0],i.config.chart.type!=="pie"&&i.config.chart.type!=="polarArea"&&i.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),a?(new X(this.ctx).pathMouseDown(a,null),a.node?a.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach(function(a){e.xaxis[a]!==void 0&&(t.config.xaxis[a]=e.xaxis[a],t.globals.lastXAxis[a]=e.xaxis[a])}),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var i=new ve(e);e=i.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach(function(t,i){e.yaxis[i].min=0,e.yaxis[i].max=100}):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,i=this.w,a=i.globals.lastXAxis,r=i.globals.lastYAxis;e&&e.xaxis&&(a=e.xaxis),e&&e.yaxis&&(r=e.yaxis),i.config.xaxis.min=a.min,i.config.xaxis.max=a.max;var s=function(n){r[n]!==void 0&&(i.config.yaxis[n].min=r[n].min,i.config.yaxis[n].max=r[n].max)};i.config.yaxis.map(function(n,o){i.globals.zoomed||r[o]!==void 0?s(o):t.ctx.opts.yaxis[o]!==void 0&&(n.min=t.ctx.opts.yaxis[o].min,n.max=t.ctx.opts.yaxis[o].max)})}}]),y}();de=typeof window<"u"?window:void 0,Ie=function(y,e){var t=(this!==void 0?this:y).SVG=function(l){if(t.supported)return l=new t.Doc(l),t.parser.draw||t.prepare(),l};if(t.ns="http://www.w3.org/2000/svg",t.xmlns="http://www.w3.org/2000/xmlns/",t.xlink="http://www.w3.org/1999/xlink",t.svgjs="http://svgjs.dev",t.supported=!0,!t.supported)return!1;t.did=1e3,t.eid=function(l){return"Svgjs"+d(l)+t.did++},t.create=function(l){var u=e.createElementNS(this.ns,l);return u.setAttribute("id",this.eid(l)),u},t.extend=function(){var l,u;u=(l=[].slice.call(arguments)).pop();for(var b=l.length-1;b>=0;b--)if(l[b])for(var A in u)l[b].prototype[A]=u[A];t.Set&&t.Set.inherit&&t.Set.inherit()},t.invent=function(l){var u=typeof l.create=="function"?l.create:function(){this.constructor.call(this,t.create(l.create))};return l.inherit&&(u.prototype=new l.inherit),l.extend&&t.extend(u,l.extend),l.construct&&t.extend(l.parent||t.Container,l.construct),u},t.adopt=function(l){return l?l.instance?l.instance:((u=l.nodeName=="svg"?l.parentNode instanceof y.SVGElement?new t.Nested:new t.Doc:l.nodeName=="linearGradient"?new t.Gradient("linear"):l.nodeName=="radialGradient"?new t.Gradient("radial"):t[d(l.nodeName)]?new t[d(l.nodeName)]:new t.Element(l)).type=l.nodeName,u.node=l,l.instance=u,u instanceof t.Doc&&u.namespace().defs(),u.setData(JSON.parse(l.getAttribute("svgjs:data"))||{}),u):null;var u},t.prepare=function(){var l=e.getElementsByTagName("body")[0],u=(l?new t.Doc(l):t.adopt(e.documentElement).nested()).size(2,0);t.parser={body:l||e.documentElement,draw:u.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:u.polyline().node,path:u.path().node,native:t.create("svg")}},t.parser={native:t.create("svg")},e.addEventListener("DOMContentLoaded",function(){t.parser.draw||t.prepare()},!1),t.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},t.utils={map:function(l,u){for(var b=l.length,A=[],k=0;k1?1:l,new t.Color({r:~~(this.r+(this.destination.r-this.r)*l),g:~~(this.g+(this.destination.g-this.g)*l),b:~~(this.b+(this.destination.b-this.b)*l)})):this}}),t.Color.test=function(l){return l+="",t.regex.isHex.test(l)||t.regex.isRgb.test(l)},t.Color.isRgb=function(l){return l&&typeof l.r=="number"&&typeof l.g=="number"&&typeof l.b=="number"},t.Color.isColor=function(l){return t.Color.isRgb(l)||t.Color.test(l)},t.Array=function(l,u){(l=(l||[]).valueOf()).length==0&&u&&(l=u.valueOf()),this.value=this.parse(l)},t.extend(t.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(l){return l=l.valueOf(),Array.isArray(l)?l:this.split(l)}}),t.PointArray=function(l,u){t.Array.call(this,l,u||[[0,0]])},t.PointArray.prototype=new t.Array,t.PointArray.prototype.constructor=t.PointArray;for(var i={M:function(l,u,b){return u.x=b.x=l[0],u.y=b.y=l[1],["M",u.x,u.y]},L:function(l,u){return u.x=l[0],u.y=l[1],["L",l[0],l[1]]},H:function(l,u){return u.x=l[0],["H",l[0]]},V:function(l,u){return u.y=l[0],["V",l[0]]},C:function(l,u){return u.x=l[4],u.y=l[5],["C",l[0],l[1],l[2],l[3],l[4],l[5]]},Q:function(l,u){return u.x=l[2],u.y=l[3],["Q",l[0],l[1],l[2],l[3]]},S:function(l,u){return u.x=l[2],u.y=l[3],["S",l[0],l[1],l[2],l[3]]},Z:function(l,u,b){return u.x=b.x,u.y=b.y,["Z"]}},a="mlhvqtcsaz".split(""),r=0,s=a.length;rC);return A},bbox:function(){return t.parser.draw||t.prepare(),t.parser.path.setAttribute("d",this.toString()),t.parser.path.getBBox()}}),t.Number=t.invent({create:function(l,u){this.value=0,this.unit=u||"",typeof l=="number"?this.value=isNaN(l)?0:isFinite(l)?l:l<0?-34e37:34e37:typeof l=="string"?(u=l.match(t.regex.numberAndUnit))&&(this.value=parseFloat(u[1]),u[5]=="%"?this.value/=100:u[5]=="s"&&(this.value*=1e3),this.unit=u[5]):l instanceof t.Number&&(this.value=l.valueOf(),this.unit=l.unit)},extend:{toString:function(){return(this.unit=="%"?~~(1e8*this.value)/1e6:this.unit=="s"?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(l){return l=new t.Number(l),new t.Number(this+l,this.unit||l.unit)},minus:function(l){return l=new t.Number(l),new t.Number(this-l,this.unit||l.unit)},times:function(l){return l=new t.Number(l),new t.Number(this*l,this.unit||l.unit)},divide:function(l){return l=new t.Number(l),new t.Number(this/l,this.unit||l.unit)},to:function(l){var u=new t.Number(this);return typeof l=="string"&&(u.unit=l),u},morph:function(l){return this.destination=new t.Number(l),l.relative&&(this.destination.value+=this.value),this},at:function(l){return this.destination?new t.Number(this.destination).minus(this).times(l).plus(this):this}}}),t.Element=t.invent({create:function(l){this._stroke=t.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=l)&&(this.type=l.nodeName,this.node.instance=this,this._stroke=l.getAttribute("stroke")||this._stroke)},extend:{x:function(l){return this.attr("x",l)},y:function(l){return this.attr("y",l)},cx:function(l){return l==null?this.x()+this.width()/2:this.x(l-this.width()/2)},cy:function(l){return l==null?this.y()+this.height()/2:this.y(l-this.height()/2)},move:function(l,u){return this.x(l).y(u)},center:function(l,u){return this.cx(l).cy(u)},width:function(l){return this.attr("width",l)},height:function(l){return this.attr("height",l)},size:function(l,u){var b=g(this,l,u);return this.width(new t.Number(b.width)).height(new t.Number(b.height))},clone:function(l){this.writeDataToDom();var u=f(this.node.cloneNode(!0));return l?l.add(u):this.after(u),u},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(l){return this.after(l).remove(),l},addTo:function(l){return l.put(this)},putIn:function(l){return l.add(this)},id:function(l){return this.attr("id",l)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return this.style("display")!="none"},toString:function(){return this.attr("id")},classes:function(){var l=this.attr("class");return l==null?[]:l.trim().split(t.regex.delimiter)},hasClass:function(l){return this.classes().indexOf(l)!=-1},addClass:function(l){if(!this.hasClass(l)){var u=this.classes();u.push(l),this.attr("class",u.join(" "))}return this},removeClass:function(l){return this.hasClass(l)&&this.attr("class",this.classes().filter(function(u){return u!=l}).join(" ")),this},toggleClass:function(l){return this.hasClass(l)?this.removeClass(l):this.addClass(l)},reference:function(l){return t.get(this.attr(l))},parent:function(l){var u=this;if(!u.node.parentNode)return null;if(u=t.adopt(u.node.parentNode),!l)return u;for(;u&&u.node instanceof y.SVGElement;){if(typeof l=="string"?u.matches(l):u instanceof l)return u;if(!u.node.parentNode||u.node.parentNode.nodeName=="#document")return null;u=t.adopt(u.node.parentNode)}},doc:function(){return this instanceof t.Doc?this:this.parent(t.Doc)},parents:function(l){var u=[],b=this;do{if(!(b=b.parent(l))||!b.node)break;u.push(b)}while(b.parent);return u},matches:function(l){return function(u,b){return(u.matches||u.matchesSelector||u.msMatchesSelector||u.mozMatchesSelector||u.webkitMatchesSelector||u.oMatchesSelector).call(u,b)}(this.node,l)},native:function(){return this.node},svg:function(l){var u=e.createElementNS("http://www.w3.org/2000/svg","svg");if(!(l&&this instanceof t.Parent))return u.appendChild(l=e.createElementNS("http://www.w3.org/2000/svg","svg")),this.writeDataToDom(),l.appendChild(this.node.cloneNode(!0)),u.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");u.innerHTML=""+l.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var b=0,A=u.firstChild.childNodes.length;b":function(l){return-Math.cos(l*Math.PI)/2+.5},">":function(l){return Math.sin(l*Math.PI/2)},"<":function(l){return 1-Math.cos(l*Math.PI/2)}},t.morph=function(l){return function(u,b){return new t.MorphObj(u,b).at(l)}},t.Situation=t.invent({create:function(l){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new t.Number(l.duration).valueOf(),this.delay=new t.Number(l.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=l.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),t.FX=t.invent({create:function(l){this._target=l,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(l,u,b){Q(l)==="object"&&(u=l.ease,b=l.delay,l=l.duration);var A=new t.Situation({duration:l||1e3,delay:b||0,ease:t.easing[u||"-"]||u});return this.queue(A),this},target:function(l){return l&&l instanceof t.Element?(this._target=l,this):this._target},timeToAbsPos:function(l){return(l-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(l){return this.situation.duration/this._speed*l+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=y.requestAnimationFrame((function(){this.step()}).bind(this))},stopAnimFrame:function(){y.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(l){return(typeof l=="function"||l instanceof t.Situation)&&this.situations.push(l),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof t.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var l,u=this.situation;if(u.init)return this;for(var b in u.animations){l=this.target()[b](),Array.isArray(l)||(l=[l]),Array.isArray(u.animations[b])||(u.animations[b]=[u.animations[b]]);for(var A=l.length;A--;)u.animations[b][A]instanceof t.Number&&(l[A]=new t.Number(l[A])),u.animations[b][A]=l[A].morph(u.animations[b][A])}for(var b in u.attrs)u.attrs[b]=new t.MorphObj(this.target().attr(b),u.attrs[b]);for(var b in u.styles)u.styles[b]=new t.MorphObj(this.target().style(b),u.styles[b]);return u.initialTransformation=this.target().matrixify(),u.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(l,u){var b=this.active;return this.active=!1,u&&this.clearQueue(),l&&this.situation&&(!b&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(l){var u=this.last();return this.target().on("finished.fx",function b(A){A.detail.situation==u&&(l.call(this,u),this.off("finished.fx",b))}),this._callStart()},during:function(l){var u=this.last(),b=function(A){A.detail.situation==u&&l.call(this,A.detail.pos,t.morph(A.detail.pos),A.detail.eased,u)};return this.target().off("during.fx",b).on("during.fx",b),this.after(function(){this.off("during.fx",b)}),this._callStart()},afterAll:function(l){var u=function b(A){l.call(this),this.off("allfinished.fx",b)};return this.target().off("allfinished.fx",u).on("allfinished.fx",u),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(l,u,b){return this.last()[b||"animations"][l]=u,this._callStart()},step:function(l){var u,b,A;l||(this.absPos=this.timeToAbsPos(+new Date)),this.situation.loops!==!1?(u=Math.max(this.absPos,0),b=Math.floor(u),this.situation.loops===!0||bthis.lastPos&&S<=k&&(this.situation.once[S].call(this.target(),this.pos,k),delete this.situation.once[S]);return this.active&&this.target().fire("during",{pos:this.pos,eased:k,fx:this,situation:this.situation}),this.situation?(this.eachAt(),this.pos==1&&!this.situation.reversed||this.situation.reversed&&this.pos==0?(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=k,this):this},eachAt:function(){var l,u=this,b=this.target(),A=this.situation;for(var k in A.animations)l=[].concat(A.animations[k]).map(function(L){return typeof L!="string"&&L.at?L.at(A.ease(u.pos),u.pos):L}),b[k].apply(b,l);for(var k in A.attrs)l=[k].concat(A.attrs[k]).map(function(M){return typeof M!="string"&&M.at?M.at(A.ease(u.pos),u.pos):M}),b.attr.apply(b,l);for(var k in A.styles)l=[k].concat(A.styles[k]).map(function(M){return typeof M!="string"&&M.at?M.at(A.ease(u.pos),u.pos):M}),b.style.apply(b,l);if(A.transforms.length){l=A.initialTransformation,k=0;for(var S=A.transforms.length;k=0;--b)this[v[b]]=l[v[b]]!=null?l[v[b]]:u[v[b]]},extend:{extract:function(){var l=p(this,0,1);p(this,1,0);var u=180/Math.PI*Math.atan2(l.y,l.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(u*Math.PI/180)+this.f*Math.sin(u*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(u*Math.PI/180)+this.e*Math.sin(-u*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:u,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new t.Matrix(this)}},clone:function(){return new t.Matrix(this)},morph:function(l){return this.destination=new t.Matrix(l),this},multiply:function(l){return new t.Matrix(this.native().multiply(function(u){return u instanceof t.Matrix||(u=new t.Matrix(u)),u}(l).native()))},inverse:function(){return new t.Matrix(this.native().inverse())},translate:function(l,u){return new t.Matrix(this.native().translate(l||0,u||0))},native:function(){for(var l=t.parser.native.createSVGMatrix(),u=v.length-1;u>=0;u--)l[v[u]]=this[v[u]];return l},toString:function(){return"matrix("+m(this.a)+","+m(this.b)+","+m(this.c)+","+m(this.d)+","+m(this.e)+","+m(this.f)+")"}},parent:t.Element,construct:{ctm:function(){return new t.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof t.Nested){var l=this.rect(1,1),u=l.node.getScreenCTM();return l.remove(),new t.Matrix(u)}return new t.Matrix(this.node.getScreenCTM())}}}),t.Point=t.invent({create:function(l,u){var b;b=Array.isArray(l)?{x:l[0],y:l[1]}:Q(l)==="object"?{x:l.x,y:l.y}:l!=null?{x:l,y:u??l}:{x:0,y:0},this.x=b.x,this.y=b.y},extend:{clone:function(){return new t.Point(this)},morph:function(l,u){return this.destination=new t.Point(l,u),this}}}),t.extend(t.Element,{point:function(l,u){return new t.Point(l,u).transform(this.screenCTM().inverse())}}),t.extend(t.Element,{attr:function(l,u,b){if(l==null){for(l={},b=(u=this.node.attributes).length-1;b>=0;b--)l[u[b].nodeName]=t.regex.isNumber.test(u[b].nodeValue)?parseFloat(u[b].nodeValue):u[b].nodeValue;return l}if(Q(l)==="object")for(var A in l)this.attr(A,l[A]);else if(u===null)this.node.removeAttribute(l);else{if(u==null)return(u=this.node.getAttribute(l))==null?t.defaults.attrs[l]:t.regex.isNumber.test(u)?parseFloat(u):u;l=="stroke-width"?this.attr("stroke",parseFloat(u)>0?this._stroke:null):l=="stroke"&&(this._stroke=u),l!="fill"&&l!="stroke"||(t.regex.isImage.test(u)&&(u=this.doc().defs().image(u,0,0)),u instanceof t.Image&&(u=this.doc().defs().pattern(0,0,function(){this.add(u)}))),typeof u=="number"?u=new t.Number(u):t.Color.isColor(u)?u=new t.Color(u):Array.isArray(u)&&(u=new t.Array(u)),l=="leading"?this.leading&&this.leading(u):typeof b=="string"?this.node.setAttributeNS(b,l,u.toString()):this.node.setAttribute(l,u.toString()),!this.rebuild||l!="font-size"&&l!="x"||this.rebuild(l,u)}return this}}),t.extend(t.Element,{transform:function(l,u){var b;return Q(l)!=="object"?(b=new t.Matrix(this).extract(),typeof l=="string"?b[l]:b):(b=new t.Matrix(this),u=!!u||!!l.relative,l.a!=null&&(b=u?b.multiply(new t.Matrix(l)):new t.Matrix(l)),this.attr("transform",b))}}),t.extend(t.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(t.regex.transforms).slice(0,-1).map(function(l){var u=l.trim().split("(");return[u[0],u[1].split(t.regex.delimiter).map(function(b){return parseFloat(b)})]}).reduce(function(l,u){return u[0]=="matrix"?l.multiply(x(u[1])):l[u[0]].apply(l,u[1])},new t.Matrix)},toParent:function(l){if(this==l)return this;var u=this.screenCTM(),b=l.screenCTM().inverse();return this.addTo(l).untransform().transform(b.multiply(u)),this},toDoc:function(){return this.toParent(this.doc())}}),t.Transformation=t.invent({create:function(l,u){if(arguments.length>1&&typeof u!="boolean")return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(l))for(var b=0,A=this.arguments.length;b=0},index:function(l){return[].slice.call(this.node.childNodes).indexOf(l.node)},get:function(l){return t.adopt(this.node.childNodes[l])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(l,u){for(var b=this.children(),A=0,k=b.length;A=0;u--)l.childNodes[u]instanceof y.SVGElement&&f(l.childNodes[u]);return t.adopt(l).id(t.eid(l.nodeName))}function m(l){return Math.abs(l)>1e-37?l:0}["fill","stroke"].forEach(function(l){var u={};u[l]=function(b){if(b===void 0)return this;if(typeof b=="string"||t.Color.isRgb(b)||b&&typeof b.fill=="function")this.attr(l,b);else for(var A=n[l].length-1;A>=0;A--)b[n[l][A]]!=null&&this.attr(n.prefix(l,n[l][A]),b[n[l][A]]);return this},t.extend(t.Element,t.FX,u)}),t.extend(t.Element,t.FX,{translate:function(l,u){return this.transform({x:l,y:u})},matrix:function(l){return this.attr("transform",new t.Matrix(arguments.length==6?[].slice.call(arguments):l))},opacity:function(l){return this.attr("opacity",l)},dx:function(l){return this.x(new t.Number(l).plus(this instanceof t.FX?0:this.x()),!0)},dy:function(l){return this.y(new t.Number(l).plus(this instanceof t.FX?0:this.y()),!0)}}),t.extend(t.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(l){return this.node.getPointAtLength(l)}}),t.Set=t.invent({create:function(l){Array.isArray(l)?this.members=l:this.clear()},extend:{add:function(){for(var l=[].slice.call(arguments),u=0,b=l.length;u-1&&this.members.splice(u,1),this},each:function(l){for(var u=0,b=this.members.length;u=0},index:function(l){return this.members.indexOf(l)},get:function(l){return this.members[l]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(l){return new t.Set(l)}}}),t.FX.Set=t.invent({create:function(l){this.set=l}}),t.Set.inherit=function(){var l=[];for(var u in t.Shape.prototype)typeof t.Shape.prototype[u]=="function"&&typeof t.Set.prototype[u]!="function"&&l.push(u);for(var u in l.forEach(function(A){t.Set.prototype[A]=function(){for(var k=0,S=this.members.length;k=0;l--)delete this.memory()[arguments[l]];return this},memory:function(){return this._memory||(this._memory={})}}),t.get=function(l){var u=e.getElementById(function(b){var A=(b||"").toString().match(t.regex.reference);if(A)return A[1]}(l)||l);return t.adopt(u)},t.select=function(l,u){return new t.Set(t.utils.map((u||e).querySelectorAll(l),function(b){return t.adopt(b)}))},t.extend(t.Parent,{select:function(l){return t.select(l,this.node)}});var v="abcdef".split("");if(typeof y.CustomEvent!="function"){var w=function(l,u){u=u||{bubbles:!1,cancelable:!1,detail:void 0};var b=e.createEvent("CustomEvent");return b.initCustomEvent(l,u.bubbles,u.cancelable,u.detail),b};w.prototype=y.Event.prototype,t.CustomEvent=w}else t.CustomEvent=y.CustomEvent;return t},Q(pt)==="object"?Ve.exports=de.document?Ie(de,de.document):function(y){return Ie(y,y.document)}:de.SVG=Ie(de,de.document),(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(s,n){return this.add(s,n),!s.attr("in")&&this.autoSetIn&&s.attr("in",this.source),s.attr("result")||s.attr("result",s),s},blend:function(s,n,o){return this.put(new SVG.BlendEffect(s,n,o))},colorMatrix:function(s,n){return this.put(new SVG.ColorMatrixEffect(s,n))},convolveMatrix:function(s){return this.put(new SVG.ConvolveMatrixEffect(s))},componentTransfer:function(s){return this.put(new SVG.ComponentTransferEffect(s))},composite:function(s,n,o){return this.put(new SVG.CompositeEffect(s,n,o))},flood:function(s,n){return this.put(new SVG.FloodEffect(s,n))},offset:function(s,n){return this.put(new SVG.OffsetEffect(s,n))},image:function(s){return this.put(new SVG.ImageEffect(s))},merge:function(){var s=[void 0];for(var n in arguments)s.push(arguments[n]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,s)))},gaussianBlur:function(s,n){return this.put(new SVG.GaussianBlurEffect(s,n))},morphology:function(s,n){return this.put(new SVG.MorphologyEffect(s,n))},diffuseLighting:function(s,n,o){return this.put(new SVG.DiffuseLightingEffect(s,n,o))},displacementMap:function(s,n,o,h,d){return this.put(new SVG.DisplacementMapEffect(s,n,o,h,d))},specularLighting:function(s,n,o,h){return this.put(new SVG.SpecularLightingEffect(s,n,o,h))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(s,n,o,h,d){return this.put(new SVG.TurbulenceEffect(s,n,o,h,d))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(s){var n=this.put(new SVG.Filter);return typeof s=="function"&&s.call(n,n),n}}),SVG.extend(SVG.Container,{filter:function(s){return this.defs().filter(s)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(s){return this.filterer=s instanceof SVG.Element?s:this.doc().filter(s),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(s){return this.filterer&&s===!0&&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(s){return s==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",s)},result:function(s){return s==null?this.attr("result"):this.attr("result",s)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(s){return s==null?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",s)},result:function(s){return s==null?this.attr("result"):this.attr("result",s)},toString:function(){return this.result()}}});var y={blend:function(s,n){return this.parent()&&this.parent().blend(this,s,n)},colorMatrix:function(s,n){return this.parent()&&this.parent().colorMatrix(s,n).in(this)},convolveMatrix:function(s){return this.parent()&&this.parent().convolveMatrix(s).in(this)},componentTransfer:function(s){return this.parent()&&this.parent().componentTransfer(s).in(this)},composite:function(s,n){return this.parent()&&this.parent().composite(this,s,n)},flood:function(s,n){return this.parent()&&this.parent().flood(s,n)},offset:function(s,n){return this.parent()&&this.parent().offset(s,n).in(this)},image:function(s){return this.parent()&&this.parent().image(s)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(s,n){return this.parent()&&this.parent().gaussianBlur(s,n).in(this)},morphology:function(s,n){return this.parent()&&this.parent().morphology(s,n).in(this)},diffuseLighting:function(s,n,o){return this.parent()&&this.parent().diffuseLighting(s,n,o).in(this)},displacementMap:function(s,n,o,h){return this.parent()&&this.parent().displacementMap(this,s,n,o,h)},specularLighting:function(s,n,o,h){return this.parent()&&this.parent().specularLighting(s,n,o,h).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(s,n,o,h,d){return this.parent()&&this.parent().turbulence(s,n,o,h,d).in(this)}};SVG.extend(SVG.Effect,y),SVG.extend(SVG.ParentEffect,y),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(s){this.attr("in",s)}}});var e={blend:function(s,n,o){this.attr({in:s,in2:n,mode:o||"normal"})},colorMatrix:function(s,n){s=="matrix"&&(n=a(n)),this.attr({type:s,values:n===void 0?null:n})},convolveMatrix:function(s){s=a(s),this.attr({order:Math.sqrt(s.split(" ").length),kernelMatrix:s})},composite:function(s,n,o){this.attr({in:s,in2:n,operator:o})},flood:function(s,n){this.attr("flood-color",s),n!=null&&this.attr("flood-opacity",n)},offset:function(s,n){this.attr({dx:s,dy:n})},image:function(s){this.attr("href",s,SVG.xlink)},displacementMap:function(s,n,o,h,d){this.attr({in:s,in2:n,scale:o,xChannelSelector:h,yChannelSelector:d})},gaussianBlur:function(s,n){s!=null||n!=null?this.attr("stdDeviation",function(o){if(!Array.isArray(o))return o;for(var h=0,d=o.length,c=[];h1&&(B*=d=Math.sqrt(d),N*=d),c=new SVG.Matrix().rotate(W).scale(1/B,1/N).rotate(-W),V=V.transform(c),G=G.transform(c),g=[G.x-V.x,G.y-V.y],x=g[0]*g[0]+g[1]*g[1],p=Math.sqrt(x),g[0]/=p,g[1]/=p,f=x<4?Math.sqrt(1-x/4):0,q===Z&&(f*=-1),m=new SVG.Point((G.x+V.x)/2+f*-g[1],(G.y+V.y)/2+f*g[0]),v=new SVG.Point(V.x-m.x,V.y-m.y),w=new SVG.Point(G.x-m.x,G.y-m.y),l=Math.acos(v.x/Math.sqrt(v.x*v.x+v.y*v.y)),v.y<0&&(l*=-1),u=Math.acos(w.x/Math.sqrt(w.x*w.x+w.y*w.y)),w.y<0&&(u*=-1),Z&&l>u&&(u+=2*Math.PI),!Z&&ls.maxX-t.width&&(n=(a=s.maxX-t.width)-this.startPoints.box.x),s.minY!=null&&rs.maxY-t.height&&(o=(r=s.maxY-t.height)-this.startPoints.box.y),s.snapToGrid!=null&&(a-=a%s.snapToGrid,r-=r%s.snapToGrid,n-=n%s.snapToGrid,o-=o%s.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:n,y:o},!0):this.el.move(a,r));return i},y.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(e,t){typeof e!="function"&&typeof e!="object"||(t=e,e=!0);var i=this.remember("_draggable")||new y(this);return(e=e===void 0||e)?i.init(t||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}).call(void 0),function(){function y(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(t,i,a){var r=typeof t!="string"?t:i[t];return a?r/2:r},this.pointCoords=function(t,i){var a=this.pointsList[t];return{x:this.pointCoord(a[0],i,t==="t"||t==="b"),y:this.pointCoord(a[1],i,t==="r"||t==="l")}}}y.prototype.init=function(e,t){var i=this.el.bbox();this.options={};var a=this.el.selectize.defaults.points;for(var r in this.el.selectize.defaults)this.options[r]=this.el.selectize.defaults[r],t[r]!==void 0&&(this.options[r]=t[r]);var s=["points","pointsExclude"];for(var r in s){var n=this.options[s[r]];typeof n=="string"?n=n.length>0?n.split(/\s*,\s*/i):[]:typeof n=="boolean"&&s[r]==="points"&&(n=n?a:[]),this.options[s[r]]=n}this.options.points=[a,this.options.points].reduce(function(o,h){return o.filter(function(d){return h.indexOf(d)>-1})}),this.options.points=[this.options.points,this.options.pointsExclude].reduce(function(o,h){return o.filter(function(d){return h.indexOf(d)<0})}),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(i.x,i.y)),this.options.deepSelect&&["line","polyline","polygon"].indexOf(this.el.type)!==-1?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},y.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},y.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]})},y.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),i=0,a=t.length;i0&&this.parameters.box.height-n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,2);if(this.parameters.box.height-n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,0);if(this.parameters.box.width+n[0]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,0);if(this.parameters.box.height+n[1]>0){if(this.parameters.type==="text")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(r,s){var n=this.snapToGrid(r,s,1);if(this.parameters.box.width-n[0]>0){if(this.parameters.type==="text")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(r,s){var n=r+this.parameters.p.x,o=s+this.parameters.p.y,h=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),d=Math.atan2(o-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),c=this.parameters.rotation+180*(d-h)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(c-c%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(r,s){var n=this.snapToGrid(r,s,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),o=this.el.array().valueOf();o[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],o[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(o)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",function(r){t.update(r||window.event)}),SVG.on(window,"touchend.resize",function(){t.done()}),SVG.on(window,"mousemove.resize",function(r){t.update(r||window.event)}),SVG.on(window,"mouseup.resize",function(){t.done()})},y.prototype.update=function(e){if(e){var t=this._extractPosition(e),i=this.transformPoint(t.x,t.y),a=i.x-this.parameters.p.x,r=i.y-this.parameters.p.y;this.lastUpdateCall=[a,r],this.calc(a,r),this.el.fire("resizing",{dx:a,dy:r,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},y.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")},y.prototype.snapToGrid=function(e,t,i,a){var r;return a!==void 0?r=[(i+e)%this.options.snapToGrid,(a+t)%this.options.snapToGrid]:(i=i??3,r=[(this.parameters.box.x+e+(1&i?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&i?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(r[0]-=this.options.snapToGrid),t<0&&(r[1]-=this.options.snapToGrid),e-=Math.abs(r[0])n.maxX&&(e=n.maxX-r),n.minY!==void 0&&s+tn.maxY&&(t=n.maxY-s),[e,t]},y.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var i=e.slice(),a=this.parameters.box.width/this.parameters.box.height,r=this.parameters.box.width+e[0],s=this.parameters.box.height-e[1],n=r/s;return na&&(i[0]=this.parameters.box.width-s*a,t&&(i[0]=-i[0])),i},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new y(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),window.Apex===void 0&&(window.Apex={});var gt=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","highlightSeries","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 ge(this.ctx),this.ctx.axes=new kt(this.ctx),this.ctx.core=new Zt(this.ctx.el,this.ctx),this.ctx.config=new ye({}),this.ctx.data=new Re(this.ctx),this.ctx.grid=new et(this.ctx),this.ctx.graphics=new X(this.ctx),this.ctx.coreUtils=new $(this.ctx),this.ctx.crosshairs=new He(this.ctx),this.ctx.events=new yt(this.ctx),this.ctx.exports=new Pe(this.ctx),this.ctx.fill=new ne(this.ctx),this.ctx.localization=new wt(this.ctx),this.ctx.options=new ce,this.ctx.responsive=new At(this.ctx),this.ctx.series=new re(this.ctx),this.ctx.theme=new St(this.ctx),this.ctx.formatters=new me(this.ctx),this.ctx.titleSubtitle=new Ct(this.ctx),this.ctx.legend=new it(this.ctx),this.ctx.toolbar=new at(this.ctx),this.ctx.tooltip=new nt(this.ctx),this.ctx.dimensions=new Me(this.ctx),this.ctx.updateHelpers=new $t(this.ctx),this.ctx.zoomPanSelection=new zt(this.ctx),this.ctx.w.globals.tooltip=new nt(this.ctx)}}]),y}(),ut=function(){function y(e){R(this,y),this.ctx=e,this.w=e.w}return F(y,[{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(){this.removeClass("*"),this.off(),this.stop()},!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,i=e.isUpdating,a=this.w.globals.dom.Paper.node;a.parentNode&&a.parentNode.parentNode&&!i&&(a.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach(function(n){r.removeEventListener(n,t.ctx.events.documentEvent)});var s=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(s.Paper),s.Paper.remove(),s.elWrap=null,s.elGraphical=null,s.elLegendWrap=null,s.elLegendForeign=null,s.baseEl=null,s.elGridRect=null,s.elGridRectMask=null,s.elGridRectBarMask=null,s.elGridRectMarkerMask=null,s.elForecastMask=null,s.elNonForecastMask=null,s.elDefs=null}}]),y}(),We=new WeakMap,Jt=function(){function y(e,t){R(this,y),this.opts=t,this.ctx=this,this.w=new vt(t).init(),this.el=e,this.w.globals.cuid=P.randomId(),this.w.globals.chartID=this.w.config.chart.id?P.escapeString(this.w.config.chart.id):this.w.globals.cuid,new gt(this).initModules(),this.create=P.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return F(y,[{key:"render",value:function(){var e=this;return new Promise(function(t,i){if(e.el!==null){Apex._chartInstances===void 0&&(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 a=e.w.config.chart.events.beforeMount;typeof a=="function"&&a(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(g,p){var x=!1;if(g.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var f=g.getBoundingClientRect();g.style.display!=="none"&&f.width!==0||(x=!0)}var m=new ResizeObserver(function(v){x&&p.call(g,v),x=!0});g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(g.children).forEach(function(v){return m.observe(v)}):m.observe(g),We.set(p,m)}(e.el.parentNode,e.parentResizeHandler);var r=e.el.getRootNode&&e.el.getRootNode(),s=P.is("ShadowRoot",r),n=e.el.ownerDocument,o=s?r.getElementById("apexcharts-css"):n.getElementById("apexcharts-css");if(!o){var h;(o=document.createElement("style")).id="apexcharts-css",o.textContent=`@keyframes opaque { - 0% { - opacity: 0 - } - - to { - opacity: 1 - } -} - -@keyframes resizeanim { - - 0%, - to { - opacity: 0 - } -} - -.apexcharts-canvas { - position: relative; - direction: ltr !important; - user-select: none -} - -.apexcharts-canvas ::-webkit-scrollbar { - -webkit-appearance: none; - width: 6px -} - -.apexcharts-canvas ::-webkit-scrollbar-thumb { - border-radius: 4px; - background-color: rgba(0, 0, 0, .5); - box-shadow: 0 0 1px rgba(255, 255, 255, .5); - -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5) -} - -.apexcharts-inner { - position: relative -} - -.apexcharts-text tspan { - font-family: inherit -} - -rect.legend-mouseover-inactive, -.legend-mouseover-inactive rect, -.legend-mouseover-inactive path, -.legend-mouseover-inactive circle, -.legend-mouseover-inactive line, -.legend-mouseover-inactive text.apexcharts-yaxis-title-text, -.legend-mouseover-inactive text.apexcharts-yaxis-label { - transition: .15s ease all; - opacity: .2 -} - -.apexcharts-legend-text { - padding-left: 15px; - margin-left: -15px; -} - -.apexcharts-series-collapsed { - opacity: 0 -} - -.apexcharts-tooltip { - border-radius: 5px; - box-shadow: 2px 2px 6px -4px #999; - cursor: default; - font-size: 14px; - left: 62px; - opacity: 0; - pointer-events: none; - position: absolute; - top: 20px; - display: flex; - flex-direction: column; - overflow: hidden; - white-space: nowrap; - z-index: 12; - transition: .15s ease all -} - -.apexcharts-tooltip.apexcharts-active { - opacity: 1; - transition: .15s ease all -} - -.apexcharts-tooltip.apexcharts-theme-light { - border: 1px solid #e3e3e3; - background: rgba(255, 255, 255, .96) -} - -.apexcharts-tooltip.apexcharts-theme-dark { - color: #fff; - background: rgba(30, 30, 30, .8) -} - -.apexcharts-tooltip * { - font-family: inherit -} - -.apexcharts-tooltip-title { - padding: 6px; - font-size: 15px; - margin-bottom: 4px -} - -.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title { - background: #eceff1; - border-bottom: 1px solid #ddd -} - -.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title { - background: rgba(0, 0, 0, .7); - border-bottom: 1px solid #333 -} - -.apexcharts-tooltip-text-goals-value, -.apexcharts-tooltip-text-y-value, -.apexcharts-tooltip-text-z-value { - display: inline-block; - margin-left: 5px; - font-weight: 600 -} - -.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 { - display: none -} - -.apexcharts-tooltip-text-goals-label, -.apexcharts-tooltip-text-goals-value { - padding: 6px 0 5px -} - -.apexcharts-tooltip-goals-group, -.apexcharts-tooltip-text-goals-label, -.apexcharts-tooltip-text-goals-value { - display: flex -} - -.apexcharts-tooltip-text-goals-label:not(:empty), -.apexcharts-tooltip-text-goals-value:not(:empty) { - margin-top: -6px -} - -.apexcharts-tooltip-marker { - width: 12px; - height: 12px; - position: relative; - top: 0; - margin-right: 10px; - border-radius: 50% -} - -.apexcharts-tooltip-series-group { - padding: 0 10px; - display: none; - text-align: left; - justify-content: left; - align-items: center -} - -.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker { - opacity: 1 -} - -.apexcharts-tooltip-series-group.apexcharts-active, -.apexcharts-tooltip-series-group:last-child { - padding-bottom: 4px -} - -.apexcharts-tooltip-y-group { - padding: 6px 0 5px -} - -.apexcharts-custom-tooltip, -.apexcharts-tooltip-box { - padding: 4px 8px -} - -.apexcharts-tooltip-boxPlot { - display: flex; - flex-direction: column-reverse -} - -.apexcharts-tooltip-box>div { - margin: 4px 0 -} - -.apexcharts-tooltip-box span.value { - font-weight: 700 -} - -.apexcharts-tooltip-rangebar { - padding: 5px 8px -} - -.apexcharts-tooltip-rangebar .category { - font-weight: 600; - color: #777 -} - -.apexcharts-tooltip-rangebar .series-name { - font-weight: 700; - display: block; - margin-bottom: 5px -} - -.apexcharts-xaxistooltip, -.apexcharts-yaxistooltip { - opacity: 0; - pointer-events: none; - color: #373d3f; - font-size: 13px; - text-align: center; - border-radius: 2px; - position: absolute; - z-index: 10; - background: #eceff1; - border: 1px solid #90a4ae -} - -.apexcharts-xaxistooltip { - padding: 9px 10px; - transition: .15s ease all -} - -.apexcharts-xaxistooltip.apexcharts-theme-dark { - background: rgba(0, 0, 0, .7); - border: 1px solid rgba(0, 0, 0, .5); - color: #fff -} - -.apexcharts-xaxistooltip:after, -.apexcharts-xaxistooltip:before { - left: 50%; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none -} - -.apexcharts-xaxistooltip:after { - border-color: transparent; - border-width: 6px; - margin-left: -6px -} - -.apexcharts-xaxistooltip:before { - border-color: transparent; - border-width: 7px; - margin-left: -7px -} - -.apexcharts-xaxistooltip-bottom:after, -.apexcharts-xaxistooltip-bottom:before { - bottom: 100% -} - -.apexcharts-xaxistooltip-top:after, -.apexcharts-xaxistooltip-top:before { - top: 100% -} - -.apexcharts-xaxistooltip-bottom:after { - border-bottom-color: #eceff1 -} - -.apexcharts-xaxistooltip-bottom:before { - border-bottom-color: #90a4ae -} - -.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after, -.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before { - border-bottom-color: rgba(0, 0, 0, .5) -} - -.apexcharts-xaxistooltip-top:after { - border-top-color: #eceff1 -} - -.apexcharts-xaxistooltip-top:before { - border-top-color: #90a4ae -} - -.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after, -.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before { - border-top-color: rgba(0, 0, 0, .5) -} - -.apexcharts-xaxistooltip.apexcharts-active { - opacity: 1; - transition: .15s ease all -} - -.apexcharts-yaxistooltip { - padding: 4px 10px -} - -.apexcharts-yaxistooltip.apexcharts-theme-dark { - background: rgba(0, 0, 0, .7); - border: 1px solid rgba(0, 0, 0, .5); - color: #fff -} - -.apexcharts-yaxistooltip:after, -.apexcharts-yaxistooltip:before { - top: 50%; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none -} - -.apexcharts-yaxistooltip:after { - border-color: transparent; - border-width: 6px; - margin-top: -6px -} - -.apexcharts-yaxistooltip:before { - border-color: transparent; - border-width: 7px; - margin-top: -7px -} - -.apexcharts-yaxistooltip-left:after, -.apexcharts-yaxistooltip-left:before { - left: 100% -} - -.apexcharts-yaxistooltip-right:after, -.apexcharts-yaxistooltip-right:before { - right: 100% -} - -.apexcharts-yaxistooltip-left:after { - border-left-color: #eceff1 -} - -.apexcharts-yaxistooltip-left:before { - border-left-color: #90a4ae -} - -.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after, -.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before { - border-left-color: rgba(0, 0, 0, .5) -} - -.apexcharts-yaxistooltip-right:after { - border-right-color: #eceff1 -} - -.apexcharts-yaxistooltip-right:before { - border-right-color: #90a4ae -} - -.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after, -.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before { - border-right-color: rgba(0, 0, 0, .5) -} - -.apexcharts-yaxistooltip.apexcharts-active { - opacity: 1 -} - -.apexcharts-yaxistooltip-hidden { - display: none -} - -.apexcharts-xcrosshairs, -.apexcharts-ycrosshairs { - pointer-events: none; - opacity: 0; - transition: .15s ease all -} - -.apexcharts-xcrosshairs.apexcharts-active, -.apexcharts-ycrosshairs.apexcharts-active { - opacity: 1; - transition: .15s ease all -} - -.apexcharts-ycrosshairs-hidden { - opacity: 0 -} - -.apexcharts-selection-rect { - cursor: move -} - -.svg_select_boundingRect, -.svg_select_points_rot { - pointer-events: none; - opacity: 0; - visibility: hidden -} - -.apexcharts-selection-rect+g .svg_select_boundingRect, -.apexcharts-selection-rect+g .svg_select_points_rot { - opacity: 0; - visibility: hidden -} - -.apexcharts-selection-rect+g .svg_select_points_l, -.apexcharts-selection-rect+g .svg_select_points_r { - cursor: ew-resize; - opacity: 1; - visibility: visible -} - -.svg_select_points { - fill: #efefef; - stroke: #333; - rx: 2 -} - -.apexcharts-svg.apexcharts-zoomable.hovering-zoom { - cursor: crosshair -} - -.apexcharts-svg.apexcharts-zoomable.hovering-pan { - cursor: move -} - -.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 { - cursor: pointer; - width: 20px; - height: 20px; - line-height: 24px; - color: #6e8192; - text-align: center -} - -.apexcharts-menu-icon svg, -.apexcharts-reset-icon svg, -.apexcharts-zoom-icon svg, -.apexcharts-zoomin-icon svg, -.apexcharts-zoomout-icon svg { - fill: #6e8192 -} - -.apexcharts-selection-icon svg { - fill: #444; - transform: scale(.76) -} - -.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 { - fill: #f3f4f5 -} - -.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 { - fill: #008ffb -} - -.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 { - fill: #333 -} - -.apexcharts-menu-icon, -.apexcharts-selection-icon { - position: relative -} - -.apexcharts-reset-icon { - margin-left: 5px -} - -.apexcharts-menu-icon, -.apexcharts-reset-icon, -.apexcharts-zoom-icon { - transform: scale(.85) -} - -.apexcharts-zoomin-icon, -.apexcharts-zoomout-icon { - transform: scale(.7) -} - -.apexcharts-zoomout-icon { - margin-right: 3px -} - -.apexcharts-pan-icon { - transform: scale(.62); - position: relative; - left: 1px; - top: 0 -} - -.apexcharts-pan-icon svg { - fill: #fff; - stroke: #6e8192; - stroke-width: 2 -} - -.apexcharts-pan-icon.apexcharts-selected svg { - stroke: #008ffb -} - -.apexcharts-pan-icon:not(.apexcharts-selected):hover svg { - stroke: #333 -} - -.apexcharts-toolbar { - position: absolute; - z-index: 11; - max-width: 176px; - text-align: right; - border-radius: 3px; - padding: 0 6px 2px; - display: flex; - justify-content: space-between; - align-items: center -} - -.apexcharts-menu { - background: #fff; - position: absolute; - top: 100%; - border: 1px solid #ddd; - border-radius: 3px; - padding: 3px; - right: 10px; - opacity: 0; - min-width: 110px; - transition: .15s ease all; - pointer-events: none -} - -.apexcharts-menu.apexcharts-menu-open { - opacity: 1; - pointer-events: all; - transition: .15s ease all -} - -.apexcharts-menu-item { - padding: 6px 7px; - font-size: 12px; - cursor: pointer -} - -.apexcharts-theme-light .apexcharts-menu-item:hover { - background: #eee -} - -.apexcharts-theme-dark .apexcharts-menu { - background: rgba(0, 0, 0, .7); - color: #fff -} - -@media screen and (min-width:768px) { - .apexcharts-canvas:hover .apexcharts-toolbar { - opacity: 1 - } -} - -.apexcharts-canvas .apexcharts-element-hidden, -.apexcharts-datalabel.apexcharts-element-hidden, -.apexcharts-hide .apexcharts-series-points { - opacity: 0; -} - -.apexcharts-hidden-element-shown { - opacity: 1; - transition: 0.25s ease all; -} - -.apexcharts-datalabel, -.apexcharts-datalabel-label, -.apexcharts-datalabel-value, -.apexcharts-datalabels, -.apexcharts-pie-label { - cursor: default; - pointer-events: none -} - -.apexcharts-pie-label-delay { - opacity: 0; - animation-name: opaque; - animation-duration: .3s; - animation-fill-mode: forwards; - animation-timing-function: ease -} - -.apexcharts-radialbar-label { - cursor: pointer; -} - -.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:not(.apexcharts-marker), -.apexcharts-radar-series polygon, -.apexcharts-toolbar svg, -.apexcharts-tooltip .apexcharts-marker, -.apexcharts-xaxis-annotation-label, -.apexcharts-yaxis-annotation-label, -.apexcharts-zoom-rect { - pointer-events: none -} - -.apexcharts-tooltip-active .apexcharts-marker { - transition: .15s ease all -} - -.resize-triggers { - animation: 1ms resizeanim; - visibility: hidden; - opacity: 0; - height: 100%; - width: 100%; - overflow: hidden -} - -.contract-trigger:before, -.resize-triggers, -.resize-triggers>div { - content: " "; - display: block; - position: absolute; - top: 0; - left: 0 -} - -.resize-triggers>div { - height: 100%; - width: 100%; - background: #eee; - overflow: auto -} - -.contract-trigger:before { - overflow: hidden; - width: 200%; - height: 200% -} - -.apexcharts-bar-goals-markers { - pointer-events: none -} - -.apexcharts-bar-shadows { - pointer-events: none -} - -.apexcharts-rangebar-goals-markers { - pointer-events: none -} -`;var d=((h=e.opts.chart)===null||h===void 0?void 0:h.nonce)||e.w.config.chart.nonce;d&&o.setAttribute("nonce",d),s?r.prepend(o):n.head.appendChild(o)}var c=e.create(e.w.config.series,{});if(!c)return t(e);e.mount(c).then(function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(c)}).catch(function(g){i(g)})}else i(new Error("Element not found"))})}},{key:"create",value:function(e,t){var i=this,a=this.w;new gt(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,this.responsive.checkResponsiveConfig(t),a.config.xaxis.convertedCatToNumeric&&new ve(a.config).convertCatToNumericXaxis(a.config,this.ctx),this.el===null||(this.core.setupElements(),a.config.chart.type==="treemap"&&(a.config.grid.show=!1,a.config.yaxis[0].show=!1),r.svgWidth===0))return r.animationEnded=!0,null;var s=e;e.forEach(function(g,p){g.hidden&&(s=i.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:p}))});var n=$.checkComboSeries(s,a.config.chart.type);r.comboCharts=n.comboCharts,r.comboBarCount=n.comboBarCount;var o=s.every(function(g){return g.data&&g.data.length===0});(s.length===0||o&&r.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(s),this.theme.init(),new ue(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!a.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),a.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=a.globals.minX,this.ctx.toolbar.maxX=a.globals.maxX),this.formatters.heatmapLabelFormatters(),new $(this).getLargestMarkerSize(),this.dimensions.plotCoords();var h=this.core.xySettings();this.grid.createGridMask();var d=this.core.plotChartType(s,h),c=new pe(this);return c.bringForward(),a.config.dataLabels.background.enabled&&c.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:d,xyRatios:h,dimensions:{plot:{left:a.globals.translateX,top:a.globals.translateY,width:a.globals.gridWidth,height:a.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this,a=i.w;return new Promise(function(r,s){if(i.el===null)return s(new Error("Not enough data to display or target element not found"));(t===null||a.globals.allSeriesCollapsed)&&i.series.handleNoData(),i.grid=new et(i);var n,o,h=i.grid.drawGrid();if(i.annotations=new mt(i),i.annotations.drawImageAnnos(),i.annotations.drawTextAnnos(),a.config.grid.position==="back"&&(h&&a.globals.dom.elGraphical.add(h.el),h!=null&&(n=h.elGridBorders)!==null&&n!==void 0&&n.node&&a.globals.dom.elGraphical.add(h.elGridBorders)),Array.isArray(t.elGraph))for(var d=0;d0&&a.globals.memory.methodsToExec.forEach(function(x){x.method(x.params,!1,x.context)}),a.globals.axisCharts||a.globals.noData||i.core.resizeNonAxisCharts(),r(i)})}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=We.get(e))&&(t.disconnect(),We.delete(e));var i=this.w.config.chart.id;i&&Apex._chartInstances.forEach(function(a,r){a.id===P.escapeString(i)&&Apex._chartInstances.splice(r,1)}),new ut(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],s=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w;return n.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(o,h){return t.updateHelpers._extendSeries(o,h)})),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),n.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,i,a,r,s)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,i)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.w.config.series.slice();return a.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(a,t,i)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var a=i.w.config.series.slice(),r=0;r0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||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&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addXaxisAnnotationExternal(e,t,a)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addYaxisAnnotationExternal(e,t,a)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,a=this;i&&(a=i),a.annotations.addPointAnnotationExternal(e,t,a)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,i=this;t&&(i=t),i.annotations.removeAnnotation(i,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&&arguments[0]!==void 0?arguments[0]:0;return new Fe(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Fe(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 Pe(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new Pe(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;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=P.escapeString(e);if(Apex._chartInstances){var i=Apex._chartInstances.filter(function(a){return a.id===t})[0];return i&&i.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t2?r-2:0),n=2;n - - - - - -{ - "fontFamily": "boxicons", - "majorVersion": 2, - "minorVersion": 0.7, - "version": "Version 2.0", - "fontId": "boxicons", - "psName": "boxicons", - "subFamily": "Regular", - "fullName": "boxicons", - "description": "Font generated by IcoMoon." -} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/build/assets/config-DqV4EBmE.js b/public/build/assets/config-DqV4EBmE.js deleted file mode 100644 index fd3843e..0000000 --- a/public/build/assets/config-DqV4EBmE.js +++ /dev/null @@ -1 +0,0 @@ -(function(){var i=sessionStorage.getItem("__DARKONE_CONFIG__"),e=document.getElementsByTagName("html")[0],a={theme:"light",topbar:{color:"light"},menu:{size:"default",color:"light"}};document.getElementsByTagName("html")[0];var t=Object.assign(JSON.parse(JSON.stringify(a)),{});(t=Object.assign(JSON.parse(JSON.stringify(a)),{})).theme=e.getAttribute("data-bs-theme")||a.theme,t.topbar.color=e.getAttribute("data-topbar-color")||a.topbar.color,t.menu.color=e.getAttribute("data-sidebar-color")||a.menu.color,t.menu.size=e.getAttribute("data-sidebar-size")||a.menu.size,window.defaultConfig=JSON.parse(JSON.stringify(t)),i!==null&&(t=JSON.parse(i)),(window.config=t)&&(e.setAttribute("data-bs-theme",t.theme),e.setAttribute("data-topbar-color",t.topbar.color),e.setAttribute("data-sidebar-color",t.menu.color),window.innerWidth<=1140?e.setAttribute("data-sidebar-size","hidden"):e.setAttribute("data-sidebar-size",t.menu.size))})(); diff --git a/public/build/assets/dashboard-nkb3Omy9.js b/public/build/assets/dashboard-nkb3Omy9.js deleted file mode 100644 index 22ce7d3..0000000 --- a/public/build/assets/dashboard-nkb3Omy9.js +++ /dev/null @@ -1 +0,0 @@ -import{A as t}from"./apexcharts.common-7mov3gaG.js";import{j as i}from"./world-BH8KG5u4.js";import"./_commonjsHelpers-C4iS2aBk.js";var r={chart:{type:"area",height:50,sparkline:{enabled:!0}},series:[{data:[25,28,32,38,43,55,60,48,42,51,35]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:["#7e67fe"],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},fill:{opacity:[1],type:["gradient"],gradient:{type:"vertical",inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,100]}}};new t(document.querySelector("#chart01"),r).render();var r={chart:{type:"area",height:50,sparkline:{enabled:!0}},series:[{data:[87,54,4,76,31,95,70,92,53,9,6]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:["#7e67fe"],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},fill:{opacity:[1],type:["gradient"],gradient:{type:"vertical",inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,100]}}};new t(document.querySelector("#chart02"),r).render();var r={chart:{type:"area",height:50,sparkline:{enabled:!0}},series:[{data:[41,42,35,42,6,12,13,22,42,94,95]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:["#7e67fe"],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},fill:{opacity:[1],type:["gradient"],gradient:{type:"vertical",inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,100]}}};new t(document.querySelector("#chart03"),r).render();var r={chart:{type:"area",height:50,sparkline:{enabled:!0}},series:[{data:[8,41,40,48,77,35,0,77,63,100,71]}],stroke:{width:2,curve:"smooth"},markers:{size:0},colors:["#7e67fe"],tooltip:{fixed:{enabled:!1},x:{show:!1},y:{title:{formatter:function(e){return""}}},marker:{show:!1}},fill:{opacity:[1],type:["gradient"],gradient:{type:"vertical",inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,100]}}};new t(document.querySelector("#chart04"),r).render();var a={chart:{height:180,type:"donut"},series:[44.25,52.68,45.98],legend:{show:!1},stroke:{width:0},plotOptions:{pie:{donut:{size:"70%",labels:{show:!1,total:{showAlways:!0,show:!0}}}}},labels:["Direct","Affilliate","Sponsored"],colors:["#7e67fe","#17c553","#7942ed"],dataLabels:{enabled:!1},responsive:[{breakpoint:480,options:{chart:{width:200}}}],fill:{type:"gradient"}},o=new t(document.querySelector("#conversions"),a);o.render();var a={series:[{name:"Page Views",type:"bar",data:[34,65,46,68,49,61,42,44,78,52,63,67]},{name:"Clicks",type:"area",data:[8,12,7,17,21,11,5,9,7,29,12,35]},{name:"Revenue",type:"area",data:[12,16,11,22,28,25,15,29,35,45,42,48]}],chart:{height:330,type:"line",toolbar:{show:!1}},stroke:{dashArray:[0,0,2],width:[0,2,2],curve:"smooth"},fill:{opacity:[1,1,1],type:["solid","gradient","gradient"],gradient:{type:"vertical",inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,90]}},markers:{size:[0,0],strokeWidth:2,hover:{size:4}},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],axisTicks:{show:!1},axisBorder:{show:!1}},yaxis:{min:0,axisBorder:{show:!1}},grid:{show:!0,strokeDashArray:3,xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},padding:{top:0,right:-2,bottom:10,left:10}},legend:{show:!0,horizontalAlign:"center",offsetX:0,offsetY:5,markers:{width:9,height:9,radius:6},itemMargin:{horizontal:10,vertical:0}},plotOptions:{bar:{columnWidth:"30%",barHeight:"70%",borderRadius:3}},colors:["#7e67fe","#17c553","#7942ed"],tooltip:{shared:!0,y:[{formatter:function(e){return typeof e<"u"?e.toFixed(1)+"k":e}},{formatter:function(e){return typeof e<"u"?e.toFixed(1)+"k":e}}]}},o=new t(document.querySelector("#dash-performance-chart"),a);o.render();class n{initWorldMapMarker(){new i({map:"world",selector:"#world-map-markers",zoomOnScroll:!0,zoomButtons:!1,markersSelectable:!0,markers:[{name:"Canada",coords:[56.1304,-106.3468]},{name:"Brazil",coords:[-14.235,-51.9253]},{name:"Russia",coords:[61,105]},{name:"China",coords:[35.8617,104.1954]},{name:"United States",coords:[37.0902,-95.7129]}],markerStyle:{initial:{fill:"#7f56da"},selected:{fill:"#1bb394"}},labels:{markers:{render:s=>s.name}},regionStyle:{initial:{fill:"rgba(169,183,197, 0.3)",fillOpacity:1}}})}init(){this.initWorldMapMarker()}}document.addEventListener("DOMContentLoaded",function(e){new n().init()}); diff --git a/public/build/assets/flatpickr-CksuuEqD.css b/public/build/assets/flatpickr-CksuuEqD.css deleted file mode 100644 index ccce238..0000000 --- a/public/build/assets/flatpickr-CksuuEqD.css +++ /dev/null @@ -1 +0,0 @@ -.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 #e6e6e6,-1px 0 #e6e6e6,0 1px #e6e6e6,0 -1px #e6e6e6,0 3px 13px #00000014}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 #e6e6e6,5px 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.arrowRight:after{left:auto;right:22px}.flatpickr-calendar.arrowCenter:before,.flatpickr-calendar.arrowCenter:after{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:transparent;color:#000000e6;fill:#000000e6;height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:#000000e6;fill:#000000e6}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:#0000001a}.numInputWrapper span:active{background:#0003}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:#00000080}.numInputWrapper:hover{background:#0000000d}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:#0000000d}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch�;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:#000000e6}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:#000000e6}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:#00000080;background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:#0000000d}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:#0000008a;line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 #e6e6e6,5px 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:#3939394d;background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:#3939391a}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 #569ff7,5px 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:#3939394d;background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}} diff --git a/public/build/assets/form-flatepicker-ChSlk6xC.js b/public/build/assets/form-flatepicker-ChSlk6xC.js deleted file mode 100644 index d4d4e98..0000000 --- a/public/build/assets/form-flatepicker-ChSlk6xC.js +++ /dev/null @@ -1,18 +0,0 @@ -import{c as On}from"./_commonjsHelpers-C4iS2aBk.js";var An={exports:{}};/* flatpickr v4.6.13, @license MIT */(function(pe,Yn){(function(k,ae){pe.exports=ae()})(On,function(){/*! ***************************************************************************** - 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 k=function(){return k=Object.assign||function(r){for(var e,g=1,h=arguments.length;g",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Z={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(a){var r=a%100;if(r>3&&r<21)return"th";switch(r%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},T=function(a,r){return r===void 0&&(r=2),("000"+a).slice(r*-1)},O=function(a){return a===!0?1:0};function Oe(a,r){var e;return function(){var g=this,h=arguments;clearTimeout(e),e=setTimeout(function(){return a.apply(g,h)},r)}}var ve=function(a){return a instanceof Array?a:[a]};function I(a,r,e){if(e===!0)return a.classList.add(r);a.classList.remove(r)}function v(a,r,e){var g=window.document.createElement(a);return r=r||"",e=e||"",g.className=r,e!==void 0&&(g.textContent=e),g}function ie(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function Ae(a,r){if(r(a))return a;if(a.parentNode)return Ae(a.parentNode,r)}function re(a,r){var e=v("div","numInputWrapper"),g=v("input","numInput "+a),h=v("span","arrowUp"),s=v("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?g.type="number":(g.type="text",g.pattern="\\d*"),r!==void 0)for(var w in r)g.setAttribute(w,r[w]);return e.appendChild(g),e.appendChild(h),e.appendChild(s),e}function S(a){try{if(typeof a.composedPath=="function"){var r=a.composedPath();return r[0]}return a.target}catch{return a.target}}var De=function(){},oe=function(a,r,e){return e.months[r?"shorthand":"longhand"][a]},qe={D:De,F:function(a,r,e){a.setMonth(e.months.longhand.indexOf(r))},G:function(a,r){a.setHours((a.getHours()>=12?12:0)+parseFloat(r))},H:function(a,r){a.setHours(parseFloat(r))},J:function(a,r){a.setDate(parseFloat(r))},K:function(a,r,e){a.setHours(a.getHours()%12+12*O(new RegExp(e.amPM[1],"i").test(r)))},M:function(a,r,e){a.setMonth(e.months.shorthand.indexOf(r))},S:function(a,r){a.setSeconds(parseFloat(r))},U:function(a,r){return new Date(parseFloat(r)*1e3)},W:function(a,r,e){var g=parseInt(r),h=new Date(a.getFullYear(),0,2+(g-1)*7,0,0,0,0);return h.setDate(h.getDate()-h.getDay()+e.firstDayOfWeek),h},Y:function(a,r){a.setFullYear(parseFloat(r))},Z:function(a,r){return new Date(r)},d:function(a,r){a.setDate(parseFloat(r))},h:function(a,r){a.setHours((a.getHours()>=12?12:0)+parseFloat(r))},i:function(a,r){a.setMinutes(parseFloat(r))},j:function(a,r){a.setDate(parseFloat(r))},l:De,m:function(a,r){a.setMonth(parseFloat(r)-1)},n:function(a,r){a.setMonth(parseFloat(r)-1)},s:function(a,r){a.setSeconds(parseFloat(r))},u:function(a,r){return new Date(parseFloat(r))},w:De,y:function(a,r){a.setFullYear(2e3+parseFloat(r))}},L={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Q={Z:function(a){return a.toISOString()},D:function(a,r,e){return r.weekdays.shorthand[Q.w(a,r,e)]},F:function(a,r,e){return oe(Q.n(a,r,e)-1,!1,r)},G:function(a,r,e){return T(Q.h(a,r,e))},H:function(a){return T(a.getHours())},J:function(a,r){return r.ordinal!==void 0?a.getDate()+r.ordinal(a.getDate()):a.getDate()},K:function(a,r){return r.amPM[O(a.getHours()>11)]},M:function(a,r){return oe(a.getMonth(),!0,r)},S:function(a){return T(a.getSeconds())},U:function(a){return a.getTime()/1e3},W:function(a,r,e){return e.getWeek(a)},Y:function(a){return T(a.getFullYear(),4)},d:function(a){return T(a.getDate())},h:function(a){return a.getHours()%12?a.getHours()%12:12},i:function(a){return T(a.getMinutes())},j:function(a){return a.getDate()},l:function(a,r){return r.weekdays.longhand[a.getDay()]},m:function(a){return T(a.getMonth()+1)},n:function(a){return a.getMonth()+1},s:function(a){return a.getSeconds()},u:function(a){return a.getTime()},w:function(a){return a.getDay()},y:function(a){return String(a.getFullYear()).substring(2)}},Ne=function(a){var r=a.config,e=r===void 0?J:r,g=a.l10n,h=g===void 0?Z:g,s=a.isMobile,w=s===void 0?!1:s;return function(E,x,X){var y=X||h;return e.formatDate!==void 0&&!w?e.formatDate(E,x,y):x.split("").map(function(A,N,P){return Q[A]&&P[N-1]!=="\\"?Q[A](E,y,e):A!=="\\"?A:""}).join("")}},be=function(a){var r=a.config,e=r===void 0?J:r,g=a.l10n,h=g===void 0?Z:g;return function(s,w,E,x){if(!(s!==0&&!s)){var X=x||h,y,A=s;if(s instanceof Date)y=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)y=new Date(s);else if(typeof s=="string"){var N=w||(e||J).dateFormat,P=String(s).trim();if(P==="today")y=new Date,E=!0;else if(e&&e.parseDate)y=e.parseDate(s,N);else if(/Z$/.test(P)||/GMT$/.test(P))y=new Date(s);else{for(var le=void 0,D=[],R=0,Ce=0,j="";RMath.min(r,e)&&a=0?new Date:new Date(e.config.minDate.getTime()),i=we(e.config);t.setHours(i.hours,i.minutes,i.seconds,t.getMilliseconds()),e.selectedDates=[t],e.latestSelectedDateObj=t}n!==void 0&&n.type!=="blur"&&Cn(n);var o=e._input.value;A(),H(),e._input.value!==o&&e._debouncedChange()}function X(n,t){return n%12+12*O(t===e.l10n.amPM[1])}function y(n){switch(n%24){case 0:case 12:return 12;default:return n%12}}function A(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var n=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(e.minuteElement.value,10)||0)%60,i=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(n=X(n,e.amPM.textContent));var o=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&F(e.latestSelectedDateObj,e.config.minDate,!0)===0,l=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&F(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var f=Me(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),m=Me(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),c=Me(n,t,i);if(c>m&&c=12)]),e.secondElement!==void 0&&(e.secondElement.value=T(i)))}function le(n){var t=S(n),i=parseInt(t.value)+(n.delta||0);(i/1e3>1||n.key==="Enter"&&!/[^\d]/.test(i.toString()))&&ue(i)}function D(n,t,i,o){if(t instanceof Array)return t.forEach(function(l){return D(n,l,i,o)});if(n instanceof Array)return n.forEach(function(l){return D(l,t,i,o)});n.addEventListener(t,i,o),e._handlers.push({remove:function(){return n.removeEventListener(t,i,o)}})}function R(){M("onChange")}function Ce(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(i){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+i+"]"),function(o){return D(o,"click",e[i])})}),e.isMobile){Dn();return}var n=Oe(un,50);if(e._debouncedChange=Oe(R,Ze),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&D(e.daysContainer,"mouseover",function(i){e.config.mode==="range"&&de(S(i))}),D(e._input,"keydown",je),e.calendarContainer!==void 0&&D(e.calendarContainer,"keydown",je),!e.config.inline&&!e.config.static&&D(window,"resize",n),window.ontouchstart!==void 0?D(window.document,"touchstart",xe):D(window.document,"mousedown",xe),D(window.document,"focus",xe,{capture:!0}),e.config.clickOpens===!0&&(D(e._input,"focus",e.open),D(e._input,"click",e.open)),e.daysContainer!==void 0&&(D(e.monthNav,"click",wn),D(e.monthNav,["keyup","increment"],le),D(e.daysContainer,"click",Ke)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var t=function(i){return S(i).select()};D(e.timeContainer,["increment"],x),D(e.timeContainer,"blur",x,{capture:!0}),D(e.timeContainer,"click",B),D([e.hourElement,e.minuteElement],["focus","click"],t),e.secondElement!==void 0&&D(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&D(e.amPM,"click",function(i){x(i)})}e.config.allowInput&&D(e._input,"blur",fn)}function j(n,t){var i=n!==void 0?e.parseDate(n):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate1),e.calendarContainer.appendChild(n);var l=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!l&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var f=v("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(f,e.element),f.appendChild(e.element),e.altInput&&f.appendChild(e.altInput),f.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function W(n,t,i,o){var l=K(t,!0),f=v("span",n,t.getDate().toString());return f.dateObj=t,f.$i=o,f.setAttribute("aria-label",e.formatDate(t,e.config.ariaDateFormat)),n.indexOf("hidden")===-1&&F(t,e.now)===0&&(e.todayDateElem=f,f.classList.add("today"),f.setAttribute("aria-current","date")),l?(f.tabIndex=-1,Se(t)&&(f.classList.add("selected"),e.selectedDateElem=f,e.config.mode==="range"&&(I(f,"startRange",e.selectedDates[0]&&F(t,e.selectedDates[0],!0)===0),I(f,"endRange",e.selectedDates[1]&&F(t,e.selectedDates[1],!0)===0),n==="nextMonthDay"&&f.classList.add("inRange")))):f.classList.add("flatpickr-disabled"),e.config.mode==="range"&&Mn(t)&&!Se(t)&&f.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&n!=="prevMonthDay"&&o%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend",""+e.config.getWeek(t)+""),M("onDayCreate",f),f}function q(n){n.focus(),e.config.mode==="range"&&de(n)}function z(n){for(var t=n>0?0:e.config.showMonths-1,i=n>0?e.config.showMonths:-1,o=t;o!=i;o+=n)for(var l=e.daysContainer.children[o],f=n>0?0:l.children.length-1,m=n>0?l.children.length:-1,c=f;c!=m;c+=n){var p=l.children[c];if(p.className.indexOf("hidden")===-1&&K(p.dateObj))return p}}function Ee(n,t){for(var i=n.className.indexOf("Month")===-1?n.dateObj.getMonth():e.currentMonth,o=t>0?e.config.showMonths:-1,l=t>0?1:-1,f=i-e.currentMonth;f!=o;f+=l)for(var m=e.daysContainer.children[f],c=i-e.currentMonth===f?n.$i+t:t<0?m.children.length-1:0,p=m.children.length,u=c;u>=0&&u0?p:-1);u+=l){var d=m.children[u];if(d.className.indexOf("hidden")===-1&&K(d.dateObj)&&Math.abs(n.$i-u)>=Math.abs(t))return q(d)}e.changeMonth(l),ee(z(l),0)}function ee(n,t){var i=s(),o=ce(i||document.body),l=n!==void 0?n:o?i:e.selectedDateElem!==void 0&&ce(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&ce(e.todayDateElem)?e.todayDateElem:z(t>0?1:-1);l===void 0?e._input.focus():o?Ee(l,t):q(l)}function Xe(n,t){for(var i=(new Date(n,t,1).getDay()-e.l10n.firstDayOfWeek+7)%7,o=e.utils.getDaysInMonth((t-1+12)%12,n),l=e.utils.getDaysInMonth(t,n),f=window.document.createDocumentFragment(),m=e.config.showMonths>1,c=m?"prevMonthDay hidden":"prevMonthDay",p=m?"nextMonthDay hidden":"nextMonthDay",u=o+1-i,d=0;u<=o;u++,d++)f.appendChild(W("flatpickr-day "+c,new Date(n,t-1,u),u,d));for(u=1;u<=l;u++,d++)f.appendChild(W("flatpickr-day",new Date(n,t,u),u,d));for(var b=l+1;b<=42-i&&(e.config.showMonths===1||d%7!==0);b++,d++)f.appendChild(W("flatpickr-day "+p,new Date(n,t+1,b%l),b,d));var Y=v("div","dayContainer");return Y.appendChild(f),Y}function fe(){if(e.daysContainer!==void 0){ie(e.daysContainer),e.weekNumbers&&ie(e.weekNumbers);for(var n=document.createDocumentFragment(),t=0;t1||e.config.monthSelectorType!=="dropdown")){var n=function(o){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&oe.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(n(t)){var i=v("option","flatpickr-monthDropdown-month");i.value=new Date(e.currentYear,t).getMonth().toString(),i.textContent=oe(t,e.config.shorthandCurrentMonth,e.l10n),i.tabIndex=-1,e.currentMonth===t&&(i.selected=!0),e.monthsDropdownContainer.appendChild(i)}}}function en(){var n=v("div","flatpickr-month"),t=window.document.createDocumentFragment(),i;e.config.showMonths>1||e.config.monthSelectorType==="static"?i=v("span","cur-month"):(e.monthsDropdownContainer=v("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),D(e.monthsDropdownContainer,"change",function(m){var c=S(m),p=parseInt(c.value,10);e.changeMonth(p-e.currentMonth),M("onMonthChange")}),G(),i=e.monthsDropdownContainer);var o=re("cur-year",{tabindex:"-1"}),l=o.getElementsByTagName("input")[0];l.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&l.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(l.setAttribute("max",e.config.maxDate.getFullYear().toString()),l.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var f=v("div","flatpickr-current-month");return f.appendChild(i),f.appendChild(o),t.appendChild(f),n.appendChild(t),{container:n,yearElement:l,monthElement:i}}function Ye(){ie(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var n=e.config.showMonths;n--;){var t=en();e.yearElements.push(t.yearElement),e.monthElements.push(t.monthElement),e.monthNav.appendChild(t.container)}e.monthNav.appendChild(e.nextMonthNav)}function nn(){return e.monthNav=v("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=v("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=v("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,Ye(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(n){e.__hidePrevMonthArrow!==n&&(I(e.prevMonthNav,"flatpickr-disabled",n),e.__hidePrevMonthArrow=n)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(n){e.__hideNextMonthArrow!==n&&(I(e.nextMonthNav,"flatpickr-disabled",n),e.__hideNextMonthArrow=n)}}),e.currentYearElement=e.yearElements[0],ge(),e.monthNav}function tn(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var n=we(e.config);e.timeContainer=v("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var t=v("span","flatpickr-time-separator",":"),i=re("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=i.getElementsByTagName("input")[0];var o=re("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=o.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=T(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?n.hours:y(n.hours)),e.minuteElement.value=T(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():n.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(i),e.timeContainer.appendChild(t),e.timeContainer.appendChild(o),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var l=re("flatpickr-second");e.secondElement=l.getElementsByTagName("input")[0],e.secondElement.value=T(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():n.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(v("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(l)}return e.config.time_24hr||(e.amPM=v("span","flatpickr-am-pm",e.l10n.amPM[O((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function Pe(){e.weekdayContainer?ie(e.weekdayContainer):e.weekdayContainer=v("div","flatpickr-weekdays");for(var n=e.config.showMonths;n--;){var t=v("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(t)}return He(),e.weekdayContainer}function He(){if(e.weekdayContainer){var n=e.l10n.firstDayOfWeek,t=ae(e.l10n.weekdays.shorthand);n>0&&n - `+t.join("")+` - - `}}function an(){e.calendarContainer.classList.add("hasWeeks");var n=v("div","flatpickr-weekwrapper");n.appendChild(v("span","flatpickr-weekday",e.l10n.weekAbbreviation));var t=v("div","flatpickr-weeks");return n.appendChild(t),{weekWrapper:n,weekNumbers:t}}function ke(n,t){t===void 0&&(t=!0);var i=t?n:n-e.currentMonth;i<0&&e._hidePrevMonthArrow===!0||i>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=i,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,M("onYearChange"),G()),fe(),M("onMonthChange"),ge())}function rn(n,t){if(n===void 0&&(n=!0),t===void 0&&(t=!0),e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,t===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){var i=we(e.config),o=i.hours,l=i.minutes,f=i.seconds;P(o,l,f)}e.redraw(),n&&M("onChange")}function on(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),M("onClose")}function ln(){e.config!==void 0&&M("onDestroy");for(var n=e._handlers.length;n--;)e._handlers[n].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){var t=e.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(i){try{delete e[i]}catch{}})}function ne(n){return e.calendarContainer.contains(n)}function xe(n){if(e.isOpen&&!e.config.inline){var t=S(n),i=ne(t),o=t===e.input||t===e.altInput||e.element.contains(t)||n.path&&n.path.indexOf&&(~n.path.indexOf(e.input)||~n.path.indexOf(e.altInput)),l=!o&&!i&&!ne(n.relatedTarget),f=!e.config.ignoredFocusElements.some(function(m){return m.contains(t)});l&&f&&(e.config.allowInput&&e.setDate(e._input.value,!1,e.config.altInput?e.config.altFormat:e.config.dateFormat),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&x(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&e.clear(!1))}}function ue(n){if(!(!n||e.config.minDate&&ne.config.maxDate.getFullYear())){var t=n,i=e.currentYear!==t;e.currentYear=t||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),i&&(e.redraw(),M("onYearChange"),G())}}function K(n,t){var i;t===void 0&&(t=!0);var o=e.parseDate(n,void 0,t);if(e.config.minDate&&o&&F(o,e.config.minDate,t!==void 0?t:!e.minDateHasTime)<0||e.config.maxDate&&o&&F(o,e.config.maxDate,t!==void 0?t:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(o===void 0)return!1;for(var l=!!e.config.enable,f=(i=e.config.enable)!==null&&i!==void 0?i:e.config.disable,m=0,c=void 0;m=c.from.getTime()&&o.getTime()<=c.to.getTime())return l}return!l}function ce(n){return e.daysContainer!==void 0?n.className.indexOf("hidden")===-1&&n.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(n):!1}function fn(n){var t=n.target===e._input,i=e._input.value.trimEnd()!==Fe();t&&i&&!(n.relatedTarget&&ne(n.relatedTarget))&&e.setDate(e._input.value,!0,n.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function je(n){var t=S(n),i=e.config.wrap?a.contains(t):t===e._input,o=e.config.allowInput,l=e.isOpen&&(!o||!i),f=e.config.inline&&i&&!o;if(n.keyCode===13&&i){if(o)return e.setDate(e._input.value,!0,t===e.altInput?e.config.altFormat:e.config.dateFormat),e.close(),t.blur();e.open()}else if(ne(t)||l||f){var m=!!e.timeContainer&&e.timeContainer.contains(t);switch(n.keyCode){case 13:m?(n.preventDefault(),x(),Ie()):Ke(n);break;case 27:n.preventDefault(),Ie();break;case 8:case 46:i&&!e.config.allowInput&&(n.preventDefault(),e.clear());break;case 37:case 39:if(!m&&!i){n.preventDefault();var c=s();if(e.daysContainer!==void 0&&(o===!1||c&&ce(c))){var p=n.keyCode===39?1:-1;n.ctrlKey?(n.stopPropagation(),ke(p),ee(z(1),0)):ee(void 0,p)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:n.preventDefault();var u=n.keyCode===40?1:-1;e.daysContainer&&t.$i!==void 0||t===e.input||t===e.altInput?n.ctrlKey?(n.stopPropagation(),ue(e.currentYear-u),ee(z(1),0)):m||ee(void 0,u*7):t===e.currentYearElement?ue(e.currentYear-u):e.config.enableTime&&(!m&&e.hourElement&&e.hourElement.focus(),x(n),e._debouncedChange());break;case 9:if(m){var d=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(function(_){return _}),b=d.indexOf(t);if(b!==-1){var Y=d[b+(n.shiftKey?-1:1)];n.preventDefault(),(Y||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(t)&&n.shiftKey&&(n.preventDefault(),e._input.focus());break}}if(e.amPM!==void 0&&t===e.amPM)switch(n.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],A(),H();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],A(),H();break}(i||ne(t))&&M("onKeyDown",n)}function de(n,t){if(t===void 0&&(t="flatpickr-day"),!(e.selectedDates.length!==1||n&&(!n.classList.contains(t)||n.classList.contains("flatpickr-disabled")))){for(var i=n?n.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),o=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),l=Math.min(i,e.selectedDates[0].getTime()),f=Math.max(i,e.selectedDates[0].getTime()),m=!1,c=0,p=0,u=l;ul&&uc)?c=u:u>o&&(!p||u ."+t));d.forEach(function(b){var Y=b.dateObj,_=Y.getTime(),te=c>0&&_0&&_>p;if(te){b.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function($){b.classList.remove($)});return}else if(m&&!te)return;["startRange","inRange","endRange","notAllowed"].forEach(function($){b.classList.remove($)}),n!==void 0&&(n.classList.add(i<=e.selectedDates[0].getTime()?"startRange":"endRange"),oi&&_===o&&b.classList.add("endRange"),_>=c&&(p===0||_<=p)&&ze(_,o,i)&&b.classList.add("inRange"))})}}function un(){e.isOpen&&!e.config.static&&!e.config.inline&&se()}function cn(n,t){if(t===void 0&&(t=e._positionElement),e.isMobile===!0){if(n){n.preventDefault();var i=S(n);i&&i.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),M("onOpen");return}else if(e._input.disabled||e.config.inline)return;var o=e.isOpen;e.isOpen=!0,o||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),M("onOpen"),se(t)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(n===void 0||!e.timeContainer.contains(n.relatedTarget))&&setTimeout(function(){return e.hourElement.select()},50)}function Le(n){return function(t){var i=e.config["_"+n+"Date"]=e.parseDate(t,e.config.dateFormat),o=e.config["_"+(n==="min"?"max":"min")+"Date"];i!==void 0&&(e[n==="min"?"minDateHasTime":"maxDateHasTime"]=i.getHours()>0||i.getMinutes()>0||i.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(function(l){return K(l)}),!e.selectedDates.length&&n==="min"&&N(i),H()),e.daysContainer&&(We(),i!==void 0?e.currentYearElement[n]=i.getFullYear().toString():e.currentYearElement.removeAttribute(n),e.currentYearElement.disabled=!!o&&i!==void 0&&o.getFullYear()===i.getFullYear())}}function dn(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=k(k({},JSON.parse(JSON.stringify(a.dataset||{}))),r),i={};e.config.parseDate=t.parseDate,e.config.formatDate=t.formatDate,Object.defineProperty(e.config,"enable",{get:function(){return e.config._enable},set:function(d){e.config._enable=Ue(d)}}),Object.defineProperty(e.config,"disable",{get:function(){return e.config._disable},set:function(d){e.config._disable=Ue(d)}});var o=t.mode==="time";if(!t.dateFormat&&(t.enableTime||o)){var l=C.defaultConfig.dateFormat||J.dateFormat;i.dateFormat=t.noCalendar||o?"H:i"+(t.enableSeconds?":S":""):l+" H:i"+(t.enableSeconds?":S":"")}if(t.altInput&&(t.enableTime||o)&&!t.altFormat){var f=C.defaultConfig.altFormat||J.altFormat;i.altFormat=t.noCalendar||o?"h:i"+(t.enableSeconds?":S K":" K"):f+(" h:i"+(t.enableSeconds?":S":"")+" K")}Object.defineProperty(e.config,"minDate",{get:function(){return e.config._minDate},set:Le("min")}),Object.defineProperty(e.config,"maxDate",{get:function(){return e.config._maxDate},set:Le("max")});var m=function(d){return function(b){e.config[d==="min"?"_minTime":"_maxTime"]=e.parseDate(b,"H:i:S")}};Object.defineProperty(e.config,"minTime",{get:function(){return e.config._minTime},set:m("min")}),Object.defineProperty(e.config,"maxTime",{get:function(){return e.config._maxTime},set:m("max")}),t.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,i,t);for(var c=0;c-1?e.config[u]=ve(p[u]).map(w).concat(e.config[u]):typeof t[u]>"u"&&(e.config[u]=p[u])}t.altInputClass||(e.config.altInputClass=Re().className+" "+e.config.altInputClass),M("onParseConfig")}function Re(){return e.config.wrap?a.querySelector("[data-input]"):a}function Be(){typeof e.config.locale!="object"&&typeof C.l10ns[e.config.locale]>"u"&&e.config.errorHandler(new Error("flatpickr: invalid locale "+e.config.locale)),e.l10n=k(k({},C.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?C.l10ns[e.config.locale]:void 0),L.D="("+e.l10n.weekdays.shorthand.join("|")+")",L.l="("+e.l10n.weekdays.longhand.join("|")+")",L.M="("+e.l10n.months.shorthand.join("|")+")",L.F="("+e.l10n.months.longhand.join("|")+")",L.K="("+e.l10n.amPM[0]+"|"+e.l10n.amPM[1]+"|"+e.l10n.amPM[0].toLowerCase()+"|"+e.l10n.amPM[1].toLowerCase()+")";var n=k(k({},r),JSON.parse(JSON.stringify(a.dataset||{})));n.time_24hr===void 0&&C.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=Ne(e),e.parseDate=be({config:e.config,l10n:e.l10n})}function se(n){if(typeof e.config.position=="function")return void e.config.position(e,n);if(e.calendarContainer!==void 0){M("onPreCalendarPosition");var t=n||e._positionElement,i=Array.prototype.reduce.call(e.calendarContainer.children,function(Fn,_n){return Fn+_n.offsetHeight},0),o=e.calendarContainer.offsetWidth,l=e.config.position.split(" "),f=l[0],m=l.length>1?l[1]:null,c=t.getBoundingClientRect(),p=window.innerHeight-c.bottom,u=f==="above"||f!=="below"&&pi,d=window.pageYOffset+c.top+(u?-i-2:t.offsetHeight+2);if(I(e.calendarContainer,"arrowTop",!u),I(e.calendarContainer,"arrowBottom",u),!e.config.inline){var b=window.pageXOffset+c.left,Y=!1,_=!1;m==="center"?(b-=(o-c.width)/2,Y=!0):m==="right"&&(b-=o-c.width,_=!0),I(e.calendarContainer,"arrowLeft",!Y&&!_),I(e.calendarContainer,"arrowCenter",Y),I(e.calendarContainer,"arrowRight",_);var te=window.document.body.offsetWidth-(window.pageXOffset+c.right),$=b+o>window.document.body.offsetWidth,yn=te+o>window.document.body.offsetWidth;if(I(e.calendarContainer,"rightMost",$),!e.config.static)if(e.calendarContainer.style.top=d+"px",!$)e.calendarContainer.style.left=b+"px",e.calendarContainer.style.right="auto";else if(!yn)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=te+"px";else{var _e=sn();if(_e===void 0)return;var En=window.document.body.offsetWidth,kn=Math.max(0,En/2-o/2),xn=".flatpickr-calendar.centerMost:before",In=".flatpickr-calendar.centerMost:after",Tn=_e.cssRules.length,Sn="{left:"+c.left+"px;right:auto;}";I(e.calendarContainer,"rightMost",!1),I(e.calendarContainer,"centerMost",!0),_e.insertRule(xn+","+In+Sn,Tn),e.calendarContainer.style.left=kn+"px",e.calendarContainer.style.right="auto"}}}}function sn(){for(var n=null,t=0;te.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=o,e.config.mode==="single")e.selectedDates=[l];else if(e.config.mode==="multiple"){var m=Se(l);m?e.selectedDates.splice(parseInt(m),1):e.selectedDates.push(l)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=l,e.selectedDates.push(l),F(l,e.selectedDates[0],!0)!==0&&e.selectedDates.sort(function(d,b){return d.getTime()-b.getTime()}));if(A(),f){var c=e.currentYear!==l.getFullYear();e.currentYear=l.getFullYear(),e.currentMonth=l.getMonth(),c&&(M("onYearChange"),G()),M("onMonthChange")}if(ge(),fe(),H(),!f&&e.config.mode!=="range"&&e.config.showMonths===1?q(o):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){var p=e.config.mode==="single"&&!e.config.enableTime,u=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(p||u)&&Ie()}R()}}var me={locale:[Be,He],showMonths:[Ye,E,Pe],minDate:[j],maxDate:[j],positionElement:[Ve],clickOpens:[function(){e.config.clickOpens===!0?(D(e._input,"focus",e.open),D(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function gn(n,t){if(n!==null&&typeof n=="object"){Object.assign(e.config,n);for(var i in n)me[i]!==void 0&&me[i].forEach(function(o){return o()})}else e.config[n]=t,me[n]!==void 0?me[n].forEach(function(o){return o()}):he.indexOf(n)>-1&&(e.config[n]=ve(t));e.redraw(),H(!0)}function Je(n,t){var i=[];if(n instanceof Array)i=n.map(function(o){return e.parseDate(o,t)});else if(n instanceof Date||typeof n=="number")i=[e.parseDate(n,t)];else if(typeof n=="string")switch(e.config.mode){case"single":case"time":i=[e.parseDate(n,t)];break;case"multiple":i=n.split(e.config.conjunction).map(function(o){return e.parseDate(o,t)});break;case"range":i=n.split(e.l10n.rangeSeparator).map(function(o){return e.parseDate(o,t)});break}else e.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(n)));e.selectedDates=e.config.allowInvalidPreload?i:i.filter(function(o){return o instanceof Date&&K(o,!1)}),e.config.mode==="range"&&e.selectedDates.sort(function(o,l){return o.getTime()-l.getTime()})}function pn(n,t,i){if(t===void 0&&(t=!1),i===void 0&&(i=e.config.dateFormat),n!==0&&!n||n instanceof Array&&n.length===0)return e.clear(t);Je(n,i),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),j(void 0,t),N(),e.selectedDates.length===0&&e.clear(!1),H(t),t&&M("onChange")}function Ue(n){return n.slice().map(function(t){return typeof t=="string"||typeof t=="number"||t instanceof Date?e.parseDate(t,void 0,!0):t&&typeof t=="object"&&t.from&&t.to?{from:e.parseDate(t.from,void 0),to:e.parseDate(t.to,void 0)}:t}).filter(function(t){return t})}function hn(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;var n=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);n&&Je(n,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function vn(){if(e.input=Re(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=v(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),Ve()}function Ve(){e._positionElement=e.config.positionElement||e._input}function Dn(){var n=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=v("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=n,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=n==="datetime-local"?"Y-m-d\\TH:i:S":n==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch{}D(e.mobileInput,"change",function(t){e.setDate(S(t).value,!1,e.mobileFormatStr),M("onChange"),M("onClose")})}function bn(n){if(e.isOpen===!0)return e.close();e.open(n)}function M(n,t){if(e.config!==void 0){var i=e.config[n];if(i!==void 0&&i.length>0)for(var o=0;i[o]&&o=0&&F(n,e.selectedDates[1])<=0}function ge(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach(function(n,t){var i=new Date(e.currentYear,e.currentMonth,1);i.setMonth(e.currentMonth+t),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[t].textContent=oe(i.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=i.getMonth().toString(),n.value=i.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYeare.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function Fe(n){var t=n||(e.config.altInput?e.config.altFormat:e.config.dateFormat);return e.selectedDates.map(function(i){return e.formatDate(i,t)}).filter(function(i,o,l){return e.config.mode!=="range"||e.config.enableTime||l.indexOf(i)===o}).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function H(n){n===void 0&&(n=!0),e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=Fe(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=Fe(e.config.altFormat)),n!==!1&&M("onValueUpdate")}function wn(n){var t=S(n),i=e.prevMonthNav.contains(t),o=e.nextMonthNav.contains(t);i||o?ke(i?-1:1):e.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):t.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function Cn(n){n.preventDefault();var t=n.type==="keydown",i=S(n),o=i;e.amPM!==void 0&&i===e.amPM&&(e.amPM.textContent=e.l10n.amPM[O(e.amPM.textContent===e.l10n.amPM[0])]);var l=parseFloat(o.getAttribute("min")),f=parseFloat(o.getAttribute("max")),m=parseFloat(o.getAttribute("step")),c=parseInt(o.value,10),p=n.delta||(t?n.which===38?1:-1:0),u=c+m*p;if(typeof o.value<"u"&&o.value.length===2){var d=o===e.hourElement,b=o===e.minuteElement;uf&&(u=o===e.hourElement?u-f-O(!e.amPM):l,b&&V(void 0,1,e.hourElement)),e.amPM&&d&&(m===1?u+c===23:Math.abs(u-c)>m)&&(e.amPM.textContent=e.l10n.amPM[O(e.amPM.textContent===e.l10n.amPM[0])]),o.value=T(u)}}return h(),e}function U(a,r){for(var e=Array.prototype.slice.call(a).filter(function(w){return w instanceof HTMLElement}),g=[],h=0;h1)return a.map(function(n){return l(n)});var i=a[0];if(typeof i.blotName!="string"&&typeof i.attrName!="string")throw new N("Invalid definition");if(i.blotName==="abstract")throw new N("Cannot register abstract class");if(c[i.blotName||i.attrName]=i,typeof i.keyName=="string")A[i.keyName]=i;else if(i.className!=null&&(m[i.className]=i),i.tagName!=null){Array.isArray(i.tagName)?i.tagName=i.tagName.map(function(n){return n.toUpperCase()}):i.tagName=i.tagName.toUpperCase();var f=Array.isArray(i.tagName)?i.tagName:[i.tagName];f.forEach(function(n){(y[n]==null||i.className==null)&&(y[n]=i)})}return i}_.register=l},function(B,_,p){var P=p(51),N=p(11),A=p(3),m=p(20),y="\0",c=function(o){Array.isArray(o)?this.ops=o:o!=null&&Array.isArray(o.ops)?this.ops=o.ops:this.ops=[]};c.prototype.insert=function(o,t){var e={};return o.length===0?this:(e.insert=o,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e))},c.prototype.delete=function(o){return o<=0?this:this.push({delete:o})},c.prototype.retain=function(o,t){if(o<=0)return this;var e={retain:o};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e)},c.prototype.push=function(o){var t=this.ops.length,e=this.ops[t-1];if(o=A(!0,{},o),typeof e=="object"){if(typeof o.delete=="number"&&typeof e.delete=="number")return this.ops[t-1]={delete:e.delete+o.delete},this;if(typeof e.delete=="number"&&o.insert!=null&&(t-=1,e=this.ops[t-1],typeof e!="object"))return this.ops.unshift(o),this;if(N(o.attributes,e.attributes)){if(typeof o.insert=="string"&&typeof e.insert=="string")return this.ops[t-1]={insert:e.insert+o.insert},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this;if(typeof o.retain=="number"&&typeof e.retain=="number")return this.ops[t-1]={retain:e.retain+o.retain},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this}}return t===this.ops.length?this.ops.push(o):this.ops.splice(t,0,o),this},c.prototype.chop=function(){var o=this.ops[this.ops.length-1];return o&&o.retain&&!o.attributes&&this.ops.pop(),this},c.prototype.filter=function(o){return this.ops.filter(o)},c.prototype.forEach=function(o){this.ops.forEach(o)},c.prototype.map=function(o){return this.ops.map(o)},c.prototype.partition=function(o){var t=[],e=[];return this.forEach(function(u){var l=o(u)?t:e;l.push(u)}),[t,e]},c.prototype.reduce=function(o,t){return this.ops.reduce(o,t)},c.prototype.changeLength=function(){return this.reduce(function(o,t){return t.insert?o+m.length(t):t.delete?o-t.delete:o},0)},c.prototype.length=function(){return this.reduce(function(o,t){return o+m.length(t)},0)},c.prototype.slice=function(o,t){o=o||0,typeof t!="number"&&(t=1/0);for(var e=[],u=m.iterator(this.ops),l=0;l0&&e.next(l.retain-a)}for(var r=new c(u);t.hasNext()||e.hasNext();)if(e.peekType()==="insert")r.push(e.next());else if(t.peekType()==="delete")r.push(t.next());else{var i=Math.min(t.peekLength(),e.peekLength()),f=t.next(i),n=e.next(i);if(typeof n.retain=="number"){var s={};typeof f.retain=="number"?s.retain=i:s.insert=f.insert;var k=m.attributes.compose(f.attributes,n.attributes,typeof f.retain=="number");if(k&&(s.attributes=k),r.push(s),!e.hasNext()&&N(r.ops[r.ops.length-1],s)){var g=new c(t.rest());return r.concat(g).chop()}}else typeof n.delete=="number"&&typeof f.retain=="number"&&r.push(n)}return r.chop()},c.prototype.concat=function(o){var t=new c(this.ops.slice());return o.ops.length>0&&(t.push(o.ops[0]),t.ops=t.ops.concat(o.ops.slice(1))),t},c.prototype.diff=function(o,t){if(this.ops===o.ops)return new c;var e=[this,o].map(function(i){return i.map(function(f){if(f.insert!=null)return typeof f.insert=="string"?f.insert:y;var n=i===o?"on":"with";throw new Error("diff() called "+n+" non-document")}).join("")}),u=new c,l=P(e[0],e[1],t),a=m.iterator(this.ops),r=m.iterator(o.ops);return l.forEach(function(i){for(var f=i[1].length;f>0;){var n=0;switch(i[0]){case P.INSERT:n=Math.min(r.peekLength(),f),u.push(r.next(n));break;case P.DELETE:n=Math.min(f,a.peekLength()),a.next(n),u.delete(n);break;case P.EQUAL:n=Math.min(a.peekLength(),r.peekLength(),f);var s=a.next(n),k=r.next(n);N(s.insert,k.insert)?u.retain(n,m.attributes.diff(s.attributes,k.attributes)):u.push(k).delete(n);break}f-=n}}),u.chop()},c.prototype.eachLine=function(o,t){t=t||` -`;for(var e=m.iterator(this.ops),u=new c,l=0;e.hasNext();){if(e.peekType()!=="insert")return;var a=e.peek(),r=m.length(a)-e.peekLength(),i=typeof a.insert=="string"?a.insert.indexOf(t,r)-r:-1;if(i<0)u.push(e.next());else if(i>0)u.push(e.next(i));else{if(o(u,e.next(1).attributes||{},l)===!1)return;l+=1,u=new c}}u.length()>0&&o(u,{},l)},c.prototype.transform=function(o,t){if(t=!!t,typeof o=="number")return this.transformPosition(o,t);for(var e=m.iterator(this.ops),u=m.iterator(o.ops),l=new c;e.hasNext()||u.hasNext();)if(e.peekType()==="insert"&&(t||u.peekType()!=="insert"))l.retain(m.length(e.next()));else if(u.peekType()==="insert")l.push(u.next());else{var a=Math.min(e.peekLength(),u.peekLength()),r=e.next(a),i=u.next(a);if(r.delete)continue;i.delete?l.push(i):l.retain(a,m.attributes.transform(r.attributes,i.attributes,t))}return l.chop()},c.prototype.transformPosition=function(o,t){t=!!t;for(var e=m.iterator(this.ops),u=0;e.hasNext()&&u<=o;){var l=e.peekLength(),a=e.peekType();if(e.next(),a==="delete"){o-=Math.min(l,o-u);continue}else a==="insert"&&(u"u"||p.call(e,a)},c=function(e,u){N&&u.name==="__proto__"?N(e,u.name,{enumerable:!0,configurable:!0,value:u.newValue,writable:!0}):e[u.name]=u.newValue},o=function(e,u){if(u==="__proto__")if(p.call(e,u)){if(A)return A(e,u).value}else return;return e[u]};B.exports=function t(){var e,u,l,a,r,i,f=arguments[0],n=1,s=arguments.length,k=!1;for(typeof f=="boolean"&&(k=f,f=arguments[1]||{},n=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});n0&&(T1&&arguments[1]!==void 0?arguments[1]:!1;if(q&&(T===0||T>=this.length()-g)){var D=this.clone();return T===0?(this.parent.insertBefore(D,this),this):(this.parent.insertBefore(D,this.next),D)}else{var C=N(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"split",this).call(this,T,q);return this.cache={},C}}}]),d}(t.default.Block);w.blotName="block",w.tagName="P",w.defaultChild="break",w.allowedChildren=[a.default,t.default.Embed,i.default];function v(h){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return h==null||(typeof h.formats=="function"&&(d=(0,m.default)(d,h.formats())),h.parent==null||h.parent.blotName=="scroll"||h.parent.statics.scope!==h.statics.scope)?d:v(h.parent,d)}_.bubbleFormats=v,_.BlockEmbed=b,_.default=w},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.overload=_.expandConfig=void 0;var P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},N=function(){function I(R,O){var S=[],L=!0,F=!1,M=void 0;try{for(var x=R[Symbol.iterator](),j;!(L=(j=x.next()).done)&&(S.push(j.value),!(O&&S.length===O));L=!0);}catch(U){F=!0,M=U}finally{try{!L&&x.return&&x.return()}finally{if(F)throw M}}return S}return function(R,O){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return I(R,O);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function I(R,O){for(var S=0;S2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof O!="string"){var M=O.attrName||O.blotName;typeof M=="string"?this.register("formats/"+M,O,S):Object.keys(O).forEach(function(x){L.register(x,O[x],S)})}else this.imports[O]!=null&&!F&&E.warn("Overwriting "+O+" with",S),this.imports[O]=S,(O.startsWith("blots/")||O.startsWith("formats/"))&&S.blotName!=="abstract"?r.default.register(S):O.startsWith("modules")&&typeof S.register=="function"&&S.register()}}]);function I(R){var O=this,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(d(this,I),this.options=q(R,S),this.container=this.options.container,this.container==null)return E.error("Invalid Quill container",R);this.options.debug&&I.debug(this.options.debug);var L=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new e.default,this.scroll=r.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new o.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(e.default.events.EDITOR_CHANGE,function(M){M===e.default.events.TEXT_CHANGE&&O.root.classList.toggle("ql-blank",O.editor.isBlank())}),this.emitter.on(e.default.events.SCROLL_UPDATE,function(M,x){var j=O.selection.lastRange,U=j&&j.length===0?j.index:void 0;D.call(O,function(){return O.editor.update(null,x,U)},M)});var F=this.clipboard.convert(`
`+L+"


");this.setContents(F),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return A(I,[{key:"addContainer",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof O=="string"){var L=O;O=document.createElement("div"),O.classList.add(L)}return this.container.insertBefore(O,S),O}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(O,S,L){var F=this,M=C(O,S,L),x=N(M,4);return O=x[0],S=x[1],L=x[3],D.call(this,function(){return F.editor.deleteText(O,S)},L,O,-1*S)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(O),this.container.classList.toggle("ql-disabled",!O)}},{key:"focus",value:function(){var O=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=O,this.scrollIntoView()}},{key:"format",value:function(O,S){var L=this,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.default.sources.API;return D.call(this,function(){var M=L.getSelection(!0),x=new y.default;if(M==null)return x;if(r.default.query(O,r.default.Scope.BLOCK))x=L.editor.formatLine(M.index,M.length,h({},O,S));else{if(M.length===0)return L.selection.format(O,S),x;x=L.editor.formatText(M.index,M.length,h({},O,S))}return L.setSelection(M,e.default.sources.SILENT),x},F)}},{key:"formatLine",value:function(O,S,L,F,M){var x=this,j=void 0,U=C(O,S,L,F,M),H=N(U,4);return O=H[0],S=H[1],j=H[2],M=H[3],D.call(this,function(){return x.editor.formatLine(O,S,j)},M,O,0)}},{key:"formatText",value:function(O,S,L,F,M){var x=this,j=void 0,U=C(O,S,L,F,M),H=N(U,4);return O=H[0],S=H[1],j=H[2],M=H[3],D.call(this,function(){return x.editor.formatText(O,S,j)},M,O,0)}},{key:"getBounds",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,L=void 0;typeof O=="number"?L=this.selection.getBounds(O,S):L=this.selection.getBounds(O.index,O.length);var F=this.container.getBoundingClientRect();return{bottom:L.bottom-F.top,height:L.height,left:L.left-F.left,right:L.right-F.left,top:L.top-F.top,width:L.width}}},{key:"getContents",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-O,L=C(O,S),F=N(L,2);return O=F[0],S=F[1],this.editor.getContents(O,S)}},{key:"getFormat",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof O=="number"?this.editor.getFormat(O,S):this.editor.getFormat(O.index,O.length)}},{key:"getIndex",value:function(O){return O.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(O){return this.scroll.leaf(O)}},{key:"getLine",value:function(O){return this.scroll.line(O)}},{key:"getLines",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof O!="number"?this.scroll.lines(O.index,O.length):this.scroll.lines(O,S)}},{key:"getModule",value:function(O){return this.theme.modules[O]}},{key:"getSelection",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return O&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-O,L=C(O,S),F=N(L,2);return O=F[0],S=F[1],this.editor.getText(O,S)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(O,S,L){var F=this,M=arguments.length>3&&arguments[3]!==void 0?arguments[3]:I.sources.API;return D.call(this,function(){return F.editor.insertEmbed(O,S,L)},M,O)}},{key:"insertText",value:function(O,S,L,F,M){var x=this,j=void 0,U=C(O,0,L,F,M),H=N(U,4);return O=H[0],j=H[2],M=H[3],D.call(this,function(){return x.editor.insertText(O,S,j)},M,O,S.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(O,S,L){this.clipboard.dangerouslyPasteHTML(O,S,L)}},{key:"removeFormat",value:function(O,S,L){var F=this,M=C(O,S,L),x=N(M,4);return O=x[0],S=x[1],L=x[3],D.call(this,function(){return F.editor.removeFormat(O,S)},L,O)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(O){var S=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.default.sources.API;return D.call(this,function(){O=new y.default(O);var F=S.getLength(),M=S.editor.deleteText(0,F),x=S.editor.applyDelta(O),j=x.ops[x.ops.length-1];j!=null&&typeof j.insert=="string"&&j.insert[j.insert.length-1]===` -`&&(S.editor.deleteText(S.getLength()-1,1),x.delete(1));var U=M.compose(x);return U},L)}},{key:"setSelection",value:function(O,S,L){if(O==null)this.selection.setRange(null,S||I.sources.API);else{var F=C(O,S,L),M=N(F,4);O=M[0],S=M[1],L=M[3],this.selection.setRange(new i.Range(O,S),L),L!==e.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.default.sources.API,L=new y.default().insert(O);return this.setContents(L,S)}},{key:"update",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.default.sources.USER,S=this.scroll.update(O);return this.selection.update(O),S}},{key:"updateContents",value:function(O){var S=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.default.sources.API;return D.call(this,function(){return O=new y.default(O),S.editor.applyDelta(O,L)},L,!0)}}]),I}();T.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},T.events=e.default.events,T.sources=e.default.sources,T.version="1.3.7",T.imports={delta:y.default,parchment:r.default,"core/module":l.default,"core/theme":w.default};function q(I,R){if(R=(0,s.default)(!0,{container:I,modules:{clipboard:!0,keyboard:!0,history:!0}},R),!R.theme||R.theme===T.DEFAULTS.theme)R.theme=w.default;else if(R.theme=T.import("themes/"+R.theme),R.theme==null)throw new Error("Invalid theme "+R.theme+". Did you register it?");var O=(0,s.default)(!0,{},R.theme.DEFAULTS);[O,R].forEach(function(F){F.modules=F.modules||{},Object.keys(F.modules).forEach(function(M){F.modules[M]===!0&&(F.modules[M]={})})});var S=Object.keys(O.modules).concat(Object.keys(R.modules)),L=S.reduce(function(F,M){var x=T.import("modules/"+M);return x==null?E.error("Cannot load "+M+" module. Are you sure you registered it?"):F[M]=x.DEFAULTS||{},F},{});return R.modules!=null&&R.modules.toolbar&&R.modules.toolbar.constructor!==Object&&(R.modules.toolbar={container:R.modules.toolbar}),R=(0,s.default)(!0,{},T.DEFAULTS,{modules:L},O,R),["bounds","container","scrollingContainer"].forEach(function(F){typeof R[F]=="string"&&(R[F]=document.querySelector(R[F]))}),R.modules=Object.keys(R.modules).reduce(function(F,M){return R.modules[M]&&(F[M]=R.modules[M]),F},{}),R}function D(I,R,O,S){if(this.options.strict&&!this.isEnabled()&&R===e.default.sources.USER)return new y.default;var L=O==null?null:this.getSelection(),F=this.editor.delta,M=I();if(L!=null&&(O===!0&&(O=L.index),S==null?L=Z(L,M,R):S!==0&&(L=Z(L,O,S,R)),this.setSelection(L,e.default.sources.SILENT)),M.length()>0){var x,j=[e.default.events.TEXT_CHANGE,M,F,R];if((x=this.emitter).emit.apply(x,[e.default.events.EDITOR_CHANGE].concat(j)),R!==e.default.sources.SILENT){var U;(U=this.emitter).emit.apply(U,j)}}return M}function C(I,R,O,S,L){var F={};return typeof I.index=="number"&&typeof I.length=="number"?typeof R!="number"?(L=S,S=O,O=R,R=I.length,I=I.index):(R=I.length,I=I.index):typeof R!="number"&&(L=S,S=O,O=R,R=0),(typeof O>"u"?"undefined":P(O))==="object"?(F=O,L=S):typeof O=="string"&&(S!=null?F[O]=S:L=O),L=L||e.default.sources.API,[I,R,F,L]}function Z(I,R,O,S){if(I==null)return null;var L=void 0,F=void 0;if(R instanceof y.default){var M=[I.index,I.index+I.length].map(function(H){return R.transformPosition(H,S!==e.default.sources.USER)}),x=N(M,2);L=x[0],F=x[1]}else{var j=[I.index,I.index+I.length].map(function(H){return H=0?H+O:Math.max(R,H+O)}),U=N(j,2);L=U[0],F=U[1]}return new i.Range(L,F-L)}_.expandConfig=q,_.overload=C,_.default=T},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function a(r,i){for(var f=0;f0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(f,n){var s=r.order.indexOf(f),k=r.order.indexOf(n);return s>=0||k>=0?s-k:f===n?0:f1?k-1:0),b=1;b1&&arguments[1]!==void 0?arguments[1]:{};P(this,A),this.quill=m,this.options=y};N.DEFAULTS={},_.default=N},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=["error","warn","log","info"],N="warn";function A(y){if(P.indexOf(y)<=P.indexOf(N)){for(var c,o=arguments.length,t=Array(o>1?o-1:0),e=1;e0&&typeof t[0]!="number")}function o(t,e,u){var l,a;if(y(t)||y(e)||t.prototype!==e.prototype)return!1;if(A(t))return A(e)?(t=P.call(t),e=P.call(e),m(t,e,u)):!1;if(c(t)){if(!c(e)||t.length!==e.length)return!1;for(l=0;l=0;l--)if(r[l]!=i[l])return!1;for(l=r.length-1;l>=0;l--)if(a=r[l],!m(t[a],e[a],u))return!1;return typeof t==typeof e}},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(1),N=function(){function A(m,y,c){c===void 0&&(c={}),this.attrName=m,this.keyName=y;var o=P.Scope.TYPE&P.Scope.ATTRIBUTE;c.scope!=null?this.scope=c.scope&P.Scope.LEVEL|o:this.scope=P.Scope.ATTRIBUTE,c.whitelist!=null&&(this.whitelist=c.whitelist)}return A.keys=function(m){return[].map.call(m.attributes,function(y){return y.name})},A.prototype.add=function(m,y){return this.canAdd(m,y)?(m.setAttribute(this.keyName,y),!0):!1},A.prototype.canAdd=function(m,y){var c=P.query(m,P.Scope.BLOT&(this.scope|P.Scope.TYPE));return c==null?!1:this.whitelist==null?!0:typeof y=="string"?this.whitelist.indexOf(y.replace(/["']/g,""))>-1:this.whitelist.indexOf(y)>-1},A.prototype.remove=function(m){m.removeAttribute(this.keyName)},A.prototype.value=function(m){var y=m.getAttribute(this.keyName);return this.canAdd(m,y)&&y?y:""},A}();_.default=N},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.Code=void 0;var P=function(){function b(w,v){var h=[],d=!0,E=!1,T=void 0;try{for(var q=w[Symbol.iterator](),D;!(d=(D=q.next()).done)&&(h.push(D.value),!(v&&h.length===v));d=!0);}catch(C){E=!0,T=C}finally{try{!d&&q.return&&q.return()}finally{if(E)throw T}}return h}return function(w,v){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return b(w,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),N=function(){function b(w,v){for(var h=0;h=h+d)){var D=this.newlineIndex(h,!0)+1,C=q-D+1,Z=this.isolate(D,C),I=Z.next;Z.format(E,T),I instanceof w&&I.formatAt(0,h-D+d-C,E,T)}}}},{key:"insertAt",value:function(h,d,E){if(E==null){var T=this.descendant(r.default,h),q=P(T,2),D=q[0],C=q[1];D.insertAt(C,d)}}},{key:"length",value:function(){var h=this.domNode.textContent.length;return this.domNode.textContent.endsWith(` -`)?h:h+1}},{key:"newlineIndex",value:function(h){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(d)return this.domNode.textContent.slice(0,h).lastIndexOf(` -`);var E=this.domNode.textContent.slice(h).indexOf(` -`);return E>-1?h+E:-1}},{key:"optimize",value:function(h){this.domNode.textContent.endsWith(` -`)||this.appendChild(o.default.create("text",` -`)),A(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"optimize",this).call(this,h);var d=this.next;d!=null&&d.prev===this&&d.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===d.statics.formats(d.domNode)&&(d.optimize(h),d.moveChildren(this),d.remove())}},{key:"replace",value:function(h){A(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"replace",this).call(this,h),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(d){var E=o.default.find(d);E==null?d.parentNode.removeChild(d):E instanceof o.default.Embed?E.remove():E.unwrap()})}}],[{key:"create",value:function(h){var d=A(w.__proto__||Object.getPrototypeOf(w),"create",this).call(this,h);return d.setAttribute("spellcheck",!1),d}},{key:"formats",value:function(){return!0}}]),w}(e.default);g.blotName="code-block",g.tagName="PRE",g.TAB=" ",_.Code=k,_.default=g},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},N=function(){function I(R,O){var S=[],L=!0,F=!1,M=void 0;try{for(var x=R[Symbol.iterator](),j;!(L=(j=x.next()).done)&&(S.push(j.value),!(O&&S.length===O));L=!0);}catch(U){F=!0,M=U}finally{try{!L&&x.return&&x.return()}finally{if(F)throw M}}return S}return function(R,O){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return I(R,O);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function I(R,O){for(var S=0;S=F&&!H.endsWith(` -`)&&(L=!0),S.scroll.insertAt(M,H);var V=S.scroll.line(M),Y=N(V,2),X=Y[0],Q=Y[1],nt=(0,h.default)({},(0,i.bubbleFormats)(X));if(X instanceof f.default){var rt=X.descendant(e.default.Leaf,Q),at=N(rt,1),lt=at[0];nt=(0,h.default)(nt,(0,i.bubbleFormats)(lt))}U=o.default.attributes.diff(nt,U)||{}}else if(P(x.insert)==="object"){var z=Object.keys(x.insert)[0];if(z==null)return M;S.scroll.insertAt(M,z,x.insert[z])}F+=j}return Object.keys(U).forEach(function(K){S.scroll.formatAt(M,j,K,U[K])}),M+j},0),O.reduce(function(M,x){return typeof x.delete=="number"?(S.scroll.deleteAt(M,x.delete),M):M+(x.retain||x.insert.length||1)},0),this.scroll.batchEnd(),this.update(O)}},{key:"deleteText",value:function(O,S){return this.scroll.deleteAt(O,S),this.update(new y.default().retain(O).delete(S))}},{key:"formatLine",value:function(O,S){var L=this,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(F).forEach(function(M){if(!(L.scroll.whitelist!=null&&!L.scroll.whitelist[M])){var x=L.scroll.lines(O,Math.max(S,1)),j=S;x.forEach(function(U){var H=U.length();if(!(U instanceof l.default))U.format(M,F[M]);else{var V=O-U.offset(L.scroll),Y=U.newlineIndex(V+j)-V+1;U.formatAt(V,Y,M,F[M])}j-=H})}}),this.scroll.optimize(),this.update(new y.default().retain(O).retain(S,(0,g.default)(F)))}},{key:"formatText",value:function(O,S){var L=this,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(F).forEach(function(M){L.scroll.formatAt(O,S,M,F[M])}),this.update(new y.default().retain(O).retain(S,(0,g.default)(F)))}},{key:"getContents",value:function(O,S){return this.delta.slice(O,O+S)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(O,S){return O.concat(S.delta())},new y.default)}},{key:"getFormat",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,L=[],F=[];S===0?this.scroll.path(O).forEach(function(x){var j=N(x,1),U=j[0];U instanceof f.default?L.push(U):U instanceof e.default.Leaf&&F.push(U)}):(L=this.scroll.lines(O,S),F=this.scroll.descendants(e.default.Leaf,O,S));var M=[L,F].map(function(x){if(x.length===0)return{};for(var j=(0,i.bubbleFormats)(x.shift());Object.keys(j).length>0;){var U=x.shift();if(U==null)return j;j=C((0,i.bubbleFormats)(U),j)}return j});return h.default.apply(h.default,M)}},{key:"getText",value:function(O,S){return this.getContents(O,S).filter(function(L){return typeof L.insert=="string"}).map(function(L){return L.insert}).join("")}},{key:"insertEmbed",value:function(O,S,L){return this.scroll.insertAt(O,S,L),this.update(new y.default().retain(O).insert(E({},S,L)))}},{key:"insertText",value:function(O,S){var L=this,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return S=S.replace(/\r\n/g,` -`).replace(/\r/g,` -`),this.scroll.insertAt(O,S),Object.keys(F).forEach(function(M){L.scroll.formatAt(O,S.length,M,F[M])}),this.update(new y.default().retain(O).insert(S,(0,g.default)(F)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var O=this.scroll.children.head;return O.statics.blotName!==f.default.blotName||O.children.length>1?!1:O.children.head instanceof s.default}},{key:"removeFormat",value:function(O,S){var L=this.getText(O,S),F=this.scroll.line(O+S),M=N(F,2),x=M[0],j=M[1],U=0,H=new y.default;x!=null&&(x instanceof l.default?U=x.newlineIndex(j)-j+1:U=x.length()-j,H=x.delta().slice(j,j+U-1).insert(` -`));var V=this.getContents(O,S+U),Y=V.diff(new y.default().insert(L).concat(H)),X=new y.default().retain(O).concat(Y);return this.applyDelta(X)}},{key:"update",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,F=this.delta;if(S.length===1&&S[0].type==="characterData"&&S[0].target.data.match(q)&&e.default.find(S[0].target)){var M=e.default.find(S[0].target),x=(0,i.bubbleFormats)(M),j=M.offset(this.scroll),U=S[0].oldValue.replace(r.default.CONTENTS,""),H=new y.default().insert(U),V=new y.default().insert(M.value()),Y=new y.default().retain(j).concat(H.diff(V,L));O=Y.reduce(function(X,Q){return Q.insert?X.insert(Q.insert,x):X.push(Q)},new y.default),this.delta=F.compose(O)}else this.delta=this.getDelta(),(!O||!(0,w.default)(F.compose(O),this.delta))&&(O=F.diff(this.delta,L));return O}}]),I}();function C(I,R){return Object.keys(R).reduce(function(O,S){return I[S]==null||(R[S]===I[S]?O[S]=R[S]:Array.isArray(R[S])?R[S].indexOf(I[S])<0&&(O[S]=R[S].concat([I[S]])):O[S]=[R[S],I[S]]),O},{})}function Z(I){return I.reduce(function(R,O){if(O.insert===1){var S=(0,g.default)(O.attributes);return delete S.image,R.insert({image:O.attributes.image},S)}if(O.attributes!=null&&(O.attributes.list===!0||O.attributes.bullet===!0)&&(O=(0,g.default)(O),O.attributes.list?O.attributes.list="ordered":(O.attributes.list="bullet",delete O.attributes.bullet)),typeof O.insert=="string"){var L=O.insert.replace(/\r\n/g,` -`).replace(/\r/g,` -`);return R.insert(L,O.attributes)}return R.push(O)},new y.default)}_.default=D},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.Range=void 0;var P=function(){function b(w,v){var h=[],d=!0,E=!1,T=void 0;try{for(var q=w[Symbol.iterator](),D;!(d=(D=q.next()).done)&&(h.push(D.value),!(v&&h.length===v));d=!0);}catch(C){E=!0,T=C}finally{try{!d&&q.return&&q.return()}finally{if(E)throw T}}return h}return function(w,v){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return b(w,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),N=function(){function b(w,v){for(var h=0;h1&&arguments[1]!==void 0?arguments[1]:0;f(this,b),this.index=w,this.length=v},k=function(){function b(w,v){var h=this;f(this,b),this.emitter=v,this.scroll=w,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=m.default.create("cursor",this),this.lastRange=this.savedRange=new s(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){h.mouseDown||setTimeout(h.update.bind(h,u.default.sources.USER),1)}),this.emitter.on(u.default.events.EDITOR_CHANGE,function(d,E){d===u.default.events.TEXT_CHANGE&&E.length()>0&&h.update(u.default.sources.SILENT)}),this.emitter.on(u.default.events.SCROLL_BEFORE_UPDATE,function(){if(h.hasFocus()){var d=h.getNativeRange();d!=null&&d.start.node!==h.cursor.textNode&&h.emitter.once(u.default.events.SCROLL_UPDATE,function(){try{h.setNativeRange(d.start.node,d.start.offset,d.end.node,d.end.offset)}catch{}})}}),this.emitter.on(u.default.events.SCROLL_OPTIMIZE,function(d,E){if(E.range){var T=E.range,q=T.startNode,D=T.startOffset,C=T.endNode,Z=T.endOffset;h.setNativeRange(q,D,C,Z)}}),this.update(u.default.sources.SILENT)}return N(b,[{key:"handleComposition",value:function(){var v=this;this.root.addEventListener("compositionstart",function(){v.composing=!0}),this.root.addEventListener("compositionend",function(){if(v.composing=!1,v.cursor.parent){var h=v.cursor.restore();if(!h)return;setTimeout(function(){v.setNativeRange(h.startNode,h.startOffset,h.endNode,h.endOffset)},1)}})}},{key:"handleDragging",value:function(){var v=this;this.emitter.listenDOM("mousedown",document.body,function(){v.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){v.mouseDown=!1,v.update(u.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(v,h){if(!(this.scroll.whitelist!=null&&!this.scroll.whitelist[v])){this.scroll.update();var d=this.getNativeRange();if(!(d==null||!d.native.collapsed||m.default.query(v,m.default.Scope.BLOCK))){if(d.start.node!==this.cursor.textNode){var E=m.default.find(d.start.node,!1);if(E==null)return;if(E instanceof m.default.Leaf){var T=E.split(d.start.offset);E.parent.insertBefore(this.cursor,T)}else E.insertBefore(this.cursor,d.start.node);this.cursor.attach()}this.cursor.format(v,h),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(v){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,d=this.scroll.length();v=Math.min(v,d-1),h=Math.min(v+h,d-1)-v;var E=void 0,T=this.scroll.leaf(v),q=P(T,2),D=q[0],C=q[1];if(D==null)return null;var Z=D.position(C,!0),I=P(Z,2);E=I[0],C=I[1];var R=document.createRange();if(h>0){R.setStart(E,C);var O=this.scroll.leaf(v+h),S=P(O,2);if(D=S[0],C=S[1],D==null)return null;var L=D.position(C,!0),F=P(L,2);return E=F[0],C=F[1],R.setEnd(E,C),R.getBoundingClientRect()}else{var M="left",x=void 0;return E instanceof Text?(C0&&(M="right")),{bottom:x.top+x.height,height:x.height,left:x[M],right:x[M],top:x.top,width:0}}}},{key:"getNativeRange",value:function(){var v=document.getSelection();if(v==null||v.rangeCount<=0)return null;var h=v.getRangeAt(0);if(h==null)return null;var d=this.normalizeNative(h);return n.info("getNativeRange",d),d}},{key:"getRange",value:function(){var v=this.getNativeRange();if(v==null)return[null,null];var h=this.normalizedToRange(v);return[h,v]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(v){var h=this,d=[[v.start.node,v.start.offset]];v.native.collapsed||d.push([v.end.node,v.end.offset]);var E=d.map(function(D){var C=P(D,2),Z=C[0],I=C[1],R=m.default.find(Z,!0),O=R.offset(h.scroll);return I===0?O:R instanceof m.default.Container?O+R.length():O+R.index(Z,I)}),T=Math.min(Math.max.apply(Math,i(E)),this.scroll.length()-1),q=Math.min.apply(Math,[T].concat(i(E)));return new s(q,T-q)}},{key:"normalizeNative",value:function(v){if(!g(this.root,v.startContainer)||!v.collapsed&&!g(this.root,v.endContainer))return null;var h={start:{node:v.startContainer,offset:v.startOffset},end:{node:v.endContainer,offset:v.endOffset},native:v};return[h.start,h.end].forEach(function(d){for(var E=d.node,T=d.offset;!(E instanceof Text)&&E.childNodes.length>0;)if(E.childNodes.length>T)E=E.childNodes[T],T=0;else if(E.childNodes.length===T)E=E.lastChild,T=E instanceof Text?E.data.length:E.childNodes.length+1;else break;d.node=E,d.offset=T}),h}},{key:"rangeToNative",value:function(v){var h=this,d=v.collapsed?[v.index]:[v.index,v.index+v.length],E=[],T=this.scroll.length();return d.forEach(function(q,D){q=Math.min(T-1,q);var C=void 0,Z=h.scroll.leaf(q),I=P(Z,2),R=I[0],O=I[1],S=R.position(O,D!==0),L=P(S,2);C=L[0],O=L[1],E.push(C,O)}),E.length<2&&(E=E.concat(E)),E}},{key:"scrollIntoView",value:function(v){var h=this.lastRange;if(h!=null){var d=this.getBounds(h.index,h.length);if(d!=null){var E=this.scroll.length()-1,T=this.scroll.line(Math.min(h.index,E)),q=P(T,1),D=q[0],C=D;if(h.length>0){var Z=this.scroll.line(Math.min(h.index+h.length,E)),I=P(Z,1);C=I[0]}if(!(D==null||C==null)){var R=v.getBoundingClientRect();d.topR.bottom&&(v.scrollTop+=d.bottom-R.bottom)}}}}},{key:"setNativeRange",value:function(v,h){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:h,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(n.info("setNativeRange",v,h,d,E),!(v!=null&&(this.root.parentNode==null||v.parentNode==null||d.parentNode==null))){var q=document.getSelection();if(q!=null)if(v!=null){this.hasFocus()||this.root.focus();var D=(this.getNativeRange()||{}).native;if(D==null||T||v!==D.startContainer||h!==D.startOffset||d!==D.endContainer||E!==D.endOffset){v.tagName=="BR"&&(h=[].indexOf.call(v.parentNode.childNodes,v),v=v.parentNode),d.tagName=="BR"&&(E=[].indexOf.call(d.parentNode.childNodes,d),d=d.parentNode);var C=document.createRange();C.setStart(v,h),C.setEnd(d,E),q.removeAllRanges(),q.addRange(C)}}else q.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(v){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.default.sources.API;if(typeof h=="string"&&(d=h,h=!1),n.info("setRange",v),v!=null){var E=this.rangeToNative(v);this.setNativeRange.apply(this,i(E).concat([h]))}else this.setNativeRange(null);this.update(d)}},{key:"update",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u.default.sources.USER,h=this.lastRange,d=this.getRange(),E=P(d,2),T=E[0],q=E[1];if(this.lastRange=T,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,t.default)(h,this.lastRange)){var D;!this.composing&&q!=null&&q.native.collapsed&&q.start.node!==this.cursor.textNode&&this.cursor.restore();var C=[u.default.events.SELECTION_CHANGE,(0,c.default)(this.lastRange),(0,c.default)(h),v];if((D=this.emitter).emit.apply(D,[u.default.events.EDITOR_CHANGE].concat(C)),v!==u.default.sources.SILENT){var Z;(Z=this.emitter).emit.apply(Z,C)}}}}]),b}();function g(b,w){try{w.parentNode}catch{return!1}return w instanceof Text&&(w=w.parentNode),b.contains(w)}_.Range=s,_.default=k},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function u(l,a){for(var r=0;r0&&(e+=1),[this.parent.domNode,e]},c.prototype.value=function(){var o;return o={},o[this.statics.blotName]=this.statics.value(this.domNode)||!0,o},c.scope=A.Scope.INLINE_BLOT,c}(N.default);_.default=m},function(B,_,p){var P=p(11),N=p(3),A={attributes:{compose:function(y,c,o){typeof y!="object"&&(y={}),typeof c!="object"&&(c={});var t=N(!0,{},c);o||(t=Object.keys(t).reduce(function(u,l){return t[l]!=null&&(u[l]=t[l]),u},{}));for(var e in y)y[e]!==void 0&&c[e]===void 0&&(t[e]=y[e]);return Object.keys(t).length>0?t:void 0},diff:function(y,c){typeof y!="object"&&(y={}),typeof c!="object"&&(c={});var o=Object.keys(y).concat(Object.keys(c)).reduce(function(t,e){return P(y[e],c[e])||(t[e]=c[e]===void 0?null:c[e]),t},{});return Object.keys(o).length>0?o:void 0},transform:function(y,c,o){if(typeof y!="object")return c;if(typeof c=="object"){if(!o)return c;var t=Object.keys(c).reduce(function(e,u){return y[u]===void 0&&(e[u]=c[u]),e},{});return Object.keys(t).length>0?t:void 0}}},iterator:function(y){return new m(y)},length:function(y){return typeof y.delete=="number"?y.delete:typeof y.retain=="number"?y.retain:typeof y.insert=="string"?y.insert.length:1}};function m(y){this.ops=y,this.index=0,this.offset=0}m.prototype.hasNext=function(){return this.peekLength()<1/0},m.prototype.next=function(y){y||(y=1/0);var c=this.ops[this.index];if(c){var o=this.offset,t=A.length(c);if(y>=t-o?(y=t-o,this.index+=1,this.offset=0):this.offset+=y,typeof c.delete=="number")return{delete:y};var e={};return c.attributes&&(e.attributes=c.attributes),typeof c.retain=="number"?e.retain=y:typeof c.insert=="string"?e.insert=c.insert.substr(o,y):e.insert=c.insert,e}else return{retain:1/0}},m.prototype.peek=function(){return this.ops[this.index]},m.prototype.peekLength=function(){return this.ops[this.index]?A.length(this.ops[this.index])-this.offset:1/0},m.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},m.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var y=this.offset,c=this.index,o=this.next(),t=this.ops.slice(this.index);return this.offset=y,this.index=c,[o].concat(t)}else return[]},B.exports=A},function(B,_){var p=function(){function P(l,a){return a!=null&&l instanceof a}var N;try{N=Map}catch{N=function(){}}var A;try{A=Set}catch{A=function(){}}var m;try{m=Promise}catch{m=function(){}}function y(l,a,r,i,f){typeof a=="object"&&(r=a.depth,i=a.prototype,f=a.includeNonEnumerable,a=a.circular);var n=[],s=[],k=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof r>"u"&&(r=1/0);function g(b,w){if(b===null)return null;if(w===0)return b;var v,h;if(typeof b!="object")return b;if(P(b,N))v=new N;else if(P(b,A))v=new A;else if(P(b,m))v=new m(function(R,O){b.then(function(S){R(g(S,w-1))},function(S){O(g(S,w-1))})});else if(y.__isArray(b))v=[];else if(y.__isRegExp(b))v=new RegExp(b.source,u(b)),b.lastIndex&&(v.lastIndex=b.lastIndex);else if(y.__isDate(b))v=new Date(b.getTime());else{if(k&&Buffer.isBuffer(b))return Buffer.allocUnsafe?v=Buffer.allocUnsafe(b.length):v=new Buffer(b.length),b.copy(v),v;P(b,Error)?v=Object.create(b):typeof i>"u"?(h=Object.getPrototypeOf(b),v=Object.create(h)):(v=Object.create(i),h=i)}if(a){var d=n.indexOf(b);if(d!=-1)return s[d];n.push(b),s.push(v)}P(b,N)&&b.forEach(function(R,O){var S=g(O,w-1),L=g(R,w-1);v.set(S,L)}),P(b,A)&&b.forEach(function(R){var O=g(R,w-1);v.add(O)});for(var E in b){var T;h&&(T=Object.getOwnPropertyDescriptor(h,E)),!(T&&T.set==null)&&(v[E]=g(b[E],w-1))}if(Object.getOwnPropertySymbols)for(var q=Object.getOwnPropertySymbols(b),E=0;E0){if(C instanceof t.BlockEmbed||O instanceof t.BlockEmbed){this.optimize();return}if(C instanceof r.default){var S=C.newlineIndex(C.length(),!0);if(S>-1&&(C=C.split(S+1),C===O)){this.optimize();return}}else if(O instanceof r.default){var L=O.newlineIndex(0);L>-1&&O.split(L+1)}var F=O.children.head instanceof l.default?null:O.children.head;C.moveChildren(O,F),C.remove()}this.optimize()}},{key:"enable",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",E)}},{key:"formatAt",value:function(E,T,q,D){this.whitelist!=null&&!this.whitelist[q]||(A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"formatAt",this).call(this,E,T,q,D),this.optimize())}},{key:"insertAt",value:function(E,T,q){if(!(q!=null&&this.whitelist!=null&&!this.whitelist[T])){if(E>=this.length())if(q==null||y.default.query(T,y.default.Scope.BLOCK)==null){var D=y.default.create(this.statics.defaultChild);this.appendChild(D),q==null&&T.endsWith(` -`)&&(T=T.slice(0,-1)),D.insertAt(0,T,q)}else{var C=y.default.create(T,q);this.appendChild(C)}else A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"insertAt",this).call(this,E,T,q);this.optimize()}}},{key:"insertBefore",value:function(E,T){if(E.statics.scope===y.default.Scope.INLINE_BLOT){var q=y.default.create(this.statics.defaultChild);q.appendChild(E),E=q}A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"insertBefore",this).call(this,E,T)}},{key:"leaf",value:function(E){return this.path(E).pop()||[null,-1]}},{key:"line",value:function(E){return E===this.length()?this.line(E-1):this.descendant(b,E)}},{key:"lines",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,q=function D(C,Z,I){var R=[],O=I;return C.children.forEachAt(Z,I,function(S,L,F){b(S)?R.push(S):S instanceof y.default.Container&&(R=R.concat(D(S,L,O))),O-=F}),R};return q(this,E,T)}},{key:"optimize",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"optimize",this).call(this,E,T),E.length>0&&this.emitter.emit(o.default.events.SCROLL_OPTIMIZE,E,T))}},{key:"path",value:function(E){return A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"path",this).call(this,E).slice(1)}},{key:"update",value:function(E){if(this.batch!==!0){var T=o.default.sources.USER;typeof E=="string"&&(T=E),Array.isArray(E)||(E=this.observer.takeRecords()),E.length>0&&this.emitter.emit(o.default.events.SCROLL_BEFORE_UPDATE,T,E),A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"update",this).call(this,E.concat([])),E.length>0&&this.emitter.emit(o.default.events.SCROLL_UPDATE,T,E)}}}]),h}(y.default.Scroll);w.blotName="scroll",w.className="ql-editor",w.tagName="DIV",w.defaultChild="block",w.allowedChildren=[e.default,t.BlockEmbed,f.default],_.default=w},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.SHORTKEY=_.default=void 0;var P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},N=function(){function x(j,U){var H=[],V=!0,Y=!1,X=void 0;try{for(var Q=j[Symbol.iterator](),nt;!(V=(nt=Q.next()).done)&&(H.push(nt.value),!(U&&H.length===U));V=!0);}catch(rt){Y=!0,X=rt}finally{try{!V&&Q.return&&Q.return()}finally{if(Y)throw X}}return H}return function(j,U){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return x(j,U);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function x(j,U){for(var H=0;H1&&arguments[1]!==void 0?arguments[1]:{},Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=M(H);if(X==null||X.key==null)return q.warn("Attempted to add invalid keyboard binding",X);typeof V=="function"&&(V={handler:V}),typeof Y=="function"&&(Y={handler:Y}),X=(0,e.default)(X,V,Y),this.bindings[X.key]=this.bindings[X.key]||[],this.bindings[X.key].push(X)}},{key:"listen",value:function(){var H=this;this.quill.root.addEventListener("keydown",function(V){if(!V.defaultPrevented){var Y=V.which||V.keyCode,X=(H.bindings[Y]||[]).filter(function(ot){return j.match(V,ot)});if(X.length!==0){var Q=H.quill.getSelection();if(!(Q==null||!H.quill.hasFocus())){var nt=H.quill.getLine(Q.index),rt=N(nt,2),at=rt[0],lt=rt[1],z=H.quill.getLeaf(Q.index),K=N(z,2),$=K[0],G=K[1],W=Q.length===0?[$,G]:H.quill.getLeaf(Q.index+Q.length),J=N(W,2),tt=J[0],et=J[1],ut=$ instanceof f.default.Text?$.value().slice(0,G):"",ft=tt instanceof f.default.Text?tt.value().slice(et):"",it={collapsed:Q.length===0,empty:Q.length===0&&at.length()<=1,format:H.quill.getFormat(Q),offset:lt,prefix:ut,suffix:ft},vt=X.some(function(ot){if(ot.collapsed!=null&&ot.collapsed!==it.collapsed||ot.empty!=null&&ot.empty!==it.empty||ot.offset!=null&&ot.offset!==it.offset)return!1;if(Array.isArray(ot.format)){if(ot.format.every(function(st){return it.format[st]==null}))return!1}else if(P(ot.format)==="object"&&!Object.keys(ot.format).every(function(st){return ot.format[st]===!0?it.format[st]!=null:ot.format[st]===!1?it.format[st]==null:(0,o.default)(ot.format[st],it.format[st])}))return!1;return ot.prefix!=null&&!ot.prefix.test(it.prefix)||ot.suffix!=null&&!ot.suffix.test(it.suffix)?!1:ot.handler.call(H,Q,it)!==!0});vt&&V.preventDefault()}}}})}}]),j}(w.default);C.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},C.DEFAULTS={bindings:{bold:F("bold"),italic:F("italic"),underline:F("underline"),indent:{key:C.keys.TAB,format:["blockquote","indent","list"],handler:function(j,U){if(U.collapsed&&U.offset!==0)return!0;this.quill.format("indent","+1",s.default.sources.USER)}},outdent:{key:C.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(j,U){if(U.collapsed&&U.offset!==0)return!0;this.quill.format("indent","-1",s.default.sources.USER)}},"outdent backspace":{key:C.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(j,U){U.format.indent!=null?this.quill.format("indent","-1",s.default.sources.USER):U.format.list!=null&&this.quill.format("list",!1,s.default.sources.USER)}},"indent code-block":L(!0),"outdent code-block":L(!1),"remove tab":{key:C.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(j){this.quill.deleteText(j.index-1,1,s.default.sources.USER)}},tab:{key:C.keys.TAB,handler:function(j){this.quill.history.cutoff();var U=new l.default().retain(j.index).delete(j.length).insert(" ");this.quill.updateContents(U,s.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(j.index+1,s.default.sources.SILENT)}},"list empty enter":{key:C.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(j,U){this.quill.format("list",!1,s.default.sources.USER),U.format.indent&&this.quill.format("indent",!1,s.default.sources.USER)}},"checklist enter":{key:C.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(j){var U=this.quill.getLine(j.index),H=N(U,2),V=H[0],Y=H[1],X=(0,e.default)({},V.formats(),{list:"checked"}),Q=new l.default().retain(j.index).insert(` -`,X).retain(V.length()-Y-1).retain(1,{list:"unchecked"});this.quill.updateContents(Q,s.default.sources.USER),this.quill.setSelection(j.index+1,s.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:C.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(j,U){var H=this.quill.getLine(j.index),V=N(H,2),Y=V[0],X=V[1],Q=new l.default().retain(j.index).insert(` -`,U.format).retain(Y.length()-X-1).retain(1,{header:null});this.quill.updateContents(Q,s.default.sources.USER),this.quill.setSelection(j.index+1,s.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(j,U){var H=U.prefix.length,V=this.quill.getLine(j.index),Y=N(V,2),X=Y[0],Q=Y[1];if(Q>H)return!0;var nt=void 0;switch(U.prefix.trim()){case"[]":case"[ ]":nt="unchecked";break;case"[x]":nt="checked";break;case"-":case"*":nt="bullet";break;default:nt="ordered"}this.quill.insertText(j.index," ",s.default.sources.USER),this.quill.history.cutoff();var rt=new l.default().retain(j.index-Q).delete(H+1).retain(X.length()-2-Q).retain(1,{list:nt});this.quill.updateContents(rt,s.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(j.index-H,s.default.sources.SILENT)}},"code exit":{key:C.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(j){var U=this.quill.getLine(j.index),H=N(U,2),V=H[0],Y=H[1],X=new l.default().retain(j.index+V.length()-Y-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(X,s.default.sources.USER)}},"embed left":Z(C.keys.LEFT,!1),"embed left shift":Z(C.keys.LEFT,!0),"embed right":Z(C.keys.RIGHT,!1),"embed right shift":Z(C.keys.RIGHT,!0)}};function Z(x,j){var U,H=x===C.keys.LEFT?"prefix":"suffix";return U={key:x,shiftKey:j,altKey:null},h(U,H,/^$/),h(U,"handler",function(Y){var X=Y.index;x===C.keys.RIGHT&&(X+=Y.length+1);var Q=this.quill.getLeaf(X),nt=N(Q,1),rt=nt[0];return rt instanceof f.default.Embed?(x===C.keys.LEFT?j?this.quill.setSelection(Y.index-1,Y.length+1,s.default.sources.USER):this.quill.setSelection(Y.index-1,s.default.sources.USER):j?this.quill.setSelection(Y.index,Y.length+1,s.default.sources.USER):this.quill.setSelection(Y.index+Y.length+1,s.default.sources.USER),!1):!0}),U}function I(x,j){if(!(x.index===0||this.quill.getLength()<=1)){var U=this.quill.getLine(x.index),H=N(U,1),V=H[0],Y={};if(j.offset===0){var X=this.quill.getLine(x.index-1),Q=N(X,1),nt=Q[0];if(nt!=null&&nt.length()>1){var rt=V.formats(),at=this.quill.getFormat(x.index-1,1);Y=r.default.attributes.diff(rt,at)||{}}}var lt=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(j.prefix)?2:1;this.quill.deleteText(x.index-lt,lt,s.default.sources.USER),Object.keys(Y).length>0&&this.quill.formatLine(x.index-lt,lt,Y,s.default.sources.USER),this.quill.focus()}}function R(x,j){var U=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(j.suffix)?2:1;if(!(x.index>=this.quill.getLength()-U)){var H={},V=0,Y=this.quill.getLine(x.index),X=N(Y,1),Q=X[0];if(j.offset>=Q.length()-1){var nt=this.quill.getLine(x.index+1),rt=N(nt,1),at=rt[0];if(at){var lt=Q.formats(),z=this.quill.getFormat(x.index,1);H=r.default.attributes.diff(lt,z)||{},V=at.length()}}this.quill.deleteText(x.index,U,s.default.sources.USER),Object.keys(H).length>0&&this.quill.formatLine(x.index+V-1,U,H,s.default.sources.USER)}}function O(x){var j=this.quill.getLines(x),U={};if(j.length>1){var H=j[0].formats(),V=j[j.length-1].formats();U=r.default.attributes.diff(V,H)||{}}this.quill.deleteText(x,s.default.sources.USER),Object.keys(U).length>0&&this.quill.formatLine(x.index,1,U,s.default.sources.USER),this.quill.setSelection(x.index,s.default.sources.SILENT),this.quill.focus()}function S(x,j){var U=this;x.length>0&&this.quill.scroll.deleteAt(x.index,x.length);var H=Object.keys(j.format).reduce(function(V,Y){return f.default.query(Y,f.default.Scope.BLOCK)&&!Array.isArray(j.format[Y])&&(V[Y]=j.format[Y]),V},{});this.quill.insertText(x.index,` -`,H,s.default.sources.USER),this.quill.setSelection(x.index+1,s.default.sources.SILENT),this.quill.focus(),Object.keys(j.format).forEach(function(V){H[V]==null&&(Array.isArray(j.format[V])||V!=="link"&&U.quill.format(V,j.format[V],s.default.sources.USER))})}function L(x){return{key:C.keys.TAB,shiftKey:!x,format:{"code-block":!0},handler:function(U){var H=f.default.query("code-block"),V=U.index,Y=U.length,X=this.quill.scroll.descendant(H,V),Q=N(X,2),nt=Q[0],rt=Q[1];if(nt!=null){var at=this.quill.getIndex(nt),lt=nt.newlineIndex(rt,!0)+1,z=nt.newlineIndex(at+rt+Y),K=nt.domNode.textContent.slice(lt,z).split(` -`);rt=0,K.forEach(function($,G){x?(nt.insertAt(lt+rt,H.TAB),rt+=H.TAB.length,G===0?V+=H.TAB.length:Y+=H.TAB.length):$.startsWith(H.TAB)&&(nt.deleteAt(lt+rt,H.TAB.length),rt-=H.TAB.length,G===0?V-=H.TAB.length:Y-=H.TAB.length),rt+=$.length+1}),this.quill.update(s.default.sources.USER),this.quill.setSelection(V,Y,s.default.sources.SILENT)}}}}function F(x){return{key:x[0].toUpperCase(),shortKey:!0,handler:function(U,H){this.quill.format(x,!H.format[x],s.default.sources.USER)}}}function M(x){if(typeof x=="string"||typeof x=="number")return M({key:x});if((typeof x>"u"?"undefined":P(x))==="object"&&(x=(0,y.default)(x,!1)),typeof x.key=="string")if(C.keys[x.key.toUpperCase()]!=null)x.key=C.keys[x.key.toUpperCase()];else if(x.key.length===1)x.key=x.key.toUpperCase().charCodeAt(0);else return null;return x.shortKey&&(x[D]=x.shortKey,delete x.shortKey),x}_.default=C,_.SHORTKEY=D},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function r(i,f){var n=[],s=!0,k=!1,g=void 0;try{for(var b=i[Symbol.iterator](),w;!(s=(w=b.next()).done)&&(n.push(w.value),!(f&&n.length===f));s=!0);}catch(v){k=!0,g=v}finally{try{!s&&b.return&&b.return()}finally{if(k)throw g}}return n}return function(i,f){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return r(i,f);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),N=function r(i,f,n){i===null&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,f);if(s===void 0){var k=Object.getPrototypeOf(i);return k===null?void 0:r(k,f,n)}else{if("value"in s)return s.value;var g=s.get;return g===void 0?void 0:g.call(n)}},A=function(){function r(i,f){for(var n=0;n-1}_.default=e,_.sanitize=u},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},N=function(){function a(r,i){for(var f=0;f1&&arguments[1]!==void 0?arguments[1]:!1,n=this.container.querySelector(".ql-selected");if(i!==n&&(n!=null&&n.classList.remove("ql-selected"),i!=null&&(i.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(i.parentNode.children,i),i.hasAttribute("data-value")?this.label.setAttribute("data-value",i.getAttribute("data-value")):this.label.removeAttribute("data-value"),i.hasAttribute("data-label")?this.label.setAttribute("data-label",i.getAttribute("data-label")):this.label.removeAttribute("data-label"),f))){if(typeof Event=="function")this.select.dispatchEvent(new Event("change"));else if((typeof Event>"u"?"undefined":P(Event))==="object"){var s=document.createEvent("Event");s.initEvent("change",!0,!0),this.select.dispatchEvent(s)}this.close()}}},{key:"update",value:function(){var i=void 0;if(this.select.selectedIndex>-1){var f=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];i=this.select.options[this.select.selectedIndex],this.selectItem(f)}else this.selectItem(null);var n=i!=null&&i!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),a}();_.default=l},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(0),N=q(P),A=p(5),m=q(A),y=p(4),c=q(y),o=p(16),t=q(o),e=p(25),u=q(e),l=p(24),a=q(l),r=p(35),i=q(r),f=p(6),n=q(f),s=p(22),k=q(s),g=p(7),b=q(g),w=p(55),v=q(w),h=p(42),d=q(h),E=p(23),T=q(E);function q(D){return D&&D.__esModule?D:{default:D}}m.default.register({"blots/block":c.default,"blots/block/embed":y.BlockEmbed,"blots/break":t.default,"blots/container":u.default,"blots/cursor":a.default,"blots/embed":i.default,"blots/inline":n.default,"blots/scroll":k.default,"blots/text":b.default,"modules/clipboard":v.default,"modules/history":d.default,"modules/keyboard":T.default}),N.default.register(c.default,t.default,a.default,n.default,k.default,b.default),_.default=m.default},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(1),N=function(){function A(m){this.domNode=m,this.domNode[P.DATA_KEY]={blot:this}}return Object.defineProperty(A.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),A.create=function(m){if(this.tagName==null)throw new P.ParchmentError("Blot definition missing tagName");var y;return Array.isArray(this.tagName)?(typeof m=="string"&&(m=m.toUpperCase(),parseInt(m).toString()===m&&(m=parseInt(m))),typeof m=="number"?y=document.createElement(this.tagName[m-1]):this.tagName.indexOf(m)>-1?y=document.createElement(m):y=document.createElement(this.tagName[0])):y=document.createElement(this.tagName),this.className&&y.classList.add(this.className),y},A.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},A.prototype.clone=function(){var m=this.domNode.cloneNode(!1);return P.create(m)},A.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[P.DATA_KEY]},A.prototype.deleteAt=function(m,y){var c=this.isolate(m,y);c.remove()},A.prototype.formatAt=function(m,y,c,o){var t=this.isolate(m,y);if(P.query(c,P.Scope.BLOT)!=null&&o)t.wrap(c,o);else if(P.query(c,P.Scope.ATTRIBUTE)!=null){var e=P.create(this.statics.scope);t.wrap(e),e.format(c,o)}},A.prototype.insertAt=function(m,y,c){var o=c==null?P.create("text",y):P.create(y,c),t=this.split(m);this.parent.insertBefore(o,t)},A.prototype.insertInto=function(m,y){y===void 0&&(y=null),this.parent!=null&&this.parent.children.remove(this);var c=null;m.children.insertBefore(this,y),y!=null&&(c=y.domNode),(this.domNode.parentNode!=m.domNode||this.domNode.nextSibling!=c)&&m.domNode.insertBefore(this.domNode,c),this.parent=m,this.attach()},A.prototype.isolate=function(m,y){var c=this.split(m);return c.split(y),c},A.prototype.length=function(){return 1},A.prototype.offset=function(m){return m===void 0&&(m=this.parent),this.parent==null||this==m?0:this.parent.children.offset(this)+this.parent.offset(m)},A.prototype.optimize=function(m){this.domNode[P.DATA_KEY]!=null&&delete this.domNode[P.DATA_KEY].mutations},A.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},A.prototype.replace=function(m){m.parent!=null&&(m.parent.insertBefore(this,m.next),m.remove())},A.prototype.replaceWith=function(m,y){var c=typeof m=="string"?P.create(m,y):m;return c.replace(this),c},A.prototype.split=function(m,y){return m===0?this:this.next},A.prototype.update=function(m,y){},A.prototype.wrap=function(m,y){var c=typeof m=="string"?P.create(m,y):m;return this.parent!=null&&this.parent.insertBefore(c,this.next),c.appendChild(this),c},A.blotName="abstract",A}();_.default=N},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(12),N=p(32),A=p(33),m=p(1),y=function(){function c(o){this.attributes={},this.domNode=o,this.build()}return c.prototype.attribute=function(o,t){t?o.add(this.domNode,t)&&(o.value(this.domNode)!=null?this.attributes[o.attrName]=o:delete this.attributes[o.attrName]):(o.remove(this.domNode),delete this.attributes[o.attrName])},c.prototype.build=function(){var o=this;this.attributes={};var t=P.default.keys(this.domNode),e=N.default.keys(this.domNode),u=A.default.keys(this.domNode);t.concat(e).concat(u).forEach(function(l){var a=m.query(l,m.Scope.ATTRIBUTE);a instanceof P.default&&(o.attributes[a.attrName]=a)})},c.prototype.copy=function(o){var t=this;Object.keys(this.attributes).forEach(function(e){var u=t.attributes[e].value(t.domNode);o.format(e,u)})},c.prototype.move=function(o){var t=this;this.copy(o),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},c.prototype.values=function(){var o=this;return Object.keys(this.attributes).reduce(function(t,e){return t[e]=o.attributes[e].value(o.domNode),t},{})},c}();_.default=y},function(B,_,p){var P=this&&this.__extends||function(){var y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,o){c.__proto__=o}||function(c,o){for(var t in o)o.hasOwnProperty(t)&&(c[t]=o[t])};return function(c,o){y(c,o);function t(){this.constructor=c}c.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(12);function A(y,c){var o=y.getAttribute("class")||"";return o.split(/\s+/).filter(function(t){return t.indexOf(c+"-")===0})}var m=function(y){P(c,y);function c(){return y!==null&&y.apply(this,arguments)||this}return c.keys=function(o){return(o.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},c.prototype.add=function(o,t){return this.canAdd(o,t)?(this.remove(o),o.classList.add(this.keyName+"-"+t),!0):!1},c.prototype.remove=function(o){var t=A(o,this.keyName);t.forEach(function(e){o.classList.remove(e)}),o.classList.length===0&&o.removeAttribute("class")},c.prototype.value=function(o){var t=A(o,this.keyName)[0]||"",e=t.slice(this.keyName.length+1);return this.canAdd(o,e)?e:""},c}(N.default);_.default=m},function(B,_,p){var P=this&&this.__extends||function(){var y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,o){c.__proto__=o}||function(c,o){for(var t in o)o.hasOwnProperty(t)&&(c[t]=o[t])};return function(c,o){y(c,o);function t(){this.constructor=c}c.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(12);function A(y){var c=y.split("-"),o=c.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return c[0]+o}var m=function(y){P(c,y);function c(){return y!==null&&y.apply(this,arguments)||this}return c.keys=function(o){return(o.getAttribute("style")||"").split(";").map(function(t){var e=t.split(":");return e[0].trim()})},c.prototype.add=function(o,t){return this.canAdd(o,t)?(o.style[A(this.keyName)]=t,!0):!1},c.prototype.remove=function(o){o.style[A(this.keyName)]="",o.getAttribute("style")||o.removeAttribute("style")},c.prototype.value=function(o){var t=o.style[A(this.keyName)];return this.canAdd(o,t)?t:""},c}(N.default);_.default=m},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function m(y,c){for(var o=0;ow&&this.stack.undo.length>0){var v=this.stack.undo.pop();b=b.compose(v.undo),k=v.redo.compose(k)}else this.lastRecorded=w;this.stack.undo.push({redo:k,undo:b}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(k){this.stack.undo.forEach(function(g){g.undo=k.transform(g.undo,!0),g.redo=k.transform(g.redo,!0)}),this.stack.redo.forEach(function(g){g.undo=k.transform(g.undo,!0),g.redo=k.transform(g.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),n}(o.default);a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function r(f){var n=f.ops[f.ops.length-1];return n==null?!1:n.insert!=null?typeof n.insert=="string"&&n.insert.endsWith(` -`):n.attributes!=null?Object.keys(n.attributes).some(function(s){return A.default.query(s,A.default.Scope.BLOCK)!=null}):!1}function i(f){var n=f.reduce(function(k,g){return k+=g.delete||0,k},0),s=f.length()-n;return r(f)&&(s-=1),s}_.default=a,_.getLastChangeIndex=i},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.BaseTooltip=void 0;var P=function(){function S(L,F){for(var M=0;M0&&arguments[0]!==void 0?arguments[0]:"link",x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),x!=null?this.textbox.value=x:M!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+M)||""),this.root.setAttribute("data-mode",M)}},{key:"restoreFocus",value:function(){var M=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=M}},{key:"save",value:function(){var M=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var x=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",M,t.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",M,t.default.sources.USER)),this.quill.root.scrollTop=x;break}case"video":M=R(M);case"formula":{if(!M)break;var j=this.quill.getSelection(!0);if(j!=null){var U=j.index+j.length;this.quill.insertEmbed(U,this.root.getAttribute("data-mode"),M,t.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(U+1," ",t.default.sources.USER),this.quill.setSelection(U+2,t.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),L}(b.default);function R(S){var L=S.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||S.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return L?(L[1]||"https")+"://www.youtube.com/embed/"+L[2]+"?showinfo=0":(L=S.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(L[1]||"https")+"://player.vimeo.com/video/"+L[2]+"/":S}function O(S,L){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;L.forEach(function(M){var x=document.createElement("option");M===F?x.setAttribute("selected","selected"):x.setAttribute("value",M),S.appendChild(x)})}_.BaseTooltip=I,_.default=Z},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function N(){this.head=this.tail=null,this.length=0}return N.prototype.append=function(){for(var A=[],m=0;m1&&this.append.apply(this,A.slice(1))},N.prototype.contains=function(A){for(var m,y=this.iterator();m=y();)if(m===A)return!0;return!1},N.prototype.insertBefore=function(A,m){A&&(A.next=m,m!=null?(A.prev=m.prev,m.prev!=null&&(m.prev.next=A),m.prev=A,m===this.head&&(this.head=A)):this.tail!=null?(this.tail.next=A,A.prev=this.tail,this.tail=A):(A.prev=null,this.head=this.tail=A),this.length+=1)},N.prototype.offset=function(A){for(var m=0,y=this.head;y!=null;){if(y===A)return m;m+=y.length(),y=y.next}return-1},N.prototype.remove=function(A){this.contains(A)&&(A.prev!=null&&(A.prev.next=A.next),A.next!=null&&(A.next.prev=A.prev),A===this.head&&(this.head=A.next),A===this.tail&&(this.tail=A.prev),this.length-=1)},N.prototype.iterator=function(A){return A===void 0&&(A=this.head),function(){var m=A;return A!=null&&(A=A.next),m}},N.prototype.find=function(A,m){m===void 0&&(m=!1);for(var y,c=this.iterator();y=c();){var o=y.length();if(Au?y(e,A-u,Math.min(m,u+a-A)):y(e,0,Math.min(a,A+m-u)),u+=a}},N.prototype.map=function(A){return this.reduce(function(m,y){return m.push(A(y)),m},[])},N.prototype.reduce=function(A,m){for(var y,c=this.iterator();y=c();)m=A(m,y);return m},N}();_.default=P},function(B,_,p){var P=this&&this.__extends||function(){var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var u in e)e.hasOwnProperty(u)&&(t[u]=e[u])};return function(t,e){o(t,e);function u(){this.constructor=t}t.prototype=e===null?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(17),A=p(1),m={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},y=100,c=function(o){P(t,o);function t(e){var u=o.call(this,e)||this;return u.scroll=u,u.observer=new MutationObserver(function(l){u.update(l)}),u.observer.observe(u.domNode,m),u.attach(),u}return t.prototype.detach=function(){o.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(e,u){this.update(),e===0&&u===this.length()?this.children.forEach(function(l){l.remove()}):o.prototype.deleteAt.call(this,e,u)},t.prototype.formatAt=function(e,u,l,a){this.update(),o.prototype.formatAt.call(this,e,u,l,a)},t.prototype.insertAt=function(e,u,l){this.update(),o.prototype.insertAt.call(this,e,u,l)},t.prototype.optimize=function(e,u){var l=this;e===void 0&&(e=[]),u===void 0&&(u={}),o.prototype.optimize.call(this,u);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)e.push(a.pop());for(var r=function(s,k){k===void 0&&(k=!0),!(s==null||s===l)&&s.domNode.parentNode!=null&&(s.domNode[A.DATA_KEY].mutations==null&&(s.domNode[A.DATA_KEY].mutations=[]),k&&r(s.parent))},i=function(s){s.domNode[A.DATA_KEY]==null||s.domNode[A.DATA_KEY].mutations==null||(s instanceof N.default&&s.children.forEach(i),s.optimize(u))},f=e,n=0;f.length>0;n+=1){if(n>=y)throw new Error("[Parchment] Maximum optimize iterations reached");for(f.forEach(function(s){var k=A.find(s.target,!0);k!=null&&(k.domNode===s.target&&(s.type==="childList"?(r(A.find(s.previousSibling,!1)),[].forEach.call(s.addedNodes,function(g){var b=A.find(g,!1);r(b,!1),b instanceof N.default&&b.children.forEach(function(w){r(w,!1)})})):s.type==="attributes"&&r(k.prev)),r(k))}),this.children.forEach(i),f=[].slice.call(this.observer.takeRecords()),a=f.slice();a.length>0;)e.push(a.pop())}},t.prototype.update=function(e,u){var l=this;u===void 0&&(u={}),e=e||this.observer.takeRecords(),e.map(function(a){var r=A.find(a.target,!0);return r==null?null:r.domNode[A.DATA_KEY].mutations==null?(r.domNode[A.DATA_KEY].mutations=[a],r):(r.domNode[A.DATA_KEY].mutations.push(a),null)}).forEach(function(a){a==null||a===l||a.domNode[A.DATA_KEY]==null||a.update(a.domNode[A.DATA_KEY].mutations||[],u)}),this.domNode[A.DATA_KEY].mutations!=null&&o.prototype.update.call(this,this.domNode[A.DATA_KEY].mutations,u),this.optimize(e,u)},t.blotName="scroll",t.defaultChild="block",t.scope=A.Scope.BLOCK_BLOT,t.tagName="DIV",t}(N.default);_.default=c},function(B,_,p){var P=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e])};return function(o,t){c(o,t);function e(){this.constructor=o}o.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(18),A=p(1);function m(c,o){if(Object.keys(c).length!==Object.keys(o).length)return!1;for(var t in c)if(c[t]!==o[t])return!1;return!0}var y=function(c){P(o,c);function o(){return c!==null&&c.apply(this,arguments)||this}return o.formats=function(t){if(t.tagName!==o.tagName)return c.formats.call(this,t)},o.prototype.format=function(t,e){var u=this;t===this.statics.blotName&&!e?(this.children.forEach(function(l){l instanceof N.default||(l=l.wrap(o.blotName,!0)),u.attributes.copy(l)}),this.unwrap()):c.prototype.format.call(this,t,e)},o.prototype.formatAt=function(t,e,u,l){if(this.formats()[u]!=null||A.query(u,A.Scope.ATTRIBUTE)){var a=this.isolate(t,e);a.format(u,l)}else c.prototype.formatAt.call(this,t,e,u,l)},o.prototype.optimize=function(t){c.prototype.optimize.call(this,t);var e=this.formats();if(Object.keys(e).length===0)return this.unwrap();var u=this.next;u instanceof o&&u.prev===this&&m(e,u.formats())&&(u.moveChildren(this),u.remove())},o.blotName="inline",o.scope=A.Scope.INLINE_BLOT,o.tagName="SPAN",o}(N.default);_.default=y},function(B,_,p){var P=this&&this.__extends||function(){var y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,o){c.__proto__=o}||function(c,o){for(var t in o)o.hasOwnProperty(t)&&(c[t]=o[t])};return function(c,o){y(c,o);function t(){this.constructor=c}c.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(18),A=p(1),m=function(y){P(c,y);function c(){return y!==null&&y.apply(this,arguments)||this}return c.formats=function(o){var t=A.query(c.blotName).tagName;if(o.tagName!==t)return y.formats.call(this,o)},c.prototype.format=function(o,t){A.query(o,A.Scope.BLOCK)!=null&&(o===this.statics.blotName&&!t?this.replaceWith(c.blotName):y.prototype.format.call(this,o,t))},c.prototype.formatAt=function(o,t,e,u){A.query(e,A.Scope.BLOCK)!=null?this.format(e,u):y.prototype.formatAt.call(this,o,t,e,u)},c.prototype.insertAt=function(o,t,e){if(e==null||A.query(t,A.Scope.INLINE)!=null)y.prototype.insertAt.call(this,o,t,e);else{var u=this.split(o),l=A.create(t,e);u.parent.insertBefore(l,u)}},c.prototype.update=function(o,t){navigator.userAgent.match(/Trident/)?this.build():y.prototype.update.call(this,o,t)},c.blotName="block",c.scope=A.Scope.BLOCK_BLOT,c.tagName="P",c}(N.default);_.default=m},function(B,_,p){var P=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,c){y.__proto__=c}||function(y,c){for(var o in c)c.hasOwnProperty(o)&&(y[o]=c[o])};return function(y,c){m(y,c);function o(){this.constructor=y}y.prototype=c===null?Object.create(c):(o.prototype=c.prototype,new o)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(19),A=function(m){P(y,m);function y(){return m!==null&&m.apply(this,arguments)||this}return y.formats=function(c){},y.prototype.format=function(c,o){m.prototype.formatAt.call(this,0,this.length(),c,o)},y.prototype.formatAt=function(c,o,t,e){c===0&&o===this.length()?this.format(t,e):m.prototype.formatAt.call(this,c,o,t,e)},y.prototype.formats=function(){return this.statics.formats(this.domNode)},y}(N.default);_.default=A},function(B,_,p){var P=this&&this.__extends||function(){var y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,o){c.__proto__=o}||function(c,o){for(var t in o)o.hasOwnProperty(t)&&(c[t]=o[t])};return function(c,o){y(c,o);function t(){this.constructor=c}c.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}}();Object.defineProperty(_,"__esModule",{value:!0});var N=p(19),A=p(1),m=function(y){P(c,y);function c(o){var t=y.call(this,o)||this;return t.text=t.statics.value(t.domNode),t}return c.create=function(o){return document.createTextNode(o)},c.value=function(o){var t=o.data;return t.normalize&&(t=t.normalize()),t},c.prototype.deleteAt=function(o,t){this.domNode.data=this.text=this.text.slice(0,o)+this.text.slice(o+t)},c.prototype.index=function(o,t){return this.domNode===o?t:-1},c.prototype.insertAt=function(o,t,e){e==null?(this.text=this.text.slice(0,o)+t+this.text.slice(o),this.domNode.data=this.text):y.prototype.insertAt.call(this,o,t,e)},c.prototype.length=function(){return this.text.length},c.prototype.optimize=function(o){y.prototype.optimize.call(this,o),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof c&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},c.prototype.position=function(o,t){return[this.domNode,o]},c.prototype.split=function(o,t){if(t===void 0&&(t=!1),!t){if(o===0)return this;if(o===this.length())return this.next}var e=A.create(this.domNode.splitText(o));return this.parent.insertBefore(e,this.next),this.text=this.statics.value(this.domNode),e},c.prototype.update=function(o,t){var e=this;o.some(function(u){return u.type==="characterData"&&u.target===e.domNode})&&(this.text=this.statics.value(this.domNode))},c.prototype.value=function(){return this.text},c.blotName="text",c.scope=A.Scope.INLINE_BLOT,c}(N.default);_.default=m},function(B,_,p){var P=document.createElement("div");if(P.classList.toggle("test-class",!1),P.classList.contains("test-class")){var N=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(A,m){return arguments.length>1&&!this.contains(A)==!m?m:N.call(this,A)}}String.prototype.startsWith||(String.prototype.startsWith=function(A,m){return m=m||0,this.substr(m,A.length)===A}),String.prototype.endsWith||(String.prototype.endsWith=function(A,m){var y=this.toString();(typeof m!="number"||!isFinite(m)||Math.floor(m)!==m||m>y.length)&&(m=y.length),m-=A.length;var c=y.indexOf(A,m);return c!==-1&&c===m}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(m){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof m!="function")throw new TypeError("predicate must be a function");for(var y=Object(this),c=y.length>>>0,o=arguments[1],t,e=0;es.length?n:s,b=n.length>s.length?s:n,w=g.indexOf(b);if(w!=-1)return k=[[P,g.substring(0,w)],[N,b],[P,g.substring(w+b.length)]],n.length>s.length&&(k[0][0]=k[2][0]=p),k;if(b.length==1)return[[p,n],[P,s]];var v=e(n,s);if(v){var h=v[0],d=v[1],E=v[2],T=v[3],q=v[4],D=A(h,E),C=A(d,T);return D.concat([[N,q]],C)}return y(n,s)}function y(n,s){for(var k=n.length,g=s.length,b=Math.ceil((k+g)/2),w=b,v=2*b,h=new Array(v),d=new Array(v),E=0;Ek)C+=2;else if(F>g)D+=2;else if(q){var M=w+T-O;if(M>=0&&M=x)return c(n,s,L,F)}}}for(var j=-R+Z;j<=R-I;j+=2){var M=w+j,x;j==-R||j!=R&&d[M-1]k)I+=2;else if(U>g)Z+=2;else if(!q){var S=w+T-j;if(S>=0&&S=x)return c(n,s,L,F)}}}}return[[p,n],[P,s]]}function c(n,s,k,g){var b=n.substring(0,k),w=s.substring(0,g),v=n.substring(k),h=s.substring(g),d=A(b,w),E=A(v,h);return d.concat(E)}function o(n,s){if(!n||!s||n.charAt(0)!=s.charAt(0))return 0;for(var k=0,g=Math.min(n.length,s.length),b=g,w=0;ks.length?n:s,g=n.length>s.length?s:n;if(k.length<4||g.length*2=C.length?[L,F,M,x,S]:null}var w=b(k,g,Math.ceil(k.length/4)),v=b(k,g,Math.ceil(k.length/2)),h;if(!w&&!v)return null;v?w?h=w[4].length>v[4].length?w:v:h=v:h=w;var d,E,T,q;n.length>s.length?(d=h[0],E=h[1],T=h[2],q=h[3]):(T=h[0],q=h[1],d=h[2],E=h[3]);var D=h[4];return[d,E,T,q,D]}function u(n){n.push([N,""]);for(var s=0,k=0,g=0,b="",w="",v;s1?(k!==0&&g!==0&&(v=o(w,b),v!==0&&(s-k-g>0&&n[s-k-g-1][0]==N?n[s-k-g-1][1]+=w.substring(0,v):(n.splice(0,0,[N,w.substring(0,v)]),s++),w=w.substring(v),b=b.substring(v)),v=t(w,b),v!==0&&(n[s][1]=w.substring(w.length-v)+n[s][1],w=w.substring(0,w.length-v),b=b.substring(0,b.length-v))),k===0?n.splice(s-g,k+g,[P,w]):g===0?n.splice(s-k,k+g,[p,b]):n.splice(s-k-g,k+g,[p,b],[P,w]),s=s-k-g+(k?1:0)+(g?1:0)+1):s!==0&&n[s-1][0]==N?(n[s-1][1]+=n[s][1],n.splice(s,1)):s++,g=0,k=0,b="",w="";break}n[n.length-1][1]===""&&n.pop();var h=!1;for(s=1;s0&&g.splice(b+2,0,[v[0],h]),f(g,b,3)}else return n}function i(n){for(var s=!1,k=function(v){return v.charCodeAt(0)>=56320&&v.charCodeAt(0)<=57343},g=function(v){return v.charCodeAt(v.length-1)>=55296&&v.charCodeAt(v.length-1)<=56319},b=2;b0&&w.push(n[b]);return w}function f(n,s,k){for(var g=s+k-1;g>=0&&g>=s-1;g--)if(g+1\r?\n +\<"),this.convert();var W=this.quill.getFormat(this.quill.selection.savedRange.index);if(W[g.default.blotName]){var J=this.container.innerText;return this.container.innerHTML="",new o.default().insert(J,E({},g.default.blotName,W[g.default.blotName]))}var tt=this.prepareMatching(),et=N(tt,2),ut=et[0],ft=et[1],it=j(this.container,ut,ft);return M(it,` -`)&&it.ops[it.ops.length-1].attributes==null&&(it=it.compose(new o.default().retain(it.length()-1).delete(1))),C.log("convert",this.container.innerHTML,it),this.container.innerHTML="",it}},{key:"dangerouslyPasteHTML",value:function(G,W){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.default.sources.API;if(typeof G=="string")this.quill.setContents(this.convert(G),W),this.quill.setSelection(0,l.default.sources.SILENT);else{var tt=this.convert(W);this.quill.updateContents(new o.default().retain(G).concat(tt),J),this.quill.setSelection(G+tt.length(),l.default.sources.SILENT)}}},{key:"onPaste",value:function(G){var W=this;if(!(G.defaultPrevented||!this.quill.isEnabled())){var J=this.quill.getSelection(),tt=new o.default().retain(J.index),et=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(l.default.sources.SILENT),setTimeout(function(){tt=tt.concat(W.convert()).delete(J.length),W.quill.updateContents(tt,l.default.sources.USER),W.quill.setSelection(tt.length()-J.length,l.default.sources.SILENT),W.quill.scrollingContainer.scrollTop=et,W.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var G=this,W=[],J=[];return this.matchers.forEach(function(tt){var et=N(tt,2),ut=et[0],ft=et[1];switch(ut){case Node.TEXT_NODE:J.push(ft);break;case Node.ELEMENT_NODE:W.push(ft);break;default:[].forEach.call(G.container.querySelectorAll(ut),function(it){it[Z]=it[Z]||[],it[Z].push(ft)});break}}),[W,J]}}]),K}(f.default);S.DEFAULTS={matchers:[],matchVisual:!0};function L(z,K,$){return(typeof K>"u"?"undefined":P(K))==="object"?Object.keys(K).reduce(function(G,W){return L(G,W,K[W])},z):z.reduce(function(G,W){return W.attributes&&W.attributes[K]?G.push(W):G.insert(W.insert,(0,y.default)({},E({},K,$),W.attributes))},new o.default)}function F(z){if(z.nodeType!==Node.ELEMENT_NODE)return{};var K="__ql-computed-style";return z[K]||(z[K]=window.getComputedStyle(z))}function M(z,K){for(var $="",G=z.ops.length-1;G>=0&&$.length-1}function j(z,K,$){return z.nodeType===z.TEXT_NODE?$.reduce(function(G,W){return W(z,G)},new o.default):z.nodeType===z.ELEMENT_NODE?[].reduce.call(z.childNodes||[],function(G,W){var J=j(W,K,$);return W.nodeType===z.ELEMENT_NODE&&(J=K.reduce(function(tt,et){return et(W,tt)},J),J=(W[Z]||[]).reduce(function(tt,et){return et(W,tt)},J)),G.concat(J)},new o.default):new o.default}function U(z,K,$){return L($,z,!0)}function H(z,K){var $=e.default.Attributor.Attribute.keys(z),G=e.default.Attributor.Class.keys(z),W=e.default.Attributor.Style.keys(z),J={};return $.concat(G).concat(W).forEach(function(tt){var et=e.default.query(tt,e.default.Scope.ATTRIBUTE);et!=null&&(J[et.attrName]=et.value(z),J[et.attrName])||(et=R[tt],et!=null&&(et.attrName===tt||et.keyName===tt)&&(J[et.attrName]=et.value(z)||void 0),et=O[tt],et!=null&&(et.attrName===tt||et.keyName===tt)&&(et=O[tt],J[et.attrName]=et.value(z)||void 0))}),Object.keys(J).length>0&&(K=L(K,J)),K}function V(z,K){var $=e.default.query(z);if($==null)return K;if($.prototype instanceof e.default.Embed){var G={},W=$.value(z);W!=null&&(G[$.blotName]=W,K=new o.default().insert(G,$.formats(z)))}else typeof $.formats=="function"&&(K=L(K,$.blotName,$.formats(z)));return K}function Y(z,K){return M(K,` -`)||K.insert(` -`),K}function X(){return new o.default}function Q(z,K){var $=e.default.query(z);if($==null||$.blotName!=="list-item"||!M(K,` -`))return K;for(var G=-1,W=z.parentNode;!W.classList.contains("ql-clipboard");)(e.default.query(W)||{}).blotName==="list"&&(G+=1),W=W.parentNode;return G<=0?K:K.compose(new o.default().retain(K.length()-1).retain(1,{indent:G}))}function nt(z,K){return M(K,` -`)||(x(z)||K.length()>0&&z.nextSibling&&x(z.nextSibling))&&K.insert(` -`),K}function rt(z,K){if(x(z)&&z.nextElementSibling!=null&&!M(K,` - -`)){var $=z.offsetHeight+parseFloat(F(z).marginTop)+parseFloat(F(z).marginBottom);z.nextElementSibling.offsetTop>z.offsetTop+$*1.5&&K.insert(` -`)}return K}function at(z,K){var $={},G=z.style||{};return G.fontStyle&&F(z).fontStyle==="italic"&&($.italic=!0),G.fontWeight&&(F(z).fontWeight.startsWith("bold")||parseInt(F(z).fontWeight)>=700)&&($.bold=!0),Object.keys($).length>0&&(K=L(K,$)),parseFloat(G.textIndent||0)>0&&(K=new o.default().insert(" ").concat(K)),K}function lt(z,K){var $=z.data;if(z.parentNode.tagName==="O:P")return K.insert($.trim());if($.trim().length===0&&z.parentNode.classList.contains("ql-clipboard"))return K;if(!F(z.parentNode).whiteSpace.startsWith("pre")){var G=function(J,tt){return tt=tt.replace(/[^\u00a0]/g,""),tt.length<1&&J?" ":tt};$=$.replace(/\r\n/g," ").replace(/\n/g," "),$=$.replace(/\s\s+/g,G.bind(G,!0)),(z.previousSibling==null&&x(z.parentNode)||z.previousSibling!=null&&x(z.previousSibling))&&($=$.replace(/^\s+/,G.bind(G,!1))),(z.nextSibling==null&&x(z.parentNode)||z.nextSibling!=null&&x(z.nextSibling))&&($=$.replace(/\s+$/,G.bind(G,!1)))}return K.insert($)}_.default=S,_.matchAttributor=H,_.matchBlot=V,_.matchNewline=nt,_.matchSpacing=rt,_.matchText=lt},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function u(l,a){for(var r=0;r '},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function u(l,a){for(var r=0;re.right&&(l=e.right-u.right,this.root.style.left=o+l+"px"),u.lefte.bottom){var a=u.bottom-u.top,r=c.bottom-c.top+a;this.root.style.top=t-r+"px",this.root.classList.add("ql-flip")}return l}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),m}();_.default=A},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function v(h,d){var E=[],T=!0,q=!1,D=void 0;try{for(var C=h[Symbol.iterator](),Z;!(T=(Z=C.next()).done)&&(E.push(Z.value),!(d&&E.length===d));T=!0);}catch(I){q=!0,D=I}finally{try{!T&&C.return&&C.return()}finally{if(q)throw D}}return E}return function(h,d){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return v(h,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),N=function v(h,d,E){h===null&&(h=Function.prototype);var T=Object.getOwnPropertyDescriptor(h,d);if(T===void 0){var q=Object.getPrototypeOf(h);return q===null?void 0:v(q,d,E)}else{if("value"in T)return T.value;var D=T.get;return D===void 0?void 0:D.call(E)}},A=function(){function v(h,d){for(var E=0;E','','',''].join(""),_.default=b},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(29),N=W(P),A=p(36),m=p(38),y=p(64),c=p(65),o=W(c),t=p(66),e=W(t),u=p(67),l=W(u),a=p(37),r=p(26),i=p(39),f=p(40),n=p(56),s=W(n),k=p(68),g=W(k),b=p(27),w=W(b),v=p(69),h=W(v),d=p(70),E=W(d),T=p(71),q=W(T),D=p(72),C=W(D),Z=p(73),I=W(Z),R=p(13),O=W(R),S=p(74),L=W(S),F=p(75),M=W(F),x=p(57),j=W(x),U=p(41),H=W(U),V=p(28),Y=W(V),X=p(59),Q=W(X),nt=p(60),rt=W(nt),at=p(61),lt=W(at),z=p(108),K=W(z),$=p(62),G=W($);function W(J){return J&&J.__esModule?J:{default:J}}N.default.register({"attributors/attribute/direction":m.DirectionAttribute,"attributors/class/align":A.AlignClass,"attributors/class/background":a.BackgroundClass,"attributors/class/color":r.ColorClass,"attributors/class/direction":m.DirectionClass,"attributors/class/font":i.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":A.AlignStyle,"attributors/style/background":a.BackgroundStyle,"attributors/style/color":r.ColorStyle,"attributors/style/direction":m.DirectionStyle,"attributors/style/font":i.FontStyle,"attributors/style/size":f.SizeStyle},!0),N.default.register({"formats/align":A.AlignClass,"formats/direction":m.DirectionClass,"formats/indent":y.IndentClass,"formats/background":a.BackgroundStyle,"formats/color":r.ColorStyle,"formats/font":i.FontClass,"formats/size":f.SizeClass,"formats/blockquote":o.default,"formats/code-block":O.default,"formats/header":e.default,"formats/list":l.default,"formats/bold":s.default,"formats/code":R.Code,"formats/italic":g.default,"formats/link":w.default,"formats/script":h.default,"formats/strike":E.default,"formats/underline":q.default,"formats/image":C.default,"formats/video":I.default,"formats/list/item":u.ListItem,"modules/formula":L.default,"modules/syntax":M.default,"modules/toolbar":j.default,"themes/bubble":K.default,"themes/snow":G.default,"ui/icons":H.default,"ui/picker":Y.default,"ui/icon-picker":rt.default,"ui/color-picker":Q.default,"ui/tooltip":lt.default},!0),_.default=N.default},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.IndentClass=void 0;var P=function(){function l(a,r){for(var i=0;i0&&this.children.tail.format(g,b)}},{key:"formats",value:function(){return u({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(g,b){if(g instanceof i)N(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"insertBefore",this).call(this,g,b);else{var w=b==null?this.length():b.offset(this),v=this.split(w);v.parent.insertBefore(g,v)}}},{key:"optimize",value:function(g){N(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,g);var b=this.next;b!=null&&b.prev===this&&b.statics.blotName===this.statics.blotName&&b.domNode.tagName===this.domNode.tagName&&b.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(b.moveChildren(this),b.remove())}},{key:"replace",value:function(g){if(g.statics.blotName!==this.statics.blotName){var b=m.default.create(this.statics.defaultChild);g.moveChildren(b),this.appendChild(b)}N(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"replace",this).call(this,g)}}]),s}(t.default);f.blotName="list",f.scope=m.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[i],_.ListItem=i,_.default=f},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=p(56),N=A(P);function A(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function c(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(t){c(e,t);function e(){return m(this,e),y(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return e}(N.default);o.blotName="italic",o.tagName=["EM","I"],_.default=o},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function u(l,a){for(var r=0;r-1?n?this.domNode.setAttribute(f,n):this.domNode.removeAttribute(f):N(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"format",this).call(this,f,n)}}],[{key:"create",value:function(f){var n=N(r.__proto__||Object.getPrototypeOf(r),"create",this).call(this,f);return typeof f=="string"&&n.setAttribute("src",this.sanitize(f)),n}},{key:"formats",value:function(f){return u.reduce(function(n,s){return f.hasAttribute(s)&&(n[s]=f.getAttribute(s)),n},{})}},{key:"match",value:function(f){return/\.(jpe?g|gif|png)$/.test(f)||/^data:image\/.+;base64/.test(f)}},{key:"sanitize",value:function(f){return(0,y.sanitize)(f,["http","https","data"])?f:"//:0"}},{key:"value",value:function(f){return f.getAttribute("src")}}]),r}(m.default.Embed);l.blotName="image",l.tagName="IMG",_.default=l},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0});var P=function(){function a(r,i){for(var f=0;f-1?n?this.domNode.setAttribute(f,n):this.domNode.removeAttribute(f):N(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"format",this).call(this,f,n)}}],[{key:"create",value:function(f){var n=N(r.__proto__||Object.getPrototypeOf(r),"create",this).call(this,f);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(f)),n}},{key:"formats",value:function(f){return u.reduce(function(n,s){return f.hasAttribute(s)&&(n[s]=f.getAttribute(s)),n},{})}},{key:"sanitize",value:function(f){return y.default.sanitize(f)}},{key:"value",value:function(f){return f.getAttribute("src")}}]),r}(A.BlockEmbed);l.blotName="video",l.className="ql-video",l.tagName="IFRAME",_.default=l},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.FormulaBlot=void 0;var P=function(){function f(n,s){for(var k=0;k0||this.cachedText==null)&&(this.domNode.innerHTML=w(v),this.domNode.normalize(),this.attach()),this.cachedText=v)}}]),g}(u.default);f.className="ql-syntax";var n=new m.default.Attributor.Class("token","hljs",{scope:m.default.Scope.INLINE}),s=function(k){i(g,k),P(g,null,[{key:"register",value:function(){c.default.register(n,!0),c.default.register(f,!0)}}]);function g(b,w){a(this,g);var v=r(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b,w));if(typeof v.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var h=null;return v.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(h),h=setTimeout(function(){v.highlight(),h=null},v.options.interval)}),v.highlight(),v}return P(g,[{key:"highlight",value:function(){var w=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var v=this.quill.getSelection();this.quill.scroll.descendants(f).forEach(function(h){h.highlight(w.options.highlight)}),this.quill.update(c.default.sources.SILENT),v!=null&&this.quill.setSelection(v,c.default.sources.SILENT)}}}]),g}(t.default);s.DEFAULTS={highlight:function(){return window.hljs==null?null:function(k){var g=window.hljs.highlightAuto(k);return g.value}}(),interval:1e3},_.CodeBlock=f,_.CodeToken=n,_.default=s},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_){B.exports=' '},function(B,_,p){Object.defineProperty(_,"__esModule",{value:!0}),_.default=_.BubbleTooltip=void 0;var P=function g(b,w,v){b===null&&(b=Function.prototype);var h=Object.getOwnPropertyDescriptor(b,w);if(h===void 0){var d=Object.getPrototypeOf(b);return d===null?void 0:g(d,w,v)}else{if("value"in h)return h.value;var E=h.get;return E===void 0?void 0:E.call(v)}},N=function(){function g(b,w){for(var v=0;v0&&q===c.default.sources.USER){h.show(),h.root.style.left="0px",h.root.style.width="",h.root.style.width=h.root.offsetWidth+"px";var D=h.quill.getLines(E.index,E.length);if(D.length===1)h.position(h.quill.getBounds(E));else{var C=D[D.length-1],Z=h.quill.getIndex(C),I=Math.min(C.length()-1,E.index+E.length-Z),R=h.quill.getBounds(new e.Range(Z,I));h.position(R)}}else document.activeElement!==h.textbox&&h.quill.hasFocus()&&h.hide()}),h}return N(b,[{key:"listen",value:function(){var v=this;P(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){v.root.classList.remove("ql-editing")}),this.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!v.root.classList.contains("ql-hidden")){var h=v.quill.getSelection();h!=null&&v.position(v.quill.getBounds(h))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(v){var h=P(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"position",this).call(this,v),d=this.root.querySelector(".ql-tooltip-arrow");if(d.style.marginLeft="",h===0)return h;d.style.marginLeft=-1*h-d.offsetWidth/2+"px"}}]),b}(o.BaseTooltip);k.TEMPLATE=['','
','','',"
"].join(""),_.BubbleTooltip=k,_.default=s},function(B,_,p){B.exports=p(63)}]).default})})(ct);var mt=ct.exports;const ht=yt(mt);new ht("#snow-editor",{theme:"snow",modules:{toolbar:[[{font:[]},{size:[]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],[{header:[!1,1,2,3,4,5,6]},"blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["direction",{align:[]}],["link","image","video"],["clean"]]}});new ht("#bubble-editor",{theme:"bubble"}); diff --git a/public/build/assets/icons-CHxf0fE3.css b/public/build/assets/icons-CHxf0fE3.css deleted file mode 100644 index 6b87c41..0000000 --- a/public/build/assets/icons-CHxf0fE3.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:boxicons;font-weight:400;font-style:normal;src:url(/build/assets/boxicons-0t2gX1vj.eot);src:url(/build/assets/boxicons-0t2gX1vj.eot) format("embedded-opentype"),url(/build/assets/boxicons-C7pETWQJ.woff2) format("woff2"),url(/build/assets/boxicons-CEgI8ccS.woff) format("woff"),url(/build/assets/boxicons-BEZXjQG5.ttf) format("truetype"),url(/build/assets/boxicons-KSR1BgPC.svg?#boxicons) format("svg")}.bx{font-family:boxicons!important;font-weight:400;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;display:inline-block;text-transform:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bx-ul{margin-left:2em;padding-left:0;list-style:none}.bx-ul>li{position:relative}.bx-ul .bx{font-size:inherit;line-height:inherit;position:absolute;left:-2em;width:2em;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@-webkit-keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translate(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translate(-20px);opacity:0}}@keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translate(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translate(-20px);opacity:0}}@-webkit-keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translate(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translate(20px);opacity:0}}@keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translate(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translate(20px);opacity:0}}@-webkit-keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@-webkit-keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scaleZ(1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,-10deg);transform:scaleZ(1) rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scaleZ(1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.bx-spin,.bx-spin-hover:hover{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.bx-tada,.bx-tada-hover:hover{-webkit-animation:tada 1.5s ease infinite;animation:tada 1.5s ease infinite}.bx-flashing,.bx-flashing-hover:hover{-webkit-animation:flashing 1.5s infinite linear;animation:flashing 1.5s infinite linear}.bx-burst,.bx-burst-hover:hover{-webkit-animation:burst 1.5s infinite linear;animation:burst 1.5s infinite linear}.bx-fade-up,.bx-fade-up-hover:hover{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}.bx-fade-down,.bx-fade-down-hover:hover{-webkit-animation:fade-down 1.5s infinite linear;animation:fade-down 1.5s infinite linear}.bx-fade-left,.bx-fade-left-hover:hover{-webkit-animation:fade-left 1.5s infinite linear;animation:fade-left 1.5s infinite linear}.bx-fade-right,.bx-fade-right-hover:hover{-webkit-animation:fade-right 1.5s infinite linear;animation:fade-right 1.5s infinite linear}.bx-xs{font-size:1rem!important}.bx-sm{font-size:1.55rem!important}.bx-md{font-size:2.25rem!important}.bx-lg{font-size:3rem!important}.bx-fw{font-size:1.2857142857em;line-height:.8em;width:1.2857142857em;height:.8em;margin-top:-.2em!important;vertical-align:middle}.bx-pull-left{float:left;margin-right:.3em!important}.bx-pull-right{float:right;margin-left:.3em!important}.bx-rotate-90{transform:rotate(90deg);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"}.bx-rotate-180{transform:rotate(180deg);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"}.bx-rotate-270{transform:rotate(270deg);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"}.bx-flip-horizontal{transform:scaleX(-1);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"}.bx-flip-vertical{transform:scaleY(-1);-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.bx-border{padding:.25em;border:.07em solid rgba(0,0,0,.1);border-radius:.25em}.bx-border-circle{padding:.25em;border:.07em solid rgba(0,0,0,.1);border-radius:50%}.bxs-balloon:before{content:""}.bxs-castle:before{content:""}.bxs-coffee-bean:before{content:""}.bxs-objects-horizontal-center:before{content:""}.bxs-objects-horizontal-left:before{content:""}.bxs-objects-horizontal-right:before{content:""}.bxs-objects-vertical-bottom:before{content:""}.bxs-objects-vertical-center:before{content:""}.bxs-objects-vertical-top:before{content:""}.bxs-pear:before{content:""}.bxs-shield-minus:before{content:""}.bxs-shield-plus:before{content:""}.bxs-shower:before{content:""}.bxs-sushi:before{content:""}.bxs-universal-access:before{content:""}.bx-child:before{content:""}.bx-horizontal-left:before{content:""}.bx-horizontal-right:before{content:""}.bx-objects-horizontal-center:before{content:""}.bx-objects-horizontal-left:before{content:""}.bx-objects-horizontal-right:before{content:""}.bx-objects-vertical-bottom:before{content:""}.bx-objects-vertical-center:before{content:""}.bx-objects-vertical-top:before{content:""}.bx-rfid:before{content:""}.bx-shield-minus:before{content:""}.bx-shield-plus:before{content:""}.bx-shower:before{content:""}.bx-sushi:before{content:""}.bx-universal-access:before{content:""}.bx-vertical-bottom:before{content:""}.bx-vertical-top:before{content:""}.bxl-graphql:before{content:""}.bxl-typescript:before{content:""}.bxs-color:before{content:""}.bx-reflect-horizontal:before{content:""}.bx-reflect-vertical:before{content:""}.bx-color:before{content:""}.bxl-mongodb:before{content:""}.bxl-postgresql:before{content:""}.bxl-deezer:before{content:""}.bxs-hard-hat:before{content:""}.bxs-home-alt-2:before{content:""}.bxs-cheese:before{content:""}.bx-home-alt-2:before{content:""}.bx-hard-hat:before{content:""}.bx-cheese:before{content:""}.bx-cart-add:before{content:""}.bx-cart-download:before{content:""}.bx-no-signal:before{content:""}.bx-signal-1:before{content:""}.bx-signal-2:before{content:""}.bx-signal-3:before{content:""}.bx-signal-4:before{content:""}.bx-signal-5:before{content:""}.bxl-xing:before{content:""}.bxl-meta:before{content:""}.bx-lemon:before{content:""}.bxs-lemon:before{content:""}.bx-cricket-ball:before{content:""}.bx-baguette:before{content:""}.bx-bowl-hot:before{content:""}.bx-bowl-rice:before{content:""}.bx-cable-car:before{content:""}.bx-candles:before{content:""}.bx-circle-half:before{content:""}.bx-circle-quarter:before{content:""}.bx-circle-three-quarter:before{content:""}.bx-cross:before{content:""}.bx-fork:before{content:""}.bx-knife:before{content:""}.bx-money-withdraw:before{content:""}.bx-popsicle:before{content:""}.bx-scatter-chart:before{content:""}.bxs-baguette:before{content:""}.bxs-bowl-hot:before{content:""}.bxs-bowl-rice:before{content:""}.bxs-cable-car:before{content:""}.bxs-circle-half:before{content:""}.bxs-circle-quarter:before{content:""}.bxs-circle-three-quarter:before{content:""}.bxs-cricket-ball:before{content:""}.bxs-invader:before{content:""}.bx-male-female:before{content:""}.bxs-popsicle:before{content:""}.bxs-tree-alt:before{content:""}.bxl-venmo:before{content:""}.bxl-upwork:before{content:""}.bxl-netlify:before{content:""}.bxl-java:before{content:""}.bxl-heroku:before{content:""}.bxl-go-lang:before{content:""}.bxl-gmail:before{content:""}.bxl-flask:before{content:""}.bxl-99designs:before{content:""}.bxl-500px:before{content:""}.bxl-adobe:before{content:""}.bxl-airbnb:before{content:""}.bxl-algolia:before{content:""}.bxl-amazon:before{content:""}.bxl-android:before{content:""}.bxl-angular:before{content:""}.bxl-apple:before{content:""}.bxl-audible:before{content:""}.bxl-aws:before{content:""}.bxl-baidu:before{content:""}.bxl-behance:before{content:""}.bxl-bing:before{content:""}.bxl-bitcoin:before{content:""}.bxl-blender:before{content:""}.bxl-blogger:before{content:""}.bxl-bootstrap:before{content:""}.bxl-chrome:before{content:""}.bxl-codepen:before{content:""}.bxl-c-plus-plus:before{content:""}.bxl-creative-commons:before{content:""}.bxl-css3:before{content:""}.bxl-dailymotion:before{content:""}.bxl-deviantart:before{content:""}.bxl-dev-to:before{content:""}.bxl-digg:before{content:""}.bxl-digitalocean:before{content:""}.bxl-discord:before{content:""}.bxl-discord-alt:before{content:""}.bxl-discourse:before{content:""}.bxl-django:before{content:""}.bxl-docker:before{content:""}.bxl-dribbble:before{content:""}.bxl-dropbox:before{content:""}.bxl-drupal:before{content:""}.bxl-ebay:before{content:""}.bxl-edge:before{content:""}.bxl-etsy:before{content:""}.bxl-facebook:before{content:""}.bxl-facebook-circle:before{content:""}.bxl-facebook-square:before{content:""}.bxl-figma:before{content:""}.bxl-firebase:before{content:""}.bxl-firefox:before{content:""}.bxl-flickr:before{content:""}.bxl-flickr-square:before{content:""}.bxl-flutter:before{content:""}.bxl-foursquare:before{content:""}.bxl-git:before{content:""}.bxl-github:before{content:""}.bxl-gitlab:before{content:""}.bxl-google:before{content:""}.bxl-google-cloud:before{content:""}.bxl-google-plus:before{content:""}.bxl-google-plus-circle:before{content:""}.bxl-html5:before{content:""}.bxl-imdb:before{content:""}.bxl-instagram:before{content:""}.bxl-instagram-alt:before{content:""}.bxl-internet-explorer:before{content:""}.bxl-invision:before{content:""}.bxl-javascript:before{content:""}.bxl-joomla:before{content:""}.bxl-jquery:before{content:""}.bxl-jsfiddle:before{content:""}.bxl-kickstarter:before{content:""}.bxl-kubernetes:before{content:""}.bxl-less:before{content:""}.bxl-linkedin:before{content:""}.bxl-linkedin-square:before{content:""}.bxl-magento:before{content:""}.bxl-mailchimp:before{content:""}.bxl-markdown:before{content:""}.bxl-mastercard:before{content:""}.bxl-mastodon:before{content:""}.bxl-medium:before{content:""}.bxl-medium-old:before{content:""}.bxl-medium-square:before{content:""}.bxl-messenger:before{content:""}.bxl-microsoft:before{content:""}.bxl-microsoft-teams:before{content:""}.bxl-nodejs:before{content:""}.bxl-ok-ru:before{content:""}.bxl-opera:before{content:""}.bxl-patreon:before{content:""}.bxl-paypal:before{content:""}.bxl-periscope:before{content:""}.bxl-php:before{content:""}.bxl-pinterest:before{content:""}.bxl-pinterest-alt:before{content:""}.bxl-play-store:before{content:""}.bxl-pocket:before{content:""}.bxl-product-hunt:before{content:""}.bxl-python:before{content:""}.bxl-quora:before{content:""}.bxl-react:before{content:""}.bxl-redbubble:before{content:""}.bxl-reddit:before{content:""}.bxl-redux:before{content:""}.bxl-sass:before{content:""}.bxl-shopify:before{content:""}.bxl-sketch:before{content:""}.bxl-skype:before{content:""}.bxl-slack:before{content:""}.bxl-slack-old:before{content:""}.bxl-snapchat:before{content:""}.bxl-soundcloud:before{content:""}.bxl-spotify:before{content:""}.bxl-spring-boot:before{content:""}.bxl-squarespace:before{content:""}.bxl-stack-overflow:before{content:""}.bxl-steam:before{content:""}.bxl-stripe:before{content:""}.bxl-tailwind-css:before{content:""}.bxl-telegram:before{content:""}.bxl-tiktok:before{content:""}.bxl-trello:before{content:""}.bxl-trip-advisor:before{content:""}.bxl-tumblr:before{content:""}.bxl-tux:before{content:""}.bxl-twitch:before{content:""}.bxl-twitter:before{content:""}.bxl-unity:before{content:""}.bxl-unsplash:before{content:""}.bxl-vimeo:before{content:""}.bxl-visa:before{content:""}.bxl-visual-studio:before{content:""}.bxl-vk:before{content:""}.bxl-vuejs:before{content:""}.bxl-whatsapp:before{content:""}.bxl-whatsapp-square:before{content:""}.bxl-wikipedia:before{content:""}.bxl-windows:before{content:""}.bxl-wix:before{content:""}.bxl-wordpress:before{content:""}.bxl-yahoo:before{content:""}.bxl-yelp:before{content:""}.bxl-youtube:before{content:""}.bxl-zoom:before{content:""}.bx-collapse-alt:before{content:""}.bx-collapse-horizontal:before{content:""}.bx-collapse-vertical:before{content:""}.bx-expand-horizontal:before{content:""}.bx-expand-vertical:before{content:""}.bx-injection:before{content:""}.bx-leaf:before{content:""}.bx-math:before{content:""}.bx-party:before{content:""}.bx-abacus:before{content:""}.bx-accessibility:before{content:""}.bx-add-to-queue:before{content:""}.bx-adjust:before{content:""}.bx-alarm:before{content:""}.bx-alarm-add:before{content:""}.bx-alarm-exclamation:before{content:""}.bx-alarm-off:before{content:""}.bx-alarm-snooze:before{content:""}.bx-album:before{content:""}.bx-align-justify:before{content:""}.bx-align-left:before{content:""}.bx-align-middle:before{content:""}.bx-align-right:before{content:""}.bx-analyse:before{content:""}.bx-anchor:before{content:""}.bx-angry:before{content:""}.bx-aperture:before{content:""}.bx-arch:before{content:""}.bx-archive:before{content:""}.bx-archive-in:before{content:""}.bx-archive-out:before{content:""}.bx-area:before{content:""}.bx-arrow-back:before{content:""}.bx-arrow-from-bottom:before{content:""}.bx-arrow-from-left:before{content:""}.bx-arrow-from-right:before{content:""}.bx-arrow-from-top:before{content:""}.bx-arrow-to-bottom:before{content:""}.bx-arrow-to-left:before{content:""}.bx-arrow-to-right:before{content:""}.bx-arrow-to-top:before{content:""}.bx-at:before{content:""}.bx-atom:before{content:""}.bx-award:before{content:""}.bx-badge:before{content:""}.bx-badge-check:before{content:""}.bx-ball:before{content:""}.bx-band-aid:before{content:""}.bx-bar-chart:before{content:""}.bx-bar-chart-alt:before{content:""}.bx-bar-chart-alt-2:before{content:""}.bx-bar-chart-square:before{content:""}.bx-barcode:before{content:""}.bx-barcode-reader:before{content:""}.bx-baseball:before{content:""}.bx-basket:before{content:""}.bx-basketball:before{content:""}.bx-bath:before{content:""}.bx-battery:before{content:""}.bx-bed:before{content:""}.bx-been-here:before{content:""}.bx-beer:before{content:""}.bx-bell:before{content:""}.bx-bell-minus:before{content:""}.bx-bell-off:before{content:""}.bx-bell-plus:before{content:""}.bx-bible:before{content:""}.bx-bitcoin:before{content:""}.bx-blanket:before{content:""}.bx-block:before{content:""}.bx-bluetooth:before{content:""}.bx-body:before{content:""}.bx-bold:before{content:""}.bx-bolt-circle:before{content:""}.bx-bomb:before{content:""}.bx-bone:before{content:""}.bx-bong:before{content:""}.bx-book:before{content:""}.bx-book-add:before{content:""}.bx-book-alt:before{content:""}.bx-book-bookmark:before{content:""}.bx-book-content:before{content:""}.bx-book-heart:before{content:""}.bx-bookmark:before{content:""}.bx-bookmark-alt:before{content:""}.bx-bookmark-alt-minus:before{content:""}.bx-bookmark-alt-plus:before{content:""}.bx-bookmark-heart:before{content:""}.bx-bookmark-minus:before{content:""}.bx-bookmark-plus:before{content:""}.bx-bookmarks:before{content:""}.bx-book-open:before{content:""}.bx-book-reader:before{content:""}.bx-border-all:before{content:""}.bx-border-bottom:before{content:""}.bx-border-inner:before{content:""}.bx-border-left:before{content:""}.bx-border-none:before{content:""}.bx-border-outer:before{content:""}.bx-border-radius:before{content:""}.bx-border-right:before{content:""}.bx-border-top:before{content:""}.bx-bot:before{content:""}.bx-bowling-ball:before{content:""}.bx-box:before{content:""}.bx-bracket:before{content:""}.bx-braille:before{content:""}.bx-brain:before{content:""}.bx-briefcase:before{content:""}.bx-briefcase-alt:before{content:""}.bx-briefcase-alt-2:before{content:""}.bx-brightness:before{content:""}.bx-brightness-half:before{content:""}.bx-broadcast:before{content:""}.bx-brush:before{content:""}.bx-brush-alt:before{content:""}.bx-bug:before{content:""}.bx-bug-alt:before{content:""}.bx-building:before{content:""}.bx-building-house:before{content:""}.bx-buildings:before{content:""}.bx-bulb:before{content:""}.bx-bullseye:before{content:""}.bx-buoy:before{content:""}.bx-bus:before{content:""}.bx-bus-school:before{content:""}.bx-cabinet:before{content:""}.bx-cake:before{content:""}.bx-calculator:before{content:""}.bx-calendar:before{content:""}.bx-calendar-alt:before{content:""}.bx-calendar-check:before{content:""}.bx-calendar-edit:before{content:""}.bx-calendar-event:before{content:""}.bx-calendar-exclamation:before{content:""}.bx-calendar-heart:before{content:""}.bx-calendar-minus:before{content:""}.bx-calendar-plus:before{content:""}.bx-calendar-star:before{content:""}.bx-calendar-week:before{content:""}.bx-calendar-x:before{content:""}.bx-camera:before{content:""}.bx-camera-home:before{content:""}.bx-camera-movie:before{content:""}.bx-camera-off:before{content:""}.bx-capsule:before{content:""}.bx-captions:before{content:""}.bx-car:before{content:""}.bx-card:before{content:""}.bx-caret-down:before{content:""}.bx-caret-down-circle:before{content:""}.bx-caret-down-square:before{content:""}.bx-caret-left:before{content:""}.bx-caret-left-circle:before{content:""}.bx-caret-left-square:before{content:""}.bx-caret-right:before{content:""}.bx-caret-right-circle:before{content:""}.bx-caret-right-square:before{content:""}.bx-caret-up:before{content:""}.bx-caret-up-circle:before{content:""}.bx-caret-up-square:before{content:""}.bx-carousel:before{content:""}.bx-cart:before{content:""}.bx-cart-alt:before{content:""}.bx-cast:before{content:""}.bx-category:before{content:""}.bx-category-alt:before{content:""}.bx-cctv:before{content:""}.bx-certification:before{content:""}.bx-chair:before{content:""}.bx-chalkboard:before{content:""}.bx-chart:before{content:""}.bx-chat:before{content:""}.bx-check:before{content:""}.bx-checkbox:before{content:""}.bx-checkbox-checked:before{content:""}.bx-checkbox-minus:before{content:""}.bx-checkbox-square:before{content:""}.bx-check-circle:before{content:""}.bx-check-double:before{content:""}.bx-check-shield:before{content:""}.bx-check-square:before{content:""}.bx-chevron-down:before{content:""}.bx-chevron-down-circle:before{content:""}.bx-chevron-down-square:before{content:""}.bx-chevron-left:before{content:""}.bx-chevron-left-circle:before{content:""}.bx-chevron-left-square:before{content:""}.bx-chevron-right:before{content:""}.bx-chevron-right-circle:before{content:""}.bx-chevron-right-square:before{content:""}.bx-chevrons-down:before{content:""}.bx-chevrons-left:before{content:""}.bx-chevrons-right:before{content:""}.bx-chevrons-up:before{content:""}.bx-chevron-up:before{content:""}.bx-chevron-up-circle:before{content:""}.bx-chevron-up-square:before{content:""}.bx-chip:before{content:""}.bx-church:before{content:""}.bx-circle:before{content:""}.bx-clinic:before{content:""}.bx-clipboard:before{content:""}.bx-closet:before{content:""}.bx-cloud:before{content:""}.bx-cloud-download:before{content:""}.bx-cloud-drizzle:before{content:""}.bx-cloud-lightning:before{content:""}.bx-cloud-light-rain:before{content:""}.bx-cloud-rain:before{content:""}.bx-cloud-snow:before{content:""}.bx-cloud-upload:before{content:""}.bx-code:before{content:""}.bx-code-alt:before{content:""}.bx-code-block:before{content:""}.bx-code-curly:before{content:""}.bx-coffee:before{content:""}.bx-coffee-togo:before{content:""}.bx-cog:before{content:""}.bx-coin:before{content:""}.bx-coin-stack:before{content:""}.bx-collapse:before{content:""}.bx-collection:before{content:""}.bx-color-fill:before{content:""}.bx-columns:before{content:""}.bx-command:before{content:""}.bx-comment:before{content:""}.bx-comment-add:before{content:""}.bx-comment-check:before{content:""}.bx-comment-detail:before{content:""}.bx-comment-dots:before{content:""}.bx-comment-edit:before{content:""}.bx-comment-error:before{content:""}.bx-comment-minus:before{content:""}.bx-comment-x:before{content:""}.bx-compass:before{content:""}.bx-confused:before{content:""}.bx-conversation:before{content:""}.bx-cookie:before{content:""}.bx-cool:before{content:""}.bx-copy:before{content:""}.bx-copy-alt:before{content:""}.bx-copyright:before{content:""}.bx-credit-card:before{content:""}.bx-credit-card-alt:before{content:""}.bx-credit-card-front:before{content:""}.bx-crop:before{content:""}.bx-crosshair:before{content:""}.bx-crown:before{content:""}.bx-cube:before{content:""}.bx-cube-alt:before{content:""}.bx-cuboid:before{content:""}.bx-current-location:before{content:""}.bx-customize:before{content:""}.bx-cut:before{content:""}.bx-cycling:before{content:""}.bx-cylinder:before{content:""}.bx-data:before{content:""}.bx-desktop:before{content:""}.bx-detail:before{content:""}.bx-devices:before{content:""}.bx-dialpad:before{content:""}.bx-dialpad-alt:before{content:""}.bx-diamond:before{content:""}.bx-dice-1:before{content:""}.bx-dice-2:before{content:""}.bx-dice-3:before{content:""}.bx-dice-4:before{content:""}.bx-dice-5:before{content:""}.bx-dice-6:before{content:""}.bx-directions:before{content:""}.bx-disc:before{content:""}.bx-dish:before{content:""}.bx-dislike:before{content:""}.bx-dizzy:before{content:""}.bx-dna:before{content:""}.bx-dock-bottom:before{content:""}.bx-dock-left:before{content:""}.bx-dock-right:before{content:""}.bx-dock-top:before{content:""}.bx-dollar:before{content:""}.bx-dollar-circle:before{content:""}.bx-donate-blood:before{content:""}.bx-donate-heart:before{content:""}.bx-door-open:before{content:""}.bx-dots-horizontal:before{content:""}.bx-dots-horizontal-rounded:before{content:""}.bx-dots-vertical:before{content:""}.bx-dots-vertical-rounded:before{content:""}.bx-doughnut-chart:before{content:""}.bx-down-arrow:before{content:""}.bx-down-arrow-alt:before{content:""}.bx-down-arrow-circle:before{content:""}.bx-download:before{content:""}.bx-downvote:before{content:""}.bx-drink:before{content:""}.bx-droplet:before{content:""}.bx-dumbbell:before{content:""}.bx-duplicate:before{content:""}.bx-edit:before{content:""}.bx-edit-alt:before{content:""}.bx-envelope:before{content:""}.bx-envelope-open:before{content:""}.bx-equalizer:before{content:""}.bx-eraser:before{content:""}.bx-error:before{content:""}.bx-error-alt:before{content:""}.bx-error-circle:before{content:""}.bx-euro:before{content:""}.bx-exclude:before{content:""}.bx-exit:before{content:""}.bx-exit-fullscreen:before{content:""}.bx-expand:before{content:""}.bx-expand-alt:before{content:""}.bx-export:before{content:""}.bx-extension:before{content:""}.bx-face:before{content:""}.bx-fast-forward:before{content:""}.bx-fast-forward-circle:before{content:""}.bx-female:before{content:""}.bx-female-sign:before{content:""}.bx-file:before{content:""}.bx-file-blank:before{content:""}.bx-file-find:before{content:""}.bx-film:before{content:""}.bx-filter:before{content:""}.bx-filter-alt:before{content:""}.bx-fingerprint:before{content:""}.bx-first-aid:before{content:""}.bx-first-page:before{content:""}.bx-flag:before{content:""}.bx-folder:before{content:""}.bx-folder-minus:before{content:""}.bx-folder-open:before{content:""}.bx-folder-plus:before{content:""}.bx-font:before{content:""}.bx-font-color:before{content:""}.bx-font-family:before{content:""}.bx-font-size:before{content:""}.bx-food-menu:before{content:""}.bx-food-tag:before{content:""}.bx-football:before{content:""}.bx-fridge:before{content:""}.bx-fullscreen:before{content:""}.bx-game:before{content:""}.bx-gas-pump:before{content:""}.bx-ghost:before{content:""}.bx-gift:before{content:""}.bx-git-branch:before{content:""}.bx-git-commit:before{content:""}.bx-git-compare:before{content:""}.bx-git-merge:before{content:""}.bx-git-pull-request:before{content:""}.bx-git-repo-forked:before{content:""}.bx-glasses:before{content:""}.bx-glasses-alt:before{content:""}.bx-globe:before{content:""}.bx-globe-alt:before{content:""}.bx-grid:before{content:""}.bx-grid-alt:before{content:""}.bx-grid-horizontal:before{content:""}.bx-grid-small:before{content:""}.bx-grid-vertical:before{content:""}.bx-group:before{content:""}.bx-handicap:before{content:""}.bx-happy:before{content:""}.bx-happy-alt:before{content:""}.bx-happy-beaming:before{content:""}.bx-happy-heart-eyes:before{content:""}.bx-hash:before{content:""}.bx-hdd:before{content:""}.bx-heading:before{content:""}.bx-headphone:before{content:""}.bx-health:before{content:""}.bx-heart:before{content:""}.bx-heart-circle:before{content:""}.bx-heart-square:before{content:""}.bx-help-circle:before{content:""}.bx-hide:before{content:""}.bx-highlight:before{content:""}.bx-history:before{content:""}.bx-hive:before{content:""}.bx-home:before{content:""}.bx-home-alt:before{content:""}.bx-home-circle:before{content:""}.bx-home-heart:before{content:""}.bx-home-smile:before{content:""}.bx-horizontal-center:before{content:""}.bx-hotel:before{content:""}.bx-hourglass:before{content:""}.bx-id-card:before{content:""}.bx-image:before{content:""}.bx-image-add:before{content:""}.bx-image-alt:before{content:""}.bx-images:before{content:""}.bx-import:before{content:""}.bx-infinite:before{content:""}.bx-info-circle:before{content:""}.bx-info-square:before{content:""}.bx-intersect:before{content:""}.bx-italic:before{content:""}.bx-joystick:before{content:""}.bx-joystick-alt:before{content:""}.bx-joystick-button:before{content:""}.bx-key:before{content:""}.bx-label:before{content:""}.bx-landscape:before{content:""}.bx-laptop:before{content:""}.bx-last-page:before{content:""}.bx-laugh:before{content:""}.bx-layer:before{content:""}.bx-layer-minus:before{content:""}.bx-layer-plus:before{content:""}.bx-layout:before{content:""}.bx-left-arrow:before{content:""}.bx-left-arrow-alt:before{content:""}.bx-left-arrow-circle:before{content:""}.bx-left-down-arrow-circle:before{content:""}.bx-left-indent:before{content:""}.bx-left-top-arrow-circle:before{content:""}.bx-library:before{content:""}.bx-like:before{content:""}.bx-line-chart:before{content:""}.bx-line-chart-down:before{content:""}.bx-link:before{content:""}.bx-link-alt:before{content:""}.bx-link-external:before{content:""}.bx-lira:before{content:""}.bx-list-check:before{content:""}.bx-list-minus:before{content:""}.bx-list-ol:before{content:""}.bx-list-plus:before{content:""}.bx-list-ul:before{content:""}.bx-loader:before{content:""}.bx-loader-alt:before{content:""}.bx-loader-circle:before{content:""}.bx-location-plus:before{content:""}.bx-lock:before{content:""}.bx-lock-alt:before{content:""}.bx-lock-open:before{content:""}.bx-lock-open-alt:before{content:""}.bx-log-in:before{content:""}.bx-log-in-circle:before{content:""}.bx-log-out:before{content:""}.bx-log-out-circle:before{content:""}.bx-low-vision:before{content:""}.bx-magnet:before{content:""}.bx-mail-send:before{content:""}.bx-male:before{content:""}.bx-male-sign:before{content:""}.bx-map:before{content:""}.bx-map-alt:before{content:""}.bx-map-pin:before{content:""}.bx-mask:before{content:""}.bx-medal:before{content:""}.bx-meh:before{content:""}.bx-meh-alt:before{content:""}.bx-meh-blank:before{content:""}.bx-memory-card:before{content:""}.bx-menu:before{content:""}.bx-menu-alt-left:before{content:""}.bx-menu-alt-right:before{content:""}.bx-merge:before{content:""}.bx-message:before{content:""}.bx-message-add:before{content:""}.bx-message-alt:before{content:""}.bx-message-alt-add:before{content:""}.bx-message-alt-check:before{content:""}.bx-message-alt-detail:before{content:""}.bx-message-alt-dots:before{content:""}.bx-message-alt-edit:before{content:""}.bx-message-alt-error:before{content:""}.bx-message-alt-minus:before{content:""}.bx-message-alt-x:before{content:""}.bx-message-check:before{content:""}.bx-message-detail:before{content:""}.bx-message-dots:before{content:""}.bx-message-edit:before{content:""}.bx-message-error:before{content:""}.bx-message-minus:before{content:""}.bx-message-rounded:before{content:""}.bx-message-rounded-add:before{content:""}.bx-message-rounded-check:before{content:""}.bx-message-rounded-detail:before{content:""}.bx-message-rounded-dots:before{content:""}.bx-message-rounded-edit:before{content:""}.bx-message-rounded-error:before{content:""}.bx-message-rounded-minus:before{content:""}.bx-message-rounded-x:before{content:""}.bx-message-square:before{content:""}.bx-message-square-add:before{content:""}.bx-message-square-check:before{content:""}.bx-message-square-detail:before{content:""}.bx-message-square-dots:before{content:""}.bx-message-square-edit:before{content:""}.bx-message-square-error:before{content:""}.bx-message-square-minus:before{content:""}.bx-message-square-x:before{content:""}.bx-message-x:before{content:""}.bx-meteor:before{content:""}.bx-microchip:before{content:""}.bx-microphone:before{content:""}.bx-microphone-off:before{content:""}.bx-minus:before{content:""}.bx-minus-back:before{content:""}.bx-minus-circle:before{content:""}.bx-minus-front:before{content:""}.bx-mobile:before{content:""}.bx-mobile-alt:before{content:""}.bx-mobile-landscape:before{content:""}.bx-mobile-vibration:before{content:""}.bx-money:before{content:""}.bx-moon:before{content:""}.bx-mouse:before{content:""}.bx-mouse-alt:before{content:""}.bx-move:before{content:""}.bx-move-horizontal:before{content:""}.bx-move-vertical:before{content:""}.bx-movie:before{content:""}.bx-movie-play:before{content:""}.bx-music:before{content:""}.bx-navigation:before{content:""}.bx-network-chart:before{content:""}.bx-news:before{content:""}.bx-no-entry:before{content:""}.bx-note:before{content:""}.bx-notepad:before{content:""}.bx-notification:before{content:""}.bx-notification-off:before{content:""}.bx-outline:before{content:""}.bx-package:before{content:""}.bx-paint:before{content:""}.bx-paint-roll:before{content:""}.bx-palette:before{content:""}.bx-paperclip:before{content:""}.bx-paper-plane:before{content:""}.bx-paragraph:before{content:""}.bx-paste:before{content:""}.bx-pause:before{content:""}.bx-pause-circle:before{content:""}.bx-pen:before{content:""}.bx-pencil:before{content:""}.bx-phone:before{content:""}.bx-phone-call:before{content:""}.bx-phone-incoming:before{content:""}.bx-phone-off:before{content:""}.bx-phone-outgoing:before{content:""}.bx-photo-album:before{content:""}.bx-pie-chart:before{content:""}.bx-pie-chart-alt:before{content:""}.bx-pie-chart-alt-2:before{content:""}.bx-pin:before{content:""}.bx-planet:before{content:""}.bx-play:before{content:""}.bx-play-circle:before{content:""}.bx-plug:before{content:""}.bx-plus:before{content:""}.bx-plus-circle:before{content:""}.bx-plus-medical:before{content:""}.bx-podcast:before{content:""}.bx-pointer:before{content:""}.bx-poll:before{content:""}.bx-polygon:before{content:""}.bx-pound:before{content:""}.bx-power-off:before{content:""}.bx-printer:before{content:""}.bx-pulse:before{content:""}.bx-purchase-tag:before{content:""}.bx-purchase-tag-alt:before{content:""}.bx-pyramid:before{content:""}.bx-qr:before{content:""}.bx-qr-scan:before{content:""}.bx-question-mark:before{content:""}.bx-radar:before{content:""}.bx-radio:before{content:""}.bx-radio-circle:before{content:""}.bx-radio-circle-marked:before{content:""}.bx-receipt:before{content:""}.bx-rectangle:before{content:""}.bx-recycle:before{content:""}.bx-redo:before{content:""}.bx-refresh:before{content:""}.bx-registered:before{content:""}.bx-rename:before{content:""}.bx-repeat:before{content:""}.bx-reply:before{content:""}.bx-reply-all:before{content:""}.bx-repost:before{content:""}.bx-reset:before{content:""}.bx-restaurant:before{content:""}.bx-revision:before{content:""}.bx-rewind:before{content:""}.bx-rewind-circle:before{content:""}.bx-right-arrow:before{content:""}.bx-right-arrow-alt:before{content:""}.bx-right-arrow-circle:before{content:""}.bx-right-down-arrow-circle:before{content:""}.bx-right-indent:before{content:""}.bx-right-top-arrow-circle:before{content:""}.bx-rocket:before{content:""}.bx-rotate-left:before{content:""}.bx-rotate-right:before{content:""}.bx-rss:before{content:""}.bx-ruble:before{content:""}.bx-ruler:before{content:""}.bx-run:before{content:""}.bx-rupee:before{content:""}.bx-sad:before{content:""}.bx-save:before{content:""}.bx-scan:before{content:""}.bx-screenshot:before{content:""}.bx-search:before{content:""}.bx-search-alt:before{content:""}.bx-search-alt-2:before{content:""}.bx-selection:before{content:""}.bx-select-multiple:before{content:""}.bx-send:before{content:""}.bx-server:before{content:""}.bx-shape-circle:before{content:""}.bx-shape-polygon:before{content:""}.bx-shape-square:before{content:""}.bx-shape-triangle:before{content:""}.bx-share:before{content:""}.bx-share-alt:before{content:""}.bx-shekel:before{content:""}.bx-shield:before{content:""}.bx-shield-alt:before{content:""}.bx-shield-alt-2:before{content:""}.bx-shield-quarter:before{content:""}.bx-shield-x:before{content:""}.bx-shocked:before{content:""}.bx-shopping-bag:before{content:""}.bx-show:before{content:""}.bx-show-alt:before{content:""}.bx-shuffle:before{content:""}.bx-sidebar:before{content:""}.bx-sitemap:before{content:""}.bx-skip-next:before{content:""}.bx-skip-next-circle:before{content:""}.bx-skip-previous:before{content:""}.bx-skip-previous-circle:before{content:""}.bx-sleepy:before{content:""}.bx-slider:before{content:""}.bx-slider-alt:before{content:""}.bx-slideshow:before{content:""}.bx-smile:before{content:""}.bx-sort:before{content:""}.bx-sort-alt-2:before{content:""}.bx-sort-a-z:before{content:""}.bx-sort-down:before{content:""}.bx-sort-up:before{content:""}.bx-sort-z-a:before{content:""}.bx-spa:before{content:""}.bx-space-bar:before{content:""}.bx-speaker:before{content:""}.bx-spray-can:before{content:""}.bx-spreadsheet:before{content:""}.bx-square:before{content:""}.bx-square-rounded:before{content:""}.bx-star:before{content:""}.bx-station:before{content:""}.bx-stats:before{content:""}.bx-sticker:before{content:""}.bx-stop:before{content:""}.bx-stop-circle:before{content:""}.bx-stopwatch:before{content:""}.bx-store:before{content:""}.bx-store-alt:before{content:""}.bx-street-view:before{content:""}.bx-strikethrough:before{content:""}.bx-subdirectory-left:before{content:""}.bx-subdirectory-right:before{content:""}.bx-sun:before{content:""}.bx-support:before{content:""}.bx-swim:before{content:""}.bx-sync:before{content:""}.bx-tab:before{content:""}.bx-table:before{content:""}.bx-tachometer:before{content:""}.bx-tag:before{content:""}.bx-tag-alt:before{content:""}.bx-target-lock:before{content:""}.bx-task:before{content:""}.bx-task-x:before{content:""}.bx-taxi:before{content:""}.bx-tennis-ball:before{content:""}.bx-terminal:before{content:""}.bx-test-tube:before{content:""}.bx-text:before{content:""}.bx-time:before{content:""}.bx-time-five:before{content:""}.bx-timer:before{content:""}.bx-tired:before{content:""}.bx-toggle-left:before{content:""}.bx-toggle-right:before{content:""}.bx-tone:before{content:""}.bx-traffic-cone:before{content:""}.bx-train:before{content:""}.bx-transfer:before{content:""}.bx-transfer-alt:before{content:""}.bx-trash:before{content:""}.bx-trash-alt:before{content:""}.bx-trending-down:before{content:""}.bx-trending-up:before{content:""}.bx-trim:before{content:""}.bx-trip:before{content:""}.bx-trophy:before{content:""}.bx-tv:before{content:""}.bx-underline:before{content:""}.bx-undo:before{content:""}.bx-unite:before{content:""}.bx-unlink:before{content:""}.bx-up-arrow:before{content:""}.bx-up-arrow-alt:before{content:""}.bx-up-arrow-circle:before{content:""}.bx-upload:before{content:""}.bx-upside-down:before{content:""}.bx-upvote:before{content:""}.bx-usb:before{content:""}.bx-user:before{content:""}.bx-user-check:before{content:""}.bx-user-circle:before{content:""}.bx-user-minus:before{content:""}.bx-user-pin:before{content:""}.bx-user-plus:before{content:""}.bx-user-voice:before{content:""}.bx-user-x:before{content:""}.bx-vector:before{content:""}.bx-vertical-center:before{content:""}.bx-vial:before{content:""}.bx-video:before{content:""}.bx-video-off:before{content:""}.bx-video-plus:before{content:""}.bx-video-recording:before{content:""}.bx-voicemail:before{content:""}.bx-volume:before{content:""}.bx-volume-full:before{content:""}.bx-volume-low:before{content:""}.bx-volume-mute:before{content:""}.bx-walk:before{content:""}.bx-wallet:before{content:""}.bx-wallet-alt:before{content:""}.bx-water:before{content:""}.bx-webcam:before{content:""}.bx-wifi:before{content:""}.bx-wifi-0:before{content:""}.bx-wifi-1:before{content:""}.bx-wifi-2:before{content:""}.bx-wifi-off:before{content:""}.bx-wind:before{content:""}.bx-window:before{content:""}.bx-window-alt:before{content:""}.bx-window-close:before{content:""}.bx-window-open:before{content:""}.bx-windows:before{content:""}.bx-wine:before{content:""}.bx-wink-smile:before{content:""}.bx-wink-tongue:before{content:""}.bx-won:before{content:""}.bx-world:before{content:""}.bx-wrench:before{content:""}.bx-x:before{content:""}.bx-x-circle:before{content:""}.bx-yen:before{content:""}.bx-zoom-in:before{content:""}.bx-zoom-out:before{content:""}.bxs-party:before{content:""}.bxs-hot:before{content:""}.bxs-droplet:before{content:""}.bxs-cat:before{content:""}.bxs-dog:before{content:""}.bxs-injection:before{content:""}.bxs-leaf:before{content:""}.bxs-add-to-queue:before{content:""}.bxs-adjust:before{content:""}.bxs-adjust-alt:before{content:""}.bxs-alarm:before{content:""}.bxs-alarm-add:before{content:""}.bxs-alarm-exclamation:before{content:""}.bxs-alarm-off:before{content:""}.bxs-alarm-snooze:before{content:""}.bxs-album:before{content:""}.bxs-ambulance:before{content:""}.bxs-analyse:before{content:""}.bxs-angry:before{content:""}.bxs-arch:before{content:""}.bxs-archive:before{content:""}.bxs-archive-in:before{content:""}.bxs-archive-out:before{content:""}.bxs-area:before{content:""}.bxs-arrow-from-bottom:before{content:""}.bxs-arrow-from-left:before{content:""}.bxs-arrow-from-right:before{content:""}.bxs-arrow-from-top:before{content:""}.bxs-arrow-to-bottom:before{content:""}.bxs-arrow-to-left:before{content:""}.bxs-arrow-to-right:before{content:""}.bxs-arrow-to-top:before{content:""}.bxs-award:before{content:""}.bxs-baby-carriage:before{content:""}.bxs-backpack:before{content:""}.bxs-badge:before{content:""}.bxs-badge-check:before{content:""}.bxs-badge-dollar:before{content:""}.bxs-ball:before{content:""}.bxs-band-aid:before{content:""}.bxs-bank:before{content:""}.bxs-bar-chart-alt-2:before{content:""}.bxs-bar-chart-square:before{content:""}.bxs-barcode:before{content:""}.bxs-baseball:before{content:""}.bxs-basket:before{content:""}.bxs-basketball:before{content:""}.bxs-bath:before{content:""}.bxs-battery:before{content:""}.bxs-battery-charging:before{content:""}.bxs-battery-full:before{content:""}.bxs-battery-low:before{content:""}.bxs-bed:before{content:""}.bxs-been-here:before{content:""}.bxs-beer:before{content:""}.bxs-bell:before{content:""}.bxs-bell-minus:before{content:""}.bxs-bell-off:before{content:""}.bxs-bell-plus:before{content:""}.bxs-bell-ring:before{content:""}.bxs-bible:before{content:""}.bxs-binoculars:before{content:""}.bxs-blanket:before{content:""}.bxs-bolt:before{content:""}.bxs-bolt-circle:before{content:""}.bxs-bomb:before{content:""}.bxs-bone:before{content:""}.bxs-bong:before{content:""}.bxs-book:before{content:""}.bxs-book-add:before{content:""}.bxs-book-alt:before{content:""}.bxs-book-bookmark:before{content:""}.bxs-book-content:before{content:""}.bxs-book-heart:before{content:""}.bxs-bookmark:before{content:""}.bxs-bookmark-alt:before{content:""}.bxs-bookmark-alt-minus:before{content:""}.bxs-bookmark-alt-plus:before{content:""}.bxs-bookmark-heart:before{content:""}.bxs-bookmark-minus:before{content:""}.bxs-bookmark-plus:before{content:""}.bxs-bookmarks:before{content:""}.bxs-bookmark-star:before{content:""}.bxs-book-open:before{content:""}.bxs-book-reader:before{content:""}.bxs-bot:before{content:""}.bxs-bowling-ball:before{content:""}.bxs-box:before{content:""}.bxs-brain:before{content:""}.bxs-briefcase:before{content:""}.bxs-briefcase-alt:before{content:""}.bxs-briefcase-alt-2:before{content:""}.bxs-brightness:before{content:""}.bxs-brightness-half:before{content:""}.bxs-brush:before{content:""}.bxs-brush-alt:before{content:""}.bxs-bug:before{content:""}.bxs-bug-alt:before{content:""}.bxs-building:before{content:""}.bxs-building-house:before{content:""}.bxs-buildings:before{content:""}.bxs-bulb:before{content:""}.bxs-bullseye:before{content:""}.bxs-buoy:before{content:""}.bxs-bus:before{content:""}.bxs-business:before{content:""}.bxs-bus-school:before{content:""}.bxs-cabinet:before{content:""}.bxs-cake:before{content:""}.bxs-calculator:before{content:""}.bxs-calendar:before{content:""}.bxs-calendar-alt:before{content:""}.bxs-calendar-check:before{content:""}.bxs-calendar-edit:before{content:""}.bxs-calendar-event:before{content:""}.bxs-calendar-exclamation:before{content:""}.bxs-calendar-heart:before{content:""}.bxs-calendar-minus:before{content:""}.bxs-calendar-plus:before{content:""}.bxs-calendar-star:before{content:""}.bxs-calendar-week:before{content:""}.bxs-calendar-x:before{content:""}.bxs-camera:before{content:""}.bxs-camera-home:before{content:""}.bxs-camera-movie:before{content:""}.bxs-camera-off:before{content:""}.bxs-camera-plus:before{content:""}.bxs-capsule:before{content:""}.bxs-captions:before{content:""}.bxs-car:before{content:""}.bxs-car-battery:before{content:""}.bxs-car-crash:before{content:""}.bxs-card:before{content:""}.bxs-caret-down-circle:before{content:""}.bxs-caret-down-square:before{content:""}.bxs-caret-left-circle:before{content:""}.bxs-caret-left-square:before{content:""}.bxs-caret-right-circle:before{content:""}.bxs-caret-right-square:before{content:""}.bxs-caret-up-circle:before{content:""}.bxs-caret-up-square:before{content:""}.bxs-car-garage:before{content:""}.bxs-car-mechanic:before{content:""}.bxs-carousel:before{content:""}.bxs-cart:before{content:""}.bxs-cart-add:before{content:""}.bxs-cart-alt:before{content:""}.bxs-cart-download:before{content:""}.bxs-car-wash:before{content:""}.bxs-category:before{content:""}.bxs-category-alt:before{content:""}.bxs-cctv:before{content:""}.bxs-certification:before{content:""}.bxs-chalkboard:before{content:""}.bxs-chart:before{content:""}.bxs-chat:before{content:""}.bxs-checkbox:before{content:""}.bxs-checkbox-checked:before{content:""}.bxs-checkbox-minus:before{content:""}.bxs-check-circle:before{content:""}.bxs-check-shield:before{content:""}.bxs-check-square:before{content:""}.bxs-chess:before{content:""}.bxs-chevron-down:before{content:""}.bxs-chevron-down-circle:before{content:""}.bxs-chevron-down-square:before{content:""}.bxs-chevron-left:before{content:""}.bxs-chevron-left-circle:before{content:""}.bxs-chevron-left-square:before{content:""}.bxs-chevron-right:before{content:""}.bxs-chevron-right-circle:before{content:""}.bxs-chevron-right-square:before{content:""}.bxs-chevrons-down:before{content:""}.bxs-chevrons-left:before{content:""}.bxs-chevrons-right:before{content:""}.bxs-chevrons-up:before{content:""}.bxs-chevron-up:before{content:""}.bxs-chevron-up-circle:before{content:""}.bxs-chevron-up-square:before{content:""}.bxs-chip:before{content:""}.bxs-church:before{content:""}.bxs-circle:before{content:""}.bxs-city:before{content:""}.bxs-clinic:before{content:""}.bxs-cloud:before{content:""}.bxs-cloud-download:before{content:""}.bxs-cloud-lightning:before{content:""}.bxs-cloud-rain:before{content:""}.bxs-cloud-upload:before{content:""}.bxs-coffee:before{content:""}.bxs-coffee-alt:before{content:""}.bxs-coffee-togo:before{content:""}.bxs-cog:before{content:""}.bxs-coin:before{content:""}.bxs-coin-stack:before{content:""}.bxs-collection:before{content:""}.bxs-color-fill:before{content:""}.bxs-comment:before{content:""}.bxs-comment-add:before{content:""}.bxs-comment-check:before{content:""}.bxs-comment-detail:before{content:""}.bxs-comment-dots:before{content:""}.bxs-comment-edit:before{content:""}.bxs-comment-error:before{content:""}.bxs-comment-minus:before{content:""}.bxs-comment-x:before{content:""}.bxs-compass:before{content:""}.bxs-component:before{content:""}.bxs-confused:before{content:""}.bxs-contact:before{content:""}.bxs-conversation:before{content:""}.bxs-cookie:before{content:""}.bxs-cool:before{content:""}.bxs-copy:before{content:""}.bxs-copy-alt:before{content:""}.bxs-copyright:before{content:""}.bxs-coupon:before{content:""}.bxs-credit-card:before{content:""}.bxs-credit-card-alt:before{content:""}.bxs-credit-card-front:before{content:""}.bxs-crop:before{content:""}.bxs-crown:before{content:""}.bxs-cube:before{content:""}.bxs-cube-alt:before{content:""}.bxs-cuboid:before{content:""}.bxs-customize:before{content:""}.bxs-cylinder:before{content:""}.bxs-dashboard:before{content:""}.bxs-data:before{content:""}.bxs-detail:before{content:""}.bxs-devices:before{content:""}.bxs-diamond:before{content:""}.bxs-dice-1:before{content:""}.bxs-dice-2:before{content:""}.bxs-dice-3:before{content:""}.bxs-dice-4:before{content:""}.bxs-dice-5:before{content:""}.bxs-dice-6:before{content:""}.bxs-direction-left:before{content:""}.bxs-direction-right:before{content:""}.bxs-directions:before{content:""}.bxs-disc:before{content:""}.bxs-discount:before{content:""}.bxs-dish:before{content:""}.bxs-dislike:before{content:""}.bxs-dizzy:before{content:""}.bxs-dock-bottom:before{content:""}.bxs-dock-left:before{content:""}.bxs-dock-right:before{content:""}.bxs-dock-top:before{content:""}.bxs-dollar-circle:before{content:""}.bxs-donate-blood:before{content:""}.bxs-donate-heart:before{content:""}.bxs-door-open:before{content:""}.bxs-doughnut-chart:before{content:""}.bxs-down-arrow:before{content:""}.bxs-down-arrow-alt:before{content:""}.bxs-down-arrow-circle:before{content:""}.bxs-down-arrow-square:before{content:""}.bxs-download:before{content:""}.bxs-downvote:before{content:""}.bxs-drink:before{content:""}.bxs-droplet-half:before{content:""}.bxs-dryer:before{content:""}.bxs-duplicate:before{content:""}.bxs-edit:before{content:""}.bxs-edit-alt:before{content:""}.bxs-edit-location:before{content:""}.bxs-eject:before{content:""}.bxs-envelope:before{content:""}.bxs-envelope-open:before{content:""}.bxs-eraser:before{content:""}.bxs-error:before{content:""}.bxs-error-alt:before{content:""}.bxs-error-circle:before{content:""}.bxs-ev-station:before{content:""}.bxs-exit:before{content:""}.bxs-extension:before{content:""}.bxs-eyedropper:before{content:""}.bxs-face:before{content:""}.bxs-face-mask:before{content:""}.bxs-factory:before{content:""}.bxs-fast-forward-circle:before{content:""}.bxs-file:before{content:""}.bxs-file-archive:before{content:""}.bxs-file-blank:before{content:""}.bxs-file-css:before{content:""}.bxs-file-doc:before{content:""}.bxs-file-export:before{content:""}.bxs-file-find:before{content:""}.bxs-file-gif:before{content:""}.bxs-file-html:before{content:""}.bxs-file-image:before{content:""}.bxs-file-import:before{content:""}.bxs-file-jpg:before{content:""}.bxs-file-js:before{content:""}.bxs-file-json:before{content:""}.bxs-file-md:before{content:""}.bxs-file-pdf:before{content:""}.bxs-file-plus:before{content:""}.bxs-file-png:before{content:""}.bxs-file-txt:before{content:""}.bxs-film:before{content:""}.bxs-filter-alt:before{content:""}.bxs-first-aid:before{content:""}.bxs-flag:before{content:""}.bxs-flag-alt:before{content:""}.bxs-flag-checkered:before{content:""}.bxs-flame:before{content:""}.bxs-flask:before{content:""}.bxs-florist:before{content:""}.bxs-folder:before{content:""}.bxs-folder-minus:before{content:""}.bxs-folder-open:before{content:""}.bxs-folder-plus:before{content:""}.bxs-food-menu:before{content:""}.bxs-fridge:before{content:""}.bxs-game:before{content:""}.bxs-gas-pump:before{content:""}.bxs-ghost:before{content:""}.bxs-gift:before{content:""}.bxs-graduation:before{content:""}.bxs-grid:before{content:""}.bxs-grid-alt:before{content:""}.bxs-group:before{content:""}.bxs-guitar-amp:before{content:""}.bxs-hand:before{content:""}.bxs-hand-down:before{content:""}.bxs-hand-left:before{content:""}.bxs-hand-right:before{content:""}.bxs-hand-up:before{content:""}.bxs-happy:before{content:""}.bxs-happy-alt:before{content:""}.bxs-happy-beaming:before{content:""}.bxs-happy-heart-eyes:before{content:""}.bxs-hdd:before{content:""}.bxs-heart:before{content:""}.bxs-heart-circle:before{content:""}.bxs-heart-square:before{content:""}.bxs-help-circle:before{content:""}.bxs-hide:before{content:""}.bxs-home:before{content:""}.bxs-home-circle:before{content:""}.bxs-home-heart:before{content:""}.bxs-home-smile:before{content:""}.bxs-hotel:before{content:""}.bxs-hourglass:before{content:""}.bxs-hourglass-bottom:before{content:""}.bxs-hourglass-top:before{content:""}.bxs-id-card:before{content:""}.bxs-image:before{content:""}.bxs-image-add:before{content:""}.bxs-image-alt:before{content:""}.bxs-inbox:before{content:""}.bxs-info-circle:before{content:""}.bxs-info-square:before{content:""}.bxs-institution:before{content:""}.bxs-joystick:before{content:""}.bxs-joystick-alt:before{content:""}.bxs-joystick-button:before{content:""}.bxs-key:before{content:""}.bxs-keyboard:before{content:""}.bxs-label:before{content:""}.bxs-landmark:before{content:""}.bxs-landscape:before{content:""}.bxs-laugh:before{content:""}.bxs-layer:before{content:""}.bxs-layer-minus:before{content:""}.bxs-layer-plus:before{content:""}.bxs-layout:before{content:""}.bxs-left-arrow:before{content:""}.bxs-left-arrow-alt:before{content:""}.bxs-left-arrow-circle:before{content:""}.bxs-left-arrow-square:before{content:""}.bxs-left-down-arrow-circle:before{content:""}.bxs-left-top-arrow-circle:before{content:""}.bxs-like:before{content:""}.bxs-location-plus:before{content:""}.bxs-lock:before{content:""}.bxs-lock-alt:before{content:""}.bxs-lock-open:before{content:""}.bxs-lock-open-alt:before{content:""}.bxs-log-in:before{content:""}.bxs-log-in-circle:before{content:""}.bxs-log-out:before{content:""}.bxs-log-out-circle:before{content:""}.bxs-low-vision:before{content:""}.bxs-magic-wand:before{content:""}.bxs-magnet:before{content:""}.bxs-map:before{content:""}.bxs-map-alt:before{content:""}.bxs-map-pin:before{content:""}.bxs-mask:before{content:""}.bxs-medal:before{content:""}.bxs-megaphone:before{content:""}.bxs-meh:before{content:""}.bxs-meh-alt:before{content:""}.bxs-meh-blank:before{content:""}.bxs-memory-card:before{content:""}.bxs-message:before{content:""}.bxs-message-add:before{content:""}.bxs-message-alt:before{content:""}.bxs-message-alt-add:before{content:""}.bxs-message-alt-check:before{content:""}.bxs-message-alt-detail:before{content:""}.bxs-message-alt-dots:before{content:""}.bxs-message-alt-edit:before{content:""}.bxs-message-alt-error:before{content:""}.bxs-message-alt-minus:before{content:""}.bxs-message-alt-x:before{content:""}.bxs-message-check:before{content:""}.bxs-message-detail:before{content:""}.bxs-message-dots:before{content:""}.bxs-message-edit:before{content:""}.bxs-message-error:before{content:""}.bxs-message-minus:before{content:""}.bxs-message-rounded:before{content:""}.bxs-message-rounded-add:before{content:""}.bxs-message-rounded-check:before{content:""}.bxs-message-rounded-detail:before{content:""}.bxs-message-rounded-dots:before{content:""}.bxs-message-rounded-edit:before{content:""}.bxs-message-rounded-error:before{content:""}.bxs-message-rounded-minus:before{content:""}.bxs-message-rounded-x:before{content:""}.bxs-message-square:before{content:""}.bxs-message-square-add:before{content:""}.bxs-message-square-check:before{content:""}.bxs-message-square-detail:before{content:""}.bxs-message-square-dots:before{content:""}.bxs-message-square-edit:before{content:""}.bxs-message-square-error:before{content:""}.bxs-message-square-minus:before{content:""}.bxs-message-square-x:before{content:""}.bxs-message-x:before{content:""}.bxs-meteor:before{content:""}.bxs-microchip:before{content:""}.bxs-microphone:before{content:""}.bxs-microphone-alt:before{content:""}.bxs-microphone-off:before{content:""}.bxs-minus-circle:before{content:""}.bxs-minus-square:before{content:""}.bxs-mobile:before{content:""}.bxs-mobile-vibration:before{content:""}.bxs-moon:before{content:""}.bxs-mouse:before{content:""}.bxs-mouse-alt:before{content:""}.bxs-movie:before{content:""}.bxs-movie-play:before{content:""}.bxs-music:before{content:""}.bxs-navigation:before{content:""}.bxs-network-chart:before{content:""}.bxs-news:before{content:""}.bxs-no-entry:before{content:""}.bxs-note:before{content:""}.bxs-notepad:before{content:""}.bxs-notification:before{content:""}.bxs-notification-off:before{content:""}.bxs-offer:before{content:""}.bxs-package:before{content:""}.bxs-paint:before{content:""}.bxs-paint-roll:before{content:""}.bxs-palette:before{content:""}.bxs-paper-plane:before{content:""}.bxs-parking:before{content:""}.bxs-paste:before{content:""}.bxs-pen:before{content:""}.bxs-pencil:before{content:""}.bxs-phone:before{content:""}.bxs-phone-call:before{content:""}.bxs-phone-incoming:before{content:""}.bxs-phone-off:before{content:""}.bxs-phone-outgoing:before{content:""}.bxs-photo-album:before{content:""}.bxs-piano:before{content:""}.bxs-pie-chart:before{content:""}.bxs-pie-chart-alt:before{content:""}.bxs-pie-chart-alt-2:before{content:""}.bxs-pin:before{content:""}.bxs-pizza:before{content:""}.bxs-plane:before{content:""}.bxs-plane-alt:before{content:""}.bxs-plane-land:before{content:""}.bxs-planet:before{content:""}.bxs-plane-take-off:before{content:""}.bxs-playlist:before{content:""}.bxs-plug:before{content:""}.bxs-plus-circle:before{content:""}.bxs-plus-square:before{content:""}.bxs-pointer:before{content:""}.bxs-polygon:before{content:""}.bxs-printer:before{content:""}.bxs-purchase-tag:before{content:""}.bxs-purchase-tag-alt:before{content:""}.bxs-pyramid:before{content:""}.bxs-quote-alt-left:before{content:""}.bxs-quote-alt-right:before{content:""}.bxs-quote-left:before{content:""}.bxs-quote-right:before{content:""}.bxs-quote-single-left:before{content:""}.bxs-quote-single-right:before{content:""}.bxs-radiation:before{content:""}.bxs-radio:before{content:""}.bxs-receipt:before{content:""}.bxs-rectangle:before{content:""}.bxs-registered:before{content:""}.bxs-rename:before{content:""}.bxs-report:before{content:""}.bxs-rewind-circle:before{content:""}.bxs-right-arrow:before{content:""}.bxs-right-arrow-alt:before{content:""}.bxs-right-arrow-circle:before{content:""}.bxs-right-arrow-square:before{content:""}.bxs-right-down-arrow-circle:before{content:""}.bxs-right-top-arrow-circle:before{content:""}.bxs-rocket:before{content:""}.bxs-ruler:before{content:""}.bxs-sad:before{content:""}.bxs-save:before{content:""}.bxs-school:before{content:""}.bxs-search:before{content:""}.bxs-search-alt-2:before{content:""}.bxs-select-multiple:before{content:""}.bxs-send:before{content:""}.bxs-server:before{content:""}.bxs-shapes:before{content:""}.bxs-share:before{content:""}.bxs-share-alt:before{content:""}.bxs-shield:before{content:""}.bxs-shield-alt-2:before{content:""}.bxs-shield-x:before{content:""}.bxs-ship:before{content:""}.bxs-shocked:before{content:""}.bxs-shopping-bag:before{content:""}.bxs-shopping-bag-alt:before{content:""}.bxs-shopping-bags:before{content:""}.bxs-show:before{content:""}.bxs-skip-next-circle:before{content:""}.bxs-skip-previous-circle:before{content:""}.bxs-skull:before{content:""}.bxs-sleepy:before{content:""}.bxs-slideshow:before{content:""}.bxs-smile:before{content:""}.bxs-sort-alt:before{content:""}.bxs-spa:before{content:""}.bxs-speaker:before{content:""}.bxs-spray-can:before{content:""}.bxs-spreadsheet:before{content:""}.bxs-square:before{content:""}.bxs-square-rounded:before{content:""}.bxs-star:before{content:""}.bxs-star-half:before{content:""}.bxs-sticker:before{content:""}.bxs-stopwatch:before{content:""}.bxs-store:before{content:""}.bxs-store-alt:before{content:""}.bxs-sun:before{content:""}.bxs-tachometer:before{content:""}.bxs-tag:before{content:""}.bxs-tag-alt:before{content:""}.bxs-tag-x:before{content:""}.bxs-taxi:before{content:""}.bxs-tennis-ball:before{content:""}.bxs-terminal:before{content:""}.bxs-thermometer:before{content:""}.bxs-time:before{content:""}.bxs-time-five:before{content:""}.bxs-timer:before{content:""}.bxs-tired:before{content:""}.bxs-toggle-left:before{content:""}.bxs-toggle-right:before{content:""}.bxs-tone:before{content:""}.bxs-torch:before{content:""}.bxs-to-top:before{content:""}.bxs-traffic:before{content:""}.bxs-traffic-barrier:before{content:""}.bxs-traffic-cone:before{content:""}.bxs-train:before{content:""}.bxs-trash:before{content:""}.bxs-trash-alt:before{content:""}.bxs-tree:before{content:""}.bxs-trophy:before{content:""}.bxs-truck:before{content:""}.bxs-t-shirt:before{content:""}.bxs-tv:before{content:""}.bxs-up-arrow:before{content:""}.bxs-up-arrow-alt:before{content:""}.bxs-up-arrow-circle:before{content:""}.bxs-up-arrow-square:before{content:""}.bxs-upside-down:before{content:""}.bxs-upvote:before{content:""}.bxs-user:before{content:""}.bxs-user-account:before{content:""}.bxs-user-badge:before{content:""}.bxs-user-check:before{content:""}.bxs-user-circle:before{content:""}.bxs-user-detail:before{content:""}.bxs-user-minus:before{content:""}.bxs-user-pin:before{content:""}.bxs-user-plus:before{content:""}.bxs-user-rectangle:before{content:""}.bxs-user-voice:before{content:""}.bxs-user-x:before{content:""}.bxs-vector:before{content:""}.bxs-vial:before{content:""}.bxs-video:before{content:""}.bxs-video-off:before{content:""}.bxs-video-plus:before{content:""}.bxs-video-recording:before{content:""}.bxs-videos:before{content:""}.bxs-virus:before{content:""}.bxs-virus-block:before{content:""}.bxs-volume:before{content:""}.bxs-volume-full:before{content:""}.bxs-volume-low:before{content:""}.bxs-volume-mute:before{content:""}.bxs-wallet:before{content:""}.bxs-wallet-alt:before{content:""}.bxs-washer:before{content:""}.bxs-watch:before{content:""}.bxs-watch-alt:before{content:""}.bxs-webcam:before{content:""}.bxs-widget:before{content:""}.bxs-window-alt:before{content:""}.bxs-wine:before{content:""}.bxs-wink-smile:before{content:""}.bxs-wink-tongue:before{content:""}.bxs-wrench:before{content:""}.bxs-x-circle:before{content:""}.bxs-x-square:before{content:""}.bxs-yin-yang:before{content:""}.bxs-zap:before{content:""}.bxs-zoom-in:before{content:""}.bxs-zoom-out:before{content:""} diff --git a/public/build/assets/maps-canada-Btz07hSk.js b/public/build/assets/maps-canada-Btz07hSk.js deleted file mode 100644 index cfb9bc7..0000000 --- a/public/build/assets/maps-canada-Btz07hSk.js +++ /dev/null @@ -1 +0,0 @@ -jsVectorMap.addMap("canada",{width:900,height:867,paths:{nt:{path:"M340.29,126.02l5.05,-2.26l2.76,0.43l6.5,-3.85l1.23,0.01l1.54,2.19l-1.93,8.62l-1.55,0.59l-2.09,-1.15l-1.22,-2.29l-1.32,0.13l-1.22,2.29l-1.34,-0.24l-0.23,-1.68l-1.46,-1.53l-5.45,1.33l0.72,-2.6ZM104.26,307.63l1.14,-2.98l2.22,-1.67l0.46,-2.51l1.2,-1.51l0.23,-5.06l11.84,-21.11l2.68,2.63l1.46,3.15l0.02,1.76l1.66,1.45l0.66,-0.55l-0.71,-3.84l1.06,0.36l0.07,-0.5l-1.28,-1.24l0.06,-1.25l-1.9,-1.48l0.63,-1.34l1.23,1.78l2.06,-0.46l-1.27,-0.67l-0.73,-2.09l0.91,-2.19l0.82,3.04l1.3,1.4l0.43,-0.74l-0.92,-1.52l0.01,-3.23l0.65,0.02l-0.28,2.19l0.82,0.07l0.59,-1.89l1.87,2.93l1.38,-3.7l2.79,0.44l2.46,2.3l2.79,-4.02l0.7,0.3l-1.1,1.42l0.39,1.34l1.9,1.72l-5.05,2.62l-1.93,2.48l0.9,0.19l1.58,-1.41l2.1,0.22l0.77,-0.72l1.24,0.52l0.71,-0.84l2.64,1.36l1.41,-0.07l3.43,-3.67l2.02,1.7l1.31,0.19l0.94,-0.92l0.78,0.94l6.93,-1.77l0.6,-0.85l0.51,0.79l-0.7,1.79l0.73,0.45l3.57,-3.06l0.03,-0.74l1.1,-0.2l0.29,0.66l1.32,-0.75l0.33,0.91l1.18,-0.31l-0.37,1.09l0.63,0.83l2.24,0.79l2.99,-2.39l-0.43,1.39l0.64,0.69l-0.11,1.21l-1.7,1.0l-6.12,0.53l-2.08,0.64l-1.02,1.21l-1.62,-0.04l-1.6,1.4l-0.25,-1.61l-7.41,-1.01l-2.29,1.84l-0.29,1.06l-5.21,-0.23l-2.66,2.77l-2.4,-0.18l-1.66,2.32l-1.61,-0.49l-0.96,1.13l0.3,2.7l2.2,2.47l0.77,-0.45l-1.27,-1.27l0.38,-0.94l1.27,0.68l0.62,-0.79l0.4,1.43l1.02,-0.16l0.99,1.02l1.61,-0.85l-0.45,-2.08l-1.52,0.19l-0.35,-0.72l1.13,0.16l-0.6,-1.73l0.72,-1.38l2.28,-0.02l0.45,0.71l1.46,-0.81l0.65,0.9l1.17,-1.23l3.27,-0.61l2.33,-2.31l0.67,0.77l-1.51,2.02l0.81,0.22l-0.39,0.95l2.46,-0.58l-0.25,0.99l0.88,0.61l-1.83,2.69l0.65,1.0l1.64,-2.72l7.95,-6.03l5.85,-0.13l2.58,0.65l-1.07,2.79l1.9,1.33l0.27,-1.09l1.24,0.05l5.15,-2.51l1.22,-3.31l1.85,-0.43l4.45,1.02l0.03,-1.32l-2.64,-2.29l1.71,-1.52l-1.85,-0.45l2.47,-2.88l2.54,8.59l-0.04,6.34l-1.07,5.48l2.25,8.32l2.66,3.34l0.85,0.12l0.65,-1.18l1.59,0.69l1.22,-1.47l-0.6,-2.09l0.72,-1.04l-0.89,-1.36l0.56,-0.7l2.36,-0.05l-0.33,1.7l0.79,0.38l1.3,-1.37l-1.55,-1.87l2.51,-2.33l2.01,0.05l0.56,-0.74l0.16,1.45l-2.13,4.05l1.06,1.48l1.87,0.23l-5.37,4.32l0.04,1.48l0.86,0.84l2.07,1.0l0.85,-0.51l1.93,1.27l2.46,-0.33l0.26,-1.48l2.2,0.12l2.25,-5.23l1.23,-0.68l0.86,1.2l5.42,1.52l3.72,2.51l3.56,5.74l-10.78,31.17l22.92,34.62l25.67,33.56l14.94,3.76l6.82,13.72l4.14,3.52l30.8,11.84l26.18,8.96l-10.81,81.09l-51.46,-8.44l-52.41,-11.91l-51.58,-15.14l-28.53,-9.89l-18.38,-7.37l0.81,-1.02l-0.28,-4.88l0.73,-2.33l-1.59,-1.36l-0.37,-3.96l1.97,-1.43l0.22,-3.73l-2.24,-1.11l-1.52,1.67l-2.45,-0.87l-2.02,0.56l-3.8,-3.91l-1.79,1.13l-0.57,-1.54l-1.06,-0.17l-0.9,1.18l-1.62,-1.42l-1.87,0.55l-1.28,-0.91l1.63,-5.05l-1.3,-0.87l1.67,-1.65l0.93,-5.74l-1.07,-1.73l-2.01,-0.66l-1.39,-2.65l-0.78,-2.0l0.37,-3.13l-1.1,-0.69l0.04,-3.67l-0.79,-2.47l-1.51,-0.56l-1.12,0.7l-0.11,-1.18l-2.66,-2.01l0.84,-0.58l0.0,-2.28l1.23,-0.98l-0.39,-0.69l1.61,-0.78l-1.63,-3.36l-0.09,-5.67l3.01,-3.13l-1.57,-1.35l0.26,-2.13l-1.16,-2.28l2.31,-0.46l1.88,-1.83l-0.37,-5.19l-1.66,-0.64l1.9,-0.06l0.56,-1.03l-3.49,-5.55l0.5,-1.17l-0.74,-2.15l0.94,-0.65l0.04,-5.58l-1.89,-2.03l-1.63,0.89l-1.84,-0.85l2.06,-1.84l-1.29,-2.3l-0.01,-2.24l-3.17,-4.16l1.39,-0.32l0.62,-1.63l2.04,-0.76l0.1,-1.36l-1.06,-0.79l0.64,-1.59l-1.0,-0.97l4.88,-2.33l2.73,-2.47l0.15,-4.09l-0.81,-1.96l2.85,-1.34l-1.48,-2.56l-3.29,1.1l0.87,-1.33l-0.22,-1.05l-1.96,-0.69l-2.27,0.42l-1.07,-0.82l0.77,-1.25l-0.44,-0.84l1.7,-0.85l1.09,-2.06l-0.16,-1.35l-1.16,-0.51l1.43,-1.81l0.91,0.37l0.45,-1.72l1.25,-0.83l-0.23,-3.6l1.22,-1.26l-0.87,-3.87l1.56,0.55l0.52,-0.89l-16.25,-8.78ZM207.0,476.23l1.61,4.53l5.87,2.48l0.59,1.9l3.69,3.15l6.27,1.74l4.69,-0.33l1.76,0.73l3.76,-0.8l1.5,1.2l2.72,0.02l2.0,-1.62l0.22,-3.53l2.03,-1.3l2.31,-0.97l1.96,0.23l0.3,1.85l3.53,-0.52l4.71,-1.97l4.89,-4.5l1.91,-0.5l1.98,-1.93l0.04,-1.86l5.21,-3.43l2.82,0.57l0.14,1.03l3.68,0.38l0.65,-0.92l-0.61,-0.65l4.19,-1.04l2.39,-2.13l-0.22,-0.59l-6.06,-1.61l0.35,-0.51l4.93,1.66l0.78,-0.54l-0.9,-0.6l0.42,-0.41l3.57,2.25l-0.52,2.9l3.49,-1.45l1.55,-2.02l-1.55,-1.61l-3.5,-1.36l-3.53,-2.56l-7.39,-0.99l-4.47,1.2l-2.92,1.65l-3.83,5.35l-7.36,4.08l-3.92,-0.15l-0.72,-0.81l-3.17,0.75l-0.99,-1.17l-1.12,0.24l0.13,-0.86l-1.31,-0.93l0.09,-1.38l-3.31,-4.19l0.1,-1.79l-3.43,0.11l-1.7,-2.68l-1.93,-1.37l-0.76,-2.21l-3.15,-2.05l0.15,-0.71l-2.21,-2.46l-1.51,1.96l1.37,2.32l0.46,2.86l3.58,0.85l-1.8,4.28l2.21,1.78l-0.28,1.92l2.36,3.96l-1.1,1.6l-3.31,0.37l-0.87,-1.09l-3.3,-0.31l-3.32,3.82l-0.15,1.58l-1.73,-0.41l-1.46,0.69l1.28,2.16l-1.78,0.66l-0.95,-1.34l-4.58,-2.58l-0.94,0.43l0.03,1.56l-2.72,0.61l-3.89,-4.33l-1.36,-0.2l1.36,1.82ZM179.03,366.19l1.23,1.14l1.05,-2.95l3.02,0.66l0.35,1.43l1.65,0.94l4.89,0.48l0.48,2.95l2.68,-2.11l-0.16,-1.49l8.12,3.1l1.31,1.76l0.26,2.1l2.26,0.8l-1.7,1.71l-3.35,-0.74l-1.03,-1.5l-2.81,-1.71l-3.62,-0.27l-0.01,0.86l1.5,0.47l-0.05,1.18l2.05,1.97l-0.17,1.13l-2.37,1.85l-3.7,0.25l-0.91,1.12l-1.2,-0.13l0.87,2.2l-1.5,2.06l-1.16,0.39l-3.85,-0.85l-1.02,0.69l0.95,1.99l7.94,5.44l1.13,1.57l5.15,-1.44l-0.18,-1.05l2.6,-4.41l6.83,-2.0l2.81,1.33l-1.07,3.16l-3.75,2.86l-2.71,0.66l-0.53,1.61l-1.03,0.5l-2.31,-0.97l-1.56,0.81l-0.48,1.52l0.83,1.79l1.17,0.66l2.7,-1.8l3.15,-0.01l4.39,-2.13l2.0,-0.14l2.25,-2.17l3.37,0.94l-0.18,-3.3l-1.53,-1.0l-0.85,-2.14l3.94,-0.96l-0.42,-1.74l5.94,2.03l-0.23,1.08l2.52,3.2l0.26,-1.1l1.12,0.85l4.77,-0.1l0.43,-1.45l-1.1,-0.13l2.04,-1.38l-3.01,0.14l-0.54,-1.23l2.01,-2.42l2.7,0.59l0.02,-1.17l-1.34,-0.99l2.79,-0.42l1.32,-1.83l-0.37,-1.16l2.69,-2.18l-1.0,-1.29l-1.77,0.84l-0.45,-0.57l2.9,-2.14l0.15,-1.92l-4.08,0.56l-3.44,3.36l-4.18,0.24l-5.52,-2.26l-0.45,-0.98l-2.09,0.14l-1.46,-2.17l-2.34,-0.36l0.32,-0.78l1.63,0.33l-0.01,-1.57l1.13,0.06l1.62,-1.32l4.32,-0.21l2.51,-1.37l3.18,-0.19l-1.55,-2.45l-2.07,-0.71l0.86,-0.58l-2.34,-0.98l-0.08,-1.09l-1.01,-0.39l-9.34,0.7l-1.73,-0.78l-3.27,1.23l-0.23,0.77l-4.53,0.49l-3.99,-1.18l-0.98,1.01l-2.43,-1.06l-1.9,1.06l-0.03,-1.43l-1.47,0.89l-4.68,-0.02l-2.12,0.74l-1.61,-1.82l-2.33,1.46l-3.5,-2.31l-1.4,0.61l-1.36,2.74l0.84,5.19l0.77,-0.04l0.72,-1.84ZM212.83,287.18l-0.0,-0.02l-0.45,-0.39l0.6,0.28l-0.15,0.13ZM211.88,286.62l-0.11,0.01l-0.06,-0.14l0.17,0.13ZM179.99,279.15l0.22,-0.13l-0.03,0.22l-0.19,-0.09ZM142.22,285.94l-0.69,-0.85l0.05,-0.26l0.51,-0.01l0.13,1.12ZM142.77,264.94l0.0,-0.21l0.23,0.0l-0.16,0.1l-0.07,0.11ZM156.42,271.63l-0.26,-0.16l-0.02,-0.28l0.34,0.17l-0.07,0.26ZM155.56,270.82l-0.15,0.03l0.11,-0.14l0.03,0.11ZM159.83,281.2l0.4,-0.64l0.34,-0.13l0.07,0.65l-0.81,0.12ZM202.31,297.59l-0.11,-0.08l0.06,-0.02l0.05,0.1ZM201.72,297.39l-0.66,-0.04l0.07,-0.32l0.01,-0.01l0.59,0.37ZM211.0,288.37l-0.89,0.21l-0.21,-0.52l1.07,-0.1l0.02,0.4ZM207.97,287.77l-0.36,0.28l-0.26,0.01l0.62,-0.56l-0.0,0.27ZM335.03,145.95l1.0,-0.91l-0.03,-4.67l1.26,-2.2l0.69,0.77l4.27,-1.92l3.09,0.31l2.51,-0.9l1.93,0.93l1.22,-0.62l3.04,0.79l-0.79,3.54l-4.36,0.48l-0.82,0.7l0.81,2.8l2.92,0.26l-0.46,3.19l-1.57,2.84l-3.77,1.35l-1.94,-0.92l-4.87,1.52l-1.46,-1.4l-0.3,-2.44l-1.06,-0.05l-1.46,-2.11l0.16,-1.34ZM343.05,180.4l0.53,-2.45l1.48,-0.35l-0.86,3.83l-1.15,-1.03ZM297.62,196.66l-2.81,-3.08l3.43,-3.66l7.2,1.64l3.36,-1.6l1.84,0.21l0.67,-1.17l1.68,-0.67l-0.5,-1.1l-6.96,1.23l-5.82,-1.7l3.14,-3.59l12.45,1.14l-0.22,-1.42l-7.93,-1.17l-2.24,-1.68l1.93,-0.92l0.07,-1.43l-0.97,-0.43l0.79,-1.37l2.92,-1.11l7.07,3.4l1.21,-0.14l0.02,-0.84l-1.49,-0.63l-1.37,-1.85l-2.82,-0.86l-0.3,-0.94l0.54,-1.4l2.58,-1.59l2.72,0.22l1.32,-0.67l0.16,0.75l1.65,0.26l1.13,1.18l-0.79,2.25l0.19,4.4l6.19,-0.25l2.12,2.71l-0.7,1.1l0.22,1.97l3.12,3.75l-2.83,0.82l-0.56,1.29l3.73,0.5l0.64,2.56l-0.82,2.31l0.43,2.83l4.71,-0.03l0.43,0.9l2.08,0.36l-3.46,15.46l-1.6,-0.54l-0.96,1.16l-1.49,-0.26l-0.29,2.07l-7.3,3.12l-5.1,0.78l-4.59,-0.96l-2.46,-1.54l-2.22,-3.46l-0.83,-2.34l0.38,-0.84l4.45,-1.61l3.46,0.41l1.07,-1.88l1.85,-0.47l7.54,1.25l4.33,-3.19l1.09,-1.4l-0.22,-0.82l-1.89,-0.86l-2.08,1.97l-1.45,-0.93l-1.17,0.94l-2.49,-0.21l0.89,-2.14l-0.81,-0.78l-1.01,1.19l0.41,-1.64l-0.83,-0.71l-1.06,3.09l-0.92,0.5l-0.8,0.07l-0.46,-1.42l-0.9,1.31l-3.84,-0.33l0.32,-1.39l1.77,-0.52l-0.23,-1.02l-1.17,0.31l1.46,-2.76l3.52,-1.68l-0.97,-0.99l-2.7,0.74l-0.38,-2.37l-0.91,0.33l-1.8,4.91l-1.27,-2.51l-1.05,0.74l1.08,3.03l-1.36,2.08l-3.46,1.29l-0.74,-0.72l0.75,-4.37l-1.76,1.25l-1.37,-1.35l-0.18,2.89l-0.93,1.06l-2.19,-2.46l1.46,-1.09l-0.26,-0.63l-1.29,0.17l0.9,-2.21l-2.29,-0.11l-1.24,1.13l-1.56,-1.19ZM327.94,134.68l3.9,-1.93l-0.25,1.87l0.84,0.29l1.5,4.62l-3.72,1.43l-2.27,-6.26ZM321.01,163.06l1.64,-1.4l4.15,0.26l1.23,1.73l-0.05,1.17l-1.23,1.11l-5.74,-2.86ZM326.03,261.21l-0.4,-1.5l-1.62,-0.83l-0.63,-3.15l3.92,1.28l-1.26,4.19ZM325.43,263.42l0.07,-0.72l0.09,0.01l0.24,0.88l-0.39,-0.16ZM260.9,269.58l0.42,-3.04l1.57,-3.05l4.59,-3.99l3.77,-0.66l0.24,-2.37l-1.72,-0.97l-0.37,-1.62l3.89,-3.4l2.37,-0.69l4.6,-3.62l3.27,-0.17l2.61,-1.39l7.37,-1.23l6.65,-2.24l1.96,1.51l0.76,4.13l-2.16,5.66l0.16,1.56l-2.64,0.65l-0.45,1.8l-2.29,1.2l0.2,1.21l1.63,0.68l3.03,-1.33l1.9,1.35l2.3,-2.14l0.07,-0.89l-0.92,-0.59l2.08,-2.48l2.58,-1.51l5.25,4.03l4.41,4.94l-0.93,2.75l-1.69,1.01l0.02,0.76l-3.52,1.88l0.79,1.66l-0.7,2.49l4.24,-2.64l0.94,2.06l0.72,-0.16l0.21,-2.62l0.92,-1.22l1.44,-0.1l0.63,-1.52l0.55,0.59l-0.5,1.33l1.36,1.71l0.83,-0.66l-1.02,-1.51l0.87,-0.51l1.37,2.93l-11.48,51.42l-17.46,-4.16l-0.83,1.68l-1.14,0.12l0.0,0.67l1.45,0.6l-2.71,-0.2l0.39,-3.59l-29.83,-8.45l-1.36,2.79l1.84,5.58l-0.46,-0.2l-2.15,-3.26l0.13,-4.89l3.8,-1.52l18.25,1.15l5.68,2.72l1.35,-0.09l6.08,3.41l0.65,-0.81l0.71,0.47l2.24,-0.65l4.22,1.29l0.77,-0.31l0.09,-1.36l-0.57,-0.96l-2.71,-0.99l-0.85,-3.09l-4.83,-2.52l-1.74,-2.41l-1.7,-1.21l-0.85,0.44l-2.39,-2.06l-1.72,0.58l-1.18,-0.69l-1.38,0.56l-7.58,-0.75l-1.02,-0.84l-2.18,-0.06l-1.02,-1.65l-9.36,-2.1l-0.35,-2.73l-2.44,-4.16l0.06,-2.79l4.75,-1.74l6.54,0.4l1.06,-0.88l3.98,-0.43l3.24,0.9l0.7,-1.05l-1.86,-1.16l1.71,-0.55l2.51,1.65l2.88,-0.86l0.17,-0.64l-2.9,-0.09l0.25,-1.03l-2.57,-0.99l-11.15,0.14l0.4,-1.13l-1.05,-1.55l-1.28,0.93l0.71,1.01l-0.39,0.69l-0.78,-0.88l-0.84,0.41l-2.22,-0.81l-0.42,-1.04l0.66,-1.04l4.31,-0.03l0.25,-0.72l-1.15,-1.3l1.24,-0.2l0.19,-0.81l-2.72,-0.71l-1.94,1.08l-1.2,-2.15l-1.98,-0.51l-1.25,0.56ZM315.33,268.23l-0.79,0.05l-0.04,-0.21l1.17,-0.5l-0.34,0.67ZM272.66,162.85l4.64,-4.16l5.15,0.75l3.53,-4.51l5.56,-1.78l0.35,-1.57l1.23,-0.32l3.69,-3.82l3.01,-1.44l2.09,-2.67l6.23,0.54l3.18,3.53l1.58,0.17l0.36,-0.74l1.02,0.52l1.46,-1.56l-0.22,-0.81l-1.45,-0.48l-0.12,-0.94l2.0,-0.8l0.09,-0.67l1.38,0.07l3.52,6.32l-0.71,1.29l-4.29,0.72l-1.27,1.18l0.12,2.98l1.96,2.78l-0.93,0.62l-1.65,-1.71l-0.93,0.51l1.02,3.24l-0.08,2.78l-2.83,1.97l-4.16,-0.31l-0.74,0.87l-0.38,3.99l-1.34,0.94l-2.07,-0.19l-1.48,-3.82l2.69,-6.09l1.64,-1.76l-0.38,-1.79l-1.62,1.02l-1.49,-0.63l-0.68,1.29l-1.12,0.01l-0.08,3.74l-1.39,0.75l-1.27,-1.71l-1.12,0.81l-0.39,1.07l1.24,1.48l-0.17,2.29l-0.71,0.92l-1.58,0.04l-0.8,2.2l-1.34,1.07l0.23,-6.34l-2.15,0.29l-0.4,3.84l-1.82,1.22l0.98,2.96l-0.86,-0.21l-2.15,2.57l-0.71,0.02l-0.37,-1.45l-2.02,1.61l1.52,-3.13l0.0,-1.45l-1.3,-0.19l1.22,-3.06l-0.72,-1.92l-1.64,0.63l-1.1,3.43l-2.24,1.0l-1.95,-3.6l-1.81,-0.41l-0.67,1.27l-1.44,0.51l-0.88,-0.46l2.44,-4.16l-0.84,-1.36l-1.28,0.23ZM299.5,310.16l0.53,0.27l0.45,0.46l-0.39,-0.06l-0.6,-0.66ZM287.58,182.41l6.55,-5.43l2.92,-0.38l3.03,-2.49l0.92,0.33l-1.17,2.49l-6.46,7.49l-2.56,1.32l-1.02,-1.78l-2.21,-1.55ZM219.8,246.37l1.52,-3.11l1.68,-0.43l-0.15,-1.48l1.45,-0.33l2.92,-3.8l3.01,-1.09l-0.3,-1.38l1.39,-1.18l0.37,-3.63l0.67,0.55l3.73,-0.49l0.42,-1.4l-1.4,-2.89l1.96,-1.12l3.44,-4.93l3.16,-1.5l0.96,-2.46l1.55,-0.35l1.1,-1.28l0.25,-1.97l-1.74,-1.84l1.12,-10.83l12.68,2.22l6.68,0.2l2.16,1.86l0.24,2.19l3.74,4.86l2.46,1.93l-1.97,2.47l0.11,1.84l0.74,-0.05l0.38,-1.36l2.29,-2.06l1.47,0.76l-0.4,2.36l-1.46,1.97l0.34,0.56l1.8,-0.08l1.7,-1.79l0.09,-1.82l0.98,-0.4l4.16,-0.06l3.39,2.19l2.27,4.11l3.45,9.67l1.44,1.82l0.81,3.18l-0.08,1.01l-3.31,1.88l-4.92,0.78l-21.54,8.24l-3.03,5.52l-0.93,0.52l-2.88,1.16l-2.62,-1.86l-0.7,3.3l-3.38,3.51l-1.26,5.18l-2.89,3.36l-5.75,0.43l-0.32,-1.92l-1.09,-0.53l-4.35,3.08l-3.99,0.69l-1.69,1.33l-1.8,-0.62l-0.51,-1.09l-0.33,-12.47l-5.62,-8.84l1.12,0.8l0.5,-1.07l-5.29,-2.0ZM279.35,469.63l-0.81,0.33l-0.13,-0.34l0.26,0.05l0.67,-0.04ZM278.07,469.33l-0.38,-0.18l-0.06,-0.16l0.41,0.07l0.03,0.27ZM275.16,468.95l-0.59,0.05l-0.03,-0.13l0.49,0.0l0.13,0.08ZM281.78,464.95l-4.05,-0.88l-0.14,-0.35l4.03,1.11l0.15,0.12ZM276.6,463.76l-0.13,0.17l-0.35,-0.58l0.41,0.41l0.07,0.01ZM276.39,464.3l0.36,0.54l-0.9,1.06l-6.11,-0.67l6.65,-0.93ZM269.08,465.37l-0.54,0.79l-1.14,0.56l0.84,-1.17l0.84,-0.18ZM278.74,175.78l-0.49,-0.42l1.55,-0.55l-0.56,0.63l-0.51,0.34ZM280.74,173.18l-0.05,-0.53l0.37,-0.4l-0.17,0.44l-0.15,0.48ZM265.82,295.59l0.41,0.33l-0.56,-0.18l0.16,-0.15ZM262.97,472.57l0.3,-0.5l1.01,-0.75l0.1,0.75l-1.41,0.49ZM264.57,470.49l-0.08,-0.04l0.12,0.01l-0.04,0.03ZM261.08,475.09l1.41,-0.74l0.34,0.01l-1.59,0.92l-0.17,-0.19ZM260.71,477.06l0.01,-0.01l0.26,-0.29l-0.23,0.28l-0.05,0.03ZM252.27,478.12l1.89,-0.13l2.85,-0.98l-2.56,1.2l-2.18,-0.09ZM253.39,475.23l0.88,-0.91l2.58,0.13l-1.27,0.75l-2.19,0.02ZM253.56,482.0l0.82,-1.36l0.08,0.05l0.52,0.89l-1.41,0.42ZM255.87,479.98l0.06,-0.04l-0.0,0.02l-0.05,0.02ZM252.51,480.41l0.2,-0.7l0.82,-0.39l-0.5,1.23l-0.52,-0.13ZM248.01,474.32l0.05,0.02l-0.05,-0.01l-0.0,-0.0ZM248.08,474.34l0.75,0.13l-0.24,0.0l-0.51,-0.13ZM221.25,374.75l-0.01,0.26l-0.25,-0.1l0.2,-0.1l0.06,-0.06ZM220.4,374.64l-0.4,-0.18l0.34,0.07l0.06,0.11ZM225.82,389.55l2.08,-1.35l0.69,0.67l-1.45,0.55l-1.32,0.13ZM226.56,364.82l0.55,-0.0l0.3,0.2l-0.94,0.2l0.1,-0.39ZM212.26,480.34l1.69,-0.47l1.05,1.42l-1.79,-0.03l-0.96,-0.92ZM198.62,367.19l0.57,-0.1l0.15,0.16l-0.12,0.1l-0.6,-0.17ZM192.01,266.81l0.3,-0.37l0.16,0.54l-0.24,0.16l-0.23,-0.33ZM134.31,262.76l0.12,-0.19l0.63,-0.37l-0.53,0.46l-0.22,0.1ZM132.82,267.14l0.27,0.07l0.02,0.08l-0.15,0.11l-0.14,-0.25Z",name:"Northwest Territories"},nu:{path:"M694.52,496.9l1.45,-0.41l1.5,1.75l-1.78,-0.16l-1.18,-1.18ZM682.85,477.29l0.06,-0.73l3.09,-1.55l2.28,-0.08l0.16,0.84l0.97,-0.11l0.46,2.5l-0.68,2.21l-0.48,-0.03l-0.07,-0.92l-1.47,0.05l-4.32,-2.18ZM458.76,294.96l0.81,-2.89l2.15,-0.98l0.63,-1.06l-0.43,-1.03l-1.73,-0.01l-0.34,-2.89l1.13,-2.2l0.18,-3.94l1.05,-0.04l0.7,-1.09l-0.42,-2.4l1.76,0.32l0.23,-0.85l-1.04,-1.03l1.57,-7.74l1.62,-0.71l-0.82,-1.1l0.61,-0.81l1.96,0.32l-0.1,-0.83l-1.25,-0.66l0.98,-1.74l5.77,-6.74l3.91,-2.04l3.49,-1.3l9.14,0.53l1.4,1.76l-4.2,4.64l-2.77,4.99l-3.85,10.54l-0.33,3.11l0.51,1.79l2.87,3.81l-0.94,7.56l0.38,2.71l2.15,4.67l4.81,6.14l3.81,1.67l0.83,2.53l-2.26,-0.26l-0.55,1.17l-1.27,0.17l-0.32,1.27l-1.2,-0.52l-1.85,0.77l-2.42,2.82l-3.81,1.88l1.46,0.7l2.86,-0.76l3.54,-3.28l1.99,-0.62l2.28,0.52l1.59,-0.81l-0.01,0.92l-1.91,0.79l1.09,0.43l0.39,3.17l1.59,0.09l0.64,-1.5l-0.58,-4.42l0.82,-0.76l-0.95,-1.67l0.13,-2.55l1.52,-1.47l-0.77,-4.04l-1.08,-0.95l-1.26,0.21l-0.19,0.88l-2.62,-0.82l-1.39,-1.8l0.57,-0.85l-1.02,-2.06l-2.93,-2.0l1.72,0.19l-0.23,-0.81l1.6,-0.72l0.77,-1.71l-0.74,-1.32l0.95,-0.96l2.07,0.23l3.15,2.51l2.6,3.96l0.62,-1.59l-2.0,-3.48l-1.33,-0.47l-0.71,-1.71l-1.53,-0.76l0.54,-1.17l1.87,-0.1l0.6,-1.22l-2.53,0.16l-0.02,-1.86l-2.05,1.96l-2.72,-1.64l-0.66,-1.5l0.9,-0.86l-1.62,-1.3l-0.08,-5.91l0.49,-1.27l2.32,0.46l8.46,3.95l0.2,-0.85l-7.54,-4.52l-1.19,-2.97l4.62,1.57l3.94,0.35l1.4,0.94l0.52,0.05l-0.06,-0.89l-1.15,-1.13l-5.25,-1.25l-3.8,-1.83l0.2,-2.03l1.57,-1.49l2.59,3.45l0.84,-0.07l-1.98,-3.94l2.49,-1.67l2.45,0.71l0.73,2.42l1.01,0.58l-0.44,-4.04l-2.15,-1.01l1.91,-1.63l2.87,-1.84l0.95,0.17l1.13,-1.93l8.12,-0.24l2.03,3.56l0.89,6.26l3.98,2.05l0.4,5.23l2.94,3.88l-6.36,11.46l0.38,0.63l1.13,-0.55l2.05,-4.19l1.74,-1.68l0.11,2.17l-1.34,1.85l-0.46,2.25l-0.79,0.26l2.08,1.84l-1.87,0.37l-0.52,1.02l0.41,0.94l1.41,-0.3l-0.92,3.15l0.58,0.45l1.15,-0.69l0.41,-1.77l2.28,-1.73l0.09,-1.6l-0.82,-1.04l1.41,-0.97l-0.47,-1.72l2.0,2.6l2.0,0.71l0.49,-0.54l-3.79,-3.93l1.65,-2.2l1.33,1.64l-0.92,2.03l0.5,1.05l1.2,-1.41l0.58,1.55l0.67,0.07l-0.54,-2.39l0.82,-2.03l2.22,2.2l-0.01,4.19l-0.91,2.69l3.67,0.78l1.42,1.23l0.72,-0.44l-0.94,-1.98l-2.18,-1.13l-0.11,-2.89l2.0,1.09l2.74,5.74l2.56,1.06l0.37,-0.6l-0.59,-0.47l0.48,0.2l0.58,1.0l0.46,0.13l0.31,-2.04l-1.44,-0.54l-1.99,-2.7l-1.25,0.05l-1.18,-2.89l-3.1,-1.8l0.23,-2.0l0.81,-0.64l1.53,3.78l0.7,-0.56l-0.84,-2.73l4.17,1.24l1.67,3.05l0.31,-1.89l1.65,-0.35l2.58,0.69l-1.25,-1.26l-2.89,-0.23l-4.95,-2.4l-2.16,-1.59l-0.28,-1.48l1.88,-3.33l3.54,-2.72l4.48,-0.37l1.9,2.09l3.11,0.45l1.17,2.53l0.66,-0.47l0.09,-2.19l4.86,1.25l2.44,4.69l-1.4,2.86l-2.51,-0.03l-2.91,2.14l-1.64,4.99l0.34,0.81l0.78,-0.31l1.65,-4.7l1.99,-1.69l2.53,0.44l-2.18,1.63l-0.21,3.99l-0.7,2.19l-1.44,0.77l0.37,0.84l2.18,-1.16l0.87,-5.95l2.2,-1.18l0.54,-2.42l4.77,0.15l0.92,0.9l0.31,4.15l-1.97,0.09l-0.85,2.3l-4.48,1.99l0.51,0.8l2.58,-0.61l-2.65,3.27l0.23,0.7l4.5,-4.29l-0.72,2.3l-1.41,0.53l-0.65,1.37l0.51,0.92l1.59,-1.43l-0.53,1.24l1.75,1.04l-1.73,5.16l0.85,-0.17l2.17,-4.96l-1.21,-2.74l0.93,-3.23l1.84,-1.94l-0.53,2.66l1.29,1.72l0.43,-0.58l-0.72,-1.5l0.93,-2.99l1.3,-0.61l0.43,0.98l-1.55,5.36l-1.77,1.59l0.33,0.71l1.37,-0.82l-0.44,2.48l0.69,0.43l-0.72,1.87l0.74,0.32l1.26,-3.14l0.14,-4.67l0.6,-1.12l0.55,0.31l0.3,4.12l0.97,0.29l-1.3,7.07l1.74,-1.05l-0.01,-3.42l1.24,-2.36l1.43,0.77l-1.0,1.14l0.37,2.74l-0.87,1.71l0.76,1.2l0.75,-0.22l-0.38,-1.22l0.66,-0.72l0.18,-3.34l1.11,-0.99l-0.55,-3.23l1.39,-0.8l-0.7,-1.6l1.11,-1.15l-0.11,-2.23l7.09,1.89l3.84,4.21l-1.34,4.44l-2.64,-0.48l-1.5,1.0l-1.3,4.83l-2.72,1.93l0.49,0.59l3.05,-1.76l0.6,0.28l-0.76,3.18l-1.54,1.42l0.84,1.0l1.6,-1.56l0.59,-2.29l3.77,-3.12l3.02,-0.31l-0.93,-1.5l0.25,-2.25l1.71,-2.07l1.16,0.31l1.43,3.02l-0.98,1.81l-0.07,2.43l-1.64,1.47l-0.41,2.01l-2.89,0.05l-0.55,3.73l-1.4,0.93l0.45,0.64l1.24,-0.56l-0.27,2.28l0.79,0.6l1.26,-6.02l1.72,-0.08l0.36,5.62l-0.83,5.48l0.79,0.18l0.98,-2.69l0.71,-8.86l-0.45,-2.09l6.26,-6.82l-0.21,2.66l-3.02,2.97l0.77,3.83l1.58,-1.31l-1.02,-1.74l2.5,-0.4l0.18,-1.3l1.9,-1.09l0.75,-2.36l1.58,-0.17l1.09,1.02l6.27,2.05l-0.34,3.45l-0.45,-1.6l-0.83,0.0l-0.14,3.21l-4.87,2.77l-2.19,2.43l-0.3,1.67l-1.71,2.25l0.92,0.23l0.52,-1.07l1.16,0.6l-2.02,0.92l-1.88,3.28l1.42,0.23l1.66,-2.94l2.17,-0.77l-0.68,-2.21l0.4,-1.35l6.26,-2.93l-0.07,3.04l-1.99,1.87l-1.36,3.53l-2.35,0.15l-0.71,1.11l-0.46,3.71l0.27,0.82l0.83,-0.16l0.69,-3.99l2.71,-0.23l1.41,-3.32l0.91,-0.9l2.28,-0.43l0.37,-2.31l1.97,-2.33l-1.27,-1.13l0.67,-2.95l2.01,0.73l3.74,3.23l1.93,2.18l1.76,3.93l-6.27,0.46l-1.77,3.58l-2.6,0.34l-3.44,3.23l-4.02,0.25l-1.72,0.89l0.07,0.9l1.28,0.36l1.62,-1.27l2.97,0.23l4.53,-2.87l4.88,1.63l5.57,-1.45l3.67,1.66l1.55,2.31l-0.24,1.15l-3.01,-0.29l-2.5,1.13l-5.72,-1.84l-6.46,0.58l-1.45,2.21l0.35,0.67l2.06,-1.92l4.11,0.37l1.46,-0.52l0.8,0.68l-6.03,1.08l-0.3,0.6l0.9,0.46l2.07,-0.62l-3.26,2.35l0.4,0.95l0.8,-0.48l0.07,2.84l1.08,-0.89l0.01,-2.02l2.87,-2.49l5.01,1.6l-1.57,1.24l-1.72,-0.31l-2.31,1.01l-0.02,0.97l1.91,-0.56l1.88,0.31l0.15,0.86l-2.9,0.05l-0.19,0.73l0.95,0.26l-1.58,0.41l0.24,1.08l-5.42,-0.71l-0.86,0.94l0.74,1.32l2.91,-0.38l0.31,1.19l0.89,-0.69l5.36,0.01l-1.22,1.14l-3.09,0.27l-0.95,1.34l0.31,0.64l3.61,0.04l0.45,-0.89l3.35,0.67l0.56,2.64l0.79,-0.88l-0.22,-2.22l1.72,-0.57l-0.53,0.96l0.8,2.28l-1.6,1.41l0.31,1.5l1.79,-1.47l-0.6,1.28l0.8,0.33l0.96,-0.69l0.55,-2.01l0.58,0.43l0.56,-0.92l0.88,0.18l-1.47,1.59l0.12,1.99l-1.73,0.21l0.58,0.87l1.94,-0.08l0.15,-2.53l1.34,-1.3l1.77,0.49l-0.39,4.49l0.95,0.37l0.82,-2.33l0.77,2.57l0.61,-0.83l-0.18,-2.76l1.41,-0.1l-0.96,1.14l1.84,-0.34l0.55,0.95l-0.76,3.14l-1.92,-0.02l-0.47,1.06l2.77,0.36l0.79,0.91l0.09,-3.94l1.35,-1.57l1.03,5.61l1.15,2.05l-0.29,-4.16l0.97,-2.03l-0.49,-1.05l1.69,-1.02l-0.18,4.17l3.55,3.47l0.41,-0.64l-0.92,-2.03l-1.79,-1.22l0.3,-2.6l1.38,-1.36l0.53,-2.01l2.04,0.51l-2.13,1.4l0.88,0.7l-0.9,1.04l0.09,1.47l0.94,-0.04l-0.8,1.83l0.42,1.53l0.85,0.05l0.02,-1.75l1.06,-1.77l0.29,1.67l1.08,0.0l0.39,-3.01l1.86,0.94l-1.5,1.87l0.5,0.54l2.2,-1.87l0.45,1.91l1.53,-0.23l0.25,1.77l-2.01,0.91l-0.13,0.76l1.32,0.31l1.95,-0.85l1.02,1.54l-0.3,0.73l-6.13,1.04l0.32,0.64l3.99,-0.1l-3.41,1.94l0.02,1.07l4.64,-2.24l-3.23,3.11l0.68,2.8l0.78,-0.41l0.29,-2.67l3.86,-2.21l0.36,-1.11l2.54,-0.87l0.14,2.09l-1.33,3.04l1.01,0.96l0.04,-1.63l1.77,-2.6l-0.25,-2.7l1.02,-0.27l0.09,-1.48l1.27,1.36l-1.64,2.84l1.15,2.57l-1.97,1.92l0.05,1.54l-1.63,0.7l0.46,0.73l2.68,-1.15l0.3,2.12l0.91,0.15l-0.3,-3.92l2.69,-2.39l1.91,6.56l0.57,-3.76l-0.93,-2.78l0.9,-0.23l2.94,3.38l0.85,-0.11l-2.02,-3.16l0.89,-1.25l-0.59,-1.65l0.99,-0.64l0.59,2.76l1.4,0.67l2.48,-1.02l-0.42,1.17l1.9,-0.0l2.62,2.39l-1.44,1.9l-1.63,-1.41l-2.47,-0.4l-1.53,2.28l1.11,0.54l0.85,-1.1l1.16,-0.0l2.51,1.93l-2.0,1.12l-0.45,1.57l3.33,-1.15l0.33,0.62l-1.74,0.77l-0.68,1.22l-2.06,0.07l-0.94,-1.55l-3.33,0.22l-0.67,1.52l1.19,0.3l0.67,-0.67l1.35,1.66l-1.47,1.5l-1.69,-1.64l-1.16,0.52l2.54,2.46l1.37,-0.8l3.11,0.43l1.48,1.82l-1.48,1.02l-1.88,-0.46l-2.09,0.56l-1.9,-1.83l-1.15,1.0l2.69,2.02l3.48,-0.01l-0.09,0.93l1.44,1.25l-1.99,0.71l-2.48,-1.31l0.46,1.66l2.55,1.16l-1.81,-0.21l-1.18,0.67l1.03,2.77l-1.94,-0.19l-3.62,-4.71l-1.02,0.17l2.44,4.42l-2.56,1.36l0.87,0.62l2.74,-0.07l-0.47,1.12l-1.48,-0.95l-0.06,1.62l0.97,0.67l-0.85,0.57l3.04,2.42l-0.33,2.51l0.71,1.05l0.88,-0.01l-0.39,3.16l-0.71,-0.48l-0.98,0.83l0.81,-0.75l-0.37,-0.81l-1.27,0.7l-0.49,-2.99l-0.88,0.34l-0.38,1.72l-0.85,-0.15l-0.05,1.31l-0.79,-0.78l0.87,-1.93l-0.86,-0.2l-1.53,1.14l-0.15,-4.85l-0.54,-0.34l-1.28,2.78l0.46,3.9l-1.3,-1.32l0.32,-0.69l-1.2,-0.53l-0.74,0.72l1.15,-1.55l-1.02,-0.51l2.37,-1.47l0.14,-1.53l-0.66,-0.44l-1.92,1.03l-2.38,2.45l-0.68,-0.57l-0.39,-0.92l1.43,-0.95l1.17,-3.45l-1.8,0.09l-0.53,2.51l-1.2,0.35l-0.18,-0.92l1.2,-1.96l1.26,-0.6l-0.05,-0.89l-2.03,0.6l-1.02,1.66l-1.71,0.12l0.07,-1.83l-0.9,-0.19l0.37,-2.25l2.59,-2.46l1.89,0.05l-1.12,-1.26l-0.07,-3.39l2.02,-3.11l-0.26,-1.14l-2.75,2.4l-0.76,4.42l-2.19,1.34l-0.68,1.46l-3.64,1.6l-0.61,-1.34l1.9,-3.13l0.51,-3.0l-0.49,-1.87l-0.82,0.26l-0.42,4.19l-1.85,1.91l-1.96,-1.27l0.08,-1.8l-0.91,1.0l-1.47,-0.11l-0.22,-1.13l-0.8,-0.16l0.48,-1.42l-1.86,1.32l-0.01,-1.41l-1.07,0.18l-0.29,-3.03l-3.02,-0.41l-0.33,0.65l1.3,1.39l-1.32,0.44l-3.38,-1.1l-1.64,1.75l0.65,0.65l3.31,-0.23l1.45,1.71l-1.41,-0.44l-0.63,0.73l2.54,1.48l-0.75,0.54l-3.37,-2.45l-1.21,0.06l-0.62,-1.05l-1.59,0.71l2.58,2.79l0.71,2.23l4.32,1.87l1.25,2.89l-1.14,-0.1l-0.36,0.99l-0.95,0.19l-1.16,-0.82l-0.63,0.35l0.43,1.06l-0.9,0.16l-1.24,-1.61l-0.02,-1.8l-2.32,-0.81l-0.78,-1.44l-1.08,0.43l-1.36,-1.55l-0.54,0.71l0.68,1.2l-2.73,1.06l1.68,0.75l1.7,-0.77l1.93,1.66l0.98,-0.34l-0.28,-0.56l0.87,0.64l-0.92,0.94l-1.22,-0.38l0.54,2.52l1.65,0.43l0.57,2.33l2.14,-0.51l-0.31,1.6l0.98,0.82l-0.66,0.16l-0.36,1.53l1.06,2.13l1.86,-3.65l2.1,-1.36l1.0,0.28l-0.84,3.01l1.43,0.98l1.74,-0.66l0.42,0.5l-2.45,2.15l1.09,0.59l0.61,-0.73l0.74,0.38l0.35,1.81l1.87,0.07l-0.75,2.75l2.93,0.13l0.51,0.75l-0.6,0.81l1.04,0.41l1.04,2.94l1.07,-0.96l-1.47,-4.21l3.15,2.35l1.08,-0.49l0.21,1.48l-1.08,0.93l1.08,0.23l0.57,1.18l0.9,-0.33l-0.13,-1.23l0.04,-0.29l0.53,1.04l0.72,-0.24l1.33,1.16l0.75,-0.38l-1.77,-2.91l0.08,-1.17l0.38,1.13l0.64,-0.23l0.45,2.13l0.78,-0.34l-0.19,-1.13l0.42,0.49l0.19,1.22l-1.03,1.45l0.96,2.23l1.61,-0.41l1.21,0.68l2.52,-1.24l-1.19,1.69l0.86,1.29l-2.62,0.09l-1.03,1.31l1.69,-0.21l-0.52,1.12l2.32,0.04l-0.54,1.3l1.7,-0.32l0.74,2.53l2.23,-0.34l0.5,0.75l0.9,-1.34l1.08,0.09l-1.53,1.95l-0.46,2.02l0.95,0.96l2.14,-0.06l1.74,1.04l-0.27,1.18l1.64,3.22l-0.97,0.64l1.28,0.68l-0.55,1.25l0.9,0.27l-0.51,0.23l-1.11,-0.91l-3.12,-5.31l-2.87,-2.59l-1.87,0.31l3.78,3.29l-0.64,0.99l0.77,1.77l-0.59,0.67l2.56,1.98l-1.19,-0.05l-0.53,1.14l1.27,1.72l2.63,0.42l-0.39,0.88l0.97,1.02l-0.06,1.3l1.26,0.59l-0.85,0.68l-2.59,-1.8l-0.65,0.89l-1.24,-0.34l4.6,6.01l-1.04,1.6l-1.8,-2.14l0.42,-1.04l-1.58,-2.97l-2.0,2.36l-1.49,-1.33l-0.57,-2.67l-2.36,1.98l-0.47,-1.12l-2.59,-1.17l-0.36,0.86l2.3,2.5l-2.22,-0.51l-3.65,-4.53l-0.14,-1.92l-0.72,0.04l-0.26,2.36l-0.83,0.26l0.7,1.87l-1.38,-1.03l0.36,-0.84l-0.93,-2.4l-0.93,0.26l0.37,2.04l-1.2,-0.16l-8.11,-7.18l-0.4,0.91l3.71,6.15l-4.19,-3.47l-0.79,0.11l-1.1,-1.62l-0.72,0.95l-1.29,-1.34l-2.46,-0.28l-0.19,0.97l-2.23,0.29l2.05,2.1l-0.06,0.88l6.19,4.57l1.06,1.94l2.68,0.57l0.26,1.45l0.99,-1.03l1.0,0.23l-0.45,0.99l0.92,1.52l1.18,0.53l1.56,-1.7l1.35,1.12l-0.52,0.84l1.63,-0.42l-0.25,1.11l1.32,-0.23l1.91,2.8l1.63,-0.84l2.41,1.54l0.95,2.34l1.55,0.16l-0.92,0.86l0.36,0.76l1.38,0.89l3.39,-0.2l-0.06,2.36l-0.75,-0.65l-0.63,1.02l1.25,1.91l1.95,1.23l-3.51,1.15l-3.64,-1.76l-3.28,0.37l-1.57,-0.92l-0.43,0.51l-0.56,-1.0l-11.24,0.57l-3.15,-1.87l-1.57,0.4l-1.67,-0.82l-0.9,-0.67l-0.77,-2.65l-0.67,1.08l-0.84,-0.79l-0.49,0.44l-0.5,-0.52l1.1,-0.91l-0.18,-1.79l-4.59,-0.09l0.32,1.1l-1.13,-0.32l-0.75,1.07l-1.42,0.12l-2.52,-1.63l-2.55,0.01l-0.22,-0.74l-1.26,-0.11l-0.63,-1.48l1.01,-1.89l-1.32,-0.83l-0.81,0.48l-0.15,1.58l-1.2,-0.09l-0.26,1.25l-1.15,-0.06l-0.18,-1.19l-2.62,-0.45l-0.01,-1.66l-1.15,-0.38l-0.4,-2.19l2.64,-1.94l1.06,-3.03l-2.33,0.05l-0.77,-0.38l0.15,-1.01l-2.36,-0.48l-1.64,-1.22l-1.53,2.05l-1.14,-0.8l1.0,-2.68l-1.09,0.32l-0.3,-0.9l-0.73,0.09l-0.88,2.78l-1.46,-0.6l-0.12,-2.77l-0.89,-1.25l-0.61,-0.22l-0.24,1.63l-0.64,-0.07l-1.06,-2.78l-1.29,-0.25l-0.78,-1.57l-2.81,-2.03l1.32,-3.66l-1.91,-1.59l-0.6,0.96l0.68,1.51l-0.77,-1.17l-0.98,0.41l-1.26,-1.16l-0.16,2.19l-1.68,-0.74l-0.59,0.55l-1.43,-3.04l-0.89,1.86l-1.92,0.44l-0.32,0.92l-1.6,-1.78l1.46,-2.42l-1.95,-1.23l-0.97,1.2l0.21,1.06l-2.14,0.85l5.01,3.85l-1.25,0.58l1.23,1.55l-1.02,1.15l-4.16,-1.4l-0.56,0.74l-5.24,-2.36l-0.66,0.66l0.31,1.11l1.25,1.18l-1.44,-0.25l-0.25,0.79l1.33,1.25l-1.42,-0.29l-3.18,1.42l-0.16,0.85l-2.85,0.86l0.25,1.83l-3.37,-1.4l-1.67,1.18l-1.64,-1.8l-1.4,-0.53l-0.65,1.01l-1.01,-0.4l0.18,-0.96l-1.38,0.16l0.23,-0.61l-1.94,-1.93l-0.47,-1.74l0.58,-3.71l-0.93,-2.07l3.67,-4.09l2.52,-1.32l-1.88,-2.8l1.66,-1.13l-1.25,-1.47l2.48,0.81l3.41,-0.38l7.68,2.38l0.82,1.41l2.51,1.24l0.41,1.5l-1.87,1.27l1.01,1.62l0.99,0.07l-0.18,1.52l1.75,0.96l0.9,-1.11l-1.68,-3.68l1.26,-0.56l0.06,-3.01l-0.99,-0.23l-0.4,1.88l-1.94,-2.57l-3.27,-1.88l1.79,-0.4l0.8,0.76l3.16,0.01l1.08,-0.93l-0.22,-2.0l2.56,-0.54l1.92,0.93l2.85,-4.62l1.06,0.43l1.52,-0.66l0.97,1.1l2.11,-0.37l-3.09,-6.4l-2.77,-1.27l-4.63,-4.88l6.7,-9.38l0.47,-2.31l2.72,-1.98l-0.57,-1.95l0.71,-4.69l2.8,-1.64l0.84,-1.87l0.01,-2.66l-1.36,-0.67l-2.24,-5.92l-1.49,-0.85l0.01,-2.17l-1.63,-1.76l-1.09,-0.18l-2.05,-6.75l-1.27,0.29l-1.56,-1.11l0.71,-1.45l-0.85,-0.81l-1.85,2.62l-2.05,-0.67l-0.84,-1.08l1.1,-2.31l-1.12,-3.85l-3.03,-0.48l-0.77,0.78l2.8,3.56l-3.02,-0.07l-1.14,-0.93l-1.95,-2.33l0.9,-2.17l-1.15,-0.58l-0.42,-1.6l-1.96,-0.45l2.21,-1.04l-1.72,-1.53l-2.01,1.99l-0.14,2.43l-3.08,-2.24l-0.47,3.0l-4.76,4.7l-1.75,0.63l-0.45,-1.23l0.68,-2.68l-0.97,-0.74l-0.22,-1.81l1.19,-0.86l3.37,0.52l1.44,-1.92l1.11,-0.14l-0.14,-3.68l-3.42,-2.68l-1.7,-0.62l-1.39,0.45l-2.08,-2.49l0.71,-1.96l1.85,0.5l-0.06,-1.84l-1.74,-0.47l-1.73,0.58l-0.26,0.56l0.86,0.42l-0.81,1.64l-0.82,-0.16l0.17,-1.07l-1.38,0.87l-1.26,-0.62l2.11,-0.67l0.62,-1.2l-0.94,-1.07l0.67,-1.5l-1.74,0.37l-0.4,-0.83l-1.71,0.78l1.88,-1.51l-0.3,-1.04l-4.26,3.03l-1.32,-7.62l-1.7,-1.3l-1.24,0.89l-1.16,-0.49l-0.97,1.04l-1.01,-1.45l0.52,-1.14l-1.65,-0.04l-1.43,-2.16l-1.85,0.18l0.94,-1.83l1.32,0.06l-2.58,-2.93l-1.55,1.42l0.97,0.71l-0.47,1.38l-0.86,-0.66l-1.19,1.92l-1.26,-1.9l-2.0,-0.79l-0.61,-1.5l-1.55,-0.0l-0.56,0.88l-1.0,-2.07l-1.84,0.25l-1.42,1.35l-2.01,-0.26l0.06,1.38l1.15,1.12l2.88,-0.22l0.96,1.23l1.36,-0.58l0.19,-0.9l1.32,0.13l3.63,2.75l-0.22,1.38l1.06,0.86l1.03,-0.19l1.43,1.13l1.2,-0.57l1.8,2.7l1.09,3.44l-0.59,2.38l-5.95,1.45l-1.74,-2.45l-0.89,0.39l-0.46,-0.81l-2.2,0.42l-1.6,-1.01l-9.18,-0.84l0.53,1.75l2.11,1.44l0.97,-0.67l0.69,0.48l3.45,4.13l-0.58,0.97l-4.99,-3.98l-0.07,-0.83l-1.35,0.04l-2.89,-2.78l-7.03,-3.72l-0.63,0.65l2.03,2.2l4.22,1.67l3.95,3.07l-0.83,1.43l-0.97,-0.26l-0.93,1.2l-2.06,-0.44l-5.56,-3.13l-3.56,1.76l-7.45,-0.82l-0.91,-0.57l0.02,-1.7l-1.29,1.08l-2.79,-0.72l-3.39,0.36l-0.71,1.52l-4.48,-4.09l-0.29,-2.53l1.96,-2.46l-0.76,-1.4l-2.55,3.48l-1.81,-2.18l-1.59,0.75l-0.84,1.74l1.76,0.28l0.14,1.23l-3.28,-0.82l-2.57,0.39l-3.84,-2.75l-2.22,-0.36l-1.4,-1.55l-3.86,-7.62l1.3,-0.38l0.48,-1.01l-2.06,-2.13l2.05,1.18l3.47,-0.53l1.43,0.48l0.66,1.5l3.26,0.51l3.83,-0.4l0.7,-1.35l1.65,0.38l0.42,-0.86l-5.34,-2.96l-0.88,-2.9l-1.91,1.23l-12.1,-2.48l-1.13,-5.32l1.61,-3.77l-2.16,-3.72ZM488.81,323.97l3.2,-1.19l3.79,-4.52l-1.07,0.06l-3.54,3.78l-2.78,0.91l0.39,0.97ZM474.79,330.37l0.28,0.24l0.75,0.17l-1.05,0.62l-0.53,-0.59l0.54,-0.44ZM473.0,330.18l-0.24,-0.03l-0.02,-0.02l0.21,-0.03l0.05,0.07ZM482.88,328.8l0.11,0.5l-0.87,0.03l-0.03,-0.17l0.79,-0.36ZM489.66,335.76l1.57,-0.65l1.38,0.68l-2.41,0.32l-0.54,-0.35ZM516.8,338.32l0.08,0.2l-0.05,0.1l-0.02,-0.01l0.0,-0.29ZM535.08,322.46l0.0,-0.02l0.01,0.02l-0.01,-0.0ZM550.44,335.16l0.41,-0.09l-0.17,0.82l-0.12,-0.36l-0.11,-0.37ZM574.5,352.3l0.32,0.6l-0.22,0.09l-0.34,-0.24l0.25,-0.45ZM587.32,361.34l-0.15,0.27l-0.05,0.15l0.03,-0.41l0.16,-0.01ZM582.58,432.13l-0.03,0.04l0.02,-0.03l0.02,-0.01ZM595.87,437.1l0.4,0.28l0.14,0.44l-0.7,-0.43l0.16,-0.3ZM596.59,438.06l0.17,0.24l-0.2,0.4l-0.6,0.52l-0.32,-0.49l0.95,-0.67ZM596.09,440.16l0.05,1.42l-0.31,0.11l-0.08,-0.87l0.34,-0.66ZM595.73,441.72l-0.02,-0.02l0.04,-0.0l-0.01,0.02ZM601.21,436.6l-0.0,0.19l-0.07,0.04l0.01,-0.01l0.06,-0.21ZM601.53,439.34l-0.21,0.44l-0.21,-0.16l0.05,-0.3l0.37,0.02ZM602.53,440.7l-0.02,0.19l-0.36,0.35l-0.06,-0.15l0.44,-0.39ZM602.26,441.69l0.22,0.2l0.05,0.16l-0.23,-0.16l-0.03,-0.2ZM611.9,449.73l0.04,0.02l-0.05,0.01l0.01,-0.03ZM613.57,450.64l0.12,0.99l-0.1,0.01l-0.22,-0.97l0.21,-0.02ZM615.69,450.49l0.09,-0.01l-0.03,0.11l-0.01,-0.03l-0.04,-0.08ZM616.43,450.22l0.17,-0.03l-0.0,0.12l-0.01,0.01l-0.15,-0.11ZM620.64,452.03l0.0,0.12l-0.28,0.07l-0.0,-0.12l0.28,-0.07ZM662.89,449.16l1.85,2.25l-0.68,0.81l-0.41,-1.74l-0.76,-1.33ZM672.43,451.68l0.27,0.56l-0.74,0.85l0.19,-0.89l0.28,-0.52ZM677.9,454.39l-0.21,0.16l-0.02,-0.11l0.23,-0.04ZM649.96,390.46l0.52,0.44l0.09,0.2l-0.45,-0.05l-0.16,-0.58ZM680.53,409.14l0.0,0.01l-0.0,0.01l-0.0,-0.01ZM680.49,409.43l0.0,0.21l0.09,0.26l-0.18,-0.29l0.09,-0.18ZM678.41,399.12l0.0,-0.0l0.02,0.01l-0.02,-0.01ZM682.12,392.93l1.68,0.43l-0.8,1.15l-0.46,-0.47l-0.42,-1.1ZM630.78,350.05l-0.21,-1.8l1.24,-0.25l0.07,1.13l-1.1,0.92ZM633.93,349.02l0.23,-1.09l0.75,0.21l-0.06,0.86l-0.92,0.02ZM635.3,347.75l0.31,-0.27l0.31,-0.07l-0.19,0.29l-0.43,0.04ZM624.0,340.87l0.04,0.01l-0.01,-0.0l-0.03,-0.01ZM522.82,287.99l0.09,0.04l0.16,0.16l-0.08,-0.03l-0.17,-0.18ZM490.73,269.27l-1.65,0.1l0.29,-1.42l0.24,0.46l1.12,0.86ZM527.85,279.51l-0.04,-0.23l0.12,0.06l-0.09,0.17ZM541.86,292.0l-1.03,-0.78l-1.11,-1.72l0.33,-0.2l1.8,2.7ZM574.47,296.36l-0.01,-0.14l0.08,0.1l-0.07,0.04ZM622.2,341.87l0.57,-0.05l0.37,0.23l-0.06,0.02l-0.88,-0.2ZM621.18,347.72l0.29,-0.42l0.66,0.04l-0.11,0.11l-0.85,0.26ZM652.5,357.13l0.08,-0.22l0.02,0.06l-0.1,0.16ZM662.71,366.06l0.84,-0.66l-0.06,0.71l-0.78,-0.04ZM681.52,367.13l0.1,-0.69l1.1,0.24l-0.11,0.28l-1.08,0.17ZM663.42,400.33l-0.06,0.03l-0.14,0.26l-0.05,-0.25l0.25,-0.03ZM653.13,413.38l0.02,-0.07l0.01,0.04l-0.03,0.03ZM663.69,417.31l0.03,-0.16l0.0,-0.05l0.04,0.06l-0.07,0.15ZM655.95,454.61l0.2,-0.08l0.01,0.01l-0.0,0.01l-0.21,0.05ZM656.38,456.41l0.17,-0.67l0.69,-0.27l0.05,0.1l-0.91,0.84ZM672.06,466.54l-0.48,-0.52l-0.04,-0.19l0.99,0.26l-0.47,0.44ZM626.86,462.8l-0.05,0.04l-0.35,0.13l0.03,-0.16l0.37,-0.02ZM618.54,456.26l-0.06,0.22l-0.83,-0.15l0.45,-0.09l0.44,0.02ZM539.2,319.9l-0.1,-0.03l0.05,-0.09l0.05,0.11l0.0,0.0ZM536.94,321.66l0.12,0.79l-0.07,0.39l-0.29,-0.51l0.24,-0.67ZM685.1,391.66l0.88,-0.12l1.42,0.57l-1.42,0.29l-0.89,-0.74ZM683.01,459.85l0.95,-0.38l-0.34,-1.43l3.06,-0.11l-0.67,2.54l-3.01,-0.62ZM683.38,471.15l0.86,-0.49l2.63,2.61l-2.13,-0.41l-1.36,-1.71ZM680.79,436.67l0.47,-0.31l1.46,3.68l-1.98,-3.03l0.04,-0.33ZM682.98,440.44l1.1,0.65l0.41,0.67l-0.53,-0.25l-0.98,-1.07ZM681.47,458.53l0.32,-0.72l0.69,-0.02l-0.6,0.62l-0.41,0.12ZM677.24,433.12l0.03,-0.86l1.16,1.1l0.02,1.05l-2.14,-0.09l-0.04,-0.8l0.98,0.49l-0.01,-0.9ZM678.58,434.5l0.26,0.02l0.12,0.08l-0.11,-0.06l-0.27,-0.04ZM679.77,434.88l0.31,-0.35l0.23,0.91l-0.36,-0.42l-0.19,-0.15ZM677.9,474.82l0.38,-0.71l0.86,0.37l-0.56,0.47l-0.68,-0.12ZM674.31,366.81l0.01,-0.0l0.0,0.01l-0.01,-0.0ZM674.45,366.24l0.79,-2.28l0.92,-0.55l-1.2,2.63l-0.51,0.19ZM665.85,422.28l0.83,-2.73l0.99,-0.49l0.41,0.37l-1.19,1.04l0.24,0.64l-1.29,1.17ZM665.47,364.06l0.62,-1.05l0.64,0.74l-1.26,0.31ZM666.81,363.73l0.66,-0.69l0.48,0.21l-0.28,0.27l-0.87,0.22ZM664.13,502.89l2.55,1.52l0.12,0.98l-0.75,1.66l-2.74,2.42l-0.16,-2.82l0.98,-3.76ZM662.22,358.47l1.11,0.82l0.23,0.27l-1.19,0.41l-0.15,-1.5ZM639.41,351.83l1.43,-0.74l0.22,0.76l-1.65,-0.02ZM626.82,465.8l0.25,0.01l-0.2,0.0l-0.05,-0.01ZM627.85,465.83l1.97,0.06l3.4,1.22l0.33,1.3l2.02,0.82l-1.39,1.1l-2.46,0.16l-1.59,-2.69l0.48,-1.3l-2.74,-0.68ZM625.81,343.56l0.73,0.13l-0.17,0.02l-0.56,-0.16ZM624.08,326.81l0.98,-1.23l0.85,0.24l-1.04,0.31l-0.8,0.68ZM619.86,326.49l0.75,-1.58l1.91,-0.31l-0.76,2.34l-1.9,-0.46ZM610.7,452.69l0.01,-0.01l0.0,0.02l-0.02,-0.01ZM597.03,474.35l0.51,-0.32l0.93,0.8l-0.8,-0.03l-0.64,-0.45ZM598.82,475.02l2.06,-0.45l1.34,0.64l-0.8,0.22l-2.61,-0.41ZM598.97,437.76l0.38,-0.55l0.19,-0.09l-0.03,0.69l-0.54,-0.05ZM599.8,438.49l0.12,0.08l0.02,0.12l-0.07,-0.1l-0.06,-0.1ZM599.75,439.54l0.16,1.13l-0.14,0.22l-0.37,-1.33l0.36,-0.02ZM585.53,305.08l0.88,-0.56l0.39,-2.98l3.58,0.52l-0.02,1.53l-3.57,2.95l-1.26,-1.45ZM580.11,367.21l0.33,-1.37l0.5,1.93l4.05,0.91l2.48,-0.49l1.1,3.69l-7.41,1.27l-1.1,-0.39l-2.06,-2.68l-0.25,-1.55l2.03,-0.52l0.32,-0.79ZM579.24,359.67l1.96,2.08l-0.27,1.41l0.09,-1.13l-1.78,-2.35ZM575.22,680.92l0.71,-0.09l2.49,-1.73l-0.66,2.13l-2.24,0.45l-0.3,-0.76ZM578.3,290.03l0.13,2.03l-1.22,-0.22l0.14,-1.53l0.96,-0.29ZM574.93,293.48l1.17,-0.64l-0.34,1.92l-0.69,-0.8l-0.14,-0.48ZM575.81,294.96l0.04,0.13l-0.04,-0.01l-0.01,-0.11ZM576.17,295.58l0.78,-0.24l0.48,-1.68l0.6,0.68l-1.02,0.89l0.3,1.54l-1.02,-0.28l-0.11,-0.92ZM577.62,297.27l0.03,0.05l-0.01,0.06l-0.02,-0.0l0.0,-0.11ZM570.07,460.89l0.38,-0.61l-1.05,-0.3l0.31,-0.59l5.52,1.64l0.68,1.7l0.75,0.13l-0.55,1.35l-2.27,-0.41l-3.77,-2.91ZM576.74,357.28l-1.38,0.21l-0.19,-1.49l0.51,0.07l1.05,1.21ZM560.18,382.36l-1.12,-3.84l0.23,-2.62l2.93,-9.21l2.5,-1.76l1.8,0.45l1.21,-1.15l5.94,1.24l1.19,1.62l-0.56,4.02l2.13,6.58l-0.39,2.68l-1.49,2.72l-3.6,2.73l-8.12,1.49l-2.64,-4.94ZM571.22,358.9l0.19,-3.03l1.7,0.28l2.32,3.53l-0.81,0.96l0.75,1.57l-4.15,-3.31ZM573.96,604.3l0.57,-3.93l0.69,-1.52l0.38,4.28l-1.64,1.18ZM570.68,628.55l0.13,-0.06l0.12,-0.02l-0.25,0.08ZM564.16,610.52l-0.85,-0.98l3.48,-5.9l-0.32,2.08l-2.31,4.8ZM567.38,604.86l1.4,-1.14l0.56,-6.2l0.95,0.09l0.62,1.43l1.16,0.56l-4.02,10.22l-1.02,-0.49l1.41,-3.88l-1.05,-0.59ZM572.63,599.58l-0.23,-0.07l0.17,-0.06l0.06,0.13ZM451.63,52.33l1.56,-3.16l1.89,0.11l-0.13,-1.92l1.49,-0.25l1.71,-1.54l1.13,0.37l0.59,-0.57l2.17,2.8l0.84,-3.22l0.82,-0.72l-0.15,-2.05l3.63,-2.72l2.38,0.61l0.73,1.43l-0.38,1.72l2.5,2.18l0.47,-1.14l-1.45,-1.29l1.06,-0.68l-0.66,-1.47l1.06,-0.2l2.4,0.99l2.7,4.64l0.71,-0.68l-1.58,-3.63l1.35,0.05l1.51,3.07l1.7,-0.06l-0.86,-3.52l-8.11,-3.87l-0.59,-1.76l4.47,-0.92l1.33,-1.24l-0.58,-3.99l-1.58,-0.96l4.05,-1.1l-0.83,1.66l1.63,0.69l0.67,1.21l2.81,0.12l0.96,1.15l2.25,4.98l-0.2,2.0l4.05,0.0l1.0,0.66l0.49,-0.55l-1.19,-1.97l-2.04,0.12l-1.94,-4.74l9.99,7.64l2.31,0.6l2.48,3.92l1.54,0.16l0.34,-0.63l-3.32,-4.51l0.05,-1.23l-4.63,-1.93l-0.24,-1.77l-1.54,0.07l-6.04,-5.8l0.48,-3.29l4.06,-0.38l-3.44,-2.58l-0.39,-1.53l0.72,-0.58l2.38,0.96l2.28,2.63l1.59,-0.26l0.08,-1.06l-4.38,-7.22l4.14,0.81l0.95,3.03l1.43,1.1l0.74,-0.57l-0.81,-1.5l2.82,1.01l2.43,-0.47l0.15,-1.16l-5.43,-1.65l-0.3,-1.04l1.01,-0.78l-3.03,-1.61l3.22,-2.36l1.36,2.63l0.78,-0.04l0.59,-2.17l0.65,2.75l2.04,0.49l0.61,-2.92l2.57,1.25l2.99,5.34l2.82,2.06l-0.8,3.78l0.92,0.76l2.45,-6.0l-3.57,-2.25l-0.47,-1.1l1.07,-1.12l-1.73,-0.32l-1.4,-2.41l-3.04,-2.84l4.22,-2.08l6.94,0.36l2.12,3.85l6.09,4.05l0.1,-1.56l-2.6,-1.39l-2.64,-3.56l2.43,-5.33l0.9,0.3l0.55,-0.94l1.89,-0.25l-0.21,2.37l1.45,2.23l3.16,1.29l0.2,-1.2l-2.9,-2.53l1.81,-3.13l3.37,-0.89l0.09,1.56l1.08,0.42l-0.26,1.14l0.82,0.44l1.53,-1.47l0.8,1.19l2.44,-1.16l0.54,1.8l2.03,-1.43l3.02,0.63l1.4,-0.92l-0.86,3.66l-5.49,6.35l0.73,1.25l4.23,-1.92l1.09,-2.02l1.64,-0.62l-0.23,-1.32l2.08,-3.05l0.9,-0.26l0.4,1.56l1.64,0.18l0.28,-0.66l-0.86,-0.58l0.4,-1.87l-0.54,-0.45l0.07,-0.42l0.32,-0.16l-0.04,0.76l2.83,2.83l0.62,-0.25l0.42,-2.32l2.18,-0.33l0.41,1.66l-1.26,1.57l2.95,1.54l0.15,1.36l1.46,0.06l0.29,3.25l-0.65,1.25l1.78,-0.54l0.71,-2.33l0.83,-0.34l0.87,1.08l0.38,-0.7l2.02,-0.25l2.75,2.8l0.71,4.57l-2.15,2.43l0.74,0.97l-0.64,2.61l-0.85,0.33l0.11,1.15l-3.8,6.69l-1.76,-0.44l1.06,2.04l-0.55,1.01l-4.04,0.04l-0.13,0.98l-2.31,1.76l0.2,0.86l1.88,-0.26l-0.64,0.83l-0.79,-0.44l-0.64,1.0l-7.69,3.8l-5.83,-3.2l0.44,1.16l4.34,2.87l-1.89,0.74l1.62,0.97l5.23,-2.85l2.62,0.55l-6.68,7.85l-1.32,1.21l-1.66,-0.02l-0.48,1.99l-2.52,1.31l0.8,1.26l1.09,-0.38l-0.52,1.89l15.77,-15.26l4.02,-2.71l0.76,1.57l-2.32,6.44l-2.19,1.91l-1.5,5.88l-1.61,3.14l-1.56,0.46l0.34,2.06l-4.21,8.21l-0.47,6.44l-0.92,1.26l-2.31,0.45l-0.87,-2.93l-2.64,-2.17l-0.76,0.28l2.83,3.95l0.14,2.03l2.67,1.65l-0.45,1.72l-2.6,0.08l-3.72,3.24l-1.47,-1.63l-2.54,-0.39l0.07,0.86l2.62,1.91l-2.03,1.1l0.77,1.03l4.03,-1.03l3.21,-2.6l0.66,0.72l-0.33,2.62l-2.68,1.86l-0.36,1.03l0.33,1.05l2.27,-0.58l-0.4,2.42l-4.23,4.11l-1.84,0.03l-1.35,-0.56l-0.5,-2.83l-4.08,0.49l-0.28,-0.99l-2.72,-0.24l-2.5,1.54l0.32,1.26l0.77,0.8l1.63,-0.58l4.43,0.49l2.07,4.38l-0.5,1.48l-1.61,0.49l-0.93,-1.22l-0.93,0.11l0.45,2.43l-1.01,0.71l-1.9,0.07l-2.03,-1.35l-0.44,1.08l0.94,2.58l-2.15,-0.19l-1.87,-1.27l-0.64,0.63l-1.33,-1.41l-5.02,-0.68l-0.29,1.22l0.64,0.86l-1.39,1.07l1.3,2.66l-3.18,-0.69l-0.99,0.91l3.65,1.7l-0.49,0.59l0.52,0.53l3.25,-1.28l2.94,-0.36l1.32,0.83l6.71,-0.97l-1.36,1.41l2.36,2.8l-2.7,0.6l-3.21,-0.78l-0.96,-1.92l-1.52,-0.97l-10.24,1.71l-0.61,0.97l0.81,0.74l0.7,-0.57l6.41,-0.12l2.91,0.69l-2.7,0.07l-3.72,2.2l-2.89,-1.13l-4.07,0.92l0.31,0.97l4.62,-0.44l0.75,0.49l-2.04,5.75l0.52,1.3l0.79,-0.47l1.62,-5.07l4.43,-2.33l4.73,0.72l-3.04,2.71l0.21,1.2l3.65,-1.75l3.91,0.39l1.2,3.12l-0.16,2.11l1.14,0.67l-3.09,2.42l-5.59,0.06l-1.11,0.86l0.08,0.94l2.77,-0.28l0.49,0.95l5.32,1.54l0.39,0.76l-1.37,0.5l-0.8,2.86l-5.32,-0.57l-1.6,1.33l0.25,1.1l1.78,0.65l5.04,-0.02l-0.83,3.39l-1.94,-0.74l-2.9,3.31l-1.48,-0.86l-3.65,0.65l-2.4,-1.05l-0.83,2.83l2.74,2.17l0.02,3.58l1.96,1.17l-1.13,1.17l0.25,1.4l-1.46,2.03l0.24,1.16l-2.0,1.75l0.12,-1.32l-0.64,-0.26l-1.79,2.52l-2.82,-0.37l-1.66,1.19l-2.98,-0.37l-4.19,-2.62l-3.75,-5.91l-0.93,0.02l0.24,2.06l1.48,2.19l-0.06,2.42l3.22,1.92l-3.2,1.07l-2.05,-0.28l-0.12,0.9l1.53,0.95l0.7,2.19l1.08,-0.09l3.07,-3.13l5.01,1.29l-1.18,2.84l0.85,0.62l1.7,-3.13l1.38,-1.38l1.27,-0.05l2.13,1.41l0.32,1.24l-1.49,3.21l0.08,1.68l2.71,-0.42l-0.27,1.92l1.75,0.6l1.69,-4.7l1.05,-0.55l2.45,4.33l0.24,3.88l-1.27,0.71l-0.37,2.68l-1.13,1.56l-0.61,-0.43l0.05,-1.71l-1.96,-0.2l-2.11,6.92l-1.45,-0.21l-2.66,2.31l-0.96,-0.18l-2.11,1.39l-0.3,0.82l-1.76,-0.81l1.08,-5.22l-2.54,-1.91l-0.2,-1.2l-0.72,-0.08l-1.38,2.18l-2.71,-0.68l0.08,-2.08l1.15,-2.18l-2.86,1.39l-2.8,-4.26l-0.73,0.8l1.63,3.45l2.4,1.97l-0.52,1.16l0.56,2.12l-3.0,0.93l-1.64,-1.42l-0.33,-2.96l-1.7,-2.06l-0.03,-2.0l-0.6,-0.34l-0.99,1.82l1.81,3.15l0.53,3.63l-2.22,-0.37l-3.6,-5.43l-0.91,0.48l0.76,1.13l0.21,3.65l-1.88,0.31l-1.58,-2.85l-1.33,-0.41l0.58,4.26l3.36,2.1l-4.06,0.78l-0.6,-0.7l-6.11,-1.47l-0.25,-1.66l1.11,-1.5l-2.76,-2.97l-0.46,0.74l1.83,2.29l-1.82,1.26l-0.29,2.61l-1.72,-0.52l-0.45,-1.58l-1.19,-0.11l-1.11,-3.97l-0.72,0.62l0.31,3.91l0.65,0.8l-0.75,1.5l-1.01,-1.89l-0.79,1.24l-2.32,-0.55l0.37,-2.67l-0.99,-2.63l-0.07,-5.11l-0.8,0.13l-0.92,2.26l0.57,2.6l-0.79,0.78l-0.85,4.21l-2.3,-1.8l-0.27,-2.03l-0.94,0.26l1.39,-4.03l-0.8,-2.86l5.95,-5.28l0.12,-1.01l3.66,-0.38l0.48,0.85l1.2,-0.21l0.63,-0.4l-0.3,-1.35l1.25,-0.33l1.53,1.4l1.48,-1.96l-2.98,-0.83l1.23,-1.3l-1.69,-0.5l1.99,-1.15l0.01,-0.73l-4.62,0.26l-0.15,-4.55l-2.79,-2.63l0.44,-3.88l4.54,-2.14l3.75,1.53l2.52,2.87l1.71,7.39l1.03,-0.76l0.8,1.14l2.38,0.43l1.45,1.48l1.65,0.4l0.48,-0.5l-0.84,-2.1l2.49,-0.07l3.23,1.12l0.52,-0.45l-0.4,-1.35l-1.77,-1.17l2.25,-1.39l1.88,-4.33l1.83,-6.33l-0.38,-2.63l1.24,-1.34l-0.41,-0.77l-0.98,0.14l-1.53,1.65l0.25,2.82l-0.9,1.02l-2.07,7.08l-1.97,2.55l-4.9,-0.47l1.84,-3.58l-0.42,-1.99l-2.31,3.72l-1.72,-1.12l0.44,-2.92l2.4,-2.71l1.84,0.19l0.09,-0.86l-1.56,-0.74l-3.62,0.67l-0.97,0.87l-0.93,-1.03l2.79,-2.91l1.78,0.54l2.49,-1.51l-0.36,-0.64l-2.77,0.8l-1.0,-0.8l0.37,-1.3l1.6,-0.84l2.34,0.89l1.11,-0.92l-2.53,-1.11l-2.44,0.46l0.57,-2.56l1.25,-0.99l-0.23,-0.79l-1.27,0.23l0.69,-6.07l-0.66,0.0l-0.89,2.18l-0.75,6.02l-1.81,4.32l-3.64,1.46l0.11,-1.87l1.51,-2.15l0.0,-4.26l-2.21,4.77l-1.49,-0.07l-1.1,2.26l-3.45,-0.05l2.24,-1.71l-1.13,-0.98l-1.15,0.28l-0.09,-5.02l1.57,-2.69l1.71,-0.45l-0.33,-1.08l-1.04,0.08l2.22,-5.38l4.35,-0.89l3.22,-2.37l1.72,1.18l4.75,0.51l3.08,2.66l1.99,0.73l2.71,3.07l0.94,-1.28l-1.92,-2.43l1.56,-0.41l-0.12,-1.19l-0.92,-0.38l-1.93,0.76l-2.3,-2.0l3.89,0.23l1.97,-1.17l1.55,0.41l0.13,-4.04l0.84,-1.58l-0.78,-1.1l-1.85,1.67l-0.92,2.69l-1.67,0.83l-2.17,-1.17l-6.62,0.01l-2.36,-1.93l0.97,-2.21l1.34,0.33l1.16,2.03l2.71,0.4l0.81,-1.0l-3.25,-2.16l-0.3,-2.48l-1.44,0.92l-1.21,-5.65l-2.04,-1.92l-0.94,-3.5l-1.66,-1.68l-5.45,-1.76l0.13,-5.04l3.58,0.7l1.1,0.9l0.84,-1.01l-1.65,-1.5l-4.58,-1.39l-0.61,-2.66l0.47,-4.47l2.35,-0.75l2.91,1.75l6.82,0.0l8.29,9.68l1.21,3.72l1.52,0.99l-0.35,1.77l0.89,0.78l1.35,-1.36l3.9,1.55l0.25,-1.04l3.1,-1.46l0.78,-1.84l-0.48,-0.53l-5.1,1.93l-2.93,-1.38l-1.1,-4.55l1.05,-1.31l-3.86,-1.89l-5.31,-7.57l12.41,-4.94l1.19,-1.65l9.01,-2.3l-0.18,-1.51l-8.12,0.6l6.89,-5.55l7.25,-2.54l-0.0,-1.15l-0.9,-0.71l-6.21,0.77l-3.59,1.59l-0.31,-3.3l1.55,-3.08l-0.13,-1.8l1.14,-0.81l1.79,-3.84l2.17,-1.99l1.05,-2.43l-1.11,-0.39l-5.09,5.04l-1.84,3.71l0.04,2.02l-3.46,-2.08l0.19,1.27l1.88,2.04l-0.89,2.04l0.81,1.51l-1.36,3.73l-5.1,5.15l-6.47,3.44l-2.88,0.56l0.06,-2.18l4.03,-2.58l1.53,-3.04l-1.59,-0.63l-2.52,2.89l-3.57,1.37l-0.11,-0.89l1.71,-2.36l-1.42,-0.71l-1.54,2.61l-0.89,-0.11l0.78,3.85l-0.34,2.24l-2.15,0.9l-2.45,-0.37l-0.92,0.72l-2.85,-0.66l1.04,-2.46l-1.46,0.68l-1.13,1.77l-2.57,-1.54l3.77,-9.32l2.48,-2.15l10.36,-3.87l1.42,-0.97l0.25,-1.18l-15.16,5.18l-2.55,3.23l-3.68,8.19l-1.52,-0.28l-5.52,-4.12l-2.24,-3.03l4.25,-1.92l3.52,0.41l4.2,-0.87l1.82,-1.89l1.94,-0.42l-0.13,-1.51l4.29,-3.96l0.25,-1.51l-2.63,0.01l-2.72,1.88l-2.58,3.29l-3.64,1.65l-2.07,-0.21l-8.46,1.96l-1.28,-1.35l-0.52,-3.13l1.09,-1.27l1.94,1.0l2.9,-1.73l-0.72,-0.69l-1.46,0.36l-2.15,-1.84l3.74,-3.35l0.85,0.04l-0.24,-1.23l3.26,-0.87l3.07,1.13l0.75,-0.39l-0.28,-0.99l-4.96,-2.2l-8.72,6.37l-1.32,-2.12l5.1,-4.06l0.23,-0.89l-1.89,-0.43l-1.67,-2.12l-0.45,1.26l-1.34,-0.39l-1.34,1.78l0.02,1.51l-1.09,0.35l-0.29,-1.24l-1.85,-0.94l0.27,-0.49ZM467.22,187.34l-0.02,0.7l0.08,0.54l-0.23,-0.5l0.17,-0.74ZM511.4,194.3l-0.08,0.24l-0.06,0.04l0.07,-0.21l0.07,-0.07ZM521.76,108.32l4.22,-0.05l0.38,1.75l1.07,0.74l-3.95,0.26l-1.72,-2.7ZM462.41,44.68l-0.48,-0.1l0.11,-0.41l0.37,0.52ZM479.98,42.56l-0.16,-0.42l0.09,0.02l0.07,0.4ZM553.75,2.1l0.09,-0.05l0.0,0.03l-0.09,0.01ZM485.99,154.18l-1.65,1.09l-0.22,-0.13l0.52,-1.19l1.35,0.23ZM569.79,661.05l-0.05,-0.21l0.07,-0.55l0.68,0.7l-0.69,0.06ZM569.0,481.37l0.25,0.11l-0.12,0.21l-0.05,-0.02l-0.08,-0.31ZM566.07,517.84l0.13,-0.53l1.96,-0.83l-0.06,0.3l-2.04,1.05ZM560.16,465.59l2.1,-1.05l3.51,-0.14l0.32,0.76l1.55,0.15l1.51,2.38l-0.35,1.42l-2.69,1.96l-5.95,-5.48ZM567.74,657.21l0.59,-0.24l0.46,0.97l-0.38,0.0l-0.67,-0.73ZM567.08,481.73l0.79,-0.2l0.12,0.15l-0.37,0.09l-0.54,-0.03ZM563.91,454.17l0.28,-0.52l2.0,-0.55l-0.62,1.38l-1.66,-0.3ZM561.74,604.49l0.36,-1.75l3.07,-1.32l-2.77,2.79l-0.66,0.28ZM562.62,591.14l0.29,-0.1l0.15,0.19l-0.33,-0.12l-0.11,0.03ZM561.9,579.26l0.03,-0.21l0.16,-0.38l0.23,0.82l-0.42,-0.23ZM562.22,593.87l-0.14,-1.09l0.27,-0.29l0.22,0.48l-0.34,0.9ZM546.79,664.8l1.55,-2.51l4.66,-1.23l3.06,0.13l4.08,4.11l1.48,3.29l-3.39,-0.09l-11.44,-3.71ZM555.47,342.98l2.64,-0.2l0.34,1.06l-1.68,2.76l0.27,1.38l-1.29,0.66l-1.48,-1.7l-0.39,-3.32l1.12,-1.0l0.47,0.38ZM548.37,497.83l-0.35,-4.63l1.73,-5.02l1.16,-0.82l1.47,0.44l0.98,-0.93l2.54,2.46l0.32,2.13l-3.07,11.1l-4.6,-3.84l-0.17,-0.89ZM554.12,536.8l0.54,-0.67l0.8,0.1l-0.82,1.01l-0.52,-0.44ZM553.2,539.49l0.02,-0.17l0.05,0.01l0.01,0.12l-0.07,0.05ZM518.38,254.51l0.02,-3.28l1.94,-0.65l2.28,1.5l0.72,-0.61l3.81,1.55l8.24,-1.79l4.72,1.82l1.83,1.34l1.29,2.82l2.0,0.59l1.36,3.33l2.32,1.15l0.14,2.91l1.58,0.57l0.16,1.42l-1.02,0.76l-12.46,-0.08l-6.24,4.05l-2.27,0.18l-2.95,-1.96l-1.55,-3.7l-0.47,-4.43l-4.24,-0.78l-0.48,-0.67l-0.23,-3.23l0.9,-0.63l-1.39,-2.18ZM542.4,343.23l1.71,-3.49l2.32,-0.76l0.1,-1.74l0.81,0.38l0.67,1.17l-0.8,1.23l-4.81,3.21ZM539.83,355.35l1.02,-3.29l1.77,-0.72l1.11,-3.34l0.91,-0.14l-0.76,-1.61l2.39,-1.22l0.67,1.28l-0.6,1.55l-0.94,0.07l-2.03,7.01l-2.55,1.82l-0.98,-1.41ZM544.39,363.79l1.03,-0.85l0.6,0.66l-0.77,0.79l-0.86,-0.6ZM546.23,361.86l-0.26,-0.62l-1.1,-0.62l2.08,0.52l-0.0,0.9l-0.72,-0.19ZM543.01,367.74l1.19,-0.44l0.95,0.97l-1.19,2.11l-0.95,-2.63ZM491.5,444.21l0.6,-0.54l-0.58,-3.61l1.19,-14.31l3.45,-4.37l0.11,2.65l0.82,0.13l0.58,-0.88l1.19,0.7l1.14,3.24l-1.81,0.99l-0.23,0.9l2.67,2.32l0.99,4.1l1.57,-0.26l1.49,-5.17l3.04,2.44l-0.42,1.38l1.36,1.37l5.93,1.02l2.1,3.77l2.76,1.13l1.6,1.85l1.51,0.59l1.71,-0.47l5.13,4.44l0.28,3.89l1.81,2.28l-0.08,0.86l-2.81,1.51l-0.02,1.94l4.49,-1.05l1.44,-1.05l3.48,1.36l0.51,-0.57l-0.38,-1.92l2.94,2.24l0.11,1.01l-1.42,-0.11l0.39,1.02l4.41,1.63l-2.32,0.89l-3.6,4.37l-0.37,1.42l-0.79,-0.13l-8.74,-3.71l-3.42,0.48l-0.61,-1.02l1.33,-1.33l-0.06,-2.1l-1.9,-1.28l-4.59,0.66l1.0,-3.43l-0.5,-0.96l-1.15,-0.14l-0.97,1.27l-3.03,0.75l-1.17,2.31l0.84,4.2l-1.24,0.31l-2.38,3.21l-1.83,-0.12l-2.37,6.34l-4.18,3.28l-3.23,0.73l-1.16,-2.5l0.12,-6.95l-1.51,-3.22l-1.1,1.42l-3.38,1.23l-3.76,-0.09l-1.91,2.06l-1.94,0.07l-0.65,-0.91l0.24,-1.85l2.24,-3.9l6.11,-3.91l-1.64,-4.15l-0.66,-5.63l1.24,-4.08ZM537.03,125.67l0.14,-0.6l1.77,1.03l-0.27,0.43l-1.64,-0.86ZM528.04,339.31l1.24,0.37l0.11,0.47l-1.79,0.18l0.44,-1.02ZM530.38,340.78l0.27,-1.09l-0.83,-1.63l1.44,-0.15l0.93,1.53l2.86,-1.09l0.44,-1.19l1.15,0.08l0.99,1.53l-1.6,1.72l-1.98,0.49l-1.54,-0.55l1.0,2.87l-1.35,-0.46l-0.17,-1.79l-1.59,-0.26ZM532.71,453.04l0.06,-0.06l0.37,-0.01l-0.25,0.1l-0.18,-0.03ZM516.53,485.9l0.87,-1.45l0.09,-2.41l1.48,-1.87l2.19,1.47l3.25,-2.28l2.59,0.08l1.19,-1.35l3.08,0.71l-0.28,4.19l-3.25,2.92l-0.63,1.91l-5.19,5.86l-1.93,-1.17l-3.35,2.23l-0.27,-2.41l-2.11,-2.98l2.26,-3.44ZM224.48,339.27l10.41,-29.68l3.07,4.97l8.62,5.59l0.69,2.27l2.5,3.21l4.41,3.07l1.14,1.6l2.02,0.19l2.98,2.06l0.89,-0.13l2.4,2.31l0.78,-0.7l-1.76,-3.42l2.36,1.93l2.42,-0.32l2.76,3.37l0.88,-0.03l1.2,2.81l1.35,1.18l0.3,2.22l1.65,2.99l-0.64,1.68l0.97,0.74l-1.14,2.31l-6.49,-2.8l-0.42,0.7l0.81,1.53l-0.59,0.64l-2.27,-1.38l-0.61,0.37l-0.84,2.67l0.38,0.97l-2.87,0.38l-0.51,0.95l1.74,1.32l1.04,1.98l3.02,0.67l2.45,2.45l1.4,0.13l2.17,1.57l10.93,3.14l1.2,-0.96l2.0,0.4l0.07,1.09l0.81,0.42l0.63,-1.44l3.09,1.24l1.94,-1.54l-0.11,1.43l1.58,0.24l5.48,-2.57l0.88,-0.15l1.11,1.15l0.63,-1.72l-0.24,3.09l0.7,0.76l0.69,-0.72l0.19,3.26l1.6,1.08l0.96,-1.0l2.37,0.99l0.28,3.64l-0.97,1.47l1.05,2.55l1.18,-0.34l1.72,-4.6l-0.29,5.31l0.94,0.54l0.67,-1.63l1.95,3.58l0.33,2.6l-0.29,1.31l-1.69,-0.59l-0.91,0.77l-2.38,-3.14l-0.55,0.44l0.28,2.54l2.58,2.29l-0.03,1.5l-0.9,0.74l1.74,0.69l0.16,3.36l0.73,0.24l0.29,-0.67l0.93,3.59l2.54,4.51l0.56,-1.13l-2.78,-7.77l0.7,-2.8l0.59,1.56l1.23,0.59l0.8,-2.68l1.13,2.62l1.02,0.02l-1.47,-5.0l0.9,-0.19l0.74,-1.4l-2.13,-2.14l-0.43,-3.54l1.13,-2.31l-2.38,-4.66l0.26,-1.42l0.68,-1.28l2.24,-0.89l0.39,-1.05l-0.68,-0.64l0.69,-0.93l2.24,0.49l1.65,-1.04l3.04,0.68l0.83,-1.69l0.83,0.37l0.32,-0.89l0.43,1.39l1.37,-0.19l-0.61,-1.7l0.59,-1.86l5.7,-0.59l0.67,-1.61l-0.38,-1.27l1.23,-1.54l-0.22,-0.61l-1.26,0.27l-1.13,-0.69l-4.95,1.61l-1.26,1.37l0.86,1.59l-0.65,0.65l-1.29,-1.72l-1.95,0.63l-1.81,1.67l-2.11,-2.13l-2.12,-0.27l-1.21,1.95l0.93,1.49l-4.02,0.08l-0.35,-3.71l-2.76,0.75l5.19,-6.15l7.85,-0.24l8.82,-3.41l2.59,1.66l1.74,3.52l-0.75,1.35l0.7,3.02l-1.58,1.89l1.51,0.48l0.03,1.25l2.72,3.18l2.26,0.0l-0.79,1.66l1.16,2.86l5.67,1.14l0.86,-0.74l1.24,0.18l1.04,-1.88l-0.19,3.16l2.89,2.32l1.11,2.33l2.43,1.12l1.52,2.07l1.06,-1.23l1.39,0.04l0.82,1.22l2.25,0.99l2.9,-1.25l2.29,0.29l1.89,-1.43l0.83,0.87l1.38,-0.92l6.44,1.64l2.19,2.05l2.76,0.65l0.45,-1.05l1.12,0.08l0.53,-0.78l2.72,-0.03l-0.65,-2.06l-1.84,-1.78l0.07,-1.92l0.73,-0.05l4.38,8.36l2.67,2.31l2.38,-1.08l0.96,0.6l1.32,-1.43l-0.93,-1.05l0.67,-1.15l-0.81,-2.97l-0.65,-0.18l-0.52,0.86l-2.33,-3.23l-2.98,1.2l-0.74,1.82l-1.81,-4.08l1.15,-2.2l-1.3,-1.23l-0.95,-2.33l0.41,0.49l1.06,-0.68l1.61,1.55l3.97,-1.42l-1.75,-3.21l1.71,0.28l1.22,2.35l0.82,-0.62l-0.63,-1.05l0.79,0.01l2.78,3.39l-0.51,1.81l1.23,0.6l1.74,-0.66l0.39,1.96l-1.87,2.21l0.45,1.19l1.07,0.06l0.37,-0.73l1.35,0.34l0.05,-2.01l3.31,-1.93l-2.26,10.07l-1.15,0.65l-1.37,4.54l2.71,1.5l-1.35,3.33l1.16,0.91l0.87,0.02l2.55,-2.56l1.14,0.23l-2.48,3.23l0.46,0.54l2.29,-0.85l1.07,3.83l-0.69,0.79l-0.87,0.03l-0.32,-0.82l-2.25,0.7l-0.22,-2.61l-1.42,1.67l-0.98,-0.04l0.01,-1.45l-0.95,-0.71l-1.25,0.87l2.59,5.12l1.83,1.52l0.07,3.2l0.62,0.46l1.74,-1.81l-0.09,-1.39l-0.49,-0.51l-0.53,0.64l-2.24,-4.1l5.81,1.19l1.21,-1.66l-0.77,-3.86l1.55,-2.61l-1.19,-1.53l-0.44,-2.43l0.64,-1.82l-2.68,-3.83l1.36,-1.41l-0.06,-2.11l1.27,-3.03l0.98,0.79l1.08,-0.91l2.7,1.03l4.92,-4.77l0.76,-3.04l5.89,-4.28l0.06,-0.55l-2.54,0.03l1.29,-4.2l-0.48,-2.74l-1.56,-0.33l0.09,-2.09l-1.38,0.93l-1.22,3.1l-0.02,1.06l0.75,0.43l-0.87,0.88l-2.12,0.51l-1.23,-0.72l0.37,-3.7l1.04,0.58l3.51,-4.41l-0.31,-0.69l-1.96,0.28l0.4,-3.15l3.29,-0.43l-1.04,1.69l0.19,2.02l0.66,0.2l3.72,-4.16l-0.12,-0.8l-1.22,0.19l0.95,-2.36l-1.2,-1.18l-2.52,0.89l-0.3,1.01l-2.63,-0.42l-2.48,-5.15l-1.12,0.57l-0.51,1.8l-3.7,-2.56l-1.82,-2.33l-2.36,-0.27l-0.5,-3.29l-1.16,-0.62l-1.65,-3.41l0.19,-4.23l1.56,-1.49l0.59,-2.41l0.75,0.08l0.47,-1.03l1.74,1.31l0.65,-0.46l-1.77,-1.69l1.82,-2.37l-1.22,-0.06l-2.0,1.53l-2.27,-3.41l2.08,-6.34l-1.21,-0.92l1.28,-0.4l-0.57,-2.81l1.13,-0.1l1.07,-2.14l0.99,-0.1l1.95,2.72l1.27,0.08l1.09,-2.03l-0.68,-1.12l1.26,-2.02l-3.16,-0.42l-0.45,-1.61l2.8,-2.14l1.55,0.02l0.61,-2.28l2.29,-0.15l1.05,0.27l0.34,1.88l1.37,-1.05l0.01,2.96l1.67,-2.31l1.75,0.58l1.19,-0.48l-0.76,2.42l5.56,6.86l0.65,6.62l-0.38,3.5l-0.67,-0.38l-0.34,0.96l2.43,2.04l0.21,2.15l2.47,0.98l0.33,3.3l1.82,2.28l-0.77,1.36l1.62,1.29l0.64,-1.77l0.6,0.07l-0.06,2.68l1.31,0.89l-3.08,0.37l-1.91,-2.81l-1.17,0.57l0.43,0.71l-1.34,0.59l0.57,0.61l-1.22,1.91l1.31,0.68l1.02,-0.88l1.26,0.14l0.86,0.98l-2.28,2.89l-2.9,1.73l-1.98,3.08l2.03,0.54l1.89,-0.62l2.12,2.78l2.21,1.48l3.01,-3.73l1.29,0.51l-2.65,1.88l0.02,0.7l2.97,-0.72l0.63,0.96l1.39,-0.16l0.36,0.69l1.02,0.01l0.53,-1.03l1.52,0.89l-0.6,0.64l-0.48,-0.53l-1.01,0.39l0.45,0.62l-1.08,0.99l-0.25,1.61l-0.66,-1.61l-1.72,1.43l-1.69,-1.37l-0.67,0.29l5.9,6.11l-0.39,1.34l0.76,0.7l-0.12,1.27l1.3,0.85l-1.1,1.36l0.62,0.65l0.15,5.16l-0.94,1.83l1.82,1.52l-0.76,1.04l1.18,-0.07l0.75,2.4l1.47,-0.7l-0.22,-1.21l2.53,-4.71l-0.88,-1.61l0.66,-1.17l0.25,1.24l0.85,-0.82l0.03,-7.76l3.52,-5.21l1.47,0.7l1.7,3.2l5.43,5.67l1.93,9.81l-0.74,1.96l-1.47,-0.53l-0.28,-2.77l-1.98,1.93l0.78,3.99l-0.65,2.99l1.99,6.42l5.48,6.44l0.69,2.03l-0.88,0.97l-0.09,1.63l0.8,0.3l0.68,-1.15l0.35,1.43l0.78,-0.01l0.44,-2.43l0.83,0.85l1.19,-1.63l-0.28,-1.39l0.74,-1.69l2.29,1.14l0.87,-0.85l0.25,-4.84l-0.63,-1.66l1.23,-3.16l3.31,-4.63l-0.01,-2.78l0.72,-0.74l-0.38,-2.13l1.03,-2.63l-0.67,-3.78l0.49,-2.13l1.4,-0.43l1.49,0.7l0.49,-0.72l3.33,-0.12l-0.45,-2.01l-1.59,0.03l-1.06,-0.4l1.21,-0.49l-0.1,-1.13l1.6,-0.05l-0.18,-1.05l-0.94,-0.34l2.55,0.15l0.54,-0.81l-1.73,-0.8l-0.34,-0.92l-1.18,0.19l-0.77,-2.04l-2.66,-0.4l-0.82,-1.5l0.81,-0.1l0.0,-0.83l-0.96,-1.22l0.99,-1.18l-0.72,-0.74l-0.71,0.27l0.02,-1.04l0.96,-0.72l-1.19,-2.09l1.29,-3.37l1.71,0.98l1.8,-1.51l3.23,-0.54l4.79,2.88l2.79,0.38l5.52,-0.71l-0.24,1.63l-0.91,0.6l1.79,1.11l-5.0,-0.84l-0.47,1.18l6.95,1.74l1.5,2.03l-0.72,1.48l0.5,0.56l3.8,-0.97l2.98,1.18l0.36,1.29l-1.6,2.39l-3.57,3.4l2.94,-0.68l1.34,1.48l0.97,-0.97l1.12,1.62l0.07,2.62l-2.43,2.77l-1.12,-0.34l-1.18,2.16l-0.64,-1.43l-1.23,-0.48l-0.93,0.34l0.73,1.2l-2.85,-1.27l-0.61,0.89l0.8,0.9l-0.78,0.72l2.38,1.64l-0.88,0.27l0.47,1.3l1.32,0.08l-0.48,2.02l1.95,1.1l-0.36,2.19l0.93,2.29l7.22,7.8l-0.46,8.01l-0.47,1.76l-3.69,1.09l-1.27,5.13l-1.52,0.1l-1.53,3.31l-3.21,0.57l-0.36,1.57l-2.63,2.63l-1.82,-3.11l-1.56,-0.52l-1.22,-1.47l0.84,-0.02l0.3,-0.94l-0.88,-1.37l0.07,-2.94l-0.75,0.13l-1.27,3.29l-0.76,-0.18l0.3,-1.92l-1.46,-1.06l-0.06,-2.04l-4.96,-1.37l0.52,1.66l-2.58,1.27l-0.05,1.65l0.92,0.71l1.52,-0.57l1.28,-1.95l0.9,2.46l2.33,0.87l-0.56,1.2l1.17,0.78l1.2,-0.25l-0.39,1.76l2.5,2.69l0.7,2.76l1.26,1.62l-1.31,0.22l-2.21,-2.28l-1.33,0.72l-1.52,-2.2l-1.24,1.82l2.26,2.97l-3.5,-1.81l-1.0,0.26l-1.06,-1.4l-0.94,1.28l-1.01,-4.35l-1.69,-2.05l-2.87,1.73l-2.16,0.21l-1.61,-1.0l-0.78,0.7l-1.44,-0.65l-0.35,0.93l-1.35,-0.12l0.47,1.42l-0.78,0.64l1.71,2.75l2.48,0.54l3.42,1.99l-0.82,1.21l0.29,1.35l-3.46,2.77l-0.86,4.49l-3.52,2.99l-1.11,1.7l0.29,1.02l-2.17,1.42l-5.44,-0.4l-3.38,-3.83l-1.96,-1.11l1.98,0.38l0.35,-0.84l-5.88,-1.93l-4.76,-4.34l-3.09,-0.04l2.03,2.44l-2.02,-1.36l-1.25,0.27l-0.41,-1.0l-1.47,0.42l-7.61,-1.47l-1.67,0.63l3.86,3.52l0.78,-0.69l-0.83,-1.67l8.95,2.69l3.98,3.69l0.64,2.11l1.78,1.27l1.28,2.27l8.42,1.2l2.68,-0.06l0.73,-0.68l4.93,1.04l0.9,1.55l-0.24,1.63l-1.03,1.03l-1.57,4.77l-1.71,0.78l-0.47,3.24l-1.97,1.14l-2.32,7.37l-0.94,-0.04l-4.12,3.41l-3.38,-1.51l-1.02,-2.09l-0.87,0.6l1.13,2.59l-2.84,-1.61l-0.7,0.6l-1.08,-0.5l-0.16,-3.36l-3.42,2.27l-0.05,0.72l1.38,0.47l0.48,1.07l-1.34,0.94l-0.86,-0.9l-1.17,0.51l2.71,3.88l-0.95,0.21l-0.8,2.81l-1.89,0.39l-0.23,-0.94l-1.65,-0.78l-0.8,1.51l1.26,0.44l-2.79,0.72l-5.08,-3.21l-1.21,0.14l-0.42,-1.14l-2.12,0.46l0.4,-1.11l-1.23,-0.2l-0.68,1.26l-2.38,-0.59l-9.09,-5.07l-1.31,-1.52l-0.1,-1.25l-1.79,-0.68l1.46,3.62l-1.67,0.73l1.11,2.5l2.55,1.43l1.53,-0.47l0.27,-0.5l-1.81,-2.08l6.31,3.9l1.37,-0.58l0.64,1.4l1.83,0.49l-0.34,1.0l-0.74,-0.38l-2.27,2.01l0.88,1.18l2.55,-0.4l0.29,-1.38l3.25,-1.78l3.36,4.54l3.46,0.45l0.25,1.24l2.0,0.84l0.42,5.65l-1.07,1.87l-2.1,-0.17l-3.58,3.08l-6.01,-1.84l-0.37,1.26l-2.6,-0.41l-0.4,1.17l1.52,2.4l3.47,0.94l-0.59,1.4l-1.08,-0.3l-0.33,-1.22l-2.38,1.27l-0.26,-1.03l-1.49,-0.62l-0.48,0.6l0.5,2.44l-1.28,0.07l-0.91,2.87l-4.1,-1.05l4.19,3.17l-2.98,0.84l-0.3,0.85l0.81,0.74l-1.17,1.03l-1.17,-0.68l-1.18,0.74l1.06,1.19l-0.7,0.63l-1.72,-0.71l-0.48,0.61l0.55,0.71l-0.52,1.16l1.48,0.65l0.23,1.97l-4.07,2.49l-1.42,2.04l0.19,1.66l0.98,1.0l-2.1,-0.35l-0.42,0.57l0.86,1.7l-0.83,1.09l0.32,1.46l-2.99,4.42l-1.82,5.77l-1.44,-0.29l-1.34,1.34l1.64,2.12l-2.04,7.01l-34.0,-2.48l-33.8,-3.8l10.71,-81.63l-31.59,-11.1l-25.71,-9.97l-3.84,-3.25l-7.01,-13.94l-14.83,-3.67l-25.6,-33.48l-22.77,-34.44ZM431.43,497.66l0.31,-0.12l0.17,0.01l-0.2,0.26l-0.28,-0.15ZM433.43,493.16l1.61,0.52l0.09,0.54l-0.15,0.11l-1.55,-1.16ZM459.86,461.22l0.41,0.12l0.06,0.53l-0.42,-0.04l-0.04,-0.61ZM466.21,460.65l0.17,0.26l-0.02,0.0l-0.16,-0.26ZM457.33,422.91l-0.21,0.13l-0.28,-0.01l0.5,-0.12ZM510.45,414.38l0.09,0.15l-0.04,0.09l-0.06,-0.23ZM452.6,352.21l0.03,0.15l-0.01,0.1l-0.08,-0.08l0.07,-0.17ZM409.93,384.6l0.12,0.01l-0.05,0.33l-0.07,-0.28l-0.01,-0.06ZM408.2,373.33l-0.03,-0.49l0.36,-0.47l-0.09,0.56l-0.23,0.39ZM318.49,387.42l0.17,-0.15l0.1,-0.19l-0.02,0.65l-0.25,-0.3ZM318.8,386.55l-0.03,-0.21l0.0,-0.15l0.04,0.09l-0.01,0.27ZM320.92,364.54l0.05,-0.18l0.03,-0.08l0.11,0.08l-0.19,0.18ZM329.82,363.21l-0.02,-0.07l0.05,-0.02l-0.02,0.09ZM343.75,364.08l-0.01,-0.29l0.6,-0.07l-0.05,0.14l-0.54,0.22ZM393.17,373.66l-0.08,-0.14l0.13,-0.03l-0.03,0.08l-0.02,0.08ZM393.23,373.44l0.07,-0.35l0.01,-0.02l-0.02,0.16l-0.07,0.21ZM431.06,350.19l0.25,-0.55l0.38,-0.32l-0.44,0.76l-0.19,0.11ZM427.63,295.62l-0.28,-0.5l-3.9,0.29l-0.05,-0.78l0.27,-0.75l4.16,-0.81l0.66,1.13l-0.85,1.43ZM524.08,151.98l-0.31,-0.7l1.09,-0.68l0.05,0.73l-0.83,0.65ZM520.21,200.3l0.21,-1.47l2.86,-4.4l0.44,0.9l-1.75,2.84l0.99,1.66l-1.45,0.22l-0.61,1.26l-0.7,-1.01ZM420.31,181.66l0.5,-1.13l0.61,1.02l2.18,0.2l0.2,-2.11l-2.58,-1.69l-0.08,-0.91l1.13,-0.95l0.69,0.51l1.21,-0.61l0.2,-1.3l2.62,-0.71l1.81,0.46l2.56,2.13l2.24,0.35l0.31,1.19l1.42,0.92l1.0,0.0l0.77,-1.08l1.13,0.45l2.52,4.68l-0.84,3.95l-2.07,2.49l0.7,1.81l1.09,-0.5l-0.59,-0.64l1.22,-0.89l1.6,-3.53l3.93,0.81l2.28,-1.58l2.88,-0.6l2.67,1.15l2.12,2.19l0.21,1.53l-1.81,-0.45l-0.43,-0.79l-0.97,0.82l-1.37,-0.9l-1.56,0.62l1.0,1.43l5.16,1.83l0.58,-0.43l6.3,2.56l0.54,1.01l-0.8,1.12l-6.37,0.59l-6.69,-2.54l1.9,1.9l-0.65,1.59l3.73,0.57l-0.82,0.92l0.39,0.6l-2.01,0.42l1.12,1.93l-1.13,0.97l0.03,1.86l0.86,0.06l1.6,-2.88l1.55,-0.39l-0.48,1.34l0.76,0.64l1.1,-1.51l0.94,0.71l0.6,-1.22l0.75,0.45l0.75,1.32l-0.37,2.78l0.86,0.09l1.07,-1.42l1.61,1.73l-0.48,2.76l-1.94,0.28l-0.93,1.73l0.79,0.81l2.49,-0.89l0.58,2.19l1.33,1.51l1.42,-0.6l-0.79,-3.93l0.76,-1.35l2.52,2.98l-0.56,0.98l0.98,0.87l2.69,-2.59l1.11,1.8l-0.58,0.81l1.4,0.22l0.46,-1.42l-0.54,-1.26l0.93,-1.27l2.81,3.26l2.28,0.92l-1.19,1.0l0.32,0.71l3.62,-1.4l2.85,0.31l0.14,-0.97l-3.53,-1.62l2.66,-1.59l2.21,0.32l1.6,-2.35l2.51,0.56l0.44,-0.95l-0.77,-0.68l1.79,-0.55l2.24,-2.61l4.55,1.5l4.51,-2.83l6.91,0.84l-0.53,2.99l5.66,-0.04l1.75,1.99l-1.7,1.15l0.27,0.97l3.83,-0.52l1.21,1.6l-0.53,1.79l0.92,0.75l-0.62,1.94l-1.14,0.29l-0.73,1.93l-2.6,2.21l1.13,1.01l-0.52,2.49l1.8,1.16l-0.62,1.36l0.74,1.02l-0.26,2.91l-5.19,0.58l-3.82,3.12l-3.42,-0.96l-0.78,-1.29l-0.97,1.46l-0.82,-0.18l-2.21,-2.91l-0.2,-3.81l-3.13,-1.87l-0.24,1.98l1.36,1.75l-0.71,4.18l-4.35,1.76l-3.71,0.19l-0.9,-4.45l-0.95,1.65l0.34,2.55l-0.53,0.71l-0.65,-0.02l-1.6,-4.47l-0.45,4.52l-2.58,0.37l0.09,-1.23l-1.15,-1.89l-1.13,3.17l-2.73,-3.02l-0.24,2.09l0.93,1.46l-1.06,0.13l-1.09,-0.96l-0.22,0.83l-0.85,0.11l-0.44,-1.8l-2.14,2.11l-0.75,-1.4l-0.82,0.91l-3.57,-0.34l-0.03,-2.5l1.42,-3.71l-1.17,-0.53l-0.8,-2.75l-1.07,1.47l-0.69,3.45l-0.18,-1.92l-1.67,-1.41l0.22,2.6l-1.36,-0.56l0.99,1.98l-0.25,1.63l-1.66,1.1l-2.62,0.5l-0.42,-1.29l-0.95,0.62l-1.0,-0.68l0.06,-0.86l-1.62,0.41l-1.17,-3.02l-1.41,0.98l1.62,-2.83l-0.59,-1.76l-4.4,5.7l-0.72,-1.79l-2.33,-1.7l0.36,-2.51l-1.15,-3.73l1.17,-0.44l-0.22,-1.71l-1.56,0.09l-0.97,-1.66l1.02,-3.31l-0.61,-0.69l0.38,-1.33l2.31,-3.37l-0.88,-3.82l0.34,-2.99l-2.37,-2.58l-0.62,-3.84l-2.17,-5.39l-1.27,-0.83l-1.98,1.44l-0.9,-0.3l-0.65,1.31l-4.34,-0.35l-1.27,-1.64l-3.24,-1.66l-2.26,-0.08l-0.71,-0.86l-0.49,-1.5l1.84,-0.12l1.17,-2.1l-0.46,-0.51l-1.97,1.2l-2.68,-3.53l-2.35,-0.75ZM451.53,232.53l0.2,0.49l-0.18,-0.03l-0.02,-0.47ZM519.43,222.72l2.08,-1.78l0.93,0.21l1.51,2.32l-2.89,1.86l-1.28,-0.76l-0.35,-1.86ZM455.33,199.74l0.6,-0.68l1.56,0.5l-0.2,0.22l-1.97,-0.04ZM431.08,193.14l-1.37,1.01l-1.29,-0.29l1.88,-1.41l0.78,0.69ZM519.33,369.36l0.08,-0.17l0.17,0.21l-0.24,-0.04ZM514.4,412.13l0.0,-0.0l0.0,0.01l-0.0,-0.0ZM514.58,412.33l1.89,1.01l-0.22,0.67l-1.74,-1.07l0.07,-0.61ZM505.06,417.57l-0.03,-0.82l3.18,1.26l2.57,2.18l0.11,1.35l-1.66,2.13l-1.01,-0.16l-0.76,-4.02l-2.41,-1.91ZM511.99,423.88l0.53,0.2l-0.02,0.3l-1.34,0.67l0.82,-1.17ZM512.86,424.78l0.64,-0.22l1.49,-0.08l-0.52,1.37l-1.6,-1.06ZM512.76,421.7l0.73,-0.05l-0.36,0.47l-0.37,-0.42ZM509.13,194.54l0.2,-0.25l0.21,-0.1l-0.34,0.37l-0.08,-0.02ZM505.31,340.84l-0.75,-0.58l0.04,-0.62l1.46,0.3l-0.75,0.9ZM499.75,419.3l1.02,0.26l1.78,3.19l1.39,3.85l-0.75,1.32l-1.05,-2.07l-2.03,-1.69l-0.36,-4.86ZM493.21,188.12l0.28,0.32l-0.08,0.36l-0.23,-0.13l0.04,-0.54ZM483.42,380.75l0.8,-1.64l-1.23,-1.79l1.89,-4.42l1.7,1.75l0.49,5.12l-1.32,4.42l-1.73,-1.43l-0.61,-2.01ZM484.15,162.05l1.7,-0.5l1.0,1.62l-1.04,0.74l-0.12,-1.25l-1.54,-0.62ZM479.08,334.77l1.48,-0.55l1.82,0.89l1.27,-0.58l0.97,2.02l-1.78,0.37l-1.64,-0.88l-0.74,0.52l-1.39,-1.79ZM427.65,95.01l0.27,-1.04l1.22,0.23l1.58,2.01l3.93,1.28l1.49,-0.22l1.8,1.72l0.72,-0.12l-1.6,-3.36l1.04,-1.26l2.04,-0.47l-0.04,-0.97l-2.53,-1.14l-1.83,2.17l-1.74,0.26l-0.95,-1.25l1.76,-0.53l0.22,-1.33l-2.25,-0.14l-1.26,1.09l-2.31,-2.07l0.39,-1.21l0.99,0.11l0.63,-1.26l2.63,1.42l0.57,-0.4l-0.16,-1.39l-2.47,-2.77l0.74,-1.3l-0.35,-0.92l4.17,-0.23l1.75,1.38l2.55,0.29l0.43,0.81l1.17,-0.55l-0.98,-1.99l-2.46,-0.81l-0.37,-0.98l0.08,-0.6l2.29,-0.25l0.11,-1.13l-3.86,-1.4l0.69,-0.71l-0.44,-0.87l-2.49,0.14l1.73,-1.45l-1.35,-0.79l1.22,-2.91l1.29,-1.01l1.81,2.76l2.64,-1.83l-0.15,-1.22l-1.04,-0.57l1.28,-0.11l1.29,0.95l1.89,-0.69l0.52,-2.62l-0.74,-1.47l-3.04,0.03l-1.69,-1.25l0.7,-2.47l1.83,0.73l0.57,1.15l0.83,-0.76l-0.19,-1.48l0.65,0.25l4.27,3.47l1.67,2.64l-0.43,2.4l1.58,2.67l1.88,6.54l2.15,2.67l-0.55,2.47l3.34,0.83l1.0,2.0l0.82,-0.11l-0.26,-1.63l1.61,-0.09l1.03,1.58l-0.85,1.74l0.69,0.56l-0.7,2.2l1.17,3.27l2.62,2.67l0.96,-0.69l1.24,0.34l0.84,1.37l2.79,-0.41l1.09,2.79l-2.16,3.13l1.2,0.27l1.22,-1.54l-0.58,6.24l-1.43,2.18l0.31,1.7l1.29,0.08l1.04,-2.22l1.07,1.33l0.72,-0.98l-0.31,-1.59l1.53,-0.13l1.13,1.76l-0.42,3.04l1.26,0.71l1.02,-4.81l1.45,4.01l2.55,4.05l-2.54,3.13l-4.99,2.97l-0.71,2.6l-0.81,-2.36l-0.82,-0.01l0.24,3.95l-2.97,6.75l-1.5,-4.29l-0.01,-3.36l0.86,-1.09l0.2,-2.51l-0.74,-0.07l-0.73,1.99l-1.25,0.49l0.24,8.2l-1.07,0.74l0.43,0.7l1.35,-0.23l0.55,2.31l-1.07,1.91l-1.67,-3.62l-1.84,0.17l1.38,5.18l-1.23,6.18l-5.86,-11.61l-0.9,0.8l0.12,2.33l2.56,7.01l-1.18,-0.05l-1.29,-2.64l-2.92,-0.26l-0.73,0.89l2.06,1.11l0.3,2.6l-2.68,0.25l-3.61,-1.19l-1.24,-1.3l-1.27,0.5l-0.49,-2.72l-1.98,-0.11l-1.78,-3.64l1.74,0.12l3.69,-1.35l0.86,0.49l0.59,-1.32l-6.11,-2.35l-2.41,1.06l-0.67,-1.1l0.4,-1.19l-0.98,-0.04l-1.04,-1.94l2.81,1.25l0.87,-0.29l0.08,-1.05l-2.64,-2.05l-1.57,0.04l-1.79,-3.63l3.32,-1.49l1.33,-2.87l2.16,0.72l5.01,-0.32l6.71,-1.41l1.09,-1.33l-0.62,-0.54l-3.02,0.21l-5.19,1.09l-2.43,-1.02l0.26,-0.96l3.07,0.28l3.79,-1.34l0.34,-1.72l-3.82,1.13l-3.09,-0.65l1.69,-1.39l-0.35,-0.85l-1.91,-0.0l-1.26,0.94l-1.09,-1.98l-1.44,1.08l-0.89,2.25l-0.85,0.01l0.02,1.27l-1.24,1.28l-0.58,-1.3l1.68,-1.96l-3.3,-1.25l-0.65,0.26l-0.15,2.01l-2.82,1.37l0.35,-1.57l-0.79,-1.75l-0.99,0.48l-1.03,-0.62l0.36,-2.95l4.91,-1.61l2.03,-2.07l0.3,-2.61l-0.88,-0.51l-2.15,2.69l-1.95,0.74l-2.78,-0.29l-2.35,-4.95l1.56,-1.92l-2.06,-1.42l-0.23,-1.34l1.39,-0.91l-1.55,-0.36l-0.27,-0.93ZM443.68,113.89l0.28,0.85l-0.7,0.52l0.38,-0.96l0.04,-0.42ZM461.38,146.39l0.13,0.3l0.04,0.32l-0.12,-0.23l-0.04,-0.39ZM467.83,95.12l-0.47,-2.39l-1.08,-0.44l-0.75,-1.59l0.77,-3.65l3.21,0.98l0.55,5.35l-2.23,1.74ZM428.54,100.87l-0.38,0.08l-0.0,-0.39l0.24,-0.06l0.14,0.37ZM467.85,144.53l0.1,-1.31l0.38,-0.61l-0.14,0.96l-0.34,0.97ZM468.67,140.92l0.03,-0.58l0.13,-0.04l0.0,0.05l-0.16,0.58ZM453.12,161.32l1.28,-0.9l2.87,0.68l2.74,3.46l0.67,3.57l-2.13,2.79l-1.23,0.17l-3.87,-3.88l-0.32,-5.87ZM459.03,188.82l-2.86,-6.15l1.29,-1.47l1.58,-0.38l1.49,2.86l-1.01,2.28l0.86,2.56l-1.13,-0.33l-0.23,0.65ZM457.48,356.25l0.14,0.07l-0.06,0.19l-0.08,-0.25l-0.0,-0.01ZM455.72,351.19l1.01,-1.44l0.89,0.73l-1.07,2.13l-0.83,-1.42ZM421.71,269.81l0.55,-2.41l0.89,-0.23l-0.57,-7.78l0.24,-2.03l0.85,-0.72l-0.96,-1.53l0.29,-1.54l2.13,-0.53l1.47,2.21l2.74,0.5l-0.05,-1.28l-1.14,-0.38l-1.36,-2.16l0.81,-1.29l-1.45,-0.16l-0.66,-1.39l0.47,-1.74l3.32,-1.81l4.85,-0.73l1.1,1.49l0.62,-2.05l2.47,-0.16l5.15,2.79l0.8,2.82l1.3,-0.14l1.9,-1.66l1.64,-0.14l3.56,0.65l4.75,2.14l-1.09,0.72l0.0,1.59l-2.62,5.22l-1.34,0.04l0.33,1.6l-2.19,4.92l-2.41,0.8l1.51,1.0l-4.78,9.89l-1.63,0.64l-6.15,-2.6l-7.1,1.07l-0.05,1.51l3.42,0.4l-0.14,1.38l1.23,1.05l0.93,2.98l-2.44,2.95l-2.07,5.39l-1.09,1.0l-5.9,0.08l0.81,-2.2l2.19,-0.87l-0.84,-0.59l-1.68,0.45l-0.24,-0.64l0.1,-5.21l0.64,-1.13l-1.31,-4.06l-1.38,-1.4l0.48,-0.89l-0.88,-1.38l-0.04,-4.42ZM430.89,292.66l0.04,-0.02l0.01,0.07l-0.05,-0.05ZM454.65,352.83l-0.33,-0.41l0.26,-1.19l0.58,2.35l-0.51,-0.75ZM453.0,471.13l0.19,0.06l0.17,0.16l-0.28,-0.02l-0.08,-0.2ZM446.91,341.46l0.79,-0.49l-0.07,1.35l-0.35,-0.26l-0.37,-0.61ZM446.55,468.94l0.04,0.02l-0.03,0.04l-0.0,-0.0l-0.01,-0.06ZM445.93,340.08l0.11,-0.11l0.26,-0.0l-0.36,0.11ZM425.38,160.25l0.48,-2.25l3.84,-2.17l0.53,1.65l2.42,-1.14l5.97,1.59l1.12,-0.98l1.66,1.12l0.51,1.38l-1.4,0.71l-0.94,4.39l-12.85,-1.49l-1.35,-2.81ZM419.31,222.88l1.54,-4.3l2.31,-0.56l0.69,-1.51l-0.75,-0.37l0.27,-0.52l2.01,-1.42l-0.54,-2.11l5.25,-2.91l2.61,0.99l3.95,5.88l-0.84,1.01l1.78,1.21l-0.53,1.41l0.6,1.82l-1.11,1.77l1.18,1.96l-0.24,4.58l-0.78,0.52l0.47,1.21l-0.56,0.6l-6.55,0.22l-0.53,-1.16l-1.47,-0.02l0.15,-1.12l-1.59,-1.93l-2.87,-1.1l-0.38,0.45l-1.38,-2.06l0.6,-0.63l-0.39,-2.11l-1.01,0.49l-0.55,2.09l0.12,-2.13l-1.46,-0.23ZM423.56,213.87l-0.12,-0.05l0.05,-0.1l0.03,0.01l0.04,0.13ZM433.47,79.05l2.22,0.14l0.49,1.15l-0.62,0.41l-3.69,-1.53l1.6,-0.17ZM416.22,136.4l2.05,-0.98l-1.3,-2.9l0.11,-2.87l0.9,-0.83l3.13,0.78l2.68,2.67l1.63,0.48l1.66,1.84l-0.48,2.22l1.8,1.36l1.39,-0.82l0.94,0.36l2.76,3.08l-0.08,1.03l-2.91,2.52l2.41,3.58l-0.97,3.13l-1.57,-0.19l-5.02,2.32l-0.97,-1.04l-1.33,0.69l-0.83,1.91l-0.66,-0.34l0.57,-2.92l-3.36,-2.86l0.27,-0.99l3.77,0.54l0.54,-1.86l-2.74,-2.31l-1.83,-0.37l-1.24,-2.23l0.23,-2.37l-1.49,-1.43l-0.07,-1.19ZM432.55,201.06l0.82,4.6l-1.67,0.27l-0.94,-4.09l1.79,-0.78ZM430.01,501.43l0.97,-0.01l0.44,0.57l-0.36,0.42l-1.04,-0.98ZM423.28,233.75l1.26,-1.17l1.43,2.47l-2.18,-0.68l-0.52,-0.62ZM417.48,212.26l-0.01,-0.76l2.38,-1.13l-0.06,1.93l-1.18,0.75l0.15,0.81l-0.97,-0.05l-0.31,-1.56ZM421.34,209.39l0.11,-1.06l1.96,1.73l-1.35,1.95l-0.81,-1.09l0.09,-1.54ZM421.62,297.89l0.27,-0.12l-0.0,0.05l-0.27,0.08ZM422.23,296.62l-0.31,-0.28l0.46,-0.16l-0.15,0.44ZM389.19,351.96l1.95,0.55l2.03,-0.68l1.12,-2.28l0.58,0.4l1.52,-0.72l0.14,-1.27l-1.28,-2.05l1.34,-0.17l-0.91,-2.29l0.88,0.34l1.71,3.05l1.24,-0.02l0.18,-0.77l-2.25,-3.41l0.79,-2.88l2.42,-2.54l3.0,2.8l0.46,1.11l-0.92,0.82l0.66,1.72l0.83,-0.03l0.58,-1.54l2.19,4.14l4.67,4.17l-0.47,5.36l0.77,0.85l0.76,-0.35l0.21,-3.25l1.03,6.77l1.07,0.08l0.67,1.22l2.22,-1.37l0.64,0.63l-1.91,2.36l-0.86,-0.78l-1.61,0.33l-0.77,2.34l-1.05,-0.01l-2.45,2.86l-1.47,0.43l-4.18,-3.29l-0.78,0.45l0.0,1.03l-2.13,-0.68l-2.02,-2.6l-3.15,-1.4l0.02,-2.1l-1.03,-1.12l-0.95,0.29l-0.32,1.89l-2.35,-1.9l0.57,-1.76l-1.34,-1.01l-1.67,0.69l0.3,1.29l-0.62,0.2l-1.39,-1.1l-0.88,-2.86l1.01,-1.65l1.16,-0.28ZM414.67,346.77l0.79,-2.2l1.01,-0.52l2.17,2.28l-0.36,2.41l-1.64,1.11l0.59,-3.49l-0.78,-1.58l-1.18,0.46l-0.29,3.04l-0.32,-1.5ZM414.95,348.36l-0.2,0.62l0.01,0.28l-0.08,-0.53l0.28,-0.37ZM411.32,98.34l1.01,-4.59l1.24,-1.13l1.28,1.16l1.53,-0.38l1.16,4.2l-0.81,6.55l-1.8,-1.46l0.27,-2.18l-1.22,-1.67l-2.43,0.15l-0.23,-0.65ZM374.65,271.26l1.97,-5.77l2.84,-1.37l1.55,1.82l0.05,1.86l1.25,1.11l0.57,3.29l2.19,1.66l1.59,0.06l0.69,-1.11l2.35,0.48l1.05,-1.22l0.12,-1.68l1.82,-0.35l0.42,-1.35l-0.92,-4.78l-0.97,-0.3l-0.87,0.71l-0.41,-0.77l1.36,-2.26l2.16,2.2l1.64,-0.07l0.25,-0.94l-1.66,-0.9l-2.81,-5.73l0.58,-2.35l-2.08,-1.04l0.29,-0.74l-1.18,-0.76l0.61,-2.28l3.23,-0.36l2.81,2.56l1.41,-2.63l1.47,0.9l1.99,3.57l0.77,-1.37l1.88,0.54l0.9,-0.84l3.78,-0.59l1.4,-1.38l0.62,0.59l1.21,-0.69l1.97,0.93l1.5,2.73l-0.26,1.98l-1.56,1.52l-1.16,-0.78l-0.5,1.25l-0.96,-0.32l-0.62,1.65l0.6,1.01l1.16,-0.71l1.4,0.5l-0.15,1.78l-3.64,1.11l-5.82,6.46l0.48,3.84l1.76,-2.63l1.76,-1.18l1.87,0.33l2.34,1.76l-0.22,1.33l-1.09,0.6l1.34,0.81l1.01,2.19l-1.14,1.5l0.2,1.66l1.04,-0.04l2.47,-2.03l1.12,1.43l0.68,4.68l-2.3,1.94l-1.3,-0.26l-0.36,0.62l1.76,1.4l0.5,2.45l-0.19,1.19l-2.27,0.61l-0.18,0.67l2.39,0.53l-0.21,0.9l-1.8,1.03l0.88,0.81l0.98,-0.56l-0.72,1.86l-0.73,-0.91l-1.9,1.1l-1.79,2.78l-3.0,0.77l-3.68,-1.31l-0.54,-1.24l1.3,-3.44l-1.08,-0.61l-2.02,4.09l2.62,4.72l-1.02,1.91l-2.48,2.43l-1.29,0.19l-1.19,-2.37l-1.76,0.57l-0.52,-5.08l-1.18,-0.97l-1.5,-5.44l-1.64,-0.98l-2.95,-7.01l-1.04,-0.68l-1.38,0.27l0.07,-1.82l-1.28,-1.58l-1.8,1.15l-1.95,-1.02l-0.38,-0.95l0.82,-0.69l-0.81,-0.81l-0.0,-1.42l-2.82,-2.69l-1.76,-3.24ZM390.43,268.86l-0.03,-0.05l0.05,-0.05l0.03,0.02l-0.05,0.08ZM391.13,258.22l-0.13,1.15l-2.76,1.04l-3.72,-4.97l2.35,-2.21l1.66,0.33l1.12,3.12l1.48,1.54ZM395.74,247.0l-1.15,1.05l-0.77,-0.64l1.11,-1.09l1.19,0.17l-0.38,0.51ZM383.64,205.28l0.98,-0.35l-0.1,-1.22l0.92,-0.88l2.25,1.05l0.89,-0.46l-1.01,-1.33l0.64,-1.21l-1.4,-0.09l0.59,-1.18l2.2,-0.44l1.73,3.41l1.11,0.73l2.79,-1.46l-0.32,-0.68l-2.14,0.59l-0.0,-1.51l-0.95,-0.56l-0.09,-1.13l1.71,-1.64l-0.08,-0.96l-2.37,0.42l-0.43,-0.71l0.15,-2.2l3.16,-2.97l-4.23,0.03l1.31,-2.84l-0.4,-0.94l1.17,-0.93l2.36,1.3l1.07,1.88l-0.53,2.31l2.46,2.81l-0.67,1.03l2.18,1.08l1.1,2.81l-0.34,0.81l1.3,1.29l3.61,-2.66l-2.55,0.12l-1.15,-3.95l2.31,0.7l2.05,-1.41l-1.88,0.14l-1.45,-1.62l-1.17,0.14l-1.42,-1.07l0.11,-0.5l3.22,0.42l0.05,-1.7l-1.42,-1.76l-2.77,-0.3l-1.23,-2.57l3.98,-2.87l2.12,1.16l0.39,0.02l0.59,-0.55l0.17,0.01l-0.21,0.83l0.76,0.32l2.26,4.87l0.32,-1.26l1.55,0.24l-0.83,-2.83l0.59,-1.37l1.04,0.97l1.35,-0.91l0.26,1.46l3.57,2.17l-0.94,3.69l1.31,3.45l-1.27,4.95l0.26,2.81l-2.32,2.5l3.09,2.5l-0.58,3.27l-1.38,-1.71l-2.28,2.1l-0.15,1.15l1.02,0.42l-1.01,0.13l-0.97,2.26l0.38,1.15l1.83,1.31l-0.22,1.08l0.95,1.02l-0.73,0.28l-1.64,-2.81l-0.86,1.75l0.95,3.04l-4.23,0.37l-0.99,-1.88l-0.85,1.34l-1.93,0.15l0.71,-3.06l-0.84,0.16l-1.41,3.01l-4.51,-1.58l0.29,-2.82l-0.76,-1.01l2.77,0.07l0.63,-0.78l-1.72,-0.92l-0.09,-1.25l-1.4,0.3l-0.46,-0.63l1.35,-0.75l-0.55,-1.38l3.07,-0.16l0.54,-0.85l-0.65,-0.91l1.3,-0.09l1.47,-1.72l-0.75,-0.88l4.91,-0.17l0.33,-1.35l-10.06,0.4l-4.14,0.95l-1.31,-0.58l-6.97,1.45l-0.47,-1.89ZM414.24,266.9l0.91,0.17l0.16,1.43l-0.9,1.89l-1.18,0.2l-0.74,-3.42l1.63,-1.82l0.11,1.55ZM413.9,275.02l-1.05,-0.59l1.41,-2.15l0.13,1.99l-0.49,0.75ZM411.31,235.08l-0.17,-0.77l2.09,-2.24l-0.31,1.96l-1.61,1.05ZM409.94,345.15l2.12,0.76l0.95,-0.39l-0.28,3.31l-2.79,-3.68ZM382.84,135.77l-0.59,-2.3l0.4,-2.05l1.47,-0.73l2.71,2.01l2.88,0.94l1.3,-3.47l-3.0,-0.68l2.42,-0.16l1.53,-2.23l-0.42,-1.23l-1.34,-0.04l-0.51,-0.94l-1.08,0.01l-0.37,0.97l-0.54,-0.55l2.34,-2.62l-0.92,-2.5l-0.98,-0.62l-1.67,0.95l-1.02,2.32l-1.68,1.23l2.44,-5.44l-1.31,-1.09l-2.99,0.31l0.45,-3.63l1.34,-3.45l1.11,0.94l6.93,-0.53l2.58,2.17l0.69,1.58l0.97,4.08l-1.29,3.2l0.94,0.56l0.02,1.87l1.57,-1.52l0.25,-1.95l2.39,-1.59l0.93,0.3l1.44,2.91l1.25,0.73l-1.25,3.71l1.42,1.16l2.81,-1.08l1.86,3.24l-0.91,1.75l2.41,1.23l-2.04,3.56l-0.03,3.7l1.35,0.72l2.39,5.97l-1.01,2.34l0.25,1.78l-0.75,0.82l-3.19,0.26l-0.72,0.75l-3.03,-2.19l-0.72,-3.75l0.56,-1.61l-1.23,-3.56l-1.38,0.11l-0.96,-1.37l-3.26,-1.74l-2.35,0.82l-0.76,-0.98l0.85,-1.48l-0.29,-1.0l-5.42,0.69l-1.75,1.62l-2.15,-1.03l-1.32,-2.23ZM402.18,245.84l5.3,-1.86l2.75,-0.09l-1.09,2.38l-2.21,2.01l-2.94,0.62l-4.58,-1.3l2.65,-0.81l0.12,-0.96ZM404.52,336.05l0.28,0.24l-0.19,0.5l-0.18,-0.17l0.08,-0.57ZM400.0,384.31l0.18,-0.59l0.82,-0.41l-0.03,0.27l-0.98,0.73ZM393.68,182.33l2.34,-0.92l1.47,-1.77l3.14,0.18l-5.02,2.71l-1.93,-0.2ZM392.97,153.4l0.22,-3.26l3.57,0.04l2.26,1.79l1.09,2.26l-2.85,-0.38l-1.53,1.08l-2.76,-1.53ZM390.42,142.83l-0.37,-1.01l1.77,-1.87l0.13,1.23l-1.53,1.65ZM380.94,200.83l0.6,-1.1l1.3,-0.07l0.14,-1.57l4.85,-1.31l0.73,0.88l-2.31,0.72l-1.53,2.53l-3.78,-0.08ZM378.12,196.44l4.81,-1.79l4.15,-0.08l-0.14,0.79l-7.87,1.78l-0.95,-0.71ZM375.95,190.46l3.49,-1.4l6.37,-0.48l0.58,1.84l-1.06,2.26l-3.24,1.1l-3.2,-0.16l-2.89,-1.45l-0.05,-1.71ZM382.95,318.72l1.44,0.77l0.22,2.48l-1.82,-1.42l0.16,-1.82ZM376.35,180.68l1.85,-1.9l1.59,0.1l-0.7,2.34l1.86,-0.68l0.7,2.11l2.71,2.61l-1.9,1.61l-5.37,-0.68l0.39,-3.22l-1.13,-2.29ZM382.75,351.96l0.5,1.7l-0.24,1.27l-0.95,-1.38l0.69,-1.6ZM378.63,357.96l0.57,-3.98l0.44,-0.58l2.04,2.62l-0.39,1.86l-1.43,1.5l-0.05,-1.51l-1.16,0.08ZM380.72,368.46l0.1,-0.05l-0.02,0.19l-0.08,-0.15ZM374.01,155.31l0.21,-2.42l-0.8,-2.01l0.8,-0.65l1.57,1.3l1.89,4.93l-0.54,3.16l1.37,0.18l1.17,2.66l0.14,1.85l-0.85,1.86l-1.4,0.46l-0.78,-1.62l-1.22,-0.12l-1.48,-7.58l0.58,-1.2l-0.67,-0.8ZM262.31,316.35l2.08,-0.14l-1.96,-6.32l0.67,-1.78l29.25,8.27l-0.45,3.6l3.86,0.06l0.08,-2.77l17.96,3.86l11.64,-52.14l1.02,0.72l0.45,-0.54l-0.33,-5.28l0.81,0.53l0.91,-1.42l-1.26,-1.18l0.84,-3.76l1.32,0.77l-0.68,0.91l1.98,3.52l1.31,0.03l0.66,1.95l-0.78,2.32l2.6,0.61l-1.19,4.72l-0.04,4.61l0.7,0.67l-0.61,2.61l0.7,0.59l-0.15,1.23l0.53,-0.06l-0.76,0.93l0.26,2.94l-0.58,0.75l1.35,0.47l0.24,1.97l1.62,0.74l0.65,-0.57l-0.39,-1.82l1.03,0.39l0.95,-1.25l2.37,-0.74l-0.93,-1.08l1.3,-1.05l-1.93,-2.91l0.34,-1.81l-0.81,-1.19l0.22,-2.55l0.8,-0.71l-0.48,-2.76l0.67,-0.65l-0.92,-1.26l0.86,-1.52l-0.24,-12.82l0.88,-1.09l1.54,0.68l0.58,-0.44l-1.25,-2.02l0.83,-1.15l1.76,0.8l3.3,4.11l0.86,-0.52l-0.07,-2.01l1.15,-0.22l2.82,5.57l2.41,1.22l1.77,5.26l-0.7,1.14l0.97,2.93l-0.1,2.98l-0.73,1.46l1.27,6.09l-0.78,2.36l0.62,5.17l0.86,1.04l1.18,5.51l-0.26,4.34l-1.28,0.3l-0.33,3.04l-1.64,2.12l2.84,4.68l0.53,3.8l1.04,0.58l1.58,3.35l1.99,0.55l0.87,1.98l3.24,1.02l4.5,5.28l1.19,0.26l0.88,-0.76l0.39,4.13l1.88,-0.71l0.81,0.64l1.28,-0.97l0.03,7.9l-0.86,2.57l-1.99,-0.34l-0.66,-3.2l0.48,-1.61l-0.57,-0.42l-2.18,4.42l-1.52,-1.35l-0.31,-2.12l-1.01,-0.13l-0.04,-1.44l-0.73,-0.32l-1.28,2.17l-1.57,1.08l-1.03,-0.29l1.04,2.25l-0.26,1.54l-0.39,0.73l-1.54,-0.01l-2.17,-1.88l-0.77,-1.75l-1.95,-0.38l-0.57,1.77l1.97,2.07l0.29,2.37l0.94,0.37l-0.8,3.26l-1.54,1.25l-0.03,1.94l0.83,0.08l3.22,-5.13l2.26,-0.4l0.69,-1.2l1.16,-0.27l1.41,0.47l0.57,1.19l-1.81,0.93l-0.19,0.91l0.88,0.86l-1.2,-0.23l-0.23,1.51l1.39,1.22l1.0,-1.4l0.8,1.26l-0.83,3.7l-1.57,-0.48l-0.9,0.9l-1.83,-0.25l-1.1,1.72l-1.84,-0.82l-0.04,1.26l-1.58,0.48l-1.41,-1.13l-1.54,0.16l-0.46,0.75l-0.83,-1.04l-3.94,-1.21l-1.27,-2.09l-1.5,-0.03l-1.12,1.34l-3.67,-1.26l-0.43,-0.87l2.54,-1.36l0.07,-1.33l-3.85,-1.12l-0.64,-1.26l-2.42,-0.91l-2.45,0.1l-1.13,-0.9l1.31,-1.45l0.18,-2.67l-1.8,-2.85l-1.81,1.09l-0.36,1.29l-1.64,0.17l-0.41,3.13l-3.6,3.28l-4.69,0.8l-4.32,-1.01l-0.77,1.48l-3.95,2.3l-4.82,0.78l-4.52,-0.72l-1.13,0.66l-1.45,-1.06l-1.8,0.4l-0.65,-0.82l-4.19,-0.24l0.07,1.07l-6.6,-1.54l-2.6,-0.28l-1.27,0.6l-1.79,-0.57l-0.18,-1.43l-1.54,-1.61l-1.07,-4.66l2.09,-4.8l-0.39,-2.55l1.28,0.35l-0.11,-0.95l-4.84,-3.41l-4.48,-0.59l-1.12,-0.97l-1.41,0.5l-5.16,-2.72l-3.26,-3.47l0.33,-3.36l-1.77,-0.93ZM296.42,348.86l0.63,0.22l-0.44,-0.1l-0.19,-0.12ZM366.3,318.81l-1.06,-1.02l0.04,-1.63l1.15,1.7l-0.13,0.94ZM282.72,346.82l-0.62,-0.06l-0.07,-0.11l0.28,-0.07l0.41,0.24ZM374.96,341.65l1.94,1.67l-1.05,1.12l0.26,-1.62l-1.15,-1.16ZM370.45,212.46l1.02,-2.68l1.74,-1.62l1.28,0.15l1.48,1.77l0.65,4.47l-1.81,1.97l-2.25,0.64l-3.24,-2.83l1.13,-1.86ZM372.18,349.51l-0.69,-0.62l0.14,-0.26l0.41,-0.04l0.14,0.92ZM365.6,358.91l2.37,-2.4l1.72,1.02l-0.26,2.28l-0.9,-0.23l-0.19,1.25l-2.74,-1.91ZM369.05,337.93l-0.03,-0.16l0.09,-0.51l-0.05,0.67ZM337.68,214.24l3.33,-14.87l5.76,2.77l1.51,-3.5l0.25,-2.2l-3.92,-3.56l-0.1,-1.81l-1.63,-0.12l5.0,-2.96l-0.8,-3.92l-1.48,-1.73l-0.79,0.02l1.18,-5.29l1.87,-0.82l0.02,-1.38l3.47,-4.44l2.99,-0.51l-0.22,1.64l1.01,0.5l-0.04,1.06l-1.91,1.27l0.66,2.21l-1.1,3.26l1.56,1.07l0.7,2.61l-0.87,0.53l0.36,1.05l-1.58,0.69l-1.35,3.04l0.43,0.57l3.42,0.05l0.8,1.47l-2.71,3.12l-0.33,1.81l1.16,0.02l1.48,-1.92l2.67,-0.13l0.44,6.08l0.92,0.31l0.57,-2.72l1.6,-0.89l-1.34,-0.99l0.58,-2.79l1.65,-1.78l1.33,0.24l2.88,2.18l0.61,1.29l0.03,6.89l-2.61,3.05l0.61,0.99l-0.66,2.23l-1.87,2.23l-0.39,2.47l-1.33,1.0l0.24,0.93l-4.44,0.4l-1.89,1.54l-1.09,-0.14l-2.22,-1.7l0.37,-2.12l-0.6,-1.0l-0.76,1.63l-1.43,0.28l-0.39,1.54l-2.11,0.01l-0.34,-2.82l-1.7,-1.22l-5.3,3.83l-2.16,-0.53ZM352.93,252.59l-2.03,-2.5l-1.37,-0.46l3.4,-4.11l8.91,0.49l3.37,4.72l-1.3,5.04l-1.65,3.11l-2.3,3.37l-1.39,1.24l-1.07,-0.21l-0.06,1.2l-2.02,-6.47l-0.9,-0.66l-0.05,-2.54l-1.54,-2.22ZM356.24,131.28l0.61,-2.73l1.07,-4.77l1.78,2.73l0.28,1.9l-1.49,3.66l-1.82,0.06l-0.43,-0.84ZM354.64,140.84l-0.56,0.09l0.72,-3.2l1.23,1.04l-1.38,2.06ZM344.37,358.41l2.93,0.73l0.43,2.38l-1.76,-0.48l-1.6,-2.64ZM343.31,246.11l1.2,-0.38l1.16,0.72l-2.22,0.24l-0.15,-0.58ZM319.51,383.52l0.58,1.05l0.1,0.1l-0.52,-0.1l-0.16,-1.05ZM317.62,367.22l0.19,-0.56l0.63,-0.35l-0.4,1.1l-0.43,-0.19ZM317.34,374.35l-0.13,-0.78l0.25,-1.06l0.35,1.97l-0.46,-0.13ZM316.98,377.97l0.04,-0.85l0.65,-0.18l-0.58,1.35l-0.12,-0.32ZM314.27,374.28l0.57,0.24l-0.52,0.82l-0.22,-0.84l0.16,-0.22ZM310.96,365.11l0.9,-0.17l0.05,1.27l-0.95,-1.11ZM308.75,362.36l0.31,0.23l0.02,0.64l-0.44,-0.71l0.11,-0.16ZM304.92,360.33l0.09,-0.06l-0.03,0.05l-0.06,0.01ZM298.85,350.54l1.55,-0.48l0.33,0.64l-1.15,0.07l-0.73,-0.23ZM292.43,354.37l-0.15,-0.28l0.45,-0.29l-0.16,0.44l-0.15,0.13Z",name:"Nunavut"},ns:{path:"M806.11,740.27l1.94,-4.77l1.53,-10.21l1.51,-3.01l0.15,-1.97l1.87,-0.41l-0.36,1.59l1.07,0.72l1.38,-0.48l0.25,0.69l-0.15,2.84l0.78,0.69l-0.72,7.59l0.66,0.58l-1.72,2.11l-1.3,0.41l-2.17,3.71l0.96,0.16l0.28,1.37l0.95,-0.71l0.24,0.04l-1.43,1.75l0.15,1.53l1.35,0.03l1.9,-1.77l0.72,0.25l-0.26,0.87l-2.52,2.28l-1.15,-0.45l-1.0,1.26l-1.85,-1.48l-3.05,-5.19ZM816.59,744.31l1.05,-1.42l-0.51,-1.54l2.65,-4.97l-0.63,-0.39l-2.83,2.93l-0.6,-0.45l3.92,-6.11l-0.72,-0.78l-1.52,1.81l1.07,-2.31l1.42,0.6l-0.36,1.85l1.71,-0.36l-0.0,-1.84l2.48,0.8l0.8,-0.47l-0.4,2.67l1.97,0.46l-3.13,2.47l-0.17,0.84l0.9,0.39l-1.01,1.83l-4.32,3.9l-1.76,0.09ZM816.44,732.88l0.05,-0.34l0.15,-0.22l-0.19,0.56ZM816.77,732.01l0.24,-0.64l0.0,-0.0l-0.04,0.32l-0.2,0.32ZM812.97,739.62l0.88,-1.79l0.6,-0.25l0.0,1.23l-1.48,0.81ZM759.62,789.53l0.16,-4.68l2.2,-4.08l-1.01,-0.82l0.79,-1.21l0.55,1.16l1.15,-0.48l2.56,-4.02l-0.92,-0.09l-2.38,2.22l8.34,-9.82l4.16,-3.04l0.82,-1.68l0.15,2.95l0.79,0.75l0.65,-0.85l0.83,0.28l1.64,1.93l0.85,-0.63l-0.2,-1.37l-1.52,-0.96l0.48,-1.27l4.28,-3.21l3.19,-0.71l0.95,-1.59l-3.38,-0.07l-3.46,1.51l-2.84,-0.03l-3.3,1.74l-2.47,-0.07l-1.2,0.97l-0.22,1.24l-2.04,0.04l4.14,-6.74l0.02,-1.13l1.63,-0.72l0.41,-3.75l1.44,-1.22l1.43,0.16l2.21,1.66l1.47,-0.03l1.43,-1.45l-0.11,1.13l1.96,-0.28l0.15,0.77l1.33,0.29l2.45,-1.4l0.23,-0.87l4.41,-0.24l-1.15,1.72l1.38,0.56l1.1,-0.77l-0.0,-0.87l2.14,0.66l4.61,-6.3l1.62,2.8l3.57,0.38l1.19,-1.77l3.74,2.14l-2.2,2.48l0.51,0.93l5.15,-1.32l0.05,1.13l-0.76,-0.45l-1.84,0.96l-0.78,1.92l-3.7,1.02l0.54,1.19l-1.67,0.55l-2.19,3.02l-2.05,0.97l-1.89,2.18l-0.47,-0.39l-3.51,3.25l-0.15,1.04l-1.47,0.57l-0.41,-0.68l-1.66,0.09l-0.12,1.24l-1.32,0.34l-0.06,1.77l-1.34,-0.47l-0.81,0.54l0.56,0.97l-3.16,-1.14l-0.2,0.6l1.63,1.08l1.01,2.07l-1.9,0.73l-0.83,-0.89l-1.51,0.95l-0.65,-3.4l-2.22,1.84l0.95,1.84l-0.28,0.68l-1.28,-1.4l-2.02,0.98l-0.06,2.33l0.87,0.89l-0.1,1.05l-1.02,0.47l1.06,0.58l-1.02,2.27l-1.52,1.0l1.05,0.57l-1.54,0.73l0.61,1.07l-1.6,1.43l0.4,1.43l-0.91,-0.21l-0.93,0.87l0.68,1.29l-1.25,-0.81l0.52,1.66l-3.0,-0.19l0.49,2.0l-0.73,-1.36l-1.0,0.63l0.82,2.23l-1.31,0.88l0.18,1.22l-1.36,-0.74l-1.19,1.4l-1.25,-2.57l-2.08,-1.97l-2.19,-0.02l0.72,1.81l-1.29,-0.35l-2.43,-5.2ZM815.32,751.9l-0.03,0.02l0.03,-0.1l0.01,0.08ZM814.11,746.7l0.43,-0.47l0.76,-0.29l-0.16,0.85l-1.03,-0.09Z",name:"Nova Scotia"},mb:{path:"M325.81,733.16l8.91,-123.96l2.81,-21.17l0.68,-1.04l-0.07,-3.63l1.91,-0.88l-1.53,-1.99l0.27,-2.01l2.58,-1.88l2.72,-3.66l0.59,-2.49l-1.67,0.2l-0.75,-0.71l0.21,-4.29l-1.41,0.85l-1.0,2.53l0.82,-2.47l-0.4,-0.68l4.56,-34.38l33.83,3.81l33.9,2.47l-0.48,6.3l0.68,6.11l-0.92,4.18l-1.34,-0.06l-0.7,0.81l1.81,0.42l1.05,1.4l-0.48,3.02l1.42,-0.82l1.5,3.03l1.8,-0.28l0.27,0.59l-1.11,2.12l-0.82,6.88l0.75,-0.03l1.44,-3.28l0.06,-3.8l1.1,-2.83l4.0,-0.25l1.82,0.42l0.99,1.31l1.01,-1.02l1.12,0.23l0.16,4.19l2.86,8.44l0.25,4.64l3.21,8.93l-1.85,5.4l-2.86,2.98l1.99,-0.17l2.43,-1.98l1.58,-0.33l-1.98,1.88l1.85,-0.02l1.33,-1.17l12.03,-4.28l4.28,0.66l6.26,4.2l9.56,3.02l-49.26,55.91l-17.57,16.11l-3.92,65.83l-1.43,0.88l0.3,2.14l-32.47,-2.21l-38.67,-4.14ZM358.05,659.25l-0.57,1.38l2.52,3.34l1.2,-0.32l1.1,0.68l0.62,-0.83l2.78,0.77l-4.58,1.29l-0.34,1.82l0.94,2.85l3.13,3.99l0.22,2.26l2.43,1.74l0.42,2.75l0.85,0.78l0.19,3.11l3.02,1.79l1.2,-4.49l1.9,-0.21l-1.49,1.95l0.62,1.94l2.46,-2.21l0.95,4.17l-1.21,3.82l0.46,3.17l2.17,-1.39l0.62,-2.57l2.26,-0.95l0.51,1.06l0.38,1.6l-2.51,3.7l-0.84,3.0l1.26,0.25l2.08,-2.67l0.81,0.32l-3.9,4.57l-0.97,8.83l0.63,2.85l3.31,0.71l1.33,-1.44l-0.09,-3.28l0.45,-0.38l1.4,1.29l1.52,-0.53l-0.8,-1.43l0.01,-6.93l0.84,0.05l-0.0,-1.41l1.12,-0.85l-2.33,-3.53l-0.47,-2.7l-2.13,-3.63l0.91,-0.39l-0.33,-1.21l-1.6,-1.06l0.58,-1.53l-2.3,-4.74l0.77,-0.8l-0.17,-2.6l-1.45,-5.26l-1.96,-3.44l-0.13,-1.34l1.12,-1.31l-0.84,-0.77l0.04,-2.34l-1.58,-2.21l-0.66,-3.65l-1.5,-2.46l0.32,-1.95l-1.36,-4.38l2.17,-0.28l0.64,-1.93l-2.8,0.55l-1.48,1.77l-1.1,-1.27l0.86,-0.78l0.17,-2.08l2.78,-0.81l1.18,-1.18l-1.97,-2.6l-1.06,0.24l-3.76,7.32l0.66,2.32l1.82,1.62l-2.82,-1.76l-3.25,-0.16l-1.68,-1.09l-1.33,0.35l-4.39,11.12ZM338.24,663.05l-0.65,0.97l0.87,0.92l-0.25,1.12l1.03,-0.05l0.55,1.29l2.0,-0.24l0.99,-1.7l0.09,-1.38l-1.05,-1.03l2.46,0.66l-0.57,3.78l1.64,2.97l1.19,-0.99l-0.32,-3.9l0.85,1.53l0.88,-0.01l-0.54,2.9l0.85,1.25l-0.42,1.66l-1.48,1.16l-0.83,1.91l-0.36,6.88l0.69,3.55l1.1,0.47l1.8,2.85l2.36,-0.58l0.56,2.28l1.19,-2.43l1.22,0.34l0.19,1.6l1.37,0.02l0.09,3.43l1.45,3.0l-0.79,0.41l-0.11,1.58l2.87,6.16l1.6,6.25l-0.78,1.22l0.13,1.98l1.68,1.36l3.19,-0.36l2.9,-1.85l0.24,-2.18l-4.5,-7.89l-3.89,-1.78l-0.07,-1.57l1.52,-1.23l1.34,-3.48l-2.0,-0.95l-0.47,-1.63l1.15,-2.77l-0.96,-2.78l-0.73,-0.49l-1.66,0.65l-1.94,-2.22l0.01,2.67l-0.52,0.11l-0.48,-2.45l-1.72,-0.95l-1.95,2.31l0.29,-2.62l-0.56,-1.05l-0.64,0.0l-0.97,2.03l1.25,-3.44l0.01,-1.74l-0.87,-0.31l0.05,-3.27l1.27,-1.06l1.73,-3.79l-0.43,-5.26l0.7,-1.86l-4.25,-3.36l-3.17,-1.0l-0.49,-1.05l-1.59,-0.72l-1.62,1.53l-2.05,-0.16l-0.63,-1.36l-1.79,0.41l-0.53,1.06l1.35,1.66l-0.08,1.04ZM343.01,656.44l1.13,1.51l0.98,-0.26l0.96,2.44l3.89,2.01l3.85,-0.8l0.49,1.98l2.25,-0.5l-0.1,-1.24l0.87,-0.61l-0.66,-1.0l0.38,-2.94l-2.0,0.71l-2.48,-0.31l-0.99,1.43l-0.7,-1.78l0.88,-1.47l-1.1,-2.72l-1.76,-1.5l3.0,-1.3l0.35,-1.72l0.74,1.18l0.79,-0.05l1.06,-2.81l1.32,-0.99l-0.07,-1.43l-0.89,-0.39l-2.15,2.28l-3.16,1.45l-0.24,-0.54l1.53,-1.35l-1.92,-1.62l4.72,-1.87l-0.02,-1.11l-1.87,-0.0l-1.52,-1.59l-1.47,0.99l-0.63,-0.73l-0.85,0.38l0.24,5.25l-1.56,-0.75l-1.07,0.89l0.89,1.62l-0.57,0.99l1.53,3.23l-1.1,-0.29l-0.96,0.88l-1.74,-0.65l-0.54,0.69l0.88,1.1l-2.03,-0.96l-1.8,1.37l3.2,2.86ZM341.7,570.74l0.11,0.46l-0.33,0.4l-0.3,-0.25l0.52,-0.61ZM372.43,651.83l0.78,0.33l0.07,0.14l-0.68,0.12l-0.17,-0.58ZM373.09,681.95l-0.22,-0.07l-0.17,-0.02l0.34,-0.17l0.05,0.27ZM385.47,699.16l0.7,-0.42l0.64,-0.04l-0.44,0.34l-0.9,0.12ZM383.3,699.6l-0.34,1.82l-1.34,0.72l0.88,-0.74l0.79,-1.81ZM377.76,678.72l0.37,-0.5l0.24,-0.1l-0.05,0.16l-0.56,0.45ZM370.13,675.8l0.54,-1.53l0.13,3.36l-0.46,-0.78l-0.22,-1.05ZM357.53,697.63l0.49,0.05l0.11,1.04l-0.27,-0.23l-0.34,-0.86ZM358.33,696.85l-0.03,-0.15l0.14,-0.13l-0.11,0.27ZM357.84,689.63l0.46,0.59l-0.04,2.55l-0.44,-2.49l0.02,-0.65ZM347.78,684.17l-0.0,-0.02l-0.02,-0.1l0.05,0.08l-0.04,0.04ZM347.6,681.67l-0.12,-0.23l0.03,-0.26l0.07,0.22l0.02,0.27ZM349.11,674.67l-0.15,-1.21l0.81,-1.07l-0.36,1.68l-0.3,0.6ZM348.35,656.43l0.0,0.0l-0.0,0.0l-0.0,-0.0Z",name:"Manitoba"},sk:{path:"M225.52,715.72l39.97,-178.67l7.25,-1.44l1.31,1.41l12.87,0.18l1.43,-2.31l0.88,1.22l4.11,0.42l3.46,1.73l7.89,0.67l-0.84,-0.96l-5.15,-0.85l-2.45,-1.6l-3.4,-0.16l-2.27,-2.18l-3.22,-0.71l-2.58,-1.68l-4.02,-0.32l-2.77,0.98l1.34,-2.29l-0.87,-0.76l-1.81,0.51l-0.58,-2.19l-0.93,-0.65l-2.97,-0.33l-5.02,3.79l2.54,-11.36l37.12,7.44l37.41,5.82l-4.58,34.49l-1.83,1.67l-0.01,1.71l-2.81,1.32l-1.71,2.49l-1.74,0.06l-0.19,2.8l-2.61,1.35l-1.09,3.92l1.79,-0.4l1.19,1.26l-1.32,2.68l1.76,0.57l-0.31,4.59l-2.32,0.06l-3.29,4.78l1.51,-6.72l-0.95,-0.48l-1.63,5.24l-1.25,0.01l-0.61,0.92l-0.03,1.77l0.55,0.19l-0.9,2.9l0.77,0.84l1.75,-2.64l0.13,1.02l1.37,0.4l1.78,-2.5l4.61,-1.44l0.17,-1.79l1.5,-0.27l0.7,-0.98l-1.43,-0.62l0.7,-0.7l1.47,0.09l1.37,-2.0l-2.8,21.13l-8.91,123.93l-50.48,-7.59l-49.01,-9.75ZM321.15,570.65l0.95,0.2l1.78,-1.81l1.8,0.51l0.38,1.25l-1.49,2.36l1.92,-0.81l1.84,-2.74l-1.39,-0.73l1.05,-3.5l3.03,-0.66l0.82,-1.15l-0.99,-1.18l0.63,-0.7l0.9,0.38l1.19,-1.81l-0.29,-1.14l-1.17,-0.59l-0.12,-1.79l-1.98,0.19l-0.69,-0.9l-0.89,1.02l0.19,0.93l-1.46,0.5l-1.33,-0.79l-1.32,0.9l-1.19,2.67l0.36,1.78l-1.9,1.78l0.32,0.65l2.03,-0.32l-2.97,1.62l0.31,1.04l1.31,-0.05l-2.31,2.02l-0.17,1.08l0.83,-0.21ZM329.12,591.75l0.01,0.02l-0.02,0.0l0.01,-0.03ZM337.04,580.48l0.76,-1.11l0.21,-1.05l-0.31,2.31l-0.66,-0.14ZM334.83,587.78l-0.06,-0.5l0.75,-1.28l-0.11,1.5l-0.59,0.28ZM332.55,578.38l0.2,-0.02l0.16,0.03l-0.1,0.23l-0.25,-0.24ZM324.49,566.41l0.75,-0.68l0.15,-0.05l0.08,0.36l-0.98,0.37Z",name:"Saskatchewan"},qc:{path:"M567.54,485.56l2.68,-1.98l1.59,-2.47l6.39,0.69l6.3,2.28l4.25,0.42l-2.04,2.18l0.37,0.65l4.59,-3.75l1.34,0.24l0.63,1.1l0.93,-0.89l2.52,1.84l2.15,0.56l0.33,-0.61l-1.98,-1.25l0.01,-0.69l2.64,-0.51l1.11,-1.65l2.27,-1.23l0.87,-2.05l1.31,-0.53l1.15,1.47l3.31,0.92l3.37,3.27l1.41,-0.03l0.32,-0.84l0.81,0.4l0.61,2.24l-1.14,2.9l0.44,0.56l2.15,-0.39l-0.63,-1.88l3.32,0.52l0.29,2.27l1.48,-0.07l0.73,0.84l-0.4,1.12l-1.78,0.48l0.08,1.33l3.16,-1.31l0.24,-1.94l2.68,0.89l-0.2,0.92l-1.78,0.57l0.84,1.44l-0.94,1.0l1.77,0.4l-0.94,0.39l0.28,0.79l1.22,0.1l-0.28,0.74l1.22,0.54l0.82,1.88l1.12,-0.73l1.12,0.98l0.99,-0.79l0.6,0.52l1.4,-0.43l1.24,0.89l1.95,-0.4l0.47,0.74l1.44,0.04l1.87,-2.0l1.12,-0.12l0.88,1.88l-0.23,1.61l2.73,1.17l0.99,-2.2l0.66,0.54l0.86,-0.68l-0.68,-2.21l0.39,-1.34l2.03,2.74l0.4,1.74l-2.54,2.76l0.92,2.18l-1.2,1.53l1.51,2.42l-0.12,1.26l1.77,1.39l0.42,2.48l-1.52,0.27l-0.12,1.39l-4.28,0.38l-2.16,1.18l-4.19,-0.67l-0.74,0.79l5.04,1.01l7.7,-1.58l-0.08,1.01l1.78,0.38l0.15,3.34l1.33,0.37l-1.61,2.91l1.54,2.47l-0.64,1.56l1.63,0.02l1.62,-1.44l0.55,0.66l0.9,-0.37l0.42,1.2l-1.79,0.29l-0.81,1.56l1.94,4.81l-0.53,1.75l-0.49,0.33l-0.49,-0.84l-0.43,-2.08l-2.54,-1.36l0.07,2.24l1.07,1.13l-0.9,1.22l-2.52,1.17l-0.21,0.87l3.16,-0.09l2.25,2.48l1.48,-3.64l2.54,-3.15l3.47,-0.41l0.89,-0.97l4.23,1.35l0.88,3.2l2.07,2.53l0.03,5.92l-1.06,1.95l-5.56,3.96l-1.58,3.45l3.83,-4.1l4.86,-3.19l0.7,-1.85l-0.2,-7.51l1.76,-0.2l1.11,3.2l-1.48,4.96l0.81,0.14l0.86,-1.54l1.17,-3.78l1.04,1.05l0.48,5.63l1.0,0.4l-0.27,-3.89l0.92,-3.12l3.42,-2.57l0.63,-2.68l1.04,1.17l0.55,-1.56l1.61,-0.49l-0.5,-3.33l0.91,-1.35l-0.08,-2.13l4.9,2.94l0.38,3.6l-0.65,1.08l1.18,0.8l0.82,-5.76l-2.39,-1.59l-0.76,-2.0l2.26,-0.94l-0.23,-0.75l-1.62,-0.02l0.76,-1.47l1.91,0.43l-0.97,-1.83l2.13,0.56l0.2,-0.65l-1.0,-0.55l1.84,-0.07l0.57,-0.69l-2.51,-0.75l-0.86,0.79l-0.95,-1.14l1.63,-2.34l-1.22,-1.3l1.63,1.03l0.65,-0.66l-1.2,-1.2l0.27,-1.02l-0.91,-0.42l1.58,-0.5l2.03,1.08l1.18,-0.2l-2.5,-1.88l-2.27,-0.15l-2.07,-3.34l1.18,-2.17l2.75,0.78l1.03,-0.65l-2.55,-0.99l0.83,-1.94l-0.92,-1.51l0.72,-3.18l2.37,-0.35l0.39,0.53l-1.02,0.44l0.27,0.84l-1.61,0.8l1.18,1.74l1.8,0.19l-0.93,1.95l1.24,5.32l2.0,1.75l2.73,-2.15l-1.08,1.6l0.96,4.42l1.29,1.97l1.91,0.72l-4.47,-0.11l-0.76,1.69l0.28,1.7l5.87,-0.6l0.77,1.65l1.34,0.35l3.31,-3.48l2.62,1.19l-4.93,3.05l0.59,2.54l0.98,0.39l1.01,-0.96l0.71,0.98l-2.51,3.1l0.08,2.13l-1.41,1.31l0.05,2.0l0.64,0.85l1.8,-0.09l3.0,4.39l1.14,-0.81l1.6,1.6l1.76,0.07l-0.75,1.73l1.5,3.17l-0.87,1.11l0.05,1.7l1.5,1.96l-0.57,1.26l0.73,3.23l-0.83,0.91l0.33,1.16l-0.83,1.87l3.76,4.08l-2.68,0.86l1.07,2.62l1.03,0.74l1.87,-0.08l-0.99,1.19l0.5,1.88l1.22,-0.66l1.2,0.69l2.14,-0.12l-0.88,1.63l0.62,1.68l2.96,2.0l1.05,1.64l2.06,0.9l1.25,-0.5l0.24,1.93l1.03,0.77l-3.29,3.75l0.16,2.77l1.69,1.08l-0.72,7.12l-7.14,-0.89l-2.03,1.25l-2.45,0.1l-3.14,1.95l-3.52,0.02l-2.1,1.19l-2.7,-2.92l-2.07,0.38l-2.35,-0.87l-4.27,-3.5l-2.9,-1.23l-0.87,1.07l1.96,1.57l-0.17,2.11l1.48,1.67l-0.4,1.11l1.8,2.02l-0.87,1.11l-6.47,-3.28l-0.16,-1.16l-1.37,-0.14l-0.77,0.94l0.2,1.29l2.53,2.68l-0.03,1.02l1.44,0.79l-0.02,0.93l1.91,0.16l-1.55,0.44l-0.36,1.99l-2.07,-0.88l-1.48,0.78l0.14,2.15l2.19,2.6l-1.79,5.54l2.42,1.66l0.46,1.12l1.76,0.66l0.23,3.29l0.89,0.64l3.05,-0.25l1.66,2.57l1.09,-0.28l0.81,0.77l-0.36,2.35l0.9,2.89l-0.65,2.01l1.25,4.36l3.53,0.01l1.16,-1.3l-0.51,-4.02l1.22,-0.52l0.08,-1.42l2.1,1.75l-0.84,0.91l0.94,1.83l-0.9,0.76l1.11,2.51l-0.4,0.73l1.33,1.83l-0.78,2.0l1.83,2.63l1.35,0.07l-0.43,-2.68l1.31,0.96l0.94,-0.23l0.96,2.03l3.17,0.35l0.08,-1.35l2.55,0.46l0.37,-3.06l3.66,-0.38l3.28,1.73l0.71,1.7l3.05,0.82l-0.99,1.63l2.72,3.16l2.93,-4.57l-1.46,-1.65l-0.38,-4.86l1.35,-1.05l-1.32,-4.92l1.22,-0.11l-0.3,1.18l2.44,0.0l2.61,3.99l-1.28,-0.17l-0.48,0.73l1.68,1.11l35.01,-11.1l35.07,-12.54l3.42,9.02l-1.77,-0.95l-2.75,2.28l-1.08,0.49l-0.72,-0.49l-2.68,4.19l-1.64,1.25l-1.0,-0.75l-0.11,1.13l-1.43,-0.17l-1.72,1.36l-0.6,1.16l1.14,1.19l-3.26,3.83l1.5,3.76l-0.63,-1.43l-0.81,-0.1l-0.43,2.86l-0.77,0.21l-1.21,2.32l-0.67,3.58l-2.17,1.52l-0.5,1.77l0.65,0.77l-1.2,1.54l-2.9,0.03l-0.31,0.93l-2.71,1.52l-0.41,-0.49l-0.86,0.79l-1.54,-0.22l-0.9,1.3l-6.38,3.28l-0.63,-0.58l-1.77,1.59l-1.49,-1.29l-3.94,1.02l-2.28,-0.28l-3.14,1.2l-0.63,-0.4l-2.2,1.18l-1.14,-0.17l-3.8,2.96l-4.91,-0.34l-3.53,1.93l-3.54,-0.01l-4.49,2.21l-4.62,0.41l-4.94,2.55l-2.65,0.05l-1.66,2.26l-2.24,0.48l-0.93,-0.98l-0.82,0.24l-2.35,4.9l-1.87,1.56l-0.22,2.67l-1.15,0.65l0.37,6.89l-0.9,2.3l-7.12,2.55l-2.85,2.86l1.47,0.84l-1.15,0.54l-0.93,-1.34l-1.01,0.1l0.64,1.28l-1.75,1.62l-0.67,2.63l-3.49,3.63l-0.27,3.11l-1.0,0.53l-1.29,5.65l-2.01,3.09l-1.29,0.07l-2.38,-1.59l-1.96,0.46l-3.06,-1.17l-3.75,0.48l-3.78,-0.53l-1.08,0.61l0.34,0.72l2.87,-0.0l-0.93,0.89l0.77,0.75l4.35,-1.54l4.13,1.14l2.46,-0.31l2.54,1.29l-0.84,6.13l-2.02,2.56l-0.47,3.04l-2.8,1.66l-1.43,6.21l-2.49,2.27l-2.57,4.76l-5.07,3.11l-2.2,0.19l-3.66,3.19l-0.16,1.61l-3.51,3.69l-4.41,2.47l-0.11,1.93l-1.55,0.98l-2.15,5.95l-3.75,2.23l-2.78,3.92l-3.31,-0.18l-4.81,-1.52l-7.53,2.73l-6.18,4.37l-2.82,-1.86l-2.34,0.27l-0.91,1.01l-3.85,-1.06l-3.2,-5.29l-1.74,0.28l-0.33,1.68l-2.91,-1.28l-1.98,-2.69l-4.14,-1.81l-13.22,-1.13l-3.35,-2.85l-6.82,-9.11l-0.54,-3.26l-1.96,-2.87l0.5,-2.68l-6.88,-58.58l1.67,2.7l0.76,-0.3l-2.63,-4.13l-1.45,-10.21l1.8,-2.07l0.51,0.3l-0.05,1.75l1.97,-0.07l1.17,0.94l1.17,4.32l2.02,0.89l-0.92,-1.44l0.7,-2.4l-0.66,-0.48l1.87,-2.2l-1.42,-0.35l-0.2,-1.85l-2.72,-2.34l1.92,-1.2l-0.7,-1.8l1.4,-0.7l1.48,-2.63l0.22,-2.55l1.53,-0.35l-1.62,-0.87l0.35,-0.97l-1.08,-3.34l-1.97,-0.38l0.3,-0.73l-1.54,-2.57l0.77,-0.58l-0.19,-2.18l-1.55,0.32l0.7,-1.5l-0.99,-0.9l-0.91,0.22l0.22,-3.89l-2.13,-4.19l0.97,-1.93l-1.87,-3.11l0.14,-1.17l1.02,0.29l0.34,-0.65l-1.75,-0.7l0.54,-0.95l-0.65,-1.0l0.79,-0.61l-1.92,-1.3l0.47,-1.99l-2.94,0.06l0.37,-1.03l-1.53,-0.25l-1.71,-5.56l-1.6,-1.27l12.54,-7.64l5.83,-5.38l5.76,-8.04l0.03,-1.54l3.67,-6.25l0.7,-7.28l-2.09,-12.99l-4.38,-10.16l-4.3,-5.9l-3.31,-2.21l-0.4,-0.99l-5.76,-2.52l-4.54,-4.12l-1.36,0.49l0.77,-1.64l-1.24,-3.71l2.05,-0.16l1.57,-5.91l2.29,-1.62l0.35,-1.83l0.75,-0.42l-0.01,-0.71l-1.88,-0.96l1.18,-1.28l-0.12,-1.72l-0.72,-0.58l1.56,-0.14l1.48,1.82l1.76,-0.42l-1.31,-0.66l-1.04,-2.07l1.87,-1.5l-1.03,-2.89l1.33,-2.14l-0.47,-0.56l-3.35,0.5l1.59,-1.31l-1.31,-0.85l0.39,-0.86l-0.77,-1.16l-2.18,-1.91l2.59,-3.27l-1.49,-0.49l-1.22,0.52l-1.2,-1.06l2.38,-4.21l-0.95,-0.23l-2.27,1.59l-0.86,-1.07l-2.14,0.94l2.89,-4.95l0.63,-2.61l-1.13,-4.32l1.75,-1.37l-1.13,-1.19l1.27,0.24l0.34,-0.62l-1.23,-1.21l-1.15,-0.05l-0.92,-1.42l-1.99,-0.29l-2.53,-8.09l-0.22,-2.36l0.82,-1.84ZM689.57,666.14l2.97,2.78l0.4,4.81l3.85,2.18l2.91,3.03l-0.08,2.64l1.13,1.65l0.1,-6.44l1.08,-1.92l1.66,-0.63l-0.19,-1.37l1.35,-2.13l-1.37,-1.44l-0.69,-3.39l-0.83,-0.4l0.98,-1.49l-0.24,-1.9l-1.02,-0.45l-0.51,3.11l-1.74,-0.59l0.3,-3.81l-2.42,-1.16l0.9,3.16l-0.05,1.06l-0.54,-0.56l-0.61,0.45l0.5,1.31l-1.72,0.69l-0.92,-1.3l-0.87,2.84l-2.4,-5.39l-0.46,1.1l1.2,4.24l-2.2,-2.96l-0.38,1.02l-0.98,0.1l0.87,1.15ZM641.29,697.73l-1.32,5.35l0.92,-0.27l1.5,-3.61l1.02,0.96l0.17,1.97l1.01,0.68l-1.41,0.75l-2.37,3.12l0.88,0.82l1.32,-0.43l0.12,-1.1l2.26,-2.64l-0.25,-2.25l0.82,-0.6l-1.24,-1.43l-0.37,-2.37l4.08,-9.43l0.55,-0.8l0.05,1.71l-1.74,2.01l-0.84,3.7l4.78,-6.08l0.82,-2.37l3.4,-2.58l-0.15,-0.73l-1.75,-0.25l-0.62,0.53l-0.45,0.12l0.95,-2.03l-4.09,0.13l-2.49,2.35l-3.6,5.35l-2.17,1.13l0.23,2.25l0.66,0.46l-0.68,5.6ZM578.58,653.33l-0.12,0.05l-0.03,-0.04l0.15,-0.0ZM653.17,787.27l4.41,1.1l0.65,0.96l-1.84,0.63l-1.91,2.07l-1.51,-1.14l0.21,-3.62ZM655.64,541.71l0.05,-0.09l0.04,0.01l-0.05,0.06l-0.03,0.02ZM627.38,494.93l0.16,-0.06l-0.08,0.05l-0.09,0.01ZM639.8,499.28l-0.07,-0.03l0.04,-0.08l0.03,0.12ZM657.49,533.45l0.42,-0.03l0.38,-0.21l-0.29,0.53l-0.52,-0.29ZM677.32,543.83l-0.22,-0.37l-0.25,-1.11l0.12,-0.83l0.35,2.31ZM692.9,522.01l-0.29,-0.07l-0.05,-0.23l0.17,0.12l0.17,0.19ZM695.33,499.9l-0.07,-0.73l1.02,0.21l-0.34,0.12l-0.61,0.4ZM696.44,499.35l0.14,-0.3l0.34,0.14l-0.21,0.11l-0.26,0.05ZM721.21,553.5l-0.0,-0.22l-0.06,-0.42l0.12,0.17l-0.05,0.47ZM742.68,638.01l-0.94,-0.91l-1.23,-4.78l2.19,-1.57l-0.57,-3.86l2.03,-0.83l1.87,2.26l0.26,3.08l2.85,1.31l-4.71,1.98l-1.74,3.3ZM572.29,551.83l-0.04,-0.14l0.05,-0.08l-0.01,0.22ZM809.54,639.84l0.11,-0.18l0.38,-0.14l-0.2,0.29l-0.28,0.03ZM794.07,718.76l-0.04,-0.31l0.4,-0.4l-0.02,0.55l-0.34,0.16ZM794.08,721.05l0.12,0.06l0.22,0.03l-0.4,0.14l0.05,-0.23ZM752.05,684.58l3.35,-1.98l12.06,-0.48l7.47,1.06l4.76,2.11l3.86,-0.07l3.15,2.43l-0.94,1.38l-4.79,1.57l-10.21,0.1l-5.99,-1.0l-1.45,-1.91l-4.1,-1.89l-7.17,-1.32ZM652.71,796.39l2.37,-2.89l3.83,-1.92l2.72,-3.56l2.68,-0.68l0.07,-5.26l2.17,-3.82l0.22,-2.72l4.72,-3.18l2.23,-3.77l2.48,-1.6l0.65,-2.03l1.89,-1.12l1.43,-2.03l1.92,0.23l4.53,-3.0l1.48,-2.1l4.17,-2.21l2.66,-2.41l8.34,-16.91l0.68,-3.09l5.71,-8.22l7.34,-7.76l14.54,-11.65l4.17,-2.69l7.07,-3.0l8.62,-0.99l3.41,0.69l4.64,2.34l0.25,0.85l-3.4,-0.34l-0.76,0.51l0.9,1.37l1.21,-0.43l0.13,0.76l3.16,1.24l-0.69,1.61l1.11,0.79l-0.89,1.66l-3.97,2.67l-0.08,2.5l-1.99,0.9l-0.01,1.14l-2.76,2.81l-1.46,0.58l-4.54,-0.82l-1.94,-1.54l-1.61,2.77l-4.74,0.93l-0.62,1.24l-3.97,2.56l-0.15,1.39l-1.26,-0.06l-3.13,2.04l-2.65,-0.67l-0.75,-1.02l-5.83,1.45l-0.09,1.3l-2.99,1.14l1.44,6.32l-1.36,2.4l-4.88,3.54l-0.62,-2.08l-2.76,0.16l-6.09,15.23l0.29,5.14l-1.15,1.5l-0.55,2.85l0.72,1.19l-0.26,2.96l0.87,0.77l-1.38,2.38l0.31,1.47l-2.74,3.32l-0.21,1.82l1.32,1.03l-1.96,-0.13l-0.29,2.78l-1.38,-1.09l-1.81,2.22l-2.46,-0.16l-1.2,1.39l0.52,0.71l-0.6,3.08l-37.0,7.26ZM695.11,673.17l-1.2,-1.89l1.28,-3.57l2.36,-1.72l2.65,0.97l1.12,3.06l-1.49,-2.14l-0.88,0.09l-0.35,1.07l1.59,2.2l1.6,0.33l-0.48,1.45l-1.08,-0.11l-0.18,0.98l-1.7,0.54l-1.79,-1.34l-1.43,0.06ZM699.83,676.44l0.05,-0.39l0.27,-0.52l-0.05,0.36l-0.26,0.55ZM688.63,755.76l1.98,-2.71l0.28,-0.13l-0.38,1.07l-1.88,1.77ZM659.46,787.18l2.28,-1.7l1.54,-2.74l-0.52,3.86l-3.3,0.58ZM659.81,785.25l1.03,-1.6l0.72,-0.51l-0.63,1.6l-1.12,0.51ZM659.11,532.42l0.63,-0.24l0.62,1.37l-0.55,1.27l-0.69,-2.4ZM656.94,791.1l0.16,-0.25l0.89,-0.1l-0.46,0.23l-0.58,0.13ZM652.03,682.85l-1.22,1.65l-0.39,-0.18l0.87,-0.97l0.73,-0.5ZM649.56,685.96l-0.16,0.02l-0.35,0.32l0.38,-0.81l0.12,0.47Z",name:"Québec"},pe:{path:"M769.24,739.85l-0.18,-1.73l2.38,-5.55l0.78,1.7l-0.66,2.7l1.46,0.36l2.27,2.05l-0.46,2.1l1.16,-0.5l0.61,0.64l1.57,-0.17l0.11,-2.32l2.73,1.04l1.06,-0.97l1.95,1.15l7.37,-2.66l0.67,-1.07l5.69,-1.66l-1.8,2.01l-1.67,0.27l-0.29,1.75l-1.05,0.36l0.88,0.75l-1.76,0.32l0.28,1.54l1.91,0.57l-1.06,1.49l1.06,0.39l-2.59,1.13l-1.77,-0.58l-0.25,-2.19l-1.63,-0.62l-1.22,0.39l1.06,-1.86l-0.51,-0.53l-1.64,1.82l-1.07,0.01l0.29,0.75l-0.86,1.0l0.82,0.47l-3.05,-0.53l-1.4,0.5l-2.44,-1.08l0.82,-0.41l-0.92,-1.1l-4.45,1.08l0.16,-2.7l-0.78,-1.42l-0.79,0.92l-2.8,0.36Z",name:"Prince Edward Island"},bc:{path:"M13.68,416.26l38.29,21.56l40.78,20.26l41.78,18.1l42.4,15.79l-37.34,108.94l0.23,2.34l1.36,1.97l-2.01,-0.53l-0.39,1.88l1.81,4.12l2.62,0.69l0.45,3.38l2.09,1.93l1.26,-1.4l0.77,1.04l0.58,1.33l-0.59,0.93l0.97,0.98l-0.26,2.71l1.46,0.32l0.34,1.0l-0.42,9.09l2.27,0.12l0.91,-1.11l1.91,1.91l-1.43,1.59l0.3,1.88l1.42,1.86l3.03,0.67l-0.09,1.84l1.68,3.03l0.35,4.0l1.36,0.39l1.81,-1.22l0.08,2.89l2.0,4.22l-0.25,2.61l1.91,2.06l0.16,2.41l1.93,1.34l1.19,2.3l-0.77,2.06l2.77,3.21l0.39,3.35l2.44,0.37l1.38,4.09l-0.14,5.53l-0.98,2.53l0.11,2.26l-2.3,3.28l1.69,1.46l-0.74,2.47l1.46,4.06l2.11,1.46l0.58,2.44l-54.57,-16.38l-42.44,-14.97l-1.34,-2.34l-2.28,0.42l1.41,-1.4l-1.8,-0.63l1.1,-0.76l-0.62,-1.25l3.35,0.77l1.94,-2.65l-0.87,-0.46l-1.34,1.81l-0.73,-0.02l-2.26,-1.5l3.4,-5.58l-1.54,0.14l-0.64,1.13l-3.29,0.49l-0.74,1.8l-2.22,-2.35l1.18,-1.54l3.24,-0.79l-0.37,-0.66l-2.84,-0.01l-0.59,-2.27l1.35,-1.97l-0.25,-1.64l2.91,-1.08l-0.39,-1.65l-1.48,-1.88l-0.67,0.31l1.11,2.67l-2.3,0.5l-2.93,3.08l-2.88,-0.88l-1.94,-4.22l3.27,-3.87l-0.4,-1.99l0.66,-0.64l2.68,0.23l1.56,-1.1l-0.53,-0.58l-1.92,0.55l-2.02,-0.55l-2.16,1.19l-0.86,-0.52l0.19,-1.72l-0.86,-0.14l3.08,-1.59l1.61,-2.59l-0.54,-1.17l1.94,-1.18l-0.12,-1.14l-0.81,-0.31l-2.3,1.51l0.22,1.81l-0.79,1.69l-3.79,2.15l0.16,-1.29l-1.14,-0.17l-0.23,-1.39l-1.19,0.93l-1.01,-0.17l1.36,-2.4l1.52,-0.77l-0.21,-0.88l-2.03,0.51l-2.34,3.14l-0.55,-2.01l-2.3,0.15l-1.87,-1.12l0.32,-0.73l5.59,0.31l1.71,-1.03l0.34,-1.63l0.94,0.18l1.32,-1.41l-0.32,-3.45l-0.89,0.49l-0.07,2.73l-1.67,0.34l-0.41,1.52l-1.26,0.7l-1.91,-0.24l-0.41,-0.77l-2.03,-0.08l2.36,-1.07l-1.65,-0.62l0.58,-1.2l-0.82,-0.57l1.48,-0.85l-3.03,-1.52l0.13,-2.45l-1.55,2.18l-1.62,0.38l-1.26,-1.83l-1.03,0.28l-2.78,-1.56l-0.03,1.06l-1.91,-2.09l0.18,-0.81l-0.87,-0.64l1.2,-1.71l-2.02,-0.72l-0.34,-2.17l2.39,-0.07l3.73,1.75l1.27,-0.28l0.88,-1.35l-0.59,-0.45l-2.09,0.8l-1.52,-0.85l-0.02,-0.89l-3.06,-0.81l3.0,-0.69l1.92,-2.23l4.52,1.2l3.66,2.02l1.79,-1.19l-0.38,-2.15l-1.39,2.05l-6.12,-3.54l-0.79,0.4l2.07,-2.17l-0.61,-0.83l-2.47,2.04l-1.94,-0.38l0.85,1.33l-1.62,1.97l-1.06,-1.22l0.06,-2.5l1.21,-2.96l1.4,-0.83l1.32,0.33l1.96,-1.48l1.81,0.23l0.25,-1.47l3.62,-0.97l1.19,0.83l1.4,6.84l0.91,-1.43l-1.14,-3.48l0.26,-1.89l2.56,-0.31l-0.5,-0.96l-2.81,-0.06l-1.19,-1.21l0.44,-2.15l3.22,-0.88l1.43,-1.41l0.28,-2.14l-0.81,-1.58l-0.65,0.29l-0.22,3.03l-3.76,1.37l-0.84,1.41l-3.04,0.79l-2.28,0.14l0.03,-1.16l-1.92,1.47l-0.07,-1.06l1.33,-0.79l0.83,-4.09l-2.89,0.28l-1.92,1.56l4.7,-7.11l1.47,-0.62l-1.26,-0.96l-2.19,1.52l-1.33,-1.02l0.85,-4.21l1.01,-1.4l-0.84,-0.43l-0.19,-1.93l-0.88,0.13l-0.66,-1.45l0.74,-2.41l0.91,-0.63l-0.91,-1.26l1.28,0.17l-0.12,1.24l1.75,3.88l0.96,-1.37l3.2,1.11l-0.64,1.96l0.94,-0.15l0.03,2.25l1.24,0.61l0.19,-2.33l-1.0,-3.59l-2.27,-1.32l-1.99,0.31l-1.33,-3.84l1.65,-2.6l1.19,-0.39l1.97,1.07l0.05,-1.0l-1.41,-1.23l1.57,-2.17l-0.99,-0.09l-3.25,1.95l-0.57,-1.39l-0.8,0.06l-0.29,1.7l-0.47,-0.69l-0.66,1.18l-2.69,1.13l-2.16,3.62l-2.66,-9.4l0.18,-1.8l-0.78,-0.55l1.81,-3.54l1.68,4.79l-0.08,-4.94l2.67,1.58l2.23,-0.66l-0.37,-0.7l-1.5,0.3l-1.83,-1.67l-3.38,-0.01l-0.89,-1.25l1.17,-0.49l0.43,-2.86l-1.71,0.68l-0.64,-0.71l0.52,-0.88l0.82,0.14l0.4,-1.89l0.58,-0.0l0.81,5.21l1.31,0.88l-0.43,-2.01l1.95,-1.82l-1.29,-0.41l-0.83,0.73l-0.5,-4.19l1.16,-0.05l1.29,2.42l1.75,0.73l-1.81,-3.81l2.23,-1.4l0.1,-0.88l0.54,-0.4l0.09,1.05l2.0,-0.48l2.14,0.76l0.42,-0.72l-3.37,-1.69l6.34,-5.04l1.97,0.13l-0.21,-0.94l-2.03,-0.26l0.42,-3.12l-0.63,-0.43l-2.89,5.71l-4.38,3.54l0.19,-1.23l3.65,-2.47l1.85,-8.34l3.08,-2.48l0.24,-3.33l-2.86,-2.26l0.24,-1.84l-1.34,-1.53l-0.43,-1.97l-2.66,-2.59l-2.71,-5.17l-2.36,-1.11l1.2,-3.41l-1.5,-2.18l1.9,-2.25l-2.06,-2.5l1.76,-1.48l-0.9,-23.72l0.09,-1.46l0.99,-0.7l-1.5,-7.31l-2.39,-3.93l0.48,-5.51l-0.8,-0.66l-0.18,-2.6l-1.73,-1.64l0.25,-2.83l1.73,-2.27l-1.63,-6.02l-5.6,-0.15l-2.2,-0.69l-1.03,-0.17l-0.14,0.0l-0.63,0.11l0.16,1.76l-1.03,0.68l-1.72,-0.48l-1.53,2.9l-1.84,1.18l-2.14,-0.96l-7.6,0.93l2.24,-5.74l-3.41,-13.53l0.63,-3.0l-1.2,-1.82ZM73.27,652.68l0.29,0.56l-0.5,0.41l0.15,-0.35l0.07,-0.62ZM65.49,639.77l-0.05,0.24l-0.09,0.16l-0.03,0.01l0.17,-0.41ZM46.9,622.45l0.58,0.56l0.35,0.23l-0.42,0.17l-0.51,-0.97ZM45.51,609.91l-0.17,0.0l-0.36,-0.19l0.3,0.13l0.23,0.05ZM49.86,591.97l-0.53,1.61l-0.68,0.46l0.16,-1.83l1.05,-0.24ZM46.31,592.25l-0.74,0.75l-0.66,0.39l0.64,-1.17l0.75,0.02ZM51.41,599.9l0.12,-0.02l0.32,0.0l-0.13,0.19l-0.3,-0.17ZM55.89,626.23l-2.74,-0.27l-0.32,-0.43l0.61,-0.51l2.44,1.22ZM55.17,631.07l-0.22,-0.02l-0.62,-0.24l0.11,0.01l0.74,0.26ZM72.62,660.16l-1.15,-1.36l-0.28,-2.05l0.99,-1.2l0.44,4.6ZM76.93,661.93l0.48,-0.35l0.04,0.63l-0.15,-0.16l-0.38,-0.13ZM76.29,664.18l0.11,-0.16l0.39,-0.19l-0.22,0.27l-0.28,0.08ZM71.32,674.26l-0.21,-0.6l0.34,-1.42l0.54,1.27l-0.67,0.75ZM70.18,655.53l-0.06,-0.38l0.7,-0.3l-0.51,0.61l-0.13,0.07ZM32.64,621.08l0.68,-0.17l-0.74,-1.07l0.22,-1.3l5.36,0.74l3.39,3.27l-0.02,1.6l0.6,-0.15l4.55,5.7l6.73,4.07l1.93,2.25l4.68,3.02l0.26,7.98l1.84,4.7l-1.4,0.36l0.69,4.35l2.14,2.76l3.72,2.75l-0.42,0.9l2.04,1.19l-0.26,1.6l1.09,0.84l0.1,1.41l-1.08,0.55l1.57,3.71l-1.15,0.93l0.85,1.83l-0.98,2.32l0.85,0.38l1.35,-1.36l-0.07,3.71l-1.43,-1.03l-2.12,1.49l-0.76,-0.26l-6.76,-6.52l0.14,-0.88l-2.79,-1.25l-3.6,-4.45l-0.31,-1.19l5.54,-2.62l1.13,-1.58l-0.22,-2.1l-2.58,3.54l-2.64,-0.93l-1.1,0.36l-0.45,-0.34l0.86,-0.46l-0.95,-1.1l-2.44,1.38l-0.89,-1.16l-1.27,-2.46l2.18,-0.5l0.91,-0.99l-0.46,-0.57l-1.28,0.35l0.96,-2.94l-0.65,-0.54l-1.11,1.17l-1.57,-0.16l1.04,-0.37l1.32,-2.07l-0.7,-0.23l-1.4,1.27l0.29,-2.16l-1.77,0.02l-0.5,-1.02l-0.8,1.05l-0.81,-2.22l-1.16,0.39l-0.16,0.81l-0.28,-0.45l1.23,-2.55l5.26,1.02l0.36,-1.01l-3.85,-1.53l1.24,-1.08l-0.63,-1.0l-1.68,0.97l0.63,-3.12l-0.98,-0.43l-0.6,-2.02l-1.45,-0.4l-0.81,1.52l-1.65,-0.66l-0.32,-1.71l2.46,-1.59l0.4,-1.05l-1.6,0.13l-1.02,-1.33l-1.3,1.56l-0.46,-0.99l0.8,-0.46l-0.19,-1.5l-2.04,0.4l0.25,-1.15l-2.51,0.74l-0.68,-0.62l2.5,-1.18l-0.61,-0.93l0.54,-0.89l-1.5,-1.03l1.07,-1.19l3.27,0.93l0.71,2.43l0.68,-0.27l-0.22,-2.73l2.1,-0.71l-5.12,-3.14l0.17,1.47l1.91,1.19l-5.13,-1.05l-1.14,-3.24ZM42.73,638.87l0.18,0.66l-0.39,0.25l0.21,-0.91ZM48.16,658.18l-0.19,-0.14l-0.04,-0.06l0.11,0.01l0.12,0.19ZM65.5,652.35l2.27,2.11l0.58,2.49l-1.49,-2.95l-1.36,-1.66ZM68.05,643.88l-0.05,0.24l-0.39,0.41l0.11,-0.31l0.33,-0.33ZM67.01,658.01l0.26,0.09l0.46,0.37l-0.41,-0.15l-0.3,-0.32ZM65.56,642.66l0.9,0.14l-0.27,0.67l-0.55,-0.11l-0.08,-0.69ZM66.41,644.41l0.09,0.18l-0.5,0.24l-0.01,-0.2l0.41,-0.22ZM63.88,645.46l-0.21,-0.95l0.93,-0.53l-0.29,1.49l-0.43,-0.01ZM63.51,655.92l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM61.36,639.62l0.04,-0.17l0.14,0.12l-0.07,0.05l-0.11,0.0ZM62.49,639.49l0.42,-0.95l0.59,0.96l0.17,3.08l-0.26,-2.27l-0.92,-0.82ZM61.23,643.16l0.03,-1.75l0.74,-0.6l0.33,1.46l-1.11,0.89ZM60.56,638.05l0.47,-0.38l1.13,-0.03l-0.83,0.65l-0.77,-0.24ZM59.53,637.03l0.18,-0.02l0.48,0.11l-0.61,-0.06l-0.05,-0.04ZM56.7,635.33l0.86,0.09l0.09,0.38l-0.33,-0.07l-0.61,-0.41ZM47.05,600.72l2.52,-3.17l6.61,-1.18l-0.51,1.31l-4.2,0.56l-2.9,2.62l-1.53,-0.13ZM51.25,628.36l2.59,-1.08l1.31,0.42l0.04,0.85l-1.28,0.95l-2.66,-1.14ZM51.19,630.96l1.85,0.01l0.22,0.32l-0.39,0.14l-1.68,-0.47ZM49.16,624.77l0.02,0.01l0.0,0.06l-0.02,-0.07ZM50.08,625.28l0.07,-0.07l0.64,0.3l-0.56,-0.01l-0.15,-0.22ZM48.4,587.0l0.14,-1.17l0.6,0.19l-0.53,0.82l-0.2,0.17ZM45.28,570.42l0.29,-0.57l0.16,-0.22l-0.2,0.65l-0.25,0.13ZM45.8,569.53l1.13,-1.95l2.4,0.2l-0.72,1.13l-2.81,0.62ZM45.97,597.4l0.63,-0.09l0.89,0.46l-0.56,0.43l-0.96,-0.8ZM46.73,596.18l1.01,-0.33l-0.49,-0.88l0.72,0.24l-0.14,1.53l-1.1,-0.57ZM44.4,591.29l1.02,-0.72l1.98,-5.16l-1.2,4.81l-1.8,1.07ZM41.13,582.84l0.04,-2.1l0.67,0.54l0.37,-0.87l3.25,-1.66l-0.98,-2.79l-0.6,0.02l1.1,-2.33l2.74,4.19l-0.64,3.91l-2.91,4.7l-0.83,-0.37l0.76,-1.87l2.26,-2.34l0.28,-1.43l-1.65,0.38l-2.15,3.48l-0.91,0.15l-0.83,-1.63ZM44.49,586.33l0.0,0.03l-0.02,-0.02l0.02,-0.0ZM43.58,576.61l0.66,1.48l-2.46,1.26l-0.04,-1.71l1.83,-1.04ZM42.97,587.05l1.52,0.5l-0.57,2.32l-0.91,-1.61l-0.04,-1.22ZM43.46,542.33l-0.02,-0.54l3.49,-1.73l-2.18,1.92l-1.29,0.35ZM46.87,655.68l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM44.85,572.36l0.01,-0.26l1.86,-1.75l-0.47,2.63l-1.39,-0.62ZM45.33,652.85l0.48,-1.03l0.67,0.05l-0.21,1.74l-0.94,-0.76ZM42.7,600.88l1.89,-2.0l1.62,0.26l-2.46,4.01l0.03,-1.71l-1.08,-0.57ZM43.96,597.71l0.09,-1.03l1.12,-0.67l-0.62,1.32l-0.6,0.37ZM43.69,595.14l0.27,-0.49l0.51,0.28l-0.61,0.53l-0.16,-0.32ZM40.64,642.42l1.43,-0.61l-0.76,-0.86l1.66,-0.07l0.6,0.8l-1.0,3.81l-1.93,-3.08ZM41.58,608.24l0.22,-2.76l1.49,-0.67l-0.54,4.43l-1.17,-0.99ZM41.45,575.4l0.26,-1.41l1.63,-1.34l-0.96,3.17l-0.92,-0.42ZM41.25,591.58l0.36,-2.24l0.32,-0.39l0.56,0.41l-1.24,2.22ZM41.52,542.29l0.92,-0.2l0.04,0.0l-0.38,0.77l-0.57,-0.58ZM37.32,560.75l0.55,-1.25l-0.44,-0.75l0.81,-0.37l1.97,4.36l0.94,4.51l-0.92,0.17l0.21,0.68l1.4,1.38l-1.79,1.53l-0.23,1.15l-1.37,-5.61l1.36,-2.66l-2.01,-1.21l0.25,-1.11l-0.75,-0.82ZM38.12,563.82l-0.21,0.15l-0.18,-0.06l0.16,-0.11l0.23,0.02ZM40.09,551.37l0.12,-0.25l0.34,-0.21l-0.2,0.34l-0.26,0.12ZM38.87,583.4l0.33,-2.35l1.34,4.3l-0.73,1.53l-0.95,-3.48ZM39.97,554.02l0.01,-0.26l0.12,-0.15l0.17,0.38l-0.3,0.03ZM39.41,574.37l0.05,-0.86l0.56,2.86l-0.15,0.8l-0.46,-2.8ZM38.81,636.1l0.02,-0.04l0.01,0.01l0.01,0.02l-0.04,0.02ZM36.0,544.84l1.15,-1.7l0.93,0.78l-0.43,0.41l-1.65,0.51ZM33.38,556.4l0.03,-0.04l0.04,0.11l-0.07,-0.07ZM34.97,554.87l2.69,-0.5l0.49,1.68l-0.08,0.84l-1.9,1.13l-0.24,-0.64l1.94,-0.78l0.12,-0.89l-1.57,-0.45l-0.97,1.11l-0.49,-1.49ZM37.19,573.52l0.12,0.1l0.17,0.59l-0.22,-0.31l-0.08,-0.39ZM32.8,562.24l0.45,-0.7l0.45,0.35l2.97,4.84l0.26,5.13l-1.43,-0.5l-0.37,-3.33l-1.63,-2.24l-0.14,-1.69l0.87,-0.41l-1.44,-1.43ZM35.07,560.95l1.21,-0.39l0.7,1.39l-0.5,1.33l-1.42,-2.32ZM34.98,550.97l0.11,-0.11l0.25,0.66l0.06,0.42l-0.02,0.03l-0.41,-0.99ZM9.63,550.74l0.94,-3.63l-1.0,-0.91l0.61,-0.4l-0.14,-1.49l2.18,-1.79l0.84,-1.77l3.53,2.7l-2.1,1.55l-0.15,0.93l4.15,-1.1l0.82,0.23l0.38,2.12l-0.58,2.09l-1.81,0.84l-4.92,-0.51l-0.08,1.66l1.42,0.52l-0.46,1.19l4.46,-0.42l0.44,-1.5l2.06,-1.36l0.52,-2.22l1.91,0.69l2.51,-0.26l-6.35,6.43l-1.95,4.43l-1.3,1.07l-2.45,-0.68l-2.47,0.46l-1.08,-2.8l1.55,-0.1l0.49,1.19l0.99,-0.9l-0.51,-2.05l-1.03,-0.96l0.24,-0.95l-0.65,-1.04l-0.81,0.17l-0.18,-1.41ZM9.63,555.39l-0.19,-0.06l0.1,-0.07l0.09,0.13ZM9.22,560.26l4.7,1.56l3.09,-0.19l-0.5,0.93l0.84,2.28l-1.54,-1.24l-1.76,-0.62l-0.57,0.44l0.18,1.57l1.54,-0.22l1.49,1.66l-0.45,0.79l-1.67,-0.13l-0.97,-1.76l-1.41,0.96l1.13,0.77l-0.98,2.53l0.88,1.12l-0.53,3.05l1.34,1.42l0.26,0.91l-0.47,0.44l-2.35,-4.76l-0.66,-3.28l1.18,1.12l0.51,-1.36l-0.8,-2.18l-1.38,1.18l-0.48,-3.08l1.59,1.01l1.16,-1.6l-3.41,-2.39l0.01,-0.97ZM13.68,576.98l0.77,3.02l-0.35,0.26l-0.72,-0.39l-0.43,-2.31l0.73,-0.59ZM15.02,580.68l0.03,0.01l-0.01,0.03l-0.01,-0.04ZM15.12,581.11l0.09,0.21l-0.08,0.07l0.01,-0.07l-0.02,-0.2ZM16.04,581.92l0.28,0.15l0.16,-0.01l-0.23,0.19l-0.21,-0.33ZM15.54,580.45l0.02,-0.36l0.45,-0.11l0.17,0.59l-0.65,-0.13ZM13.0,576.92l-0.13,-0.08l0.01,-0.05l0.07,0.08l0.04,0.06ZM14.54,571.61l0.03,0.04l0.11,0.01l-0.16,0.04l0.02,-0.08ZM15.25,571.87l0.28,0.01l0.58,-0.26l-0.53,0.92l-0.33,-0.67ZM15.16,583.7l0.03,-0.12l0.17,-0.25l0.1,0.28l-0.3,0.09Z",name:"British Columbia"},yt:{path:"M99.9,241.74l2.97,2.91l3.27,1.52l3.63,4.87l0.6,7.06l1.7,0.59l0.4,3.07l3.81,6.94l1.36,0.8l1.09,2.36l1.9,0.57l-11.85,21.13l-0.58,1.5l0.84,1.37l-0.55,2.17l-1.23,1.62l-0.36,2.35l-2.22,1.68l-1.26,3.47l14.63,8.28l-0.45,0.78l0.89,3.72l-1.18,1.06l0.09,3.77l-3.88,3.76l1.31,1.97l-0.91,1.75l-1.85,1.06l0.32,1.03l-0.74,1.47l1.78,1.57l2.31,-0.42l1.52,0.54l-1.27,1.1l0.35,1.2l1.31,0.21l2.22,-1.21l0.27,1.26l1.01,0.21l-2.9,1.53l0.78,2.27l-0.08,3.66l-5.53,3.93l-2.43,0.63l-0.27,1.37l1.59,0.51l-0.7,1.31l1.05,1.7l-1.75,0.48l-0.7,1.7l-1.68,0.84l0.08,1.28l1.82,1.02l1.34,2.27l-0.01,2.15l1.22,2.06l-1.67,1.12l-0.4,1.41l1.66,1.01l2.55,-0.73l1.23,1.28l-0.11,4.86l-0.84,0.83l-0.15,1.89l2.25,5.83l1.55,1.63l-1.75,0.01l-0.68,0.79l2.13,2.94l-0.05,2.63l-1.48,1.48l-2.07,0.18l-0.81,0.97l1.31,2.45l-0.28,2.33l1.55,1.11l-2.93,2.76l0.39,4.52l-1.1,1.81l1.21,0.35l1.19,2.39l-1.55,0.62l-0.97,4.11l-1.11,0.79l1.1,1.56l1.98,0.93l0.51,1.51l2.31,-0.36l0.59,5.79l1.09,0.63l-0.38,3.07l0.84,2.24l1.52,2.86l2.17,0.81l0.74,1.3l-0.91,5.2l-1.71,1.78l0.21,1.0l1.02,0.01l-1.32,3.55l0.04,2.37l0.9,-0.15l0.76,1.06l1.68,-0.65l1.88,1.47l1.27,-1.19l1.39,1.75l1.48,-1.19l3.85,3.92l2.18,-0.54l2.61,0.9l1.33,-1.65l1.56,0.69l-0.24,3.02l-2.02,1.63l0.34,4.36l1.61,0.99l-0.73,2.35l0.28,4.82l-0.91,1.18l-52.11,-22.5l-28.56,-14.1l-24.05,-12.91l-23.42,-13.53l-0.11,-1.79l3.21,-3.12l0.08,-1.24l-5.14,-2.7l-3.89,0.93l-2.41,-4.18l-1.66,0.64l-2.54,-3.47l99.42,-158.23ZM110.53,248.98l1.12,-0.26l0.66,1.18l-1.67,0.15l-0.12,-1.07Z",name:"Yukon"},nb:{path:"M711.42,743.4l4.88,-3.44l1.67,-2.57l-1.15,-6.84l2.7,-0.66l0.09,-1.3l5.1,-1.27l0.53,0.94l3.2,0.99l0.62,-1.14l2.68,-1.28l1.53,0.15l0.32,-1.87l1.78,-0.33l3.5,-2.52l0.93,0.83l6.82,0.46l2.82,4.06l4.5,-4.8l1.26,-0.71l0.41,1.01l2.56,-1.38l-0.51,0.9l1.22,0.58l-0.67,2.74l0.48,4.67l-3.72,5.12l2.64,0.43l3.85,-1.89l0.54,1.22l-0.64,2.18l1.73,2.28l-0.1,1.13l1.88,-0.05l0.76,2.83l1.48,0.9l-0.59,1.93l1.96,-0.46l0.23,1.66l4.02,-0.96l1.4,0.81l2.16,-0.91l2.12,0.21l-2.95,1.52l0.3,1.48l-0.94,0.55l-0.72,2.11l-1.22,-0.13l-0.53,2.15l-1.32,-1.94l-3.9,-2.32l3.2,3.71l-1.03,4.22l-1.71,0.5l-8.21,9.21l-1.85,1.2l-2.25,-0.95l0.9,-1.59l-0.53,-1.41l-2.29,3.0l1.52,1.27l-0.32,0.86l-1.78,0.25l-0.87,2.28l-1.24,-0.74l-1.86,1.85l-1.9,0.31l0.01,-0.72l-1.71,-0.72l-1.2,1.53l-1.8,-1.85l-1.44,2.06l-1.91,-1.39l-1.05,-5.84l-4.88,-0.68l-0.29,-3.7l-5.75,-20.08l-6.62,-3.72l-7.05,4.81l-1.78,-0.76ZM746.71,774.61l-0.04,0.04l-0.08,0.14l-0.05,-0.07l0.17,-0.11ZM759.72,722.42l-0.02,-0.05l-0.0,-0.01l0.06,0.02l-0.04,0.04ZM768.58,746.15l0.01,-0.09l0.03,0.05l-0.05,0.04ZM759.92,720.39l0.52,-0.56l0.81,0.01l-0.55,1.43l-0.78,-0.88ZM760.91,718.13l0.09,-0.3l0.01,-0.4l0.08,0.22l-0.18,0.48ZM748.69,781.87l0.11,-1.21l0.29,-0.8l0.38,1.59l-0.77,0.42Z",name:"New Brunswick"},nl:{path:"M818.49,689.15l0.02,-0.65l1.55,-2.42l1.38,1.36l-2.94,1.71ZM822.12,687.09l0.09,-0.28l0.2,0.08l-0.18,0.14l-0.11,0.06ZM824.04,685.87l-0.05,-9.48l0.64,0.38l1.82,-0.8l1.87,1.03l2.29,-0.74l-0.5,-0.76l-2.26,0.05l-0.8,-1.03l2.21,-0.76l0.36,-1.83l-1.2,0.28l-0.06,-1.05l-3.24,1.03l-0.72,-2.28l1.19,-3.08l1.98,1.73l-0.15,-1.35l2.27,-0.23l-3.27,-1.53l-0.87,-1.68l0.65,-17.4l2.04,-1.08l-2.31,-0.88l1.93,-2.2l0.89,-2.81l-0.87,-1.18l0.9,-3.28l-0.48,-3.01l6.52,-8.45l0.7,1.99l2.84,-0.55l0.35,-1.06l-1.21,-0.63l1.45,-1.04l0.84,0.68l-0.78,0.93l0.95,0.36l0.12,1.05l-0.92,1.43l-4.26,0.62l-0.95,0.99l0.23,0.79l1.02,0.19l0.13,1.52l1.83,0.78l1.53,-1.81l0.9,1.86l-0.65,0.47l0.31,2.92l-0.78,3.08l-0.82,-2.1l-0.61,-0.28l-0.62,0.97l1.97,3.56l-1.37,3.22l0.66,0.38l-0.55,1.91l-0.98,0.27l0.99,1.57l-0.14,2.05l-1.11,1.58l-0.03,3.77l0.85,1.9l-0.97,1.75l1.61,0.47l0.47,3.3l0.68,-0.49l1.16,-6.05l0.4,-0.71l1.07,0.13l-0.16,-3.28l0.95,-2.77l0.79,0.59l-0.18,3.42l0.93,-0.5l0.35,-1.41l1.06,0.05l-0.0,-1.09l2.77,0.99l2.22,-2.07l-1.66,3.19l-2.66,2.53l-0.74,3.71l0.9,0.17l0.71,-2.13l1.15,-0.64l-0.26,1.38l0.59,0.25l-1.6,3.0l0.53,0.67l2.71,-2.86l2.45,1.63l0.59,-1.21l0.32,0.99l0.71,-0.1l0.19,-1.95l0.79,0.49l-0.13,1.27l2.17,0.02l0.11,-0.88l0.52,1.06l-0.93,2.32l1.03,0.85l-0.22,1.48l2.24,-2.29l-0.65,-0.61l-0.51,0.55l-0.18,-1.15l1.53,-2.5l0.41,1.47l0.7,-1.52l1.67,-0.42l1.17,-5.2l2.42,3.97l0.26,-3.2l1.64,0.58l1.0,-2.39l1.68,-0.45l5.77,0.89l-0.64,2.87l0.81,0.8l-2.57,1.5l-0.11,1.54l0.91,0.29l-1.15,0.8l0.16,1.13l-1.86,1.47l0.58,1.24l1.42,-1.37l0.14,0.84l1.0,0.06l1.38,1.5l-0.02,1.59l1.84,-0.67l-2.93,2.73l-0.16,1.46l0.67,0.47l2.12,-2.82l0.83,1.31l0.65,-1.99l2.06,-0.03l0.87,-2.6l-0.28,-1.66l2.47,0.79l0.94,-3.37l0.86,0.76l0.31,2.82l-0.8,1.71l-2.03,0.34l0.22,1.79l-1.79,3.06l-3.22,0.02l-0.41,1.32l1.35,1.88l2.18,-0.61l-1.93,0.8l0.21,0.92l1.9,-0.22l1.18,-1.04l-0.06,1.61l-1.04,0.83l0.85,0.23l0.02,1.22l-1.26,-0.75l-0.84,0.55l2.04,2.42l3.09,1.38l0.28,0.85l1.71,-1.1l-0.83,-3.75l0.52,-5.24l1.91,-1.36l0.72,-2.61l0.43,0.3l-1.04,7.55l0.77,1.14l-0.42,1.63l0.51,0.96l0.88,-0.04l0.66,1.71l1.03,0.06l1.96,-4.0l-0.45,-3.72l1.84,1.57l0.18,1.36l1.14,0.61l-0.5,3.74l0.6,3.82l-0.59,0.45l1.18,0.95l0.77,4.09l-0.98,3.43l-1.51,-1.06l-1.64,0.27l-1.5,2.87l-1.09,-2.43l0.65,-2.17l-1.23,-1.29l-1.09,-0.0l0.54,-2.43l-1.62,-1.32l-2.29,7.81l-0.69,1.14l-1.16,0.24l-0.62,-6.94l0.67,-0.26l-0.92,-0.96l1.1,-3.35l-1.4,0.01l-0.71,-2.4l-3.07,-3.37l-1.38,-0.56l-0.33,0.87l-1.83,-0.48l-0.28,0.71l0.99,0.27l0.23,1.41l-0.7,1.6l0.37,1.7l-0.69,0.17l-0.99,4.53l-0.72,0.7l-0.95,-0.72l-0.75,0.59l-1.68,5.5l1.08,1.66l-1.06,0.18l0.45,2.57l-1.17,0.7l-0.02,0.81l-1.87,-0.71l-1.27,2.06l-1.9,0.6l-1.62,-0.42l0.46,-2.28l3.89,-2.8l1.31,-3.14l-0.02,-3.56l2.27,-1.82l1.78,-4.22l-1.59,0.08l-2.16,2.36l-0.07,-3.54l-0.96,3.25l-2.76,0.48l-0.96,-0.77l-0.73,0.71l0.13,1.83l1.21,0.81l0.24,1.37l-1.1,0.92l-0.26,-0.99l-1.08,-0.43l-0.8,1.48l-0.85,-1.66l1.28,-1.85l-0.83,-0.14l-1.53,1.71l-0.77,-0.1l0.26,-4.71l-1.06,-0.99l-0.16,3.43l-1.49,2.1l-0.11,-1.33l-0.54,0.35l-1.26,-0.92l0.77,2.76l-0.54,1.27l-1.32,-1.89l0.31,2.6l-4.86,1.56l0.52,1.58l-2.48,-0.05l-1.5,0.92l-0.74,-0.93l-1.47,1.43l-0.63,-0.85l-2.38,0.77l-0.77,1.11l-1.38,-0.43l-0.81,0.72l-1.26,-0.76l-3.66,2.09l-0.87,0.03l0.41,-1.32l-0.5,-0.16l-1.15,0.85l-0.09,1.71l-1.35,0.05l-1.6,1.8l-5.51,2.43l-3.59,-4.46l3.45,-5.51l1.99,-5.3l3.51,-4.35l-0.91,-0.21l-2.2,1.3l-1.98,-0.14ZM875.12,662.32l0.01,-0.05l0.03,0.05l-0.04,0.0ZM877.63,662.89l0.01,0.0l-0.0,0.01l-0.0,-0.01ZM877.65,663.11l0.18,0.25l-0.68,1.05l-0.32,0.16l0.81,-1.47ZM877.92,687.63l0.03,0.05l-0.01,0.02l-0.03,0.0l0.01,-0.07ZM861.05,691.78l-0.07,0.12l-0.12,0.06l0.18,-0.19ZM860.08,692.69l-0.48,0.59l-0.29,-0.1l0.05,-0.05l0.72,-0.44ZM879.4,666.53l0.09,-0.58l0.24,-0.6l0.19,0.13l-0.51,1.05ZM875.09,662.18l-0.1,-0.13l0.04,0.02l0.06,0.11ZM856.71,657.24l-0.75,-1.19l0.65,-0.66l0.34,0.61l-0.23,1.24ZM855.59,655.75l-0.04,-0.03l0.02,-0.02l0.02,0.05ZM854.12,657.33l0.0,-0.25l0.09,-0.07l-0.09,0.32ZM880.23,672.13l2.14,-0.42l1.19,-1.04l0.07,0.96l-3.4,0.5ZM880.31,686.28l0.4,-1.02l-0.02,0.87l-0.39,0.14ZM880.62,683.42l-0.08,-0.03l0.05,-0.13l0.03,0.16ZM865.38,648.2l1.06,0.13l0.06,-1.23l0.98,0.8l-1.68,2.0l-0.43,-1.69ZM859.69,653.01l0.19,-0.17l0.32,0.44l-0.25,-0.18l-0.25,-0.09ZM860.58,653.35l0.24,-0.05l0.02,0.23l-0.08,0.03l-0.18,-0.21ZM861.92,651.98l-0.05,-0.37l0.49,-0.4l0.03,0.24l-0.48,0.53ZM862.01,654.58l0.02,0.04l-0.01,0.11l-0.04,-0.08l0.03,-0.06ZM859.27,690.37l0.8,-0.58l0.4,0.51l-0.91,0.12l-0.29,-0.05ZM850.53,655.89l0.16,0.11l-0.16,0.24l-0.04,-0.3l0.04,-0.05ZM850.64,657.23l0.03,-0.01l-0.01,0.06l-0.01,-0.05ZM843.72,636.73l0.01,-0.34l0.77,-0.76l-0.18,0.87l-0.6,0.23ZM838.14,616.17l0.06,-0.8l0.21,-0.21l-0.04,0.83l-0.22,0.19ZM695.98,500.41l0.18,0.94l1.28,-1.03l0.89,0.17l-0.49,0.97l0.49,0.51l1.04,-0.8l-0.45,1.69l-1.25,-1.45l-1.19,0.27l-0.74,-0.45l0.23,-0.83ZM697.79,503.53l-0.02,0.02l-0.01,-0.01l0.03,-0.01ZM697.64,505.65l1.21,-1.47l1.28,-0.58l-1.17,1.01l1.54,0.5l-0.46,1.78l1.72,-1.6l0.96,0.23l-0.44,0.91l0.94,0.13l0.19,0.94l-0.54,1.1l1.68,1.31l1.18,-0.26l0.02,3.21l0.84,-2.29l0.23,1.88l0.69,0.1l0.53,-1.32l1.06,0.32l-0.12,1.5l-2.03,0.86l-0.08,1.13l3.15,-0.37l-0.39,1.97l0.59,0.39l1.72,-2.67l-0.32,2.47l1.1,0.04l0.63,-0.88l0.72,0.85l-2.24,2.64l-2.49,0.28l-0.46,1.71l1.19,-0.29l1.34,1.07l-0.23,-1.4l2.96,-0.87l1.44,-1.67l0.57,0.35l-0.78,0.64l1.02,0.38l0.03,1.4l1.0,-0.21l-0.78,1.74l2.04,0.19l0.51,-1.11l1.44,0.52l-0.71,1.87l2.06,0.47l-2.1,3.43l-2.7,0.75l-0.46,1.24l1.75,-0.45l-1.47,3.18l0.46,0.75l2.4,-3.97l1.0,-0.4l-0.29,1.33l0.62,0.69l0.61,-1.65l3.89,-2.46l-0.44,1.25l0.84,1.88l-2.01,1.41l0.22,1.67l-1.45,0.73l0.32,0.82l-1.25,1.46l0.46,0.55l-1.25,1.18l0.44,0.58l2.18,-1.12l1.11,-2.84l3.0,-1.1l1.22,1.28l0.4,-0.76l0.95,0.44l-1.65,0.65l-0.96,2.27l1.99,-1.2l1.31,1.64l1.0,-1.67l0.97,-0.03l0.02,-0.85l0.69,2.75l1.36,0.21l1.74,1.86l-1.38,1.23l-0.03,0.93l-1.56,0.45l-0.27,1.54l-2.01,-0.32l-0.06,0.88l2.15,0.88l2.0,-1.35l2.59,0.11l0.7,1.91l-0.99,0.53l0.14,0.95l2.83,0.91l3.06,-0.99l1.01,0.4l0.47,1.67l-1.35,0.99l-0.33,2.98l-2.27,1.06l0.26,2.44l-4.73,-0.44l3.45,-1.47l-0.57,-0.9l-4.31,1.04l-0.71,1.4l0.36,0.64l5.06,0.99l-0.89,0.22l0.17,0.9l5.89,-0.44l-3.97,1.63l0.0,1.56l3.06,-0.22l0.93,0.79l-2.47,0.9l-0.17,1.07l2.07,0.91l5.38,-1.88l0.35,1.69l-0.68,2.36l1.47,0.69l2.6,-1.03l0.58,0.38l-0.91,1.14l1.33,0.47l3.43,-1.17l-0.22,1.19l-1.47,0.65l0.77,0.93l1.92,-0.77l0.6,-1.24l0.98,4.06l0.76,-1.77l-0.15,-3.1l1.12,0.13l-0.84,3.45l1.26,-0.6l0.01,1.78l0.89,0.11l-0.27,2.61l1.02,-0.07l-1.18,3.59l0.63,0.48l0.6,-0.86l-1.21,2.98l0.49,1.28l3.47,-6.14l0.23,0.96l0.8,-0.89l-1.12,3.19l0.8,0.87l2.91,-6.78l0.73,1.37l-1.85,1.52l0.31,1.13l2.05,-0.32l2.32,-1.98l0.58,0.28l-2.41,5.52l0.29,3.02l1.46,-1.28l-0.4,-1.77l2.11,-3.94l1.35,0.79l2.26,-3.74l0.21,2.07l1.58,0.35l-0.61,1.5l1.66,0.68l5.65,0.03l0.38,-1.14l1.25,-0.48l0.78,0.67l1.95,-0.14l1.19,-0.94l2.32,1.16l2.02,-1.08l0.99,0.79l0.48,1.14l-2.84,1.38l0.43,0.75l1.46,-0.47l-0.65,1.12l-5.22,2.32l-0.63,1.34l0.44,0.77l-3.95,3.54l-8.17,4.8l0.02,0.77l1.19,0.5l4.37,-2.64l1.08,0.42l-4.24,4.4l-3.76,0.96l-0.33,1.08l-1.99,0.98l-0.44,0.59l1.0,0.76l0.75,2.72l-9.59,-2.25l0.24,2.79l3.26,-0.69l6.62,1.59l-2.62,2.85l0.38,0.99l1.55,-0.45l-1.56,1.55l3.83,-1.13l-0.17,-1.13l2.33,-3.51l-0.19,-0.73l2.55,-1.52l1.37,-2.76l2.28,-1.08l0.45,-1.73l-0.83,-0.68l1.23,-2.95l6.14,-5.14l3.25,-0.59l0.5,-0.7l-0.75,-0.57l-2.52,0.21l-1.58,0.38l-0.93,1.24l-0.95,-0.28l1.37,-1.89l8.21,-1.63l3.58,4.01l1.26,0.49l0.19,1.3l-3.07,4.15l2.41,-0.36l0.55,2.8l1.35,-0.49l1.29,-6.18l2.41,-1.22l0.54,0.16l-0.83,0.48l0.48,0.53l4.11,-0.47l3.9,1.29l0.98,1.79l1.33,-0.9l0.39,1.44l0.81,-0.21l0.24,1.44l1.23,0.68l-1.72,1.23l0.93,0.4l-0.08,0.69l-2.54,1.2l1.26,1.15l1.97,-1.07l1.65,1.48l-3.37,2.2l3.17,1.61l-1.49,0.4l-0.08,0.83l1.44,-0.22l-1.61,1.71l-3.51,0.6l1.1,0.54l6.54,-1.37l2.3,0.38l0.34,0.7l-1.48,0.14l-0.04,0.72l-3.99,-0.27l-0.53,0.74l5.51,1.03l1.88,2.39l-0.87,0.56l0.29,1.1l-1.42,0.52l0.83,1.52l-2.14,3.49l-3.89,4.33l-0.58,3.39l-1.14,0.3l0.15,1.24l-0.9,0.28l-4.06,-9.59l-35.42,12.67l-33.81,10.74l-2.68,-5.23l-2.2,0.09l-0.59,-1.58l-1.29,0.17l1.45,-2.72l4.48,-1.81l0.57,-0.88l-2.9,-1.63l-0.29,-2.93l-1.86,-2.41l-1.73,-0.29l-1.8,1.2l0.41,3.96l-1.42,0.33l-0.67,1.47l1.29,5.09l2.22,2.68l0.71,3.75l-1.29,0.7l0.01,3.15l0.4,2.47l1.35,1.35l-2.11,3.15l-1.95,-2.06l1.05,-1.0l-0.33,-1.03l-3.13,-0.86l-0.59,-1.61l-3.59,-1.9l-4.28,0.45l-0.57,3.04l-2.11,-0.54l-0.52,1.3l-0.89,0.16l-1.53,-0.59l-0.78,-1.85l-1.06,0.18l-1.91,-1.18l-0.45,2.74l-1.16,-2.28l0.83,-1.83l-2.01,-4.67l0.87,-0.55l-0.93,-1.92l0.88,-1.26l-2.81,-2.38l-0.91,0.2l-0.09,1.73l-1.26,0.55l0.76,3.73l-0.98,0.86l-1.09,-0.9l-0.21,1.03l-1.4,0.2l-0.91,-4.06l0.68,-1.6l-0.9,-2.96l0.26,-2.71l-1.26,-1.15l-0.86,0.17l-1.81,-2.41l-3.62,-0.16l-0.29,-3.34l-1.83,-0.72l-2.75,-2.7l2.24,-3.96l-2.6,-4.05l-0.09,-1.49l3.25,0.49l0.49,-2.11l1.82,-0.97l-3.52,-2.36l0.1,-1.01l-1.14,-0.61l-1.56,-2.75l0.86,-0.27l0.18,1.13l3.3,1.27l1.43,1.53l3.08,0.4l0.79,-1.96l-1.85,-2.05l0.48,-0.97l-1.58,-1.83l-0.08,-2.45l0.69,-0.18l4.58,3.66l2.6,0.96l1.8,-0.47l0.76,1.43l2.31,1.56l2.28,-1.23l3.59,-0.04l3.18,-1.96l2.33,-0.06l1.95,-1.24l4.14,1.0l3.13,-0.13l0.99,-1.46l0.28,-6.6l-1.76,-1.27l-0.09,-2.24l2.63,-2.42l0.69,-1.59l-1.15,-1.09l-0.49,-2.23l-1.64,0.4l-1.75,-0.81l-0.86,-1.5l-2.93,-1.97l-0.34,-1.36l1.88,-1.76l-0.06,-0.97l-3.85,0.65l-0.96,-1.24l-1.12,1.1l0.72,-2.63l-2.83,-0.66l-0.52,-1.79l2.29,-1.28l-3.87,-4.11l0.81,-1.49l-0.33,-1.27l1.11,-1.04l-0.99,-3.15l0.35,-3.55l-1.39,-1.2l0.94,-1.54l-1.51,-3.16l0.92,-1.94l-0.25,-1.73l-0.87,-0.13l-0.39,1.06l-1.7,-0.19l-0.95,-1.15l-1.25,0.53l-2.5,-3.96l-2.15,-0.07l-0.15,-1.73l1.45,-1.45l-0.1,-2.05l2.55,-3.36l-1.33,-1.84l-1.65,0.83l-0.35,-1.74l4.52,-2.28l0.35,-1.35l-1.4,-1.26l-1.94,-0.37l-3.33,3.5l-2.0,-2.0l-2.56,0.63l-1.66,-0.61l-0.97,0.85l0.19,-2.23l3.27,0.69l1.51,-1.43l-1.03,-1.09l-1.22,-0.08l-0.99,-1.57l-0.88,-4.18l1.03,-1.31l-0.19,-0.83l-1.49,-0.14l-1.77,2.04l-1.26,-1.1l-1.18,-5.04l0.86,-2.18l-1.56,-0.93ZM749.39,644.84l-0.21,0.06l-0.38,-0.16l0.32,0.07l0.27,0.03ZM827.51,605.61l1.17,-0.58l0.2,0.18l-0.76,0.65l-0.62,-0.26ZM813.84,589.92l0.16,-0.56l0.67,-0.26l0.12,0.19l-0.94,0.63ZM742.74,556.87l0.27,-0.15l1.16,0.42l-1.11,0.28l-0.32,-0.55ZM743.03,556.07l0.11,-0.16l0.77,-0.05l-0.64,0.05l-0.24,0.16ZM724.98,532.85l0.14,-0.75l1.74,-0.61l-0.23,0.87l-1.66,0.49ZM716.17,518.63l0.26,-0.13l0.06,0.04l-0.32,0.09ZM701.93,503.54l-0.06,0.03l-0.14,-0.01l0.19,-0.05l0.02,0.03ZM746.29,561.73l1.29,-0.12l1.03,-0.44l-0.04,0.65l-2.29,-0.08ZM765.01,574.66l-0.09,-0.09l0.07,-0.12l0.12,0.1l-0.09,0.11ZM766.08,573.43l-0.2,-0.4l-0.0,-0.06l0.04,0.0l0.17,0.46ZM777.41,577.24l0.21,-2.19l0.71,0.01l-0.44,0.65l-0.49,1.53ZM787.98,592.89l2.02,-1.46l1.55,-1.88l-1.08,2.63l-2.49,0.7ZM779.43,607.25l0.03,-0.02l0.01,0.02l-0.04,0.0ZM820.59,590.96l0.0,0.0l-0.0,0.0l-0.0,-0.01ZM701.83,596.32l-0.57,-0.35l-0.42,-0.33l0.73,0.21l0.27,0.47ZM790.47,576.88l1.36,-1.34l0.67,1.44l-1.32,0.73l-0.72,-0.82ZM757.36,567.04l0.54,-0.08l0.35,0.26l-0.22,0.16l-0.67,-0.34ZM753.28,565.8l0.47,-1.29l1.15,0.24l-0.22,1.07l-1.41,-0.01ZM748.69,558.87l-0.2,-0.17l0.27,-0.02l-0.08,0.19ZM747.92,558.58l-0.96,0.19l-0.02,-0.12l0.73,-0.16l0.26,0.09ZM750.02,555.78l0.08,-0.3l0.2,-0.06l0.02,0.17l-0.3,0.18ZM744.65,553.12l0.64,-1.81l0.75,0.24l0.31,1.02l-0.83,0.06l-0.53,1.29l-0.35,-0.8ZM745.49,555.18l1.39,-0.96l0.4,1.98l-1.15,-0.57l-0.64,-0.45ZM739.53,542.37l0.1,-0.7l0.05,-0.02l0.14,0.64l-0.29,0.08ZM737.08,536.88l0.54,-0.31l0.66,1.05l-0.18,0.15l-1.02,-0.9ZM736.98,542.04l0.94,-0.75l0.6,0.38l-0.67,1.26l-0.88,-0.88ZM734.56,536.7l0.49,-1.0l0.84,0.73l-0.23,0.65l-1.11,-0.37ZM704.5,508.32l0.25,-0.58l0.82,0.14l-0.81,0.77l-0.26,-0.33ZM704.47,507.42l-0.04,-0.66l0.08,0.11l-0.04,0.55Z",name:"Newfoundland and Labrador"},on:{path:"M399.41,727.97l3.25,-56.87l17.49,-16.02l50.18,-56.7l5.89,5.74l3.34,1.59l4.16,6.66l0.07,1.64l0.93,-0.9l1.53,0.7l0.47,1.09l3.72,0.22l7.51,3.34l3.52,0.63l3.74,2.18l0.82,1.61l2.04,1.5l1.96,0.55l-2.57,4.18l-0.2,2.26l0.59,0.29l3.0,-5.44l5.1,0.47l3.97,-1.2l1.6,0.26l1.47,-0.99l2.08,1.72l1.21,-0.17l0.56,1.64l0.68,-0.28l-0.38,-1.87l3.93,0.68l1.97,-0.84l0.22,2.18l3.44,-1.25l3.66,1.53l1.13,3.89l-1.85,8.94l0.54,3.1l0.67,1.51l1.45,0.82l1.61,4.42l-0.68,3.75l1.63,5.71l-1.29,1.28l-0.03,5.11l2.94,1.95l1.54,2.72l4.34,3.83l0.32,1.88l-2.77,1.36l-0.69,1.37l0.67,0.57l1.21,-0.98l2.42,-0.18l1.79,2.17l4.34,1.42l0.88,1.66l3.87,3.05l2.5,5.84l-2.02,1.29l-3.65,4.63l-0.29,0.63l0.81,0.81l6.1,-6.51l4.45,1.01l5.72,4.84l7.01,59.69l-0.5,2.75l2.01,3.02l0.61,3.39l7.32,9.7l3.52,2.67l9.71,0.57l5.65,1.33l2.13,1.35l1.34,2.16l2.97,1.37l1.25,-0.14l0.13,-1.76l0.79,-0.05l2.75,4.99l4.05,1.38l2.76,-1.35l3.47,1.9l1.37,-0.21l1.06,-1.56l4.54,-2.65l7.43,-2.67l2.95,0.8l-0.25,4.37l1.74,1.53l-3.52,4.2l-2.35,0.3l-4.22,3.29l-7.43,9.8l-10.39,5.66l-1.99,-0.83l-2.14,1.15l-0.78,-0.34l-4.0,1.92l0.07,1.37l-17.36,5.52l-4.64,4.39l-1.39,0.28l-1.48,1.77l-1.77,4.33l0.19,1.1l2.64,1.18l3.48,0.07l3.08,-1.79l0.22,3.11l1.89,2.65l-1.64,0.78l-7.98,0.75l-5.89,1.98l-2.79,2.58l-0.45,1.65l-6.1,-1.03l-5.59,0.87l-2.51,1.82l-4.56,5.7l-1.8,0.33l-3.67,2.49l-1.52,2.88l-1.92,-1.04l-3.18,1.24l-2.5,-1.04l0.23,-3.72l1.37,-0.67l4.23,0.23l2.75,-0.95l0.02,-3.2l-2.7,-0.36l1.3,-1.87l0.73,-6.43l3.62,-1.93l4.0,-4.29l0.8,-2.06l-1.43,-11.81l1.34,-2.3l0.15,-2.05l2.09,-2.07l1.49,-3.89l-1.97,-6.43l-0.93,-0.06l-1.89,-2.92l-1.62,-0.74l4.39,-0.17l-0.43,1.17l1.19,2.97l1.72,0.67l0.31,0.93l1.26,-0.3l-1.24,2.92l2.85,-0.84l-0.2,3.37l0.73,0.14l2.66,-2.55l1.29,1.87l6.61,1.78l1.27,-1.38l-0.05,-2.95l-1.76,-1.81l1.5,-0.96l1.11,1.62l2.82,-0.09l0.25,-0.64l-0.74,-0.46l0.13,-1.8l-1.13,0.57l-3.99,-3.64l0.8,-1.08l-1.71,-1.33l0.92,-1.39l-0.63,-1.56l-1.34,-0.3l-1.54,0.95l-0.23,-1.09l-0.96,-0.31l-0.56,-2.76l-0.71,-0.28l-0.59,0.8l-3.52,-5.53l-1.01,-0.63l-4.1,0.66l-0.5,-1.26l-1.21,0.97l-2.42,-0.2l-1.04,-1.77l-1.21,-0.45l-0.72,0.76l-5.92,-0.16l-2.09,-1.06l-3.46,0.67l-0.44,-0.8l-4.14,1.13l-13.09,-1.81l-0.69,-0.77l0.39,-1.86l-1.1,-1.15l-4.5,1.29l-0.77,-0.76l1.82,-2.92l-0.71,-1.01l-0.82,0.15l-0.03,-0.85l1.61,-0.14l0.62,-1.12l-1.42,-1.43l-2.26,0.46l-1.63,-0.89l2.09,-5.6l-1.97,-2.61l-3.59,-2.57l1.63,-6.41l-1.36,-0.45l-7.14,1.19l-3.76,-0.81l-2.62,-2.95l-2.62,-7.54l-2.35,-3.41l-1.68,0.65l-1.66,-1.25l-1.76,1.04l-1.54,-0.93l-3.38,0.86l-3.47,-1.85l-4.37,-1.08l-1.54,-1.38l-2.91,1.14l0.18,1.94l1.8,1.59l-0.71,2.41l-1.35,-0.31l0.4,-1.68l-0.64,-1.58l-2.01,-0.19l-2.9,8.53l-1.08,0.6l1.44,-3.51l-0.47,-0.9l-5.21,2.26l-1.88,6.26l-2.82,2.11l-3.67,0.23l-2.51,-2.31l-7.44,0.52l-1.66,-2.7l-6.62,3.42l-2.89,-1.08l-0.63,-1.46l-2.68,-1.03l-1.32,-2.1l-2.73,0.25l-0.76,1.87l-1.31,-3.75l-2.46,-0.29l1.07,-0.69l-0.3,-0.8l-4.08,-1.73l-5.02,-0.14l-1.38,1.25l-3.01,0.33l-1.09,-2.11l-4.32,-0.55l-0.74,-1.12l-3.39,-0.37l-1.14,-1.77l1.38,-1.44l1.69,-0.49l1.73,-2.47l1.71,0.52l1.37,-1.02l0.67,-0.78l-0.75,-0.53l0.85,-2.93l-1.34,-1.05l0.67,-0.77l-3.37,-2.07l0.99,0.2l0.42,-0.61l-0.89,-0.66l0.73,-0.77l-0.67,-1.05l-1.42,-0.26l-0.97,-2.13l0.36,-1.57l-1.02,-1.13l-1.24,0.08l-0.58,0.92l1.46,2.37l0.06,1.75l-2.78,0.05l-1.13,1.44l-2.32,-0.86ZM469.67,728.45l1.67,1.42l0.23,1.55l-0.99,-0.96l-0.76,0.55l1.51,2.45l1.84,-1.22l-0.46,0.66l0.7,1.13l1.89,0.59l0.94,-0.84l1.18,1.62l1.63,-1.99l2.16,0.98l-0.37,-3.25l0.77,-1.47l-0.58,-2.28l0.44,-2.16l1.11,-0.99l-2.32,-1.72l0.65,-1.03l-0.82,-2.07l-2.54,-1.64l-1.61,1.18l-1.01,-0.84l-0.98,0.31l-1.54,1.57l-0.43,2.25l-1.04,0.41l0.93,2.15l-1.34,0.8l0.2,1.59l-0.37,-1.2l-0.84,-0.03l-0.43,1.8l0.54,0.71ZM540.56,627.39l-0.07,-0.12l0.08,-0.1l0.01,0.04l-0.02,0.17ZM625.48,816.5l-0.88,0.97l-0.47,0.08l0.55,-0.74l0.8,-0.31ZM617.32,819.18l1.96,-1.47l1.51,0.73l0.49,-0.98l1.66,-0.66l-0.41,1.69l0.39,0.57l1.51,-0.3l-0.58,1.21l0.49,0.7l-1.15,0.87l-0.53,-0.19l0.23,-1.4l-4.11,0.62l-1.47,-1.38ZM624.91,820.35l0.01,-0.01l0.01,0.0l-0.02,0.01ZM478.49,748.07l0.15,0.64l-0.97,0.3l0.81,-0.95ZM477.13,749.61l-0.41,0.47l-0.16,0.72l0.06,-0.73l0.51,-0.46ZM472.6,753.18l-0.12,0.04l-0.06,0.0l0.02,-0.03l0.16,-0.01ZM409.98,736.99l-1.24,-1.83l-2.23,0.71l-0.95,-1.1l0.31,-0.87l-2.37,-0.23l0.19,-0.55l5.22,-0.85l-0.85,1.31l0.47,0.65l0.86,-0.42l-0.01,1.28l1.48,0.84l-0.87,1.06ZM401.76,728.88l0.69,0.17l-0.45,0.55l-0.32,-0.09l0.08,-0.64ZM631.42,815.59l-0.13,-0.74l0.55,-0.02l-0.02,0.39l-0.4,0.37ZM627.23,816.23l0.77,-0.4l0.07,-0.04l-0.2,0.32l-0.64,0.12ZM581.85,801.71l0.01,-0.5l0.57,0.08l-0.37,0.17l-0.21,0.24ZM582.47,809.41l0.08,-0.02l-0.03,0.08l-0.05,-0.05ZM575.9,692.07l1.12,-1.08l0.85,7.34l-1.99,-2.2l0.02,-4.05ZM543.99,793.29l0.64,0.68l2.98,-1.21l0.99,2.07l2.33,0.02l0.5,0.81l-7.92,-1.58l0.49,-0.78ZM551.7,795.68l0.77,-1.33l-0.92,-0.74l1.53,-1.12l1.04,-0.37l2.14,2.32l2.38,-2.74l0.44,1.27l1.05,0.28l-0.19,1.49l1.03,1.14l-2.87,2.6l-6.4,-2.79ZM561.3,795.7l0.14,-1.12l0.31,-0.89l0.37,-0.6l-0.5,1.08l1.39,0.74l-2.12,3.83l-0.59,0.22l1.7,-2.36l-0.71,-0.91ZM561.37,800.05l0.39,-0.41l0.14,-0.07l-0.3,0.46l-0.22,0.02ZM559.04,790.43l0.46,-0.13l0.58,0.12l-0.77,0.13l-0.27,-0.12ZM549.74,793.07l0.11,-0.31l0.76,-0.12l-0.14,0.32l-0.72,0.11ZM540.29,794.07l1.01,-1.22l0.82,0.55l-0.61,1.12l-1.21,-0.46ZM532.17,788.03l1.6,-0.01l1.59,1.01l-1.21,2.0l-1.98,-3.01ZM508.33,763.17l0.76,-0.68l2.4,0.26l-0.97,0.41l-2.18,0.01ZM486.08,744.61l0.14,-0.01l0.53,0.92l-0.33,0.04l-0.33,-0.95ZM482.03,744.94l1.2,-0.66l1.87,0.08l-0.46,1.02l-2.38,0.75l-0.23,-1.19ZM477.93,719.83l0.17,-0.01l0.17,0.44l-0.2,-0.06l-0.14,-0.37ZM478.55,720.5l0.14,0.03l0.06,0.19l-0.05,-0.01l-0.14,-0.21ZM475.07,730.34l0.17,-0.01l0.06,0.15l-0.14,-0.1l-0.09,-0.04ZM475.4,723.45l-0.02,-0.28l0.1,0.01l-0.07,0.24l-0.01,0.03ZM474.42,725.62l0.1,0.02l0.16,0.3l-0.46,-0.02l0.2,-0.3ZM469.69,755.38l0.19,-0.22l0.17,-0.01l-0.36,0.22ZM403.6,737.46l0.64,-0.37l0.83,0.44l-1.23,0.69l-0.24,-0.77ZM406.38,737.1l0.0,-0.01l0.02,-0.07l0.01,0.08l-0.04,-0.0ZM405.0,739.21l0.5,-0.36l0.12,0.28l-0.18,0.39l-0.43,-0.3ZM399.11,732.44l1.97,-0.65l0.88,-0.67l-0.87,1.65l-1.81,0.48l-0.16,-0.81ZM402.77,730.48l1.11,-1.11l0.95,-0.18l-0.74,1.0l-1.33,0.3Z",name:"Ontario"},ab:{path:"M139.57,606.56l0.37,-1.05l1.18,0.57l0.81,-0.56l-1.58,-4.38l37.33,-108.91l45.27,14.12l45.98,11.63l-2.72,12.15l-4.26,2.55l-1.83,0.1l-4.59,4.95l-1.83,0.73l-0.86,-1.64l-1.67,0.79l1.38,3.5l-0.16,1.93l0.92,0.24l1.46,-1.94l-0.31,2.62l0.56,0.52l1.32,-1.15l0.14,-1.43l3.55,0.95l0.97,-1.38l-0.73,-1.28l4.31,-2.81l-39.85,178.15l-45.48,-11.24l-0.72,-2.98l-2.23,-1.66l0.23,-0.86l-1.58,-2.96l0.8,-2.77l-1.71,-1.0l2.24,-2.87l-0.07,-2.44l1.05,-2.7l0.11,-5.55l-1.47,-4.33l-1.24,-1.02l-1.26,0.24l-0.4,-3.13l-2.69,-3.15l0.84,-0.16l-0.02,-1.71l-1.31,-2.54l-1.92,-1.32l-0.11,-2.34l-1.88,-1.98l0.3,-2.47l-2.03,-4.3l-0.2,-3.14l-1.26,-0.33l-1.4,1.25l-0.62,-0.25l-0.14,-3.71l-1.62,-3.01l0.14,-2.56l-3.37,-0.27l-1.21,-1.61l-0.28,-1.09l1.58,-1.91l-2.46,-2.86l-1.36,1.2l-1.4,-0.1l0.7,-1.26l-0.7,-2.97l0.77,-0.81l-0.3,-3.43l-0.53,-1.4l-1.3,-0.18l0.31,-2.51l-1.07,-3.42l-1.29,-1.58l-1.31,1.23l-1.63,-1.38l-0.34,-3.23l-2.89,-1.04l-1.44,-3.37Z",name:"Alberta"}}}); diff --git a/public/build/assets/maps-google-KamR_rNw.js b/public/build/assets/maps-google-KamR_rNw.js deleted file mode 100644 index 927fd37..0000000 --- a/public/build/assets/maps-google-KamR_rNw.js +++ /dev/null @@ -1,7 +0,0 @@ -import{c as ge,a as ce}from"./_commonjsHelpers-C4iS2aBk.js";var te={exports:{}};(function(H,A){(function(v,x){H.exports=x()})(ge,function(){/*! - * GMaps.js v0.4.25 - * http://hpneo.github.com/gmaps/ - * - * Copyright 2017, Gustavo Leon - * Released under the MIT License. - */var v=function(t,r){var a;if(t===r)return t;for(a in r)r[a]!==void 0&&(t[a]=r[a]);return t},x=function(t,r){var a=Array.prototype.slice.call(arguments,2),l=[],n=t.length,i;if(Array.prototype.map&&t.map===Array.prototype.map)l=Array.prototype.map.call(t,function(s){var f=a.slice(0);return f.splice(0,0,s),r.apply(this,f)});else for(i=0;i0&&typeof t[a][0]=="object"?t[a]=V(t[a],r):t[a]=re(t[a],r));return t},ae=function(t,r){var a,l=t.replace(".","");return"jQuery"in this&&r?a=$("."+l,r)[0]:a=document.getElementsByClassName(l)[0],a},C=function(l,r){var a,l=l.replace("#","");return"jQuery"in window&&r?a=$("#"+l,r)[0]:a=document.getElementById(l),a},le=function(t){var r=0,a=0;if(t.getBoundingClientRect){var l=t.getBoundingClientRect(),n=-(window.scrollX?window.scrollX:window.pageXOffset),i=-(window.scrollY?window.scrollY:window.pageYOffset);return[l.left-n,l.top-i]}if(t.offsetParent)do r+=t.offsetLeft,a+=t.offsetTop;while(t=t.offsetParent);return[r,a]},o=function(t){var r=document,a=function(l){if(!(typeof window.google=="object"&&window.google.maps))return typeof window.console=="object"&&window.console.error&&console.error("Google Maps API is required. Please register the following JavaScript library https://maps.googleapis.com/maps/api/js."),function(){};if(!this)return new a(l);l.zoom=l.zoom||15,l.mapType=l.mapType||"roadmap";var n=function(g,y){return g===void 0?y:g},i=this,s,f=["bounds_changed","center_changed","click","dblclick","drag","dragend","dragstart","idle","maptypeid_changed","projection_changed","resize","tilesloaded","zoom_changed"],c=["mousemove","mouseout","mouseover"],d=["el","lat","lng","mapType","width","height","markerClusterer","enableNewStyle"],u=l.el||l.div,m=l.markerClusterer,_=google.maps.MapTypeId[l.mapType.toUpperCase()],p=new google.maps.LatLng(l.lat,l.lng),T=n(l.zoomControl,!0),b=l.zoomControlOpt||{style:"DEFAULT",position:"TOP_LEFT"},L=b.style||"DEFAULT",E=b.position||"TOP_LEFT",U=n(l.panControl,!0),F=n(l.mapTypeControl,!0),K=n(l.scaleControl,!0),q=n(l.streetViewControl,!0),W=n(W,!0),z={},D={zoom:this.zoom,center:p,mapTypeId:_},O={panControl:U,zoomControl:T,zoomControlOptions:{style:google.maps.ZoomControlStyle[L],position:google.maps.ControlPosition[E]},mapTypeControl:F,scaleControl:K,streetViewControl:q,overviewMapControl:W};if(typeof l.el=="string"||typeof l.div=="string"?u.indexOf("#")>-1?this.el=C(u,l.context):this.el=ae.apply(this,[u,l.context]):this.el=u,typeof this.el>"u"||this.el===null)throw"No element defined.";for(window.context_menu=window.context_menu||{},window.context_menu[i.el.id]={},this.controls=[],this.overlays=[],this.layers=[],this.singleLayers={},this.markers=[],this.polylines=[],this.routes=[],this.polygons=[],this.infoWindow=null,this.overlay_el=null,this.zoom=l.zoom,this.registered_events={},this.el.style.width=l.width||this.el.scrollWidth||this.el.offsetWidth,this.el.style.height=l.height||this.el.scrollHeight||this.el.offsetHeight,google.maps.visualRefresh=l.enableNewStyle,s=0;s'+I.title+""}if(C("gmaps_context_menu")){var M=C("gmaps_context_menu");M.innerHTML=h;var Q=M.getElementsByTagName("a"),ne=Q.length,P;for(P=0;P"u"){for(var a=0;a-1){var l=this.markers[n];l.setMap(null),this.markerClusterer&&this.markerClusterer.removeMarker(l),o.fire("marker_removed",l,this)}}for(var a=0;a0&&t.paths[0].length>0&&(t.paths=Y(x(t.paths,V,r)));for(var a=new google.maps.Polygon(t),l=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],n=0;n0&&t.locations[0].length>0&&(t.locations=Y(x([t.locations],V,!1)));var r=t.callback;delete t.callback;var a=new google.maps.ElevationService;if(!t.path)delete t.path,delete t.samples,a.getElevationForLocations(t,function(n,i){r&&typeof r=="function"&&r(n,i)});else{var l={path:t.locations,samples:t.samples};a.getElevationAlongPath(l,function(n,i){r&&typeof r=="function"&&r(n,i)})}},o.prototype.cleanRoute=o.prototype.removePolylines,o.prototype.renderRoute=function(t,r){var a=typeof r.panel=="string"?document.getElementById(r.panel.replace("#","")):r.panel,l;r.panel=a,r=v({map:this.map},r),l=new google.maps.DirectionsRenderer(r),this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(n,i,s){s===google.maps.DirectionsStatus.OK&&l.setDirections(i)}})},o.prototype.drawRoute=function(t){var r=this;this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(a){if(a.length>0){var l={path:a[a.length-1].overview_path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(l.icons=t.icons),r.drawPolyline(l),t.callback&&t.callback(a[a.length-1])}}})},o.prototype.travelRoute=function(t){if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,callback:function(n){if(n.length>0&&t.start&&t.start(n[n.length-1]),n.length>0&&t.step){var i=n[n.length-1];if(i.legs.length>0)for(var s=i.legs[0].steps,f=0,c;c=s[f];f++)c.step_number=f,t.step(c,i.legs[0].steps.length-1)}n.length>0&&t.end&&t.end(n[n.length-1])}});else if(t.route&&t.route.legs.length>0)for(var r=t.route.legs[0].steps,a=0,l;l=r[a];a++)l.step_number=a,t.step(l)},o.prototype.drawSteppedRoute=function(t){var r=this;if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,error:t.error,callback:function(s){if(s.length>0&&t.start&&t.start(s[s.length-1]),s.length>0&&t.step){var f=s[s.length-1];if(f.legs.length>0)for(var c=f.legs[0].steps,d=0,u;u=c[d];d++){u.step_number=d;var m={path:u.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(m.icons=t.icons),r.drawPolyline(m),t.step(u,f.legs[0].steps.length-1)}}s.length>0&&t.end&&t.end(s[s.length-1])}});else if(t.route&&t.route.legs.length>0)for(var a=t.route.legs[0].steps,l=0,n;n=a[l];l++){n.step_number=l;var i={path:n.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(i.icons=t.icons),r.drawPolyline(i),t.step(n)}},o.Route=function(t){this.origin=t.origin,this.destination=t.destination,this.waypoints=t.waypoints,this.map=t.map,this.route=t.route,this.step_count=0,this.steps=this.route.legs[0].steps,this.steps_length=this.steps.length;var r={path:new google.maps.MVCArray,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(r.icons=t.icons),this.polyline=this.map.drawPolyline(r).getPath()},o.Route.prototype.getRoute=function(t){var r=this;this.map.getRoutes({origin:this.origin,destination:this.destination,travelMode:t.travelMode,waypoints:this.waypoints||[],error:t.error,callback:function(){r.route=e[0],t.callback&&t.callback.call(r)}})},o.Route.prototype.back=function(){if(this.step_count>0){this.step_count--;var t=this.route.legs[0].steps[this.step_count].path;for(var r in t)t.hasOwnProperty(r)&&this.polyline.pop()}},o.Route.prototype.forward=function(){if(this.step_count0){a.markers=[];for(var l=0;l0){var n=this.polylines[0];a.polyline={},a.polyline.path=google.maps.geometry.encoding.encodePath(n.getPath()),a.polyline.strokeColor=n.strokeColor,a.polyline.strokeOpacity=n.strokeOpacity,a.polyline.strokeWeight=n.strokeWeight}return o.staticMapURL(a)},o.staticMapURL=function(t){var r=[],a,l=(location.protocol==="file:"?"http:":location.protocol)+"//maps.googleapis.com/maps/api/staticmap";t.url&&(l=t.url,delete t.url),l+="?";var n=t.markers;delete t.markers,!n&&t.marker&&(n=[t.marker],delete t.marker);var i=t.styles;delete t.styles;var s=t.polyline;if(delete t.polyline,t.center)r.push("center="+t.center),delete t.center;else if(t.address)r.push("center="+t.address),delete t.address;else if(t.lat)r.push(["center=",t.lat,",",t.lng].join("")),delete t.lat,delete t.lng;else if(t.visible){var f=encodeURI(t.visible.join("|"));r.push("visible="+f)}var c=t.size;c?(c.join&&(c=c.join("x")),delete t.size):c="630x300",r.push("size="+c),!t.zoom&&t.zoom!==!1&&(t.zoom=15);var d=t.hasOwnProperty("sensor")?!!t.sensor:!0;delete t.sensor,r.push("sensor="+d);for(var u in t)t.hasOwnProperty(u)&&r.push(u+"="+t[u]);if(n)for(var m,_,p=0;a=n[p];p++){m=[],a.size&&a.size!=="normal"?(m.push("size:"+a.size),delete a.size):a.icon&&(m.push("icon:"+encodeURI(a.icon)),delete a.icon),a.color&&(m.push("color:"+a.color.replace("#","0x")),delete a.color),a.label&&(m.push("label:"+a.label[0].toUpperCase()),delete a.label),_=a.address?a.address:a.lat+","+a.lng,delete a.address,delete a.lat,delete a.lng;for(var u in a)a.hasOwnProperty(u)&&m.push(u+":"+a[u]);m.length||p===0?(m.push(_),m=m.join("|"),r.push("markers="+encodeURI(m))):(m=r.pop()+encodeURI("|"+_),r.push(m))}if(i)for(var p=0;p=t.lng()||u.lng()=t.lng())&&d.lat()+(t.lng()-d.lng())/(u.lng()-d.lng())*(u.lat()-d.lat())>>0;if(a===0)return-1;var l=0;if(arguments.length>1&&(l=Number(arguments[1]),l!=l?l=0:l!=0&&l!=1/0&&l!=-1/0&&(l=(l>0||-1)*Math.floor(Math.abs(l)))),l>=a)return-1;for(var n=l>=0?l:Math.max(a-Math.abs(l),0);ni.name}},regionStyle:{initial:{fill:"rgba(169,183,197, 0.2)",fillOpacity:1}}})}initCanadaVectorMap(){new a({map:"canada",selector:"#canada-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#1e84c4"}}})}initRussiaVectorMap(){new a({map:"russia",selector:"#russia-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#1bb394"}}})}initIraqVectorMap(){new a({map:"iraq",selector:"#iraq-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#f8ac59"}}})}initSpainVectorMap(){new a({map:"spain",selector:"#spain-vector-map",zoomOnScroll:!1,regionStyle:{initial:{fill:"#23c6c8"}}})}initUsaVectorMap(){new a({map:"us_merc_en",selector:"#usa-vector-map",regionStyle:{initial:{fill:"#ffe381"}}})}init(){this.initWorldMapMarker(),this.initCanadaVectorMap(),this.initRussiaVectorMap(),this.initIraqVectorMap(),this.initSpainVectorMap()}}document.addEventListener("DOMContentLoaded",function(e){new r().init()}); diff --git a/public/build/assets/world-BH8KG5u4.js b/public/build/assets/world-BH8KG5u4.js deleted file mode 100644 index ad1054d..0000000 --- a/public/build/assets/world-BH8KG5u4.js +++ /dev/null @@ -1,2 +0,0 @@ -import{c as H0,a as V0}from"./_commonjsHelpers-C4iS2aBk.js";var U={exports:{}};(function(F,F0){(function(I,R){F.exports=R()})(H0,function(){var I=function(a){return R(a)&&!K(a)};function R(t){return!!t&&typeof t=="object"}function K(t){var a=Object.prototype.toString.call(t);return a==="[object RegExp]"||a==="[object Date]"||Q(t)||q(t)}var W=typeof Symbol=="function"&&Symbol.for,J=W?Symbol.for("react.element"):60103;function q(t){return t.$$typeof===J}function Q(t){return t instanceof Node}function $(t){return Array.isArray(t)?[]:{}}function S(t,a){return a.clone!==!1&&a.isMergeableObject(t)?A($(t),t,a):t}function l0(t,a,i){return t.concat(a).map(function(l){return S(l,i)})}function e0(t,a){if(!a.customMerge)return A;var i=a.customMerge(t);return typeof i=="function"?i:A}function t0(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(a){return t.propertyIsEnumerable(a)}):[]}function Y(t){return Object.keys(t).concat(t0(t))}function B(t,a){try{return a in t}catch{return!1}}function a0(t,a){return B(t,a)&&!(Object.hasOwnProperty.call(t,a)&&Object.propertyIsEnumerable.call(t,a))}function i0(t,a,i){var l={};return i.isMergeableObject(t)&&Y(t).forEach(function(e){l[e]=S(t[e],i)}),Y(a).forEach(function(e){a0(t,e)||(B(t,e)&&i.isMergeableObject(a[e])?l[e]=e0(e,i)(t[e],a[e],i):l[e]=S(a[e],i))}),l}var A=function(a,i,l){l=l||{},l.arrayMerge=l.arrayMerge||l0,l.isMergeableObject=l.isMergeableObject||I,l.cloneUnlessOtherwiseSpecified=S;var e=Array.isArray(i),n=Array.isArray(a),s=e===n;return s?e?l.arrayMerge(a,i,l):i0(a,i,l):S(i,l)},z=function(a){return typeof a=="object"&&typeof a.nodeType<"u"?a:typeof a=="string"?document.querySelector(a):null},Z=function(a,i,l,e){e===void 0&&(e=!1);var n=document.createElement(a);return l&&(n[e?"innerHTML":"textContent"]=l),i&&(n.className=i),n},n0=function(a,i){return Element.prototype.querySelector.call(a,i)},E=function(a){a.parentNode.removeChild(a)},s0=function(a){return/\.(jpg|gif|png)$/.test(a)},r0=function(a){return a.replace(/[\w]([A-Z])/g,function(i){return i[0]+"-"+i[1]}).toLowerCase()},d=function(a,i,l){return l===void 0&&(l=!1),l?A(a,i):Object.assign(a,i)},C=function(a,i){return a.toLowerCase()+":to:"+i.toLowerCase()},D=function(a,i){Object.assign(a.prototype,i)},b={},o0=1,u={on:function(a,i,l,e){e===void 0&&(e={});var n="jvm:"+i+"::"+o0++;b[n]={selector:a,handler:l},l._uid=n,a.addEventListener(i,l,e)},delegate:function(a,i,l,e){i=i.split(" "),i.forEach(function(n){u.on(a,n,function(s){var r=s.target;r.matches(l)&&e.call(r,s)})})},off:function(a,i,l){var e=i.split(":")[1];a.removeEventListener(e,l),delete b[l._uid]},flush:function(){Object.keys(b).forEach(function(a){u.off(b[a].selector,a,b[a].handler)})},getEventRegistry:function(){return b}};function h0(){var t=this,a=this,i=!1,l,e;this.params.draggable&&(u.on(this.container,"mousemove",function(n){if(!i)return!1;a.transX-=(l-n.pageX)/a.scale,a.transY-=(e-n.pageY)/a.scale,a._applyTransform(),l=n.pageX,e=n.pageY}),u.on(this.container,"mousedown",function(n){return i=!0,l=n.pageX,e=n.pageY,!1}),u.on(document.body,"mouseup",function(){i=!1})),this.params.zoomOnScroll&&u.on(this.container,"wheel",function(n){var s=((n.deltaY||-n.wheelDelta||n.detail)>>10||1)*75,r=t.container.getBoundingClientRect(),o=n.pageX-r.left-window.pageXOffset,m=n.pageY-r.top-window.pageYOffset,p=Math.pow(1+a.params.zoomOnScrollSpeed/1e3,-1.5*s);a.tooltip&&a._tooltip.hide(),a._setScale(a.scale*p,o,m),n.preventDefault()})}var f={onLoaded:"map:loaded",onViewportChange:"viewport:changed",onRegionClick:"region:clicked",onMarkerClick:"marker:clicked",onRegionSelected:"region:selected",onMarkerSelected:"marker:selected",onRegionTooltipShow:"region.tooltip:show",onMarkerTooltipShow:"marker.tooltip:show",onDestroyed:"map:destroyed"},P=function(a,i,l){var e=z(i),n=e.getAttribute("class").indexOf("jvm-region")===-1?"marker":"region",s=n==="region",r=s?e.getAttribute("data-code"):e.getAttribute("data-index"),o=s?f.onRegionSelected:f.onMarkerSelected;return l&&(o=s?f.onRegionTooltipShow:f.onMarkerTooltipShow),{type:n,code:r,event:o,element:s?a.regions[r].element:a._markers[r].element,tooltipText:s?a._mapData.paths[r].name||"":a._markers[r].config.name||""}};function p0(){var t=this,a=this.container,i,l,e;u.on(a,"mousemove",function(n){Math.abs(i-n.pageX)+Math.abs(l-n.pageY)>2&&(e=!0)}),u.delegate(a,"mousedown",".jvm-element",function(n){i=n.pageX,l=n.pageY,e=!1}),u.delegate(a,"mouseover mouseout",".jvm-element",function(n){var s=P(t,this,!0),r=t.params.showTooltip;n.type==="mouseover"?(s.element.hover(!0),r&&(t._tooltip.text(s.tooltipText),t._tooltip.show(),t._emit(s.event,[n,t._tooltip,s.code]))):(s.element.hover(!1),r&&t._tooltip.hide())}),u.delegate(a,"mouseup",".jvm-element",function(n){var s=P(t,this);if(!e&&(s.type==="region"&&t.params.regionsSelectable||s.type==="marker"&&t.params.markersSelectable)){var r=s.element;t.params[s.type+"sSelectableOne"]&&t._clearSelected(s.type+"s"),s.element.isSelected?r.select(!1):r.select(!0),t._emit(s.event,[s.code,r.isSelected,t._getSelected(s.type+"s")])}}),u.delegate(a,"click",".jvm-element",function(n){var s=P(t,this),r=s.type,o=s.code;t._emit(r==="region"?f.onRegionClick:f.onMarkerClick,[n,o])})}function m0(){var t=this,a=Z("div","jvm-zoom-btn jvm-zoomin","+",!0),i=Z("div","jvm-zoom-btn jvm-zoomout","−",!0);this.container.appendChild(a),this.container.appendChild(i);var l=function(n){return n===void 0&&(n=!0),function(){return t._setScale(n?t.scale*t.params.zoomStep:t.scale/t.params.zoomStep,t._width/2,t._height/2,!1,t.params.zoomAnimate)}};u.on(a,"click",l()),u.on(i,"click",l(!1))}function c0(){var t=this,a,i,l,e,n,s,r,o=function(p){var h=p.touches,c,M,g,T;if(p.type=="touchstart"&&(r=0),h.length==1)r==1&&(g=t.transX,T=t.transY,t.transX-=(l-h[0].pageX)/t.scale,t.transY-=(e-h[0].pageY)/t.scale,t._tooltip.hide(),t._applyTransform(),(g!=t.transX||T!=t.transY)&&p.preventDefault()),l=h[0].pageX,e=h[0].pageY;else if(h.length==2)if(r==2)M=Math.sqrt(Math.pow(h[0].pageX-h[1].pageX,2)+Math.pow(h[0].pageY-h[1].pageY,2))/i,t._setScale(a*M,n,s),t._tooltip.hide(),p.preventDefault();else{var y=t.container.getBoundingClientRect();c={top:y.top+window.scrollY,left:y.left+window.scrollX},h[0].pageX>h[1].pageX?n=h[1].pageX+(h[0].pageX-h[1].pageX)/2:n=h[0].pageX+(h[1].pageX-h[0].pageX)/2,h[0].pageY>h[1].pageY?s=h[1].pageY+(h[0].pageY-h[1].pageY)/2:s=h[0].pageY+(h[1].pageY-h[0].pageY)/2,n-=c.left,s-=c.top,a=t.scale,i=Math.sqrt(Math.pow(h[0].pageX-h[1].pageX,2)+Math.pow(h[0].pageY-h[1].pageY,2))}r=h.length};u.on(t.container,"touchstart",o),u.on(t.container,"touchmove",o)}function X(t,a){(a==null||a>t.length)&&(a=t.length);for(var i=0,l=Array(a);i=t.length?{done:!0}:{done:!1,value:t[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(){return G=Object.assign?Object.assign.bind():function(t){for(var a=1;aa?this.transY=a:this.transYt?this.transX=t:this.transXthis._defaultWidth/this._defaultHeight?(this._baseScale=this._height/this._defaultHeight,this._baseTransX=Math.abs(this._width-this._defaultWidth*this._baseScale)/(2*this._baseScale)):(this._baseScale=this._width/this._defaultWidth,this._baseTransY=Math.abs(this._height-this._defaultHeight*this._baseScale)/(2*this._baseScale)),this.scale*=this._baseScale/t,this.transX*=this._baseScale/t,this.transY*=this._baseScale/t}function T0(t,a,i,l,e){var n=this,s,r,o=0,m=Math.abs(Math.round((t-this.scale)*60/Math.max(t,this.scale))),p,h,c,M,g,T,y,j;t>this.params.zoomMax*this._baseScale?t=this.params.zoomMax*this._baseScale:t0?(p=this.scale,h=(t-p)/m,c=this.transX*this.scale,g=this.transY*this.scale,M=(y*t-c)/m,T=(j*t-g)/m,r=setInterval(function(){o+=1,n.scale=p+h*o,n.transX=(c+M*o)/n.scale,n.transY=(g+T*o)/n.scale,n._applyTransform(),o==m&&(clearInterval(r),n._emit(f.onViewportChange,[n.scale,n.transX,n.transY]))},10)):(this.transX=y,this.transY=j,this.scale=t,this._applyTransform(),this._emit(f.onViewportChange,[this.scale,this.transX,this.transY]))}function A0(t){var a=this;t===void 0&&(t={});var i,l=[];if(t.region?l.push(t.region):t.regions&&(l=t.regions),l.length)return l.forEach(function(r){if(a.regions[r]){var o=a.regions[r].element.shape.getBBox();o&&(typeof i>"u"?i=o:i={x:Math.min(i.x,o.x),y:Math.min(i.y,o.y),width:Math.max(i.x+i.width,o.x+o.width)-Math.min(i.x,o.x),height:Math.max(i.y+i.height,o.y+o.height)-Math.min(i.y,o.y)})}}),this._setScale(Math.min(this._width/i.width,this._height/i.height),-(i.x+i.width/2),-(i.y+i.height/2),!0,t.animate);if(t.coords){var e=this.coordsToPoint(t.coords[0],t.coords[1]),n=this.transX-e.x/this.scale,s=this.transY-e.y/this.scale;return this._setScale(t.scale*this._baseScale,n,s,!0,t.animate)}}function E0(){this._width=this.container.offsetWidth,this._height=this.container.offsetHeight,this._resize(),this.canvas.setSize(this._width,this._height),this._applyTransform()}var k={mill:function(a,i,l){return{x:this.radius*(i-l)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*a)*this.radDeg))/.8}},merc:function(a,i,l){return{x:this.radius*(i-l)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+a*Math.PI/360))}},aea:function(a,i,l){var e=0,n=l*this.radDeg,s=29.5*this.radDeg,r=45.5*this.radDeg,o=a*this.radDeg,m=i*this.radDeg,p=(Math.sin(s)+Math.sin(r))/2,h=Math.cos(s)*Math.cos(s)+2*p*Math.sin(s),c=p*(m-n),M=Math.sqrt(h-2*p*Math.sin(o))/p,g=Math.sqrt(h-2*p*Math.sin(e))/p;return{x:M*Math.sin(c)*this.radius,y:-(g-M*Math.cos(c))*this.radius}},lcc:function(a,i,l){var e=0,n=l*this.radDeg,s=i*this.radDeg,r=33*this.radDeg,o=45*this.radDeg,m=a*this.radDeg,p=Math.log(Math.cos(r)*(1/Math.cos(o)))/Math.log(Math.tan(Math.PI/4+o/2)*(1/Math.tan(Math.PI/4+r/2))),h=Math.cos(r)*Math.pow(Math.tan(Math.PI/4+r/2),p)/p,c=h*Math.pow(1/Math.tan(Math.PI/4+m/2),p),M=h*Math.pow(1/Math.tan(Math.PI/4+e/2),p);return{x:c*Math.sin(p*(s-n))*this.radius,y:-(M-c*Math.cos(p*(s-n)))*this.radius}}};k.degRad=180/Math.PI,k.radDeg=Math.PI/180,k.radius=6381372;function C0(t,a){var i=_.maps[this.params.map].projection,l=k[i.type](t,a,i.centralMeridian),e=l.x,n=l.y,s=this.getInsetForPoint(e,n);if(!s)return!1;var r=s.bbox;return e=(e-r[0].x)/(r[1].x-r[0].x)*s.width*this.scale,n=(n-r[0].y)/(r[1].y-r[0].y)*s.height*this.scale,{x:e+this.transX*this.scale+s.left*this.scale,y:n+this.transY*this.scale+s.top*this.scale}}function x0(t,a){for(var i=_.maps[this.params.map].insets,l=0;ln.x&&tn.y&&athis.max&&(this.max=e),e-1)}),this._markers,!0)},a.removeLines=function(l){var e=this;Array.isArray(l)?l=l.map(function(n){return C(n.from,n.to)}):l=this._getLinesAsUids(),l.forEach(function(n){e._lines[n].dispose(),delete e._lines[n]})},a.removeLine=function(l,e){console.warn("`removeLine` method is deprecated, please use `removeLines` instead.");var n=C(l,e);this._lines.hasOwnProperty(n)&&(this._lines[n].element.remove(),delete this._lines[n])},a.reset=function(){for(var l in this.series)for(var e=0;e> /etc/fstab + echo 'vm.swappiness=10' >> /etc/sysctl.conf + swapon /swapfile + echo "✅ Swap file created and activated" +else + echo "ℹ️ Swap file already exists" +fi + +# 3. Optimize Node.js for production +echo "⚙️ Optimizing Node.js..." +npm config set fund false +npm config set audit false + +# 4. Install PM2 untuk process management +echo "📦 Installing PM2..." +npm install -g pm2 + +# 5. Create PM2 ecosystem file for build process +cat > ecosystem.config.js << 'EOF' +module.exports = { + apps: [{ + name: 'build-app', + script: 'npm', + args: 'run build:prod', + instances: 1, + autorestart: false, + watch: false, + max_memory_restart: '1G', + env: { + NODE_ENV: 'production', + NODE_OPTIONS: '--max-old-space-size=1024' + } + }] +} +EOF + +echo "✅ Server setup completed!" +echo "" +echo "📝 Now you can:" +echo " 1. Build with memory limit: npm run build:prod" +echo " 2. Build with PM2: pm2 start ecosystem.config.js" +echo " 3. Monitor: pm2 monit" +echo " 4. Check memory: free -h" \ No newline at end of file diff --git a/vite.config.production.js b/vite.config.production.js new file mode 100644 index 0000000..0560c05 --- /dev/null +++ b/vite.config.production.js @@ -0,0 +1,191 @@ +import { defineConfig } from "vite"; +import laravel from "laravel-vite-plugin"; +import path from "path"; + +export default defineConfig({ + server: { + host: '0.0.0.0', + hmr: { + host: 'localhost' + }, + watch: { + usePolling: true + } + }, + build: { + outDir: 'public/build', + assetsDir: 'assets', + manifest: true, + // Optimasi untuk server dengan resource terbatas + minify: 'terser', + chunkSizeWarningLimit: 1000, + rollupOptions: { + output: { + manualChunks: { + // Split vendor chunks untuk mengurangi memory usage + vendor: ['bootstrap', 'moment', 'axios'], + charts: ['apexcharts'], + maps: ['leaflet', 'jsvectormap', 'gmaps'], + ui: ['sweetalert2', 'flatpickr', 'quill', 'dropzone'], + forms: ['gridjs', 'simplebar'], + // Group by functionality to reduce memory usage per chunk + dashboards: [ + 'resources/js/dashboards/bigdata.js', + 'resources/js/dashboards/pbg.js', + 'resources/js/dashboards/potentials/inside_system.js', + 'resources/js/dashboards/potentials/outside_system.js' + ], + data: [ + 'resources/js/data/umkm/data-umkm.js', + 'resources/js/data/tourisms/data-tourisms.js', + 'resources/js/data/advertisements/data-advertisements.js' + ] + }, + entryFileNames: 'assets/[name]-[hash].js', + chunkFileNames: 'assets/[name]-[hash].js', + assetFileNames: 'assets/[name]-[hash].[ext]' + }, + // Optimasi memory - lebih konservatif + maxParallelFileOps: 1, + }, + // Compress assets + assetsInlineLimit: 4096, + // Reduce memory usage + terserOptions: { + compress: { + drop_console: true, + drop_debugger: true + } + } + }, + resolve: { + alias: { + "@": path.resolve(__dirname, "resources/js"), + }, + }, + plugins: [ + laravel({ + input: [ + //css + "resources/scss/icons.scss", + "resources/scss/style.scss", + "resources/scss/components/_circle.scss", + "resources/scss/dashboards/_bigdata.scss", + "resources/scss/dashboards/_lack-of-potential.scss", + "resources/scss/components/_custom_circle.scss", + "resources/scss/dashboards/potentials/_inside_system.scss", + "resources/scss/dashboards/potentials/_outside_system.scss", + "resources/scss/pages/quick-search/detail.scss", + "resources/scss/pages/quick-search/index.scss", + "resources/scss/pages/quick-search/result.scss", + + "node_modules/quill/dist/quill.snow.css", + "node_modules/quill/dist/quill.bubble.css", + "node_modules/flatpickr/dist/flatpickr.min.css", + "node_modules/flatpickr/dist/themes/dark.css", + "node_modules/gridjs/dist/theme/mermaid.css", + "node_modules/flatpickr/dist/themes/dark.css", + "node_modules/gridjs/dist/theme/mermaid.min.css", + + //js + "resources/js/app.js", + "resources/js/config.js", + "resources/js/pages/dashboard.js", + "resources/js/pages/chart.js", + "resources/js/pages/form-quilljs.js", + "resources/js/pages/form-fileupload.js", + "resources/js/pages/form-flatepicker.js", + "resources/js/pages/table-gridjs.js", + "resources/js/pages/maps-google.js", + "resources/js/pages/maps-vector.js", + "resources/js/pages/maps-spain.js", + "resources/js/pages/maps-russia.js", + "resources/js/pages/maps-iraq.js", + "resources/js/pages/maps-canada.js", + "resources/js/data/advertisements/data-advertisements.js", + "resources/js/data/advertisements/form-create-update.js", + "resources/js/data/advertisements/form-upload.js", + + //js-additional + "resources/js/settings/syncronize/syncronize.js", + "resources/js/settings/general/general-settings.js", + "resources/js/tables/common-table.js", + + // dashboards + "resources/js/dashboards/bigdata.js", + "resources/js/dashboards/potentials/inside_system.js", + "resources/js/dashboards/potentials/outside_system.js", + // roles + "resources/js/roles/index.js", + "resources/js/roles/create.js", + "resources/js/roles/update.js", + "resources/js/roles/role_menu.js", + // users + "resources/js/master/users/users.js", + "resources/js/master/users/create.js", + "resources/js/master/users/update.js", + // menus + "resources/js/menus/index.js", + "resources/js/menus/create.js", + "resources/js/menus/update.js", + //data-settings + "resources/js/data-settings/index.js", + "resources/js/data-settings/create.js", + "resources/js/data-settings/update.js", + // business-industries + "resources/js/business-industries/create.js", + "resources/js/business-industries/update.js", + "resources/js/business-industries/index.js", + // umkm + "resources/js/data/umkm/data-umkm.js", + "resources/js/data/umkm/form-upload.js", + "resources/js/data/umkm/form-create-update.js", + // tourisms + "resources/js/data/tourisms/data-tourisms.js", + "resources/js/data/tourisms/form-create-update.js", + "resources/js/data/tourisms/form-upload.js", + "resources/js/report/tourisms/index.js", + // spatial-plannings + "resources/js/data/spatialPlannings/data-spatialPlannings.js", + "resources/js/data/spatialPlannings/form-create-update.js", + "resources/js/data/spatialPlannings/form-upload.js", + // customers + "resources/js/customers/upload.js", + "resources/js/customers/index.js", + "resources/js/customers/create.js", + "resources/js/customers/edit.js", + "resources/js/dashboards/pbg.js", + // maps + "resources/js/maps/maps-kml.js", + // laporan pimpinan + "resources/js/bigdata-resumes/index.js", + "resources/js/chatbot/index.js", + "resources/js/chatbot-pimpinan/index.js", + //pbg-task + "resources/js/pbg-task/index.js", + "resources/js/pbg-task/show.js", + "resources/js/pbg-task/create.js", + // google-sheets + "resources/js/data/google-sheet/index.js", + // quick-search + "resources/js/quick-search/index.js", + "resources/js/quick-search/result.js", + "resources/js/quick-search/detail.js", + // growth-report + "resources/js/report/growth-report/index.js", + // dummy + "resources/js/approval/index.js", + "resources/js/invitations/index.js", + "resources/js/payment-recaps/index.js", + "resources/js/report-pbg-ptsp/index.js", + "resources/js/tpa-tpt/index.js", + "resources/js/report-payment-recaps/index.js", + ], + refresh: true, + }), + ], + // Limit memory usage + esbuild: { + target: 'es2015' + } +}); \ No newline at end of file