HEX
Server: LiteSpeed
System: Linux server902.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: deshuvsd (2181)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/deshuvsd/www/wp-content/plugins/cartflows/admin-core/assets/build/settings-app.js
(()=>{var e,t,a={748:(e,t,a)=>{"use strict";var r,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},i=(r=a(1609))&&r.__esModule?r:{default:r};t.A=function(e){var t=e.fill,a=void 0===t?"currentColor":t,r=e.width,s=void 0===r?24:r,o=e.height,l=void 0===o?24:o,c=e.style,u=void 0===c?{}:c,d=function(e,t){var a={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r]);return a}(e,["fill","width","height","style"]);return i.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:a,width:s,height:l},u)},d),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},4657:(e,t,a)=>{"use strict";var r,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},i=(r=a(1609))&&r.__esModule?r:{default:r};t.A=function(e){var t=e.fill,a=void 0===t?"currentColor":t,r=e.width,s=void 0===r?24:r,o=e.height,l=void 0===o?24:o,c=e.style,u=void 0===c?{}:c,d=function(e,t){var a={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r]);return a}(e,["fill","width","height","style"]);return i.default.createElement("svg",n({viewBox:"0 0 24 24",style:n({fill:a,width:s,height:l},u)},d),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},9661:(e,t,a)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,N(r.key),r)}}function o(e,t,a){return t&&s(e.prototype,t),a&&s(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=x(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,o=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return s=e.done,e},e:function(e){o=!0,i=e},f:function(){try{s||null==a.return||a.return()}finally{if(o)throw i}}}}function c(e){var t=g();return function(){var a,r=d(e);if(t){var i=d(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)}(this,a)}}function u(e,t,a){return(t=N(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach((function(t){u(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,i,s,o=[],l=!0,c=!1;try{if(i=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(r=i.call(a)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){c=!0,n=e}finally{try{if(!l&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e,t){if(e){if("string"==typeof e)return r(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?r(e,t):void 0}}a.r(t),a.d(t,{default:()=>un});var b=function(){function e(){i(this,e)}return o(e,[{key:"shadeRGBColor",value:function(e,t){var a=t.split(","),r=e<0?0:255,n=e<0?-1*e:e,i=parseInt(a[0].slice(4),10),s=parseInt(a[1],10),o=parseInt(a[2],10);return"rgb("+(Math.round((r-i)*n)+i)+","+(Math.round((r-s)*n)+s)+","+(Math.round((r-o)*n)+o)+")"}},{key:"shadeHexColor",value:function(e,t){var a=parseInt(t.slice(1),16),r=e<0?0:255,n=e<0?-1*e:e,i=a>>16,s=a>>8&255,o=255&a;return"#"+(16777216+65536*(Math.round((r-i)*n)+i)+256*(Math.round((r-s)*n)+s)+(Math.round((r-o)*n)+o)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,a){return e.isColorHex(a)?this.shadeHexColor(t,a):this.shadeRGBColor(t,a)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===w(e)&&!Array.isArray(e)&&null!=e}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,a=[];for(t=0;t<e.length;t++)a[t]=e[t];return a}},{key:"extend",value:function(e,t){var a=this;"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t});var r=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(n){a.isObject(t[n])&&n in e?r[n]=a.extend(e[n],t[n]):Object.assign(r,u({},n,t[n]))})),r}},{key:"extendArray",value:function(t,a){var r=[];return t.map((function(t){r.push(e.extend(a,t))})),r}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==w(e))return e;if(a.has(e))return a.get(e);if(Array.isArray(e)){t=[],a.set(e,t);for(var r=0;r<e.length;r++)t[r]=this.clone(e[r],a)}else if(e instanceof Date)t=new Date(e.getTime());else for(var n in t={},a.set(e,t),e)e.hasOwnProperty(n)&&(t[n]=this.clone(e[n],a));return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return null===e?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?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){return e.toString().includes("e")?Math.round(e):e}},{key:"elementExists",value:function(e){return!(!e||!e.isConnected)}},{key:"getDimensions",value:function(e){var t=getComputedStyle(e,null),a=e.clientHeight,r=e.clientWidth;return a-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[r-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),a]}},{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(e,t){return Array.isArray(t)&&(t=t.reduce((function(e,t){return e.length>t.length?e:t}))),e.length>t.length?e:t}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var a=e.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var r=0;r<a.length;r++)a[r]=parseInt(1===a[r].length?a[r]+a[r]:a[r],16);return void 0!==t&&a.push(t),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var a=[],r=2*Math.PI/t,n=0;n<t;n++){var i={};i.x=e*Math.sin(n*r),i.y=-e*Math.cos(n*r),a.push(i)}return a}},{key:"polarToCartesian",value:function(e,t,a,r){var n=(r-90)*Math.PI/180;return{x:e+a*Math.cos(n),y:t+a*Math.sin(n)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x";return e.toString().slice().replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,a){if(a>=e.length)for(var r=a-e.length+1;r--;)e.push(void 0);return e.splice(a,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 a in t)t.hasOwnProperty(a)&&(e.style.key=t[a])}},{key:"preciseAddition",value:function(e,t){var a=(String(e).split(".")[1]||"").length,r=(String(t).split(".")[1]||"").length,n=Math.pow(10,Math.max(a,r));return(Math.round(e*n)+Math.round(t*n))/n}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"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 a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,r=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));for(e=Math.round(Math.abs(e)*r),t=Math.round(Math.abs(t)*r);t;){var n=t;t=e%t,e=n}return e/r}},{key:"getPrimeFactors",value:function(e){for(var t=[],a=2;e>=2;)e%a==0?(t.push(a),e/=a):a++;return t}},{key:"mod",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,r=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*r))%(t=Math.round(Math.abs(t)*r))/r}}]),e}(),D=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"animateLine",value:function(e,t,a,r){e.attr(t).animate(r).attr(a)}},{key:"animateMarker",value:function(e,t,a,r){e.attr({opacity:0}).animate(t).attr({opacity:1}).after((function(){r()}))}},{key:"animateRect",value:function(e,t,a,r,n){e.attr(t).animate(r).attr(a).after((function(){return n()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,a=e.realIndex,r=e.j,n=e.fill,i=e.pathFrom,s=e.pathTo,o=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,a,r,"line"!==c.config.chart.type||c.globals.comboCharts?n:"stroke",i,s,o,l*u)}},{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(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,a,r,n,i,s,o){var l=this,c=this.w;n||(n=e.attr("pathFrom")),i||(i=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(s=1),"M 0 ".concat(c.globals.gridHeight)};(!n||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=u()),(!i.trim()||i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i=u()),c.globals.shouldAnimate||(s=1),e.plot(n).animate(1,o).plot(n).animate(s,o).plot(i).after((function(){b.isNumber(a)?a===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==r&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()}))}}]),e}();const v={},_=[];function I(e,t){if(Array.isArray(e))for(const a of e)I(a,t);else if("object"!=typeof e)L(Object.getOwnPropertyNames(t)),v[e]=Object.assign(v[e]||{},t);else for(const t in e)I(t,e[t])}function E(e){return v[e]||{}}function L(e){_.push(...e)}function T(e,t){let a;const r=e.length,n=[];for(a=0;a<r;a++)n.push(t(e[a]));return n}function A(e){return e%360*Math.PI/180}function z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function k(e,t,a,r){return null!=t&&null!=a||(r=r||e.bbox(),null==t?t=r.width/r.height*a:null==a&&(a=r.height/r.width*t)),{width:t,height:a}}function S(e,t){const a=e.origin;let r=null!=e.ox?e.ox:null!=e.originX?e.originX:"center",n=null!=e.oy?e.oy:null!=e.originY?e.originY:"center";null!=a&&([r,n]=Array.isArray(a)?a:"object"==typeof a?[a.x,a.y]:[a,a]);const i="string"==typeof r,s="string"==typeof n;if(i||s){const{height:e,width:a,x:o,y:l}=t.bbox();i&&(r=r.includes("left")?o:r.includes("right")?o+a:o+a/2),s&&(n=n.includes("top")?l:n.includes("bottom")?l+e:l+e/2)}return[r,n]}const O=new Set(["desc","metadata","title"]),C=e=>O.has(e.nodeName),Y=(e,t,a={})=>{const r={...t};for(const e in r)r[e].valueOf()===a[e]&&delete r[e];Object.keys(r).length?e.node.setAttribute("data-svgjs",JSON.stringify(r)):(e.node.removeAttribute("data-svgjs"),e.node.removeAttribute("svgjs:data"))},U="http://www.w3.org/2000/svg",Q="http://www.w3.org/2000/xmlns/",P="http://www.w3.org/1999/xlink",F={window:"undefined"==typeof window?null:window,document:"undefined"==typeof document?null:document};function R(){return F.window}let H=class{};const B={},W="___SYMBOL___ROOT___";function V(e,t=U){return F.document.createElementNS(t,e)}function Z(e,t=!1){if(e instanceof H)return e;if("object"==typeof e)return J(e);if(null==e)return new B[W];if("string"==typeof e&&"<"!==e.charAt(0))return J(F.document.querySelector(e));const a=t?F.document.createElement("div"):V("svg");return a.innerHTML=e,e=J(a.firstChild),a.removeChild(a.firstChild),e}function G(e,t){return t&&(t instanceof F.window.Node||t.ownerDocument&&t instanceof t.ownerDocument.defaultView.Node)?t:V(e)}function X(e){if(!e)return null;if(e.instance instanceof H)return e.instance;if("#document-fragment"===e.nodeName)return new B.Fragment(e);let t=z(e.nodeName||"Dom");return"LinearGradient"===t||"RadialGradient"===t?t="Gradient":B[t]||(t="Dom"),new B[t](e)}let J=X;function q(e,t=e.name,a=!1){return B[t]=e,a&&(B[W]=e),L(Object.getOwnPropertyNames(e.prototype)),e}let $=1e3;function K(e){return"Svgjs"+z(e)+$++}function ee(e){for(let t=e.children.length-1;t>=0;t--)ee(e.children[t]);return e.id?(e.id=K(e.nodeName),e):e}function te(e,t){let a,r;for(r=(e=Array.isArray(e)?e:[e]).length-1;r>=0;r--)for(a in t)e[r].prototype[a]=t[a]}function ae(e){return function(...t){const a=t[t.length-1];return!a||a.constructor!==Object||a instanceof Array?e.apply(this,t):e.apply(this,t.slice(0,-1)).attr(a)}}I("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const e=this.position();return this.parent().add(this.remove(),e+1),this},backward:function(){const e=this.position();return this.parent().add(this.remove(),e?e-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(e){(e=Z(e)).remove();const t=this.position();return this.parent().add(e,t),this},after:function(e){(e=Z(e)).remove();const t=this.position();return this.parent().add(e,t+1),this},insertBefore:function(e){return(e=Z(e)).before(this),this},insertAfter:function(e){return(e=Z(e)).after(this),this}});const re=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,ne=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,ie=/rgb\((\d+),(\d+),(\d+)\)/,se=/(#[a-z_][a-z0-9\-_]*)/i,oe=/\)\s*,?\s*/,le=/\s/g,ce=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,ue=/^rgb\(/,de=/^(\s+)?$/,me=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ge=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,pe=/[\s,]+/,fe=/[MLHVCSQTAZ]/i;function Me(e){const t=Math.round(e),a=Math.max(0,Math.min(255,t)).toString(16);return 1===a.length?"0"+a:a}function he(e,t){for(let a=t.length;a--;)if(null==e[t[a]])return!1;return!0}function ye(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+6*(t-e)*a:a<.5?t:a<2/3?e+(t-e)*(2/3-a)*6:e}I("Dom",{classes:function(){const e=this.attr("class");return null==e?[]:e.trim().split(pe)},hasClass:function(e){return-1!==this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){const t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!==e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)}}),I("Dom",{css:function(e,t){const a={};if(0===arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter((function(e){return!!e.length})).forEach((function(e){const t=e.split(/\s*:\s*/);a[t[0]]=t[1]})),a;if(arguments.length<2){if(Array.isArray(e)){for(const t of e){const e=t;a[t]=this.node.style.getPropertyValue(e)}return a}if("string"==typeof e)return this.node.style.getPropertyValue(e);if("object"==typeof e)for(const t in e)this.node.style.setProperty(t,null==e[t]||de.test(e[t])?"":e[t])}return 2===arguments.length&&this.node.style.setProperty(e,null==t||de.test(t)?"":t),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return"none"!==this.css("display")}}),I("Dom",{data:function(e,t,a){if(null==e)return this.data(T(function(e,t){let a;const r=e.length,n=[];for(a=0;a<r;a++)t(e[a])&&n.push(e[a]);return n}(this.node.attributes,(e=>0===e.nodeName.indexOf("data-"))),(e=>e.nodeName.slice(5))));if(e instanceof Array){const t={};for(const a of e)t[a]=this.data(a);return t}if("object"==typeof e)for(t in e)this.data(t,e[t]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+e))}catch(t){return this.attr("data-"+e)}else this.attr("data-"+e,null===t?null:!0===a||"string"==typeof t||"number"==typeof t?t:JSON.stringify(t));return this}}),I("Dom",{remember:function(e,t){if("object"==typeof arguments[0])for(const t in e)this.remember(t,e[t]);else{if(1===arguments.length)return this.memory()[e];this.memory()[e]=t}return this},forget:function(){if(0===arguments.length)this._memory={};else for(let e=arguments.length-1;e>=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory=this._memory||{}}});class Ne{constructor(...e){this.init(...e)}static isColor(e){return e&&(e instanceof Ne||this.isRgb(e)||this.test(e))}static isRgb(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b}static random(e="vibrant",t){const{random:a,round:r,sin:n,PI:i}=Math;if("vibrant"===e){const e=24*a()+57,t=38*a()+45,r=360*a();return new Ne(e,t,r,"lch")}if("sine"===e){const e=r(80*n(2*i*(t=null==t?a():t)/.5+.01)+150),s=r(50*n(2*i*t/.5+4.6)+200),o=r(100*n(2*i*t/.5+2.3)+150);return new Ne(e,s,o)}if("pastel"===e){const e=8*a()+86,t=17*a()+9,r=360*a();return new Ne(e,t,r,"lch")}if("dark"===e){const e=10+10*a(),t=50*a()+86,r=360*a();return new Ne(e,t,r,"lch")}if("rgb"===e){const e=255*a(),t=255*a(),r=255*a();return new Ne(e,t,r)}if("lab"===e){const e=100*a(),t=256*a()-128,r=256*a()-128;return new Ne(e,t,r,"lab")}if("grey"===e){const e=255*a();return new Ne(e,e,e)}throw new Error("Unsupported random color mode")}static test(e){return"string"==typeof e&&(ce.test(e)||ue.test(e))}cmyk(){const{_a:e,_b:t,_c:a}=this.rgb(),[r,n,i]=[e,t,a].map((e=>e/255)),s=Math.min(1-r,1-n,1-i);return 1===s?new Ne(0,0,0,1,"cmyk"):new Ne((1-r-s)/(1-s),(1-n-s)/(1-s),(1-i-s)/(1-s),s,"cmyk")}hsl(){const{_a:e,_b:t,_c:a}=this.rgb(),[r,n,i]=[e,t,a].map((e=>e/255)),s=Math.max(r,n,i),o=Math.min(r,n,i),l=(s+o)/2,c=s===o,u=s-o;return new Ne(360*(c?0:s===r?((n-i)/u+(n<i?6:0))/6:s===n?((i-r)/u+2)/6:s===i?((r-n)/u+4)/6:0),100*(c?0:l>.5?u/(2-s-o):u/(s+o)),100*l,"hsl")}init(e=0,t=0,a=0,r=0,n="rgb"){if(e=e||0,this.space)for(const e in this.space)delete this[this.space[e]];if("number"==typeof e)n="string"==typeof r?r:n,r="string"==typeof r?0:r,Object.assign(this,{_a:e,_b:t,_c:a,_d:r,space:n});else if(e instanceof Array)this.space=t||("string"==typeof e[3]?e[3]:e[4])||"rgb",Object.assign(this,{_a:e[0],_b:e[1],_c:e[2],_d:e[3]||0});else if(e instanceof Object){const a=function(e,t){const a=he(e,"rgb")?{_a:e.r,_b:e.g,_c:e.b,_d:0,space:"rgb"}:he(e,"xyz")?{_a:e.x,_b:e.y,_c:e.z,_d:0,space:"xyz"}:he(e,"hsl")?{_a:e.h,_b:e.s,_c:e.l,_d:0,space:"hsl"}:he(e,"lab")?{_a:e.l,_b:e.a,_c:e.b,_d:0,space:"lab"}:he(e,"lch")?{_a:e.l,_b:e.c,_c:e.h,_d:0,space:"lch"}:he(e,"cmyk")?{_a:e.c,_b:e.m,_c:e.y,_d:e.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return a.space=t||a.space,a}(e,t);Object.assign(this,a)}else if("string"==typeof e)if(ue.test(e)){const t=e.replace(le,""),[a,r,n]=ie.exec(t).slice(1,4).map((e=>parseInt(e)));Object.assign(this,{_a:a,_b:r,_c:n,_d:0,space:"rgb"})}else{if(!ce.test(e))throw Error("Unsupported string format, can't construct Color");{const t=e=>parseInt(e,16),[,a,r,n]=ne.exec(function(e){return 4===e.length?["#",e.substring(1,2),e.substring(1,2),e.substring(2,3),e.substring(2,3),e.substring(3,4),e.substring(3,4)].join(""):e}(e)).map(t);Object.assign(this,{_a:a,_b:r,_c:n,_d:0,space:"rgb"})}}const{_a:i,_b:s,_c:o,_d:l}=this,c="rgb"===this.space?{r:i,g:s,b:o}:"xyz"===this.space?{x:i,y:s,z:o}:"hsl"===this.space?{h:i,s,l:o}:"lab"===this.space?{l:i,a:s,b:o}:"lch"===this.space?{l:i,c:s,h:o}:"cmyk"===this.space?{c:i,m:s,y:o,k:l}:{};Object.assign(this,c)}lab(){const{x:e,y:t,z:a}=this.xyz();return new Ne(116*t-16,500*(e-t),200*(t-a),"lab")}lch(){const{l:e,a:t,b:a}=this.lab(),r=Math.sqrt(t**2+a**2);let n=180*Math.atan2(a,t)/Math.PI;return n<0&&(n*=-1,n=360-n),new Ne(e,r,n,"lch")}rgb(){if("rgb"===this.space)return this;if("lab"===(e=this.space)||"xyz"===e||"lch"===e){let{x:e,y:t,z:a}=this;if("lab"===this.space||"lch"===this.space){let{l:r,a:n,b:i}=this;if("lch"===this.space){const{c:e,h:t}=this,a=Math.PI/180;n=e*Math.cos(a*t),i=e*Math.sin(a*t)}const s=(r+16)/116,o=n/500+s,l=s-i/200,c=16/116,u=.008856,d=7.787;e=.95047*(o**3>u?o**3:(o-c)/d),t=1*(s**3>u?s**3:(s-c)/d),a=1.08883*(l**3>u?l**3:(l-c)/d)}const r=3.2406*e+-1.5372*t+-.4986*a,n=-.9689*e+1.8758*t+.0415*a,i=.0557*e+-.204*t+1.057*a,s=Math.pow,o=.0031308,l=r>o?1.055*s(r,1/2.4)-.055:12.92*r,c=n>o?1.055*s(n,1/2.4)-.055:12.92*n,u=i>o?1.055*s(i,1/2.4)-.055:12.92*i;return new Ne(255*l,255*c,255*u)}if("hsl"===this.space){let{h:e,s:t,l:a}=this;if(e/=360,t/=100,a/=100,0===t)return a*=255,new Ne(a,a,a);const r=a<.5?a*(1+t):a+t-a*t,n=2*a-r,i=255*ye(n,r,e+1/3),s=255*ye(n,r,e),o=255*ye(n,r,e-1/3);return new Ne(i,s,o)}if("cmyk"===this.space){const{c:e,m:t,y:a,k:r}=this,n=255*(1-Math.min(1,e*(1-r)+r)),i=255*(1-Math.min(1,t*(1-r)+r)),s=255*(1-Math.min(1,a*(1-r)+r));return new Ne(n,i,s)}return this;var e}toArray(){const{_a:e,_b:t,_c:a,_d:r,space:n}=this;return[e,t,a,r,n]}toHex(){const[e,t,a]=this._clamped().map(Me);return`#${e}${t}${a}`}toRgb(){const[e,t,a]=this._clamped();return`rgb(${e},${t},${a})`}toString(){return this.toHex()}xyz(){const{_a:e,_b:t,_c:a}=this.rgb(),[r,n,i]=[e,t,a].map((e=>e/255)),s=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,o=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,l=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,c=(.4124*s+.3576*o+.1805*l)/.95047,u=(.2126*s+.7152*o+.0722*l)/1,d=(.0193*s+.1192*o+.9505*l)/1.08883,m=c>.008856?Math.pow(c,1/3):7.787*c+16/116,g=u>.008856?Math.pow(u,1/3):7.787*u+16/116,p=d>.008856?Math.pow(d,1/3):7.787*d+16/116;return new Ne(m,g,p,"xyz")}_clamped(){const{_a:e,_b:t,_c:a}=this.rgb(),{max:r,min:n,round:i}=Math;return[e,t,a].map((e=>r(0,n(i(e),255))))}}class we{constructor(...e){this.init(...e)}clone(){return new we(this)}init(e,t){const a=Array.isArray(e)?{x:e[0],y:e[1]}:"object"==typeof e?{x:e.x,y:e.y}:{x:e,y:t};return this.x=null==a.x?0:a.x,this.y=null==a.y?0:a.y,this}toArray(){return[this.x,this.y]}transform(e){return this.clone().transformO(e)}transformO(e){be.isMatrixLike(e)||(e=new be(e));const{x:t,y:a}=this;return this.x=e.a*t+e.c*a+e.e,this.y=e.b*t+e.d*a+e.f,this}}function xe(e,t,a){return Math.abs(t-e)<(a||1e-6)}class be{constructor(...e){this.init(...e)}static formatTransforms(e){const t="both"===e.flip||!0===e.flip,a=e.flip&&(t||"x"===e.flip)?-1:1,r=e.flip&&(t||"y"===e.flip)?-1:1,n=e.skew&&e.skew.length?e.skew[0]:isFinite(e.skew)?e.skew:isFinite(e.skewX)?e.skewX:0,i=e.skew&&e.skew.length?e.skew[1]:isFinite(e.skew)?e.skew:isFinite(e.skewY)?e.skewY:0,s=e.scale&&e.scale.length?e.scale[0]*a:isFinite(e.scale)?e.scale*a:isFinite(e.scaleX)?e.scaleX*a:a,o=e.scale&&e.scale.length?e.scale[1]*r:isFinite(e.scale)?e.scale*r:isFinite(e.scaleY)?e.scaleY*r:r,l=e.shear||0,c=e.rotate||e.theta||0,u=new we(e.origin||e.around||e.ox||e.originX,e.oy||e.originY),d=u.x,m=u.y,g=new we(e.position||e.px||e.positionX||NaN,e.py||e.positionY||NaN),p=g.x,f=g.y,M=new we(e.translate||e.tx||e.translateX,e.ty||e.translateY),h=M.x,y=M.y,N=new we(e.relative||e.rx||e.relativeX,e.ry||e.relativeY);return{scaleX:s,scaleY:o,skewX:n,skewY:i,shear:l,theta:c,rx:N.x,ry:N.y,tx:h,ty:y,ox:d,oy:m,px:p,py:f}}static fromArray(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}static isMatrixLike(e){return null!=e.a||null!=e.b||null!=e.c||null!=e.d||null!=e.e||null!=e.f}static matrixMultiply(e,t,a){const r=e.a*t.a+e.c*t.b,n=e.b*t.a+e.d*t.b,i=e.a*t.c+e.c*t.d,s=e.b*t.c+e.d*t.d,o=e.e+e.a*t.e+e.c*t.f,l=e.f+e.b*t.e+e.d*t.f;return a.a=r,a.b=n,a.c=i,a.d=s,a.e=o,a.f=l,a}around(e,t,a){return this.clone().aroundO(e,t,a)}aroundO(e,t,a){const r=e||0,n=t||0;return this.translateO(-r,-n).lmultiplyO(a).translateO(r,n)}clone(){return new be(this)}decompose(e=0,t=0){const a=this.a,r=this.b,n=this.c,i=this.d,s=this.e,o=this.f,l=a*i-r*n,c=l>0?1:-1,u=c*Math.sqrt(a*a+r*r),d=Math.atan2(c*r,c*a),m=180/Math.PI*d,g=Math.cos(d),p=Math.sin(d),f=(a*n+r*i)/l,M=n*u/(f*a-r)||i*u/(f*r+a);return{scaleX:u,scaleY:M,shear:f,rotate:m,translateX:s-e+e*g*u+t*(f*g*u-p*M),translateY:o-t+e*p*u+t*(f*p*u+g*M),originX:e,originY:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(e){if(e===this)return!0;const t=new be(e);return xe(this.a,t.a)&&xe(this.b,t.b)&&xe(this.c,t.c)&&xe(this.d,t.d)&&xe(this.e,t.e)&&xe(this.f,t.f)}flip(e,t){return this.clone().flipO(e,t)}flipO(e,t){return"x"===e?this.scaleO(-1,1,t,0):"y"===e?this.scaleO(1,-1,0,t):this.scaleO(-1,-1,e,t||e)}init(e){const t=be.fromArray([1,0,0,1,0,0]);return e=e instanceof Be?e.matrixify():"string"==typeof e?be.fromArray(e.split(pe).map(parseFloat)):Array.isArray(e)?be.fromArray(e):"object"==typeof e&&be.isMatrixLike(e)?e:"object"==typeof e?(new be).transform(e):6===arguments.length?be.fromArray([].slice.call(arguments)):t,this.a=null!=e.a?e.a:t.a,this.b=null!=e.b?e.b:t.b,this.c=null!=e.c?e.c:t.c,this.d=null!=e.d?e.d:t.d,this.e=null!=e.e?e.e:t.e,this.f=null!=e.f?e.f:t.f,this}inverse(){return this.clone().inverseO()}inverseO(){const e=this.a,t=this.b,a=this.c,r=this.d,n=this.e,i=this.f,s=e*r-t*a;if(!s)throw new Error("Cannot invert "+this);const o=r/s,l=-t/s,c=-a/s,u=e/s,d=-(o*n+c*i),m=-(l*n+u*i);return this.a=o,this.b=l,this.c=c,this.d=u,this.e=d,this.f=m,this}lmultiply(e){return this.clone().lmultiplyO(e)}lmultiplyO(e){const t=e instanceof be?e:new be(e);return be.matrixMultiply(t,this,this)}multiply(e){return this.clone().multiplyO(e)}multiplyO(e){const t=e instanceof be?e:new be(e);return be.matrixMultiply(this,t,this)}rotate(e,t,a){return this.clone().rotateO(e,t,a)}rotateO(e,t=0,a=0){e=A(e);const r=Math.cos(e),n=Math.sin(e),{a:i,b:s,c:o,d:l,e:c,f:u}=this;return this.a=i*r-s*n,this.b=s*r+i*n,this.c=o*r-l*n,this.d=l*r+o*n,this.e=c*r-u*n+a*n-t*r+t,this.f=u*r+c*n-t*n-a*r+a,this}scale(){return this.clone().scaleO(...arguments)}scaleO(e,t=e,a=0,r=0){3===arguments.length&&(r=a,a=t,t=e);const{a:n,b:i,c:s,d:o,e:l,f:c}=this;return this.a=n*e,this.b=i*t,this.c=s*e,this.d=o*t,this.e=l*e-a*e+a,this.f=c*t-r*t+r,this}shear(e,t,a){return this.clone().shearO(e,t,a)}shearO(e,t=0,a=0){const{a:r,b:n,c:i,d:s,e:o,f:l}=this;return this.a=r+n*e,this.c=i+s*e,this.e=o+l*e-a*e,this}skew(){return this.clone().skewO(...arguments)}skewO(e,t=e,a=0,r=0){3===arguments.length&&(r=a,a=t,t=e),e=A(e),t=A(t);const n=Math.tan(e),i=Math.tan(t),{a:s,b:o,c:l,d:c,e:u,f:d}=this;return this.a=s+o*n,this.b=o+s*i,this.c=l+c*n,this.d=c+l*i,this.e=u+d*n-r*n,this.f=d+u*i-a*i,this}skewX(e,t,a){return this.skew(e,0,t,a)}skewY(e,t,a){return this.skew(0,e,t,a)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(e){if(be.isMatrixLike(e))return new be(e).multiplyO(this);const t=be.formatTransforms(e),{x:a,y:r}=new we(t.ox,t.oy).transform(this),n=(new be).translateO(t.rx,t.ry).lmultiplyO(this).translateO(-a,-r).scaleO(t.scaleX,t.scaleY).skewO(t.skewX,t.skewY).shearO(t.shear).rotateO(t.theta).translateO(a,r);if(isFinite(t.px)||isFinite(t.py)){const e=new we(a,r).transform(n),i=isFinite(t.px)?t.px-e.x:0,s=isFinite(t.py)?t.py-e.y:0;n.translateO(i,s)}return n.translateO(t.tx,t.ty),n}translate(e,t){return this.clone().translateO(e,t)}translateO(e,t){return this.e+=e||0,this.f+=t||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function De(){if(!De.nodes){const e=Z().size(2,0);e.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),e.attr("focusable","false"),e.attr("aria-hidden","true");const t=e.path().node;De.nodes={svg:e,path:t}}if(!De.nodes.svg.node.parentNode){const e=F.document.body||F.document.documentElement;De.nodes.svg.addTo(e)}return De.nodes}function je(e){return!(e.width||e.height||e.x||e.y)}q(be,"Matrix");class ve{constructor(...e){this.init(...e)}addOffset(){return this.x+=F.window.pageXOffset,this.y+=F.window.pageYOffset,new ve(this)}init(e){return e="string"==typeof e?e.split(pe).map(parseFloat):Array.isArray(e)?e:"object"==typeof e?[null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height]:4===arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=e[0]||0,this.y=e[1]||0,this.width=this.w=e[2]||0,this.height=this.h=e[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return je(this)}merge(e){const t=Math.min(this.x,e.x),a=Math.min(this.y,e.y),r=Math.max(this.x+this.width,e.x+e.width)-t,n=Math.max(this.y+this.height,e.y+e.height)-a;return new ve(t,a,r,n)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(e){e instanceof be||(e=new be(e));let t=1/0,a=-1/0,r=1/0,n=-1/0;return[new we(this.x,this.y),new we(this.x2,this.y),new we(this.x,this.y2),new we(this.x2,this.y2)].forEach((function(i){i=i.transform(e),t=Math.min(t,i.x),a=Math.max(a,i.x),r=Math.min(r,i.y),n=Math.max(n,i.y)})),new ve(t,r,a-t,n-r)}}function _e(e,t,a){let r;try{if(r=t(e.node),je(r)&&(n=e.node)!==F.document&&!(F.document.documentElement.contains||function(e){for(;e.parentNode;)e=e.parentNode;return e===F.document}).call(F.document.documentElement,n))throw new Error("Element not in the dom")}catch(t){r=a(e)}var n;return r}I({viewbox:{viewbox(e,t,a,r){return null==e?new ve(this.attr("viewBox")):this.attr("viewBox",new ve(e,t,a,r))},zoom(e,t){let{width:a,height:r}=this.attr(["width","height"]);if((a||r)&&"string"!=typeof a&&"string"!=typeof r||(a=this.node.clientWidth,r=this.node.clientHeight),!a||!r)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const n=this.viewbox(),i=a/n.width,s=r/n.height,o=Math.min(i,s);if(null==e)return o;let l=o/e;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),t=t||new we(a/2/i+n.x,r/2/s+n.y);const c=new ve(n).transform(new be({scale:l,origin:t}));return this.viewbox(c)}}}),q(ve,"Box");class Ie extends Array{constructor(e=[],...t){if(super(e,...t),"number"==typeof e)return this;this.length=0,this.push(...e)}}te([Ie],{each(e,...t){return"function"==typeof e?this.map(((t,a,r)=>e.call(t,t,a,r))):this.map((a=>a[e](...t)))},toArray(){return Array.prototype.concat.apply([],this)}});const Ee=["toArray","constructor","each"];function Le(e,t){return new Ie(T((t||F.document).querySelectorAll(e),(function(e){return X(e)})))}Ie.extend=function(e){e=e.reduce(((e,t)=>(Ee.includes(t)||"_"===t[0]||(t in Array.prototype&&(e["$"+t]=Array.prototype[t]),e[t]=function(...e){return this.each(t,...e)}),e)),{}),te([Ie],e)};let Te=0;const Ae={};function ze(e){let t=e.getEventHolder();return t===F.window&&(t=Ae),t.events||(t.events={}),t.events}function ke(e){return e.getEventTarget()}function Se(e,t,a,r,n){const i=a.bind(r||e),s=Z(e),o=ze(s),l=ke(s);t=Array.isArray(t)?t:t.split(pe),a._svgjsListenerId||(a._svgjsListenerId=++Te),t.forEach((function(e){const t=e.split(".")[0],r=e.split(".")[1]||"*";o[t]=o[t]||{},o[t][r]=o[t][r]||{},o[t][r][a._svgjsListenerId]=i,l.addEventListener(t,i,n||!1)}))}function Oe(e,t,a,r){const n=Z(e),i=ze(n),s=ke(n);("function"!=typeof a||(a=a._svgjsListenerId))&&(t=Array.isArray(t)?t:(t||"").split(pe)).forEach((function(e){const t=e&&e.split(".")[0],o=e&&e.split(".")[1];let l,c;if(a)i[t]&&i[t][o||"*"]&&(s.removeEventListener(t,i[t][o||"*"][a],r||!1),delete i[t][o||"*"][a]);else if(t&&o){if(i[t]&&i[t][o]){for(c in i[t][o])Oe(s,[t,o].join("."),c);delete i[t][o]}}else if(o)for(e in i)for(l in i[e])o===l&&Oe(s,[e,o].join("."));else if(t){if(i[t]){for(l in i[t])Oe(s,[t,l].join("."));delete i[t]}}else{for(e in i)Oe(s,e);!function(e){let t=e.getEventHolder();t===F.window&&(t=Ae),t.events&&(t.events={})}(n)}}))}class Ce extends H{addEventListener(){}dispatch(e,t,a){return function(e,t,a,r){const n=ke(e);return t instanceof F.window.Event||(t=new F.window.CustomEvent(t,{detail:a,cancelable:!0,...r})),n.dispatchEvent(t),t}(this,e,t,a)}dispatchEvent(e){const t=this.getEventHolder().events;if(!t)return!0;const a=t[e.type];for(const t in a)for(const r in a[t])a[t][r](e);return!e.defaultPrevented}fire(e,t,a){return this.dispatch(e,t,a),this}getEventHolder(){return this}getEventTarget(){return this}off(e,t,a){return Oe(this,e,t,a),this}on(e,t,a,r){return Se(this,e,t,a,r),this}removeEventListener(){}}function Ye(){}q(Ce,"EventTarget");const Ue={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class Qe extends Array{constructor(...e){super(...e),this.init(...e)}clone(){return new this.constructor(this)}init(e){return"number"==typeof e||(this.length=0,this.push(...this.parse(e))),this}parse(e=[]){return e instanceof Array?e:e.trim().split(pe).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const e=[];return e.push(...this),e}}class Pe{constructor(...e){this.init(...e)}convert(e){return new Pe(this.value,e)}divide(e){return e=new Pe(e),new Pe(this/e,this.unit||e.unit)}init(e,t){return t=Array.isArray(e)?e[1]:t,e=Array.isArray(e)?e[0]:e,this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(re))&&(this.value=parseFloat(t[1]),"%"===t[5]?this.value/=100:"s"===t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof Pe&&(this.value=e.valueOf(),this.unit=e.unit),this}minus(e){return e=new Pe(e),new Pe(this-e,this.unit||e.unit)}plus(e){return e=new Pe(e),new Pe(this+e,this.unit||e.unit)}times(e){return e=new Pe(e),new Pe(this*e,this.unit||e.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const Fe=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),Re=[];class He extends Ce{constructor(e,t){super(),this.node=e,this.type=e.nodeName,t&&e!==t&&this.attr(t)}add(e,t){return(e=Z(e)).removeNamespace&&this.node instanceof F.window.SVGElement&&e.removeNamespace(),null==t?this.node.appendChild(e.node):e.node!==this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this}addTo(e,t){return Z(e).put(this,t)}children(){return new Ie(T(this.node.children,(function(e){return X(e)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(e=!0,t=!0){this.writeDataToDom();let a=this.node.cloneNode(e);return t&&(a=ee(a)),new this.constructor(a)}each(e,t){const a=this.children();let r,n;for(r=0,n=a.length;r<n;r++)e.apply(a[r],[r,a]),t&&a[r].each(e,t);return this}element(e,t){return this.put(new He(V(e),t))}first(){return X(this.node.firstChild)}get(e){return X(this.node.childNodes[e])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(e){return this.index(e)>=0}html(e,t){return this.xml(e,t,"http://www.w3.org/1999/xhtml")}id(e){return void 0!==e||this.node.id||(this.node.id=K(this.type)),this.attr("id",e)}index(e){return[].slice.call(this.node.childNodes).indexOf(e.node)}last(){return X(this.node.lastChild)}matches(e){const t=this.node,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return a&&a.call(t,e)}parent(e){let t=this;if(!t.node.parentNode)return null;if(t=X(t.node.parentNode),!e)return t;do{if("string"==typeof e?t.matches(e):t instanceof e)return t}while(t=X(t.node.parentNode));return t}put(e,t){return e=Z(e),this.add(e,t),e}putIn(e,t){return Z(e).add(this,t)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(e){return this.node.removeChild(e.node),this}replace(e){return e=Z(e),this.node.parentNode&&this.node.parentNode.replaceChild(e.node,this.node),e}round(e=2,t=null){const a=10**e,r=this.attr(t);for(const e in r)"number"==typeof r[e]&&(r[e]=Math.round(r[e]*a)/a);return this.attr(r),this}svg(e,t){return this.xml(e,t,U)}toString(){return this.id()}words(e){return this.node.textContent=e,this}wrap(e){const t=this.parent();if(!t)return this.addTo(e);const a=t.index(this);return t.put(e,a).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(e,t,a){if("boolean"==typeof e&&(a=t,t=e,e=null),null==e||"function"==typeof e){t=null==t||t,this.writeDataToDom();let a=this;if(null!=e){if(a=X(a.node.cloneNode(!0)),t){const t=e(a);if(a=t||a,!1===t)return""}a.each((function(){const t=e(this),a=t||this;!1===t?this.remove():t&&this!==a&&this.replace(a)}),!0)}return t?a.node.outerHTML:a.node.innerHTML}t=null!=t&&t;const r=V("wrapper",a),n=F.document.createDocumentFragment();r.innerHTML=e;for(let e=r.children.length;e--;)n.appendChild(r.firstElementChild);const i=this.parent();return t?this.replace(n)&&i:this.add(n)}}te(He,{attr:function(e,t,a){if(null==e){e={},t=this.node.attributes;for(const a of t)e[a.nodeName]=me.test(a.nodeValue)?parseFloat(a.nodeValue):a.nodeValue;return e}if(e instanceof Array)return e.reduce(((e,t)=>(e[t]=this.attr(t),e)),{});if("object"==typeof e&&e.constructor===Object)for(t in e)this.attr(t,e[t]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?Ue[e]:me.test(t)?parseFloat(t):t;"number"==typeof(t=Re.reduce(((t,a)=>a(e,t,this)),t))?t=new Pe(t):Fe.has(e)&&Ne.isColor(t)?t=new Ne(t):t.constructor===Array&&(t=new Qe(t)),"leading"===e?this.leading&&this.leading(t):"string"==typeof a?this.node.setAttributeNS(a,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!==e&&"x"!==e||this.rebuild()}return this},find:function(e){return Le(e,this.node)},findOne:function(e){return X(this.node.querySelector(e))}}),q(He,"Dom");let Be=class extends He{constructor(e,t){super(e,t),this.dom={},this.node.instance=this,(e.hasAttribute("data-svgjs")||e.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(e.getAttribute("data-svgjs"))??JSON.parse(e.getAttribute("svgjs:data"))??{})}center(e,t){return this.cx(e).cy(t)}cx(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)}cy(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)}defs(){const e=this.root();return e&&e.defs()}dmove(e,t){return this.dx(e).dy(t)}dx(e=0){return this.x(new Pe(e).plus(this.x()))}dy(e=0){return this.y(new Pe(e).plus(this.y()))}getEventHolder(){return this}height(e){return this.attr("height",e)}move(e,t){return this.x(e).y(t)}parents(e=this.root()){const t="string"==typeof e;t||(e=Z(e));const a=new Ie;let r=this;for(;(r=r.parent())&&r.node!==F.document&&"#document-fragment"!==r.nodeName&&(a.push(r),t||r.node!==e.node)&&(!t||!r.matches(e));)if(r.node===this.root().node)return null;return a}reference(e){if(!(e=this.attr(e)))return null;const t=(e+"").match(se);return t?Z(t[1]):null}root(){const e=this.parent(function(e){return B[e]}(W));return e&&e.root()}setData(e){return this.dom=e,this}size(e,t){const a=k(this,e,t);return this.width(new Pe(a.width)).height(new Pe(a.height))}width(e){return this.attr("width",e)}writeDataToDom(){return Y(this,this.dom),super.writeDataToDom()}x(e){return this.attr("x",e)}y(e){return this.attr("y",e)}};te(Be,{bbox:function(){const e=_e(this,(e=>e.getBBox()),(e=>{try{const t=e.clone().addTo(De().svg).show(),a=t.node.getBBox();return t.remove(),a}catch(t){throw new Error(`Getting bbox of element "${e.node.nodeName}" is not possible: ${t.toString()}`)}}));return new ve(e)},rbox:function(e){const t=_e(this,(e=>e.getBoundingClientRect()),(e=>{throw new Error(`Getting rbox of element "${e.node.nodeName}" is not possible`)})),a=new ve(t);return e?a.transform(e.screenCTM().inverseO()):a.addOffset()},inside:function(e,t){const a=this.bbox();return e>a.x&&t>a.y&&e<a.x+a.width&&t<a.y+a.height},point:function(e,t){return new we(e,t).transformO(this.screenCTM().inverseO())},ctm:function(){return new be(this.node.getCTM())},screenCTM:function(){try{if("function"==typeof this.isRoot&&!this.isRoot()){const e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new be(t)}return new be(this.node.getScreenCTM())}catch(e){return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new be}}}),q(Be,"Element");const We={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(e,t){return"color"===t?e:e+"-"+t}};["fill","stroke"].forEach((function(e){const t={};let a;t[e]=function(t){if(void 0===t)return this.attr(e);if("string"==typeof t||t instanceof Ne||Ne.isRgb(t)||t instanceof Be)this.attr(e,t);else for(a=We[e].length-1;a>=0;a--)null!=t[We[e][a]]&&this.attr(We.prefix(e,We[e][a]),t[We[e][a]]);return this},I(["Element","Runner"],t)})),I(["Element","Runner"],{matrix:function(e,t,a,r,n,i){return null==e?new be(this):this.attr("transform",new be(e,t,a,r,n,i))},rotate:function(e,t,a){return this.transform({rotate:e,ox:t,oy:a},!0)},skew:function(e,t,a,r){return 1===arguments.length||3===arguments.length?this.transform({skew:e,ox:t,oy:a},!0):this.transform({skew:[e,t],ox:a,oy:r},!0)},shear:function(e,t,a){return this.transform({shear:e,ox:t,oy:a},!0)},scale:function(e,t,a,r){return 1===arguments.length||3===arguments.length?this.transform({scale:e,ox:t,oy:a},!0):this.transform({scale:[e,t],ox:a,oy:r},!0)},translate:function(e,t){return this.transform({translate:[e,t]},!0)},relative:function(e,t){return this.transform({relative:[e,t]},!0)},flip:function(e="both",t="center"){return-1==="xybothtrue".indexOf(e)&&(t=e,e="both"),this.transform({flip:e,origin:t},!0)},opacity:function(e){return this.attr("opacity",e)}}),I("radius",{radius:function(e,t=e){return"radialGradient"===(this._element||this).type?this.attr("r",new Pe(e)):this.rx(e).ry(t)}}),I("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(e){return new we(this.node.getPointAtLength(e))}}),I(["Element","Runner"],{font:function(e,t){if("object"==typeof e){for(t in e)this.font(t,e[t]);return this}return"leading"===e?this.leading(t):"anchor"===e?this.attr("text-anchor",t):"size"===e||"family"===e||"weight"===e||"stretch"===e||"variant"===e||"style"===e?this.attr("font-"+e,t):this.attr(e,t)}}),I("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(e,t){return e[t]=function(e){return null===e?this.off(t):this.on(t,e),this},e}),{})),I("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){const e=(this.attr("transform")||"").split(oe).slice(0,-1).map((function(e){const t=e.trim().split("(");return[t[0],t[1].split(pe).map((function(e){return parseFloat(e)}))]})).reverse().reduce((function(e,t){return"matrix"===t[0]?e.lmultiply(be.fromArray(t[1])):e[t[0]].apply(e,t[1])}),new be);return e},toParent:function(e,t){if(this===e)return this;if(C(this.node))return this.addTo(e,t);const a=this.screenCTM(),r=e.screenCTM().inverse();return this.addTo(e,t).untransform().transform(r.multiply(a)),this},toRoot:function(e){return this.toParent(this.root(),e)},transform:function(e,t){if(null==e||"string"==typeof e){const t=new be(this).decompose();return null==e?t:t[e]}be.isMatrixLike(e)||(e={...e,origin:S(e,this)});const a=new be(!0===t?this:t||!1).transform(e);return this.attr("transform",a)}});class Ve extends Be{flatten(){return this.each((function(){if(this instanceof Ve)return this.flatten().ungroup()})),this}ungroup(e=this.parent(),t=e.index(this)){return t=-1===t?e.children().length:t,this.each((function(a,r){return r[r.length-a-1].toParent(e,t)})),this.remove()}}q(Ve,"Container");class Ze extends Ve{constructor(e,t=e){super(G("defs",e),t)}flatten(){return this}ungroup(){return this}}q(Ze,"Defs");class Ge extends Be{}function Xe(e){return this.attr("rx",e)}function Je(e){return this.attr("ry",e)}function qe(e){return null==e?this.cx()-this.rx():this.cx(e+this.rx())}function $e(e){return null==e?this.cy()-this.ry():this.cy(e+this.ry())}function Ke(e){return this.attr("cx",e)}function et(e){return this.attr("cy",e)}function tt(e){return null==e?2*this.rx():this.rx(new Pe(e).divide(2))}function at(e){return null==e?2*this.ry():this.ry(new Pe(e).divide(2))}q(Ge,"Shape");var rt=Object.freeze({__proto__:null,cx:Ke,cy:et,height:at,rx:Xe,ry:Je,width:tt,x:qe,y:$e});class nt extends Ge{constructor(e,t=e){super(G("ellipse",e),t)}size(e,t){const a=k(this,e,t);return this.rx(new Pe(a.width).divide(2)).ry(new Pe(a.height).divide(2))}}te(nt,rt),I("Container",{ellipse:ae((function(e=0,t=e){return this.put(new nt).size(e,t).move(0,0)}))}),q(nt,"Ellipse");class it extends He{constructor(e=F.document.createDocumentFragment()){super(e)}xml(e,t,a){if("boolean"==typeof e&&(a=t,t=e,e=null),null==e||"function"==typeof e){const e=new He(V("wrapper",a));return e.add(this.node.cloneNode(!0)),e.xml(!1,a)}return super.xml(e,!1,a)}}function st(e,t){return"radialGradient"===(this._element||this).type?this.attr({fx:new Pe(e),fy:new Pe(t)}):this.attr({x1:new Pe(e),y1:new Pe(t)})}function ot(e,t){return"radialGradient"===(this._element||this).type?this.attr({cx:new Pe(e),cy:new Pe(t)}):this.attr({x2:new Pe(e),y2:new Pe(t)})}q(it,"Fragment");var lt=Object.freeze({__proto__:null,from:st,to:ot});class ct extends Ve{constructor(e,t){super(G(e+"Gradient","string"==typeof e?null:e),t)}attr(e,t,a){return"transform"===e&&(e="gradientTransform"),super.attr(e,t,a)}bbox(){return new ve}targets(){return Le("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),"function"==typeof e&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}te(ct,lt),I({Container:{gradient(...e){return this.defs().gradient(...e)}},Defs:{gradient:ae((function(e,t){return this.put(new ct(e)).update(t)}))}}),q(ct,"Gradient");class ut extends Ve{constructor(e,t=e){super(G("pattern",e),t)}attr(e,t,a){return"transform"===e&&(e="patternTransform"),super.attr(e,t,a)}bbox(){return new ve}targets(){return Le("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),"function"==typeof e&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}I({Container:{pattern(...e){return this.defs().pattern(...e)}},Defs:{pattern:ae((function(e,t,a){return this.put(new ut).update(a).attr({x:0,y:0,width:e,height:t,patternUnits:"userSpaceOnUse"})}))}}),q(ut,"Pattern");let dt=class extends Ge{constructor(e,t=e){super(G("image",e),t)}load(e,t){if(!e)return this;const a=new F.window.Image;return Se(a,"load",(function(e){const r=this.parent(ut);0===this.width()&&0===this.height()&&this.size(a.width,a.height),r instanceof ut&&0===r.width()&&0===r.height()&&r.size(this.width(),this.height()),"function"==typeof t&&t.call(this,e)}),this),Se(a,"load error",(function(){Oe(a)})),this.attr("href",a.src=e,P)}};var mt;mt=function(e,t,a){return"fill"!==e&&"stroke"!==e||ge.test(t)&&(t=a.root().defs().image(t)),t instanceof dt&&(t=a.root().defs().pattern(0,0,(e=>{e.add(t)}))),t},Re.push(mt),I({Container:{image:ae((function(e,t){return this.put(new dt).size(0,0).load(e,t)}))}}),q(dt,"Image");class gt extends Qe{bbox(){let e=-1/0,t=-1/0,a=1/0,r=1/0;return this.forEach((function(n){e=Math.max(n[0],e),t=Math.max(n[1],t),a=Math.min(n[0],a),r=Math.min(n[1],r)})),new ve(a,r,e-a,t-r)}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let a=this.length-1;a>=0;a--)this[a]=[this[a][0]+e,this[a][1]+t];return this}parse(e=[0,0]){const t=[];(e=e instanceof Array?Array.prototype.concat.apply([],e):e.trim().split(pe).map(parseFloat)).length%2!=0&&e.pop();for(let a=0,r=e.length;a<r;a+=2)t.push([e[a],e[a+1]]);return t}size(e,t){let a;const r=this.bbox();for(a=this.length-1;a>=0;a--)r.width&&(this[a][0]=(this[a][0]-r.x)*e/r.width+r.x),r.height&&(this[a][1]=(this[a][1]-r.y)*t/r.height+r.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const e=[];for(let t=0,a=this.length;t<a;t++)e.push(this[t].join(","));return e.join(" ")}transform(e){return this.clone().transformO(e)}transformO(e){be.isMatrixLike(e)||(e=new be(e));for(let t=this.length;t--;){const[a,r]=this[t];this[t][0]=e.a*a+e.c*r+e.e,this[t][1]=e.b*a+e.d*r+e.f}return this}}const pt=gt;var ft=Object.freeze({__proto__:null,MorphArray:pt,height:function(e){const t=this.bbox();return null==e?t.height:this.size(t.width,e)},width:function(e){const t=this.bbox();return null==e?t.width:this.size(e,t.height)},x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)}});let Mt=class extends Ge{constructor(e,t=e){super(G("line",e),t)}array(){return new gt([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(e,t){return this.attr(this.array().move(e,t).toLine())}plot(e,t,a,r){return null==e?this.array():(e=void 0!==t?{x1:e,y1:t,x2:a,y2:r}:new gt(e).toLine(),this.attr(e))}size(e,t){const a=k(this,e,t);return this.attr(this.array().size(a.width,a.height).toLine())}};te(Mt,ft),I({Container:{line:ae((function(...e){return Mt.prototype.plot.apply(this.put(new Mt),null!=e[0]?e:[0,0,0,0])}))}}),q(Mt,"Line");let ht=class extends Ve{constructor(e,t=e){super(G("marker",e),t)}height(e){return this.attr("markerHeight",e)}orient(e){return this.attr("orient",e)}ref(e,t){return this.attr("refX",e).attr("refY",t)}toString(){return"url(#"+this.id()+")"}update(e){return this.clear(),"function"==typeof e&&e.call(this,this),this}width(e){return this.attr("markerWidth",e)}};function yt(e,t){return function(a){return null==a?this[e]:(this[e]=a,t&&t.call(this),this)}}I({Container:{marker(...e){return this.defs().marker(...e)}},Defs:{marker:ae((function(e,t,a){return this.put(new ht).size(e,t).ref(e/2,t/2).viewbox(0,0,e,t).attr("orient","auto").update(a)}))},marker:{marker(e,t,a,r){let n=["marker"];return"all"!==e&&n.push(e),n=n.join("-"),e=arguments[1]instanceof ht?arguments[1]:this.defs().marker(t,a,r),this.attr(n,e)}}}),q(ht,"Marker");const Nt={"-":function(e){return e},"<>":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)},bezier:function(e,t,a,r){return function(n){return n<0?e>0?t/e*n:a>0?r/a*n:0:n>1?a<1?(1-r)/(1-a)*n+(r-a)/(1-a):e<1?(1-t)/(1-e)*n+(t-e)/(1-e):1:3*n*(1-n)**2*t+3*n**2*(1-n)*r+n**3}},steps:function(e,t="end"){t=t.split("-").reverse()[0];let a=e;return"none"===t?--a:"both"===t&&++a,(r,n=!1)=>{let i=Math.floor(r*e);const s=r*i%1==0;return"start"!==t&&"both"!==t||++i,n&&s&&--i,r>=0&&i<0&&(i=0),r<=1&&i>a&&(i=a),i/a}}};class wt{done(){return!1}}class xt extends wt{constructor(e=">"){super(),this.ease=Nt[e]||e}step(e,t,a){return"number"!=typeof e?a<1?e:t:e+(t-e)*this.ease(a)}}class bt extends wt{constructor(e){super(),this.stepper=e}done(e){return e.done}step(e,t,a,r){return this.stepper(e,t,a,r)}}function Dt(){const e=(this._duration||500)/1e3,t=this._overshoot||0,a=Math.PI,r=Math.log(t/100+1e-10),n=-r/Math.sqrt(a*a+r*r),i=3.9/(n*e);this.d=2*n*i,this.k=i*i}te(class extends bt{constructor(e=500,t=0){super(),this.duration(e).overshoot(t)}step(e,t,a,r){if("string"==typeof e)return e;if(r.done=a===1/0,a===1/0)return t;if(0===a)return e;a>100&&(a=16),a/=1e3;const n=r.velocity||0,i=-this.d*n-this.k*(e-t),s=e+n*a+i*a*a/2;return r.velocity=n+i*a,r.done=Math.abs(t-s)+Math.abs(n)<.002,r.done?t:s}},{duration:yt("_duration",Dt),overshoot:yt("_overshoot",Dt)}),te(class extends bt{constructor(e=.1,t=.01,a=0,r=1e3){super(),this.p(e).i(t).d(a).windup(r)}step(e,t,a,r){if("string"==typeof e)return e;if(r.done=a===1/0,a===1/0)return t;if(0===a)return e;const n=t-e;let i=(r.integral||0)+n*a;const s=(n-(r.error||0))/a,o=this._windup;return!1!==o&&(i=Math.max(-o,Math.min(i,o))),r.error=n,r.integral=i,r.done=Math.abs(n)<.001,r.done?t:e+(this.P*n+this.I*i+this.D*s)}},{windup:yt("_windup"),p:yt("P"),i:yt("I"),d:yt("D")});const jt={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},vt={M:function(e,t,a){return t.x=a.x=e[0],t.y=a.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},S:function(e,t){return t.x=e[2],t.y=e[3],["S",e[0],e[1],e[2],e[3]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},T:function(e,t){return t.x=e[0],t.y=e[1],["T",e[0],e[1]]},Z:function(e,t,a){return t.x=a.x,t.y=a.y,["Z"]},A:function(e,t){return t.x=e[5],t.y=e[6],["A",e[0],e[1],e[2],e[3],e[4],e[5],e[6]]}},_t="mlhvqtcsaz".split("");for(let e=0,t=_t.length;e<t;++e)vt[_t[e]]=function(e){return function(t,a,r){if("H"===e)t[0]=t[0]+a.x;else if("V"===e)t[0]=t[0]+a.y;else if("A"===e)t[5]=t[5]+a.x,t[6]=t[6]+a.y;else for(let e=0,r=t.length;e<r;++e)t[e]=t[e]+(e%2?a.y:a.x);return vt[e](t,a,r)}}(_t[e].toUpperCase());function It(e){return e.segment.length&&e.segment.length-1===jt[e.segment[0].toUpperCase()]}function Et(e,t){e.inNumber&&Lt(e,!1);const a=fe.test(t);if(a)e.segment=[t];else{const t=e.lastCommand,a=t.toLowerCase(),r=t===a;e.segment=["m"===a?r?"l":"L":t]}return e.inSegment=!0,e.lastCommand=e.segment[0],a}function Lt(e,t){if(!e.inNumber)throw new Error("Parser Error");e.number&&e.segment.push(parseFloat(e.number)),e.inNumber=t,e.number="",e.pointSeen=!1,e.hasExponent=!1,It(e)&&Tt(e)}function Tt(e){e.inSegment=!1,e.absolute&&(e.segment=function(e){const t=e.segment[0];return vt[t](e.segment.slice(1),e.p,e.p0)}(e)),e.segments.push(e.segment)}function At(e){if(!e.segment.length)return!1;const t="A"===e.segment[0].toUpperCase(),a=e.segment.length;return t&&(4===a||5===a)}function zt(e){return"E"===e.lastToken.toUpperCase()}const kt=new Set([" ",",","\t","\n","\r","\f"]);class St extends Qe{bbox(){return De().path.setAttribute("d",this.toString()),new ve(De.nodes.path.getBBox())}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let a,r=this.length-1;r>=0;r--)a=this[r][0],"M"===a||"L"===a||"T"===a?(this[r][1]+=e,this[r][2]+=t):"H"===a?this[r][1]+=e:"V"===a?this[r][1]+=t:"C"===a||"S"===a||"Q"===a?(this[r][1]+=e,this[r][2]+=t,this[r][3]+=e,this[r][4]+=t,"C"===a&&(this[r][5]+=e,this[r][6]+=t)):"A"===a&&(this[r][6]+=e,this[r][7]+=t);return this}parse(e="M0 0"){return Array.isArray(e)&&(e=Array.prototype.concat.apply([],e).toString()),function(e,t=!0){let a=0,r="";const n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:t,p0:new we,p:new we};for(;n.lastToken=r,r=e.charAt(a++);)if(n.inSegment||!Et(n,r))if("."!==r)if(isNaN(parseInt(r)))if(kt.has(r))n.inNumber&&Lt(n,!1);else if("-"!==r&&"+"!==r)if("E"!==r.toUpperCase()){if(fe.test(r)){if(n.inNumber)Lt(n,!1);else{if(!It(n))throw new Error("parser Error");Tt(n)}--a}}else n.number+=r,n.hasExponent=!0;else{if(n.inNumber&&!zt(n)){Lt(n,!1),--a;continue}n.number+=r,n.inNumber=!0}else{if("0"===n.number||At(n)){n.inNumber=!0,n.number=r,Lt(n,!0);continue}n.inNumber=!0,n.number+=r}else{if(n.pointSeen||n.hasExponent){Lt(n,!1),--a;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r}return n.inNumber&&Lt(n,!1),n.inSegment&&It(n)&&Tt(n),n.segments}(e)}size(e,t){const a=this.bbox();let r,n;for(a.width=0===a.width?1:a.width,a.height=0===a.height?1:a.height,r=this.length-1;r>=0;r--)n=this[r][0],"M"===n||"L"===n||"T"===n?(this[r][1]=(this[r][1]-a.x)*e/a.width+a.x,this[r][2]=(this[r][2]-a.y)*t/a.height+a.y):"H"===n?this[r][1]=(this[r][1]-a.x)*e/a.width+a.x:"V"===n?this[r][1]=(this[r][1]-a.y)*t/a.height+a.y:"C"===n||"S"===n||"Q"===n?(this[r][1]=(this[r][1]-a.x)*e/a.width+a.x,this[r][2]=(this[r][2]-a.y)*t/a.height+a.y,this[r][3]=(this[r][3]-a.x)*e/a.width+a.x,this[r][4]=(this[r][4]-a.y)*t/a.height+a.y,"C"===n&&(this[r][5]=(this[r][5]-a.x)*e/a.width+a.x,this[r][6]=(this[r][6]-a.y)*t/a.height+a.y)):"A"===n&&(this[r][1]=this[r][1]*e/a.width,this[r][2]=this[r][2]*t/a.height,this[r][6]=(this[r][6]-a.x)*e/a.width+a.x,this[r][7]=(this[r][7]-a.y)*t/a.height+a.y);return this}toString(){return function(e){let t="";for(let a=0,r=e.length;a<r;a++)t+=e[a][0],null!=e[a][1]&&(t+=e[a][1],null!=e[a][2]&&(t+=" ",t+=e[a][2],null!=e[a][3]&&(t+=" ",t+=e[a][3],t+=" ",t+=e[a][4],null!=e[a][5]&&(t+=" ",t+=e[a][5],t+=" ",t+=e[a][6],null!=e[a][7]&&(t+=" ",t+=e[a][7])))));return t+" "}(this)}}const Ot=e=>{const t=typeof e;return"number"===t?Pe:"string"===t?Ne.isColor(e)?Ne:pe.test(e)?fe.test(e)?St:Qe:re.test(e)?Pe:Yt:Ft.indexOf(e.constructor)>-1?e.constructor:Array.isArray(e)?Qe:"object"===t?Pt:Yt};class Ct{constructor(e){this._stepper=e||new xt("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(e){return this._morphObj.morph(this._from,this._to,e,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(e,t){return e&&t}),!0)}from(e){return null==e?this._from:(this._from=this._set(e),this)}stepper(e){return null==e?this._stepper:(this._stepper=e,this)}to(e){return null==e?this._to:(this._to=this._set(e),this)}type(e){return null==e?this._type:(this._type=e,this)}_set(e){this._type||this.type(Ot(e));let t=new this._type(e);return this._type===Ne&&(t=this._to?t[this._to[4]]():this._from?t[this._from[4]]():t),this._type===Pt&&(t=this._to?t.align(this._to):this._from?t.align(this._from):t),t=t.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(t.length)).map(Object).map((function(e){return e.done=!0,e})),t}}class Yt{constructor(...e){this.init(...e)}init(e){return e=Array.isArray(e)?e[0]:e,this.value=e,this}toArray(){return[this.value]}valueOf(){return this.value}}class Ut{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,Ut.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}Ut.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Qt=(e,t)=>e[0]<t[0]?-1:e[0]>t[0]?1:0;class Pt{constructor(...e){this.init(...e)}align(e){const t=this.values;for(let a=0,r=t.length;a<r;++a){if(t[a+1]===e[a+1]){if(t[a+1]===Ne&&e[a+7]!==t[a+7]){const t=e[a+7],r=new Ne(this.values.splice(a+3,5))[t]().toArray();this.values.splice(a+3,0,...r)}a+=t[a+2]+2;continue}if(!e[a+1])return this;const r=(new e[a+1]).toArray(),n=t[a+2]+3;t.splice(a,n,e[a],e[a+1],e[a+2],...r),a+=t[a+2]+2}return this}init(e){if(this.values=[],Array.isArray(e))return void(this.values=e.slice());e=e||{};const t=[];for(const a in e){const r=Ot(e[a]),n=new r(e[a]).toArray();t.push([a,r,n.length,...n])}return t.sort(Qt),this.values=t.reduce(((e,t)=>e.concat(t)),[]),this}toArray(){return this.values}valueOf(){const e={},t=this.values;for(;t.length;){const a=t.shift(),r=t.shift(),n=t.shift(),i=t.splice(0,n);e[a]=new r(i)}return e}}const Ft=[Yt,Ut,Pt];class Rt extends Ge{constructor(e,t=e){super(G("path",e),t)}array(){return this._array||(this._array=new St(this.attr("d")))}clear(){return delete this._array,this}height(e){return null==e?this.bbox().height:this.size(this.bbox().width,e)}move(e,t){return this.attr("d",this.array().move(e,t))}plot(e){return null==e?this.array():this.clear().attr("d","string"==typeof e?e:this._array=new St(e))}size(e,t){const a=k(this,e,t);return this.attr("d",this.array().size(a.width,a.height))}width(e){return null==e?this.bbox().width:this.size(e,this.bbox().height)}x(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)}y(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)}}Rt.prototype.MorphArray=St,I({Container:{path:ae((function(e){return this.put(new Rt).plot(e||new St)}))}}),q(Rt,"Path");var Ht=Object.freeze({__proto__:null,array:function(){return this._array||(this._array=new gt(this.attr("points")))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("points",this.array().move(e,t))},plot:function(e){return null==e?this.array():this.clear().attr("points","string"==typeof e?e:this._array=new gt(e))},size:function(e,t){const a=k(this,e,t);return this.attr("points",this.array().size(a.width,a.height))}});class Bt extends Ge{constructor(e,t=e){super(G("polygon",e),t)}}I({Container:{polygon:ae((function(e){return this.put(new Bt).plot(e||new gt)}))}}),te(Bt,ft),te(Bt,Ht),q(Bt,"Polygon");class Wt extends Ge{constructor(e,t=e){super(G("polyline",e),t)}}I({Container:{polyline:ae((function(e){return this.put(new Wt).plot(e||new gt)}))}}),te(Wt,ft),te(Wt,Ht),q(Wt,"Polyline");class Vt extends Ge{constructor(e,t=e){super(G("rect",e),t)}}te(Vt,{rx:Xe,ry:Je}),I({Container:{rect:ae((function(e,t){return this.put(new Vt).size(e,t)}))}}),q(Vt,"Rect");class Zt{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(e){const t=void 0!==e.next?e:{value:e,next:null,prev:null};return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._last=t,this._first=t),t}remove(e){e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this._last&&(this._last=e.prev),e===this._first&&(this._first=e.next),e.prev=null,e.next=null}shift(){const e=this._first;return e?(this._first=e.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,e.value):null}}const Gt={nextDraw:null,frames:new Zt,timeouts:new Zt,immediates:new Zt,timer:()=>F.window.performance||F.window.Date,transforms:[],frame(e){const t=Gt.frames.push({run:e});return null===Gt.nextDraw&&(Gt.nextDraw=F.window.requestAnimationFrame(Gt._draw)),t},timeout(e,t){t=t||0;const a=Gt.timer().now()+t,r=Gt.timeouts.push({run:e,time:a});return null===Gt.nextDraw&&(Gt.nextDraw=F.window.requestAnimationFrame(Gt._draw)),r},immediate(e){const t=Gt.immediates.push(e);return null===Gt.nextDraw&&(Gt.nextDraw=F.window.requestAnimationFrame(Gt._draw)),t},cancelFrame(e){null!=e&&Gt.frames.remove(e)},clearTimeout(e){null!=e&&Gt.timeouts.remove(e)},cancelImmediate(e){null!=e&&Gt.immediates.remove(e)},_draw(e){let t=null;const a=Gt.timeouts.last();for(;(t=Gt.timeouts.shift())&&(e>=t.time?t.run():Gt.timeouts.push(t),t!==a););let r=null;const n=Gt.frames.last();for(;r!==n&&(r=Gt.frames.shift());)r.run(e);let i=null;for(;i=Gt.immediates.shift();)i();Gt.nextDraw=Gt.timeouts.first()||Gt.frames.first()?F.window.requestAnimationFrame(Gt._draw):null}},Xt=function(e){const t=e.start,a=e.runner.duration();return{start:t,duration:a,end:t+a,runner:e.runner}},Jt=function(){const e=F.window;return(e.performance||e.Date).now()};class qt extends Ce{constructor(e=Jt){super(),this._timeSource=e,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const e=this.getLastRunnerInfo(),t=e?e.runner.duration():0;return(e?e.start:this._time)+t}getEndTimeOfTimeline(){const e=this._runners.map((e=>e.start+e.runner.duration()));return Math.max(0,...e)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(e){return this._runners[this._runnerIds.indexOf(e)]||null}pause(){return this._paused=!0,this._continue()}persist(e){return null==e?this._persist:(this._persist=e,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(e){const t=this.speed();if(null==e)return this.speed(-t);const a=Math.abs(t);return this.speed(e?-a:a)}schedule(e,t,a){if(null==e)return this._runners.map(Xt);let r=0;const n=this.getEndTime();if(t=t||0,null==a||"last"===a||"after"===a)r=n;else if("absolute"===a||"start"===a)r=t,t=0;else if("now"===a)r=this._time;else if("relative"===a){const a=this.getRunnerInfoById(e.id);a&&(r=a.start+t,t=0)}else{if("with-last"!==a)throw new Error('Invalid value for the "when" parameter');{const e=this.getLastRunnerInfo();r=e?e.start:this._time}}e.unschedule(),e.timeline(this);const i=e.persist(),s={persist:null===i?this._persist:i,start:r+t,runner:e};return this._lastRunnerId=e.id,this._runners.push(s),this._runners.sort(((e,t)=>e.start-t.start)),this._runnerIds=this._runners.map((e=>e.runner.id)),this.updateTime()._continue(),this}seek(e){return this.time(this._time+e)}source(e){return null==e?this._timeSource:(this._timeSource=e,this)}speed(e){return null==e?this._speed:(this._speed=e,this)}stop(){return this.time(0),this.pause()}time(e){return null==e?this._time:(this._time=e,this._continue(!0))}unschedule(e){const t=this._runnerIds.indexOf(e.id);return t<0||(this._runners.splice(t,1),this._runnerIds.splice(t,1),e.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(e=!1){return Gt.cancelFrame(this._nextFrame),this._nextFrame=null,e?this._stepImmediate():(this._paused||(this._nextFrame=Gt.frame(this._step)),this)}_stepFn(e=!1){const t=this._timeSource();let a=t-this._lastSourceTime;e&&(a=0);const r=this._speed*a+(this._time-this._lastStepTime);this._lastSourceTime=t,e||(this._time+=r,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let e=this._runners.length;e--;){const t=this._runners[e],a=t.runner;this._time-t.start<=0&&a.reset()}let n=!1;for(let e=0,t=this._runners.length;e<t;e++){const a=this._runners[e],i=a.runner;let s=r;const o=this._time-a.start;o<=0?n=!0:(o<s&&(s=o),i.active()&&(i.step(s).done?!0!==a.persist&&i.duration()-i.time()+this._time+a.persist<this._time&&(i.unschedule(),--e,--t):n=!0))}return n&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}I({Element:{timeline:function(e){return null==e?(this._timeline=this._timeline||new qt,this._timeline):(this._timeline=e,this)}}});class $t extends Ce{constructor(e){super(),this.id=$t.id++,e="function"==typeof(e=null==e?400:e)?new bt(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"==typeof e&&e,this._isDeclarative=e instanceof bt,this._stepper=this._isDeclarative?e:new xt,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new be,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,t,a){let r=1,n=!1,i=0;return t=t??0,a=a||"last","object"!=typeof(e=e??400)||e instanceof wt||(t=e.delay??t,a=e.when??a,n=e.swing||n,r=e.times??r,i=e.wait??i,e=e.duration??400),{duration:e,delay:t,swing:n,times:r,wait:i,when:a}}active(e){return null==e?this.enabled:(this.enabled=e,this)}addTransform(e){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,t,a){const r=$t.sanitise(e,t,a),n=new $t(r.duration);return this._timeline&&n.timeline(this._timeline),this._element&&n.element(this._element),n.loop(r).schedule(r.delay,r.when)}clearTransform(){return this.transforms=new be,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((e=>!e.isTransform)))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new xt(e),this}element(e){return null==e?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,t,a){return"object"==typeof e&&(t=e.swing,a=e.wait,e=e.times),this._times=e||1/0,this._swing=t||!1,this._wait=a||0,!0===this._times&&(this._times=1/0),this}loops(e){const t=this._duration+this._wait;if(null==e){const e=Math.floor(this._time/t),a=(this._time-e*t)/this._duration;return Math.min(e+a,this._times)}const a=e%1,r=t*Math.floor(e)+this._duration*a;return this.time(r)}persist(e){return null==e?this._persist:(this._persist=e,this)}position(e){const t=this._time,a=this._duration,r=this._wait,n=this._times,i=this._swing,s=this._reverse;let o;if(null==e){const e=function(e){const t=i*Math.floor(e%(2*(r+a))/(r+a)),n=t&&!s||!t&&s,o=Math.pow(-1,n)*(e%(r+a))/a+n;return Math.max(Math.min(o,1),0)},l=n*(r+a)-r;return o=t<=0?Math.round(e(1e-5)):t<l?e(t):Math.round(e(l-1e-5)),o}const l=Math.floor(this.loops()),c=i&&l%2==0;return o=l+(c&&!s||s&&c?e:1-e),this.loops(o)}progress(e){return null==e?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,t,a,r){return this._queue.push({initialiser:e||Ye,runner:t||Ye,retarget:a,isTransform:r,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=null==e?!this._reverse:e,this}schedule(e,t,a){if(e instanceof qt||(a=t,t=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,t,a),this}step(e){if(!this.enabled)return this;e=null==e?16:e,this._time+=e;const t=this.position(),a=this._lastPosition!==t&&this._time>=0;this._lastPosition=t;const r=this.duration(),n=this._lastTime<=0&&this._time>0,i=this._lastTime<r&&this._time>=r;this._lastTime=this._time,n&&this.fire("start",this);const s=this._isDeclarative;this.done=!s&&!i&&this._time>=r,this._reseted=!1;let o=!1;return(a||s)&&(this._initialise(a),this.transforms=new be,o=this._run(s?e:t),this.fire("step",this)),this.done=this.done||o&&s,i&&this.fire("finished",this),this}time(e){if(null==e)return this._time;const t=e-this._time;return this.step(t),this}timeline(e){return void 0===e?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let t=0,a=this._queue.length;t<a;++t){const a=this._queue[t],r=this._isDeclarative||!a.initialised&&e;e=!a.finished,r&&e&&(a.initialiser.call(this),a.initialised=!0)}}_rememberMorpher(e,t){if(this._history[e]={morpher:t,caller:this._queue[this._queue.length-1]},this._isDeclarative){const e=this.timeline();e&&e.play()}}_run(e){let t=!0;for(let a=0,r=this._queue.length;a<r;++a){const r=this._queue[a],n=r.runner.call(this,e);r.finished=r.finished||!0===n,t=t&&r.finished}return t}_tryRetarget(e,t,a){if(this._history[e]){if(!this._history[e].caller.initialised){const t=this._queue.indexOf(this._history[e].caller);return this._queue.splice(t,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,t,a):this._history[e].morpher.to(t),this._history[e].caller.finished=!1;const r=this.timeline();return r&&r.play(),!0}return!1}}$t.id=0;class Kt{constructor(e=new be,t=-1,a=!0){this.transforms=e,this.id=t,this.done=a}clearTransformsFromQueue(){}}te([$t,Kt],{mergeWith(e){return new Kt(e.transforms.lmultiply(this.transforms),e.id)}});const ea=(e,t)=>e.lmultiplyO(t),ta=e=>e.transforms;function aa(){const e=this._transformationRunners.runners.map(ta).reduce(ea,new be);this.transform(e),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class ra{constructor(){this.runners=[],this.ids=[]}add(e){if(this.runners.includes(e))return;const t=e.id+1;return this.runners.push(e),this.ids.push(t),this}clearBefore(e){const t=this.ids.indexOf(e+1)||1;return this.ids.splice(0,t,0),this.runners.splice(0,t,new Kt).forEach((e=>e.clearTransformsFromQueue())),this}edit(e,t){const a=this.ids.indexOf(e+1);return this.ids.splice(a,1,e+1),this.runners.splice(a,1,t),this}getByID(e){return this.runners[this.ids.indexOf(e+1)]}length(){return this.ids.length}merge(){let e=null;for(let t=0;t<this.runners.length;++t){const a=this.runners[t];if(!(e&&a.done&&e.done)||a._timeline&&a._timeline._runnerIds.includes(a.id)||e._timeline&&e._timeline._runnerIds.includes(e.id))e=a;else{this.remove(a.id);const r=a.mergeWith(e);this.edit(e.id,r),e=r,--t}}return this}remove(e){const t=this.ids.indexOf(e+1);return this.ids.splice(t,1),this.runners.splice(t,1),this}}I({Element:{animate(e,t,a){const r=$t.sanitise(e,t,a),n=this.timeline();return new $t(r.duration).loop(r).element(this).timeline(n.play()).schedule(r.delay,r.when)},delay(e,t){return this.animate(0,e,t)},_clearTransformRunnersBefore(e){this._transformationRunners.clearBefore(e.id)},_currentTransform(e){return this._transformationRunners.runners.filter((t=>t.id<=e.id)).map(ta).reduce(ea,new be)},_addRunner(e){this._transformationRunners.add(e),Gt.cancelImmediate(this._frameId),this._frameId=Gt.immediate(aa.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=(new ra).add(new Kt(new be(this))))}}}),te($t,{attr(e,t){return this.styleAttr("attr",e,t)},css(e,t){return this.styleAttr("css",e,t)},styleAttr(e,t,a){if("string"==typeof t)return this.styleAttr(e,{[t]:a});let r=t;if(this._tryRetarget(e,r))return this;let n=new Ct(this._stepper).to(r),i=Object.keys(r);return this.queue((function(){n=n.from(this.element()[e](i))}),(function(t){return this.element()[e](n.at(t).valueOf()),n.done()}),(function(t){const a=Object.keys(t),s=(o=i,a.filter((e=>!o.includes(e))));var o;if(s.length){const t=this.element()[e](s),a=new Pt(n.from()).valueOf();Object.assign(a,t),n.from(a)}const l=new Pt(n.to()).valueOf();Object.assign(l,t),n.to(l),i=a,r=t})),this._rememberMorpher(e,n),this},zoom(e,t){if(this._tryRetarget("zoom",e,t))return this;let a=new Ct(this._stepper).to(new Pe(e));return this.queue((function(){a=a.from(this.element().zoom())}),(function(e){return this.element().zoom(a.at(e),t),a.done()}),(function(e,r){t=r,a.to(e)})),this._rememberMorpher("zoom",a),this},transform(e,t,a){if(t=e.relative||t,this._isDeclarative&&!t&&this._tryRetarget("transform",e))return this;const r=be.isMatrixLike(e);a=null!=e.affine?e.affine:null!=a?a:!r;const n=new Ct(this._stepper).type(a?Ut:be);let i,s,o,l,c;return this.queue((function(){s=s||this.element(),i=i||S(e,s),c=new be(t?void 0:s),s._addRunner(this),t||s._clearTransformRunnersBefore(this)}),(function(u){t||this.clearTransform();const{x:d,y:m}=new we(i).transform(s._currentTransform(this));let g=new be({...e,origin:[d,m]}),p=this._isDeclarative&&o?o:c;if(a){g=g.decompose(d,m),p=p.decompose(d,m);const e=g.rotate,t=p.rotate,a=[e-360,e,e+360],r=a.map((e=>Math.abs(e-t))),n=Math.min(...r),i=r.indexOf(n);g.rotate=a[i]}t&&(r||(g.rotate=e.rotate||0),this._isDeclarative&&l&&(p.rotate=l)),n.from(p),n.to(g);const f=n.at(u);return l=f.rotate,o=new be(f),this.addTransform(o),s._addRunner(this),n.done()}),(function(t){(t.origin||"center").toString()!==(e.origin||"center").toString()&&(i=S(t,s)),e={...t,origin:i}}),!0),this._isDeclarative&&this._rememberMorpher("transform",n),this},x(e){return this._queueNumber("x",e)},y(e){return this._queueNumber("y",e)},ax(e){return this._queueNumber("ax",e)},ay(e){return this._queueNumber("ay",e)},dx(e=0){return this._queueNumberDelta("x",e)},dy(e=0){return this._queueNumberDelta("y",e)},dmove(e,t){return this.dx(e).dy(t)},_queueNumberDelta(e,t){if(t=new Pe(t),this._tryRetarget(e,t))return this;const a=new Ct(this._stepper).to(t);let r=null;return this.queue((function(){r=this.element()[e](),a.from(r),a.to(r+t)}),(function(t){return this.element()[e](a.at(t)),a.done()}),(function(e){a.to(r+new Pe(e))})),this._rememberMorpher(e,a),this},_queueObject(e,t){if(this._tryRetarget(e,t))return this;const a=new Ct(this._stepper).to(t);return this.queue((function(){a.from(this.element()[e]())}),(function(t){return this.element()[e](a.at(t)),a.done()})),this._rememberMorpher(e,a),this},_queueNumber(e,t){return this._queueObject(e,new Pe(t))},cx(e){return this._queueNumber("cx",e)},cy(e){return this._queueNumber("cy",e)},move(e,t){return this.x(e).y(t)},amove(e,t){return this.ax(e).ay(t)},center(e,t){return this.cx(e).cy(t)},size(e,t){let a;return e&&t||(a=this._element.bbox()),e||(e=a.width/a.height*t),t||(t=a.height/a.width*e),this.width(e).height(t)},width(e){return this._queueNumber("width",e)},height(e){return this._queueNumber("height",e)},plot(e,t,a,r){if(4===arguments.length)return this.plot([e,t,a,r]);if(this._tryRetarget("plot",e))return this;const n=new Ct(this._stepper).type(this._element.MorphArray).to(e);return this.queue((function(){n.from(this._element.array())}),(function(e){return this._element.plot(n.at(e)),n.done()})),this._rememberMorpher("plot",n),this},leading(e){return this._queueNumber("leading",e)},viewbox(e,t,a,r){return this._queueObject("viewbox",new ve(e,t,a,r))},update(e){return"object"!=typeof e?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",e.offset),this)}}),te($t,{rx:Xe,ry:Je,from:st,to:ot}),q($t,"Runner");class na extends Ve{constructor(e,t=e){super(G("svg",e),t),this.namespace()}defs(){return this.isRoot()?X(this.node.querySelector("defs"))||this.put(new Ze):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof F.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:U,version:"1.1"}).attr("xmlns:xlink",P,Q):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Q).attr("xmlns:svgjs",null,Q)}root(){return this.isRoot()?this:super.root()}}I({Container:{nested:ae((function(){return this.put(new na)}))}}),q(na,"Svg",!0);let ia=class extends Ve{constructor(e,t=e){super(G("symbol",e),t)}};I({Container:{symbol:ae((function(){return this.put(new ia)}))}}),q(ia,"Symbol");var sa=Object.freeze({__proto__:null,amove:function(e,t){return this.ax(e).ay(t)},ax:function(e){return this.attr("x",e)},ay:function(e){return this.attr("y",e)},build:function(e){return this._build=!!e,this},center:function(e,t,a=this.bbox()){return this.cx(e,a).cy(t,a)},cx:function(e,t=this.bbox()){return null==e?t.cx:this.attr("x",this.attr("x")+e-t.cx)},cy:function(e,t=this.bbox()){return null==e?t.cy:this.attr("y",this.attr("y")+e-t.cy)},length:function(){return this.node.getComputedTextLength()},move:function(e,t,a=this.bbox()){return this.x(e,a).y(t,a)},plain:function(e){return!1===this._build&&this.clear(),this.node.appendChild(F.document.createTextNode(e)),this},x:function(e,t=this.bbox()){return null==e?t.x:this.attr("x",this.attr("x")+e-t.x)},y:function(e,t=this.bbox()){return null==e?t.y:this.attr("y",this.attr("y")+e-t.y)}});class oa extends Ge{constructor(e,t=e){super(G("text",e),t),this.dom.leading=this.dom.leading??new Pe(1.3),this._rebuild=!0,this._build=!1}leading(e){return null==e?this.dom.leading:(this.dom.leading=new Pe(e),this.rebuild())}rebuild(e){if("boolean"==typeof e&&(this._rebuild=e),this._rebuild){const e=this;let t=0;const a=this.dom.leading;this.each((function(r){if(C(this.node))return;const n=F.window.getComputedStyle(this.node).getPropertyValue("font-size"),i=a*new Pe(n);this.dom.newLined&&(this.attr("x",e.attr("x")),"\n"===this.text()?t+=i:(this.attr("dy",r?i+t:0),t=0))})),this.fire("rebuild")}return this}setData(e){return this.dom=e,this.dom.leading=new Pe(e.leading||1.3),this}writeDataToDom(){return Y(this,this.dom,{leading:1.3}),this}text(e){if(void 0===e){const t=this.node.childNodes;let a=0;e="";for(let r=0,n=t.length;r<n;++r)"textPath"===t[r].nodeName||C(t[r])?0===r&&(a=r+1):(r!==a&&3!==t[r].nodeType&&!0===X(t[r]).dom.newLined&&(e+="\n"),e+=t[r].textContent);return e}if(this.clear().build(!0),"function"==typeof e)e.call(this,this);else for(let t=0,a=(e=(e+"").split("\n")).length;t<a;t++)this.newLine(e[t]);return this.build(!1).rebuild()}}te(oa,sa),I({Container:{text:ae((function(e=""){return this.put(new oa).text(e)})),plain:ae((function(e=""){return this.put(new oa).plain(e)}))}}),q(oa,"Text");class la extends Ge{constructor(e,t=e){super(G("tspan",e),t),this._build=!1}dx(e){return this.attr("dx",e)}dy(e){return this.attr("dy",e)}newLine(){this.dom.newLined=!0;const e=this.parent();if(!(e instanceof oa))return this;const t=e.index(this),a=F.window.getComputedStyle(this.node).getPropertyValue("font-size"),r=e.dom.leading*new Pe(a);return this.dy(t?r:0).attr("x",e.x())}text(e){return null==e?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof e?(this.clear().build(!0),e.call(this,this),this.build(!1)):this.plain(e),this)}}te(la,sa),I({Tspan:{tspan:ae((function(e=""){const t=new la;return this._build||this.clear(),this.put(t).text(e)}))},Text:{newLine:function(e=""){return this.tspan(e).newLine()}}}),q(la,"Tspan");class ca extends Ge{constructor(e,t=e){super(G("circle",e),t)}radius(e){return this.attr("r",e)}rx(e){return this.attr("r",e)}ry(e){return this.rx(e)}size(e){return this.radius(new Pe(e).divide(2))}}te(ca,{x:qe,y:$e,cx:Ke,cy:et,width:tt,height:at}),I({Container:{circle:ae((function(e=0){return this.put(new ca).size(e).move(0,0)}))}}),q(ca,"Circle");class ua extends Ve{constructor(e,t=e){super(G("clipPath",e),t)}remove(){return this.targets().forEach((function(e){e.unclip()})),super.remove()}targets(){return Le("svg [clip-path*="+this.id()+"]")}}I({Container:{clip:ae((function(){return this.defs().put(new ua)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(e){const t=e instanceof ua?e:this.parent().clip().add(e);return this.attr("clip-path","url(#"+t.id()+")")},unclip(){return this.attr("clip-path",null)}}}),q(ua,"ClipPath");class da extends Be{constructor(e,t=e){super(G("foreignObject",e),t)}}I({Container:{foreignObject:ae((function(e,t){return this.put(new da).size(e,t)}))}}),q(da,"ForeignObject");var ma=Object.freeze({__proto__:null,dmove:function(e,t){return this.children().forEach((a=>{let r;try{r=a.node instanceof R().SVGSVGElement?new ve(a.attr(["x","y","width","height"])):a.bbox()}catch(e){return}const n=new be(a),i=n.translate(e,t).transform(n.inverse()),s=new we(r.x,r.y).transform(i);a.move(s.x,s.y)})),this},dx:function(e){return this.dmove(e,0)},dy:function(e){return this.dmove(0,e)},height:function(e,t=this.bbox()){return null==e?t.height:this.size(t.width,e,t)},move:function(e=0,t=0,a=this.bbox()){const r=e-a.x,n=t-a.y;return this.dmove(r,n)},size:function(e,t,a=this.bbox()){const r=k(this,e,t,a),n=r.width/a.width,i=r.height/a.height;return this.children().forEach((e=>{const t=new we(a).transform(new be(e).inverse());e.scale(n,i,t.x,t.y)})),this},width:function(e,t=this.bbox()){return null==e?t.width:this.size(e,t.height,t)},x:function(e,t=this.bbox()){return null==e?t.x:this.move(e,t.y,t)},y:function(e,t=this.bbox()){return null==e?t.y:this.move(t.x,e,t)}});class ga extends Ve{constructor(e,t=e){super(G("g",e),t)}}te(ga,ma),I({Container:{group:ae((function(){return this.put(new ga)}))}}),q(ga,"G");class pa extends Ve{constructor(e,t=e){super(G("a",e),t)}target(e){return this.attr("target",e)}to(e){return this.attr("href",e,P)}}te(pa,ma),I({Container:{link:ae((function(e){return this.put(new pa).to(e)}))},Element:{unlink(){const e=this.linker();if(!e)return this;const t=e.parent();if(!t)return this.remove();const a=t.index(e);return t.add(this,a),e.remove(),this},linkTo(e){let t=this.linker();return t||(t=new pa,this.wrap(t)),"function"==typeof e?e.call(t,t):t.to(e),this},linker(){const e=this.parent();return e&&"a"===e.node.nodeName.toLowerCase()?e:null}}}),q(pa,"A");class fa extends Ve{constructor(e,t=e){super(G("mask",e),t)}remove(){return this.targets().forEach((function(e){e.unmask()})),super.remove()}targets(){return Le("svg [mask*="+this.id()+"]")}}I({Container:{mask:ae((function(){return this.defs().put(new fa)}))},Element:{masker(){return this.reference("mask")},maskWith(e){const t=e instanceof fa?e:this.parent().mask().add(e);return this.attr("mask","url(#"+t.id()+")")},unmask(){return this.attr("mask",null)}}}),q(fa,"Mask");class Ma extends Be{constructor(e,t=e){super(G("stop",e),t)}update(e){return("number"==typeof e||e instanceof Pe)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",new Pe(e.offset)),this}}I({Gradient:{stop:function(e,t,a){return this.put(new Ma).update(e,t,a)}}}),q(Ma,"Stop");class ha extends Be{constructor(e,t=e){super(G("style",e),t)}addText(e=""){return this.node.textContent+=e,this}font(e,t,a={}){return this.rule("@font-face",{fontFamily:e,src:t,...a})}rule(e,t){return this.addText(function(e,t){if(!e)return"";if(!t)return e;let a=e+"{";for(const e in t)a+=e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()}))+":"+t[e]+";";return a+="}",a}(e,t))}}I("Dom",{style(e,t){return this.put(new ha).rule(e,t)},fontface(e,t,a){return this.put(new ha).font(e,t,a)}}),q(ha,"Style");class ya extends oa{constructor(e,t=e){super(G("textPath",e),t)}array(){const e=this.track();return e?e.array():null}plot(e){const t=this.track();let a=null;return t&&(a=t.plot(e)),null==e?a:this}track(){return this.reference("href")}}I({Container:{textPath:ae((function(e,t){return e instanceof oa||(e=this.text(e)),e.path(t)}))},Text:{path:ae((function(e,t=!0){const a=new ya;let r;if(e instanceof Rt||(e=this.defs().path(e)),a.attr("href","#"+e,P),t)for(;r=this.node.firstChild;)a.node.appendChild(r);return this.put(a)})),textPath(){return this.findOne("textPath")}},Path:{text:ae((function(e){return e instanceof oa||(e=(new oa).addTo(this.parent()).text(e)),e.path(this)})),targets(){return Le("svg textPath").filter((e=>(e.attr("href")||"").includes(this.id())))}}}),ya.prototype.MorphArray=St,q(ya,"TextPath");class Na extends Ge{constructor(e,t=e){super(G("use",e),t)}use(e,t){return this.attr("href",(t||"")+"#"+e,P)}}I({Container:{use:ae((function(e,t){return this.put(new Na).use(e,t)}))}}),q(Na,"Use");const wa=Z;te([na,ia,dt,ut,ht],E("viewbox")),te([Mt,Wt,Bt,Rt],E("marker")),te(oa,E("Text")),te(Rt,E("Path")),te(Ze,E("Defs")),te([oa,la],E("Tspan")),te([Vt,nt,ct,$t],E("radius")),te(Ce,E("EventTarget")),te(He,E("Dom")),te(Be,E("Element")),te(Ge,E("Shape")),te([Ve,it],E("Container")),te(ct,E("Gradient")),te($t,E("Runner")),Ie.extend([...new Set(_)]),function(e=[]){Ft.push(...[].concat(e))}([Pe,Ne,ve,be,Qe,gt,St,we]),te(Ft,{to(e){return(new Ct).type(this.constructor).from(this.toArray()).to(e)},fromArray(e){return this.init(e),this},toConsumable(){return this.toArray()},morph(e,t,a,r,n){return this.fromArray(e.map((function(e,i){return r.step(e,t[i],a,n[i],n)})))}});class xa extends Be{constructor(e){super(G("filter",e),e),this.$source="SourceGraphic",this.$sourceAlpha="SourceAlpha",this.$background="BackgroundImage",this.$backgroundAlpha="BackgroundAlpha",this.$fill="FillPaint",this.$stroke="StrokePaint",this.$autoSetIn=!0}put(e,t){return!(e=super.put(e,t)).attr("in")&&this.$autoSetIn&&e.attr("in",this.$source),e.attr("result")||e.attr("result",e.id()),e}remove(){return this.targets().each("unfilter"),super.remove()}targets(){return Le('svg [filter*="'+this.id()+'"]')}toString(){return"url(#"+this.id()+")"}}class ba extends Be{constructor(e,t){super(e,t),this.result(this.id())}in(e){if(null==e){const e=this.attr("in");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in",e)}result(e){return this.attr("result",e)}toString(){return this.result()}}const Da=e=>function(...t){for(let a=e.length;a--;)null!=t[a]&&this.attr(e[a],t[a])},ja={blend:Da(["in","in2","mode"]),colorMatrix:Da(["type","values"]),composite:Da(["in","in2","operator"]),convolveMatrix:function(e){e=new Qe(e).toString(),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},diffuseLighting:Da(["surfaceScale","lightingColor","diffuseConstant","kernelUnitLength"]),displacementMap:Da(["in","in2","scale","xChannelSelector","yChannelSelector"]),dropShadow:Da(["in","dx","dy","stdDeviation"]),flood:Da(["flood-color","flood-opacity"]),gaussianBlur:function(e=0,t=e){this.attr("stdDeviation",e+" "+t)},image:function(e){this.attr("href",e,P)},morphology:Da(["operator","radius"]),offset:Da(["dx","dy"]),specularLighting:Da(["surfaceScale","lightingColor","diffuseConstant","specularExponent","kernelUnitLength"]),tile:Da([]),turbulence:Da(["baseFrequency","numOctaves","seed","stitchTiles","type"])};["blend","colorMatrix","componentTransfer","composite","convolveMatrix","diffuseLighting","displacementMap","dropShadow","flood","gaussianBlur","image","merge","morphology","offset","specularLighting","tile","turbulence"].forEach((e=>{const t=z(e),a=ja[e];xa[t+"Effect"]=class extends ba{constructor(e){super(G("fe"+t,e),e)}update(e){return a.apply(this,e),this}},xa.prototype[e]=ae((function(e,...a){const r=new xa[t+"Effect"];return null==e?this.put(r):("function"==typeof e?e.call(r,r):a.unshift(e),this.put(r).update(a))}))})),te(xa,{merge(e){const t=this.put(new xa.MergeEffect);return"function"==typeof e?(e.call(t,t),t):((e instanceof Array?e:[...arguments]).forEach((e=>{e instanceof xa.MergeNode?t.put(e):t.mergeNode(e)})),t)},componentTransfer(e={}){const t=this.put(new xa.ComponentTransferEffect);if("function"==typeof e)return e.call(t,t),t;e.r||e.g||e.b||e.a||(e={r:e,g:e,b:e,a:e});for(const a in e)t.add(new(xa["Func"+a.toUpperCase()])(e[a]));return t}}),["distantLight","pointLight","spotLight","mergeNode","FuncR","FuncG","FuncB","FuncA"].forEach((e=>{const t=z(e);xa[t]=class extends ba{constructor(e){super(G("fe"+t,e),e)}}})),["funcR","funcG","funcB","funcA"].forEach((function(e){const t=xa[z(e)],a=ae((function(){return this.put(new t)}));xa.ComponentTransferEffect.prototype[e]=a})),["distantLight","pointLight","spotLight"].forEach((e=>{const t=xa[z(e)],a=ae((function(){return this.put(new t)}));xa.DiffuseLightingEffect.prototype[e]=a,xa.SpecularLightingEffect.prototype[e]=a})),te(xa.MergeEffect,{mergeNode(e){return this.put(new xa.MergeNode).attr("in",e)}}),te(Ze,{filter:function(e){const t=this.put(new xa);return"function"==typeof e&&e.call(t,t),t}}),te(Ve,{filter:function(e){return this.defs().filter(e)}}),te(Be,{filterWith:function(e){const t=e instanceof xa?e:this.defs().filter(e);return this.attr("filter",t)},unfilter:function(e){return this.attr("filter",null)},filterer(){return this.reference("filter")}});const va={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},diffuseLighting:function(e,t,a,r){return this.parent()&&this.parent().diffuseLighting(e,a,r).in(this)},displacementMap:function(e,t,a,r){return this.parent()&&this.parent().displacementMap(this,e,t,a,r)},dropShadow:function(e,t,a){return this.parent()&&this.parent().dropShadow(this,e,t,a).in(this)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(e){return e=e instanceof Array?e:[...e],this.parent()&&this.parent().merge(this,...e)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},specularLighting:function(e,t,a,r,n){return this.parent()&&this.parent().specularLighting(e,a,r,n).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,a,r,n){return this.parent()&&this.parent().turbulence(e,t,a,r,n).in(this)}};te(ba,va),te(xa.MergeEffect,{in:function(e){return e instanceof xa.MergeNode?this.add(e,0):this.add((new xa.MergeNode).in(e),0),this}}),te([xa.CompositeEffect,xa.BlendEffect,xa.DisplacementMapEffect],{in2:function(e){if(null==e){const e=this.attr("in2");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in2",e)}}),xa.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]};var _a=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"getDefaultFilter",value:function(e,t){var a=this.w;e.unfilter(!0),(new xa).size("120%","180%","-5%","-40%"),a.config.chart.dropShadow.enabled&&this.dropShadow(e,a.config.chart.dropShadow,t)}},{key:"applyFilter",value:function(e,t,a){var r,n=this,i=this.w;if(e.unfilter(!0),"none"!==a){var s,o,l=i.config.chart.dropShadow,c="lighten"===a?2:.3;e.filterWith((function(e){e.colorMatrix({type:"matrix",values:"\n          ".concat(c," 0 0 0 0\n          0 ").concat(c," 0 0 0\n          0 0 ").concat(c," 0 0\n          0 0 0 1 0\n        "),in:"SourceGraphic",result:"brightness"}),l.enabled&&n.addShadow(e,t,l,"brightness")})),l.noUserSpaceOnUse||null===(s=e.filterer())||void 0===s||null===(o=s.node)||void 0===o||o.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(null===(r=e.filterer())||void 0===r?void 0:r.node)}else this.getDefaultFilter(e,t)}},{key:"addShadow",value:function(e,t,a,r){var n,i=this.w,s=a.blur,o=a.top,l=a.left,c=a.color,u=a.opacity;if(c=Array.isArray(c)?c[t]:c,(null===(n=i.config.chart.dropShadow.enabledOnSeries)||void 0===n?void 0:n.length)>0&&-1===i.config.chart.dropShadow.enabledOnSeries.indexOf(t))return e;e.offset({in:r,dx:l,dy:o,result:"offset"}),e.gaussianBlur({in:"offset",stdDeviation:s,result:"blur"}),e.flood({"flood-color":c,"flood-opacity":u,result:"flood"}),e.composite({in:"flood",in2:"blur",operator:"in",result:"shadow"}),e.merge(["shadow",r])}},{key:"dropShadow",value:function(e,t){var a,r,n,i,s,o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=this.w;return e.unfilter(!0),b.isMsEdge()&&"radialBar"===c.config.chart.type||(null===(a=c.config.chart.dropShadow.enabledOnSeries)||void 0===a?void 0:a.length)>0&&-1===(null===(n=c.config.chart.dropShadow.enabledOnSeries)||void 0===n?void 0:n.indexOf(l))||(e.filterWith((function(e){o.addShadow(e,l,t,"SourceGraphic")})),t.noUserSpaceOnUse||null===(i=e.filterer())||void 0===i||null===(s=i.node)||void 0===s||s.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(null===(r=e.filterer())||void 0===r?void 0:r.node)),e}},{key:"setSelectionFilter",value:function(e,t,a){var r=this.w;if(void 0!==r.globals.selectedDataPoints[t]&&r.globals.selectedDataPoints[t].indexOf(a)>-1){e.node.setAttribute("selected",!0);var n=r.config.states.active.filter;"none"!==n&&this.applyFilter(e,t,n.type)}}},{key:"_scaleFilterSize",value:function(e){e&&function(t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),e}(),Ia=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"roundPathCorners",value:function(e,t){function a(e,t,a){var n=t.x-e.x,i=t.y-e.y,s=Math.sqrt(n*n+i*i);return r(e,t,Math.min(1,a/s))}function r(e,t,a){return{x:e.x+(t.x-e.x)*a,y:e.y+(t.y-e.y)*a}}function n(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function i(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}e.indexOf("NaN")>-1&&(e="");var s=e.split(/[,\s]/).reduce((function(e,t){var a=t.match("([a-zA-Z])(.+)");return a?(e.push(a[1]),e.push(a[2])):e.push(t),e}),[]).reduce((function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e}),[]),o=[];if(s.length>1){var l=i(s[0]),c=null;"Z"==s[s.length-1][0]&&s[0].length>2&&(c=["L",l.x,l.y],s[s.length-1]=c),o.push(s[0]);for(var u=1;u<s.length;u++){var d=o[o.length-1],m=s[u],g=m==c?s[1]:s[u+1];if(g&&d&&d.length>2&&"L"==m[0]&&g.length>2&&"L"==g[0]){var p,f,M=i(d),h=i(m),y=i(g);p=a(h,M,t),f=a(h,y,t),n(m,p),m.origPoint=h,o.push(m);var N=r(p,h,.5),w=r(h,f,.5),x=["C",N.x,N.y,w.x,w.y,f.x,f.y];x.origPoint=h,o.push(x)}else o.push(m)}if(c){var b=i(o[o.length-1]);o.push(["Z"]),n(o[0],b)}}else o=s;return o.reduce((function(e,t){return e+t.join(" ")+" "}),"")}},{key:"drawLine",value:function(e,t,a,r){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt";return this.w.globals.dom.Paper.line().attr({x1:e,y1:t,x2:a,y2:r,stroke:n,"stroke-dasharray":i,"stroke-width":s,"stroke-linecap":o})}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w.globals.dom.Paper.rect();return u.attr({x:e,y:t,width:a>0?a:0,height:r>0?r:0,rx:n,ry:n,opacity:s,"stroke-width":null!==o?o:0,stroke:null!==l?l:"none","stroke-dasharray":c}),u.node.setAttribute("fill",i),u}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";return this.w.globals.dom.Paper.polygon(e).attr({fill:r,stroke:t,"stroke-width":a})}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e<0&&(e=0);var a=this.w.globals.dom.Paper.circle(2*e);return null!==t&&a.attr(t),a}},{key:"drawPath",value:function(e){var t=e.d,a=void 0===t?"":t,r=e.stroke,n=void 0===r?"#a8a8a8":r,i=e.strokeWidth,s=void 0===i?1:i,o=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,m=e.classes,g=e.strokeLinecap,p=void 0===g?null:g,f=e.strokeDashArray,M=void 0===f?0:f,h=this.w;return null===p&&(p=h.config.stroke.lineCap),(a.indexOf("undefined")>-1||a.indexOf("NaN")>-1)&&(a="M 0 ".concat(h.globals.gridHeight)),h.globals.dom.Paper.path(a).attr({fill:o,"fill-opacity":c,stroke:n,"stroke-opacity":d,"stroke-linecap":p,"stroke-width":s,"stroke-dasharray":M,class:m})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w.globals.dom.Paper.group();return null!==e&&t.attr(e),t}},{key:"move",value:function(e,t){return["M",e,t].join(" ")}},{key:"line",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null;return null===a?r=[" L",e,t].join(" "):"H"===a?r=[" H",e].join(" "):"V"===a&&(r=[" V",t].join(" ")),r}},{key:"curve",value:function(e,t,a,r,n,i){return["C",e,t,a,r,n,i].join(" ")}},{key:"quadraticCurve",value:function(e,t,a,r){return["Q",e,t,a,r].join(" ")}},{key:"arc",value:function(e,t,a,r,n,i,s){var o="A";return arguments.length>7&&void 0!==arguments[7]&&arguments[7]&&(o="a"),[o,e,t,a,r,n,i,s].join(" ")}},{key:"renderPaths",value:function(e){var t,a=e.j,r=e.realIndex,n=e.pathFrom,i=e.pathTo,s=e.stroke,o=e.strokeWidth,l=e.strokeLinecap,c=e.fill,u=e.animationDelay,d=e.initialSpeed,m=e.dataChangeSpeed,g=e.className,p=e.chartType,M=e.shouldClipToGrid,h=void 0===M||M,y=e.bindEventsOnPaths,N=void 0===y||y,w=e.drawShadow,x=void 0===w||w,b=this.w,j=new _a(this.ctx),v=new D(this.ctx),_=this.w.config.chart.animations.enabled,I=_&&this.w.config.chart.animations.dynamicAnimation.enabled,E=!!(_&&!b.globals.resized||I&&b.globals.dataChanged&&b.globals.shouldAnimate);E?t=n:(t=i,b.globals.animationEnded=!0);var L,T=b.config.stroke.dashArray;L=Array.isArray(T)?T[r]:b.config.stroke.dashArray;var A=this.drawPath({d:t,stroke:s,strokeWidth:o,fill:c,fillOpacity:1,classes:g,strokeLinecap:l,strokeDashArray:L});A.attr("index",r),h&&("bar"===p&&!b.globals.isHorizontal||b.globals.comboCharts?A.attr({"clip-path":"url(#gridRectBarMask".concat(b.globals.cuid,")")}):A.attr({"clip-path":"url(#gridRectMask".concat(b.globals.cuid,")")})),b.config.chart.dropShadow.enabled&&x&&j.dropShadow(A,b.config.chart.dropShadow,r),N&&(A.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,A)),A.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,A)),A.node.addEventListener("mousedown",this.pathMouseDown.bind(this,A))),A.attr({pathTo:i,pathFrom:n});var z={el:A,j:a,realIndex:r,pathFrom:n,pathTo:i,fill:c,strokeWidth:o,delay:u};return!_||b.globals.resized||b.globals.dataChanged?!b.globals.resized&&b.globals.dataChanged||v.showDelayedElements():v.animatePathsGradually(f(f({},z),{},{speed:d})),b.globals.dataChanged&&I&&E&&v.animatePathsGradually(f(f({},z),{},{speed:m})),A}},{key:"drawPattern",value:function(e,t,a){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return this.w.globals.dom.Paper.pattern(t,a,(function(i){"horizontalLines"===e?i.line(0,0,a,0).stroke({color:r,width:n+1}):"verticalLines"===e?i.line(0,0,0,t).stroke({color:r,width:n+1}):"slantedLines"===e?i.line(0,0,t,a).stroke({color:r,width:n}):"squares"===e?i.rect(t,a).fill("none").stroke({color:r,width:n}):"circles"===e&&i.circle(t).fill("none").stroke({color:r,width:n})}))}},{key:"drawGradient",value:function(e,t,a,r,n){var i,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=b.hexToRgba(t,r)),a.length<9&&0===a.indexOf("#")&&(a=b.hexToRgba(a,n));var d=0,m=1,g=1,p=null;null!==o&&(d=void 0!==o[0]?o[0]/100:0,m=void 0!==o[1]?o[1]/100:1,g=void 0!==o[2]?o[2]/100:1,p=void 0!==o[3]?o[3]/100:null);var f=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(i=l&&0!==l.length?u.globals.dom.Paper.gradient(f?"radial":"linear",(function(e){(Array.isArray(l[c])?l[c]:l).forEach((function(t){e.stop(t.offset/100,t.color,t.opacity)}))})):u.globals.dom.Paper.gradient(f?"radial":"linear",(function(e){e.stop(d,t,r),e.stop(m,a,n),e.stop(g,a,n),null!==p&&e.stop(p,t,r)})),f){var M=u.globals.gridWidth/2,h=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?i.attr({gradientUnits:"userSpaceOnUse",cx:M,cy:h,r:s}):i.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?i.from(0,0).to(0,1):"diagonal"===e?i.from(0,0).to(1,1):"horizontal"===e?i.from(0,1).to(1,1):"diagonal2"===e&&i.from(1,0).to(0,1);return i}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,a=e.maxWidth,r=e.fontSize,n=e.fontFamily,i=this.getTextRects(t,r,n),s=i.width/t.length,o=Math.floor(a/s);return a<i.width?t.slice(0,o-3)+"...":t}},{key:"drawText",value:function(e){var t=this,a=e.x,r=e.y,n=e.text,i=e.textAnchor,s=e.fontSize,o=e.fontFamily,l=e.fontWeight,c=e.foreColor,u=e.opacity,d=e.maxWidth,m=e.cssClass,g=void 0===m?"":m,p=e.isPlainText,M=void 0===p||p,h=e.dominantBaseline,y=void 0===h?"auto":h,N=this.w;void 0===n&&(n="");var w=n;i||(i="start"),c&&c.length||(c=N.config.chart.foreColor),o=o||N.config.chart.fontFamily,l=l||"regular";var x,b={maxWidth:d,fontSize:s=s||"11px",fontFamily:o};return Array.isArray(n)?x=N.globals.dom.Paper.text((function(e){for(var a=0;a<n.length;a++)w=n[a],d&&(w=t.getTextBasedOnMaxWidth(f({text:n[a]},b))),0===a?e.tspan(w):e.tspan(w).newLine()})):(d&&(w=this.getTextBasedOnMaxWidth(f({text:n},b))),x=M?N.globals.dom.Paper.plain(n):N.globals.dom.Paper.text((function(e){return e.tspan(w)}))),x.attr({x:a,y:r,"text-anchor":i,"dominant-baseline":y,"font-size":s,"font-family":o,"font-weight":l,fill:c,class:"apexcharts-text "+g}),x.node.style.fontFamily=o,x.node.style.opacity=u,x}},{key:"getMarkerPath",value:function(e,t,a,r){var n="";switch(a){case"cross":n="M ".concat(e-(r/=1.4)," ").concat(t-r," L ").concat(e+r," ").concat(t+r,"  M ").concat(e-r," ").concat(t+r," L ").concat(e+r," ").concat(t-r);break;case"plus":n="M ".concat(e-(r/=1.12)," ").concat(t," L ").concat(e+r," ").concat(t,"  M ").concat(e," ").concat(t-r," L ").concat(e," ").concat(t+r);break;case"star":case"sparkle":var i=5;r*=1.15,"sparkle"===a&&(r/=1.1,i=4);for(var s=Math.PI/i,o=0;o<=2*i;o++){var l=o*s,c=o%2==0?r:r/2;n+=(0===o?"M":"L")+(e+c*Math.sin(l))+","+(t-c*Math.cos(l))}n+="Z";break;case"triangle":n="M ".concat(e," ").concat(t-r," \n             L ").concat(e+r," ").concat(t+r," \n             L ").concat(e-r," ").concat(t+r," \n             Z");break;case"square":case"rect":n="M ".concat(e-(r/=1.125)," ").concat(t-r," \n           L ").concat(e+r," ").concat(t-r," \n           L ").concat(e+r," ").concat(t+r," \n           L ").concat(e-r," ").concat(t+r," \n           Z");break;case"diamond":r*=1.05,n="M ".concat(e," ").concat(t-r," \n             L ").concat(e+r," ").concat(t," \n             L ").concat(e," ").concat(t+r," \n             L ").concat(e-r," ").concat(t," \n            Z");break;case"line":n="M ".concat(e-(r/=1.1)," ").concat(t," \n           L ").concat(e+r," ").concat(t);break;default:r*=2,n="M ".concat(e,", ").concat(t," \n           m -").concat(r/2,", 0 \n           a ").concat(r/2,",").concat(r/2," 0 1,0 ").concat(r,",0 \n           a ").concat(r/2,",").concat(r/2," 0 1,0 -").concat(r,",0")}return n}},{key:"drawMarkerShape",value:function(e,t,a,r,n){var i=this.drawPath({d:this.getMarkerPath(e,t,a,r,n),stroke:n.pointStrokeColor,strokeDashArray:n.pointStrokeDashArray,strokeWidth:n.pointStrokeWidth,fill:n.pointFillColor,fillOpacity:n.pointFillOpacity,strokeOpacity:n.pointStrokeOpacity});return i.attr({cx:e,cy:t,shape:n.shape,class:n.class?n.class:""}),i}},{key:"drawMarker",value:function(e,t,a){e=e||0;var r=a.pSize||0;return b.isNumber(t)||(r=0,t=0),this.drawMarkerShape(e,t,null==a?void 0:a.shape,r,f(f({},a),"line"===a.shape||"plus"===a.shape||"cross"===a.shape?{pointStrokeColor:a.pointFillColor,pointStrokeOpacity:a.pointFillOpacity}:{}))}},{key:"pathMouseEnter",value:function(e,t){var a=this.w,r=new _a(this.ctx),n=parseInt(e.node.getAttribute("index"),10),i=parseInt(e.node.getAttribute("j"),10);if("function"==typeof a.config.chart.events.dataPointMouseEnter&&a.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:n,dataPointIndex:i,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:n,dataPointIndex:i,w:a}]),("none"===a.config.states.active.filter.type||"true"!==e.node.getAttribute("selected"))&&"none"!==a.config.states.hover.filter.type&&!a.globals.isTouchDevice){var s=a.config.states.hover.filter;r.applyFilter(e,n,s.type)}}},{key:"pathMouseLeave",value:function(e,t){var a=this.w,r=new _a(this.ctx),n=parseInt(e.node.getAttribute("index"),10),i=parseInt(e.node.getAttribute("j"),10);"function"==typeof a.config.chart.events.dataPointMouseLeave&&a.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:n,dataPointIndex:i,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:n,dataPointIndex:i,w:a}]),"none"!==a.config.states.active.filter.type&&"true"===e.node.getAttribute("selected")||"none"!==a.config.states.hover.filter.type&&r.getDefaultFilter(e,n)}},{key:"pathMouseDown",value:function(e,t){var a=this.w,r=new _a(this.ctx),n=parseInt(e.node.getAttribute("index"),10),i=parseInt(e.node.getAttribute("j"),10),s="false";if("true"===e.node.getAttribute("selected")){if(e.node.setAttribute("selected","false"),a.globals.selectedDataPoints[n].indexOf(i)>-1){var o=a.globals.selectedDataPoints[n].indexOf(i);a.globals.selectedDataPoints[n].splice(o,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var l=a.globals.dom.Paper.find(".apexcharts-series path:not(.apexcharts-decoration-element)"),c=a.globals.dom.Paper.find(".apexcharts-series circle:not(.apexcharts-decoration-element), .apexcharts-series rect:not(.apexcharts-decoration-element)"),u=function(e){Array.prototype.forEach.call(e,(function(e){e.node.setAttribute("selected","false"),r.getDefaultFilter(e,n)}))};u(l),u(c)}e.node.setAttribute("selected","true"),s="true",void 0===a.globals.selectedDataPoints[n]&&(a.globals.selectedDataPoints[n]=[]),a.globals.selectedDataPoints[n].push(i)}if("true"===s){var d=a.config.states.active.filter;if("none"!==d)r.applyFilter(e,n,d.type);else if("none"!==a.config.states.hover.filter&&!a.globals.isTouchDevice){var m=a.config.states.hover.filter;r.applyFilter(e,n,m.type)}}else"none"!==a.config.states.active.filter.type&&("none"===a.config.states.hover.filter.type||a.globals.isTouchDevice?r.getDefaultFilter(e,n):(m=a.config.states.hover.filter,r.applyFilter(e,n,m.type)));"function"==typeof a.config.chart.events.dataPointSelection&&a.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:n,dataPointIndex:i,w:a}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:n,dataPointIndex:i,w:a}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&"function"==typeof e.getBBox&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,a,r){var n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.w,s=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:a,foreColor:"#fff",opacity:0});r&&s.attr("transform",r),i.globals.dom.Paper.add(s);var o=s.bbox();return n||(o=s.node.getBoundingClientRect()),s.remove(),{width:o.width,height:o.height}}},{key:"placeTextWithEllipsis",value:function(e,t,a){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=a/1.1)){for(var r=t.length-3;r>0;r-=3)if(e.getSubStringLength(0,r)<=a/1.1)return void(e.textContent=t.substring(0,r)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}}]),e}(),Ea=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.w,a=[];if(0===t.globals.series.length)return a;for(var r=0;r<t.globals.series[t.globals.maxValsInArrayIndex].length;r++){for(var n=0,i=0;i<t.globals.series.length;i++)void 0!==t.globals.series[i][r]&&-1===e.indexOf(i)&&(n+=t.globals.series[i][r]);a.push(n)}return a}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce((function(e,t){return e+t}),0):this.w.globals.series[e].reduce((function(e,t){return e+t}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,a=[];return t.globals.seriesGroups.forEach((function(r){var n=[];t.config.series.forEach((function(e,a){r.indexOf(t.globals.seriesNames[a])>-1&&n.push(a)}));var i=t.globals.series.map((function(e,t){return-1===n.indexOf(t)?t:-1})).filter((function(e){return-1!==e}));a.push(e.getStackedSeriesTotals(i))})),a}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,a=[],r=[],n=[],i=e.series.length>t.yaxis.length||t.yaxis.some((function(e){return Array.isArray(e.seriesName)}));t.series.forEach((function(e,t){n.push(t),r.push(null)})),t.yaxis.forEach((function(e,t){a[t]=[]}));var s=[];t.yaxis.forEach((function(e,r){var o=!1;if(e.seriesName){var l=[];Array.isArray(e.seriesName)?l=e.seriesName:l.push(e.seriesName),l.forEach((function(e){t.series.forEach((function(t,s){if(t.name===e){var l=s;r===s||i?!i||n.indexOf(s)>-1?a[r].push([r,s]):console.warn("Series '"+t.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."):(a[s].push([s,r]),l=r),o=!0,-1!==(l=n.indexOf(l))&&n.splice(l,1)}}))}))}o||s.push(r)})),a=a.map((function(e,t){var a=[];return e.forEach((function(e){r[e[1]]=e[0],a.push(e[1])})),a}));for(var o=t.yaxis.length-1,l=0;l<s.length&&(o=s[l],a[o]=[],n);l++){var c=n[0];n.shift(),a[o].push(c),r[c]=o}n.forEach((function(e){a[o].push(e),r[e]=o})),e.seriesYAxisMap=a.map((function(e){return e})),e.seriesYAxisReverseMap=r.map((function(e){return e})),e.seriesYAxisMap.forEach((function(e,a){e.forEach((function(e){t.series[e]&&void 0===t.series[e].group&&(t.series[e].group="apexcharts-axis-".concat(a.toString()))}))}))}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter((function(e){return null!==e})):this.w.config.series[e].data.filter((function(e){return null!==e}))).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(e,t,a){return e===a[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,a=e.slice();return t.config.xaxis.convertedCatToNumeric&&(a=e.map((function(e,a){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)}))),a}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(e){return e.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(e){return e.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(e){t=Math.max(t,e)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(e){t=Math.max(t,e.size)})),t>0&&(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(e,t){var a=0;if(Array.isArray(e))for(var r=0;r<e.length;r++)a+=e[r];else a+=e;return a}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var a=this.w;return a.globals.series.map((function(r,n){for(var i=0,s=0;s<r.length;s++)a.globals.seriesX[n][s]>e&&a.globals.seriesX[n][s]<t&&(i+=r[s]);return i}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,a){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n++){var i=e.globals.stackedSeriesTotals[n],s=0;i&&(s=100*t[n]/i),r.push(s)}else{var o=100*t/e.globals.seriesTotals.reduce((function(e,t){return e+t}),0);r.push(o)}return r}))}},{key:"getCalculatedRatios",value:function(){var e,t,a,r=this,n=this.w,i=n.globals,s=[],o=0,l=[],c=.1,u=0;if(i.yRange=[],i.isMultipleYAxis)for(var d=0;d<i.minYArr.length;d++)i.yRange.push(Math.abs(i.minYArr[d]-i.maxYArr[d])),l.push(0);else i.yRange.push(Math.abs(i.minY-i.maxY));i.xRange=Math.abs(i.maxX-i.minX),i.zRange=Math.abs(i.maxZ-i.minZ);for(var m=0;m<i.yRange.length;m++)s.push(i.yRange[m]/i.gridHeight);if(t=i.xRange/i.gridWidth,e=i.yRange/i.gridWidth,a=i.xRange/i.gridHeight,(o=i.zRange/i.gridHeight*16)||(o=1),i.minY!==Number.MIN_VALUE&&0!==Math.abs(i.minY)&&(i.hasNegs=!0),n.globals.seriesYAxisReverseMap.length>0){var g=function(e,t){var a=n.config.yaxis[n.globals.seriesYAxisReverseMap[t]],i=e<0?-1:1;return e=Math.abs(e),a.logarithmic&&(e=r.getBaseLog(a.logBase,e)),-i*e/s[t]};if(i.isMultipleYAxis){l=[];for(var p=0;p<s.length;p++)l.push(g(i.minYArr[p],p))}else(l=[]).push(g(i.minY,0)),i.minY!==Number.MIN_VALUE&&0!==Math.abs(i.minY)&&(c=-i.minY/e,u=i.minX/t)}else(l=[]).push(0),c=0,u=0;return{yRatio:s,invertedYRatio:e,zRatio:o,xRatio:t,invertedXRatio:a,baseLineInvertedY:c,baseLineY:l,baseLineX:u}}},{key:"getLogSeries",value:function(e){var t=this,a=this.w;return a.globals.seriesLog=e.map((function(e,r){var n=a.globals.seriesYAxisReverseMap[r];return a.config.yaxis[n]&&a.config.yaxis[n].logarithmic?e.map((function(e){return null===e?null:t.getLogVal(a.config.yaxis[n].logBase,e,r)})):e})),a.globals.invalidLogScale?e:a.globals.seriesLog}},{key:"getLogValAtSeriesIndex",value:function(e,t){if(null===e)return null;var a=this.w,r=a.globals.seriesYAxisReverseMap[t];return a.config.yaxis[r]&&a.config.yaxis[r].logarithmic?this.getLogVal(a.config.yaxis[r].logBase,e,t):e}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,a){if(t<=0)return 0;var r=this.w,n=0===r.globals.minYArr[a]?-1:this.getBaseLog(e,r.globals.minYArr[a]),i=(0===r.globals.maxYArr[a]?0:this.getBaseLog(e,r.globals.maxYArr[a]))-n;return t<1?t/i:(this.getBaseLog(e,t)-n)/i}},{key:"getLogYRatios",value:function(e){var t=this,a=this.w,r=this.w.globals;return r.yLogRatio=e.slice(),r.logYRange=r.yRange.map((function(e,n){var i=a.globals.seriesYAxisReverseMap[n];if(a.config.yaxis[i]&&t.w.config.yaxis[i].logarithmic){var s,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;return r.seriesLog.forEach((function(e,t){e.forEach((function(e){a.config.yaxis[t]&&a.config.yaxis[t].logarithmic&&(o=Math.max(e,o),l=Math.min(e,l))}))})),s=Math.pow(r.yRange[n],Math.abs(l-o)/r.yRange[n]),r.yLogRatio[n]=s/r.gridHeight,s}})),r.invalidLogScale?e.slice():r.yLogRatio}},{key:"drawSeriesByGroup",value:function(e,t,a,r){var n=this.w,i=[];return e.series.length>0&&t.forEach((function(t){var s=[],o=[];e.i.forEach((function(a,r){n.config.series[a].group===t&&(s.push(e.series[r]),o.push(a))})),s.length>0&&i.push(r.draw(s,a,o))})),i}}],[{key:"checkComboSeries",value:function(e,t){var a=!1,r=0,n=0;return void 0===t&&(t="line"),e.length&&void 0!==e[0].type&&e.forEach((function(e){"bar"!==e.type&&"column"!==e.type&&"candlestick"!==e.type&&"boxPlot"!==e.type||r++,void 0!==e.type&&e.type!==t&&n++})),n>0&&(a=!0),{comboBarCount:r,comboCharts:a}}},{key:"extendArrayProps",value:function(e,t,a){var r,n,i,s,o,l;return null!==(r=t)&&void 0!==r&&r.yaxis&&(t=e.extendYAxis(t,a)),null!==(n=t)&&void 0!==n&&n.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),null!==(i=t)&&void 0!==i&&null!==(s=i.annotations)&&void 0!==s&&s.xaxis&&(t=e.extendXAxisAnnotations(t)),null!==(o=t)&&void 0!==o&&null!==(l=o.annotations)&&void 0!==l&&l.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),La=function(){function e(t){i(this,e),this.w=t.w,this.annoCtx=t}return o(e,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this.w;if("vertical"===e.label.orientation){var r=null!==t?t:0,n=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(r,"']"));if(null!==n){var i=n.getBoundingClientRect();n.setAttribute("x",parseFloat(n.getAttribute("x"))-i.height+4);var s="top"===e.label.position?i.width:-i.width;n.setAttribute("y",parseFloat(n.getAttribute("y"))+s);var o=this.annoCtx.graphics.rotateAroundCenter(n),l=o.x,c=o.y;n.setAttribute("transform","rotate(-90 ".concat(l," ").concat(c,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var a=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var r=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),n=e.getBoundingClientRect(),i=t.label.style.padding,s=i.left,o=i.right,l=i.top,c=i.bottom;if("vertical"===t.label.orientation){var u=[s,o,l,c];l=u[0],c=u[1],s=u[2],o=u[3]}var d=n.left-r.left-s,m=n.top-r.top-l,g=this.annoCtx.graphics.drawRect(d-a.globals.barPadForNumericAxis,m,n.width+s+o,n.height+l+c,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&g.node.classList.add(t.id),g}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,a=function(a,r,n){var i=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(r,"']"));if(i){var s=i.parentNode,o=e.addBackgroundToAnno(i,a);o&&(s.insertBefore(o.node,i),a.label.mouseEnter&&o.node.addEventListener("mouseenter",a.label.mouseEnter.bind(e,a)),a.label.mouseLeave&&o.node.addEventListener("mouseleave",a.label.mouseLeave.bind(e,a)),a.label.click&&o.node.addEventListener("click",a.label.click.bind(e,a)))}};t.config.annotations.xaxis.forEach((function(e,t){return a(e,t,"xaxis")})),t.config.annotations.yaxis.forEach((function(e,t){return a(e,t,"yaxis")})),t.config.annotations.points.forEach((function(e,t){return a(e,t,"point")}))}},{key:"getY1Y2",value:function(e,t){var a,r=this.w,n="y1"===e?t.y:t.y2,i=!1;if(this.annoCtx.invertAxis){var s=r.config.xaxis.convertedCatToNumeric?r.globals.categoryLabels:r.globals.labels,o=s.indexOf(n),l=r.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(o+1,")"));a=l?parseFloat(l.getAttribute("y")):(r.globals.gridHeight/s.length-1)*(o+1)-r.globals.barHeight,void 0!==t.seriesIndex&&r.globals.barHeight&&(a-=r.globals.barHeight/2*(r.globals.series.length-1)-r.globals.barHeight*t.seriesIndex)}else{var c,u=r.globals.seriesYAxisMap[t.yAxisIndex][0],d=r.config.yaxis[t.yAxisIndex].logarithmic?new Ea(this.annoCtx.ctx).getLogVal(r.config.yaxis[t.yAxisIndex].logBase,n,u)/r.globals.yLogRatio[u]:(n-r.globals.minYArr[u])/(r.globals.yRange[u]/r.globals.gridHeight);a=r.globals.gridHeight-Math.min(Math.max(d,0),r.globals.gridHeight),i=d>r.globals.gridHeight||d<0,!t.marker||void 0!==t.y&&null!==t.y||(a=0),null!==(c=r.config.yaxis[t.yAxisIndex])&&void 0!==c&&c.reversed&&(a=d)}return"string"==typeof n&&n.includes("px")&&(a=parseFloat(n)),{yP:a,clipped:i}}},{key:"getX1X2",value:function(e,t){var a=this.w,r="x1"===e?t.x:t.x2,n=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,i=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,s=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,o=!1,l=this.annoCtx.inversedReversedAxis?(i-r)/(s/a.globals.gridWidth):(r-n)/(s/a.globals.gridWidth);return"category"!==a.config.xaxis.type&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||a.config.chart.sparkline.enabled||(l=this.getStringX(r)),"string"==typeof r&&r.includes("px")&&(l=parseFloat(r)),null==r&&t.marker&&(l=a.globals.gridWidth),void 0!==t.seriesIndex&&a.globals.barWidth&&!this.annoCtx.invertAxis&&(l-=a.globals.barWidth/2*(a.globals.series.length-1)-a.globals.barWidth*t.seriesIndex),l>a.globals.gridWidth?(l=a.globals.gridWidth,o=!0):l<0&&(l=0,o=!0),{x:l,clipped:o}}},{key:"getStringX",value:function(e){var t=this.w,a=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var r=t.globals.labels.map((function(e){return Array.isArray(e)?e.join(" "):e})).indexOf(e),n=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(r+1,")"));return n&&(a=parseFloat(n.getAttribute("x"))),a}}]),e}(),Ta=function(){function e(t){i(this,e),this.w=t.w,this.annoCtx=t,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new La(this.annoCtx)}return o(e,[{key:"addXaxisAnnotation",value:function(e,t,a){var r,n=this.w,i=this.helpers.getX1X2("x1",e),s=i.x,o=i.clipped,l=!0,c=e.label.text,u=e.strokeDashArray;if(b.isNumber(s)){if(null===e.x2||void 0===e.x2){if(!o){var d=this.annoCtx.graphics.drawLine(s+e.offsetX,0+e.offsetY,s+e.offsetX,n.globals.gridHeight+e.offsetY,e.borderColor,u,e.borderWidth);t.appendChild(d.node),e.id&&d.node.classList.add(e.id)}}else{var m=this.helpers.getX1X2("x2",e);if(r=m.x,l=m.clipped,r<s){var g=s;s=r,r=g}var p=this.annoCtx.graphics.drawRect(s+e.offsetX,0+e.offsetY,r-s,n.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,u);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(n.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}if(!o||!l){var f=this.annoCtx.graphics.getTextRects(c,parseFloat(e.label.style.fontSize)),M="top"===e.label.position?4:"center"===e.label.position?n.globals.gridHeight/2+("vertical"===e.label.orientation?f.width/2:0):n.globals.gridHeight,h=this.annoCtx.graphics.drawText({x:s+e.label.offsetX,y:M+e.label.offsetY-("vertical"===e.label.orientation?"top"===e.label.position?f.width/2-12:-f.width/2:0),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-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});h.attr({rel:a}),t.appendChild(h.node),this.annoCtx.helpers.setOrientations(e,a)}}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(t,r){e.addXaxisAnnotation(t,a.node,r)})),a}}]),e}(),Aa=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return o(e,[{key:"isValidDate",value:function(e){return"number"!=typeof e&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var a=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var a=this.w.globals.locale,r=this.w.config.xaxis.labels.datetimeUTC,n=["\0"].concat(y(a.months)),i=[""].concat(y(a.shortMonths)),s=[""].concat(y(a.days)),o=[""].concat(y(a.shortDays));function l(e,t){var a=e+"";for(t=t||2;a.length<t;)a="0"+a;return a}var c=r?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+c)).replace(/(^|[^\\])yy/g,"$1"+c.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+c);var u=(r?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+n[0])).replace(/(^|[^\\])MMM/g,"$1"+i[0])).replace(/(^|[^\\])MM/g,"$1"+l(u))).replace(/(^|[^\\])M/g,"$1"+u);var d=r?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+s[0])).replace(/(^|[^\\])ddd/g,"$1"+o[0])).replace(/(^|[^\\])dd/g,"$1"+l(d))).replace(/(^|[^\\])d/g,"$1"+d);var m=r?e.getUTCHours():e.getHours(),g=m>12?m-12:0===m?12:m;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(m))).replace(/(^|[^\\])H/g,"$1"+m)).replace(/(^|[^\\])hh+/g,"$1"+l(g))).replace(/(^|[^\\])h/g,"$1"+g);var p=r?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(p))).replace(/(^|[^\\])m/g,"$1"+p);var f=r?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(f))).replace(/(^|[^\\])s/g,"$1"+f);var M=r?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(M,3)),M=Math.round(M/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(M)),M=Math.round(M/10);var h=m<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+M)).replace(/(^|[^\\])TT+/g,"$1"+h)).replace(/(^|[^\\])T/g,"$1"+h.charAt(0));var N=h.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+N)).replace(/(^|[^\\])t/g,"$1"+N.charAt(0));var w=-e.getTimezoneOffset(),x=r||!w?"Z":w>0?"+":"-";if(!r){var b=(w=Math.abs(w))%60;x+=l(Math.floor(w/60))+":"+l(b)}t=t.replace(/(^|[^\\])K/g,"$1"+x);var D=(r?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(s[0],"g"),s[D])).replace(new RegExp(o[0],"g"),o[D])).replace(new RegExp(n[0],"g"),n[u])).replace(new RegExp(i[0],"g"),i[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,a){var r=this.w;void 0!==r.config.xaxis.min&&(e=r.config.xaxis.min),void 0!==r.config.xaxis.max&&(t=r.config.xaxis.max);var n=this.getDate(e),i=this.getDate(t),s=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" "),o=this.formatDate(i,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(s[6],10),maxMillisecond:parseInt(o[6],10),minSecond:parseInt(s[5],10),maxSecond:parseInt(o[5],10),minMinute:parseInt(s[4],10),maxMinute:parseInt(o[4],10),minHour:parseInt(s[3],10),maxHour:parseInt(o[3],10),minDate:parseInt(s[2],10),maxDate:parseInt(o[2],10),minMonth:parseInt(s[1],10)-1,maxMonth:parseInt(o[1],10)-1,minYear:parseInt(s[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,a){return this.determineDaysOfMonths(e,t)-a}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,a){var r=this.daysCntOfYear[t]+a;return t>1&&this.isLeapYear()&&r++,r}},{key:"determineDaysOfMonths",value:function(e,t){var a=30;switch(e=b.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(a=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:a=31}return a}}]),e}(),za=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.tooltipKeyFormat="dd MMM"}return o(e,[{key:"xLabelFormat",value:function(e,t,a,r){var n=this.w;if("datetime"===n.config.xaxis.type&&void 0===n.config.xaxis.labels.formatter&&void 0===n.config.tooltip.x.formatter){var i=new Aa(this.ctx);return i.formatDate(i.getDate(t),n.config.tooltip.x.format)}return e(t,a,r)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(e){return e})):e}},{key:"defaultYFormatter",value:function(e,t,a){var r=this.w;if(b.isNumber(e))if(0!==r.globals.yValueDecimal)e=e.toFixed(void 0!==t.decimalsInFloat?t.decimalsInFloat:r.globals.yValueDecimal);else{var n=e.toFixed(0);e=e==n?n:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttKeyFormatter=function(t){return e.defaultGeneralFormatter(t)},t.globals.ttZFormatter=function(e){return e},t.globals.legendFormatter=function(t){return e.defaultGeneralFormatter(t)},void 0!==t.config.xaxis.labels.formatter?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(e){if(b.isNumber(e)){if(!t.config.xaxis.convertedCatToNumeric&&"numeric"===t.config.xaxis.type){if(b.isNumber(t.config.xaxis.decimalsInFloat))return e.toFixed(t.config.xaxis.decimalsInFloat);var a=t.globals.maxX-t.globals.minX;return a>0&&a<100?e.toFixed(1):e.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?e.toFixed(1):e.toFixed(0)}return e},"function"==typeof t.config.tooltip.x.formatter?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||void 0!==t.config.tooltip.y.formatter)&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(a,r){void 0!==a.labels.formatter?t.globals.yLabelFormatters[r]=a.labels.formatter:t.globals.yLabelFormatters[r]=function(n){return t.globals.xyCharts?Array.isArray(n)?n.map((function(t){return e.defaultYFormatter(t,a,r)})):e.defaultYFormatter(n,a,r):n}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(e,t){return e.length>t.length?e:t}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),ka=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"getLabel",value:function(e,t,a,r){var n,i,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],c=this.w,u=void 0===e[r]?"":e[r],d=u,m=c.globals.xLabelFormatter,g=c.config.xaxis.labels.formatter,p=!1,f=new za(this.ctx),M=u;l&&(d=f.xLabelFormat(m,u,M,{i:r,dateFormatter:new Aa(this.ctx).formatDate,w:c}),void 0!==g&&(d=g(u,e[r],{i:r,dateFormatter:new Aa(this.ctx).formatDate,w:c}))),t.length>0?(n=t[r].unit,i=null,t.forEach((function(e){"month"===e.unit?i="year":"day"===e.unit?i="month":"hour"===e.unit?i="day":"minute"===e.unit&&(i="hour")})),p=i===n,a=t[r].position,d=t[r].value):"datetime"===c.config.xaxis.type&&void 0===g&&(d=""),void 0===d&&(d=""),d=Array.isArray(d)?d:d.toString();var h,y=new Ia(this.ctx);h=c.globals.rotateXLabels&&l?y.getTextRects(d,parseInt(o,10),null,"rotate(".concat(c.config.xaxis.labels.rotate," 0 0)"),!1):y.getTextRects(d,parseInt(o,10));var N=!c.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(d)&&("NaN"===String(d)||s.indexOf(d)>=0&&N)&&(d=""),{x:a,text:d,textRect:h,isBold:p}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,a){var r=this.w,n=r.config.xaxis.tickAmount;return"dataPoints"===n&&(n=Math.round(r.globals.gridWidth/120)),n>a||e%Math.round(a/(n+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,a,r,n){var i=this.w;if(0===e&&i.globals.skipFirstTimelinelabel&&(t.text=""),e===a-1&&i.globals.skipLastTimelinelabel&&(t.text=""),i.config.xaxis.labels.hideOverlappingLabels&&r.length>0){var s=n[n.length-1];t.x<s.textRect.width/(i.globals.rotateXLabels?Math.abs(i.config.xaxis.labels.rotate)/12:1.01)+s.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var a=this.w;return a.config.yaxis[e]&&a.config.yaxis[e].reversed&&t.reverse(),t}},{key:"yAxisAllSeriesCollapsed",value:function(e){var t=this.w.globals;return!t.seriesYAxisMap[e].some((function(e){return-1===t.collapsedSeriesIndices.indexOf(e)}))}},{key:"translateYAxisIndex",value:function(e){var t=this.w,a=t.globals,r=t.config.yaxis;return a.series.length>r.length||r.some((function(e){return Array.isArray(e.seriesName)}))?e:a.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,a=t.config.yaxis[e];if(!a.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!a.showForNullSeries){var r=t.globals.seriesYAxisMap[e],n=new Ea(this.ctx);return r.every((function(e){return n.isSeriesNull(e)}))}return!1}},{key:"getYAxisForeColor",value:function(e,t){var a=this.w;return Array.isArray(e)&&a.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,a.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,a,r,n,i,s){var o=this.w,l=new Ia(this.ctx),c=o.globals.translateY+o.config.yaxis[n].labels.offsetY;if(o.globals.isBarHorizontal?c=0:"heatmap"===o.config.chart.type&&(c+=i/2),r.show&&t>0){!0===o.config.yaxis[n].opposite&&(e+=r.width);for(var u=t;u>=0;u--){var d=l.drawLine(e+a.offsetX-r.width+r.offsetX,c+r.offsetY,e+a.offsetX+r.offsetX,c+r.offsetY,r.color);s.add(d),c+=i}}}}]),e}(),Sa=function(){function e(t){i(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new La(this.annoCtx),this.axesUtils=new ka(this.annoCtx)}return o(e,[{key:"addYaxisAnnotation",value:function(e,t,a){var r,n=this.w,i=e.strokeDashArray,s=this.helpers.getY1Y2("y1",e),o=s.yP,l=s.clipped,c=!0,u=!1,d=e.label.text;if(null===e.y2||void 0===e.y2){if(!l){u=!0;var m=this.annoCtx.graphics.drawLine(0+e.offsetX,o+e.offsetY,this._getYAxisAnnotationWidth(e),o+e.offsetY,e.borderColor,i,e.borderWidth);t.appendChild(m.node),e.id&&m.node.classList.add(e.id)}}else{if(r=(s=this.helpers.getY1Y2("y2",e)).yP,c=s.clipped,r>o){var g=o;o=r,r=g}if(!l||!c){u=!0;var p=this.annoCtx.graphics.drawRect(0+e.offsetX,r+e.offsetY,this._getYAxisAnnotationWidth(e),o-r,0,e.fillColor,e.opacity,1,e.borderColor,i);p.node.classList.add("apexcharts-annotation-rect"),p.attr("clip-path","url(#gridRectMask".concat(n.globals.cuid,")")),t.appendChild(p.node),e.id&&p.node.classList.add(e.id)}}if(u){var f="right"===e.label.position?n.globals.gridWidth:"center"===e.label.position?n.globals.gridWidth/2:0,M=this.annoCtx.graphics.drawText({x:f+e.label.offsetX,y:(null!=r?r:o)+e.label.offsetY-3,text:d,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:"")});M.attr({rel:a}),t.appendChild(M.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,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach((function(t,r){t.yAxisIndex=e.axesUtils.translateYAxisIndex(t.yAxisIndex),e.axesUtils.isYAxisHidden(t.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(t.yAxisIndex)||e.addYaxisAnnotation(t,a.node,r)})),a}}]),e}(),Oa=function(){function e(t){i(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new La(this.annoCtx)}return o(e,[{key:"addPointAnnotation",value:function(e,t,a){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var r=this.helpers.getX1X2("x1",e),n=r.x,i=r.clipped,s=(r=this.helpers.getY1Y2("y1",e)).yP,o=r.clipped;if(b.isNumber(n)&&!o&&!i){var l={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:"")},c=this.annoCtx.graphics.drawMarker(n+e.marker.offsetX,s+e.marker.offsetY,l);t.appendChild(c.node);var u=e.label.text?e.label.text:"",d=this.annoCtx.graphics.drawText({x:n+e.label.offsetX,y:s+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:u,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(d.attr({rel:a}),t.appendChild(d.node),e.customSVG.SVG){var m=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});m.attr({transform:"translate(".concat(n+e.customSVG.offsetX,", ").concat(s+e.customSVG.offsetY,")")}),m.node.innerHTML=e.customSVG.SVG,t.appendChild(m.node)}if(e.image.path){var g=e.image.width?e.image.width:20,p=e.image.height?e.image.height:20;c=this.annoCtx.addImage({x:n+e.image.offsetX-g/2,y:s+e.image.offsetY-p/2,width:g,height:p,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&c.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&c.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&c.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(t,r){e.addPointAnnotation(t,a.node,r)})),a}}]),e}(),Ca={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"}}},Ya=function(){function e(){i(this,e),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 o(e,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"",locales:[Ca],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.7},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,colors:{threshold:0,colorAboveThreshold:void 0,colorBelowThreshold:void 0}},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},seriesTitle:{show:!0,offsetY:1,offsetX:1,borderColor:"#000",borderWidth:1,borderRadius:2,style:{background:"rgba(0, 0, 0, 0.6)",color:"#fff",fontSize:"12px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:6,right:6,top:2,bottom:2}}}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)/e.globals.series.length+"%"}}},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(e,t){return e+t}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},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:[],clusterGroupedSeries:!0,clusterGroupedSeriesOrientation:"vertical",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:{hover:{filter:{type:"lighten"}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken"}}},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:.8}},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}}}}}]),e}(),Ua=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.graphics=new Ia(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new La(this),this.xAxisAnnotations=new Ta(this),this.yAxisAnnotations=new Sa(this),this.pointsAnnotations=new Oa(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 o(e,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),r=this.pointsAnnotations.drawPointAnnotations(),n=e.config.chart.animations.enabled,i=[t,a,r],s=[a.node,t.node,r.node],o=0;o<3;o++)e.globals.dom.elGraphical.add(i[o]),!n||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&s[o].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:s[o],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,a){e.addImage(t,a)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,a){e.addText(t,a)}))}},{key:"addXaxisAnnotation",value:function(e,t,a){this.xAxisAnnotations.addXaxisAnnotation(e,t,a)}},{key:"addYaxisAnnotation",value:function(e,t,a){this.yAxisAnnotations.addYaxisAnnotation(e,t,a)}},{key:"addPointAnnotation",value:function(e,t,a){this.pointsAnnotations.addPointAnnotation(e,t,a)}},{key:"addText",value:function(e,t){var a=e.x,r=e.y,n=e.text,i=e.textAnchor,s=e.foreColor,o=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,m=e.borderWidth,g=e.strokeDashArray,p=e.borderRadius,f=e.borderColor,M=e.appendTo,h=void 0===M?".apexcharts-svg":M,y=e.paddingLeft,N=void 0===y?4:y,w=e.paddingRight,x=void 0===w?4:w,b=e.paddingBottom,D=void 0===b?2:b,j=e.paddingTop,v=void 0===j?2:j,_=this.w,I=this.graphics.drawText({x:a,y:r,text:n,textAnchor:i||"start",fontSize:o||"12px",fontWeight:c||"regular",fontFamily:l||_.config.chart.fontFamily,foreColor:s||_.config.chart.foreColor,cssClass:u}),E=_.globals.dom.baseEl.querySelector(h);E&&E.appendChild(I.node);var L=I.bbox();if(n){var T=this.graphics.drawRect(L.x-N,L.y-v,L.width+N+x,L.height+D+v,p,d||"transparent",1,m,f,g);E.insertBefore(T.node,I.node)}}},{key:"addImage",value:function(e,t){var a=this.w,r=e.path,n=e.x,i=void 0===n?0:n,s=e.y,o=void 0===s?0:s,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,m=e.appendTo,g=void 0===m?".apexcharts-svg":m,p=a.globals.dom.Paper.image(r);p.size(c,d).move(i,o);var f=a.globals.dom.baseEl.querySelector(g);return f&&f.appendChild(p.node),p}},{key:"addXaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(e,t,a){return void 0===this.invertAxis&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(e){var t=e.params,a=e.pushToMemory,r=e.context,n=e.type,i=e.contextMethod,s=r,o=s.w,l=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations")),c=l.childNodes.length+1,u=new Ya,d=Object.assign({},"xaxis"===n?u.xAxisAnnotation:"yaxis"===n?u.yAxisAnnotation:u.pointAnnotation),m=b.extend(d,t);switch(n){case"xaxis":this.addXaxisAnnotation(m,l,c);break;case"yaxis":this.addYaxisAnnotation(m,l,c);break;case"point":this.addPointAnnotation(m,l,c)}var g=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(c,"']")),p=this.helpers.addBackgroundToAnno(g,m);return p&&l.insertBefore(p.node,g),a&&o.globals.memory.methodsToExec.push({context:s,id:m.id?m.id:b.randomId(),method:i,label:"addAnnotation",params:t}),r}},{key:"clearAnnotations",value:function(e){for(var t=e.w,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),r=t.globals.memory.methodsToExec.length-1;r>=0;r--)"addText"!==t.globals.memory.methodsToExec[r].label&&"addAnnotation"!==t.globals.memory.methodsToExec[r].label||t.globals.memory.methodsToExec.splice(r,1);a=b.listToArray(a),Array.prototype.forEach.call(a,(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var a=e.w,r=a.globals.dom.baseEl.querySelectorAll(".".concat(t));r&&(a.globals.memory.methodsToExec.map((function(e,r){e.id===t&&a.globals.memory.methodsToExec.splice(r,1)})),Array.prototype.forEach.call(r,(function(e){e.parentElement.removeChild(e)})))}}]),e}(),Qa=function(e){var t,a=e.isTimeline,r=e.ctx,n=e.seriesIndex,i=e.dataPointIndex,s=e.y1,o=e.y2,l=e.w,c=l.globals.seriesRangeStart[n][i],u=l.globals.seriesRangeEnd[n][i],d=l.globals.labels[i],m=l.config.series[n].name?l.config.series[n].name:"",g=l.globals.ttKeyFormatter,p=l.config.tooltip.y.title.formatter,f={w:l,seriesIndex:n,dataPointIndex:i,start:c,end:u};"function"==typeof p&&(m=p(m,f)),null!==(t=l.config.series[n].data[i])&&void 0!==t&&t.x&&(d=l.config.series[n].data[i].x),a||"datetime"===l.config.xaxis.type&&(d=new za(r).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new Aa(r).formatDate,w:l})),"function"==typeof g&&(d=g(d,f)),Number.isFinite(s)&&Number.isFinite(o)&&(c=s,u=o);var M="",h="",y=l.globals.colors[n];if(void 0===l.config.tooltip.x.formatter)if("datetime"===l.config.xaxis.type){var N=new Aa(r);M=N.formatDate(N.getDate(c),l.config.tooltip.x.format),h=N.formatDate(N.getDate(u),l.config.tooltip.x.format)}else M=c,h=u;else M=l.config.tooltip.x.formatter(c),h=l.config.tooltip.x.formatter(u);return{start:c,end:u,startVal:M,endVal:h,ylabel:d,color:y,seriesName:m}},Pa=function(e){var t=e.color,a=e.seriesName,r=e.ylabel,n=e.start,i=e.end,s=e.seriesIndex,o=e.dataPointIndex,l=e.ctx.tooltip.tooltipLabels.getFormatters(s);n=l.yLbFormatter(n),i=l.yLbFormatter(i);var c=l.yLbFormatter(e.w.globals.series[s][o]),u='<span class="value start-value">\n  '.concat(n,'\n  </span> <span class="separator">-</span> <span class="value end-value">\n  ').concat(i,"\n  </span>");return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+t+'">'+(a||"")+'</span></div><div> <span class="category">'+r+": </span> "+(e.w.globals.comboCharts?"rangeArea"===e.w.config.series[s].type||"rangeBar"===e.w.config.series[s].type?u:"<span>".concat(c,"</span>"):u)+" </div></div>"},Fa=function(){function e(t){i(this,e),this.opts=t}return o(e,[{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{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(),b.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 a=t.w.config.series[t.seriesIndex].name;return null!==e?a+": "+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},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},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(),f(f({},this.bar()),{},{chart:{animations:{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 a=t.seriesIndex,r=t.dataPointIndex,n=t.w;return e._getBoxTooltip(n,a,r,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,r=t.dataPointIndex,n=t.w;return e._getBoxTooltip(n,a,r,["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 a=t.seriesIndex,r=t.dataPointIndex,n=t.w,i=function(){var e=n.globals.seriesRangeStart[a][r];return n.globals.seriesRangeEnd[a][r]-e};return n.globals.comboCharts?"rangeBar"===n.config.series[a].type||"rangeArea"===n.config.series[a].type?i():e:i()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=Qa(f(f({},e),{},{isTimeline:!0})),a=t.color,r=t.seriesName,n=t.ylabel,i=t.startVal,s=t.endVal;return Pa(f(f({},e),{},{color:a,seriesName:r,ylabel:n,start:i,end:s}))}(e):function(e){var t=Qa(e),a=t.color,r=t.seriesName,n=t.ylabel,i=t.start,s=t.end;return Pa(f(f({},e),{},{color:a,seriesName:r,ylabel:n,start:i,end:s}))}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,a;return null!==(t=e.plotOptions.bar)&&void 0!==t&&t.barHeight||(e.plotOptions.bar.barHeight=2),null!==(a=e.plotOptions.bar)&&void 0!==a&&a.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return function(e){var t=Qa(e),a=t.color,r=t.seriesName,n=t.ylabel,i=t.start,s=t.end;return Pa(f(f({},e),{},{color:a,seriesName:r,ylabel:n,start:i,end:s}))}(e)}}}}},{key:"brush",value:function(e){return b.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})),"bar"===e.chart.type&&(e.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),e}},{key:"stackedBars",value:function(){var e=this.bar();return f(f({},e),{},{plotOptions:f(f({},e.plotOptions),{},{bar:f(f({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,a){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return b.isNumber(e)?Math.floor(e):e};var r=e.xaxis.labels.formatter,n=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return a&&a.length&&(n=a.map((function(e){return Array.isArray(e)?e:String(e)}))),n&&n.length&&(e.xaxis.labels.formatter=function(e){return b.isNumber(e)?r(n[Math.floor(e)-1]):r(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square"}},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,a,r,n){var i=e.globals.seriesCandleO[t][a],s=e.globals.seriesCandleH[t][a],o=e.globals.seriesCandleM[t][a],l=e.globals.seriesCandleL[t][a],c=e.globals.seriesCandleC[t][a];return e.config.series[t].type&&e.config.series[t].type!==n?'<div class="apexcharts-custom-tooltip">\n          '.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][a],"</strong>\n        </div>"):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(r[0],': <span class="value">')+i+"</span></div>"+"<div>".concat(r[1],': <span class="value">')+s+"</span></div>"+(o?"<div>".concat(r[2],': <span class="value">')+o+"</span></div>":"")+"<div>".concat(r[3],': <span class="value">')+l+"</span></div>"+"<div>".concat(r[4],': <span class="value">')+c+"</span></div></div>"}}]),e}(),Ra=function(){function e(t){i(this,e),this.opts=t}return o(e,[{key:"init",value:function(e){var t=e.responsiveOverride,a=this.opts,r=new Ya,n=new Fa(a);this.chartType=a.chart.type,a=this.extendYAxis(a),a=this.extendAnnotations(a);var i=r.init(),s={};if(a&&"object"===w(a)){var o,l,c,u,d,m,g,p,f,M,h={};h=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)?n[a.chart.type]():n.line(),null!==(o=a.plotOptions)&&void 0!==o&&null!==(l=o.bar)&&void 0!==l&&l.isFunnel&&(h=n.funnel()),a.chart.stacked&&"bar"===a.chart.type&&(h=n.stackedBars()),null!==(c=a.chart.brush)&&void 0!==c&&c.enabled&&(h=n.brush(h)),null!==(u=a.plotOptions)&&void 0!==u&&null!==(d=u.line)&&void 0!==d&&d.isSlopeChart&&(h=n.slope()),a.chart.stacked&&"100%"===a.chart.stackType&&(a=n.stacked100(a)),null!==(m=a.plotOptions)&&void 0!==m&&null!==(g=m.bar)&&void 0!==g&&g.isDumbbell&&(a=n.dumbbell(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},t||(a.xaxis.convertedCatToNumeric=!1),(null!==(p=(a=this.checkForCatToNumericXAxis(this.chartType,h,a)).chart.sparkline)&&void 0!==p&&p.enabled||null!==(f=window.Apex.chart)&&void 0!==f&&null!==(M=f.sparkline)&&void 0!==M&&M.enabled)&&(h=n.sparkline(h)),s=b.extend(i,h)}var y=b.extend(s,window.Apex);return i=b.extend(y,a),this.handleUserInputErrors(i)}},{key:"checkForCatToNumericXAxis",value:function(e,t,a){var r,n,i=new Fa(a),s=("bar"===e||"boxPlot"===e)&&(null===(r=a.plotOptions)||void 0===r||null===(n=r.bar)||void 0===n?void 0:n.horizontal),o="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,l="datetime"!==a.xaxis.type&&"numeric"!==a.xaxis.type,c=a.xaxis.tickPlacement?a.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return s||o||!l||"between"===c||(a=i.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(e,t){var a=new Ya;(void 0===e.yaxis||!e.yaxis||Array.isArray(e.yaxis)&&0===e.yaxis.length)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=b.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[b.extend(a.yAxis,e.yaxis)]:e.yaxis=b.extendArray(e.yaxis,a.yAxis);var r=!1;e.yaxis.forEach((function(e){e.logarithmic&&(r=!0)}));var n=e.series;return t&&!n&&(n=t.config.series),r&&n.length!==e.yaxis.length&&n.length&&(e.yaxis=n.map((function(t,r){if(t.name||(n[r].name="series-".concat(r+1)),e.yaxis[r])return e.yaxis[r].seriesName=n[r].name,e.yaxis[r];var i=b.extend(a.yAxis,e.yaxis[0]);return i.show=!1,i}))),r&&n.length>1&&n.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 void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new Ya;return e.annotations.yaxis=b.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new Ya;return e.annotations.xaxis=b.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new Ya;return e.annotations.points=b.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===t.chart.type&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&"barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),"candlestick"!==t.chart.type&&"boxPlot"!==t.chart.type||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),e}(),Ha=function(){function e(){i(this,e)}return o(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.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:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,isSlopeChart:e.plotOptions.line.isSlopeChart,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,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=b.extend({},e),t.initialSeries=b.clone(e.series),t.lastXAxis=b.clone(t.initialConfig.xaxis),t.lastYAxis=b.clone(t.initialConfig.yaxis),t}}]),e}(),Ba=function(){function e(t){i(this,e),this.opts=t}return o(e,[{key:"init",value:function(){var e=new Ra(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new Ha).init(e)}}}]),e}(),Wa=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return o(e,[{key:"clippedImgArea",value:function(e){var t=this.w,a=t.config,r=parseInt(t.globals.gridWidth,10),n=parseInt(t.globals.gridHeight,10),i=r>n?r:n,s=e.image,o=0,l=0;void 0===e.width&&void 0===e.height?void 0!==a.fill.image.width&&void 0!==a.fill.image.height?(o=a.fill.image.width+1,l=a.fill.image.height):(o=i+1,l=i):(o=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");Ia.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:o+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",s),Ia.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:o+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w,a=t.config.chart.type;return("bar"===a||"rangeBar"===a)&&t.config.plotOptions.bar.distributed||"heatmap"===a||"treemap"===a?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"computeColorStops",value:function(e,t){var a,r=this.w,n=null,i=null,s=l(e);try{for(s.s();!(a=s.n()).done;){var o=a.value;o>=t.threshold?(null===n||o>n)&&(n=o):(null===i||o<i)&&(i=o)}}catch(e){s.e(e)}finally{s.f()}null===n&&(n=t.threshold),null===i&&(i=t.threshold);var c=n-t.threshold+(t.threshold-i);0===c&&(c=1);var u=100-(t.threshold-i)/c*100;return[{offset:u=Math.max(0,Math.min(u,100)),color:t.colorAboveThreshold,opacity:r.config.fill.opacity},{offset:0,color:t.colorBelowThreshold,opacity:r.config.fill.opacity}]}},{key:"fillPath",value:function(e){var t,a,r,n=this.w;this.opts=e;var i,s,o,l=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var c=l.plotOptions.line.colors.colorAboveThreshold&&l.plotOptions.line.colors.colorBelowThreshold,u=this.getFillColors()[this.seriesIndex];void 0!==n.globals.seriesColors[this.seriesIndex]&&(u=n.globals.seriesColors[this.seriesIndex]),"function"==typeof u&&(u=u({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:n}));var d,m,g,p=e.fillType?e.fillType:this.getFillType(this.seriesIndex),f=Array.isArray(l.fill.opacity)?l.fill.opacity[this.seriesIndex]:l.fill.opacity,M="gradient"===p||c;e.color&&(u=e.color),null!==(t=n.config.series[this.seriesIndex])&&void 0!==t&&null!==(a=t.data)&&void 0!==a&&null!==(r=a[e.dataPointIndex])&&void 0!==r&&r.fillColor&&(u=null===(d=n.config.series[this.seriesIndex])||void 0===d||null===(m=d.data)||void 0===m||null===(g=m[e.dataPointIndex])||void 0===g?void 0:g.fillColor),u||(u="#fff",console.warn("undefined color - ApexCharts"));var h=u;if(-1===u.indexOf("rgb")?-1===u.indexOf("#")?h=u:u.length<9&&(h=b.hexToRgba(u,f)):u.indexOf("rgba")>-1?f=b.getOpacityFromRGBA(u):h=b.hexToRgba(b.rgb2hex(u),f),e.opacity&&(f=e.opacity),"pattern"===p&&(s=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:s,fillColor:u,fillOpacity:f,defaultColor:h})),M){var N=y(l.fill.gradient.colorStops)||[],w=l.fill.gradient.type;c&&(N[this.seriesIndex]=this.computeColorStops(n.globals.series[this.seriesIndex],l.plotOptions.line.colors),w="vertical"),o=this.handleGradientFill({type:w,fillConfig:e.fillConfig,fillColor:u,fillOpacity:f,colorStops:N,i:this.seriesIndex})}if("image"===p){var x=l.fill.image.src,D=e.patternID?e.patternID:"",j="pattern".concat(n.globals.cuid).concat(e.seriesNumber+1).concat(D);-1===this.patternIDs.indexOf(j)&&(this.clippedImgArea({opacity:f,image:Array.isArray(x)?e.seriesNumber<x.length?x[e.seriesNumber]:x[0]:x,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:j}),this.patternIDs.push(j)),i="url(#".concat(j,")")}else i=M?o:"pattern"===p?s:h;return e.solid&&(i=h),i}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,a=this.opts,r=[];return e.globals.comboCharts?"line"===e.config.series[this.seriesIndex].type?Array.isArray(e.globals.stroke.colors)?r=e.globals.stroke.colors:r.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?r=e.globals.fill.colors:r.push(e.globals.fill.colors):"line"===t.chart.type?Array.isArray(e.globals.stroke.colors)?r=e.globals.stroke.colors:r.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?r=e.globals.fill.colors:r.push(e.globals.fill.colors),void 0!==a.fillColors&&(r=[],Array.isArray(a.fillColors)?r=a.fillColors.slice():r.push(a.fillColors)),r}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,a=(e.patternFill,e.fillColor),r=e.fillOpacity,n=e.defaultColor,i=this.w.config.fill;t&&(i=t);var s=this.opts,o=new Ia(this.ctx),l=Array.isArray(i.pattern.strokeWidth)?i.pattern.strokeWidth[this.seriesIndex]:i.pattern.strokeWidth,c=a;return Array.isArray(i.pattern.style)?void 0!==i.pattern.style[s.seriesNumber]?o.drawPattern(i.pattern.style[s.seriesNumber],i.pattern.width,i.pattern.height,c,l,r):n:o.drawPattern(i.pattern.style,i.pattern.width,i.pattern.height,c,l,r)}},{key:"handleGradientFill",value:function(e){var t=e.type,a=e.fillColor,r=e.fillOpacity,n=e.fillConfig,i=e.colorStops,s=e.i,o=this.w.config.fill;n&&(o=f(f({},o),n));var l=this.opts,c=new Ia(this.ctx),u=new b;t=t||o.gradient.type;var d,m=a,g=void 0===o.gradient.opacityFrom?r:Array.isArray(o.gradient.opacityFrom)?o.gradient.opacityFrom[s]:o.gradient.opacityFrom;m.indexOf("rgba")>-1&&(g=b.getOpacityFromRGBA(m));var p=void 0===o.gradient.opacityTo?r:Array.isArray(o.gradient.opacityTo)?o.gradient.opacityTo[s]:o.gradient.opacityTo;if(void 0===o.gradient.gradientToColors||0===o.gradient.gradientToColors.length)d="dark"===o.gradient.shade?u.shadeColor(-1*parseFloat(o.gradient.shadeIntensity),a.indexOf("rgb")>-1?b.rgb2hex(a):a):u.shadeColor(parseFloat(o.gradient.shadeIntensity),a.indexOf("rgb")>-1?b.rgb2hex(a):a);else if(o.gradient.gradientToColors[l.seriesNumber]){var M=o.gradient.gradientToColors[l.seriesNumber];d=M,M.indexOf("rgba")>-1&&(p=b.getOpacityFromRGBA(M))}else d=a;if(o.gradient.gradientFrom&&(m=o.gradient.gradientFrom),o.gradient.gradientTo&&(d=o.gradient.gradientTo),o.gradient.inverseColors){var h=m;m=d,d=h}return m.indexOf("rgb")>-1&&(m=b.rgb2hex(m)),d.indexOf("rgb")>-1&&(d=b.rgb2hex(d)),c.drawGradient(t,m,d,g,p,l.size,o.gradient.stops,i,s)}}]),e}(),Va=function(){function e(t,a){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)void 0===e.globals.markers.size[t]&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(t){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e){var t=e.pointsPos,a=e.seriesIndex,r=e.j,n=e.pSize,i=e.alwaysDrawMarker,s=void 0!==i&&i,o=e.isVirtualPoint,l=void 0!==o&&o,c=this.w,u=a,d=t,m=null,g=new Ia(this.ctx),p=c.config.markers.discrete&&c.config.markers.discrete.length;if(Array.isArray(d.x))for(var f=0;f<d.x.length;f++){var M=void 0,h=r,y=!b.isNumber(d.y[f]);0===c.globals.markers.largestSize&&c.globals.hasNullValues&&null!==c.globals.series[u][r+1]&&!l&&(y=!0),1===r&&0===f&&(h=0),1===r&&1===f&&(h=1);var N="apexcharts-marker";if("line"!==c.config.chart.type&&"area"!==c.config.chart.type||c.globals.comboCharts||c.config.tooltip.intersect||(N+=" no-pointer-events"),(Array.isArray(c.config.markers.size)?c.globals.markers.size[a]>0:c.config.markers.size>0)||s||p){y||(N+=" w".concat(b.randomId()));var w=this.getMarkerConfig({cssClass:N,seriesIndex:a,dataPointIndex:h});c.config.series[u].data[h]&&(c.config.series[u].data[h].fillColor&&(w.pointFillColor=c.config.series[u].data[h].fillColor),c.config.series[u].data[h].strokeColor&&(w.pointStrokeColor=c.config.series[u].data[h].strokeColor)),void 0!==n&&(w.pSize=n),(d.x[f]<-c.globals.markers.largestSize||d.x[f]>c.globals.gridWidth+c.globals.markers.largestSize||d.y[f]<-c.globals.markers.largestSize||d.y[f]>c.globals.gridHeight+c.globals.markers.largestSize)&&(w.pSize=0),y||((c.globals.markers.size[a]>0||s||p)&&!m&&(m=g.group({class:s||p?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(c.globals.cuid,")")),(M=g.drawMarker(d.x[f],d.y[f],w)).attr("rel",h),M.attr("j",h),M.attr("index",a),M.node.setAttribute("default-marker-size",w.pSize),new _a(this.ctx).setSelectionFilter(M,a,h),this.addEvents(M),m&&m.add(M))}else void 0===c.globals.pointsArray[a]&&(c.globals.pointsArray[a]=[]),c.globals.pointsArray[a].push([d.x[f],d.y[f]])}return m}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,a=e.seriesIndex,r=e.dataPointIndex,n=void 0===r?null:r,i=e.radius,s=void 0===i?null:i,o=e.size,l=void 0===o?null:o,c=e.strokeWidth,u=void 0===c?null:c,d=this.w,m=this.getMarkerStyle(a),g=null===l?d.globals.markers.size[a]:l,p=d.config.markers;return null!==n&&p.discrete.length&&p.discrete.map((function(e){e.seriesIndex===a&&e.dataPointIndex===n&&(m.pointStrokeColor=e.strokeColor,m.pointFillColor=e.fillColor,g=e.size,m.pointShape=e.shape)})),{pSize:null===s?g:s,pRadius:null!==s?s:p.radius,pointStrokeWidth:null!==u?u:Array.isArray(p.strokeWidth)?p.strokeWidth[a]:p.strokeWidth,pointStrokeColor:m.pointStrokeColor,pointFillColor:m.pointFillColor,shape:m.pointShape||(Array.isArray(p.shape)?p.shape[a]:p.shape),class:t,pointStrokeOpacity:Array.isArray(p.strokeOpacity)?p.strokeOpacity[a]:p.strokeOpacity,pointStrokeDashArray:Array.isArray(p.strokeDashArray)?p.strokeDashArray[a]:p.strokeDashArray,pointFillOpacity:Array.isArray(p.fillOpacity)?p.fillOpacity[a]:p.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(e){var t=this.w,a=new Ia(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",a.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",a.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,a=t.globals.markers.colors,r=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(r)?r[e]:r,pointFillColor:Array.isArray(a)?a[e]:a}}}]),e}(),Za=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled}return o(e,[{key:"draw",value:function(e,t,a){var r=this.w,n=new Ia(this.ctx),i=a.realIndex,s=a.pointsPos,o=a.zRatio,l=a.elParent,c=n.group({class:"apexcharts-series-markers apexcharts-series-".concat(r.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),Array.isArray(s.x))for(var u=0;u<s.x.length;u++){var d=t+1,m=!0;0===t&&0===u&&(d=0),0===t&&1===u&&(d=1);var g=r.globals.markers.size[i];if(o!==1/0){var p=r.config.plotOptions.bubble;g=r.globals.seriesZ[i][d],p.zScaling&&(g/=o),p.minBubbleRadius&&g<p.minBubbleRadius&&(g=p.minBubbleRadius),p.maxBubbleRadius&&g>p.maxBubbleRadius&&(g=p.maxBubbleRadius)}var f=s.x[u],M=s.y[u];if(g=g||0,null!==M&&void 0!==r.globals.series[i][d]||(m=!1),m){var h=this.drawPoint(f,M,g,i,d,t);c.add(h)}l.add(c)}}},{key:"drawPoint",value:function(e,t,a,r,n,i){var s=this.w,o=r,l=new D(this.ctx),c=new _a(this.ctx),u=new Wa(this.ctx),d=new Va(this.ctx),m=new Ia(this.ctx),g=d.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:o,dataPointIndex:n,radius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[r]&&"bubble"===s.config.series[r].type?a:null}),p=u.fillPath({seriesNumber:r,dataPointIndex:n,color:g.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[r][i]}),f=m.drawMarker(e,t,g);if(s.config.series[o].data[n]&&s.config.series[o].data[n].fillColor&&(p=s.config.series[o].data[n].fillColor),f.attr({fill:p}),s.config.chart.dropShadow.enabled){var M=s.config.chart.dropShadow;c.dropShadow(f,M,r)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var h=s.config.chart.animations.speed;l.animateMarker(f,h,s.globals.easing,(function(){window.setTimeout((function(){l.animationCompleted(f)}),100)}))}return f.attr({rel:n,j:n,index:r,"default-marker-size":g.pSize}),c.setSelectionFilter(f,r,n),d.addEvents(f),f.node.classList.add("apexcharts-marker"),f}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),e}(),Ga=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"dataLabelsCorrection",value:function(e,t,a,r,n,i,s){var o=this.w,l=!1,c=new Ia(this.ctx).getTextRects(a,s),u=c.width,d=c.height;t<0&&(t=0),t>o.globals.gridHeight+d&&(t=o.globals.gridHeight+d/2),void 0===o.globals.dataLabelsRects[r]&&(o.globals.dataLabelsRects[r]=[]),o.globals.dataLabelsRects[r].push({x:e,y:t,width:u,height:d});var m=o.globals.dataLabelsRects[r].length-2,g=void 0!==o.globals.lastDrawnDataLabelsIndexes[r]?o.globals.lastDrawnDataLabelsIndexes[r][o.globals.lastDrawnDataLabelsIndexes[r].length-1]:0;if(void 0!==o.globals.dataLabelsRects[r][m]){var p=o.globals.dataLabelsRects[r][g];(e>p.x+p.width||t>p.y+p.height||t+d<p.y||e+u<p.x)&&(l=!0)}return(0===n||i)&&(l=!0),{x:e,y:t,textRects:c,drawnextLabel:l}}},{key:"drawDataLabel",value:function(e){var t=this,a=e.type,r=e.pos,n=e.i,i=e.j,s=e.isRangeStart,o=e.strokeWidth,l=void 0===o?2:o,c=this.w,u=new Ia(this.ctx),d=c.config.dataLabels,m=0,g=0,p=i,f=null;if(-1!==c.globals.collapsedSeriesIndices.indexOf(n)||!d.enabled||!Array.isArray(r.x))return f;f=u.group({class:"apexcharts-data-labels"});for(var M=0;M<r.x.length;M++)if(m=r.x[M]+d.offsetX,g=r.y[M]+d.offsetY+l,!isNaN(m)){1===i&&0===M&&(p=0),1===i&&1===M&&(p=1);var h=c.globals.series[n][p];"rangeArea"===a&&(h=s?c.globals.seriesRangeStart[n][p]:c.globals.seriesRangeEnd[n][p]);var y="",N=function(e){return c.config.dataLabels.formatter(e,{ctx:t.ctx,seriesIndex:n,dataPointIndex:p,w:c})};"bubble"===c.config.chart.type?(y=N(h=c.globals.seriesZ[n][p]),g=r.y[M],g=new Za(this.ctx).centerTextInBubble(g,n,p).y):void 0!==h&&(y=N(h));var w=c.config.dataLabels.textAnchor;c.globals.isSlopeChart&&(w=0===p?"end":p===c.config.series[n].data.length-1?"start":"middle"),this.plotDataLabelsText({x:m,y:g,text:y,i:n,j:p,parent:f,offsetCorrection:!0,dataLabelsConfig:c.config.dataLabels,textAnchor:w})}return f}},{key:"plotDataLabelsText",value:function(e){var t=this.w,a=new Ia(this.ctx),r=e.x,n=e.y,i=e.i,s=e.j,o=e.text,l=e.textAnchor,c=e.fontSize,u=e.parent,d=e.dataLabelsConfig,m=e.color,g=e.alwaysDrawDataLabel,p=e.offsetCorrection,f=e.className,M=null;if(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(i)<0)return M;var h={x:r,y:n,drawnextLabel:!0,textRects:null};p&&(h=this.dataLabelsCorrection(r,n,o,i,s,g,parseInt(d.style.fontSize,10))),t.globals.zoomed||(r=h.x,n=h.y),h.textRects&&(r<-20-h.textRects.width||r>t.globals.gridWidth+h.textRects.width+30)&&(o="");var y=t.globals.dataLabels.style.colors[i];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(y=t.globals.dataLabels.style.colors[s]),"function"==typeof y&&(y=y({series:t.globals.series,seriesIndex:i,dataPointIndex:s,w:t})),m&&(y=m);var N=d.offsetX,w=d.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(N=0,w=0),t.globals.isSlopeChart&&(0!==s&&(N=-2*d.offsetX+5),0!==s&&s!==t.config.series[i].data.length-1&&(N=0)),h.drawnextLabel){if((M=a.drawText({width:100,height:parseInt(d.style.fontSize,10),x:r+N,y:n+w,foreColor:y,textAnchor:l||d.textAnchor,text:o,fontSize:c||d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight||"normal"})).attr({class:f||"apexcharts-datalabel",cx:r,cy:n}),d.dropShadow.enabled){var x=d.dropShadow;new _a(this.ctx).dropShadow(M,x)}u.add(M),void 0===t.globals.lastDrawnDataLabelsIndexes[i]&&(t.globals.lastDrawnDataLabelsIndexes[i]=[]),t.globals.lastDrawnDataLabelsIndexes[i].push(s)}return M}},{key:"addBackgroundToDataLabel",value:function(e,t){var a=this.w,r=a.config.dataLabels.background,n=r.padding,i=r.padding/2,s=t.width,o=t.height,l=new Ia(this.ctx).drawRect(t.x-n,t.y-i/2,s+2*n,o+i,r.borderRadius,"transparent"!==a.config.chart.background&&a.config.chart.background?a.config.chart.background:"#fff",r.opacity,r.borderWidth,r.borderColor);return r.dropShadow.enabled&&new _a(this.ctx).dropShadow(l,r.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<t.length;a++){var r=t[a],n=r.getBBox(),i=null;if(n.width&&n.height&&(i=this.addBackgroundToDataLabel(r,n)),i){r.parentNode.insertBefore(i.node,r);var s=r.getAttribute("fill");!e.config.chart.animations.enabled||e.globals.resized||e.globals.dataChanged?i.attr({fill:s}):i.animate().attr({fill:s}),r.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),r=0;r<t.length;r++)a&&a.insertBefore(t[r],a.nextSibling)}}]),e}(),Xa=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.legendInactiveClass="legend-mouseover-inactive"}return o(e,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(b.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),a=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:a}}},{key:"addCollapsedClassToSeries",value:function(e,t){var a=this.w;function r(a){for(var r=0;r<a.length;r++)a[r].index===t&&e.node.classList.add("apexcharts-series-collapsed")}r(a.globals.collapsedSeries),r(a.globals.ancillaryCollapsedSeries)}},{key:"toggleSeries",value:function(e){var t=this.isSeriesHidden(e);return this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,t.isHidden),t.isHidden}},{key:"showSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden&&this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!0)}},{key:"hideSeries",value:function(e){var t=this.isSeriesHidden(e);t.isHidden||this.ctx.legend.legendHelpers.toggleDataSeries(t.realIndex,!1)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w,n=b.clone(r.globals.initialSeries);r.globals.previousPaths=[],a?(r.globals.collapsedSeries=[],r.globals.ancillaryCollapsedSeries=[],r.globals.collapsedSeriesIndices=[],r.globals.ancillaryCollapsedSeriesIndices=[]):n=this.emptyCollapsedSeries(n),r.config.series=n,e&&(t&&(r.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(n,r.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,a=0;a<e.length;a++)t.globals.collapsedSeriesIndices.indexOf(a)>-1&&(e[a].data=[]);return e}},{key:"highlightSeries",value:function(e){var t=this.w,a=this.getSeriesByName(e),r=parseInt(null==a?void 0:a.getAttribute("data:realIndex"),10),n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis"),i=null,s=null,o=null;if(t.globals.axisCharts||"radialBar"===t.config.chart.type)if(t.globals.axisCharts){i=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")),s=t.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(r,"']"));var l=t.globals.seriesYAxisReverseMap[r];o=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(l,"']"))}else i=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']"));else i=t.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"'] path"));for(var c=0;c<n.length;c++)n[c].classList.add(this.legendInactiveClass);if(i)t.globals.axisCharts||i.parentNode.classList.remove(this.legendInactiveClass),i.classList.remove(this.legendInactiveClass),null!==s&&s.classList.remove(this.legendInactiveClass),null!==o&&o.classList.remove(this.legendInactiveClass);else for(var u=0;u<n.length;u++)n[u].classList.remove(this.legendInactiveClass)}},{key:"toggleSeriesOnHover",value:function(e,t){var a=this.w;t||(t=e.target);var r=a.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels, .apexcharts-yaxis");if("mousemove"===e.type){var n=parseInt(t.getAttribute("rel"),10)-1;this.highlightSeries(a.globals.seriesNames[n])}else if("mouseout"===e.type)for(var i=0;i<r.length;i++)r[i].classList.remove(this.legendInactiveClass)}},{key:"highlightRangeInSeries",value:function(e,t){var a=this,r=this.w,n=r.globals.dom.baseEl.getElementsByClassName("apexcharts-heatmap-rect"),i=function(e){for(var t=0;t<n.length;t++)n[t].classList[e](a.legendInactiveClass)};if("mousemove"===e.type){var s=parseInt(t.getAttribute("rel"),10)-1;i("add");var o=r.config.plotOptions.heatmap.colorScale.ranges;!function(e,t){for(var r=0;r<n.length;r++){var i=Number(n[r].getAttribute("val"));i>=e.from&&(i<e.to||e.to===t&&i===t)&&n[r].classList.remove(a.legendInactiveClass)}}(o[s],o.reduce((function(e,t){return Math.max(e,t.to)}),0))}else"mouseout"===e.type&&i("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"asc",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=this.w,r=0;if(a.config.series.length>1)for(var n=a.config.series.map((function(e,r){return e.data&&e.data.length>0&&-1===a.globals.collapsedSeriesIndices.indexOf(r)&&(!a.globals.comboCharts||0===t.length||t.length&&t.indexOf(a.config.series[r].type)>-1)?r:-1})),i="asc"===e?0:n.length-1;"asc"===e?i<n.length:i>=0;"asc"===e?i++:i--)if(-1!==n[i]){r=n[i];break}return r}},{key:"getBarSeriesIndices",value:function(){return this.w.globals.comboCharts?this.w.config.series.map((function(e,t){return"bar"===e.type||"column"===e.type?t:-1})).filter((function(e){return-1!==e})):this.w.config.series.map((function(e,t){return t}))}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,a,r){for(var n=t[a].childNodes,i={type:r,paths:[],realIndex:t[a].getAttribute("data:realIndex")},s=0;s<n.length;s++)if(n[s].hasAttribute("pathTo")){var o=n[s].getAttribute("pathTo");i.paths.push({d:o})}e.globals.previousPaths.push(i)}e.globals.previousPaths=[],["line","area","bar","rangebar","rangeArea","candlestick","radar"].forEach((function(a){for(var r,n=(r=a,e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(r,"-series .apexcharts-series"))),i=0;i<n.length;i++)t(n,i,a)}));var a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series"));if(a.length>0)for(var r=function(t){for(var a=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(t,"'] rect")),r=[],n=function(e){var t=function(t){return a[e].getAttribute(t)},n={x:parseFloat(t("x")),y:parseFloat(t("y")),width:parseFloat(t("width")),height:parseFloat(t("height"))};r.push({rect:n,color:a[e].getAttribute("color")})},i=0;i<a.length;i++)n(i);e.globals.previousPaths.push(r)},n=0;n<a.length;n++)r(n);e.globals.axisCharts||(e.globals.previousPaths=e.globals.series)}},{key:"clearPreviousPaths",value:function(){var e=this.w;e.globals.previousPaths=[],e.globals.allSeriesCollapsed=!1}},{key:"handleNoData",value:function(){var e=this.w,t=e.config.noData,a=new Ia(this.ctx),r=e.globals.svgWidth/2,n=e.globals.svgHeight/2,i="middle";if(e.globals.noData=!0,e.globals.animationEnded=!0,"left"===t.align?(r=10,i="start"):"right"===t.align&&(r=e.globals.svgWidth-10,i="end"),"top"===t.verticalAlign?n=50:"bottom"===t.verticalAlign&&(n=e.globals.svgHeight-50),r+=t.offsetX,n=n+parseInt(t.style.fontSize,10)+2+t.offsetY,void 0!==t.text&&""!==t.text){var s=a.drawText({x:r,y:n,text:t.text,textAnchor:i,fontSize:t.style.fontSize,fontFamily:t.style.fontFamily,foreColor:t.style.color,opacity:1,class:"apexcharts-text-nodata"});e.globals.dom.Paper.add(s)}}},{key:"setNullSeriesToZeroValues",value:function(e){for(var t=this.w,a=0;a<e.length;a++)if(0===e[a].length)for(var r=0;r<e[t.globals.maxValsInArrayIndex].length;r++)e[a].push(0);return e}},{key:"hasAllSeriesEqualX",value:function(){for(var e=!0,t=this.w,a=this.filteredSeriesX(),r=0;r<a.length-1;r++)if(a[r][0]!==a[r+1][0]){e=!1;break}return t.globals.allSeriesHasEqualX=e,e}},{key:"filteredSeriesX",value:function(){return this.w.globals.seriesX.map((function(e){return e.length>0?e:[]}))}}]),e}(),Ja=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new Ea(this.ctx)}return o(e,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new Xa(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new Xa(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var a=this.w.config,r=this.w.globals,n="boxPlot"===a.chart.type||"boxPlot"===a.series[t].type,i=0;i<e[t].data.length;i++)if(void 0!==e[t].data[i][1]&&(Array.isArray(e[t].data[i][1])&&4===e[t].data[i][1].length&&!n?this.twoDSeries.push(b.parseNumber(e[t].data[i][1][3])):e[t].data[i].length>=5?this.twoDSeries.push(b.parseNumber(e[t].data[i][4])):this.twoDSeries.push(b.parseNumber(e[t].data[i][1])),r.dataFormatXNumeric=!0),"datetime"===a.xaxis.type){var s=new Date(e[t].data[i][0]);s=new Date(s).getTime(),this.twoDSeriesX.push(s)}else this.twoDSeriesX.push(e[t].data[i][0]);for(var o=0;o<e[t].data.length;o++)void 0!==e[t].data[o][2]&&(this.threeDSeries.push(e[t].data[o][2]),r.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(e,t){var a=this.w.config,r=this.w.globals,n=new Aa(this.ctx),i=t;r.collapsedSeriesIndices.indexOf(t)>-1&&(i=this.activeSeriesIndex);for(var s=0;s<e[t].data.length;s++)void 0!==e[t].data[s].y&&(Array.isArray(e[t].data[s].y)?this.twoDSeries.push(b.parseNumber(e[t].data[s].y[e[t].data[s].y.length-1])):this.twoDSeries.push(b.parseNumber(e[t].data[s].y))),void 0!==e[t].data[s].goals&&Array.isArray(e[t].data[s].goals)?(void 0===this.seriesGoals[t]&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(e[t].data[s].goals)):(void 0===this.seriesGoals[t]&&(this.seriesGoals[t]=[]),this.seriesGoals[t].push(null));for(var o=0;o<e[i].data.length;o++){var l="string"==typeof e[i].data[o].x,c=Array.isArray(e[i].data[o].x),u=!c&&!!n.isValidDate(e[i].data[o].x);if(l||u)if(l||a.xaxis.convertedCatToNumeric){var d=r.isBarHorizontal&&r.isRangeData;"datetime"!==a.xaxis.type||d?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[i].data[o].x),isNaN(e[i].data[o].x)||"category"===this.w.config.xaxis.type||"string"==typeof e[i].data[o].x||(r.isXNumeric=!0)):this.twoDSeriesX.push(n.parseDate(e[i].data[o].x))}else"datetime"===a.xaxis.type?this.twoDSeriesX.push(n.parseDate(e[i].data[o].x.toString())):(r.dataFormatXNumeric=!0,r.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(e[i].data[o].x)));else c?(this.fallbackToCategory=!0,this.twoDSeriesX.push(e[i].data[o].x)):(r.isXNumeric=!0,r.dataFormatXNumeric=!0,this.twoDSeriesX.push(e[i].data[o].x))}if(e[t].data[0]&&void 0!==e[t].data[0].z){for(var m=0;m<e[t].data.length;m++)this.threeDSeries.push(e[t].data[m].z);r.isDataXYZ=!0}}},{key:"handleRangeData",value:function(e,t){var a=this.w.globals,r={};return this.isFormat2DArray()?r=this.handleRangeDataFormat("array",e,t):this.isFormatXY()&&(r=this.handleRangeDataFormat("xy",e,t)),a.seriesRangeStart.push(void 0===r.start?[]:r.start),a.seriesRangeEnd.push(void 0===r.end?[]:r.end),a.seriesRange.push(r.rangeUniques),a.seriesRange.forEach((function(e,t){e&&e.forEach((function(e,t){e.y.forEach((function(t,a){for(var r=0;r<e.y.length;r++)if(a!==r){var n=t.y1,i=t.y2,s=e.y[r].y1;n<=e.y[r].y2&&s<=i&&(e.overlaps.indexOf(t.rangeName)<0&&e.overlaps.push(t.rangeName),e.overlaps.indexOf(e.y[r].rangeName)<0&&e.overlaps.push(e.y[r].rangeName))}}))}))})),r}},{key:"handleCandleStickBoxData",value:function(e,t){var a=this.w.globals,r={};return this.isFormat2DArray()?r=this.handleCandleStickBoxDataFormat("array",e,t):this.isFormatXY()&&(r=this.handleCandleStickBoxDataFormat("xy",e,t)),a.seriesCandleO[t]=r.o,a.seriesCandleH[t]=r.h,a.seriesCandleM[t]=r.m,a.seriesCandleL[t]=r.l,a.seriesCandleC[t]=r.c,r}},{key:"handleRangeDataFormat",value:function(e,t,a){var r=[],n=[],i=t[a].data.filter((function(e,t,a){return t===a.findIndex((function(t){return t.x===e.x}))})).map((function(e,t){return{x:e.x,overlaps:[],y:[]}}));if("array"===e)for(var s=0;s<t[a].data.length;s++)Array.isArray(t[a].data[s])?(r.push(t[a].data[s][1][0]),n.push(t[a].data[s][1][1])):(r.push(t[a].data[s]),n.push(t[a].data[s]));else if("xy"===e)for(var o=function(e){var s=Array.isArray(t[a].data[e].y),o=b.randomId(),l=t[a].data[e].x,c={y1:s?t[a].data[e].y[0]:t[a].data[e].y,y2:s?t[a].data[e].y[1]:t[a].data[e].y,rangeName:o};t[a].data[e].rangeName=o;var u=i.findIndex((function(e){return e.x===l}));i[u].y.push(c),r.push(c.y1),n.push(c.y2)},l=0;l<t[a].data.length;l++)o(l);return{start:r,end:n,rangeUniques:i}}},{key:"handleCandleStickBoxDataFormat",value:function(e,t,a){var r=this.w,n="boxPlot"===r.config.chart.type||"boxPlot"===r.config.series[a].type,i=[],s=[],o=[],l=[],c=[];if("array"===e)if(n&&6===t[a].data[0].length||!n&&5===t[a].data[0].length)for(var u=0;u<t[a].data.length;u++)i.push(t[a].data[u][1]),s.push(t[a].data[u][2]),n?(o.push(t[a].data[u][3]),l.push(t[a].data[u][4]),c.push(t[a].data[u][5])):(l.push(t[a].data[u][3]),c.push(t[a].data[u][4]));else for(var d=0;d<t[a].data.length;d++)Array.isArray(t[a].data[d][1])&&(i.push(t[a].data[d][1][0]),s.push(t[a].data[d][1][1]),n?(o.push(t[a].data[d][1][2]),l.push(t[a].data[d][1][3]),c.push(t[a].data[d][1][4])):(l.push(t[a].data[d][1][2]),c.push(t[a].data[d][1][3])));else if("xy"===e)for(var m=0;m<t[a].data.length;m++)Array.isArray(t[a].data[m].y)&&(i.push(t[a].data[m].y[0]),s.push(t[a].data[m].y[1]),n?(o.push(t[a].data[m].y[2]),l.push(t[a].data[m].y[3]),c.push(t[a].data[m].y[4])):(l.push(t[a].data[m].y[2]),c.push(t[a].data[m].y[3])));return{o:i,h:s,m:o,l,c}}},{key:"parseDataAxisCharts",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.ctx,r=this.w.config,n=this.w.globals,i=new Aa(a),s=r.labels.length>0?r.labels.slice():r.xaxis.categories.slice();n.isRangeBar="rangeBar"===r.chart.type&&n.isBarHorizontal,n.hasXaxisGroups="category"===r.xaxis.type&&r.xaxis.group.groups.length>0,n.hasXaxisGroups&&(n.groups=r.xaxis.group.groups),e.forEach((function(e,t){void 0!==e.name?n.seriesNames.push(e.name):n.seriesNames.push("series-"+parseInt(t+1,10))})),this.coreUtils.setSeriesYAxisMappings();var o=[],l=y(new Set(r.series.map((function(e){return e.group}))));r.series.forEach((function(e,t){var a=l.indexOf(e.group);o[a]||(o[a]=[]),o[a].push(n.seriesNames[t])})),n.seriesGroups=o;for(var c=function(){for(var e=0;e<s.length;e++)if("string"==typeof s[e]){if(!i.isValidDate(s[e]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");t.twoDSeriesX.push(i.parseDate(s[e]))}else t.twoDSeriesX.push(s[e])},u=0;u<e.length;u++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===e[u].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if("rangeBar"!==r.chart.type&&"rangeArea"!==r.chart.type&&"rangeBar"!==e[u].type&&"rangeArea"!==e[u].type||(n.isRangeData=!0,"rangeBar"!==r.chart.type&&"rangeArea"!==r.chart.type||this.handleRangeData(e,u)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(e,u):this.isFormatXY()&&this.handleFormatXY(e,u),"candlestick"!==r.chart.type&&"candlestick"!==e[u].type&&"boxPlot"!==r.chart.type&&"boxPlot"!==e[u].type||this.handleCandleStickBoxData(e,u),n.series.push(this.twoDSeries),n.labels.push(this.twoDSeriesX),n.seriesX.push(this.twoDSeriesX),n.seriesGoals=this.seriesGoals,u!==this.activeSeriesIndex||this.fallbackToCategory||(n.isXNumeric=!0);else{"datetime"===r.xaxis.type?(n.isXNumeric=!0,c(),n.seriesX.push(this.twoDSeriesX)):"numeric"===r.xaxis.type&&(n.isXNumeric=!0,s.length>0&&(this.twoDSeriesX=s,n.seriesX.push(this.twoDSeriesX))),n.labels.push(this.twoDSeriesX);var d=e[u].data.map((function(e){return b.parseNumber(e)}));n.series.push(d)}n.seriesZ.push(this.threeDSeries),void 0!==e[u].color?n.seriesColors.push(e[u].color):n.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,a=this.w.config;t.series=e.slice(),t.seriesNames=a.labels.slice();for(var r=0;r<t.series.length;r++)void 0===t.seriesNames[r]&&t.seriesNames.push("series-"+(r+1));return this.w}},{key:"handleExternalLabelsData",value:function(e){var t=this.w.config,a=this.w.globals;t.xaxis.categories.length>0?a.labels=t.xaxis.categories:t.labels.length>0?a.labels=t.labels.slice():this.fallbackToCategory?(a.labels=a.labels[0],a.seriesRange.length&&(a.seriesRange.map((function(e){e.forEach((function(e){a.labels.indexOf(e.x)<0&&e.x&&a.labels.push(e.x)}))})),a.labels=Array.from(new Set(a.labels.map(JSON.stringify)),JSON.parse)),t.xaxis.convertedCatToNumeric&&(new Fa(t).convertCatToNumericXaxis(t,this.ctx,a.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,a=this.w.config,r=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var n=a.series.map((function(e,t){return e.data.filter((function(e,t,a){return a.findIndex((function(t){return t.x===e.x}))===t}))})),i=n.reduce((function(e,t,a,r){return r[e].length>t.length?e:a}),0),s=0;s<n[i].length;s++)r.push(s+1);else for(var o=0;o<t.series[t.maxValsInArrayIndex].length;o++)r.push(o+1);t.seriesX=[];for(var l=0;l<e.length;l++)t.seriesX.push(r);this.w.globals.isBarHorizontal||(t.isXNumeric=!0)}if(0===r.length){r=t.axisCharts?[]:t.series.map((function(e,t){return t+1}));for(var c=0;c<e.length;c++)t.seriesX.push(r)}t.labels=r,a.xaxis.convertedCatToNumeric&&(t.categoryLabels=r.map((function(e){return a.xaxis.labels.formatter(e)}))),t.noLabelsProvided=!0}},{key:"parseData",value:function(e){var t=this.w,a=t.config,r=t.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.ctx.core.resetGlobals(),this.ctx.core.isMultipleY(),r.axisCharts?(this.parseDataAxisCharts(e),this.coreUtils.getLargestSeries()):this.parseDataNonAxisCharts(e),a.chart.stacked){var n=new Xa(this.ctx);r.series=n.setNullSeriesToZeroValues(r.series)}this.coreUtils.getSeriesTotals(),r.axisCharts&&(r.stackedSeriesTotals=this.coreUtils.getStackedSeriesTotals(),r.stackedSeriesTotalsByGroups=this.coreUtils.getStackedSeriesTotalsByGroups()),this.coreUtils.getPercentSeries(),r.dataFormatXNumeric||r.isXNumeric&&("numeric"!==a.xaxis.type||0!==a.labels.length||0!==a.xaxis.categories.length)||this.handleExternalLabelsData(e);for(var i=this.coreUtils.getCategoryLabels(r.labels),s=0;s<i.length;s++)if(Array.isArray(i[s])){r.isMultiLineX=!0;break}}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var e=this.w,t=[];e.globals.seriesYAxisMap.forEach((function(a,r){var n=0;a.forEach((function(t){-1!==e.globals.collapsedSeriesIndices.indexOf(t)&&n++})),n>0&&n==a.length&&t.push(r)})),e.globals.ignoreYAxisIndexes=t.map((function(e){return e}))}}]),e}(),qa=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"scaleSvgNode",value:function(e,t){var a=parseFloat(e.getAttributeNS(null,"width")),r=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",a*t),e.setAttributeNS(null,"height",r*t),e.setAttributeNS(null,"viewBox","0 0 "+a+" "+r)}},{key:"getSvgString",value:function(e){var t=this;return new Promise((function(a){var r=t.w,n=e||r.config.chart.toolbar.export.scale||r.config.chart.toolbar.export.width/r.globals.svgWidth;n||(n=1);var i=t.w.globals.dom.Paper.svg(),s=t.w.globals.dom.Paper.node.cloneNode(!0);1!==n&&t.scaleSvgNode(s,n),t.convertImagesToBase64(s).then((function(){i=(new XMLSerializer).serializeToString(s),a(i.replace(/&nbsp;/g,"&#160;"))}))}))}},{key:"convertImagesToBase64",value:function(e){var t=this,a=e.getElementsByTagName("image"),r=Array.from(a).map((function(e){var a=e.getAttributeNS("http://www.w3.org/1999/xlink","href");return a&&!a.startsWith("data:")?t.getBase64FromUrl(a).then((function(t){e.setAttributeNS("http://www.w3.org/1999/xlink","href",t)})).catch((function(e){console.error("Error converting image to base64:",e)})):Promise.resolve()}));return Promise.all(r)}},{key:"getBase64FromUrl",value:function(e){return new Promise((function(t,a){var r=new Image;r.crossOrigin="Anonymous",r.onload=function(){var e=document.createElement("canvas");e.width=r.width,e.height=r.height,e.getContext("2d").drawImage(r,0,0),t(e.toDataURL())},r.onerror=a,r.src=e}))}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),a=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(r,(function(e){e.setAttribute("width",0)})),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),a&&a[0]&&(a[0].setAttribute("y",-100),a[0].setAttribute("y1",-100),a[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){var e=this;return new Promise((function(t){e.cleanup(),e.getSvgString().then((function(e){var a=new Blob([e],{type:"image/svg+xml;charset=utf-8"});t(URL.createObjectURL(a))}))}))}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(a){var r=t.w,n=e?e.scale||e.width/r.globals.svgWidth:1;t.cleanup();var i=document.createElement("canvas");i.width=r.globals.svgWidth*n,i.height=parseInt(r.globals.dom.elWrap.style.height,10)*n;var s="transparent"!==r.config.chart.background&&r.config.chart.background?r.config.chart.background:"#fff",o=i.getContext("2d");o.fillStyle=s,o.fillRect(0,0,i.width*n,i.height*n),t.getSvgString(n).then((function(e){var t="data:image/svg+xml,"+encodeURIComponent(e),r=new Image;r.crossOrigin="anonymous",r.onload=function(){if(o.drawImage(r,0,0),i.msToBlob){var e=i.msToBlob();a({blob:e})}else{var t=i.toDataURL("image/png");a({imgURI:t})}},r.src=t}))}))}},{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,a=this.w.config.chart.toolbar.export.width,r=t?{scale:t}:a?{width:a}:void 0;this.dataURI(r).then((function(t){var a=t.imgURI,r=t.blob;r?navigator.msSaveOrOpenBlob(r,e.w.globals.chartID+".png"):e.triggerDownload(a,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,a=e.series,r=e.fileName,n=e.columnDelimiter,i=void 0===n?",":n,s=e.lineDelimiter,o=void 0===s?"\n":s,l=this.w;a||(a=l.config.series);var c=[],u=[],d="",m=l.globals.series.map((function(e,t){return-1===l.globals.collapsedSeriesIndices.indexOf(t)?e:[]})),g=function(e){return"function"==typeof l.config.chart.toolbar.export.csv.categoryFormatter?l.config.chart.toolbar.export.csv.categoryFormatter(e):"datetime"===l.config.xaxis.type&&String(e).length>=10?new Date(e).toDateString():b.isNumber(e)?e:e.split(i).join("")},p=function(e){return"function"==typeof l.config.chart.toolbar.export.csv.valueFormatter?l.config.chart.toolbar.export.csv.valueFormatter(e):e},f=Math.max.apply(Math,y(a.map((function(e){return e.data?e.data.length:0})))),M=new Ja(this.ctx),h=new ka(this.ctx),N=function(e){var a="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var r=l.globals.yLabelFormatters[0],n=new Xa(t.ctx).getActiveConfigSeriesIndex();a=r(l.globals.labels[e],{seriesIndex:n,dataPointIndex:e,w:l})}else a=h.getLabel(l.globals.labels,l.globals.timescaleLabels,0,e).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?a=l.config.xaxis.categories[e]:l.config.labels.length&&(a=l.config.labels[e]))}else a=l.config.labels[e];return null===a?"nullvalue":(Array.isArray(a)&&(a=a.join(" ")),b.isNumber(a)?a:a.split(i).join(""))};c.push(l.config.chart.toolbar.export.csv.headerCategory),"boxPlot"===l.config.chart.type?(c.push("minimum"),c.push("q1"),c.push("median"),c.push("q3"),c.push("maximum")):"candlestick"===l.config.chart.type?(c.push("open"),c.push("high"),c.push("low"),c.push("close")):"rangeBar"===l.config.chart.type?(c.push("minimum"),c.push("maximum")):a.map((function(e,t){var a=(e.name?e.name:"series-".concat(t))+"";l.globals.axisCharts&&c.push(a.split(i).join("")?a.split(i).join(""):"series-".concat(t))})),l.globals.axisCharts||(c.push(l.config.chart.toolbar.export.csv.headerValue),u.push(c.join(i))),l.globals.allSeriesHasEqualX||!l.globals.axisCharts||l.config.xaxis.categories.length||l.config.labels.length?a.map((function(e,t){l.globals.axisCharts?function(e,t){if(c.length&&0===t&&u.push(c.join(i)),e.data){e.data=e.data.length&&e.data||y(Array(f)).map((function(){return""}));for(var r=0;r<e.data.length;r++){c=[];var n=N(r);if("nullvalue"!==n){if(n||(M.isFormatXY()?n=a[t].data[r].x:M.isFormat2DArray()&&(n=a[t].data[r]?a[t].data[r][0]:"")),0===t){c.push(g(n));for(var s=0;s<l.globals.series.length;s++){var o,d=M.isFormatXY()?null===(o=a[s].data[r])||void 0===o?void 0:o.y:m[s][r];c.push(p(d))}}("candlestick"===l.config.chart.type||e.type&&"candlestick"===e.type)&&(c.pop(),c.push(l.globals.seriesCandleO[t][r]),c.push(l.globals.seriesCandleH[t][r]),c.push(l.globals.seriesCandleL[t][r]),c.push(l.globals.seriesCandleC[t][r])),("boxPlot"===l.config.chart.type||e.type&&"boxPlot"===e.type)&&(c.pop(),c.push(l.globals.seriesCandleO[t][r]),c.push(l.globals.seriesCandleH[t][r]),c.push(l.globals.seriesCandleM[t][r]),c.push(l.globals.seriesCandleL[t][r]),c.push(l.globals.seriesCandleC[t][r])),"rangeBar"===l.config.chart.type&&(c.pop(),c.push(l.globals.seriesRangeStart[t][r]),c.push(l.globals.seriesRangeEnd[t][r])),c.length&&u.push(c.join(i))}}}}(e,t):((c=[]).push(g(l.globals.labels[t])),c.push(p(m[t])),u.push(c.join(i)))})):function(){var e=new Set,t={};a.forEach((function(r,n){null==r||r.data.forEach((function(r){var i,s;if(M.isFormatXY())i=r.x,s=r.y;else{if(!M.isFormat2DArray())return;i=r[0],s=r[1]}t[i]||(t[i]=Array(a.length).fill("")),t[i][n]=p(s),e.add(i)}))})),c.length&&u.push(c.join(i)),Array.from(e).sort().forEach((function(e){u.push([g(e),t[e].join(i)])}))}(),d+=u.join(o),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\ufeff"+d),r||l.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,a){var r=document.createElement("a");r.href=e,r.download=(t||this.w.globals.chartID)+a,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}]),e}(),$a=function(){function e(t,a){i(this,e),this.ctx=t,this.elgrid=a,this.w=t.w;var r=this.w;this.axesUtils=new ka(t),this.xaxisLabels=r.globals.labels.slice(),r.globals.timescaleLabels.length>0&&!r.globals.isBarHorizontal&&(this.xaxisLabels=r.globals.timescaleLabels.slice()),r.config.xaxis.overwriteCategories&&(this.xaxisLabels=r.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===r.config.xaxis.position?this.offY=0:this.offY=r.globals.gridHeight,this.offY=this.offY+r.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===r.config.chart.type&&r.config.plotOptions.bar.horizontal,this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.xaxisBorderWidth=r.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=r.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=r.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=r.config.xaxis.axisBorder.height,this.yaxis=r.config.yaxis[0]}return o(e,[{key:"drawXaxis",value:function(){var e=this.w,t=new Ia(this.ctx),a=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),r=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});a.add(r);for(var n=[],i=0;i<this.xaxisLabels.length;i++)n.push(this.xaxisLabels[i]);if(this.drawXAxisLabelAndGroup(!0,t,r,n,e.globals.isXNumeric,(function(e,t){return t})),e.globals.hasXaxisGroups){var s=e.globals.groups;n=[];for(var o=0;o<s.length;o++)n.push(s[o].title);var l={};e.config.xaxis.group.style&&(l.xaxisFontSize=e.config.xaxis.group.style.fontSize,l.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,l.xaxisForeColors=e.config.xaxis.group.style.colors,l.fontWeight=e.config.xaxis.group.style.fontWeight,l.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,r,n,!1,(function(e,t){return s[e].cols*t}),l)}if(void 0!==e.config.xaxis.title.text){var c=t.group({class:"apexcharts-xaxis-title"}),u=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+("bottom"===e.config.xaxis.position?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});c.add(u),a.add(c)}if(e.config.xaxis.axisBorder.show){var d=e.globals.barPadForNumericAxis,m=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-d,this.offY,this.xaxisBorderWidth+d,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(m):a.add(m)}return a}},{key:"drawXAxisLabelAndGroup",value:function(e,t,a,r,n,i){var s,o=this,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},c=[],u=[],d=this.w,m=l.xaxisFontSize||this.xaxisFontSize,g=l.xaxisFontFamily||this.xaxisFontFamily,p=l.xaxisForeColors||this.xaxisForeColors,f=l.fontWeight||d.config.xaxis.labels.style.fontWeight,M=l.cssClass||d.config.xaxis.labels.style.cssClass,h=d.globals.padHorizontal,y=r.length,N="category"===d.config.xaxis.type?d.globals.dataPoints:y;if(0===N&&y>N&&(N=y),n){var w=Math.max(Number(d.config.xaxis.tickAmount)||1,N>1?N-1:N);s=d.globals.gridWidth/Math.min(w,y-1),h=h+i(0,s)/2+d.config.xaxis.labels.offsetX}else s=d.globals.gridWidth/N,h=h+i(0,s)+d.config.xaxis.labels.offsetX;for(var x=function(n){var l=h-i(n,s)/2+d.config.xaxis.labels.offsetX;0===n&&1===y&&s/2===h&&1===N&&(l=d.globals.gridWidth/2);var w=o.axesUtils.getLabel(r,d.globals.timescaleLabels,l,n,c,m,e),x=28;if(d.globals.rotateXLabels&&e&&(x=22),d.config.xaxis.title.text&&"top"===d.config.xaxis.position&&(x+=parseFloat(d.config.xaxis.title.style.fontSize)+2),e||(x=x+parseFloat(m)+(d.globals.xAxisLabelsHeight-d.globals.xAxisGroupLabelsHeight)+(d.globals.rotateXLabels?10:0)),w=void 0!==d.config.xaxis.tickAmount&&"dataPoints"!==d.config.xaxis.tickAmount&&"datetime"!==d.config.xaxis.type?o.axesUtils.checkLabelBasedOnTickamount(n,w,y):o.axesUtils.checkForOverflowingLabels(n,w,y,c,u),d.config.xaxis.labels.show){var b=t.drawText({x:w.x,y:o.offY+d.config.xaxis.labels.offsetY+x-("top"===d.config.xaxis.position?d.globals.xAxisHeight+d.config.xaxis.axisTicks.height-2:0),text:w.text,textAnchor:"middle",fontWeight:w.isBold?600:f,fontSize:m,fontFamily:g,foreColor:Array.isArray(p)?e&&d.config.xaxis.convertedCatToNumeric?p[d.globals.minX+n-1]:p[n]:p,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+M});if(a.add(b),b.on("click",(function(e){if("function"==typeof d.config.chart.events.xAxisLabelClick){var t=Object.assign({},d,{labelIndex:n});d.config.chart.events.xAxisLabelClick(e,o.ctx,t)}})),e){var D=document.createElementNS(d.globals.SVGNS,"title");D.textContent=Array.isArray(w.text)?w.text.join(" "):w.text,b.node.appendChild(D),""!==w.text&&(c.push(w.text),u.push(w))}}n<y-1&&(h+=i(n+1,s))},b=0;b<=y-1;b++)x(b)}},{key:"drawXaxisInversed",value:function(e){var t,a,r=this,n=this.w,i=new Ia(this.ctx),s=n.config.yaxis[0].opposite?n.globals.translateYAxisX[e]:0,o=i.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),l=i.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+s+", 0)"});o.add(l);var c=[];if(n.config.yaxis[e].show)for(var u=0;u<this.xaxisLabels.length;u++)c.push(this.xaxisLabels[u]);t=n.globals.gridHeight/c.length,a=-t/2.2;var d=n.globals.yLabelFormatters[0],m=n.config.yaxis[0].labels;if(m.show)for(var g=function(s){var o=void 0===c[s]?"":c[s];o=d(o,{seriesIndex:e,dataPointIndex:s,w:n});var u=r.axesUtils.getYAxisForeColor(m.style.colors,e),g=0;Array.isArray(o)&&(g=o.length/2*parseInt(m.style.fontSize,10));var p=m.offsetX-15,f="end";r.yaxis.opposite&&(f="start"),"left"===n.config.yaxis[0].labels.align?(p=m.offsetX,f="start"):"center"===n.config.yaxis[0].labels.align?(p=m.offsetX,f="middle"):"right"===n.config.yaxis[0].labels.align&&(f="end");var M=i.drawText({x:p,y:a+t+m.offsetY-g,text:o,textAnchor:f,foreColor:Array.isArray(u)?u[s]:u,fontSize:m.style.fontSize,fontFamily:m.style.fontFamily,fontWeight:m.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+m.style.cssClass,maxWidth:m.maxWidth});l.add(M),M.on("click",(function(e){if("function"==typeof n.config.chart.events.xAxisLabelClick){var t=Object.assign({},n,{labelIndex:s});n.config.chart.events.xAxisLabelClick(e,r.ctx,t)}}));var h=document.createElementNS(n.globals.SVGNS,"title");if(h.textContent=Array.isArray(o)?o.join(" "):o,M.node.appendChild(h),0!==n.config.yaxis[e].labels.rotate){var y=i.rotateAroundCenter(M.node);M.node.setAttribute("transform","rotate(".concat(n.config.yaxis[e].labels.rotate," 0 ").concat(y.y,")"))}a+=t},p=0;p<=c.length-1;p++)g(p);if(void 0!==n.config.yaxis[0].title.text){var f=i.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+s+", 0)"}),M=i.drawText({x:n.config.yaxis[0].title.offsetX,y:n.globals.gridHeight/2+n.config.yaxis[0].title.offsetY,text:n.config.yaxis[0].title.text,textAnchor:"middle",foreColor:n.config.yaxis[0].title.style.color,fontSize:n.config.yaxis[0].title.style.fontSize,fontWeight:n.config.yaxis[0].title.style.fontWeight,fontFamily:n.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[0].title.style.cssClass});f.add(M),o.add(f)}var h=0;this.isCategoryBarHorizontal&&n.config.yaxis[0].opposite&&(h=n.globals.gridWidth);var y=n.config.xaxis.axisBorder;if(y.show){var N=i.drawLine(n.globals.padHorizontal+y.offsetX+h,1+y.offsetY,n.globals.padHorizontal+y.offsetX+h,n.globals.gridHeight+y.offsetY,y.color,0);this.elgrid&&this.elgrid.elGridBorders&&n.config.grid.show?this.elgrid.elGridBorders.add(N):o.add(N)}return n.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(h,c.length,n.config.yaxis[0].axisBorder,n.config.yaxis[0].axisTicks,0,t,o),o}},{key:"drawXaxisTicks",value:function(e,t,a){var r=this.w,n=e;if(!(e<0||e-2>r.globals.gridWidth)){var i=this.offY+r.config.xaxis.axisTicks.offsetY;if(t=t+i+r.config.xaxis.axisTicks.height,"top"===r.config.xaxis.position&&(t=i-r.config.xaxis.axisTicks.height),r.config.xaxis.axisTicks.show){var s=new Ia(this.ctx).drawLine(e+r.config.xaxis.axisTicks.offsetX,i+r.config.xaxis.offsetY,n+r.config.xaxis.axisTicks.offsetX,t+r.config.xaxis.offsetY,r.config.xaxis.axisTicks.color);a.add(s),s.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],a=this.xaxisLabels.length,r=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var n=0;n<a;n++)r=this.xaxisLabels[n].position,t.push(r);else for(var i=a,s=0;s<i;s++){var o=i;e.globals.isXNumeric&&"bar"!==e.config.chart.type&&(o-=1),r+=e.globals.gridWidth/o,t.push(r)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new Ia(this.ctx),a=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var s=0;s<r.length;s++){var o=t.rotateAroundCenter(r[s]);o.y=o.y-1,o.x=o.x+1,r[s].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(o.x," ").concat(o.y,")")),r[s].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var l=r[s].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(l,(function(a){t.placeTextWithEllipsis(a,a.textContent,e.globals.xAxisLabelsHeight-("bottom"===e.config.legend.position?20:10))}))}else!function(){for(var a=e.globals.gridWidth/(e.globals.labels.length+1),n=0;n<r.length;n++){var i=r[n].childNodes;e.config.xaxis.labels.trim&&"datetime"!==e.config.xaxis.type&&Array.prototype.forEach.call(i,(function(e){t.placeTextWithEllipsis(e,e.textContent,a)}))}}();if(n.length>0){var c=n[n.length-1].getBBox(),u=n[0].getBBox();c.x<-20&&n[n.length-1].parentNode.removeChild(n[n.length-1]),u.x+u.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&n[0].parentNode.removeChild(n[0]);for(var d=0;d<i.length;d++)t.placeTextWithEllipsis(i[d],i[d].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),e}(),Ka=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w;var a=this.w;this.xaxisLabels=a.globals.labels.slice(),this.axesUtils=new ka(t),this.isRangeBar=a.globals.seriesRange.length&&a.globals.isBarHorizontal,a.globals.timescaleLabels.length>0&&(this.xaxisLabels=a.globals.timescaleLabels.slice())}return o(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,a=new Ia(this.ctx);e||(e=a.group({class:"apexcharts-grid"}));var r=a.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),n=a.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(n),e.add(r),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,a=new Ia(this.ctx),r=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,y(e.config.stroke.width)):e.config.stroke.width,n=function(e){var a=document.createElementNS(t.SVGNS,"clipPath");return a.setAttribute("id",e),a};t.dom.elGridRectMask=n("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=n("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=n("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=n("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=n("nonForecastMask".concat(t.cuid));var i=0,s=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(i=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),s=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=a.drawRect(-r/2-2,-r/2-2,t.gridWidth+r+4,t.gridHeight+r+4,0,"#fff"),t.dom.elGridRectBar=a.drawRect(-r/2-i-2,-r/2-2,t.gridWidth+r+s+i+4,t.gridHeight+r+4,0,"#fff");var o=e.globals.markers.largestSize;t.dom.elGridRectMarker=a.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 l=t.dom.baseEl.querySelector("defs");l.appendChild(t.dom.elGridRectMask),l.appendChild(t.dom.elGridRectBarMask),l.appendChild(t.dom.elGridRectMarkerMask),l.appendChild(t.dom.elForecastMask),l.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,a=e.x1,r=e.y1,n=e.x2,i=e.y2,s=e.xCount,o=e.parent,l=this.w;if(!(0===t&&l.globals.skipFirstTimelinelabel||t===s-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type)){l.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:a,y1:r,x2:n,y2:i,xCount:s,parent:o});var c=0;if(l.globals.hasXaxisGroups&&"between"===l.config.xaxis.tickPlacement){var u=l.globals.groups;if(u){for(var d=0,m=0;d<t&&m<u.length;m++)d+=u[m].cols;d===t&&(c=.6*l.globals.xAxisLabelsHeight)}}new $a(this.ctx).drawXaxisTicks(a,c,l.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,a=e.x1,r=e.y1,n=e.x2,i=e.y2,s=e.xCount,o=e.parent,l=this.w,c=o.node.classList.contains("apexcharts-gridlines-horizontal"),u=l.globals.barPadForNumericAxis,d=0===r&&0===i||0===a&&0===n||r===l.globals.gridHeight&&i===l.globals.gridHeight||l.globals.isBarHorizontal&&(0===t||t===s-1),m=new Ia(this).drawLine(a-(c?u:0),r,n+(c?u:0),i,l.config.grid.borderColor,l.config.grid.strokeDashArray);m.node.classList.add("apexcharts-gridline"),d&&l.config.grid.show?this.elGridBorders.add(m):o.add(m)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,a=e.x1,r=e.y1,n=e.x2,i=e.y2,s=e.type,o=this.w,l=new Ia(this.ctx),c=o.globals.barPadForNumericAxis,u=o.config.grid[s].colors[t],d=l.drawRect(a-("row"===s?c:0),r,n+("row"===s?2*c:0),i,0,u,o.config.grid[s].opacity);this.elg.add(d),d.attr("clip-path","url(#gridRectMask".concat(o.globals.cuid,")")),d.node.classList.add("apexcharts-grid-".concat(s))}},{key:"_drawXYLines",value:function(e){var t=this,a=e.xCount,r=e.tickAmount,n=this.w;if(n.config.grid.xaxis.lines.show||n.config.xaxis.axisTicks.show){var i,s=n.globals.padHorizontal,o=n.globals.gridHeight;n.globals.timescaleLabels.length?function(e){for(var r=e.xC,n=e.x1,i=e.y1,s=e.x2,o=e.y2,l=0;l<r;l++)n=t.xaxisLabels[l].position,s=t.xaxisLabels[l].position,t._drawGridLines({i:l,x1:n,y1:i,x2:s,y2:o,xCount:a,parent:t.elgridLinesV})}({xC:a,x1:s,y1:0,x2:i,y2:o}):(n.globals.isXNumeric&&(a=n.globals.xAxisScale.result.length),function(e){for(var r=e.xC,i=e.x1,s=e.y1,o=e.x2,l=e.y2,c=0;c<r+(n.globals.isXNumeric?0:1);c++)0===c&&1===r&&1===n.globals.dataPoints&&(o=i=n.globals.gridWidth/2),t._drawGridLines({i:c,x1:i,y1:s,x2:o,y2:l,xCount:a,parent:t.elgridLinesV}),o=i+=n.globals.gridWidth/(n.globals.isXNumeric?r-1:r)}({xC:a,x1:s,y1:0,x2:i,y2:o}))}if(n.config.grid.yaxis.lines.show){var l=0,c=0,u=n.globals.gridWidth,d=r+1;this.isRangeBar&&(d=n.globals.labels.length);for(var m=0;m<d+(this.isRangeBar?1:0);m++)this._drawGridLine({i:m,xCount:d+(this.isRangeBar?1:0),x1:0,y1:l,x2:u,y2:c,parent:this.elgridLinesH}),c=l+=n.globals.gridHeight/(this.isRangeBar?d:r)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var r,n=a.globals.padHorizontal,i=a.globals.gridHeight,s=0;s<t+1;s++)a.config.grid.xaxis.lines.show&&this._drawGridLine({i:s,xCount:t+1,x1:n,y1:0,x2:r,y2:i,parent:this.elgridLinesV}),new $a(this.ctx).drawXaxisTicks(n,0,a.globals.dom.elGraphical),r=n+=a.globals.gridWidth/t;if(a.config.grid.yaxis.lines.show)for(var o=0,l=0,c=a.globals.gridWidth,u=0;u<a.globals.dataPoints+1;u++)this._drawGridLine({i:u,xCount:a.globals.dataPoints+1,x1:0,y1:o,x2:c,y2:l,parent:this.elgridLinesH}),l=o+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=e.globals,a=new Ia(this.ctx);this.elg=a.group({class:"apexcharts-grid"}),this.elgridLinesH=a.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=a.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=a.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var r=0;r<t.seriesYAxisMap.length&&t.ignoreYAxisIndexes.includes(r);)r++;r===t.seriesYAxisMap.length&&(r=0);var n,i,s,o,l=t.yAxisScale[r].result.length-1;return!t.isBarHorizontal||this.isRangeBar?(n=this.xaxisLabels.length,this.isRangeBar&&(l=t.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(n=e.config.xaxis.tickAmount),(null===(i=t.yAxisScale)||void 0===i||null===(s=i[r])||void 0===s||null===(o=s.result)||void 0===o?void 0:o.length)>0&&"datetime"!==e.config.xaxis.type&&(n=t.yAxisScale[r].result.length-1)),this._drawXYLines({xCount:n,tickAmount:l})):(n=l,l=t.xTickAmount,this._drawInvertedXYLines({xCount:n,tickAmount:l})),this.drawGridBands(n,l),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/n}}},{key:"drawGridBands",value:function(e,t){var a,r,n=this,i=this.w;if((null===(a=i.config.grid.row.colors)||void 0===a?void 0:a.length)>0&&function(e,a,r,s,o,l){for(var c=0,u=0;c<a;c++,u++)u>=i.config.grid.row.colors.length&&(u=0),n._drawGridBandRect({c:u,x1:0,y1:s,x2:o,y2:l,type:"row"}),s+=i.globals.gridHeight/t}(0,t,0,0,i.globals.gridWidth,i.globals.gridHeight/t),(null===(r=i.config.grid.column.colors)||void 0===r?void 0:r.length)>0){var s=i.globals.isBarHorizontal||"on"!==i.config.xaxis.tickPlacement||"category"!==i.config.xaxis.type&&!i.config.xaxis.convertedCatToNumeric?e:e-1;i.globals.isXNumeric&&(s=i.globals.xAxisScale.result.length-1);for(var o=i.globals.padHorizontal,l=i.globals.padHorizontal+i.globals.gridWidth/s,c=i.globals.gridHeight,u=0,d=0;u<e;u++,d++){var m;d>=i.config.grid.column.colors.length&&(d=0),"datetime"===i.config.xaxis.type&&(o=this.xaxisLabels[u].position,l=((null===(m=this.xaxisLabels[u+1])||void 0===m?void 0:m.position)||i.globals.gridWidth)-this.xaxisLabels[u].position),this._drawGridBandRect({c:d,x1:o,y1:0,x2:l,y2:c,type:"column"}),o+=i.globals.gridWidth/s}}}}]),e}(),er=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.coreUtils=new Ea(this.ctx)}return o(e,[{key:"niceScale",value:function(e,t){var a,r,n,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=1e-11,l=this.w,c=l.globals;c.isBarHorizontal?(a=l.config.xaxis,r=Math.max((c.svgWidth-100)/25,2)):(a=l.config.yaxis[s],r=Math.max((c.svgHeight-100)/15,2)),b.isNumber(r)||(r=10),n=void 0!==a.min&&null!==a.min,i=void 0!==a.max&&null!==a.min;var u=void 0!==a.stepSize&&null!==a.stepSize,d=void 0!==a.tickAmount&&null!==a.tickAmount,m=d?a.tickAmount:c.niceScaleDefaultTicks[Math.min(Math.round(r/2),c.niceScaleDefaultTicks.length-1)];if(c.isMultipleYAxis&&!d&&c.multiAxisTickAmount>0&&(m=c.multiAxisTickAmount,d=!0),m="dataPoints"===m?c.dataPoints-1:Math.abs(Math.round(m)),(e===Number.MIN_VALUE&&0===t||!b.isNumber(e)&&!b.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=b.isNumber(a.min)?a.min:0,t=b.isNumber(a.max)?a.max:e+m,c.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var g=t;t=e,e=g}else e===t&&(e=0===e?0:e-1,t=0===t?2:t+1);var p=[];m<1&&(m=1);var f=m,M=Math.abs(t-e);!n&&e>0&&e/M<.15&&(e=0,n=!0),!i&&t<0&&-t/M<.15&&(t=0,i=!0);var h=(M=Math.abs(t-e))/f,y=h,N=Math.floor(Math.log10(y)),w=Math.pow(10,N),x=Math.ceil(y/w);if(h=y=(x=c.niceScaleAllowedMagMsd[0===c.yValueDecimal?0:1][x])*w,c.isBarHorizontal&&a.stepSize&&"datetime"!==a.type?(h=a.stepSize,u=!0):u&&(h=a.stepSize),u&&a.forceNiceScale){var D=Math.floor(Math.log10(h));h*=Math.pow(10,N-D)}if(n&&i){var j=M/f;if(d)if(u)if(0!=b.mod(M,h)){var v=b.getGCD(h,j);h=j/v<10?v:j}else 0==b.mod(h,j)?h=j:(j=h,d=!1);else h=j;else if(u)0==b.mod(M,h)?j=h:h=j;else if(0==b.mod(M,h))j=h;else{j=M/(f=Math.ceil(M/h));var _=b.getGCD(M,h);M/_<r&&(j=_),h=j}f=Math.round(M/h)}else{if(n||i){if(i)if(d)e=t-h*f;else{var I=e;e=h*Math.floor(e/h),Math.abs(t-e)/b.getGCD(M,h)>r&&(e=t-h*m,e+=h*Math.floor((I-e)/h))}else if(n)if(d)t=e+h*f;else{var E=t;t=h*Math.ceil(t/h),Math.abs(t-e)/b.getGCD(M,h)>r&&(t=e+h*m,t+=h*Math.ceil((E-t)/h))}}else if(c.isMultipleYAxis&&d){var L=h*Math.floor(e/h),T=L+h*f;T<t&&(h*=2),T=t,t=(e=L)+h*f,M=Math.abs(t-e),e>0&&e<Math.abs(T-t)&&(e=0,t=h*f),t<0&&-t<Math.abs(L-e)&&(t=0,e=-h*f)}else e=h*Math.floor(e/h),t=h*Math.ceil(t/h);M=Math.abs(t-e),h=b.getGCD(M,h),f=Math.round(M/h)}if(d||n||i||(f=Math.ceil((M-o)/(h+o)))>16&&b.getPrimeFactors(f).length<2&&f++,!d&&a.forceNiceScale&&0===c.yValueDecimal&&f>M&&(f=M,h=Math.round(M/f)),f>r&&(!d&&!u||a.forceNiceScale)){var A=b.getPrimeFactors(f),z=A.length-1,k=f;e:for(var S=0;S<z;S++)for(var O=0;O<=z-S;O++){for(var C=Math.min(O+S,z),Y=k,U=1,Q=O;Q<=C;Q++)U*=A[Q];if((Y/=U)<r){k=Y;break e}}h=k===f?M:M/k,f=Math.round(M/h)}c.isMultipleYAxis&&0==c.multiAxisTickAmount&&c.ignoreYAxisIndexes.indexOf(s)<0&&(c.multiAxisTickAmount=f);var P=e-h,F=h*o;do{P+=h,p.push(b.stripNumber(P,7))}while(t-P>F);return{result:p,niceMin:p[0],niceMax:p[p.length-1]}}},{key:"linearScale",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,i=Math.abs(t-e),s=[];if(e===t)return{result:s=[e],niceMin:s[0],niceMax:s[s.length-1]};"dataPoints"===(a=this._adjustTicksForSmallRange(a,r,i))&&(a=this.w.globals.dataPoints-1),n||(n=i/a),n=Math.round(10*(n+Number.EPSILON))/10,a===Number.MAX_VALUE&&(a=5,n=1);for(var o=e;a>=0;)s.push(o),o=b.preciseAddition(o,n),a-=1;return{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var r=[],n=Math.ceil(Math.log(t)/Math.log(a)+1),i=Math.floor(Math.log(e)/Math.log(a));i<n;i++)r.push(Math.pow(a,i));return{result:r,niceMin:r[0],niceMax:r[r.length-1]}}},{key:"logarithmicScale",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var r=[],n=Math.log(t)/Math.log(a),i=Math.log(e)/Math.log(a),s=n-i,o=Math.round(s),l=s/o,c=0,u=i;c<o;c++,u+=l)r.push(Math.pow(a,u));return r.push(Math.pow(a,n)),{result:r,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,a){var r=e;if(void 0!==t&&this.w.config.yaxis[t].labels.formatter&&void 0===this.w.config.yaxis[t].tickAmount){var n=Number(this.w.config.yaxis[t].labels.formatter(1));b.isNumber(n)&&0===this.w.globals.yValueDecimal&&(r=Math.ceil(a))}return r<e?r:e}},{key:"setYScaleForIndex",value:function(e,t,a){var r=this.w.globals,n=this.w.config,i=r.isBarHorizontal?n.xaxis:n.yaxis[e];void 0===r.yAxisScale[e]&&(r.yAxisScale[e]=[]);var s=Math.abs(a-t);i.logarithmic&&s<=5&&(r.invalidLogScale=!0),i.logarithmic&&s>5?(r.allSeriesCollapsed=!1,r.yAxisScale[e]=i.forceNiceScale?this.logarithmicScaleNice(t,a,i.logBase):this.logarithmicScale(t,a,i.logBase)):a!==-Number.MAX_VALUE&&b.isNumber(a)&&t!==Number.MAX_VALUE&&b.isNumber(t)?(r.allSeriesCollapsed=!1,r.yAxisScale[e]=this.niceScale(t,a,e)):r.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var a=this.w,r=a.globals,n=Math.abs(t-e);if(t!==-Number.MAX_VALUE&&b.isNumber(t)){var i=r.xTickAmount;n<10&&n>1&&(i=n),r.xAxisScale=this.linearScale(e,t,i,0,a.config.xaxis.stepSize)}else r.xAxisScale=this.linearScale(0,10,10);return r.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,a=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var r=a.seriesYAxisMap,n=a.minYArr,i=a.maxYArr;a.allSeriesCollapsed=!0,a.barGroups=[],r.forEach((function(r,s){var o=[];r.forEach((function(e){var a,r=null===(a=t.series[e])||void 0===a?void 0:a.group;o.indexOf(r)<0&&o.push(r)})),r.length>0?function(){var l,c,u=Number.MAX_VALUE,d=-Number.MAX_VALUE,m=u,g=d;if(t.chart.stacked)!function(){var e=new Array(a.dataPoints).fill(0),n=[],i=[],p=[];o.forEach((function(){n.push(e.map((function(){return Number.MIN_VALUE}))),i.push(e.map((function(){return Number.MIN_VALUE}))),p.push(e.map((function(){return Number.MIN_VALUE})))}));for(var f=function(e){!l&&t.series[r[e]].type&&(l=t.series[r[e]].type);var u=r[e];c=t.series[u].group?t.series[u].group:"axis-".concat(s),!(a.collapsedSeriesIndices.indexOf(u)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(u)<0)||(a.allSeriesCollapsed=!1,o.forEach((function(e,r){if(t.series[u].group===e)for(var s=0;s<a.series[u].length;s++){var o=a.series[u][s];o>=0?i[r][s]+=o:p[r][s]+=o,n[r][s]+=o,m=Math.min(m,o),g=Math.max(g,o)}}))),"bar"!==l&&"column"!==l||a.barGroups.push(c)},M=0;M<r.length;M++)f(M);l||(l=t.chart.type),"bar"===l||"column"===l?o.forEach((function(e,t){u=Math.min(u,Math.min.apply(null,p[t])),d=Math.max(d,Math.max.apply(null,i[t]))})):(o.forEach((function(e,t){m=Math.min(m,Math.min.apply(null,n[t])),g=Math.max(g,Math.max.apply(null,n[t]))})),u=m,d=g),u===Number.MIN_VALUE&&d===Number.MIN_VALUE&&(d=-Number.MAX_VALUE)}();else for(var p=0;p<r.length;p++){var f=r[p];u=Math.min(u,n[f]),d=Math.max(d,i[f]),!(a.collapsedSeriesIndices.indexOf(f)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(f)<0)||(a.allSeriesCollapsed=!1)}void 0!==t.yaxis[s].min&&(u="function"==typeof t.yaxis[s].min?t.yaxis[s].min(u):t.yaxis[s].min),void 0!==t.yaxis[s].max&&(d="function"==typeof t.yaxis[s].max?t.yaxis[s].max(d):t.yaxis[s].max),a.barGroups=a.barGroups.filter((function(e,t,a){return a.indexOf(e)===t})),e.setYScaleForIndex(s,u,d),r.forEach((function(e){n[e]=a.yAxisScale[s].niceMin,i[e]=a.yAxisScale[s].niceMax}))}():e.setYScaleForIndex(s,0,-Number.MAX_VALUE)}))}}]),e}(),tr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.scales=new er(t)}return o(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=this.w.config,i=this.w.globals,s=-Number.MAX_VALUE,o=Number.MIN_VALUE;null===r&&(r=e+1);var l=i.series,c=l,u=l;"candlestick"===n.chart.type?(c=i.seriesCandleL,u=i.seriesCandleH):"boxPlot"===n.chart.type?(c=i.seriesCandleO,u=i.seriesCandleC):i.isRangeData&&(c=i.seriesRangeStart,u=i.seriesRangeEnd);var d=!1;if(i.seriesX.length>=r){var m,g=null===(m=i.brushSource)||void 0===m?void 0:m.w.config.chart.brush;(n.chart.zoom.enabled&&n.chart.zoom.autoScaleYaxis||null!=g&&g.enabled&&null!=g&&g.autoScaleYaxis)&&(d=!0)}for(var p=e;p<r;p++){i.dataPoints=Math.max(i.dataPoints,l[p].length);var f=n.series[p].type;i.categoryLabels.length&&(i.dataPoints=i.categoryLabels.filter((function(e){return void 0!==e})).length),i.labels.length&&"datetime"!==n.xaxis.type&&0!==i.series.reduce((function(e,t){return e+t.length}),0)&&(i.dataPoints=Math.max(i.dataPoints,i.labels.length));var M=0,h=l[p].length-1;if(d){if(n.xaxis.min)for(;M<h&&i.seriesX[p][M]<n.xaxis.min;M++);if(n.xaxis.max)for(;h>M&&i.seriesX[p][h]>n.xaxis.max;h--);}for(var y=M;y<=h&&y<i.series[p].length;y++){var N=l[p][y];if(null!==N&&b.isNumber(N)){switch(void 0!==u[p][y]&&(s=Math.max(s,u[p][y]),t=Math.min(t,u[p][y])),void 0!==c[p][y]&&(t=Math.min(t,c[p][y]),a=Math.max(a,c[p][y])),f){case"candlestick":void 0!==i.seriesCandleC[p][y]&&(s=Math.max(s,i.seriesCandleH[p][y]),t=Math.min(t,i.seriesCandleL[p][y]));break;case"boxPlot":void 0!==i.seriesCandleC[p][y]&&(s=Math.max(s,i.seriesCandleC[p][y]),t=Math.min(t,i.seriesCandleO[p][y]))}f&&"candlestick"!==f&&"boxPlot"!==f&&"rangeArea"!==f&&"rangeBar"!==f&&(s=Math.max(s,i.series[p][y]),t=Math.min(t,i.series[p][y])),i.seriesGoals[p]&&i.seriesGoals[p][y]&&Array.isArray(i.seriesGoals[p][y])&&i.seriesGoals[p][y].forEach((function(e){s=Math.max(s,e.value),t=Math.min(t,e.value)})),a=s,N=b.noExponents(N),b.isFloat(N)&&(i.yValueDecimal=Math.max(i.yValueDecimal,N.toString().split(".")[1].length)),o>c[p][y]&&c[p][y]<0&&(o=c[p][y])}else i.hasNullValues=!0}"bar"!==f&&"column"!==f||(o<0&&s<0&&(s=0,a=Math.max(a,0)),o===Number.MIN_VALUE&&(o=0,t=Math.min(t,0)))}return"rangeBar"===n.chart.type&&i.seriesRangeStart.length&&i.isBarHorizontal&&(o=t),"bar"===n.chart.type&&(o<0&&s<0&&(s=0),o===Number.MIN_VALUE&&(o=0)),{minY:o,maxY:s,lowestY:t,highestY:a}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var a,r=Number.MAX_VALUE;if(e.isMultipleYAxis){r=Number.MAX_VALUE;for(var n=0;n<e.series.length;n++)a=this.getMinYMaxY(n),e.minYArr[n]=a.lowestY,e.maxYArr[n]=a.highestY,r=Math.min(r,a.lowestY)}return a=this.getMinYMaxY(0,r,null,e.series.length),"bar"===t.chart.type?(e.minY=a.minY,e.maxY=a.maxY):(e.minY=a.lowestY,e.maxY=a.highestY),r=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),"line"===t.chart.type||"area"===t.chart.type||"scatter"===t.chart.type||"candlestick"===t.chart.type||"boxPlot"===t.chart.type||"rangeBar"===t.chart.type&&!e.isBarHorizontal?e.minY===Number.MIN_VALUE&&r!==-Number.MAX_VALUE&&r!==e.maxY&&(e.minY=r):e.minY=e.minY!==Number.MIN_VALUE?Math.min(a.minY,e.minY):a.minY,t.yaxis.forEach((function(t,a){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[a]=t.max:"function"==typeof t.max&&(e.maxYArr[a]=t.max(e.isMultipleYAxis?e.maxYArr[a]:e.maxY)),e.maxY=e.maxYArr[a]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[a]=t.min:"function"==typeof t.min&&(e.minYArr[a]=t.min(e.isMultipleYAxis?e.minYArr[a]===Number.MIN_VALUE?0:e.minYArr[a]:e.minY)),e.minY=e.minYArr[a])})),e.isBarHorizontal&&["min","max"].forEach((function(a){void 0!==t.xaxis[a]&&"number"==typeof t.xaxis[a]&&("min"===a?e.minY=t.xaxis[a]:e.maxY=t.xaxis[a])})),e.isMultipleYAxis?(this.scales.scaleMultipleYAxes(),e.minY=r):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.minY,e.maxYArr[0]=e.maxY),e.barGroups=[],e.lineGroups=[],e.areaGroups=[],t.series.forEach((function(a){switch(a.type||t.chart.type){case"bar":case"column":e.barGroups.push(a.group);break;case"line":e.lineGroups.push(a.group);break;case"area":e.areaGroups.push(a.group)}})),e.barGroups=e.barGroups.filter((function(e,t,a){return a.indexOf(e)===t})),e.lineGroups=e.lineGroups.filter((function(e,t,a){return a.indexOf(e)===t})),e.areaGroups=e.areaGroups.filter((function(e,t,a){return a.indexOf(e)===t})),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,a="numeric"===t.xaxis.type||"datetime"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var t=0;t<e.series.length;t++)if(e.labels[t])for(var a=0;a<e.labels[t].length;a++)null!==e.labels[t][a]&&b.isNumber(e.labels[t][a])&&(e.maxX=Math.max(e.maxX,e.labels[t][a]),e.initialMaxX=Math.max(e.maxX,e.labels[t][a]),e.minX=Math.min(e.minX,e.labels[t][a]),e.initialMinX=Math.min(e.minX,e.labels[t][a]))}(),e.noLabelsProvided&&0===t.xaxis.categories.length&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var r=10;if(void 0===t.xaxis.tickAmount)r=Math.round(e.svgWidth/150),"numeric"===t.xaxis.type&&e.dataPoints<30&&(r=e.dataPoints-1),r>e.dataPoints&&0!==e.dataPoints&&(r=e.dataPoints-1);else if("dataPoints"===t.xaxis.tickAmount){if(e.series.length>1&&(r=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var n=e.maxX-e.minX;n<30&&(r=n-1)}}else r=t.xaxis.tickAmount;if(e.xTickAmount=r,void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxX=t.xaxis.max),void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minX=t.xaxis.min),void 0!==t.xaxis.range&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var i=[],s=e.minX-1;s<e.maxX;s++)i.push(s+1);e.xAxisScale={result:i,niceMin:i[0],niceMax:i[i.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,r,r,0,t.xaxis.stepSize),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,r-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());a&&(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;t<e.series.length;t++)if(void 0!==e.seriesZ[t])for(var a=0;a<e.seriesZ[t].length;a++)null!==e.seriesZ[t][a]&&b.isNumber(e.seriesZ[t][a])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][a]),e.minZ=Math.min(e.minZ,e.seriesZ[t][a]))}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var a=new Aa(this.ctx);if("datetime"===t.xaxis.type){var r=a.getDate(e.minX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()-2):r.setDate(r.getDate()-2),e.minX=new Date(r).getTime();var n=a.getDate(e.maxX);t.xaxis.labels.datetimeUTC?n.setUTCDate(n.getUTCDate()+2):n.setDate(n.getDate()+2),e.maxX=new Date(n).getTime()}else("numeric"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,a){if(t.length){1===t.length&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var r=t.slice();r.sort((function(e,t){return e-t})),r.forEach((function(t,a){if(a>0){var n=t-r[a-1];n>0&&(e.minXDiff=Math.min(n,e.minXDiff))}})),1!==e.dataPoints&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var a=t.seriesGroups;a.length||(a=[this.w.globals.seriesNames.map((function(e){return e}))]);var r={},n={};a.forEach((function(a){r[a]=[],n[a]=[],e.w.config.series.map((function(e,r){return a.indexOf(t.seriesNames[r])>-1?r:null})).filter((function(e){return null!==e})).forEach((function(i){for(var s=0;s<t.series[t.maxValsInArrayIndex].length;s++){var o,l,c,u;void 0===r[a][s]&&(r[a][s]=0,n[a][s]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||"bar"===(null===(o=e.w.config.series)||void 0===o||null===(l=o[i])||void 0===l?void 0:l.type)||"column"===(null===(c=e.w.config.series)||void 0===c||null===(u=c[i])||void 0===u?void 0:u.type)))&&null!==t.series[i][s]&&b.isNumber(t.series[i][s])&&(t.series[i][s]>0?r[a][s]+=parseFloat(t.series[i][s])+1e-4:n[a][s]+=parseFloat(t.series[i][s]))}}))})),Object.entries(r).forEach((function(e){var a=h(e,1)[0];r[a].forEach((function(e,i){t.maxY=Math.max(t.maxY,r[a][i]),t.minY=Math.min(t.minY,n[a][i])}))}))}}}]),e}(),ar=function(){function e(t,a){i(this,e),this.ctx=t,this.elgrid=a,this.w=t.w;var r=this.w;this.xaxisFontSize=r.config.xaxis.labels.style.fontSize,this.axisFontFamily=r.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=r.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal="bar"===r.config.chart.type&&r.config.plotOptions.bar.horizontal,this.xAxisoffX="bottom"===r.config.xaxis.position?r.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new ka(t)}return o(e,[{key:"drawYaxis",value:function(e){var t=this.w,a=new Ia(this.ctx),r=t.config.yaxis[e].labels.style,n=r.fontSize,i=r.fontFamily,s=r.fontWeight,o=a.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return o;var l=a.group({class:"apexcharts-yaxis-texts-g"});o.add(l);var c=t.globals.yAxisScale[e].result.length-1,u=t.globals.gridHeight/c,d=t.globals.yLabelFormatters[e],m=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var g=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?g=0:"heatmap"===t.config.chart.type&&(g-=u/2),g+=parseInt(n,10)/3;for(var p=c;p>=0;p--){var f=d(m[p],p,t),M=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&0!==t.config.yaxis.length&&(M*=-1);var h=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),y=this.axesUtils.getYAxisForeColor(r.colors,e),N=Array.isArray(y)?y[p]:y,w=b.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map((function(e){return e.textContent})),x=a.drawText({x:M,y:g,text:w.includes(f)&&!t.config.yaxis[e].labels.showDuplicates?"":f,textAnchor:h,fontSize:n,fontFamily:i,fontWeight:s,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:N,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(r.cssClass)});l.add(x),this.addTooltip(x,f),0!==t.config.yaxis[e].labels.rotate&&this.rotateLabel(a,x,firstLabel,t.config.yaxis[e].labels.rotate),g+=u}}return this.addYAxisTitle(a,o,e),this.addAxisBorder(a,o,e,c,u),o}},{key:"getTextAnchor",value:function(e,t){return"left"===e?"start":"center"===e?"middle":"right"===e?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var a=document.createElementNS(this.w.globals.SVGNS,"title");a.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(a)}},{key:"rotateLabel",value:function(e,t,a,r){var n=e.rotateAroundCenter(a.node),i=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(r," ").concat(n.x," ").concat(i.y,")"))}},{key:"addYAxisTitle",value:function(e,t,a){var r=this.w;if(void 0!==r.config.yaxis[a].title.text){var n=e.group({class:"apexcharts-yaxis-title"}),i=r.config.yaxis[a].opposite?r.globals.translateYAxisX[a]:0,s=e.drawText({x:i,y:r.globals.gridHeight/2+r.globals.translateY+r.config.yaxis[a].title.offsetY,text:r.config.yaxis[a].title.text,textAnchor:"end",foreColor:r.config.yaxis[a].title.style.color,fontSize:r.config.yaxis[a].title.style.fontSize,fontWeight:r.config.yaxis[a].title.style.fontWeight,fontFamily:r.config.yaxis[a].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(r.config.yaxis[a].title.style.cssClass)});n.add(s),t.add(n)}}},{key:"addAxisBorder",value:function(e,t,a,r,n){var i=this.w,s=i.config.yaxis[a].axisBorder,o=31+s.offsetX;if(i.config.yaxis[a].opposite&&(o=-31-s.offsetX),s.show){var l=e.drawLine(o,i.globals.translateY+s.offsetY-2,o,i.globals.gridHeight+i.globals.translateY+s.offsetY+2,s.color,0,s.width);t.add(l)}i.config.yaxis[a].axisTicks.show&&this.axesUtils.drawYAxisTicks(o,r,s,i.config.yaxis[a].axisTicks,a,n,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,a=new Ia(this.ctx),r=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),n=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});r.add(n);var i=t.globals.yAxisScale[e].result.length-1,s=t.globals.gridWidth/i+.1,o=s+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),u=t.globals.timescaleLabels;if(u.length>0&&(this.xaxisLabels=u.slice(),i=(c=u.slice()).length),t.config.xaxis.labels.show)for(var d=u.length?0:i;u.length?d<u.length:d>=0;u.length?d++:d--){var m=l(c[d],d,t),g=t.globals.gridWidth+t.globals.padHorizontal-(o-s+t.config.xaxis.labels.offsetX);if(u.length){var p=this.axesUtils.getLabel(c,u,g,d,this.drawnLabels,this.xaxisFontSize);g=p.x,m=p.text,this.drawnLabels.push(p.text),0===d&&t.globals.skipFirstTimelinelabel&&(m=""),d===c.length-1&&t.globals.skipLastTimelinelabel&&(m="")}var f=a.drawText({x:g,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:m,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)});n.add(f),f.tspan(m),this.addTooltip(f,m),o+=s}return this.inversedYAxisTitleText(r),this.inversedYAxisBorder(r),r}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,a=new Ia(this.ctx),r=t.config.xaxis.axisBorder;if(r.show){var n=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(n-=15);var i=a.drawLine(t.globals.padHorizontal+n+r.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,r.color,0,r.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(i):e.add(i)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,a=new Ia(this.ctx);if(void 0!==t.config.xaxis.title.text){var r=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),n=a.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)});r.add(n),e.add(r)}}},{key:"yAxisTitleRotate",value:function(e,t){var a=this.w,r=new Ia(this.ctx),n=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),i=n?n.getBoundingClientRect():{width:0,height:0},s=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),o=s?s.getBoundingClientRect():{width:0,height:0};if(s){var l=this.xPaddingForYAxisTitle(e,i,o,t);s.setAttribute("x",l.xPos-(t?10:0));var c=r.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(t?-1*a.config.yaxis[e].title.rotate:a.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,a,r){var n=this.w,i=0,s=10;return void 0===n.config.yaxis[e].title.text||e<0?{xPos:i,padd:0}:(r?i=t.width+n.config.yaxis[e].title.offsetX+a.width/2+s/2:(i=-1*t.width+n.config.yaxis[e].title.offsetX+s/2+a.width/2,n.globals.isBarHorizontal&&(s=25,i=-1*t.width-n.config.yaxis[e].title.offsetX-s)),{xPos:i,padd:s})}},{key:"setYAxisXPosition",value:function(e,t){var a=this.w,r=0,n=0,i=18,s=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.forEach((function(o,l){var c=a.globals.ignoreYAxisIndexes.includes(l)||!o.show||o.floating||0===e[l].width,u=e[l].width+t[l].width;o.opposite?a.globals.isBarHorizontal?(n=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[l]=n-o.labels.offsetX):(n=a.globals.gridWidth+a.globals.translateX+s,c||(s+=u+20),a.globals.translateYAxisX[l]=n-o.labels.offsetX+20):(r=a.globals.translateX-i,c||(i+=u+20),a.globals.translateYAxisX[l]=r+o.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;b.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach((function(t,a){var r=e.config.yaxis[a];if(r&&!r.floating&&void 0!==r.labels.align){var n=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),i=b.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"))),s=n.getBoundingClientRect();i.forEach((function(e){e.setAttribute("text-anchor",r.labels.align)})),"left"!==r.labels.align||r.opposite?"center"===r.labels.align?n.setAttribute("transform","translate(".concat(s.width/2*(r.opposite?1:-1),", 0)")):"right"===r.labels.align&&r.opposite&&n.setAttribute("transform","translate(".concat(s.width,", 0)")):n.setAttribute("transform","translate(-".concat(s.width,", 0)"))}}))}}]),e}(),rr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.documentEvent=b.bind(this.documentEvent,this)}return o(e,[{key:"addEventListener",value:function(e,t){var a=this.w;a.globals.events.hasOwnProperty(e)?a.globals.events[e].push(t):a.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){var r=a.globals.events[e].indexOf(t);-1!==r&&a.globals.events[e].splice(r,1)}}},{key:"fireEvent",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var r=a.globals.events[e],n=r.length,i=0;i<n;i++)r[i].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,a=this.ctx,r=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(e){r.addEventListener(e,(function(e){var r=Object.assign({},t,{seriesIndex:t.globals.axisCharts?t.globals.capturedSeriesIndex:0,dataPointIndex:t.globals.capturedDataPointIndex});"mousemove"===e.type||"touchmove"===e.type?"function"==typeof t.config.chart.events.mouseMove&&t.config.chart.events.mouseMove(e,a,r):"mouseleave"===e.type||"touchleave"===e.type?"function"==typeof t.config.chart.events.mouseLeave&&t.config.chart.events.mouseLeave(e,a,r):("mouseup"===e.type&&1===e.which||"touchend"===e.type)&&("function"==typeof t.config.chart.events.click&&t.config.chart.events.click(e,a,r),a.ctx.events.fireEvent("click",[e,a,r]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(a){t.globals.dom.baseEl.addEventListener(a,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,a=e.target.className;if("click"===e.type){var r=t.globals.dom.baseEl.querySelector(".apexcharts-menu");r&&r.classList.contains("apexcharts-menu-open")&&"apexcharts-menu-icon"!==a&&r.classList.remove("apexcharts-menu-open")}t.globals.clientX="touchmove"===e.type?e.touches[0].clientX:e.clientX,t.globals.clientY="touchmove"===e.type?e.touches[0].clientY:e.clientY}}]),e}(),nr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=t.filter((function(t){return t.name===e}))[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var r=b.extend(Ca,a);this.w.globals.locale=r.options}}]),e}(),ir=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"drawAxis",value:function(e,t){var a,r,n=this,i=this.w.globals,s=this.w.config,o=new $a(this.ctx,t),l=new ar(this.ctx,t);i.axisCharts&&"radar"!==e&&(i.isBarHorizontal?(r=l.drawYaxisInversed(0),a=o.drawXaxisInversed(0),i.dom.elGraphical.add(a),i.dom.elGraphical.add(r)):(a=o.drawXaxis(),i.dom.elGraphical.add(a),s.yaxis.map((function(e,t){if(-1===i.ignoreYAxisIndexes.indexOf(t)&&(r=l.drawYaxis(t),i.dom.Paper.add(r),"back"===n.w.config.grid.position)){var a=i.dom.Paper.children()[1];a.remove(),i.dom.Paper.add(a)}}))))}}]),e}(),sr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new Ia(this.ctx),a=new _a(this.ctx),r=e.config.xaxis.crosshairs.fill.gradient,n=e.config.xaxis.crosshairs.dropShadow,i=e.config.xaxis.crosshairs.fill.type,s=r.colorFrom,o=r.colorTo,l=r.opacityFrom,c=r.opacityTo,u=r.stops,d=n.enabled,m=n.left,g=n.top,p=n.blur,f=n.color,M=n.opacity,h=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===i&&(h=t.drawGradient("vertical",s,o,l,c,null,u,null));var y=t.drawRect();1===e.config.xaxis.crosshairs.width&&(y=t.drawLine());var N=e.globals.gridHeight;(!b.isNumber(N)||N<0)&&(N=0);var w=e.config.xaxis.crosshairs.width;(!b.isNumber(w)||w<0)&&(w=0),y.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:N,width:w,height:N,fill:h,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(y=a.dropShadow(y,{left:m,top:g,blur:p,color:f,opacity:M})),e.globals.dom.elGraphical.add(y)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new Ia(this.ctx),a=e.config.yaxis[0].crosshairs,r=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var n=t.drawLine(-r,0,e.globals.gridWidth+r,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);n.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(n)}var i=t.drawLine(-r,0,e.globals.gridWidth+r,0,a.stroke.color,0,0);i.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(i)}}]),e}(),or=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,a=this.w,r=a.config;if(0!==r.responsive.length){var n=r.responsive.slice();n.sort((function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0})).reverse();var i=new Ra({}),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n[0].breakpoint,s=window.innerWidth>0?window.innerWidth:screen.width;if(s>r){var o=b.clone(a.globals.initialConfig);o.series=b.clone(a.config.series);var l=Ea.extendArrayProps(i,o,a);e=b.extend(l,e),e=b.extend(a.config,e),t.overrideResponsiveOptions(e)}else for(var c=0;c<n.length;c++)s<n[c].breakpoint&&(e=Ea.extendArrayProps(i,n[c].options,a),e=b.extend(a.config,e),t.overrideResponsiveOptions(e))};if(e){var o=Ea.extendArrayProps(i,e,a);o=b.extend(a.config,o),s(o=b.extend(o,e))}else s({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new Ra(e).init({responsiveOverride:!0});this.w.config=t}}]),e}(),lr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.colors=[],this.isColorFn=!1,this.isHeatmapDistributed=this.checkHeatmapDistributed(),this.isBarDistributed=this.checkBarDistributed()}return o(e,[{key:"checkHeatmapDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return"treemap"===t.type&&a.treemap&&a.treemap.distributed||"heatmap"===t.type&&a.heatmap&&a.heatmap.distributed}},{key:"checkBarDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return a.bar&&a.bar.distributed&&("bar"===t.type||"rangeBar"===t.type)}},{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new b;e.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(e.config.theme.mode));var a=y(e.config.colors||e.config.fill.colors||[]);e.globals.colors=this.getColors(a),this.applySeriesColors(e.globals.seriesColors,e.globals.colors),e.config.theme.monochrome.enabled&&(e.globals.colors=this.getMonochromeColors(e.config.theme.monochrome,e.globals.series,t));var r=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),this.applyColorTypes(["fill","stroke"],r),this.applyDataLabelsColors(r),this.applyRadarPolygonsColors(),this.applyMarkersColors(r)}},{key:"getColors",value:function(e){var t=this,a=this.w;return e&&0!==e.length?Array.isArray(e)&&e.length>0&&"function"==typeof e[0]?(this.isColorFn=!0,a.config.series.map((function(r,n){var i=e[n]||e[0];return"function"==typeof i?i({value:a.globals.axisCharts?a.globals.series[n][0]||0:a.globals.series[n],seriesIndex:n,dataPointIndex:n,w:t.w}):i}))):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach((function(e,a){e&&(t[a]=e)}))}},{key:"getMonochromeColors",value:function(e,t,a){var r=e.color,n=e.shadeIntensity,i=e.shadeTo,s=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,o=1/(s/n),l=0;return Array.from({length:s},(function(){var e="dark"===i?a.shadeColor(-1*l,r):a.shadeColor(l,r);return l+=o,e}))}},{key:"applyColorTypes",value:function(e,t){var a=this,r=this.w;e.forEach((function(e){r.globals[e].colors=void 0===r.config[e].colors?a.isColorFn?r.config.colors:t:r.config[e].colors.slice(),a.pushExtraColors(r.globals[e].colors)}))}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=void 0===t.config.dataLabels.style.colors?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=void 0===e.config.plotOptions.radar.polygons.fill.colors?["dark"===e.config.theme.mode?"#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=void 0===t.config.markers.colors?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,n=t||r.globals.series.length;if(null===a&&(a=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===r.config.chart.type&&r.config.plotOptions.heatmap&&r.config.plotOptions.heatmap.colorScale.inverse),a&&r.globals.series.length&&(n=r.globals.series[r.globals.maxValsInArrayIndex].length*r.globals.series.length),e.length<n)for(var i=n-e.length,s=0;s<i;s++)e.push(e[s])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode,a="dark"===t?"palette4":"light"===t?"palette1":e.theme.palette||"palette1",r="dark"===t?"#f6f7f8":"light"===t?"#373d3f":e.chart.foreColor||"#373d3f";return e.tooltip.theme=t||"light",e.chart.foreColor=r,e.theme.palette=a,e}},{key:"predefined",value:function(){var e={palette1:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"],palette2:["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"],palette3:["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"],palette4:["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"],palette5:["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"],palette6:["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"],palette7:["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"],palette8:["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"],palette9:["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"],palette10:["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"],default:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]};return e[this.w.config.theme.palette]||e.default}}]),e}(),cr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,a="title"===e?t.config.title:t.config.subtitle,r=t.globals.svgWidth/2,n=a.offsetY,i="middle";if("left"===a.align?(r=10,i="start"):"right"===a.align&&(r=t.globals.svgWidth-10,i="end"),r+=a.offsetX,n=n+parseInt(a.style.fontSize,10)+a.margin/2,void 0!==a.text){var s=new Ia(this.ctx).drawText({x:r,y:n,text:a.text,textAnchor:i,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});s.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(s)}}}]),e}(),ur=function(){function e(t){i(this,e),this.w=t.w,this.dCtx=t}return o(e,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,a=0,r=0,n="title"===e?t.config.title.floating:t.config.subtitle.floating,i=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(null!==i&&!n){var s=i.getBoundingClientRect();a=s.width,r=t.globals.axisCharts?s.height+5:s.height}return{width:a,height:r}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||(t.style.maxHeight=e.globals.svgHeight/2+"px");var a=Object.assign({},b.getBoundingClientRect(t));return null!==t&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:0===a.height?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},"left"!==e.config.legend.position&&"right"!==e.config.legend.position||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,a=[];t.config.series.forEach((function(n,i){n.data.forEach((function(n,s){var o;o=t.globals.series[i][s],r=t.config.dataLabels.formatter(o,{ctx:e.dCtx.ctx,seriesIndex:i,dataPointIndex:s,w:t}),a.push(r)}))}));var r=b.getLargestStringFromArr(a),n=new Ia(this.dCtx.ctx),i=t.config.dataLabels.style,s=n.getTextRects(r,parseInt(i.fontSize),i.fontFamily);return{width:1.05*s.width,height:s.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var a=e;if(this.w.globals.isMultiLineX){var r=t.map((function(e,t){return Array.isArray(e)?e.length:1})),n=Math.max.apply(Math,y(r));a=t[r.indexOf(n)]}return a}}]),e}(),dr=function(){function e(t){i(this,e),this.w=t.w,this.dCtx=t}return o(e,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,a=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===a.length&&(a=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var r=this.getxAxisTimeScaleLabelsCoords();e={width:r.width,height:r.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var n=t.globals.xLabelFormatter,i=b.getLargestStringFromArr(a),s=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,a);t.globals.isBarHorizontal&&(s=i=t.globals.yAxisScale[0].result.reduce((function(e,t){return e.length>t.length?e:t}),0));var o=new za(this.dCtx.ctx),l=i;i=o.xLabelFormat(n,i,l,{i:void 0,dateFormatter:new Aa(this.dCtx.ctx).formatDate,w:t}),s=o.xLabelFormat(n,s,l,{i:void 0,dateFormatter:new Aa(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&void 0===i||""===String(i).trim())&&(s=i="1");var c=new Ia(this.dCtx.ctx),u=c.getTextRects(i,t.config.xaxis.labels.style.fontSize),d=u;if(i!==s&&(d=c.getTextRects(s,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*a.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var m=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=m(i),i!==s&&(d=m(s)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var a,r=(null===(e=t.config.xaxis.group.style)||void 0===e?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,n=t.globals.groups.map((function(e){return e.title})),i=b.getLargestStringFromArr(n),s=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,n),o=new Ia(this.dCtx.ctx),l=o.getTextRects(i,r),c=l;return i!==s&&(c=o.getTextRects(s,r)),a={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},t.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,a=0;if(void 0!==e.config.xaxis.title.text){var r=new Ia(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=r.width,a=r.height}return{width:t,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map((function(e){return e.value})),r=a.reduce((function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t}),0);return 1.05*(e=new Ia(this.dCtx.ctx).getTextRects(r,t.config.xaxis.labels.style.fontSize)).width*a.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,a=this.w,r=a.globals,n=a.config,i=n.xaxis.type,s=e.width;r.skipLastTimelinelabel=!1,r.skipFirstTimelinelabel=!1;var o=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,l=function(e,o){n.yaxis.length>1&&function(e){return-1!==r.collapsedSeriesIndices.indexOf(e)}(o)||function(e){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var o=t.dCtx.timescaleLabels[0],l=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+s/1.75-t.dCtx.yAxisWidthRight,c=o.position-s/1.75+t.dCtx.yAxisWidthLeft,u="right"===a.config.legend.position&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;l>r.svgWidth-r.translateX-u&&(r.skipLastTimelinelabel=!0),c<-(e.show&&!e.floating||"bar"!==n.chart.type&&"candlestick"!==n.chart.type&&"rangeBar"!==n.chart.type&&"boxPlot"!==n.chart.type?10:s/1.75)&&(r.skipFirstTimelinelabel=!0)}else"datetime"===i?t.dCtx.gridPad.right<s&&!r.rotateXLabels&&(r.skipLastTimelinelabel=!0):"datetime"!==i&&t.dCtx.gridPad.right<s/2-t.dCtx.yAxisWidthRight&&!r.rotateXLabels&&!a.config.xaxis.labels.trim&&(t.dCtx.xPadRight=s/2+1)}(e)};n.yaxis.forEach((function(e,a){o?(t.dCtx.gridPad.left<s&&(t.dCtx.xPadLeft=s/2+1),t.dCtx.xPadRight=s/2+1):l(e,a)}))}}]),e}(),mr=function(){function e(t){i(this,e),this.w=t.w,this.dCtx=t}return o(e,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,a=[],r=10,n=new ka(this.dCtx.ctx);return t.config.yaxis.map((function(i,s){var o={seriesIndex:s,dataPointIndex:-1,w:t},l=t.globals.yAxisScale[s],c=0;if(!n.isYAxisHidden(s)&&i.labels.show&&void 0!==i.labels.minWidth&&(c=i.labels.minWidth),!n.isYAxisHidden(s)&&i.labels.show&&l.result.length){var u=t.globals.yLabelFormatters[s],d=l.niceMin===Number.MIN_VALUE?0:l.niceMin,m=l.result.reduce((function(e,t){var a,r;return(null===(a=String(u(e,o)))||void 0===a?void 0:a.length)>(null===(r=String(u(t,o)))||void 0===r?void 0:r.length)?e:t}),d),g=m=u(m,o);if(void 0!==m&&0!==m.length||(m=l.niceMax),t.globals.isBarHorizontal){r=0;var p=t.globals.labels.slice();m=b.getLargestStringFromArr(p),m=u(m,{seriesIndex:s,dataPointIndex:-1,w:t}),g=e.dCtx.dimHelpers.getLargestStringFromMultiArr(m,p)}var f=new Ia(e.dCtx.ctx),M="rotate(".concat(i.labels.rotate," 0 0)"),h=f.getTextRects(m,i.labels.style.fontSize,i.labels.style.fontFamily,M,!1),y=h;m!==g&&(y=f.getTextRects(g,i.labels.style.fontSize,i.labels.style.fontFamily,M,!1)),a.push({width:(c>y.width||c>h.width?c:y.width>h.width?y.width:h.width)+r,height:y.height>h.height?y.height:h.height})}else a.push({width:0,height:0})})),a}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,a=[];return t.config.yaxis.map((function(t,r){if(t.show&&void 0!==t.title.text){var n=new Ia(e.dCtx.ctx),i="rotate(".concat(t.title.rotate," 0 0)"),s=n.getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,i,!1);a.push({width:s.width,height:s.height})}else a.push({width:0,height:0})})),a}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,a=0,r=0,n=e.globals.yAxisScale.length>1?10:0,i=new ka(this.dCtx.ctx),s=function(s,o){var l=e.config.yaxis[o].floating,c=0;s.width>0&&!l?(c=s.width+n,function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1}(o)&&(c=c-s.width-n)):c=l||i.isYAxisHidden(o)?0:5,e.config.yaxis[o].opposite?r+=c:a+=c,t+=c};return e.globals.yLabelsCoords.map((function(e,t){s(e,t)})),e.globals.yTitleCoords.map((function(e,t){s(e,t)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=r,t}}]),e}(),gr=function(){function e(t){i(this,e),this.w=t.w,this.dCtx=t}return o(e,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,a=t.config,r=t.globals;if(r.noData||r.collapsedSeries.length+r.ancillaryCollapsedSeries.length===a.series.length)return 0;var n=function(e){return["bar","rangeBar","candlestick","boxPlot"].includes(e)},i=a.chart.type,s=0,o=n(i)?a.series.length:1;r.comboBarCount>0&&(o=r.comboBarCount),r.collapsedSeries.forEach((function(e){n(e.type)&&(o-=1)})),a.chart.stacked&&(o=1);var l=n(i)||r.comboBarCount>0,c=Math.abs(r.initialMaxX-r.initialMinX);if(l&&r.isXNumeric&&!r.isBarHorizontal&&o>0&&0!==c){c<=3&&(c=r.dataPoints);var u=c/e,d=r.minXDiff&&r.minXDiff/u>0?r.minXDiff/u:0;d>e/2&&(d/=2),(s=d*parseInt(a.plotOptions.bar.columnWidth,10)/100)<1&&(s=1),r.barPadForNumericAxis=s}return s}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,a=t.globals,r=this.dCtx.isSparkline||!a.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==t.config[n].text?r+=t.config[n].margin:r+=e.dCtx.isSparkline||!a.axisCharts?0:5})),!t.config.legend.show||"bottom"!==t.config.legend.position||t.config.legend.floating||a.axisCharts||(r+=10);var n=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),i=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight-=n.height+i.height+r,a.translateY+=n.height+i.height+r}},{key:"setGridXPosForDualYAxis",value:function(e,t){var a=this.w,r=new ka(this.dCtx.ctx);a.config.yaxis.forEach((function(n,i){-1!==a.globals.ignoreYAxisIndexes.indexOf(i)||n.floating||r.isYAxisHidden(i)||(n.opposite&&(a.globals.translateX-=t[i].width+e[i].width+parseInt(n.labels.style.fontSize,10)/1.2+12),a.globals.translateX<2&&(a.globals.translateX=2))}))}}]),e}(),pr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new ur(this),this.dimYAxis=new mr(this),this.dimXAxis=new dr(this),this.dimGrid=new gr(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return o(e,[{key:"plotCoords",value:function(){var e=this,t=this.w,a=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var r=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,y(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(t){var a=h(t,2),r=a[0],n=a[1];e.gridPad[r]=Math.max(n,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(r/2,this.gridPad.top),this.gridPad.bottom=Math.max(r/2,this.gridPad.bottom)),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var n=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*n,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(n>0?n:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,a=t.globals,r=this.dimYAxis.getyAxisLabelsCoords(),n=this.dimYAxis.getyAxisTitleCoords();a.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(e,a){t.globals.yLabelsCoords.push({width:r[a].width,index:a}),t.globals.yTitleCoords.push({width:n[a].width,index:a})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var i=this.dimXAxis.getxAxisLabelsCoords(),s=this.dimXAxis.getxAxisGroupLabelsCoords(),o=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(i,o,s),a.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+t.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+t.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-o.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-i.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var u=10;("radar"===t.config.chart.type||this.isSparkline)&&(l=0,c=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===t.config.chart.type)&&(l=0,c=0,u=0),this.isSparkline||"treemap"===t.config.chart.type||this.dimXAxis.additionalPaddingXLabels(i);var d=function(){a.translateX=l+e.datalabelsCoords.width,a.gridHeight=a.svgHeight-e.lgRect.height-c-(e.isSparkline||"treemap"===t.config.chart.type?0:t.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-l-2*e.datalabelsCoords.width};switch("top"===t.config.xaxis.position&&(u=a.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":a.translateY=u,d();break;case"top":a.translateY=this.lgRect.height+u,d();break;case"left":a.translateY=u,a.translateX=this.lgRect.width+l+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-c-12,a.gridWidth=a.svgWidth-this.lgRect.width-l-2*this.datalabelsCoords.width;break;case"right":a.translateY=u,a.translateX=l+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-c-12,a.gridWidth=a.svgWidth-this.lgRect.width-l-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(n,r),new ar(this.ctx).setYAxisXPosition(r,n)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=e.config,r=0;e.config.legend.show&&!e.config.legend.floating&&(r=20);var n="pie"===a.chart.type||"polarArea"===a.chart.type||"donut"===a.chart.type?"pie":"radialBar",i=a.plotOptions[n].offsetY,s=a.plotOptions[n].offsetX;if(!a.legend.show||a.legend.floating){t.gridHeight=t.svgHeight;var o=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(o,t.gridHeight),t.translateY=i,void(t.translateX=s+(t.svgWidth-t.gridWidth)/2)}switch(a.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=i-10,t.translateX=s+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+i+10,t.translateX=s+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-r,t.gridHeight="auto"!==a.chart.height?t.svgHeight:t.gridWidth,t.translateY=i,t.translateX=s+this.lgRect.width+r;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-r-5,t.gridHeight="auto"!==a.chart.height?t.svgHeight:t.gridWidth,t.translateY=i,t.translateX=s+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,a){var r=this.w,n=r.globals.hasXaxisGroups?2:1,i=a.height+e.height+t.height,s=r.globals.isMultiLineX?1.2:r.globals.LINE_HEIGHT_RATIO,o=r.globals.rotateXLabels?22:10,l=r.globals.rotateXLabels&&"bottom"===r.config.legend.position?10:0;this.xAxisHeight=i*s+n*o+l,this.xAxisWidth=e.width,this.xAxisHeight-t.height>r.config.xaxis.labels.maxHeight&&(this.xAxisHeight=r.config.xaxis.labels.maxHeight),r.config.xaxis.labels.minHeight&&this.xAxisHeight<r.config.xaxis.labels.minHeight&&(this.xAxisHeight=r.config.xaxis.labels.minHeight),r.config.xaxis.floating&&(this.xAxisHeight=0);var c=0,u=0;r.config.yaxis.forEach((function(e){c+=e.labels.minWidth,u+=e.labels.maxWidth})),this.yAxisWidth<c&&(this.yAxisWidth=c),this.yAxisWidth>u&&(this.yAxisWidth=u)}}]),e}(),fr=function(){function e(t){i(this,e),this.w=t.w,this.lgCtx=t}return o(e,[{key:"getLegendStyles",value:function(){var e,t,a,r=document.createElement("style");r.setAttribute("type","text/css");var n=(null===(e=this.lgCtx.ctx)||void 0===e||null===(t=e.opts)||void 0===t||null===(a=t.chart)||void 0===a?void 0:a.nonce)||this.w.config.chart.nonce;n&&r.setAttribute("nonce",n);var i=document.createTextNode("\n      .apexcharts-flip-y {\n        transform: scaleY(-1) translateY(-100%);\n        transform-origin: top;\n        transform-box: fill-box;\n      }\n      .apexcharts-flip-x {\n        transform: scaleX(-1);\n        transform-origin: center;\n        transform-box: fill-box;\n      }\n      .apexcharts-legend {\n        display: flex;\n        overflow: auto;\n        padding: 0 10px;\n      }\n      .apexcharts-legend.apexcharts-legend-group-horizontal {\n        flex-direction: column;\n      }\n      .apexcharts-legend-group {\n        display: flex;\n      }\n      .apexcharts-legend-group-vertical {\n        flex-direction: column-reverse;\n      }\n      .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\n        flex-wrap: wrap\n      }\n      .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\n        flex-direction: column;\n        bottom: 0;\n      }\n      .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\n        justify-content: flex-start;\n        align-items: flex-start;\n      }\n      .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\n        justify-content: center;\n        align-items: center;\n      }\n      .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\n        justify-content: flex-end;\n        align-items: flex-end;\n      }\n      .apexcharts-legend-series {\n        cursor: pointer;\n        line-height: normal;\n        display: flex;\n        align-items: center;\n      }\n      .apexcharts-legend-text {\n        position: relative;\n        font-size: 14px;\n      }\n      .apexcharts-legend-text *, .apexcharts-legend-marker * {\n        pointer-events: none;\n      }\n      .apexcharts-legend-marker {\n        position: relative;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        cursor: pointer;\n        margin-right: 1px;\n      }\n\n      .apexcharts-legend-series.apexcharts-no-click {\n        cursor: auto;\n      }\n      .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\n        display: none !important;\n      }\n      .apexcharts-inactive-legend {\n        opacity: 0.45;\n      }\n\n    ");return r.appendChild(i),r}},{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 a=this,r=this.w;if(r.globals.axisCharts||"radialBar"===r.config.chart.type){r.globals.resized=!0;var n=null,i=null;r.globals.risingSeries=[],r.globals.axisCharts?(n=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),i=parseInt(n.getAttribute("data:realIndex"),10)):(n=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),i=parseInt(n.getAttribute("rel"),10)-1),t?[{cs:r.globals.collapsedSeries,csi:r.globals.collapsedSeriesIndices},{cs:r.globals.ancillaryCollapsedSeries,csi:r.globals.ancillaryCollapsedSeriesIndices}].forEach((function(e){a.riseCollapsedSeries(e.cs,e.csi,i)})):this.hideSeries({seriesEl:n,realIndex:i})}else{var s=r.globals.dom.Paper.findOne(" .apexcharts-series[rel='".concat(e+1,"'] path")),o=r.config.chart.type;if("pie"===o||"polarArea"===o||"donut"===o){var l=r.config.plotOptions.pie.donut.labels;new Ia(this.lgCtx.ctx).pathMouseDown(s,null),this.lgCtx.ctx.pie.printDataLabelsInner(s.node,l)}s.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,a=this.w,r=a.globals,n=b.clone(a.config.series);if(r.axisCharts){var i=a.config.yaxis[r.seriesYAxisReverseMap[t]],s={index:t,data:n[t].data.slice(),type:n[t].type||a.config.chart.type};if(i&&i.show&&i.showAlways)r.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(r.ancillaryCollapsedSeries.push(s),r.ancillaryCollapsedSeriesIndices.push(t));else if(r.collapsedSeriesIndices.indexOf(t)<0){r.collapsedSeries.push(s),r.collapsedSeriesIndices.push(t);var o=r.risingSeries.indexOf(t);r.risingSeries.splice(o,1)}}else r.collapsedSeries.push({index:t,data:n[t]}),r.collapsedSeriesIndices.push(t);return r.allSeriesCollapsed=r.collapsedSeries.length+r.ancillaryCollapsedSeries.length===a.config.series.length,this._getSeriesBasedOnCollapsedState(n)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,a=e.realIndex,r=this.w,n=this.getSeriesAfterCollapsing({realIndex:a}),i=t.childNodes,s=0;s<i.length;s++)i[s].classList.contains("apexcharts-series-markers-wrap")&&(i[s].classList.contains("apexcharts-hide")?i[s].classList.remove("apexcharts-hide"):i[s].classList.add("apexcharts-hide"));this.lgCtx.ctx.updateHelpers._updateSeries(n,r.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,a){var r=this.w,n=b.clone(r.config.series);if(e.length>0){for(var i=0;i<e.length;i++)e[i].index===a&&(r.globals.axisCharts?n[a].data=e[i].data.slice():n[a]=e[i].data,"number"!=typeof n[a]&&(n[a].hidden=!1),e.splice(i,1),t.splice(i,1),r.globals.risingSeries.push(a));n=this._getSeriesBasedOnCollapsedState(n),this.lgCtx.ctx.updateHelpers._updateSeries(n,r.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w,a=0;return t.globals.axisCharts?e.forEach((function(r,n){t.globals.collapsedSeriesIndices.indexOf(n)<0&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0||(e[n].data=[],a++)})):e.forEach((function(r,n){!t.globals.collapsedSeriesIndices.indexOf(n)<0&&(e[n]=0,a++)})),t.globals.allSeriesCollapsed=a===e.length,e}}]),e}(),Mr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new fr(this)}return o(e,[{key:"init",value:function(){var e=this.w,t=e.globals,a=e.config,r=a.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1;if(this.legendHelpers.appendToForeignObject(),(r||!t.axisCharts)&&a.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),"bottom"===a.legend.position||"top"===a.legend.position?this.legendAlignHorizontal():"right"!==a.legend.position&&"left"!==a.legend.position||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,a=e.fillcolor,r=this.w,n=document.createElement("span");n.classList.add("apexcharts-legend-marker");var i=r.config.legend.markers.shape||r.config.markers.shape,s=i;Array.isArray(i)&&(s=i[t]);var o=Array.isArray(r.config.legend.markers.size)?parseFloat(r.config.legend.markers.size[t]):parseFloat(r.config.legend.markers.size),l=Array.isArray(r.config.legend.markers.offsetX)?parseFloat(r.config.legend.markers.offsetX[t]):parseFloat(r.config.legend.markers.offsetX),c=Array.isArray(r.config.legend.markers.offsetY)?parseFloat(r.config.legend.markers.offsetY[t]):parseFloat(r.config.legend.markers.offsetY),u=Array.isArray(r.config.legend.markers.strokeWidth)?parseFloat(r.config.legend.markers.strokeWidth[t]):parseFloat(r.config.legend.markers.strokeWidth),d=n.style;if(d.height=2*(o+u)+"px",d.width=2*(o+u)+"px",d.left=l+"px",d.top=c+"px",r.config.legend.markers.customHTML)d.background="transparent",d.color=a[t],Array.isArray(r.config.legend.markers.customHTML)?r.config.legend.markers.customHTML[t]&&(n.innerHTML=r.config.legend.markers.customHTML[t]()):n.innerHTML=r.config.legend.markers.customHTML();else{var m=new Va(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(s),seriesIndex:t,strokeWidth:u,size:o}),g=window.SVG().addTo(n).size("100%","100%"),p=new Ia(this.ctx).drawMarker(0,0,f(f({},m),{},{pointFillColor:Array.isArray(a)?a[t]:m.pointFillColor,shape:s}));r.globals.dom.Paper.find(".apexcharts-legend-marker.apexcharts-marker").forEach((function(e){e.node.classList.contains("apexcharts-marker-triangle")?e.node.style.transform="translate(50%, 45%)":e.node.style.transform="translate(50%, 50%)"})),g.add(p)}return n}},{key:"drawLegends",value:function(){var e=this,t=this,a=this.w,r=a.config.legend.fontFamily,n=a.globals.seriesNames,i=a.config.legend.markers.fillColors?a.config.legend.markers.fillColors.slice():a.globals.colors.slice();if("heatmap"===a.config.chart.type){var s=a.config.plotOptions.heatmap.colorScale.ranges;n=s.map((function(e){return e.name?e.name:e.from+" - "+e.to})),i=s.map((function(e){return e.color}))}else this.isBarsDistributed&&(n=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(n=a.config.legend.customLegendItems);var o=a.globals.legendFormatter,l=a.config.legend.inverseOrder,c=[];a.globals.seriesGroups.length>1&&a.config.legend.clusterGroupedSeries&&a.globals.seriesGroups.forEach((function(e,t){c[t]=document.createElement("div"),c[t].classList.add("apexcharts-legend-group","apexcharts-legend-group-".concat(t)),"horizontal"===a.config.legend.clusterGroupedSeriesOrientation?a.globals.dom.elLegendWrap.classList.add("apexcharts-legend-group-horizontal"):c[t].classList.add("apexcharts-legend-group-vertical")}));for(var u=function(t){var s,l=o(n[t],{seriesIndex:t,w:a}),u=!1,d=!1;if(a.globals.collapsedSeries.length>0)for(var m=0;m<a.globals.collapsedSeries.length;m++)a.globals.collapsedSeries[m].index===t&&(u=!0);if(a.globals.ancillaryCollapsedSeriesIndices.length>0)for(var g=0;g<a.globals.ancillaryCollapsedSeriesIndices.length;g++)a.globals.ancillaryCollapsedSeriesIndices[g]===t&&(d=!0);var p=e.createLegendMarker({i:t,fillcolor:i});Ia.setAttrs(p,{rel:t+1,"data:collapsed":u||d}),(u||d)&&p.classList.add("apexcharts-inactive-legend");var f=document.createElement("div"),M=document.createElement("span");M.classList.add("apexcharts-legend-text"),M.innerHTML=Array.isArray(l)?l.join(" "):l;var h=a.config.legend.labels.useSeriesColors?a.globals.colors[t]:Array.isArray(a.config.legend.labels.colors)?null===(s=a.config.legend.labels.colors)||void 0===s?void 0:s[t]:a.config.legend.labels.colors;h||(h=a.config.chart.foreColor),M.style.color=h,M.style.fontSize=parseFloat(a.config.legend.fontSize)+"px",M.style.fontWeight=a.config.legend.fontWeight,M.style.fontFamily=r||a.config.chart.fontFamily,Ia.setAttrs(M,{rel:t+1,i:t,"data:default-text":encodeURIComponent(l),"data:collapsed":u||d}),f.appendChild(p),f.appendChild(M);var y=new Ea(e.ctx);a.config.legend.showForZeroSeries||0===y.getSeriesTotalByIndex(t)&&y.seriesHaveSameValues(t)&&!y.isSeriesNull(t)&&-1===a.globals.collapsedSeriesIndices.indexOf(t)&&-1===a.globals.ancillaryCollapsedSeriesIndices.indexOf(t)&&f.classList.add("apexcharts-hidden-zero-series"),a.config.legend.showForNullSeries||y.isSeriesNull(t)&&-1===a.globals.collapsedSeriesIndices.indexOf(t)&&-1===a.globals.ancillaryCollapsedSeriesIndices.indexOf(t)&&f.classList.add("apexcharts-hidden-null-series"),c.length?a.globals.seriesGroups.forEach((function(e,r){var n;e.includes(null===(n=a.config.series[t])||void 0===n?void 0:n.name)&&(a.globals.dom.elLegendWrap.appendChild(c[r]),c[r].appendChild(f))})):a.globals.dom.elLegendWrap.appendChild(f),a.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(a.config.legend.horizontalAlign)),a.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+a.config.legend.position),f.classList.add("apexcharts-legend-series"),f.style.margin="".concat(a.config.legend.itemMargin.vertical,"px ").concat(a.config.legend.itemMargin.horizontal,"px"),a.globals.dom.elLegendWrap.style.width=a.config.legend.width?a.config.legend.width+"px":"",a.globals.dom.elLegendWrap.style.height=a.config.legend.height?a.config.legend.height+"px":"",Ia.setAttrs(f,{rel:t+1,seriesName:b.escapeString(n[t]),"data:collapsed":u||d}),(u||d)&&f.classList.add("apexcharts-inactive-legend"),a.config.legend.onItemClick.toggleDataSeries||f.classList.add("apexcharts-no-click")},d=l?n.length-1:0;l?d>=0:d<=n.length-1;l?d--:d++)u(d);a.globals.dom.elWrap.addEventListener("click",t.onLegendClick,!0),a.config.legend.onItemHover.highlightDataSeries&&0===a.config.legend.customLegendItems.length&&(a.globals.dom.elWrap.addEventListener("mousemove",t.onLegendHovered,!0),a.globals.dom.elWrap.addEventListener("mouseout",t.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var a=this.w,r=a.globals.dom.elLegendWrap,n=r.clientHeight,i=0,s=0;if("bottom"===a.config.legend.position)s=a.globals.svgHeight-Math.min(n,a.globals.svgHeight/2)-5;else if("top"===a.config.legend.position){var o=new pr(this.ctx),l=o.dimHelpers.getTitleSubtitleCoords("title").height,c=o.dimHelpers.getTitleSubtitleCoords("subtitle").height;s=(l>0?l-10:0)+(c>0?c-10:0)}r.style.position="absolute",i=i+e+a.config.legend.offsetX,s=s+t+a.config.legend.offsetY,r.style.left=i+"px",r.style.top=s+"px","right"===a.config.legend.position&&(r.style.left="auto",r.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach((function(e){r.style[e]&&(r.style[e]=parseInt(a.config.legend[e],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new pr(this.ctx),a=t.dimHelpers.getTitleSubtitleCoords("title"),r=t.dimHelpers.getTitleSubtitleCoords("subtitle"),n=0;"top"===e.config.legend.position&&(n=a.height+r.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,n)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),a=0;"left"===e.config.legend.position&&(a=20),"right"===e.config.legend.position&&(a=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,a=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(a){var r=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,r,this.w]),new Xa(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&a&&new Xa(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 a=parseInt(e.target.getAttribute("rel"),10)-1,r="true"===e.target.getAttribute("data:collapsed"),n=this.w.config.chart.events.legendClick;"function"==typeof n&&n(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var i=this.w.config.legend.markers.onClick;"function"==typeof i&&e.target.classList.contains("apexcharts-legend-marker")&&(i(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),"treemap"!==t.config.chart.type&&"heatmap"!==t.config.chart.type&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,r)}}}]),e}(),hr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w;var a=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=a.globals.minX,this.maxX=a.globals.maxX}return o(e,[{key:"createToolbar",value:function(){var e=this,t=this.w,a=function(){return document.createElement("div")},r=a();if(r.setAttribute("class","apexcharts-toolbar"),r.style.top=t.config.chart.toolbar.offsetY+"px",r.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(r),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var n=0;n<this.t.customIcons.length;n++)this.elCustomIcons.push(a());var i=[],s=function(a,r,n){var s=a.toLowerCase();e.t[s]&&t.config.chart.zoom.enabled&&i.push({el:r,icon:"string"==typeof e.t[s]?e.t[s]:n,title:e.localeValues[a],class:"apexcharts-".concat(s,"-icon")})};s("zoomIn",this.elZoomIn,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n'),s("zoomOut",this.elZoomOut,'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n');var o=function(a){e.t[a]&&t.config.chart[a].enabled&&i.push({el:"zoom"===a?e.elZoom:e.elSelection,icon:"string"==typeof e.t[a]?e.t[a]:"zoom"===a?'<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n    <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>\n    <path d="M0 0h24v24H0V0z" fill="none"/>\n    <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>\n</svg>':'<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n    <path d="M0 0h24v24H0z" fill="none"/>\n    <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>\n</svg>',title:e.localeValues["zoom"===a?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(a,"-icon")})};o("zoom"),o("selection"),this.t.pan&&t.config.chart.zoom.enabled&&i.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n    <defs>\n        <path d="M0 0h24v24H0z" id="a"/>\n    </defs>\n    <clipPath id="b">\n        <use overflow="visible" xlink:href="#a"/>\n    </clipPath>\n    <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>\n</svg>',title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),s("reset",this.elZoomReset,'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n    <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n    <path d="M0 0h24v24H0z" fill="none"/>\n</svg>'),this.t.download&&i.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l<this.elCustomIcons.length;l++)i.push({el:this.elCustomIcons[l],icon:this.t.customIcons[l].icon,title:this.t.customIcons[l].title,index:this.t.customIcons[l].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[l].class});i.forEach((function(e,t){e.index&&b.moveIndexInArray(i,t,e.index)}));for(var c=0;c<i.length;c++)Ia.setAttrs(i[c].el,{class:i[c].class,title:i[c].title}),i[c].el.innerHTML=i[c].icon,r.appendChild(i[c].el);this._createHamburgerMenu(r),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),Ia.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],a=0;a<t.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=t[a].title,Ia.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(t[a].name),title:t[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(t){t.classList.contains("exportSVG")?t.addEventListener("click",e.handleDownload.bind(e,"svg")):t.classList.contains("exportPNG")?t.addEventListener("click",e.handleDownload.bind(e,"png")):t.classList.contains("exportCSV")&&t.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var a="selection"===e?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,r="selection"===e?"selectionEnabled":"zoomEnabled";t.w.globals[r]=!t.w.globals[r],a.classList.contains(t.ctx.toolbar.selectedClass)?a.classList.remove(t.ctx.toolbar.selectedClass):a.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),"pan"===e?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t="pan"===e?this.elPan:this.elZoom,a="pan"===e?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(t){t&&t.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,a=(this.minX+t)/2,r=(this.maxX+t)/2,n=this._getNewMinXMaxX(a,r);e.globals.disableZoomIn||this.zoomUpdateOptions(n.minX,n.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!("datetime"===e.config.xaxis.type&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,a=this.minX-(t-this.minX),r=this.maxX-(t-this.maxX),n=this._getNewMinXMaxX(a,r);e.globals.disableZoomOut||this.zoomUpdateOptions(n.minX,n.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(e):e,maxX:a?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var a=this.w;if(void 0!==e||void 0!==t){if(!(a.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=a.globals.dataPoints),t-e<2))){var r={min:e,max:t},n=this.getBeforeZoomRange(r);n&&(r=n.xaxis);var i={xaxis:r},s=b.clone(a.globals.initialConfig.yaxis);a.config.chart.group||(i.yaxis=s),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(i,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(r,s)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t})}},{key:"getBeforeZoomRange",value:function(e,t){var a=null;return"function"==typeof this.ev.beforeZoom&&(a=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),a}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,a=new qa(this.ctx);switch(e){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(e){var t=e.w;if(t.globals.lastXAxis.min=t.globals.initialConfig.xaxis.min,t.globals.lastXAxis.max=t.globals.initialConfig.xaxis.max,e.updateHelpers.revertDefaultAxisMinMax(),"function"==typeof t.config.chart.events.beforeResetZoom){var a=t.config.chart.events.beforeResetZoom(e,t);a&&e.updateHelpers.revertDefaultAxisMinMax(a)}"function"==typeof t.config.chart.events.zoomed&&e.ctx.toolbar.zoomCallback({min:t.config.xaxis.min,max:t.config.xaxis.max}),t.globals.zoomed=!1;var r=e.ctx.series.emptyCollapsedSeries(b.clone(t.globals.initialSeries));e.updateHelpers._updateSeries(r,t.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),e}(),yr=function(){m(t,hr);var e=c(t);function t(a){var r;return i(this,t),(r=e.call(this,a)).ctx=a,r.w=a.w,r.dragged=!1,r.graphics=new Ia(r.ctx),r.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend","wheel"],r.clientX=0,r.clientY=0,r.startX=0,r.endX=0,r.dragX=0,r.startY=0,r.endY=0,r.dragY=0,r.moveDirection="none",r.debounceTimer=null,r.debounceDelay=100,r.wheelDelay=400,r}return o(t,[{key:"init",value:function(e){var t=this,a=e.xyRatios,r=this.w,n=this;this.xyRatios=a,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=r.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.constraints=new ve(0,0,r.globals.gridWidth,r.globals.gridHeight),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),r.globals.dom.Paper.add(this.zoomRect),r.globals.dom.Paper.add(this.selectionRect),"x"===r.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:r.globals.gridWidth,maxY:r.globals.gridHeight}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):"y"===r.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:r.globals.gridWidth}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=r.globals.dom.baseEl.querySelector("".concat(r.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(e){t.hoverArea.addEventListener(e,n.svgMouseEvents.bind(n,a),{capture:!1,passive:!0})})),r.config.chart.zoom.enabled&&r.config.chart.zoom.allowMouseWheelZoom&&this.hoverArea.addEventListener("wheel",n.mouseWheelEvent.bind(n),{capture:!1,passive:!1})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(e,t){var a=this.w,r=this.ctx.toolbar,n=a.globals.zoomEnabled?a.config.chart.zoom.type:a.config.chart.selection.type,i=a.config.chart.toolbar.autoSelected;if(t.shiftKey?(this.shiftWasPressed=!0,r.enableZoomPanFromToolbar("pan"===i?"zoom":"pan")):this.shiftWasPressed&&(r.enableZoomPanFromToolbar(i),this.shiftWasPressed=!1),t.target){var s,o=t.target.classList;if(t.target.parentNode&&null!==t.target.parentNode&&(s=t.target.parentNode.classList),!(o.contains("apexcharts-legend-marker")||o.contains("apexcharts-legend-text")||s&&s.contains("apexcharts-toolbar"))){if(this.clientX="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientX:"touchend"===t.type?t.changedTouches[0].clientX:t.clientX,this.clientY="touchmove"===t.type||"touchstart"===t.type?t.touches[0].clientY:"touchend"===t.type?t.changedTouches[0].clientY:t.clientY,"mousedown"===t.type&&1===t.which||"touchstart"===t.type){var l=this.gridRect.getBoundingClientRect();this.startX=this.clientX-l.left-a.globals.barPadForNumericAxis,this.startY=this.clientY-l.top,this.dragged=!1,this.w.globals.mousedown=!0}("mousemove"===t.type&&1===t.which||"touchmove"===t.type)&&(this.dragged=!0,a.globals.panEnabled?(a.globals.selection=null,this.w.globals.mousedown&&this.panDragging({context:this,zoomtype:n,xyRatios:e})):(this.w.globals.mousedown&&a.globals.zoomEnabled||this.w.globals.mousedown&&a.globals.selectionEnabled)&&(this.selection=this.selectionDrawing({context:this,zoomtype:n}))),"mouseup"!==t.type&&"touchend"!==t.type&&"mouseleave"!==t.type||this.handleMouseUp({zoomtype:n}),this.makeSelectionRectDraggable()}}}},{key:"handleMouseUp",value:function(e){var t,a=e.zoomtype,r=e.isResized,n=this.w,i=null===(t=this.gridRect)||void 0===t?void 0:t.getBoundingClientRect();i&&(this.w.globals.mousedown||r)&&(this.endX=this.clientX-i.left-n.globals.barPadForNumericAxis,this.endY=this.clientY-i.top,this.dragX=Math.abs(this.endX-this.startX),this.dragY=Math.abs(this.endY-this.startY),(n.globals.zoomEnabled||n.globals.selectionEnabled)&&this.selectionDrawn({context:this,zoomtype:a}),n.globals.panEnabled&&n.config.xaxis.convertedCatToNumeric&&this.delayedPanScrolled()),n.globals.zoomEnabled&&this.hideSelectionRect(this.selectionRect),this.dragged=!1,this.w.globals.mousedown=!1}},{key:"mouseWheelEvent",value:function(e){var t=this,a=this.w;e.preventDefault();var r=Date.now();r-a.globals.lastWheelExecution>this.wheelDelay&&(this.executeMouseWheelZoom(e),a.globals.lastWheelExecution=r),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){r-a.globals.lastWheelExecution>t.wheelDelay&&(t.executeMouseWheelZoom(e),a.globals.lastWheelExecution=r)}),this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(e){var t,a=this.w;this.minX=a.globals.isRangeBar?a.globals.minY:a.globals.minX,this.maxX=a.globals.isRangeBar?a.globals.maxY:a.globals.maxX;var r=null===(t=this.gridRect)||void 0===t?void 0:t.getBoundingClientRect();if(r){var n,i,s,o=(e.clientX-r.left)/r.width,l=this.minX,c=this.maxX,u=c-l;if(e.deltaY<0){var d=l+o*u;i=d-(n=.5*u)/2,s=d+n/2}else i=l-(n=1.5*u)/2,s=c+n/2;if(!a.globals.isRangeBar){i=Math.max(i,a.globals.initialMinX),s=Math.min(s,a.globals.initialMaxX);var m=.01*(a.globals.initialMaxX-a.globals.initialMinX);if(s-i<m){var g=(i+s)/2;i=g-m/2,s=g+m/2}}var p=this._getNewMinXMaxX(i,s);isNaN(p.minX)||isNaN(p.maxX)||this.zoomUpdateOptions(p.minX,p.maxX)}}},{key:"makeSelectionRectDraggable",value:function(){var e=this,t=this.w;if(this.selectionRect){var a=this.selectionRect.node.getBoundingClientRect();a.width>0&&a.height>0&&(this.selectionRect.select(!1).resize(!1),this.selectionRect.select({createRot:function(){},updateRot:function(){},createHandle:function(e,t,a,r,n){return"l"===n||"r"===n?e.circle(8).css({"stroke-width":1,stroke:"#333",fill:"#fff"}):e.circle(0)},updateHandle:function(e,t){return e.center(t[0],t[1])}}).resize().on("resize",(function(){var a=t.globals.zoomEnabled?t.config.chart.zoom.type:t.config.chart.selection.type;e.handleMouseUp({zoomtype:a,isResized:!0})})))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(f(f({},e.globals.selection),{},{translateX:e.globals.translateX,translateY:e.globals.translateY}));else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var a=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,r=e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-a;e.globals.isRangeBar&&(a=(e.config.chart.selection.xaxis.min-e.globals.yAxisScale[0].niceMin)/t.invertedYRatio,r=(e.config.chart.selection.xaxis.max-e.config.chart.selection.xaxis.min)/t.invertedYRatio);var n={x:a,y:0,width:r,height:e.globals.gridHeight,translateX:e.globals.translateX,translateY:e.globals.translateY,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,a=e.y,r=e.width,n=e.height,i=e.translateX,s=void 0===i?0:i,o=e.translateY,l=void 0===o?0:o,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var m={transform:"translate("+s+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(r<0&&(r=1),u.attr({x:t,y:a,width:r,height:n,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),Ia.setAttrs(u.node,m)),c.globals.selectionEnabled&&(d.attr({x:t,y:a,width:r>0?r:0,height:n>0?n:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),Ia.setAttrs(d.node,m))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t=e.context,a=e.zoomtype,r=this.w,n=t,i=this.gridRect.getBoundingClientRect(),s=n.startX-1,o=n.startY,l=!1,c=!1,u=n.clientX-i.left-r.globals.barPadForNumericAxis,d=n.clientY-i.top,m=u-s,g=d-o,p={translateX:r.globals.translateX,translateY:r.globals.translateY};return Math.abs(m+s)>r.globals.gridWidth?m=r.globals.gridWidth-s:u<0&&(m=s),s>u&&(l=!0,m=Math.abs(m)),o>d&&(c=!0,g=Math.abs(g)),p=f(f({},p="x"===a?{x:l?s-m:s,y:0,width:m,height:r.globals.gridHeight}:"y"===a?{x:0,y:c?o-g:o,width:r.globals.gridWidth,height:g}:{x:l?s-m:s,y:c?o-g:o,width:m,height:g}),{},{translateX:r.globals.translateX,translateY:r.globals.translateY}),n.drawSelectionRect(p),n.selectionDragging("resizing"),p}},{key:"selectionDragging",value:function(e,t){var a=this,r=this.w;if(t){t.preventDefault();var n=t.detail,i=n.handler,s=n.box,o=s.x,l=s.y;o<this.constraints.x&&(o=this.constraints.x),l<this.constraints.y&&(l=this.constraints.y),s.x2>this.constraints.x2&&(o=this.constraints.x2-s.w),s.y2>this.constraints.y2&&(l=this.constraints.y2-s.h),i.move(o,l);var c=this.xyRatios,u=this.selectionRect,d=0;"resizing"===e&&(d=30);var m=function(e){return parseFloat(u.node.getAttribute(e))},g={x:m("x"),y:m("y"),width:m("width"),height:m("height")};r.globals.selection=g,"function"==typeof r.config.chart.events.selection&&r.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var e,t,n,i,s=a.gridRect.getBoundingClientRect(),o=u.node.getBoundingClientRect();r.globals.isRangeBar?(e=r.globals.yAxisScale[0].niceMin+(o.left-s.left)*c.invertedYRatio,t=r.globals.yAxisScale[0].niceMin+(o.right-s.left)*c.invertedYRatio,n=0,i=1):(e=r.globals.xAxisScale.niceMin+(o.left-s.left)*c.xRatio,t=r.globals.xAxisScale.niceMin+(o.right-s.left)*c.xRatio,n=r.globals.yAxisScale[0].niceMin+(s.bottom-o.bottom)*c.yRatio[0],i=r.globals.yAxisScale[0].niceMax-(o.top-s.top)*c.yRatio[0]);var l={xaxis:{min:e,max:t},yaxis:{min:n,max:i}};r.config.chart.events.selection(a.ctx,l),r.config.chart.brush.enabled&&void 0!==r.config.chart.events.brushScrolled&&r.config.chart.events.brushScrolled(a.ctx,l)}),d))}}},{key:"selectionDrawn",value:function(e){var t,a,r=e.context,n=e.zoomtype,i=this.w,s=r,o=this.xyRatios,l=this.ctx.toolbar,c=i.globals.zoomEnabled?s.zoomRect.node.getBoundingClientRect():s.selectionRect.node.getBoundingClientRect(),u=s.gridRect.getBoundingClientRect(),d=c.left-u.left-i.globals.barPadForNumericAxis,m=c.right-u.left-i.globals.barPadForNumericAxis,g=c.top-u.top,p=c.bottom-u.top;i.globals.isRangeBar?(t=i.globals.yAxisScale[0].niceMin+d*o.invertedYRatio,a=i.globals.yAxisScale[0].niceMin+m*o.invertedYRatio):(t=i.globals.xAxisScale.niceMin+d*o.xRatio,a=i.globals.xAxisScale.niceMin+m*o.xRatio);var f=[],M=[];if(i.config.yaxis.forEach((function(e,t){var a=i.globals.seriesYAxisMap[t][0],r=i.globals.yAxisScale[t].niceMax-o.yRatio[a]*g,n=i.globals.yAxisScale[t].niceMax-o.yRatio[a]*p;f.push(r),M.push(n)})),s.dragged&&(s.dragX>10||s.dragY>10)&&t!==a)if(i.globals.zoomEnabled){var h=b.clone(i.globals.initialConfig.yaxis),y=b.clone(i.globals.initialConfig.xaxis);if(i.globals.zoomed=!0,i.config.xaxis.convertedCatToNumeric&&(t=Math.floor(t),a=Math.floor(a),t<1&&(t=1,a=i.globals.dataPoints),a-t<2&&(a=t+1)),"xy"!==n&&"x"!==n||(y={min:t,max:a}),"xy"!==n&&"y"!==n||h.forEach((function(e,t){h[t].min=M[t],h[t].max=f[t]})),l){var N=l.getBeforeZoomRange(y,h);N&&(y=N.xaxis?N.xaxis:y,h=N.yaxis?N.yaxis:h)}var w={xaxis:y};i.config.chart.group||(w.yaxis=h),s.ctx.updateHelpers._updateOptions(w,!1,s.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof i.config.chart.events.zoomed&&l.zoomCallback(y,h)}else if(i.globals.selectionEnabled){var x,D=null;x={min:t,max:a},"xy"!==n&&"y"!==n||(D=b.clone(i.config.yaxis)).forEach((function(e,t){D[t].min=M[t],D[t].max=f[t]})),i.globals.selection=s.selection,"function"==typeof i.config.chart.events.selection&&i.config.chart.events.selection(s.ctx,{xaxis:x,yaxis:D})}}},{key:"panDragging",value:function(e){var t=e.context,a=this.w,r=t;if(void 0!==a.globals.lastClientPosition.x){var n=a.globals.lastClientPosition.x-r.clientX,i=a.globals.lastClientPosition.y-r.clientY;Math.abs(n)>Math.abs(i)&&n>0?this.moveDirection="left":Math.abs(n)>Math.abs(i)&&n<0?this.moveDirection="right":Math.abs(i)>Math.abs(n)&&i>0?this.moveDirection="up":Math.abs(i)>Math.abs(n)&&i<0&&(this.moveDirection="down")}a.globals.lastClientPosition={x:r.clientX,y:r.clientY};var s=a.globals.isRangeBar?a.globals.minY:a.globals.minX,o=a.globals.isRangeBar?a.globals.maxY:a.globals.maxX;a.config.xaxis.convertedCatToNumeric||r.panScrolled(s,o)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,a=e.globals.maxX,r=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+r,a=e.globals.maxX+r):"right"===this.moveDirection&&(t=e.globals.minX-r,a=e.globals.maxX-r),t=Math.floor(t),a=Math.floor(a),this.updateScrolledChart({xaxis:{min:t,max:a}},t,a)}},{key:"panScrolled",value:function(e,t){var a=this.w,r=this.xyRatios,n=b.clone(a.globals.initialConfig.yaxis),i=r.xRatio,s=a.globals.minX,o=a.globals.maxX;a.globals.isRangeBar&&(i=r.invertedYRatio,s=a.globals.minY,o=a.globals.maxY),"left"===this.moveDirection?(e=s+a.globals.gridWidth/15*i,t=o+a.globals.gridWidth/15*i):"right"===this.moveDirection&&(e=s-a.globals.gridWidth/15*i,t=o-a.globals.gridWidth/15*i),a.globals.isRangeBar||(e<a.globals.initialMinX||t>a.globals.initialMaxX)&&(e=s,t=o);var l={xaxis:{min:e,max:t}};a.config.chart.group||(l.yaxis=n),this.updateScrolledChart(l,e,t)}},{key:"updateScrolledChart",value:function(e,t,a){var r=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof r.config.chart.events.scrolled&&r.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:a}})}}]),t}(),Nr=function(){function e(t){i(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return o(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,a=e.elGrid,r=e.clientX,n=e.clientY,i=this.w,s=a.getBoundingClientRect(),o=s.width,l=s.height,c=o/(i.globals.dataPoints-1),u=l/i.globals.dataPoints,d=this.hasBars();!i.globals.comboCharts&&!d||i.config.xaxis.convertedCatToNumeric||(c=o/i.globals.dataPoints);var m=r-s.left-i.globals.barPadForNumericAxis,g=n-s.top;m<0||g<0||m>o||g>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):i.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):i.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var p=Math.round(m/c),f=Math.floor(g/u);d&&!i.config.xaxis.convertedCatToNumeric&&(p=Math.ceil(m/c),p-=1);var M=null,h=null,y=i.globals.seriesXvalues.map((function(e){return e.filter((function(e){return b.isNumber(e)}))})),N=i.globals.seriesYvalues.map((function(e){return e.filter((function(e){return b.isNumber(e)}))}));if(i.globals.isXNumeric){var w=this.ttCtx.getElGrid().getBoundingClientRect(),x=m*(w.width/o),D=g*(w.height/l);M=(h=this.closestInMultiArray(x,D,y,N)).index,p=h.j,null!==M&&i.globals.hasNullValues&&(y=i.globals.seriesXvalues[M],p=(h=this.closestInArray(x,y)).j)}return i.globals.capturedSeriesIndex=null===M?-1:M,(!p||p<1)&&(p=0),i.globals.isBarHorizontal?i.globals.capturedDataPointIndex=f:i.globals.capturedDataPointIndex=p,{capturedSeries:M,j:i.globals.isBarHorizontal?f:p,hoverX:m,hoverY:g}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,a=0,r=e.map((function(e,t){return e.length>0?t:-1})),n=0;n<r.length;n++)if(-1!==r[n]&&-1===t.globals.collapsedSeriesIndices.indexOf(n)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(n)){a=r[n];break}return a}},{key:"closestInMultiArray",value:function(e,t,a,r){for(var n,i=this.w,s=1/0,o=null,l=null,c=0;c<a.length;c++)if(n=c,-1===i.globals.collapsedSeriesIndices.indexOf(n)&&-1===i.globals.ancillaryCollapsedSeriesIndices.indexOf(n))for(var u=a[c],d=r[c],m=Math.min(u.length,d.length),g=0;g<m;g++){var p=e-u[g],f=Math.sqrt(p*p);if(!i.globals.allSeriesHasEqualX){var M=t-d[g];f=Math.sqrt(p*p+M*M)}f<s&&(s=f,o=c,l=g)}return{index:o,j:l}}},{key:"closestInArray",value:function(e,t){for(var a=t[0],r=null,n=Math.abs(e-a),i=0;i<t.length;i++){var s=Math.abs(e-t[i]);s<n&&(n=s,r=i)}return{j:r}}},{key:"isXoverlap",value:function(e){var t=[],a=this.w.globals.seriesX.filter((function(e){return void 0!==e[0]}));if(a.length>0)for(var r=0;r<a.length-1;r++)void 0!==a[r][e]&&void 0!==a[r+1][e]&&a[r][e]!==a[r+1][e]&&t.push("unEqual");return 0===t.length}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,a=0;a<t.length-1;a++)if(t[a].data.length!==t[a+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return y(e).reduce((function(e,t){return e+t.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return"number"==typeof e?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");a=y(a),t&&(a=a.filter((function(t){var a=Number(t.getAttribute("data:realIndex"));return-1===e.w.globals.collapsedSeriesIndices.indexOf(a)}))),a.sort((function(e,t){var a=Number(e.getAttribute("data:realIndex")),r=Number(t.getAttribute("data:realIndex"));return r<a?1:r>a?-1:0}));var r=[];return a.forEach((function(e){r.push(e.querySelector(".apexcharts-marker"))})),r}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var a=Number(e.getAttribute("cx")),r=Number(e.getAttribute("cy")),n=e.getAttribute("shape");return new Ia(this.ctx).getMarkerPath(a,r,n,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,a=t.config.markers.hover.size;return void 0===a&&(a=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,a=this.ttCtx;0===a.allTooltipSeriesGroups.length&&(a.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var r=a.allTooltipSeriesGroups,n=0;n<r.length;n++)"enable"===e?(r[n].classList.add("apexcharts-active"),r[n].style.display=t.config.tooltip.items.display):(r[n].classList.remove("apexcharts-active"),r[n].style.display="none")}}]),e}(),wr=function(){function e(t){i(this,e),this.w=t.w,this.ctx=t.ctx,this.ttCtx=t,this.tooltipUtil=new Nr(t)}return o(e,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,a=void 0===t||t,r=e.ttItems,n=e.i,i=void 0===n?0:n,s=e.j,o=void 0===s?null:s,l=e.y1,c=e.y2,u=e.e,d=this.w;void 0!==d.config.tooltip.custom?this.handleCustomTooltip({i,j:o,y1:l,y2:c,w:d}):this.toggleActiveInactiveSeries(a,i);var m=this.getValuesToPrint({i,j:o});this.printLabels({i,j:o,values:m,ttItems:r,shared:a,e:u});var g=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=g.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=g.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,a=this,r=e.i,n=e.j,i=e.values,s=e.ttItems,o=e.shared,l=e.e,c=this.w,u=[],d=function(e){return c.globals.seriesGoals[e]&&c.globals.seriesGoals[e][n]&&Array.isArray(c.globals.seriesGoals[e][n])},m=i.xVal,g=i.zVal,p=i.xAxisTTVal,M="",h=c.globals.colors[r];null!==n&&c.config.plotOptions.bar.distributed&&(h=c.globals.colors[n]);for(var y=function(e,i){var y=a.getFormatters(r);M=a.getSeriesName({fn:y.yLbTitleFormatter,index:r,seriesIndex:r,j:n}),"treemap"===c.config.chart.type&&(M=y.yLbTitleFormatter(String(c.config.series[r].data[n].x),{series:c.globals.series,seriesIndex:r,dataPointIndex:n,w:c}));var N=c.config.tooltip.inverseOrder?i:e;if(c.globals.axisCharts){var w=function(e){var t,a,r,i;return c.globals.isRangeData?y.yLbFormatter(null===(t=c.globals.seriesRangeStart)||void 0===t||null===(a=t[e])||void 0===a?void 0:a[n],{series:c.globals.seriesRangeStart,seriesIndex:e,dataPointIndex:n,w:c})+" - "+y.yLbFormatter(null===(r=c.globals.seriesRangeEnd)||void 0===r||null===(i=r[e])||void 0===i?void 0:i[n],{series:c.globals.seriesRangeEnd,seriesIndex:e,dataPointIndex:n,w:c}):y.yLbFormatter(c.globals.series[e][n],{series:c.globals.series,seriesIndex:e,dataPointIndex:n,w:c})};if(o)y=a.getFormatters(N),M=a.getSeriesName({fn:y.yLbTitleFormatter,index:N,seriesIndex:r,j:n}),h=c.globals.colors[N],t=w(N),d(N)&&(u=c.globals.seriesGoals[N][n].map((function(e){return{attrs:e,val:y.yLbFormatter(e.value,{seriesIndex:N,dataPointIndex:n,w:c})}})));else{var x,b=null==l||null===(x=l.target)||void 0===x?void 0:x.getAttribute("fill");b&&(-1!==b.indexOf("url")?-1!==b.indexOf("Pattern")&&(h=c.globals.dom.baseEl.querySelector(b.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke")):h=b),t=w(r),d(r)&&Array.isArray(c.globals.seriesGoals[r][n])&&(u=c.globals.seriesGoals[r][n].map((function(e){return{attrs:e,val:y.yLbFormatter(e.value,{seriesIndex:r,dataPointIndex:n,w:c})}})))}}null===n&&(t=y.yLbFormatter(c.globals.series[r],f(f({},c),{},{seriesIndex:r,dataPointIndex:r}))),a.DOMHandling({i:r,t:N,j:n,ttItems:s,values:{val:t,goalVals:u,xVal:m,xAxisTTVal:p,zVal:g},seriesName:M,shared:o,pColor:h})},N=0,w=c.globals.series.length-1;N<c.globals.series.length;N++,w--)y(N,w)}},{key:"getFormatters",value:function(e){var t,a=this.w,r=a.globals.yLabelFormatters[e];return void 0!==a.globals.ttVal?Array.isArray(a.globals.ttVal)?(r=a.globals.ttVal[e]&&a.globals.ttVal[e].formatter,t=a.globals.ttVal[e]&&a.globals.ttVal[e].title&&a.globals.ttVal[e].title.formatter):(r=a.globals.ttVal.formatter,"function"==typeof a.globals.ttVal.title.formatter&&(t=a.globals.ttVal.title.formatter)):t=a.config.tooltip.y.title.formatter,"function"!=typeof r&&(r=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(e){return e}),"function"!=typeof t&&(t=function(e){return e?e+": ":""}),{yLbFormatter:r,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,a=e.index,r=e.seriesIndex,n=e.j,i=this.w;return t(String(i.globals.seriesNames[a]),{series:i.globals.series,seriesIndex:r,dataPointIndex:n,w:i})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,a=e.j,r=e.ttItems,n=e.values,i=e.seriesName,s=e.shared,o=e.pColor,l=this.w,c=this.ttCtx,u=n.val,d=n.goalVals,m=n.xVal,g=n.xAxisTTVal,p=n.zVal,f=null;f=r[t].children,l.config.tooltip.fillSeriesColor&&(r[t].style.color=o,f[0].style.display="none"),c.showTooltipTitle&&(null===c.tooltipTitle&&(c.tooltipTitle=l.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),c.tooltipTitle.innerHTML=m),c.isXAxisTooltipEnabled&&(c.xaxisTooltipText.innerHTML=""!==g?g:m);var M=r[t].querySelector(".apexcharts-tooltip-text-y-label");M&&(M.innerHTML=i||"");var h=r[t].querySelector(".apexcharts-tooltip-text-y-value");h&&(h.innerHTML=void 0!==u?u:""),f[0]&&f[0].classList.contains("apexcharts-tooltip-marker")&&(l.config.tooltip.marker.fillColors&&Array.isArray(l.config.tooltip.marker.fillColors)&&(o=l.config.tooltip.marker.fillColors[t]),f[0].style.color=o),l.config.tooltip.marker.show||(f[0].style.display="none");var y=r[t].querySelector(".apexcharts-tooltip-text-goals-label"),N=r[t].querySelector(".apexcharts-tooltip-text-goals-value");if(d.length&&l.globals.seriesGoals[t]){var w=function(){var e="<div>",t="<div>";d.forEach((function(a,r){e+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(a.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(a.attrs.name,"</div>"),t+="<div>".concat(a.val,"</div>")})),y.innerHTML=e+"</div>",N.innerHTML=t+"</div>"};s?l.globals.seriesGoals[t][a]&&Array.isArray(l.globals.seriesGoals[t][a])?w():(y.innerHTML="",N.innerHTML=""):w()}else y.innerHTML="",N.innerHTML="";if(null!==p&&(r[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,r[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==p?p:""),s&&f[0]){if(l.config.tooltip.hideEmptySeries){var x=r[t].querySelector(".apexcharts-tooltip-marker"),b=r[t].querySelector(".apexcharts-tooltip-text");0==parseFloat(u)?(x.style.display="none",b.style.display="none"):(x.style.display="block",b.style.display="block")}null==u||l.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||l.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(c.tConfig.enabledOnSeries)&&-1===c.tConfig.enabledOnSeries.indexOf(t)?f[0].parentNode.style.display="none":f[0].parentNode.style.display=l.config.tooltip.items.display}else Array.isArray(c.tConfig.enabledOnSeries)&&-1===c.tConfig.enabledOnSeries.indexOf(t)&&(f[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var a=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var r=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));r&&(r.classList.add("apexcharts-active"),r.style.display=a.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,a=e.j,r=this.w,n=this.ctx.series.filteredSeriesX(),i="",s="",o=null,l=null,c={series:r.globals.series,seriesIndex:t,dataPointIndex:a,w:r},u=r.globals.ttZFormatter;null===a?l=r.globals.series[t]:r.globals.isXNumeric&&"treemap"!==r.config.chart.type?(i=n[t][a],0===n[t].length&&(i=n[this.tooltipUtil.getFirstActiveXArray(n)][a])):i=new Ja(this.ctx).isFormatXY()?void 0!==r.config.series[t].data[a]?r.config.series[t].data[a].x:"":void 0!==r.globals.labels[a]?r.globals.labels[a]:"";var d=i;return i=r.globals.isXNumeric&&"datetime"===r.config.xaxis.type?new za(this.ctx).xLabelFormat(r.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new Aa(this.ctx).formatDate,w:this.w}):r.globals.isBarHorizontal?r.globals.yLabelFormatters[0](d,c):r.globals.xLabelFormatter(d,c),void 0!==r.config.tooltip.x.formatter&&(i=r.globals.ttKeyFormatter(d,c)),r.globals.seriesZ.length>0&&r.globals.seriesZ[t].length>0&&(o=u(r.globals.seriesZ[t][a],r)),s="function"==typeof r.config.xaxis.tooltip.formatter?r.globals.xaxisTooltipFormatter(d,c):i,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(i)?i.join(" "):i,xAxisTTVal:Array.isArray(s)?s.join(" "):s,zVal:o}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,a=e.j,r=e.y1,n=e.y2,i=e.w,s=this.ttCtx.getElTooltip(),o=i.config.tooltip.custom;Array.isArray(o)&&o[t]&&(o=o[t]);var l=o({ctx:this.ctx,series:i.globals.series,seriesIndex:t,dataPointIndex:a,y1:r,y2:n,w:i});"string"==typeof l?s.innerHTML=l:(l instanceof Element||"string"==typeof l.nodeName)&&(s.innerHTML="",s.appendChild(l.cloneNode(!0)))}}]),e}(),xr=function(){function e(t){i(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return o(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this.ttCtx,r=this.w,n=a.getElXCrosshairs(),i=e-a.xcrosshairsWidth/2,s=r.globals.labels.slice().length;if(null!==t&&(i=r.globals.gridWidth/s*t),null===n||r.globals.isBarHorizontal||(n.setAttribute("x",i),n.setAttribute("x1",i),n.setAttribute("x2",i),n.setAttribute("y2",r.globals.gridHeight),n.classList.add("apexcharts-active")),i<0&&(i=0),i>r.globals.gridWidth&&(i=r.globals.gridWidth),a.isXAxisTooltipEnabled){var o=i;"tickWidth"!==r.config.xaxis.crosshairs.width&&"barWidth"!==r.config.xaxis.crosshairs.width||(o=i+a.xcrosshairsWidth/2),this.moveXAxisTooltip(o)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&Ia.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&Ia.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;if(null!==a.xaxisTooltip&&0!==a.xcrosshairsWidth){a.xaxisTooltip.classList.add("apexcharts-active");var r,n=a.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;e-=a.xaxisTooltip.getBoundingClientRect().width/2,isNaN(e)||(e+=t.globals.translateX,r=new Ia(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=r.width+"px",a.xaxisTooltip.style.left=e+"px",a.xaxisTooltip.style.top=n+"px")}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;null===a.yaxisTTEls&&(a.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var r=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),n=t.globals.translateY+r,i=a.yaxisTTEls[e].getBoundingClientRect().height,s=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(s-=26),n-=i/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(a.yaxisTTEls[e].classList.add("apexcharts-active"),a.yaxisTTEls[e].style.top=n+"px",a.yaxisTTEls[e].style.left=s+t.config.yaxis[e].tooltip.offsetX+"px"):a.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,n=this.ttCtx,i=n.getElTooltip(),s=n.tooltipRect,o=null!==a?parseFloat(a):1,l=parseFloat(e)+o+5,c=parseFloat(t)+o/2;if(l>r.globals.gridWidth/2&&(l=l-s.ttWidth-o-10),l>r.globals.gridWidth-s.ttWidth-10&&(l=r.globals.gridWidth-s.ttWidth),l<-20&&(l=-20),r.config.tooltip.followCursor){var u=n.getElGrid().getBoundingClientRect();(l=n.e.clientX-u.left)>r.globals.gridWidth/2&&(l-=n.tooltipRect.ttWidth),(c=n.e.clientY+r.globals.translateY-u.top)>r.globals.gridHeight/2&&(c-=n.tooltipRect.ttHeight)}else r.globals.isBarHorizontal||s.ttHeight/2+c>r.globals.gridHeight&&(c=r.globals.gridHeight-s.ttHeight+r.globals.translateY);isNaN(l)||(l+=r.globals.translateX,i.style.left=l+"px",i.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var a=this.w,r=this.ttCtx;if(a.globals.markers.size[e]>0)for(var n=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),i=0;i<n.length;i++)parseInt(n[i].getAttribute("rel"),10)===t&&(r.marker.resetPointsSize(),r.marker.enlargeCurrentPoint(t,n[i]));else r.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var a,r,n,i,s=this.w,o=this.ttCtx,l=new Ia(this.ctx),c=s.globals.pointsArray,u=o.tooltipUtil.getHoverMarkerSize(t),d=s.config.series[t].type;if(!d||"column"!==d&&"candlestick"!==d&&"boxPlot"!==d){n=null===(a=c[t][e])||void 0===a?void 0:a[0],i=(null===(r=c[t][e])||void 0===r?void 0:r[1])||0;var m=s.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers path"));if(m&&i<s.globals.gridHeight&&i>0){var g=m.getAttribute("shape"),p=l.getMarkerPath(n,i,g,1.5*u);m.setAttribute("d",p)}this.moveXCrosshairs(n),o.fixedTooltip||this.moveTooltip(n,i,u)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,a=this.ttCtx,r=a.w,n=0,i=0,s=r.globals.pointsArray,o=new Xa(this.ctx),l=new Ia(this.ctx);t=o.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var c=a.tooltipUtil.getHoverMarkerSize(t);if(s[t]&&(n=s[t][e][0],i=s[t][e][1]),!isNaN(n)){var u=a.tooltipUtil.getAllMarkers();if(u.length)for(var d=0;d<r.globals.series.length;d++){var m=s[d];if(r.globals.comboCharts&&void 0===m&&u.splice(d,0,null),m&&m.length){var g=s[d][e][1],p=void 0;u[d].setAttribute("cx",n);var f=u[d].getAttribute("shape");if("rangeArea"===r.config.chart.type&&!r.globals.comboCharts){var M=e+r.globals.series[d].length;p=s[d][M][1],g-=Math.abs(g-p)/2}if(null!==g&&!isNaN(g)&&g<r.globals.gridHeight+c&&g+c>0){var h=l.getMarkerPath(n,g,f,c);u[d].setAttribute("d",h)}else u[d].setAttribute("d","")}}this.moveXCrosshairs(n),a.fixedTooltip||this.moveTooltip(n,i||r.globals.gridHeight,c)}}},{key:"moveStickyTooltipOverBars",value:function(e,t){var a=this.w,r=this.ttCtx,n=a.globals.columnSeries?a.globals.columnSeries.length:a.globals.series.length;a.config.chart.stacked&&(n=a.globals.barGroups.length);var i=n>=2&&n%2==0?Math.floor(n/2):Math.floor(n/2)+1;a.globals.isBarHorizontal&&(i=new Xa(this.ctx).getActiveConfigSeriesIndex("desc")+1);var s=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(i,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(i,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(i,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(i,"'] path[j='").concat(e,"']"));s||"number"!=typeof t||(s=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,"'],\n        .apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n        .apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"'],\n        .apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='").concat(t,"'] path[j='").concat(e,"']")));var o=s?parseFloat(s.getAttribute("cx")):0,l=s?parseFloat(s.getAttribute("cy")):0,c=s?parseFloat(s.getAttribute("barWidth")):0,u=r.getElGrid().getBoundingClientRect(),d=s&&(s.classList.contains("apexcharts-candlestick-area")||s.classList.contains("apexcharts-boxPlot-area"));a.globals.isXNumeric?(s&&!d&&(o-=n%2!=0?c/2:0),s&&d&&(o-=c/2)):a.globals.isBarHorizontal||(o=r.xAxisTicksPositions[e-1]+r.dataPointsDividedWidth/2,isNaN(o)&&(o=r.xAxisTicksPositions[e]-r.dataPointsDividedWidth/2)),a.globals.isBarHorizontal?l-=r.tooltipRect.ttHeight:a.config.tooltip.followCursor?l=r.e.clientY-u.top-r.tooltipRect.ttHeight/2:l+r.tooltipRect.ttHeight+15>a.globals.gridHeight&&(l=a.globals.gridHeight),a.globals.isBarHorizontal||this.moveXCrosshairs(o),r.fixedTooltip||this.moveTooltip(o,l||a.globals.gridHeight)}}]),e}(),br=function(){function e(t){i(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new xr(t)}return o(e,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new Ia(this.ctx),a=new Va(this.ctx),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");r=y(r),e.config.chart.stacked&&r.sort((function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))}));for(var n=0;n<r.length;n++){var i=r[n].querySelector(".apexcharts-series-markers-wrap");if(null!==i){var s=void 0,o="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));"line"!==e.config.chart.type&&"area"!==e.config.chart.type||e.globals.comboCharts||e.config.tooltip.intersect||(o+=" no-pointer-events");var l=a.getMarkerConfig({cssClass:o,seriesIndex:Number(i.getAttribute("data:realIndex"))});(s=t.drawMarker(0,0,l)).node.setAttribute("default-marker-size",0);var c=document.createElementNS(e.globals.SVGNS,"g");c.classList.add("apexcharts-series-markers"),c.appendChild(s.node),i.appendChild(c)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=this.w;"bubble"!==n.config.chart.type&&this.newPointSize(e,t);var i=t.getAttribute("cx"),s=t.getAttribute("cy");if(null!==a&&null!==r&&(i=a,s=r),this.tooltipPosition.moveXCrosshairs(i),!this.fixedTooltip){if("radar"===n.config.chart.type){var o=this.ttCtx.getElGrid().getBoundingClientRect();i=this.ttCtx.e.clientX-o.left}this.tooltipPosition.moveTooltip(i,s,n.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,a=this,r=this.ttCtx,n=e,i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),s=t.config.markers.hover.size,o=0;o<i.length;o++){var l=i[o].getAttribute("rel"),c=i[o].getAttribute("index");if(void 0===s&&(s=t.globals.markers.size[c]+t.config.markers.hover.sizeOffset),n===parseInt(l,10)){a.newPointSize(n,i[o]);var u=i[o].getAttribute("cx"),d=i[o].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(u),r.fixedTooltip||a.tooltipPosition.moveTooltip(u,d,s)}else a.oldPointSize(i[o])}}},{key:"newPointSize",value:function(e,t){var a=this.w,r=a.config.markers.hover.size,n=0===e?t.parentNode.firstChild:t.parentNode.lastChild;if("0"!==n.getAttribute("default-marker-size")){var i=parseInt(n.getAttribute("index"),10);void 0===r&&(r=a.globals.markers.size[i]+a.config.markers.hover.sizeOffset),r<0&&(r=0);var s=this.ttCtx.tooltipUtil.getPathFromPoint(t,r);t.setAttribute("d",s)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size")),a=this.ttCtx.tooltipUtil.getPathFromPoint(e,t);e.setAttribute("d",a)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var a=parseFloat(e[t].getAttribute("default-marker-size"));if(b.isNumber(a)&&a>0){var r=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],a);e[t].setAttribute("d",r)}else e[t].setAttribute("d","M0,0")}}}]),e}(),Dr=function(){function e(t){i(this,e),this.w=t.w;var a=this.w;this.ttCtx=t,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&"rangeBar"===a.config.chart.type&&a.config.plotOptions.bar.rangeBarGroupRows}return o(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,a=e.opt,r=e.x,n=e.y,i=e.type,s=this.ttCtx,o=this.w;if(t.target.classList.contains("apexcharts-".concat(i,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),u=this.getAttr(t,"cx"),d=this.getAttr(t,"cy"),m=this.getAttr(t,"width"),g=this.getAttr(t,"height");if(s.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:l,j:c,shared:!1,e:t}),o.globals.capturedSeriesIndex=l,o.globals.capturedDataPointIndex=c,r=u+s.tooltipRect.ttWidth/2+m,n=d+s.tooltipRect.ttHeight/2-g/2,s.tooltipPosition.moveXCrosshairs(u+m/2),r>o.globals.gridWidth/2&&(r=u-s.tooltipRect.ttWidth/2+m),s.w.config.tooltip.followCursor){var p=o.globals.dom.elWrap.getBoundingClientRect();r=o.globals.clientX-p.left-(r>o.globals.gridWidth/2?s.tooltipRect.ttWidth:0),n=o.globals.clientY-p.top-(n>o.globals.gridHeight/2?s.tooltipRect.ttHeight:0)}}return{x:r,y:n}}},{key:"handleMarkerTooltip",value:function(e){var t,a,r=e.e,n=e.opt,i=e.x,s=e.y,o=this.w,l=this.ttCtx;if(r.target.classList.contains("apexcharts-marker")){var c=parseInt(n.paths.getAttribute("cx"),10),u=parseInt(n.paths.getAttribute("cy"),10),d=parseFloat(n.paths.getAttribute("val"));if(a=parseInt(n.paths.getAttribute("rel"),10),t=parseInt(n.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var m=b.findAncestor(n.paths,"apexcharts-series");m&&(t=parseInt(m.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:t,j:a,shared:!l.showOnIntersect&&o.config.tooltip.shared,e:r}),"mouseup"===r.type&&l.markerClick(r,t,a),o.globals.capturedSeriesIndex=t,o.globals.capturedDataPointIndex=a,i=c,s=u+o.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var g=l.getElGrid().getBoundingClientRect();s=l.e.clientY+o.globals.translateY-g.top}d<0&&(s=u),l.marker.enlargeCurrentPoint(a,n.paths,i,s)}return{x:i,y:s}}},{key:"handleBarTooltip",value:function(e){var t,a,r=e.e,n=e.opt,i=this.w,s=this.ttCtx,o=s.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:r,opt:n});if(null!==d.j||0!==d.barHeight||0!==d.barWidth){t=d.i;var m=d.j;if(i.globals.capturedSeriesIndex=t,i.globals.capturedDataPointIndex=m,i.globals.isBarHorizontal&&s.tooltipUtil.hasBars()||!i.config.tooltip.shared?(c=d.x,u=d.y,a=Array.isArray(i.config.stroke.width)?i.config.stroke.width[t]:i.config.stroke.width,l=c):i.globals.comboCharts||i.config.tooltip.shared||(l/=2),isNaN(u)&&(u=i.globals.svgHeight-s.tooltipRect.ttHeight),parseInt(n.paths.parentNode.getAttribute("data:realIndex"),10),c+s.tooltipRect.ttWidth>i.globals.gridWidth?c-=s.tooltipRect.ttWidth:c<0&&(c=0),s.w.config.tooltip.followCursor){var g=s.getElGrid().getBoundingClientRect();u=s.e.clientY-g.top}null===s.tooltip&&(s.tooltip=i.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),i.config.tooltip.shared||(i.globals.comboBarCount>0?s.tooltipPosition.moveXCrosshairs(l+a/2):s.tooltipPosition.moveXCrosshairs(l)),!s.fixedTooltip&&(!i.config.tooltip.shared||i.globals.isBarHorizontal&&s.tooltipUtil.hasBars())&&(u=u+i.globals.translateY-s.tooltipRect.ttHeight/2,o.style.left=c+i.globals.translateX+"px",o.style.top=u+"px")}}},{key:"getBarTooltipXY",value:function(e){var t=this,a=e.e,r=e.opt,n=this.w,i=null,s=this.ttCtx,o=0,l=0,c=0,u=0,d=0,m=a.target.classList;if(m.contains("apexcharts-bar-area")||m.contains("apexcharts-candlestick-area")||m.contains("apexcharts-boxPlot-area")||m.contains("apexcharts-rangebar-area")){var g=a.target,p=g.getBoundingClientRect(),f=r.elGrid.getBoundingClientRect(),M=p.height;d=p.height;var h=p.width,y=parseInt(g.getAttribute("cx"),10),N=parseInt(g.getAttribute("cy"),10);u=parseFloat(g.getAttribute("barWidth"));var w="touchmove"===a.type?a.touches[0].clientX:a.clientX;i=parseInt(g.getAttribute("j"),10),o=parseInt(g.parentNode.getAttribute("rel"),10)-1;var x=g.getAttribute("data-range-y1"),b=g.getAttribute("data-range-y2");n.globals.comboCharts&&(o=parseInt(g.parentNode.getAttribute("data:realIndex"),10));var D=function(e){return n.globals.isXNumeric?y-h/2:t.isVerticalGroupedRangeBar?y+h/2:y-s.dataPointsDividedWidth+h/2},j=function(){return N-s.dataPointsDividedHeight+M/2-s.tooltipRect.ttHeight/2};s.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:o,j:i,y1:x?parseInt(x,10):null,y2:b?parseInt(b,10):null,shared:!s.showOnIntersect&&n.config.tooltip.shared,e:a}),n.config.tooltip.followCursor?n.globals.isBarHorizontal?(l=w-f.left+15,c=j()):(l=D(),c=a.clientY-f.top-s.tooltipRect.ttHeight/2-15):n.globals.isBarHorizontal?((l=y)<s.xyRatios.baseLineInvertedY&&(l=y-s.tooltipRect.ttWidth),c=j()):(l=D(),c=N)}return{x:l,y:c,barHeight:d,barWidth:u,i:o,j:i}}}]),e}(),jr=function(){function e(t){i(this,e),this.w=t.w,this.ttCtx=t}return o(e,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,a="bottom"===e.config.xaxis.position;t.xaxisOffY=a?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var r=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",n=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&null===e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),n.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,a=0;a<e.config.yaxis.length;a++){var r=e.config.yaxis[a].opposite||e.config.yaxis[a].crosshairs.opposite;t.yaxisOffX=r?e.globals.gridWidth+1:1;var n="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a,r?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),i=e.globals.dom.elWrap;null===e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a))&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",n+" apexcharts-theme-"+e.config.tooltip.theme),i.appendChild(t.yaxisTooltip),0===a&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[a]=document.createElement("div"),t.yaxisTooltipText[a].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[a]))}}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,a=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var r=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==r&&"barWidth"===e.config.xaxis.crosshairs.width){var n=parseFloat(r.getAttribute("barWidth"));t.xcrosshairsWidth=n}else if("tickWidth"===e.config.xaxis.crosshairs.width){var i=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/i}}else if("tickWidth"===e.config.xaxis.crosshairs.width){var s=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/s}else if("barWidth"===e.config.xaxis.crosshairs.width){var o=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==o){var l=parseFloat(o.getAttribute("barWidth"));t.xcrosshairsWidth=l}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),null!==a&&t.xcrosshairsWidth>0&&a.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,a){var r=this.ttCtx,n=this.w,i=n.globals,s=i.seriesYAxisMap[e];if(r.yaxisTooltips[e]&&s.length>0){var o=i.yLabelFormatters[e],l=r.getElGrid().getBoundingClientRect(),c=s[0],u=0;a.yRatio.length>1&&(u=c);var d=(t-l.top)*a.yRatio[u],m=i.maxYArr[c]-i.minYArr[c],g=i.minYArr[c]+(m-d);n.config.yaxis[e].reversed&&(g=i.maxYArr[c]-(m-d)),r.tooltipPosition.moveYCrosshairs(t-l.top),r.yaxisTooltipText[e].innerHTML=o(g),r.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),vr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w;var a=this.w;this.tConfig=a.config.tooltip,this.tooltipUtil=new Nr(this),this.tooltipLabels=new wr(this),this.tooltipPosition=new xr(this),this.marker=new br(this),this.intersect=new Dr(this),this.axesTooltip=new jr(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=!a.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return o(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(e,a){return!!(e.show&&e.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&a.classList.add(t.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(a),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var r=new $a(this.ctx);this.xAxisTicksPositions=r.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==t.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var n=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(n=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(n),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,a=this.w,r=[],n=this.getElTooltip(),i=function(i){var s=document.createElement("div");s.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(i)),s.style.order=a.config.tooltip.inverseOrder?e-i:i+1;var o=document.createElement("span");o.classList.add("apexcharts-tooltip-marker"),o.style.color=a.globals.colors[i];var l=a.config.markers.shape,c=l;Array.isArray(l)&&(c=l[i]),o.setAttribute("shape",c),s.appendChild(o);var u=document.createElement("div");u.classList.add("apexcharts-tooltip-text"),u.style.fontFamily=t.tConfig.style.fontFamily||a.config.chart.fontFamily,u.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(e){var t=document.createElement("div");t.classList.add("apexcharts-tooltip-".concat(e,"-group"));var a=document.createElement("span");a.classList.add("apexcharts-tooltip-text-".concat(e,"-label")),t.appendChild(a);var r=document.createElement("span");r.classList.add("apexcharts-tooltip-text-".concat(e,"-value")),t.appendChild(r),u.appendChild(t)})),s.appendChild(u),n.appendChild(s),r.push(s)},s=0;s<e;s++)i(s);return r}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,a=this.getElTooltip(),r=!("bar"!==t&&"candlestick"!==t&&"boxPlot"!==t&&"rangeBar"!==t),n="area"===t||"line"===t||"scatter"===t||"bubble"===t||"radar"===t,i=e.globals.dom.Paper.node,s=this.getElGrid();s&&(this.seriesBound=s.getBoundingClientRect());var o,l=[],c=[],u={hoverArea:i,elGrid:s,tooltipEl:a,tooltipY:l,tooltipX:c,ttItems:this.ttItems};if(e.globals.axisCharts&&(n?o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):r?o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):"heatmap"!==t&&"treemap"!==t||(o=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),o&&o.length))for(var d=0;d<o.length;d++)l.push(o[d].getAttribute("cy")),c.push(o[d].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||r&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([i],u);else if(r&&!e.globals.comboCharts||n&&this.showOnIntersect)this.addDatapointEventsListeners(u);else if(!e.globals.axisCharts||"heatmap"===t||"treemap"===t){var m=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(m,u)}if(this.showOnIntersect){var g=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");g.length>0&&this.addPathsEventListeners(g,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),a=t.getBoundingClientRect(),r=a.width+10,n=a.height+10,i=this.tConfig.fixed.offsetX,s=this.tConfig.fixed.offsetY,o=this.tConfig.fixed.position.toLowerCase();return o.indexOf("right")>-1&&(i=i+e.globals.svgWidth-r+10),o.indexOf("bottom")>-1&&(s=s+e.globals.svgHeight-n-10),t.style.left=i+"px",t.style.top=s+"px",{x:i,y:s,ttWidth:r,ttHeight:n}}},{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 a=this,r=function(r){var n={paths:e[r],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(t){return e[r].addEventListener(t,a.onSeriesHover.bind(a,n),{capture:!1,passive:!0})}))},n=0;n<e.length;n++)r(n)}},{key:"onSeriesHover",value:function(e,t){var a=this,r=Date.now()-this.lastHoverTime;r>=20?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){a.seriesHover(e,t)}),20-r))}},{key:"seriesHover",value:function(e,t){var a=this;this.lastHoverTime=Date.now();var r=[],n=this.w;n.config.chart.group&&(r=this.ctx.getGroupedCharts()),n.globals.axisCharts&&(n.globals.minX===-1/0&&n.globals.maxX===1/0||0===n.globals.dataPoints)||(r.length?r.forEach((function(r){var n=a.getElTooltip(r),i={paths:e.paths,tooltipEl:n,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:r.w.globals.tooltip.ttItems};r.w.globals.minX===a.w.globals.minX&&r.w.globals.maxX===a.w.globals.maxX&&r.w.globals.tooltip.seriesHoverByContext({chartCtx:r,ttCtx:r.w.globals.tooltip,opt:i,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,a=e.ttCtx,r=e.opt,n=e.e,i=t.w,s=this.getElTooltip(t);s&&(a.tooltipRect={x:0,y:0,ttWidth:s.getBoundingClientRect().width,ttHeight:s.getBoundingClientRect().height},a.e=n,!a.tooltipUtil.hasBars()||i.globals.comboCharts||a.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new Xa(t).toggleSeriesOnHover(n,n.target.parentNode),a.fixedTooltip&&a.drawFixedTooltipRect(),i.globals.axisCharts?a.axisChartsTooltips({e:n,opt:r,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:n,opt:r,tooltipRect:a.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,a,r=e.e,n=e.opt,i=this.w,s=n.elGrid.getBoundingClientRect(),o="touchmove"===r.type?r.touches[0].clientX:r.clientX,l="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=l,this.clientX=o,i.globals.capturedSeriesIndex=-1,i.globals.capturedDataPointIndex=-1,l<s.top||l>s.top+s.height)this.handleMouseOut(n);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!i.config.tooltip.shared){var c=parseInt(n.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(n)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),m=[];i.config.chart.group&&(m=this.ctx.getSyncedCharts());var g=i.globals.xyCharts||"bar"===i.config.chart.type&&!i.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||i.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(i.globals.collapsedSeries.length+i.globals.ancillaryCollapsedSeries.length===i.globals.series.length)return;null!==d&&d.classList.add("apexcharts-active");var p=this.yaxisTooltips.filter((function(e){return!0===e}));if(null!==this.ycrosshairs&&p.length&&this.ycrosshairs.classList.add("apexcharts-active"),g&&!this.showOnIntersect||m.length>1)this.handleStickyTooltip(r,o,l,n);else if("heatmap"===i.config.chart.type||"treemap"===i.config.chart.type){var f=this.intersect.handleHeatTreeTooltip({e:r,opt:n,x:t,y:a,type:i.config.chart.type});t=f.x,a=f.y,u.style.left=t+"px",u.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:r,opt:n}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:r,opt:n,x:t,y:a});if(this.yaxisTooltips.length)for(var M=0;M<i.config.yaxis.length;M++)this.axesTooltip.drawYaxisTooltipText(M,l,this.xyRatios);i.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),n.tooltipEl.classList.add("apexcharts-active")}else"mouseout"!==r.type&&"touchend"!==r.type||this.handleMouseOut(n)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,a=e.opt,r=e.tooltipRect,n=this.w,i=a.paths.getAttribute("rel"),s=this.getElTooltip(),o=n.globals.dom.elWrap.getBoundingClientRect();if("mousemove"===t.type||"touchmove"===t.type){n.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),s.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(i,10)-1,shared:!1});var l=n.globals.clientX-o.left-r.ttWidth/2,c=n.globals.clientY-o.top-r.ttHeight-10;if(s.style.left=l+"px",s.style.top=c+"px",n.config.legend.tooltipHoverFormatter){var u=i-1,d=(0,n.config.legend.tooltipHoverFormatter)(this.legendLabels[u].getAttribute("data:default-text"),{seriesIndex:u,dataPointIndex:u,w:n});this.legendLabels[u].innerHTML=d}}else"mouseout"!==t.type&&"touchend"!==t.type||(s.classList.remove("apexcharts-active"),n.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),n.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)})))}},{key:"handleStickyTooltip",value:function(e,t,a,r){var n=this.w,i=this.tooltipUtil.getNearestValues({context:this,hoverArea:r.hoverArea,elGrid:r.elGrid,clientX:t,clientY:a}),s=i.j,o=i.capturedSeries;n.globals.collapsedSeriesIndices.includes(o)&&(o=null);var l=r.elGrid.getBoundingClientRect();if(i.hoverX<0||i.hoverX>l.width)this.handleMouseOut(r);else if(null!==o)this.handleStickyCapturedSeries(e,o,r,s);else if(this.tooltipUtil.isXoverlap(s)||n.globals.isBarHorizontal){var c=n.globals.series.findIndex((function(e,t){return!n.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,c,s,r.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,a,r){var n=this.w;if(this.tConfig.shared||null!==n.globals.series[t][r]){if(void 0!==n.globals.series[t][r])this.tConfig.shared&&this.tooltipUtil.isXoverlap(r)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,r,a.ttItems):this.create(e,this,t,r,a.ttItems,!1);else if(this.tooltipUtil.isXoverlap(r)){var i=n.globals.series.findIndex((function(e,t){return!n.globals.collapsedSeriesIndices.includes(t)}));this.create(e,this,i,r,a.ttItems)}}else this.handleMouseOut(a)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new Ia(this.ctx),a=e.globals.dom.Paper.find(".apexcharts-bar-area"),r=0;r<a.length;r++)t.pathMouseLeave(a[r])}},{key:"handleMouseOut",value:function(e){var t=this.w,a=this.getElXCrosshairs();if(t.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),"bubble"!==t.config.chart.type&&this.marker.resetPointsSize(),null!==a&&a.classList.remove("apexcharts-active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){null===this.yaxisTTEls&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var r=0;r<this.yaxisTTEls.length;r++)this.yaxisTTEls[r].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}))}},{key:"markerClick",value:function(e,t,a){var r=this.w;"function"==typeof r.config.chart.events.markerClick&&r.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:r}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:r}])}},{key:"create",value:function(e,t,a,r,n){var i,s,o,l,c,u,d,m,g,p,M,h,y,N,w,x,b=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,D=this.w,j=t;"mouseup"===e.type&&this.markerClick(e,a,r),null===b&&(b=this.tConfig.shared);var v=this.tooltipUtil.hasMarkers(a),_=this.tooltipUtil.getElBars(),I=function(){D.globals.markers.largestSize>0?j.marker.enlargePoints(r):j.tooltipPosition.moveDynamicPointsOnHover(r)};if(D.config.legend.tooltipHoverFormatter){var E=D.config.legend.tooltipHoverFormatter,L=Array.from(this.legendLabels);L.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}));for(var T=0;T<L.length;T++){var A=L[T],z=parseInt(A.getAttribute("i"),10),k=decodeURIComponent(A.getAttribute("data:default-text")),S=E(k,{seriesIndex:b?z:a,dataPointIndex:r,w:D});if(b)A.innerHTML=D.globals.collapsedSeriesIndices.indexOf(z)<0?S:k;else if(A.innerHTML=z===a?S:k,a===z)break}}var O=f(f({ttItems:n,i:a,j:r},void 0!==(null===(i=D.globals.seriesRange)||void 0===i||null===(s=i[a])||void 0===s||null===(o=s[r])||void 0===o||null===(l=o.y[0])||void 0===l?void 0:l.y1)&&{y1:null===(c=D.globals.seriesRange)||void 0===c||null===(u=c[a])||void 0===u||null===(d=u[r])||void 0===d||null===(m=d.y[0])||void 0===m?void 0:m.y1}),void 0!==(null===(g=D.globals.seriesRange)||void 0===g||null===(p=g[a])||void 0===p||null===(M=p[r])||void 0===M||null===(h=M.y[0])||void 0===h?void 0:h.y2)&&{y2:null===(y=D.globals.seriesRange)||void 0===y||null===(N=y[a])||void 0===N||null===(w=N[r])||void 0===w||null===(x=w.y[0])||void 0===x?void 0:x.y2});if(b){if(j.tooltipLabels.drawSeriesTexts(f(f({},O),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),v)I();else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(_),this.barSeriesHeight>0)){var C=new Ia(this.ctx),Y=D.globals.dom.Paper.find(".apexcharts-bar-area[j='".concat(r,"']"));this.deactivateHoverFilter(),j.tooltipPosition.moveStickyTooltipOverBars(r,a),j.tooltipUtil.getAllMarkers(!0).length&&I();for(var U=0;U<Y.length;U++)C.pathMouseEnter(Y[U])}}else j.tooltipLabels.drawSeriesTexts(f({shared:!1},O)),this.tooltipUtil.hasBars()&&j.tooltipPosition.moveStickyTooltipOverBars(r,a),v&&j.tooltipPosition.moveMarkers(a,r)}}]),e}(),_r=function(){function e(t){i(this,e),this.w=t.w,this.barCtx=t,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return o(e,[{key:"handleBarDataLabels",value:function(e){var t,a,r=e.x,n=e.y,i=e.y1,s=e.y2,o=e.i,l=e.j,c=e.realIndex,u=e.columnGroupIndex,d=e.series,m=e.barHeight,g=e.barWidth,p=e.barXPosition,M=e.barYPosition,h=e.visibleSeries,y=e.renderedPath,N=this.w,w=new Ia(this.barCtx.ctx),x=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[c]:this.barCtx.strokeWidth;N.globals.isXNumeric&&!N.globals.isBarHorizontal?(t=r+parseFloat(g*(h+1)),a=n+parseFloat(m*(h+1))-x):(t=r+parseFloat(g*h),a=n+parseFloat(m*h));var b,D,j=null,v=r,_=n,I=N.config.dataLabels,E=this.barCtx.barOptions.dataLabels,L=this.barCtx.barOptions.dataLabels.total;void 0!==M&&this.barCtx.isRangeBar&&(a=M,_=M),void 0!==p&&this.barCtx.isVerticalGroupedRangeBar&&(t=p,v=p);var T=I.offsetX,A=I.offsetY,z={width:0,height:0};if(N.config.dataLabels.enabled){var k=N.globals.series[o][l];z=w.getTextRects(N.config.dataLabels.formatter?N.config.dataLabels.formatter(k,f(f({},N),{},{seriesIndex:o,dataPointIndex:l,w:N})):N.globals.yLabelFormatters[0](k),parseFloat(I.style.fontSize))}var S={x:r,y:n,i:o,j:l,realIndex:c,columnGroupIndex:u,renderedPath:y,bcx:t,bcy:a,barHeight:m,barWidth:g,textRects:z,strokeWidth:x,dataLabelsX:v,dataLabelsY:_,dataLabelsConfig:I,barDataLabelsConfig:E,barTotalDataLabelsConfig:L,offX:T,offY:A};return D=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(S):this.calculateColumnsDataLabelsPosition(S),y.attr({cy:D.bcy,cx:D.bcx,j:l,val:N.globals.series[o][l],barHeight:m,barWidth:g}),b=this.drawCalculatedDataLabels({x:D.dataLabelsX,y:D.dataLabelsY,val:this.barCtx.isRangeBar?[i,s]:"100%"===N.config.chart.stackType?d[c][l]:N.globals.series[c][l],i:c,j:l,barWidth:g,barHeight:m,textRects:z,dataLabelsConfig:I}),N.config.chart.stacked&&L.enabled&&(j=this.drawTotalDataLabels({x:D.totalDataLabelsX,y:D.totalDataLabelsY,barWidth:g,barHeight:m,realIndex:c,textAnchor:D.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:c,j:l}),dataLabelsConfig:I,barTotalDataLabelsConfig:L})),{dataLabels:b,totalDataLabels:j}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,a=e.j,r=this.w,n=this.barCtx.stackedSeriesTotals[a];return this.totalFormatter&&(n=this.totalFormatter(n,f(f({},r),{},{seriesIndex:t,dataPointIndex:a,w:r}))),n}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t=this,a=this.w,r=e.i,n=e.j,i=e.realIndex;e.columnGroupIndex;var s,o,l=e.y,c=e.bcx,u=e.barWidth,d=e.barHeight,m=e.textRects,g=e.dataLabelsX,p=e.dataLabelsY,f=e.dataLabelsConfig,M=e.barDataLabelsConfig,h=e.barTotalDataLabelsConfig,y=e.strokeWidth,N=e.offX,w=e.offY,x=c;d=Math.abs(d);var b="vertical"===a.config.plotOptions.bar.dataLabels.orientation,D=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:n}).zeroEncounters;c-=y/2;var j=a.globals.gridWidth/a.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?g+=u/2:(g=a.globals.isXNumeric?c-u/2+N:c-j+u/2+N,D>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(g-=u*D)),b&&(g=g+m.height/2-y/2-2);var v=a.globals.series[r][n]<0,_=l;switch(this.barCtx.isReversed&&(_=l+(v?d:-d)),M.position){case"center":p=b?v?_-d/2+w:_+d/2-w:v?_-d/2+m.height/2+w:_+d/2+m.height/2-w;break;case"bottom":p=b?v?_-d+w:_+d-w:v?_-d+m.height+y+w:_+d-m.height/2+y-w;break;case"top":p=b?v?_+w:_-w:v?_-m.height/2-w:_+m.height+w}var I=_;if(a.globals.seriesGroups.forEach((function(e){var a;null===(a=t.barCtx[e.join(",")])||void 0===a||a.prevY.forEach((function(e){I=v?Math.max(e[n],I):Math.min(e[n],I)}))})),this.barCtx.lastActiveBarSerieIndex===i&&h.enabled){var E=new Ia(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:i,j:n}),f.fontSize);s=v?I-E.height/2-w-h.offsetY+18:I+E.height+w+h.offsetY-18;var L=j;o=x+(a.globals.isXNumeric?-u*a.globals.barGroups.length/2:a.globals.barGroups.length*u/2-(a.globals.barGroups.length-1)*u-L)+h.offsetX}return a.config.chart.stacked||(p<0?p=0+y:p+m.height/3>a.globals.gridHeight&&(p=a.globals.gridHeight-y)),{bcx:c,bcy:l,dataLabelsX:g,dataLabelsY:p,totalDataLabelsX:o,totalDataLabelsY:s,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this,a=this.w,r=e.x,n=e.i,i=e.j,s=e.realIndex,o=e.bcy,l=e.barHeight,c=e.barWidth,u=e.textRects,d=e.dataLabelsX,m=e.strokeWidth,g=e.dataLabelsConfig,p=e.barDataLabelsConfig,f=e.barTotalDataLabelsConfig,M=e.offX,h=e.offY,y=a.globals.gridHeight/a.globals.dataPoints;c=Math.abs(c);var N,w,x=o-(this.barCtx.isRangeBar?0:y)+l/2+u.height/2+h-3,b="start",D=a.globals.series[n][i]<0,j=r;switch(this.barCtx.isReversed&&(j=r+(D?-c:c),b=D?"start":"end"),p.position){case"center":d=D?j+c/2-M:Math.max(u.width/2,j-c/2)+M;break;case"bottom":d=D?j+c-m-M:j-c+m+M;break;case"top":d=D?j-m-M:j-m+M}var v=j;if(a.globals.seriesGroups.forEach((function(e){var a;null===(a=t.barCtx[e.join(",")])||void 0===a||a.prevX.forEach((function(e){v=D?Math.min(e[i],v):Math.max(e[i],v)}))})),this.barCtx.lastActiveBarSerieIndex===s&&f.enabled){var _=new Ia(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:s,j:i}),g.fontSize);D?(N=v-m-M-f.offsetX,b="end"):N=v+M+f.offsetX+(this.barCtx.isReversed?-(c+m):m),w=x-u.height/2+_.height/2+f.offsetY+m,a.globals.barGroups.length>1&&(w-=a.globals.barGroups.length/2*(l/2))}return a.config.chart.stacked||("start"===g.textAnchor?d-u.width<0?d=D?u.width+m:m:d+u.width>a.globals.gridWidth&&(d=D?a.globals.gridWidth-m:a.globals.gridWidth-u.width-m):"middle"===g.textAnchor?d-u.width/2<0?d=u.width/2+m:d+u.width/2>a.globals.gridWidth&&(d=a.globals.gridWidth-u.width/2-m):"end"===g.textAnchor&&(d<1?d=u.width+m:d+1>a.globals.gridWidth&&(d=a.globals.gridWidth-u.width-m))),{bcx:r,bcy:o,dataLabelsX:d,dataLabelsY:x,totalDataLabelsX:N,totalDataLabelsY:w,totalDataLabelsAnchor:b}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,a=e.y,r=e.val,n=e.i,i=e.j,s=e.textRects,o=e.barHeight,l=e.barWidth,c=e.dataLabelsConfig,u=this.w,d="rotate(0)";"vertical"===u.config.plotOptions.bar.dataLabels.orientation&&(d="rotate(-90, ".concat(t,", ").concat(a,")"));var m=new Ga(this.barCtx.ctx),g=new Ia(this.barCtx.ctx),p=c.formatter,M=null,h=u.globals.collapsedSeriesIndices.indexOf(n)>-1;if(c.enabled&&!h){M=g.group({class:"apexcharts-data-labels",transform:d});var y="";void 0!==r&&(y=p(r,f(f({},u),{},{seriesIndex:n,dataPointIndex:i,w:u}))),!r&&u.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(y="");var N=u.globals.series[n][i]<0,w=u.config.plotOptions.bar.dataLabels.position;"vertical"===u.config.plotOptions.bar.dataLabels.orientation&&("top"===w&&(c.textAnchor=N?"end":"start"),"center"===w&&(c.textAnchor="middle"),"bottom"===w&&(c.textAnchor=N?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&l<g.getTextRects(y,parseFloat(c.style.fontSize)).width&&(y=""),u.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?s.width/1.6>Math.abs(l)&&(y=""):s.height/1.6>Math.abs(o)&&(y=""));var x=f({},c);this.barCtx.isHorizontal&&r<0&&("start"===c.textAnchor?x.textAnchor="end":"end"===c.textAnchor&&(x.textAnchor="start")),m.plotDataLabelsText({x:t,y:a,text:y,i:n,j:i,parent:M,dataLabelsConfig:x,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return M}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,a=e.y,r=e.val,n=e.realIndex,i=e.textAnchor,s=e.barTotalDataLabelsConfig;this.w;var o,l=new Ia(this.barCtx.ctx);return s.enabled&&void 0!==t&&void 0!==a&&this.barCtx.lastActiveBarSerieIndex===n&&(o=l.drawText({x:t,y:a,foreColor:s.style.color,text:r,textAnchor:i,fontFamily:s.style.fontFamily,fontSize:s.style.fontSize,fontWeight:s.style.fontWeight})),o}}]),e}(),Ir=function(){function e(t){i(this,e),this.w=t.w,this.barCtx=t}return o(e,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<e.length;a++)if(e[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[a].length),t.globals.isXNumeric)for(var r=0;r<e[a].length;r++)t.globals.seriesX[a][r]>t.globals.minX&&t.globals.seriesX[a][r]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.arrBorderRadius=this.createBorderRadiusArr(t.globals.series),0===this.barCtx.seriesLen&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(e){var t,a,r,n,i,s,o,l,c=this.w,u=c.globals.dataPoints;this.barCtx.isRangeBar&&(u=c.globals.labels.length);var d=this.barCtx.seriesLen;if(c.config.plotOptions.bar.rangeBarGroupRows&&(d=1),this.barCtx.isHorizontal)i=(r=c.globals.gridHeight/u)/d,c.globals.isXNumeric&&(i=(r=c.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),i=i*parseInt(this.barCtx.barOptions.barHeight,10)/100,-1===String(this.barCtx.barOptions.barHeight).indexOf("%")&&(i=parseInt(this.barCtx.barOptions.barHeight,10)),l=this.barCtx.baseLineInvertedY+c.globals.padHorizontal+(this.barCtx.isReversed?c.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(l=c.globals.gridWidth/2),a=(r-i*this.barCtx.seriesLen)/2;else{if(n=c.globals.gridWidth/this.barCtx.visibleItems,c.config.xaxis.convertedCatToNumeric&&(n=c.globals.gridWidth/c.globals.dataPoints),s=n/d*parseInt(this.barCtx.barOptions.columnWidth,10)/100,c.globals.isXNumeric){var m=this.barCtx.xRatio;c.globals.minXDiff&&.5!==c.globals.minXDiff&&c.globals.minXDiff/m>0&&(n=c.globals.minXDiff/m),(s=n/d*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(s=1)}-1===String(this.barCtx.barOptions.columnWidth).indexOf("%")&&(s=parseInt(this.barCtx.barOptions.columnWidth,10)),o=c.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?c.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),t=c.globals.isXNumeric?this.barCtx.getBarXForNumericXAxis({x:t,j:0,realIndex:e,barWidth:s}).x:c.globals.padHorizontal+b.noExponents(n-s*this.barCtx.seriesLen)/2}return c.globals.barHeight=i,c.globals.barWidth=s,{x:t,y:a,yDivision:r,xDivision:n,barHeight:i,barWidth:s,zeroH:o,zeroW:l}}},{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,a,r){var n,i,s,o,l=this.w,c=this.barCtx.ctx.fill,u=null,d=this.barCtx.barOptions.distributed?a:t,m=!1;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(r){e[t][a]>=r.from&&e[t][a]<=r.to&&(u=r.color,m=!0)})),{color:c.fillPath({seriesNumber:this.barCtx.barOptions.distributed?d:r,dataPointIndex:a,color:u,value:e[t][a],fillConfig:null===(n=l.config.series[t].data[a])||void 0===n?void 0:n.fill,fillType:null!==(i=l.config.series[t].data[a])&&void 0!==i&&null!==(s=i.fill)&&void 0!==s&&s.type?null===(o=l.config.series[t].data[a])||void 0===o?void 0:o.fill.type:Array.isArray(l.config.fill.type)?l.config.fill.type[r]:l.config.fill.type}),useRangeColor:m}}},{key:"getStrokeWidth",value:function(e,t,a){var r=0,n=this.w;return this.barCtx.series[e][t]?this.barCtx.isNullValue=!1:this.barCtx.isNullValue=!0,n.config.stroke.show&&(this.barCtx.isNullValue||(r=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),r}},{key:"createBorderRadiusArr",value:function(e){var t,a=this.w,r=!this.w.config.chart.stacked||a.config.plotOptions.bar.borderRadius<=0,n=e.length,i=0|(null===(t=e[0])||void 0===t?void 0:t.length),s=Array.from({length:n},(function(){return Array(i).fill(r?"top":"none")}));if(r)return s;for(var o=0;o<i;o++){for(var c=[],u=[],d=0,m=0;m<n;m++){var g=e[m][o];g>0?(c.push(m),d++):g<0&&(u.push(m),d++)}if(c.length>0&&0===u.length)if(1===c.length)s[c[0]][o]="both";else{var p,f=c[0],M=c[c.length-1],h=l(c);try{for(h.s();!(p=h.n()).done;){var y=p.value;s[y][o]=y===f?"bottom":y===M?"top":"none"}}catch(e){h.e(e)}finally{h.f()}}else if(u.length>0&&0===c.length)if(1===u.length)s[u[0]][o]="both";else{var N,w=Math.max.apply(Math,u),x=Math.min.apply(Math,u),b=l(u);try{for(b.s();!(N=b.n()).done;){var D=N.value;s[D][o]=D===w?"bottom":D===x?"top":"none"}}catch(e){b.e(e)}finally{b.f()}}else if(c.length>0&&u.length>0){var j,v=c[c.length-1],_=l(c);try{for(_.s();!(j=_.n()).done;){var I=j.value;s[I][o]=I===v?"top":"none"}}catch(e){_.e(e)}finally{_.f()}var E,L=Math.max.apply(Math,u),T=l(u);try{for(T.s();!(E=T.n()).done;){var A=E.value;s[A][o]=A===L?"bottom":"none"}}catch(e){T.e(e)}finally{T.f()}}else 1===d&&(s[c[0]||u[0]][o]="both")}return s}},{key:"barBackground",value:function(e){var t=e.j,a=e.i,r=e.x1,n=e.x2,i=e.y1,s=e.y2,o=e.elSeries,l=this.w,c=new Ia(this.barCtx.ctx),u=new Xa(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===a){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],m=c.drawRect(void 0!==r?r:0,void 0!==i?i:0,void 0!==n?n:l.globals.gridWidth,void 0!==s?s:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);o.add(m),m.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,a=e.barWidth,r=e.barXPosition,n=e.y1,i=e.y2,s=e.strokeWidth,o=e.isReversed,l=e.series,c=e.seriesGroup,u=e.realIndex,d=e.i,m=e.j,g=e.w,p=new Ia(this.barCtx.ctx);(s=Array.isArray(s)?s[u]:s)||(s=0);var f=a,M=r;null!==(t=g.config.series[u].data[m])&&void 0!==t&&t.columnWidthOffset&&(M=r-g.config.series[u].data[m].columnWidthOffset/2,f=a+g.config.series[u].data[m].columnWidthOffset);var h=s/2,y=M+h,N=M+f-h,w=(l[d][m]>=0?1:-1)*(o?-1:1);n+=.001-h*w,i+=.001+h*w;var x=p.move(y,n),b=p.move(y,n),D=p.line(N,n);if(g.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(u,m,!1)),x=x+p.line(y,i)+p.line(N,i)+D+("around"===g.config.plotOptions.bar.borderRadiusApplication||"both"===this.arrBorderRadius[u][m]?" Z":" z"),b=b+p.line(y,n)+D+D+D+D+D+p.line(y,n)+("around"===g.config.plotOptions.bar.borderRadiusApplication||"both"===this.arrBorderRadius[u][m]?" Z":" z"),"none"!==this.arrBorderRadius[u][m]&&(x=p.roundPathCorners(x,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var j=this.barCtx;(j=this.barCtx[c]).yArrj.push(i-h*w),j.yArrjF.push(Math.abs(n-i+s*w)),j.yArrjVal.push(this.barCtx.series[d][m])}return{pathTo:x,pathFrom:b}}},{key:"getBarpaths",value:function(e){var t,a=e.barYPosition,r=e.barHeight,n=e.x1,i=e.x2,s=e.strokeWidth,o=e.isReversed,l=e.series,c=e.seriesGroup,u=e.realIndex,d=e.i,m=e.j,g=e.w,p=new Ia(this.barCtx.ctx);(s=Array.isArray(s)?s[u]:s)||(s=0);var f=a,M=r;null!==(t=g.config.series[u].data[m])&&void 0!==t&&t.barHeightOffset&&(f=a-g.config.series[u].data[m].barHeightOffset/2,M=r+g.config.series[u].data[m].barHeightOffset);var h=s/2,y=f+h,N=f+M-h,w=(l[d][m]>=0?1:-1)*(o?-1:1);n+=.001+h*w,i+=.001-h*w;var x=p.move(n,y),b=p.move(n,y);g.globals.previousPaths.length>0&&(b=this.barCtx.getPreviousPath(u,m,!1));var D=p.line(n,N);if(x=x+p.line(i,y)+p.line(i,N)+D+("around"===g.config.plotOptions.bar.borderRadiusApplication||"both"===this.arrBorderRadius[u][m]?" Z":" z"),b=b+p.line(n,y)+D+D+D+D+D+p.line(n,y)+("around"===g.config.plotOptions.bar.borderRadiusApplication||"both"===this.arrBorderRadius[u][m]?" Z":" z"),"none"!==this.arrBorderRadius[u][m]&&(x=p.roundPathCorners(x,g.config.plotOptions.bar.borderRadius)),g.config.chart.stacked){var j=this.barCtx;(j=this.barCtx[c]).xArrj.push(i+h*w),j.xArrjF.push(Math.abs(n-i-s*w)),j.xArrjVal.push(this.barCtx.series[d][m])}return{pathTo:x,pathFrom:b}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,a=this.w,r=0;r<t.length;r++){for(var n=0,i=0;i<t[a.globals.maxValsInArrayIndex].length;i++)n+=t[r][i];0===n&&this.barCtx.zeroSerieses.push(r)}}},{key:"getXForValue",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?null:t;return null!=e&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t,a){var r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?null:t;return null!=e&&(r=t-e/this.barCtx.yRatio[a]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[a]:0)),r}},{key:"getGoalValues",value:function(e,t,a,r,n,i){var s=this,o=this.w,l=[],c=function(r,n){var o;l.push((u(o={},e,"x"===e?s.getXForValue(r,t,!1):s.getYForValue(r,a,i,!1)),u(o,"attrs",n),o))};if(o.globals.seriesGoals[r]&&o.globals.seriesGoals[r][n]&&Array.isArray(o.globals.seriesGoals[r][n])&&o.globals.seriesGoals[r][n].forEach((function(e){c(e.value,e)})),this.barCtx.barOptions.isDumbbell&&o.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:o.globals.colors,m={strokeHeight:"x"===e?0:o.globals.markers.size[r],strokeWidth:"x"===e?o.globals.markers.size[r]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[r])?d[r][0]:d[r]};c(o.globals.seriesRangeStart[r][n],m),c(o.globals.seriesRangeEnd[r][n],f(f({},m),{},{strokeColor:Array.isArray(d[r])?d[r][1]:d[r]}))}return l}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,a=e.barYPosition,r=e.goalX,n=e.goalY,i=e.barWidth,s=e.barHeight,o=new Ia(this.barCtx.ctx),l=o.group({className:"apexcharts-bar-goals-groups"});l.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:l.node}),l.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var c=null;return this.barCtx.isHorizontal?Array.isArray(r)&&r.forEach((function(e){if(e.x>=-1&&e.x<=o.w.globals.gridWidth+1){var t=void 0!==e.attrs.strokeHeight?e.attrs.strokeHeight:s/2,r=a+t+s/2;c=o.drawLine(e.x,r-2*t,e.x,r,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeWidth?e.attrs.strokeWidth:2,e.attrs.strokeLineCap),l.add(c)}})):Array.isArray(n)&&n.forEach((function(e){if(e.y>=-1&&e.y<=o.w.globals.gridHeight+1){var a=void 0!==e.attrs.strokeWidth?e.attrs.strokeWidth:i/2,r=t+a+i/2;c=o.drawLine(r-2*a,e.y,r,e.y,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeHeight?e.attrs.strokeHeight:2,e.attrs.strokeLineCap),l.add(c)}})),l}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,a=e.currPaths,r=e.color,n=this.w,i=t.x,s=t.x1,o=t.barYPosition,l=a.x,c=a.x1,u=a.barYPosition,d=o+a.barHeight,m=new Ia(this.barCtx.ctx),g=new b,p=m.move(s,d)+m.line(i,d)+m.line(l,u)+m.line(c,u)+m.line(s,d)+("around"===n.config.plotOptions.bar.borderRadiusApplication||"both"===this.arrBorderRadius[realIndex][j]?" Z":" z");return m.drawPath({d:p,fill:g.shadeColor(.5,b.rgb2hex(r)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadow apexcharts-decoration-element"})}},{key:"getZeroValueEncounters",value:function(e){var t,a=e.i,r=e.j,n=this.w,i=0,s=0;return(n.config.plotOptions.bar.horizontal?n.globals.series.map((function(e,t){return t})):(null===(t=n.globals.columnSeries)||void 0===t?void 0:t.i.map((function(e){return e})))||[]).forEach((function(e){var t=n.globals.seriesPercent[e][r];t&&i++,e<a&&0===t&&s++})),{nonZeroColumns:i,zeroEncounters:s}}},{key:"getGroupIndex",value:function(e){var t=this.w,a=t.globals.seriesGroups.findIndex((function(a){return a.indexOf(t.globals.seriesNames[e])>-1})),r=this.barCtx.columnGroupIndices,n=r.indexOf(a);return n<0&&(r.push(a),n=r.length-1),{groupIndex:a,columnGroupIndex:n}}}]),e}(),Er=function(){function e(t,a){i(this,e),this.ctx=t,this.w=t.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.isRangeBar=r.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!r.globals.isBarHorizontal&&r.globals.seriesRange.length&&r.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=a,null!==this.xyRatios&&(this.xRatio=a.xRatio,this.yRatio=a.yRatio,this.invertedXRatio=a.invertedXRatio,this.invertedYRatio=a.invertedYRatio,this.baseLineY=a.baseLineY,this.baseLineInvertedY=a.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var n=new Xa(this.ctx);this.lastActiveBarSerieIndex=n.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var s=n.getBarSeriesIndices(),o=new Ea(this.ctx);this.stackedSeriesTotals=o.getStackedSeriesTotals(this.w.config.series.map((function(e,t){return-1===s.indexOf(t)?t:-1})).filter((function(e){return-1!==e}))),this.barHelpers=new Ir(this)}return o(e,[{key:"draw",value:function(e,t){var a=this.w,r=new Ia(this.ctx),n=new Ea(this.ctx,a);e=n.getLogSeries(e),this.series=e,this.yRatio=n.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var i=r.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.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 s=0,o=0;s<e.length;s++,o++){var l,c,u,d,m=void 0,g=void 0,p=[],M=[],h=a.globals.comboCharts?t[s]:s,y=this.barHelpers.getGroupIndex(h).columnGroupIndex,N=r.group({class:"apexcharts-series",rel:s+1,seriesName:b.escapeString(a.globals.seriesNames[h]),"data:realIndex":h});this.ctx.series.addCollapsedClassToSeries(N,h),e[s].length>0&&(this.visibleI=this.visibleI+1);var w=0,x=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[h],this.translationsIndex=h);var D=this.translationsIndex;this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var j=this.barHelpers.initialPositions(h);g=j.y,w=j.barHeight,c=j.yDivision,d=j.zeroW,m=j.x,x=j.barWidth,l=j.xDivision,u=j.zeroH,this.isHorizontal||M.push(m+x/2);var v=r.group({class:"apexcharts-datalabels","data:realIndex":h});a.globals.delayedElements.push({el:v.node}),v.node.classList.add("apexcharts-element-hidden");var _=r.group({class:"apexcharts-bar-goals-markers"}),I=r.group({class:"apexcharts-bar-shadows"});a.globals.delayedElements.push({el:I.node}),I.node.classList.add("apexcharts-element-hidden");for(var E=0;E<e[s].length;E++){var L=this.barHelpers.getStrokeWidth(s,E,h),T=null,A={indexes:{i:s,j:E,realIndex:h,translationsIndex:D,bc:o},x:m,y:g,strokeWidth:L,elSeries:N};this.isHorizontal?(T=this.drawBarPaths(f(f({},A),{},{barHeight:w,zeroW:d,yDivision:c})),x=this.series[s][E]/this.invertedYRatio):(T=this.drawColumnPaths(f(f({},A),{},{xDivision:l,barWidth:x,zeroH:u})),w=this.series[s][E]/this.yRatio[D]);var z=this.barHelpers.getPathFillColor(e,s,E,h);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&E>0){var k,S=this.barHelpers.drawBarShadow({color:"string"==typeof z.color&&-1===(null===(k=z.color)||void 0===k?void 0:k.indexOf("url"))?z.color:b.hexToRgba(a.globals.colors[s]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:T});I.add(S),a.config.chart.dropShadow.enabled&&new _a(this.ctx).dropShadow(S,a.config.chart.dropShadow,h)}this.pathArr.push(T);var O=this.barHelpers.drawGoalLine({barXPosition:T.barXPosition,barYPosition:T.barYPosition,goalX:T.goalX,goalY:T.goalY,barHeight:w,barWidth:x});O&&_.add(O),g=T.y,m=T.x,E>0&&M.push(m+x/2),p.push(g),this.renderSeries(f(f({realIndex:h,pathFill:z.color},z.useRangeColor?{lineFill:z.color}:{}),{},{j:E,i:s,columnGroupIndex:y,pathFrom:T.pathFrom,pathTo:T.pathTo,strokeWidth:L,elSeries:N,x:m,y:g,series:e,barHeight:Math.abs(T.barHeight?T.barHeight:w),barWidth:Math.abs(T.barWidth?T.barWidth:x),elDataLabelsWrap:v,elGoalsMarkers:_,elBarShadows:I,visibleSeries:this.visibleI,type:"bar"}))}a.globals.seriesXvalues[h]=M,a.globals.seriesYvalues[h]=p,i.add(N)}return i}},{key:"renderSeries",value:function(e){var t=e.realIndex,a=e.pathFill,r=e.lineFill,n=e.j,i=e.i,s=e.columnGroupIndex,o=e.pathFrom,l=e.pathTo,c=e.strokeWidth,u=e.elSeries,d=e.x,m=e.y,g=e.y1,p=e.y2,f=e.series,M=e.barHeight,h=e.barWidth,y=e.barXPosition,N=e.barYPosition,w=e.elDataLabelsWrap,x=e.elGoalsMarkers,b=e.elBarShadows,D=e.visibleSeries,j=e.type,v=e.classes,_=this.w,I=new Ia(this.ctx);if(!r){var E="function"==typeof _.globals.stroke.colors[t]?function(e){var t,a=_.config.stroke.colors;return Array.isArray(a)&&a.length>0&&((t=a[e])||(t=""),"function"==typeof t)?t({value:_.globals.series[e][n],dataPointIndex:n,w:_}):t}(t):_.globals.stroke.colors[t];r=this.barOptions.distributed?_.globals.stroke.colors[n]:E}_.config.series[i].data[n]&&_.config.series[i].data[n].strokeColor&&(r=_.config.series[i].data[n].strokeColor),this.isNullValue&&(a="none");var L=n/_.config.chart.animations.animateGradually.delay*(_.config.chart.animations.speed/_.globals.dataPoints)/2.4,T=I.renderPaths({i,j:n,realIndex:t,pathFrom:o,pathTo:l,stroke:r,strokeWidth:c,strokeLineCap:_.config.stroke.lineCap,fill:a,animationDelay:L,initialSpeed:_.config.chart.animations.speed,dataChangeSpeed:_.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(j,"-area ").concat(v),chartType:j});T.attr("clip-path","url(#gridRectBarMask".concat(_.globals.cuid,")"));var A=_.config.forecastDataPoints;A.count>0&&n>=_.globals.dataPoints-A.count&&(T.node.setAttribute("stroke-dasharray",A.dashArray),T.node.setAttribute("stroke-width",A.strokeWidth),T.node.setAttribute("fill-opacity",A.fillOpacity)),void 0!==g&&void 0!==p&&(T.attr("data-range-y1",g),T.attr("data-range-y2",p)),new _a(this.ctx).setSelectionFilter(T,t,n),u.add(T);var z=new _r(this).handleBarDataLabels({x:d,y:m,y1:g,y2:p,i,j:n,series:f,realIndex:t,columnGroupIndex:s,barHeight:M,barWidth:h,barXPosition:y,barYPosition:N,renderedPath:T,visibleSeries:D});return null!==z.dataLabels&&w.add(z.dataLabels),z.totalDataLabels&&w.add(z.totalDataLabels),u.add(w),x&&u.add(x),b&&u.add(b),u}},{key:"drawBarPaths",value:function(e){var t,a=e.indexes,r=e.barHeight,n=e.strokeWidth,i=e.zeroW,s=e.x,o=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=a.i,m=a.j;if(u.globals.isXNumeric)t=(o=(u.globals.seriesX[d][m]-u.globals.minX)/this.invertedXRatio-r)+r*this.visibleI;else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var g=0,p=0;u.globals.seriesPercent.forEach((function(e,t){e[m]&&g++,t<d&&0===e[m]&&p++})),g>0&&(r=this.seriesLen*r/g),t=o+r*this.visibleI,t-=r*p}else t=o+r*this.visibleI;this.isFunnel&&(i-=(this.barHelpers.getXForValue(this.series[d][m],i)-i)/2),s=this.barHelpers.getXForValue(this.series[d][m],i);var f=this.barHelpers.getBarpaths({barYPosition:t,barHeight:r,x1:i,x2:s,strokeWidth:n,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,i:d,j:m,w:u});return u.globals.isXNumeric||(o+=l),this.barHelpers.barBackground({j:m,i:d,y1:t-r*this.visibleI,y2:r*this.seriesLen,elSeries:c}),{pathTo:f.pathTo,pathFrom:f.pathFrom,x1:i,x:s,y:o,goalX:this.barHelpers.getGoalValues("x",i,null,d,m),barYPosition:t,barHeight:r}}},{key:"drawColumnPaths",value:function(e){var t,a=e.indexes,r=e.x,n=e.y,i=e.xDivision,s=e.barWidth,o=e.zeroH,l=e.strokeWidth,c=e.elSeries,u=this.w,d=a.realIndex,m=a.translationsIndex,g=a.i,p=a.j,f=a.bc;if(u.globals.isXNumeric){var M=this.getBarXForNumericXAxis({x:r,j:p,realIndex:d,barWidth:s});r=M.x,t=M.barXPosition}else if(u.config.plotOptions.bar.hideZeroBarsWhenGrouped){var h=this.barHelpers.getZeroValueEncounters({i:g,j:p}),y=h.nonZeroColumns,N=h.zeroEncounters;y>0&&(s=this.seriesLen*s/y),t=r+s*this.visibleI,t-=s*N}else t=r+s*this.visibleI;n=this.barHelpers.getYForValue(this.series[g][p],o,m);var w=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:s,y1:o,y2:n,strokeWidth:l,isReversed:this.isReversed,series:this.series,realIndex:d,i:g,j:p,w:u});return u.globals.isXNumeric||(r+=i),this.barHelpers.barBackground({bc:f,j:p,i:g,x1:t-l/2-s*this.visibleI,x2:s*this.seriesLen+l/2,elSeries:c}),{pathTo:w.pathTo,pathFrom:w.pathFrom,x:r,y:n,goalY:this.barHelpers.getGoalValues("y",null,o,g,p,m),barXPosition:t,barWidth:s}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,a=e.barWidth,r=e.realIndex,n=e.j,i=this.w,s=r;return i.globals.seriesX[r].length||(s=i.globals.maxValsInArrayIndex),b.isNumber(i.globals.seriesX[s][n])&&(t=(i.globals.seriesX[s][n]-i.globals.minX)/this.xRatio-a*this.seriesLen/2),{barXPosition:t+a*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var a,r=this.w,n=0;n<r.globals.previousPaths.length;n++){var i=r.globals.previousPaths[n];i.paths&&i.paths.length>0&&parseInt(i.realIndex,10)===parseInt(e,10)&&void 0!==r.globals.previousPaths[n].paths[t]&&(a=r.globals.previousPaths[n].paths[t].d)}return a}}]),e}(),Lr=function(){m(t,Er);var e=c(t);function t(){return i(this,t),e.apply(this,arguments)}return o(t,[{key:"draw",value:function(e,t){var a=this,r=this.w;this.graphics=new Ia(this.ctx),this.bar=new Er(this.ctx,this.xyRatios);var n=new Ea(this.ctx,r);e=n.getLogSeries(e),this.yRatio=n.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e),"100%"===r.config.chart.stackType&&(e=r.globals.comboCharts?t.map((function(e){return r.globals.seriesPercent[e]})):r.globals.seriesPercent.slice()),this.series=e,this.barHelpers.initializeStackedPrevVars(this);for(var i=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),s=0,o=0,l=function(n,l){var c=void 0,u=void 0,d=void 0,m=void 0,g=r.globals.comboCharts?t[n]:n,p=a.barHelpers.getGroupIndex(g),M=p.groupIndex,h=p.columnGroupIndex;a.groupCtx=a[r.globals.seriesGroups[M]];var y=[],N=[],w=0;a.yRatio.length>1&&(a.yaxisIndex=r.globals.seriesYAxisReverseMap[g][0],w=g),a.isReversed=r.config.yaxis[a.yaxisIndex]&&r.config.yaxis[a.yaxisIndex].reversed;var x=a.graphics.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[g]),rel:n+1,"data:realIndex":g});a.ctx.series.addCollapsedClassToSeries(x,g);var D=a.graphics.group({class:"apexcharts-datalabels","data:realIndex":g}),j=a.graphics.group({class:"apexcharts-bar-goals-markers"}),v=0,_=0,I=a.initialPositions(s,o,c,u,d,m,w);o=I.y,v=I.barHeight,u=I.yDivision,m=I.zeroW,s=I.x,_=I.barWidth,c=I.xDivision,d=I.zeroH,r.globals.barHeight=v,r.globals.barWidth=_,a.barHelpers.initializeStackedXYVars(a),1===a.groupCtx.prevY.length&&a.groupCtx.prevY[0].every((function(e){return isNaN(e)}))&&(a.groupCtx.prevY[0]=a.groupCtx.prevY[0].map((function(){return d})),a.groupCtx.prevYF[0]=a.groupCtx.prevYF[0].map((function(){return 0})));for(var E=0;E<r.globals.dataPoints;E++){var L=a.barHelpers.getStrokeWidth(n,E,g),T={indexes:{i:n,j:E,realIndex:g,translationsIndex:w,bc:l},strokeWidth:L,x:s,y:o,elSeries:x,columnGroupIndex:h,seriesGroup:r.globals.seriesGroups[M]},A=null;a.isHorizontal?(A=a.drawStackedBarPaths(f(f({},T),{},{zeroW:m,barHeight:v,yDivision:u})),_=a.series[n][E]/a.invertedYRatio):(A=a.drawStackedColumnPaths(f(f({},T),{},{xDivision:c,barWidth:_,zeroH:d})),v=a.series[n][E]/a.yRatio[w]);var z=a.barHelpers.drawGoalLine({barXPosition:A.barXPosition,barYPosition:A.barYPosition,goalX:A.goalX,goalY:A.goalY,barHeight:v,barWidth:_});z&&j.add(z),o=A.y,s=A.x,y.push(s),N.push(o);var k=a.barHelpers.getPathFillColor(e,n,E,g),S="",O=r.globals.isBarHorizontal?"apexcharts-flip-x":"apexcharts-flip-y";("bottom"===a.barHelpers.arrBorderRadius[g][E]&&r.globals.series[g][E]>0||"top"===a.barHelpers.arrBorderRadius[g][E]&&r.globals.series[g][E]<0)&&(S=O),x=a.renderSeries(f(f({realIndex:g,pathFill:k.color},k.useRangeColor?{lineFill:k.color}:{}),{},{j:E,i:n,columnGroupIndex:h,pathFrom:A.pathFrom,pathTo:A.pathTo,strokeWidth:L,elSeries:x,x:s,y:o,series:e,barHeight:v,barWidth:_,elDataLabelsWrap:D,elGoalsMarkers:j,type:"bar",visibleSeries:h,classes:S}))}r.globals.seriesXvalues[g]=y,r.globals.seriesYvalues[g]=N,a.groupCtx.prevY.push(a.groupCtx.yArrj),a.groupCtx.prevYF.push(a.groupCtx.yArrjF),a.groupCtx.prevYVal.push(a.groupCtx.yArrjVal),a.groupCtx.prevX.push(a.groupCtx.xArrj),a.groupCtx.prevXF.push(a.groupCtx.xArrjF),a.groupCtx.prevXVal.push(a.groupCtx.xArrjVal),i.add(x)},c=0,u=0;c<e.length;c++,u++)l(c,u);return i}},{key:"initialPositions",value:function(e,t,a,r,n,i,s){var o,l,c=this.w;if(this.isHorizontal){r=c.globals.gridHeight/c.globals.dataPoints;var u=c.config.plotOptions.bar.barHeight;o=-1===String(u).indexOf("%")?parseInt(u,10):r*parseInt(u,10)/100,i=c.globals.padHorizontal+(this.isReversed?c.globals.gridWidth-this.baseLineInvertedY:this.baseLineInvertedY),t=(r-o)/2}else{l=a=c.globals.gridWidth/c.globals.dataPoints;var d=c.config.plotOptions.bar.columnWidth;c.globals.isXNumeric&&c.globals.dataPoints>1?l=(a=c.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:-1===String(d).indexOf("%")?l=parseInt(d,10):l*=parseInt(d,10)/100,n=this.isReversed?this.baseLineY[s]:c.globals.gridHeight-this.baseLineY[s],e=c.globals.padHorizontal+(a-l)/2}var m=c.globals.barGroups.length||1;return{x:e,y:t,yDivision:r,xDivision:a,barHeight:o/m,barWidth:l/m,zeroH:n,zeroW:i}}},{key:"drawStackedBarPaths",value:function(e){for(var t,a=e.indexes,r=e.barHeight,n=e.strokeWidth,i=e.zeroW,s=e.x,o=e.y,l=e.columnGroupIndex,c=e.seriesGroup,u=e.yDivision,d=e.elSeries,m=this.w,g=o+l*r,p=a.i,f=a.j,M=a.realIndex,h=a.translationsIndex,y=0,N=0;N<this.groupCtx.prevXF.length;N++)y+=this.groupCtx.prevXF[N][f];var w;if((w=c.indexOf(m.config.series[M].name))>0){var x=i;this.groupCtx.prevXVal[w-1][f]<0?x=this.series[p][f]>=0?this.groupCtx.prevX[w-1][f]+y-2*(this.isReversed?y:0):this.groupCtx.prevX[w-1][f]:this.groupCtx.prevXVal[w-1][f]>=0&&(x=this.series[p][f]>=0?this.groupCtx.prevX[w-1][f]:this.groupCtx.prevX[w-1][f]-y+2*(this.isReversed?y:0)),t=x}else t=i;s=null===this.series[p][f]?t:t+this.series[p][f]/this.invertedYRatio-2*(this.isReversed?this.series[p][f]/this.invertedYRatio:0);var b=this.barHelpers.getBarpaths({barYPosition:g,barHeight:r,x1:t,x2:s,strokeWidth:n,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,seriesGroup:c,i:p,j:f,w:m});return this.barHelpers.barBackground({j:f,i:p,y1:g,y2:r,elSeries:d}),o+=u,{pathTo:b.pathTo,pathFrom:b.pathFrom,goalX:this.barHelpers.getGoalValues("x",i,null,p,f,h),barXPosition:t,barYPosition:g,x:s,y:o}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,a=e.x,r=e.y,n=e.xDivision,i=e.barWidth,s=e.zeroH,o=e.columnGroupIndex,l=e.seriesGroup,c=e.elSeries,u=this.w,d=t.i,m=t.j,g=t.bc,p=t.realIndex,f=t.translationsIndex;if(u.globals.isXNumeric){var M=u.globals.seriesX[p][m];M||(M=0),a=(M-u.globals.minX)/this.xRatio-i/2*u.globals.barGroups.length}for(var h,y=a+o*i,N=0,w=0;w<this.groupCtx.prevYF.length;w++)N+=isNaN(this.groupCtx.prevYF[w][m])?0:this.groupCtx.prevYF[w][m];var x=d;if(l&&(x=l.indexOf(u.globals.seriesNames[p])),x>0&&!u.globals.isXNumeric||x>0&&u.globals.isXNumeric&&u.globals.seriesX[p-1][m]===u.globals.seriesX[p][m]){var b,D,j,v=Math.min(this.yRatio.length+1,p+1);if(void 0!==this.groupCtx.prevY[x-1]&&this.groupCtx.prevY[x-1].length)for(var _=1;_<v;_++){var I;if(!isNaN(null===(I=this.groupCtx.prevY[x-_])||void 0===I?void 0:I[m])){j=this.groupCtx.prevY[x-_][m];break}}for(var E=1;E<v;E++){var L,T;if((null===(L=this.groupCtx.prevYVal[x-E])||void 0===L?void 0:L[m])<0){D=this.series[d][m]>=0?j-N+2*(this.isReversed?N:0):j;break}if((null===(T=this.groupCtx.prevYVal[x-E])||void 0===T?void 0:T[m])>=0){D=this.series[d][m]>=0?j:j+N-2*(this.isReversed?N:0);break}}void 0===D&&(D=u.globals.gridHeight),h=null!==(b=this.groupCtx.prevYF[0])&&void 0!==b&&b.every((function(e){return 0===e}))&&this.groupCtx.prevYF.slice(1,x).every((function(e){return e.every((function(e){return isNaN(e)}))}))?s:D}else h=s;r=this.series[d][m]?h-this.series[d][m]/this.yRatio[f]+2*(this.isReversed?this.series[d][m]/this.yRatio[f]:0):h;var A=this.barHelpers.getColumnPaths({barXPosition:y,barWidth:i,y1:h,y2:r,yRatio:this.yRatio[f],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:l,realIndex:t.realIndex,i:d,j:m,w:u});return this.barHelpers.barBackground({bc:g,j:m,i:d,x1:y,x2:i,elSeries:c}),{pathTo:A.pathTo,pathFrom:A.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,s,d,m),barXPosition:y,x:u.globals.isXNumeric?a:a+n,y:r}}}]),t}(),Tr=function(){m(t,Er);var e=c(t);function t(){return i(this,t),e.apply(this,arguments)}return o(t,[{key:"draw",value:function(e,t,a){var r=this,n=this.w,i=new Ia(this.ctx),s=n.globals.comboCharts?t:n.config.chart.type,o=new Wa(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=n.config.plotOptions.bar.horizontal;var l=new Ea(this.ctx,n);e=l.getLogSeries(e),this.series=e,this.yRatio=l.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var c=i.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),u=function(t){r.isBoxPlot="boxPlot"===n.config.chart.type||"boxPlot"===n.config.series[t].type;var s,l,u,d,m=void 0,g=void 0,p=[],M=[],h=n.globals.comboCharts?a[t]:t,y=r.barHelpers.getGroupIndex(h).columnGroupIndex,N=i.group({class:"apexcharts-series",seriesName:b.escapeString(n.globals.seriesNames[h]),rel:t+1,"data:realIndex":h});r.ctx.series.addCollapsedClassToSeries(N,h),e[t].length>0&&(r.visibleI=r.visibleI+1);var w,x,D=0;r.yRatio.length>1&&(r.yaxisIndex=n.globals.seriesYAxisReverseMap[h][0],D=h);var j=r.barHelpers.initialPositions(h);g=j.y,w=j.barHeight,l=j.yDivision,d=j.zeroW,m=j.x,x=j.barWidth,s=j.xDivision,u=j.zeroH,M.push(m+x/2);for(var v=i.group({class:"apexcharts-datalabels","data:realIndex":h}),_=i.group({class:"apexcharts-bar-goals-markers"}),I=function(a){var i=r.barHelpers.getStrokeWidth(t,a,h),c=null,b={indexes:{i:t,j:a,realIndex:h,translationsIndex:D},x:m,y:g,strokeWidth:i,elSeries:N};c=r.isHorizontal?r.drawHorizontalBoxPaths(f(f({},b),{},{yDivision:l,barHeight:w,zeroW:d})):r.drawVerticalBoxPaths(f(f({},b),{},{xDivision:s,barWidth:x,zeroH:u})),g=c.y,m=c.x;var j=r.barHelpers.drawGoalLine({barXPosition:c.barXPosition,barYPosition:c.barYPosition,goalX:c.goalX,goalY:c.goalY,barHeight:w,barWidth:x});j&&_.add(j),a>0&&M.push(m+x/2),p.push(g),c.pathTo.forEach((function(s,l){var u=!r.isBoxPlot&&r.candlestickOptions.wick.useFillColor?c.color[l]:n.globals.stroke.colors[t],d=o.fillPath({seriesNumber:h,dataPointIndex:a,color:c.color[l],value:e[t][a]});r.renderSeries({realIndex:h,pathFill:d,lineFill:u,j:a,i:t,pathFrom:c.pathFrom,pathTo:s,strokeWidth:i,elSeries:N,x:m,y:g,series:e,columnGroupIndex:y,barHeight:w,barWidth:x,elDataLabelsWrap:v,elGoalsMarkers:_,visibleSeries:r.visibleI,type:n.config.chart.type})}))},E=0;E<n.globals.dataPoints;E++)I(E);n.globals.seriesXvalues[h]=M,n.globals.seriesYvalues[h]=p,c.add(N)},d=0;d<e.length;d++)u(d);return c}},{key:"drawVerticalBoxPaths",value:function(e){var t=e.indexes,a=e.x;e.y;var r=e.xDivision,n=e.barWidth,i=e.zeroH,s=e.strokeWidth,o=this.w,l=new Ia(this.ctx),c=t.i,u=t.j,d=o.config.plotOptions.candlestick.colors,m=this.boxOptions.colors,g=t.realIndex,p=function(e){return Array.isArray(e)?e[g]:e},f=p(d.upward),M=p(d.downward),h=this.yRatio[t.translationsIndex],y=this.getOHLCValue(g,u),N=i,w=i,x=y.o<y.c?[f]:[M];this.isBoxPlot&&(x=[p(m.lower),p(m.upper)]);var b=Math.min(y.o,y.c),D=Math.max(y.o,y.c),j=y.m;o.globals.isXNumeric&&(a=(o.globals.seriesX[g][u]-o.globals.minX)/this.xRatio-n/2);var v=a+n*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(b=i,D=i):(b=i-b/h,D=i-D/h,N=i-y.h/h,w=i-y.l/h,j=i-y.m/h);var _=l.move(v,i),I=l.move(v+n/2,b);return o.globals.previousPaths.length>0&&(I=this.getPreviousPath(g,u,!0)),_=this.isBoxPlot?[l.move(v,b)+l.line(v+n/2,b)+l.line(v+n/2,N)+l.line(v+n/4,N)+l.line(v+n-n/4,N)+l.line(v+n/2,N)+l.line(v+n/2,b)+l.line(v+n,b)+l.line(v+n,j)+l.line(v,j)+l.line(v,b+s/2),l.move(v,j)+l.line(v+n,j)+l.line(v+n,D)+l.line(v+n/2,D)+l.line(v+n/2,w)+l.line(v+n-n/4,w)+l.line(v+n/4,w)+l.line(v+n/2,w)+l.line(v+n/2,D)+l.line(v,D)+l.line(v,j)+"z"]:[l.move(v,D)+l.line(v+n/2,D)+l.line(v+n/2,N)+l.line(v+n/2,D)+l.line(v+n,D)+l.line(v+n,b)+l.line(v+n/2,b)+l.line(v+n/2,w)+l.line(v+n/2,b)+l.line(v,b)+l.line(v,D-s/2)],I+=l.move(v,b),o.globals.isXNumeric||(a+=r),{pathTo:_,pathFrom:I,x:a,y:D,goalY:this.barHelpers.getGoalValues("y",null,i,c,u,t.translationsIndex),barXPosition:v,color:x}}},{key:"drawHorizontalBoxPaths",value:function(e){var t=e.indexes;e.x;var a=e.y,r=e.yDivision,n=e.barHeight,i=e.zeroW,s=e.strokeWidth,o=this.w,l=new Ia(this.ctx),c=t.i,u=t.j,d=this.boxOptions.colors.lower;this.isBoxPlot&&(d=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var m=this.invertedYRatio,g=t.realIndex,p=this.getOHLCValue(g,u),f=i,M=i,h=Math.min(p.o,p.c),y=Math.max(p.o,p.c),N=p.m;o.globals.isXNumeric&&(a=(o.globals.seriesX[g][u]-o.globals.minX)/this.invertedXRatio-n/2);var w=a+n*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(h=i,y=i):(h=i+h/m,y=i+y/m,f=i+p.h/m,M=i+p.l/m,N=i+p.m/m);var x=l.move(i,w),b=l.move(h,w+n/2);return o.globals.previousPaths.length>0&&(b=this.getPreviousPath(g,u,!0)),x=[l.move(h,w)+l.line(h,w+n/2)+l.line(f,w+n/2)+l.line(f,w+n/2-n/4)+l.line(f,w+n/2+n/4)+l.line(f,w+n/2)+l.line(h,w+n/2)+l.line(h,w+n)+l.line(N,w+n)+l.line(N,w)+l.line(h+s/2,w),l.move(N,w)+l.line(N,w+n)+l.line(y,w+n)+l.line(y,w+n/2)+l.line(M,w+n/2)+l.line(M,w+n-n/4)+l.line(M,w+n/4)+l.line(M,w+n/2)+l.line(y,w+n/2)+l.line(y,w)+l.line(N,w)+"z"],b+=l.move(h,w),o.globals.isXNumeric||(a+=r),{pathTo:x,pathFrom:b,x:y,y:a,goalX:this.barHelpers.getGoalValues("x",i,null,c,u),barYPosition:w,color:d}}},{key:"getOHLCValue",value:function(e,t){var a=this.w,r=new Ea(this.ctx,a),n=r.getLogValAtSeriesIndex(a.globals.seriesCandleH[e][t],e),i=r.getLogValAtSeriesIndex(a.globals.seriesCandleO[e][t],e),s=r.getLogValAtSeriesIndex(a.globals.seriesCandleM[e][t],e),o=r.getLogValAtSeriesIndex(a.globals.seriesCandleC[e][t],e),l=r.getLogValAtSeriesIndex(a.globals.seriesCandleL[e][t],e);return{o:this.isBoxPlot?n:i,h:this.isBoxPlot?i:n,m:s,l:this.isBoxPlot?o:l,c:this.isBoxPlot?l:o}}}]),t}(),Ar=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,a=e.config.plotOptions[e.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(e,a){e.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,a,r){var n=this.w,i=1,s=n.config.plotOptions[e].shadeIntensity,o=this.determineColor(e,t,a);n.globals.hasNegs||r?i=n.config.plotOptions[e].reverseNegativeShade?o.percent<0?o.percent/100*(1.25*s):(1-o.percent/100)*(1.25*s):o.percent<=0?1-(1+o.percent/100)*s:(1-o.percent/100)*s:(i=1-o.percent/100,"treemap"===e&&(i=(1-o.percent/100)*(1.25*s)));var l=o.color,c=new b;if(n.config.plotOptions[e].enableShades)if("dark"===this.w.config.theme.mode){var u=c.shadeColor(-1*i,o.color);l=b.hexToRgba(b.isColorHex(u)?u:b.rgb2hex(u),n.config.fill.opacity)}else{var d=c.shadeColor(i,o.color);l=b.hexToRgba(b.isColorHex(d)?d:b.rgb2hex(d),n.config.fill.opacity)}return{color:l,colorProps:o}}},{key:"determineColor",value:function(e,t,a){var r=this.w,n=r.globals.series[t][a],i=r.config.plotOptions[e],s=i.colorScale.inverse?a:t;i.distributed&&"treemap"===r.config.chart.type&&(s=a);var o=r.globals.colors[s],l=null,c=Math.min.apply(Math,y(r.globals.series[t])),u=Math.max.apply(Math,y(r.globals.series[t]));i.distributed||"heatmap"!==e||(c=r.globals.minY,u=r.globals.maxY),void 0!==i.colorScale.min&&(c=i.colorScale.min<r.globals.minY?i.colorScale.min:r.globals.minY,u=i.colorScale.max>r.globals.maxY?i.colorScale.max:r.globals.maxY);var d=Math.abs(u)+Math.abs(c),m=100*n/(0===d?d-1e-6:d);return i.colorScale.ranges.length>0&&i.colorScale.ranges.map((function(e,t){if(n>=e.from&&n<=e.to){o=e.color,l=e.foreColor?e.foreColor:null,c=e.from,u=e.to;var a=Math.abs(u)+Math.abs(c);m=100*n/(0===a?a-1e-6:a)}})),{color:o,foreColor:l,percent:m}}},{key:"calculateDataLabels",value:function(e){var t=e.text,a=e.x,r=e.y,n=e.i,i=e.j,s=e.colorProps,o=e.fontSize,l=this.w.config.dataLabels,c=new Ia(this.ctx),u=new Ga(this.ctx),d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var m=l.offsetX,g=l.offsetY,p=a+m,f=r+parseFloat(l.style.fontSize)/3+g;u.plotDataLabelsText({x:p,y:f,text:t,i:n,j:i,color:s.foreColor,parent:d,fontSize:o,dataLabelsConfig:l})}return d}},{key:"addListeners",value:function(e){var t=new Ia(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),e}(),zr=function(){function e(t,a){i(this,e),this.ctx=t,this.w=t.w,this.xRatio=a.xRatio,this.yRatio=a.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Ar(t),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return o(e,[{key:"draw",value:function(e){var t=this.w,a=new Ia(this.ctx),r=a.group({class:"apexcharts-heatmap"});r.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var n=t.globals.gridWidth/t.globals.dataPoints,i=t.globals.gridHeight/t.globals.series.length,s=0,o=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(o=!0,l.reverse());for(var c=o?0:l.length-1;o?c<l.length:c>=0;o?c++:c--){var u=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:b.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new _a(this.ctx).dropShadow(u,d,c)}for(var m=0,g=t.config.plotOptions.heatmap.shadeIntensity,p=0,f=0;f<t.globals.dataPoints;f++)if(t.globals.seriesX.length&&!t.globals.allSeriesHasEqualX&&t.globals.minX+t.globals.minXDiff*f<t.globals.seriesX[c][p])m+=n;else{if(p>=l[c].length)break;var M=this.helpers.getShadeColor(t.config.chart.type,c,p,this.negRange),h=M.color,y=M.colorProps;"image"===t.config.fill.type&&(h=new Wa(this.ctx).fillPath({seriesNumber:c,dataPointIndex:p,opacity:t.globals.hasNegs?y.percent<0?1-(1+y.percent/100):g+y.percent/100:y.percent/100,patternID:b.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:n,height:t.config.fill.image.height?t.config.fill.image.height:i}));var N=this.rectRadius,w=a.drawRect(m,s,n,i,N);if(w.attr({cx:m,cy:s}),w.node.classList.add("apexcharts-heatmap-rect"),u.add(w),w.attr({fill:h,i:c,index:c,j:p,val:e[c][p],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?h:t.globals.stroke.colors[0],color:h}),this.helpers.addListeners(w),t.config.chart.animations.enabled&&!t.globals.dataChanged){var x=1;t.globals.resized||(x=t.config.chart.animations.speed),this.animateHeatMap(w,m,s,n,i,x)}if(t.globals.dataChanged){var D=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){D=this.dynamicAnim.speed;var j=t.globals.previousPaths[c]&&t.globals.previousPaths[c][p]&&t.globals.previousPaths[c][p].color;j||(j="rgba(255, 255, 255, 0)"),this.animateHeatColor(w,b.isColorHex(j)?j:b.rgb2hex(j),b.isColorHex(h)?h:b.rgb2hex(h),D)}}var v=(0,t.config.dataLabels.formatter)(t.globals.series[c][p],{value:t.globals.series[c][p],seriesIndex:c,dataPointIndex:p,w:t}),_=this.helpers.calculateDataLabels({text:v,x:m+n/2,y:s+i/2,i:c,j:p,colorProps:y,series:l});null!==_&&u.add(_),m+=n,p++}s+=i,r.add(u)}var I=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?I.unshift(""):I.push(""),t.globals.yAxisScale[0].result=I,r}},{key:"animateHeatMap",value:function(e,t,a,r,n,i){var s=new D(this.ctx);s.animateRect(e,{x:t+r/2,y:a+n/2,width:0,height:0},{x:t,y:a,width:r,height:n},i,(function(){s.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,a,r){e.attr({fill:t}).animate(r).attr({fill:a})}}]),e}(),kr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"drawYAxisTexts",value:function(e,t,a,r){var n=this.w,i=n.config.yaxis[0],s=n.globals.yLabelFormatters[0];return new Ia(this.ctx).drawText({x:e+i.labels.offsetX,y:t+i.labels.offsetY,text:s(r,a),textAnchor:"middle",fontSize:i.labels.style.fontSize,fontFamily:i.labels.style.fontFamily,foreColor:Array.isArray(i.labels.style.colors)?i.labels.style.colors[a]:i.labels.style.colors})}}]),e}(),Sr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w;var a=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=void 0!==a.globals.stroke.colors?a.globals.stroke.colors:a.globals.colors,this.defaultSize=Math.min(a.globals.gridWidth,a.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=a.globals.gridWidth/2,"radialBar"===a.config.chart.type?this.fullAngle=360:this.fullAngle=Math.abs(a.config.plotOptions.pie.endAngle-a.config.plotOptions.pie.startAngle),this.initialAngle=a.config.plotOptions.pie.startAngle%this.fullAngle,a.globals.radialSize=this.defaultSize/2.05-a.config.stroke.width-(a.config.chart.sparkline.enabled?0:a.config.chart.dropShadow.blur),this.donutSize=a.globals.radialSize*parseInt(a.config.plotOptions.pie.donut.size,10)/100;var r=a.config.plotOptions.pie.customScale,n=a.globals.gridWidth/2,s=a.globals.gridHeight/2;this.translateX=n-n*r,this.translateY=s-s*r,this.dataLabelsGroup=new Ia(this.ctx).group({class:"apexcharts-datalabels-group",transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(r,")")}),this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return o(e,[{key:"draw",value:function(e){var t=this,a=this.w,r=new Ia(this.ctx),n=r.group({class:"apexcharts-pie"});if(a.globals.noData)return n;for(var i=0,s=0;s<e.length;s++)i+=b.negToZero(e[s]);var o=[],l=r.group();0===i&&(i=1e-5),e.forEach((function(e){t.maxY=Math.max(t.maxY,e)})),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),"back"===a.config.grid.position&&"polarArea"===this.chartType&&this.drawPolarElements(n);for(var c=0;c<e.length;c++){var u=this.fullAngle*b.negToZero(e[c])/i;o.push(u),"polarArea"===this.chartType?(o[c]=this.fullAngle/e.length,this.sliceSizes.push(a.globals.radialSize*e[c]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var d,m=0,g=0;g<a.globals.previousPaths.length;g++)m+=b.negToZero(a.globals.previousPaths[g]);for(var p=0;p<a.globals.previousPaths.length;p++)d=this.fullAngle*b.negToZero(a.globals.previousPaths[p])/m,this.prevSectorAngleArr.push(d)}if(this.donutSize<0&&(this.donutSize=0),"donut"===this.chartType){var f=r.drawCircle(this.donutSize);f.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),l.add(f)}var M=this.drawArcs(o,e);if(this.sliceLabels.forEach((function(e){M.add(e)})),l.attr({transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),l.add(M),n.add(l),this.donutDataLabels.show){var h=this.renderInnerDataLabels(this.dataLabelsGroup,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});n.add(h)}return"front"===a.config.grid.position&&"polarArea"===this.chartType&&this.drawPolarElements(n),n}},{key:"drawArcs",value:function(e,t){var a=this.w,r=new _a(this.ctx),n=new Ia(this.ctx),i=new Wa(this.ctx),s=n.group({class:"apexcharts-slices"}),o=this.initialAngle,l=this.initialAngle,c=this.initialAngle,u=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var d=0;d<e.length;d++){var m=n.group({class:"apexcharts-series apexcharts-pie-series",seriesName:b.escapeString(a.globals.seriesNames[d]),rel:d+1,"data:realIndex":d});s.add(m),l=u,c=(o=c)+e[d],u=l+this.prevSectorAngleArr[d];var g=c<o?this.fullAngle+c-o:c-o,p=i.fillPath({seriesNumber:d,size:this.sliceSizes[d],value:t[d]}),f=this.getChangedPath(l,u),M=n.drawPath({d:f,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[d]:this.lineColorArr,strokeWidth:0,fill:p,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(d)});if(M.attr({index:0,j:d}),r.setSelectionFilter(M,0,d),a.config.chart.dropShadow.enabled){var h=a.config.chart.dropShadow;r.dropShadow(M,h,d)}this.addListeners(M,this.donutDataLabels),Ia.setAttrs(M.node,{"data:angle":g,"data:startAngle":o,"data:strokeWidth":this.strokeWidth,"data:value":t[d]});var y={x:0,y:0};"pie"===this.chartType||"polarArea"===this.chartType?y=b.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(o+g/2)%this.fullAngle):"donut"===this.chartType&&(y=b.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(o+g/2)%this.fullAngle)),m.add(M);var N=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):(0==(N=g/this.fullAngle*a.config.chart.animations.speed)&&(N=1),this.animDur=N+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(M,{size:this.sliceSizes[d],endAngle:c,startAngle:o,prevStartAngle:l,prevEndAngle:u,animateStartingPos:!0,i:d,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(M,{size:this.sliceSizes[d],endAngle:c,startAngle:o,i:d,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:N}),a.config.plotOptions.pie.expandOnClick&&"polarArea"!==this.chartType&&M.node.addEventListener("mouseup",this.pieClicked.bind(this,d)),void 0!==a.globals.selectedDataPoints[0]&&a.globals.selectedDataPoints[0].indexOf(d)>-1&&this.pieClicked(d),a.config.dataLabels.enabled){var w=y.x,x=y.y,D=100*g/this.fullAngle+"%";if(0!==g&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[d]){var j=a.config.dataLabels.formatter;void 0!==j&&(D=j(a.globals.seriesPercent[d][0],{seriesIndex:d,w:a}));var v=a.globals.dataLabels.style.colors[d],_=n.group({class:"apexcharts-datalabels"}),I=n.drawText({x:w,y:x,text:D,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:v});if(_.add(I),a.config.dataLabels.dropShadow.enabled){var E=a.config.dataLabels.dropShadow;r.dropShadow(I,E)}I.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&!1===a.globals.resized&&(I.node.classList.add("apexcharts-pie-label-delay"),I.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(_)}}}return s}},{key:"addListeners",value:function(e,t){var a=new Ia(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var a=this.w,r=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,n=r,i=t.startAngle,s=t.startAngle;void 0!==t.prevStartAngle&&void 0!==t.prevEndAngle&&(i=t.prevEndAngle,n=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===a.config.series.length-1&&(r+s>this.fullAngle?t.endAngle=t.endAngle-(r+s):r+s<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(r+s)))),r===this.fullAngle&&(r=this.fullAngle-.01),this.animateArc(e,i,s,r,n,t)}},{key:"animateArc",value:function(e,t,a,r,n,i){var s,o=this,l=this.w,c=new D(this.ctx),u=i.size;(isNaN(t)||isNaN(n))&&(t=a,n=r,i.dur=0);var d=r,m=a,g=t<a?this.fullAngle+t-a:t-a;l.globals.dataChanged&&i.shouldSetPrevPaths&&i.prevEndAngle&&(s=o.getPiePath({me:o,startAngle:i.prevStartAngle,angle:i.prevEndAngle<i.prevStartAngle?this.fullAngle+i.prevEndAngle-i.prevStartAngle:i.prevEndAngle-i.prevStartAngle,size:u}),e.attr({d:s})),0!==i.dur?e.animate(i.dur,i.animBeginArr[i.i]).after((function(){"pie"!==o.chartType&&"donut"!==o.chartType&&"polarArea"!==o.chartType||this.animate(l.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":o.strokeWidth}),i.i===l.config.series.length-1&&c.animationCompleted(e)})).during((function(l){d=g+(r-g)*l,i.animateStartingPos&&(d=n+(r-n)*l,m=t-n+(a-(t-n))*l),s=o.getPiePath({me:o,startAngle:m,angle:d,size:u}),e.node.setAttribute("data:pathOrig",s),e.attr({d:s})})):(s=o.getPiePath({me:o,startAngle:m,angle:r,size:u}),i.isTrack||(l.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",s),e.attr({d:s,"stroke-width":o.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,a=this.w,r=this,n=r.sliceSizes[e]+(a.config.plotOptions.pie.expandOnClick?4:0),i=a.globals.dom.Paper.findOne(".apexcharts-".concat(r.chartType.toLowerCase(),"-slice-").concat(e));if("true"!==i.attr("data:pieClicked")){var s=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(s,(function(e){e.setAttribute("data:pieClicked","false");var t=e.getAttribute("data:pathOrig");t&&e.setAttribute("d",t)})),a.globals.capturedDataPointIndex=e,i.attr("data:pieClicked","true");var o=parseInt(i.attr("data:startAngle"),10),l=parseInt(i.attr("data:angle"),10);t=r.getPiePath({me:r,startAngle:o,angle:l,size:n}),360!==l&&i.plot(t)}else{i.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(i.node,this.donutDataLabels);var c=i.attr("data:pathOrig");i.attr({d:c})}}},{key:"getChangedPath",value:function(e,t){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),a}},{key:"getPiePath",value:function(e){var t,a=e.me,r=e.startAngle,n=e.angle,i=e.size,s=new Ia(this.ctx),o=r,l=Math.PI*(o-90)/180,c=n+r;Math.ceil(c)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(c=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(c)>this.fullAngle&&(c-=this.fullAngle);var u=Math.PI*(c-90)/180,d=a.centerX+i*Math.cos(l),m=a.centerY+i*Math.sin(l),g=a.centerX+i*Math.cos(u),p=a.centerY+i*Math.sin(u),f=b.polarToCartesian(a.centerX,a.centerY,a.donutSize,c),M=b.polarToCartesian(a.centerX,a.centerY,a.donutSize,o),h=n>180?1:0,y=["M",d,m,"A",i,i,0,h,1,g,p];return t="donut"===a.chartType?[].concat(y,["L",f.x,f.y,"A",a.donutSize,a.donutSize,0,h,0,M.x,M.y,"L",d,m,"z"]).join(" "):"pie"===a.chartType||"polarArea"===a.chartType?[].concat(y,["L",a.centerX,a.centerY,"L",d,m]).join(" "):[].concat(y).join(" "),s.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,a=new er(this.ctx),r=new Ia(this.ctx),n=new kr(this.ctx),i=r.group(),s=r.group(),o=a.niceScale(0,Math.ceil(this.maxY),0),l=o.result.reverse(),c=o.result.length;this.maxY=o.niceMax;for(var u=t.globals.radialSize,d=u/(c-1),m=0;m<c-1;m++){var g=r.drawCircle(u);if(g.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var p=n.drawYAxisTexts(this.centerX,this.centerY-u+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,m,l[m]);s.add(p)}i.add(g),u-=d}this.drawSpokes(e),e.add(i),e.add(s)}},{key:"renderInnerDataLabels",value:function(e,t,a){var r=this.w,n=new Ia(this.ctx),i=t.total.show;e.node.innerHTML="",e.node.style.opacity=a.opacity;var s,o,l=a.centerX,c=this.donutDataLabels.total.label?a.centerY:a.centerY-a.centerY/6;s=void 0===t.name.color?r.globals.colors[0]:t.name.color;var u=t.name.fontSize,d=t.name.fontFamily,m=t.name.fontWeight;o=void 0===t.value.color?r.config.chart.foreColor:t.value.color;var g=t.value.formatter,p="",f="";if(i?(s=t.total.color,u=t.total.fontSize,d=t.total.fontFamily,m=t.total.fontWeight,f=this.donutDataLabels.total.label?t.total.label:"",p=t.total.formatter(r)):1===r.globals.series.length&&(p=g(r.globals.series[0],r),f=r.globals.seriesNames[0]),f&&(f=t.name.formatter(f,t.total.show,r)),t.name.show){var M=n.drawText({x:l,y:c+parseFloat(t.name.offsetY),text:f,textAnchor:"middle",foreColor:s,fontSize:u,fontWeight:m,fontFamily:d});M.node.classList.add("apexcharts-datalabel-label"),e.add(M)}if(t.value.show){var h=t.name.show?parseFloat(t.value.offsetY)+16:t.value.offsetY,y=n.drawText({x:l,y:c+h,text:p,textAnchor:"middle",foreColor:o,fontWeight:t.value.fontWeight,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});y.node.classList.add("apexcharts-datalabel-value"),e.add(y)}return e}},{key:"printInnerLabels",value:function(e,t,a,r){var n,i=this.w;r?n=void 0===e.name.color?i.globals.colors[parseInt(r.parentNode.getAttribute("rel"),10)-1]:e.name.color:i.globals.series.length>1&&e.total.show&&(n=e.total.color);var s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),o=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,e.value.formatter)(a,i),r||"function"!=typeof e.total.formatter||(a=e.total.formatter(i));var l=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,l,i):"",null!==s&&(s.textContent=t),null!==o&&(o.textContent=a),null!==s&&(s.style.fill=n)}},{key:"printDataLabelsInner",value:function(e,t){var a=this.w,r=e.getAttribute("data:value"),n=a.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(t,n,r,e);var i=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==i&&(i.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,a=this.w,r=new Ia(this.ctx),n=a.config.plotOptions.polarArea.spokes;if(0!==n.strokeWidth){for(var i=[],s=360/a.globals.series.length,o=0;o<a.globals.series.length;o++)i.push(b.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+s*o));i.forEach((function(a,i){var s=r.drawLine(a.x,a.y,t.centerX,t.centerY,Array.isArray(n.connectorColors)?n.connectorColors[i]:n.connectorColors);e.add(s)}))}}},{key:"revertDataLabelsInner",value:function(){var e=this.w;if(this.donutDataLabels.show){var t=e.globals.dom.Paper.findOne(".apexcharts-datalabels-group"),a=this.renderInnerDataLabels(t,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});e.globals.dom.Paper.findOne(".apexcharts-radialbar, .apexcharts-pie").add(a)}}}]),e}(),Or=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var a=this.w;this.graphics=new Ia(this.ctx),this.lineColorArr=void 0!==a.globals.stroke.colors?a.globals.stroke.colors:a.globals.colors,this.defaultSize=a.globals.svgHeight<a.globals.svgWidth?a.globals.gridHeight:a.globals.gridWidth,this.isLog=a.config.yaxis[0].logarithmic,this.logBase=a.config.yaxis[0].logBase,this.coreUtils=new Ea(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(this.logBase,a.globals.maxY,0):a.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.logBase,this.w.globals.minY,0):a.globals.minY,this.polygons=a.config.plotOptions.radar.polygons,this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-a.config.chart.dropShadow.blur,a.config.xaxis.labels.show&&(this.size=this.size-a.globals.xAxisLabelsWidth/1.75),void 0!==a.config.plotOptions.radar.size&&(this.size=a.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return o(e,[{key:"draw",value:function(e){var t=this,a=this.w,r=new Wa(this.ctx),n=[],i=new Ga(this.ctx);e.length&&(this.dataPointsLen=e[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var s=a.globals.gridWidth/2,o=a.globals.gridHeight/2,l=s+a.config.plotOptions.radar.offsetX,c=o+a.config.plotOptions.radar.offsetY,u=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(l||0,", ").concat(c||0,")")}),d=[],m=null,g=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(e,s){var o=e.length===a.globals.dataPoints,l=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":o,seriesName:b.escapeString(a.globals.seriesNames[s]),rel:s+1,"data:realIndex":s});t.dataRadiusOfPercent[s]=[],t.dataRadius[s]=[],t.angleArr[s]=[],e.forEach((function(e,a){var r=Math.abs(t.maxValue-t.minValue);e-=t.minValue,t.isLog&&(e=t.coreUtils.getLogVal(t.logBase,e,0)),t.dataRadiusOfPercent[s][a]=e/r,t.dataRadius[s][a]=t.dataRadiusOfPercent[s][a]*t.size,t.angleArr[s][a]=a*t.disAngle})),d=t.getDataPointsPos(t.dataRadius[s],t.angleArr[s]);var c=t.createPaths(d,{x:0,y:0});m=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),g=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":s}),a.globals.delayedElements.push({el:m.node,index:s});var u={i:s,realIndex:s,animationDelay:s,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[s],strokeLineCap:a.config.stroke.lineCap},p=null;a.globals.previousPaths.length>0&&(p=t.getPreviousPath(s));for(var M=0;M<c.linePathsTo.length;M++){var h=t.graphics.renderPaths(f(f({},u),{},{pathFrom:null===p?c.linePathsFrom[M]:p,pathTo:c.linePathsTo[M],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[s]:t.strokeWidth,fill:"none",drawShadow:!1}));l.add(h);var y=r.fillPath({seriesNumber:s}),N=t.graphics.renderPaths(f(f({},u),{},{pathFrom:null===p?c.areaPathsFrom[M]:p,pathTo:c.areaPathsTo[M],strokeWidth:0,fill:y,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var w=new _a(t.ctx),x=a.config.chart.dropShadow;w.dropShadow(N,Object.assign({},x,{noUserSpaceOnUse:!0}),s)}l.add(N)}e.forEach((function(e,r){var n=new Va(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:s,dataPointIndex:r}),o=t.graphics.drawMarker(d[r].x,d[r].y,n);o.attr("rel",r),o.attr("j",r),o.attr("index",s),o.node.setAttribute("default-marker-size",n.pSize);var c=t.graphics.group({class:"apexcharts-series-markers"});c&&c.add(o),m.add(c),l.add(m);var u=a.config.dataLabels;if(u.enabled){var p=u.formatter(a.globals.series[s][r],{seriesIndex:s,dataPointIndex:r,w:a});i.plotDataLabelsText({x:d[r].x,y:d[r].y,text:p,textAnchor:"middle",i:s,j:s,parent:g,offsetCorrection:!1,dataLabelsConfig:f({},u)})}l.add(g)})),n.push(l)})),this.drawPolygons({parent:u}),a.config.xaxis.labels.show){var p=this.drawXAxisTexts();u.add(p)}return n.forEach((function(e){u.add(e)})),u.add(this.yaxisLabels),u}},{key:"drawPolygons",value:function(e){for(var t=this,a=this.w,r=e.parent,n=new kr(this.ctx),i=a.globals.yAxisScale[0].result.reverse(),s=i.length,o=[],l=this.size/(s-1),c=0;c<s;c++)o[c]=l*c;o.reverse();var u=[],d=[];o.forEach((function(e,a){var r=b.getPolygonPos(e,t.dataPointsLen),n="";r.forEach((function(e,r){if(0===a){var i=t.graphics.drawLine(e.x,e.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[r]:t.polygons.connectorColors);d.push(i)}0===r&&t.yaxisLabelsTextsPos.push({x:e.x,y:e.y}),n+=e.x+","+e.y+" "})),u.push(n)})),u.forEach((function(e,n){var i=t.polygons.strokeColors,s=t.polygons.strokeWidth,o=t.graphics.drawPolygon(e,Array.isArray(i)?i[n]:i,Array.isArray(s)?s[n]:s,a.globals.radarPolygons.fill.colors[n]);r.add(o)})),d.forEach((function(e){r.add(e)})),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(e,a){var r=n.drawYAxisTexts(e.x,e.y,a,i[a]);t.yaxisLabels.add(r)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,a=t.config.xaxis.labels,r=this.graphics.group({class:"apexcharts-xaxis"}),n=b.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(i,s){var o=t.config.xaxis.labels.formatter,l=new Ga(e.ctx);if(n[s]){var c=e.getTextPos(n[s],e.size),u=o(i,{seriesIndex:-1,dataPointIndex:s,w:t});l.plotDataLabelsText({x:c.newX,y:c.newY,text:u,textAnchor:c.textAnchor,i:s,j:s,parent:r,className:"apexcharts-xaxis-label",color:Array.isArray(a.style.colors)&&a.style.colors[s]?a.style.colors[s]:"#a8a8a8",dataLabelsConfig:f({textAnchor:c.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1}).on("click",(function(a){if("function"==typeof t.config.chart.events.xAxisLabelClick){var r=Object.assign({},t,{labelIndex:s});t.config.chart.events.xAxisLabelClick(a,e.ctx,r)}}))}})),r}},{key:"createPaths",value:function(e,t){var a=this,r=[],n=[],i=[],s=[];if(e.length){n=[this.graphics.move(t.x,t.y)],s=[this.graphics.move(t.x,t.y)];var o=this.graphics.move(e[0].x,e[0].y),l=this.graphics.move(e[0].x,e[0].y);e.forEach((function(t,r){o+=a.graphics.line(t.x,t.y),l+=a.graphics.line(t.x,t.y),r===e.length-1&&(o+="Z",l+="Z")})),r.push(o),i.push(l)}return{linePathsFrom:n,linePathsTo:r,areaPathsFrom:s,areaPathsTo:i}}},{key:"getTextPos",value:function(e,t){var a="middle",r=e.x,n=e.y;return Math.abs(e.x)>=10?e.x>0?(a="start",r+=10):e.x<0&&(a="end",r-=10):a="middle",Math.abs(e.y)>=t-10&&(e.y<0?n-=10:e.y>0&&(n+=10)),{textAnchor:a,newX:r,newY:n}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,a=null,r=0;r<t.globals.previousPaths.length;r++){var n=t.globals.previousPaths[r];n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[r].paths[0]&&(a=t.globals.previousPaths[r].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var r=[],n=0;n<a;n++){var i={};i.x=e[n]*Math.sin(t[n]),i.y=-e[n]*Math.cos(t[n]),r.push(i)}return r}}]),e}(),Cr=function(){m(t,Sr);var e=c(t);function t(a){var r;i(this,t),(r=e.call(this,a)).ctx=a,r.w=a.w,r.animBeginArr=[0],r.animDur=0;var s=r.w;return r.startAngle=s.config.plotOptions.radialBar.startAngle,r.endAngle=s.config.plotOptions.radialBar.endAngle,r.totalAngle=Math.abs(s.config.plotOptions.radialBar.endAngle-s.config.plotOptions.radialBar.startAngle),r.trackStartAngle=s.config.plotOptions.radialBar.track.startAngle,r.trackEndAngle=s.config.plotOptions.radialBar.track.endAngle,r.barLabels=r.w.config.plotOptions.radialBar.barLabels,r.donutDataLabels=r.w.config.plotOptions.radialBar.dataLabels,r.radialDataLabels=r.donutDataLabels,r.trackStartAngle||(r.trackStartAngle=r.startAngle),r.trackEndAngle||(r.trackEndAngle=r.endAngle),360===r.endAngle&&(r.endAngle=359.99),r.margin=parseInt(s.config.plotOptions.radialBar.track.margin,10),r.onBarLabelClick=r.onBarLabelClick.bind(n(r)),r}return o(t,[{key:"draw",value:function(e){var t=this.w,a=new Ia(this.ctx),r=a.group({class:"apexcharts-radialbar"});if(t.globals.noData)return r;var n=a.group(),i=this.defaultSize/2,s=t.globals.gridWidth/2,o=this.defaultSize/2.05;t.config.chart.sparkline.enabled||(o=o-t.config.stroke.width-t.config.chart.dropShadow.blur);var l=t.globals.fill.colors;if(t.config.plotOptions.radialBar.track.show){var c=this.drawTracks({size:o,centerX:s,centerY:i,colorArr:l,series:e});n.add(c)}var u=this.drawArcs({size:o,centerX:s,centerY:i,colorArr:l,series:e}),d=360;t.config.plotOptions.radialBar.startAngle<0&&(d=this.totalAngle);var m=(360-d)/360;if(t.globals.radialSize=o-o*m,this.radialDataLabels.value.show){var g=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);t.globals.radialSize+=g*m}return n.add(u.g),"front"===t.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),r.add(n),r}},{key:"drawTracks",value:function(e){var t=this.w,a=new Ia(this.ctx),r=a.group({class:"apexcharts-tracks"}),n=new _a(this.ctx),i=new Wa(this.ctx),s=this.getStrokeWidth(e);e.size=e.size-s/2;for(var o=0;o<e.series.length;o++){var l=a.group({class:"apexcharts-radialbar-track apexcharts-track"});r.add(l),l.attr({rel:o+1}),e.size=e.size-s-this.margin;var c=t.config.plotOptions.radialBar.track,u=i.fillPath({seriesNumber:0,size:e.size,fillColors:Array.isArray(c.background)?c.background[o]:c.background,solid:!0}),d=this.trackStartAngle,m=this.trackEndAngle;Math.abs(m)+Math.abs(d)>=360&&(m=360-Math.abs(this.startAngle)-.1);var g=a.drawPath({d:"",stroke:u,strokeWidth:s*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var p=c.dropShadow;n.dropShadow(g,p)}l.add(g),g.attr("id","apexcharts-radialbarTrack-"+o),this.animatePaths(g,{centerX:e.centerX,centerY:e.centerY,endAngle:m,startAngle:d,size:e.size,i:o,totalItems:2,animBeginArr:0,dur:0,isTrack:!0})}return r}},{key:"drawArcs",value:function(e){var t=this.w,a=new Ia(this.ctx),r=new Wa(this.ctx),n=new _a(this.ctx),i=a.group(),s=this.getStrokeWidth(e);e.size=e.size-s/2;var o=t.config.plotOptions.radialBar.hollow.background,l=e.size-s*e.series.length-this.margin*e.series.length-s*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(o=this.drawHollowImage(e,i,l,o));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:o||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;n.dropShadow(u,d)}var m=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(m=0);var g=null;if(this.radialDataLabels.show){var p=t.globals.dom.Paper.findOne(".apexcharts-datalabels-group");g=this.renderInnerDataLabels(p,this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:m})}"back"===t.config.plotOptions.radialBar.hollow.position&&(i.add(u),g&&i.add(g));var f=!1;t.config.plotOptions.radialBar.inverseOrder&&(f=!0);for(var M=f?e.series.length-1:0;f?M>=0:M<e.series.length;f?M--:M++){var h=a.group({class:"apexcharts-series apexcharts-radial-series",seriesName:b.escapeString(t.globals.seriesNames[M])});i.add(h),h.attr({rel:M+1,"data:realIndex":M}),this.ctx.series.addCollapsedClassToSeries(h,M),e.size=e.size-s-this.margin;var y=r.fillPath({seriesNumber:M,size:e.size,value:e.series[M]}),N=this.startAngle,w=void 0,x=b.negToZero(e.series[M]>100?100:e.series[M])/100,D=Math.round(this.totalAngle*x)+this.startAngle,j=void 0;t.globals.dataChanged&&(w=this.startAngle,j=Math.round(this.totalAngle*b.negToZero(t.globals.previousPaths[M])/100)+w),Math.abs(D)+Math.abs(N)>360&&(D-=.01),Math.abs(j)+Math.abs(w)>360&&(j-=.01);var v=D-N,_=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[M]:t.config.stroke.dashArray,I=a.drawPath({d:"",stroke:y,strokeWidth:s,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+M,strokeDashArray:_});if(Ia.setAttrs(I.node,{"data:angle":v,"data:value":e.series[M]}),t.config.chart.dropShadow.enabled){var E=t.config.chart.dropShadow;n.dropShadow(I,E,M)}if(n.setSelectionFilter(I,0,M),this.addListeners(I,this.radialDataLabels),h.add(I),I.attr({index:0,j:M}),this.barLabels.enabled){var L=b.polarToCartesian(e.centerX,e.centerY,e.size,N),T=this.barLabels.formatter(t.globals.seriesNames[M],{seriesIndex:M,w:t}),A=["apexcharts-radialbar-label"];this.barLabels.onClick||A.push("apexcharts-no-click");var z=this.barLabels.useSeriesColors?t.globals.colors[M]:t.config.chart.foreColor;z||(z=t.config.chart.foreColor);var k=L.x+this.barLabels.offsetX,S=L.y+this.barLabels.offsetY,O=a.drawText({x:k,y:S,text:T,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:z,cssClass:A.join(" ")});O.on("click",this.onBarLabelClick),O.attr({rel:M+1}),0!==N&&O.attr({"transform-origin":"".concat(k," ").concat(S),transform:"rotate(".concat(N," 0 0)")}),h.add(O)}var C=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(C=t.config.chart.animations.speed),t.globals.dataChanged&&(C=t.config.chart.animations.dynamicAnimation.speed),this.animDur=C/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(I,{centerX:e.centerX,centerY:e.centerY,endAngle:D,startAngle:N,prevEndAngle:j,prevStartAngle:w,size:e.size,i:M,totalItems:2,animBeginArr:this.animBeginArr,dur:C,shouldSetPrevPaths:!0})}return{g:i,elHollow:u,dataLabels:g}}},{key:"drawHollow",value:function(e){var t=new Ia(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,a,r){var n=this.w,i=new Wa(this.ctx),s=b.randomId(),o=n.config.plotOptions.radialBar.hollow.image;if(n.config.plotOptions.radialBar.hollow.imageClipped)i.clippedImgArea({width:a,height:a,image:o,patternID:"pattern".concat(n.globals.cuid).concat(s)}),r="url(#pattern".concat(n.globals.cuid).concat(s,")");else{var l=n.config.plotOptions.radialBar.hollow.imageWidth,c=n.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=n.globals.dom.Paper.image(o,(function(t){this.move(e.centerX-t.width/2+n.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+n.config.plotOptions.radialBar.hollow.imageOffsetY)}));t.add(u)}else{var d=n.globals.dom.Paper.image(o,(function(t){this.move(e.centerX-l/2+n.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+n.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));t.add(d)}}return r}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(e){var t=parseInt(e.target.getAttribute("rel"),10)-1,a=this.barLabels.onClick,r=this.w;a&&a(r.globals.seriesNames[t],{w:r,seriesIndex:t})}}]),t}(),Yr=function(){m(t,Er);var e=c(t);function t(){return i(this,t),e.apply(this,arguments)}return o(t,[{key:"draw",value:function(e,t){var a=this.w,r=new Ia(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=a.globals.seriesRangeStart,this.seriesRangeEnd=a.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var n=r.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),i=0;i<e.length;i++){var s,o,l,c,u=void 0,d=void 0,m=a.globals.comboCharts?t[i]:i,g=this.barHelpers.getGroupIndex(m).columnGroupIndex,p=r.group({class:"apexcharts-series",seriesName:b.escapeString(a.globals.seriesNames[m]),rel:i+1,"data:realIndex":m});this.ctx.series.addCollapsedClassToSeries(p,m),e[i].length>0&&(this.visibleI=this.visibleI+1);var M=0,h=0,y=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[m][0],y=m);var N=this.barHelpers.initialPositions(m);d=N.y,c=N.zeroW,u=N.x,h=N.barWidth,M=N.barHeight,s=N.xDivision,o=N.yDivision,l=N.zeroH;for(var w=r.group({class:"apexcharts-datalabels","data:realIndex":m}),x=r.group({class:"apexcharts-rangebar-goals-markers"}),D=0;D<a.globals.dataPoints;D++){var j=this.barHelpers.getStrokeWidth(i,D,m),v=this.seriesRangeStart[i][D],_=this.seriesRangeEnd[i][D],I=null,E=null,L=null,T={x:u,y:d,strokeWidth:j,elSeries:p},A=this.seriesLen;if(a.config.plotOptions.bar.rangeBarGroupRows&&(A=1),void 0===a.config.series[i].data[D])break;if(this.isHorizontal){L=d+M*this.visibleI;var z=(o-M*A)/2;if(a.config.series[i].data[D].x){var k=this.detectOverlappingBars({i,j:D,barYPosition:L,srty:z,barHeight:M,yDivision:o,initPositions:N});M=k.barHeight,L=k.barYPosition}h=(I=this.drawRangeBarPaths(f({indexes:{i,j:D,realIndex:m},barHeight:M,barYPosition:L,zeroW:c,yDivision:o,y1:v,y2:_},T))).barWidth}else{a.globals.isXNumeric&&(u=(a.globals.seriesX[i][D]-a.globals.minX)/this.xRatio-h/2),E=u+h*this.visibleI;var S=(s-h*A)/2;if(a.config.series[i].data[D].x){var O=this.detectOverlappingBars({i,j:D,barXPosition:E,srtx:S,barWidth:h,xDivision:s,initPositions:N});h=O.barWidth,E=O.barXPosition}M=(I=this.drawRangeColumnPaths(f({indexes:{i,j:D,realIndex:m,translationsIndex:y},barWidth:h,barXPosition:E,zeroH:l,xDivision:s},T))).barHeight}var C=this.barHelpers.drawGoalLine({barXPosition:I.barXPosition,barYPosition:L,goalX:I.goalX,goalY:I.goalY,barHeight:M,barWidth:h});C&&x.add(C),d=I.y,u=I.x;var Y=this.barHelpers.getPathFillColor(e,i,D,m);this.renderSeries({realIndex:m,pathFill:Y.color,lineFill:Y.useRangeColor?Y.color:a.globals.stroke.colors[m],j:D,i,x:u,y:d,y1:v,y2:_,pathFrom:I.pathFrom,pathTo:I.pathTo,strokeWidth:j,elSeries:p,series:e,barHeight:M,barWidth:h,barXPosition:E,barYPosition:L,columnGroupIndex:g,elDataLabelsWrap:w,elGoalsMarkers:x,visibleSeries:this.visibleI,type:"rangebar"})}n.add(p)}return n}},{key:"detectOverlappingBars",value:function(e){var t=e.i,a=e.j,r=e.barYPosition,n=e.barXPosition,i=e.srty,s=e.srtx,o=e.barHeight,l=e.barWidth,c=e.yDivision,u=e.xDivision,d=e.initPositions,m=this.w,g=[],p=m.config.series[t].data[a].rangeName,f=m.config.series[t].data[a].x,M=Array.isArray(f)?f.join(" "):f,h=m.globals.labels.map((function(e){return Array.isArray(e)?e.join(" "):e})).indexOf(M),y=m.globals.seriesRange[t].findIndex((function(e){return e.x===M&&e.overlaps.length>0}));return this.isHorizontal?(r=m.config.plotOptions.bar.rangeBarGroupRows?i+c*h:i+o*this.visibleI+c*h,y>-1&&!m.config.plotOptions.bar.rangeBarOverlap&&(g=m.globals.seriesRange[t][y].overlaps).indexOf(p)>-1&&(r=(o=d.barHeight/g.length)*this.visibleI+c*(100-parseInt(this.barOptions.barHeight,10))/100/2+o*(this.visibleI+g.indexOf(p))+c*h)):(h>-1&&!m.globals.timescaleLabels.length&&(n=m.config.plotOptions.bar.rangeBarGroupRows?s+u*h:s+l*this.visibleI+u*h),y>-1&&!m.config.plotOptions.bar.rangeBarOverlap&&(g=m.globals.seriesRange[t][y].overlaps).indexOf(p)>-1&&(n=(l=d.barWidth/g.length)*this.visibleI+u*(100-parseInt(this.barOptions.barWidth,10))/100/2+l*(this.visibleI+g.indexOf(p))+u*h)),{barYPosition:r,barXPosition:n,barHeight:o,barWidth:l}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,a=e.x,r=e.xDivision,n=e.barWidth,i=e.barXPosition,s=e.zeroH,o=this.w,l=t.i,c=t.j,u=t.realIndex,d=t.translationsIndex,m=this.yRatio[d],g=this.getRangeValue(u,c),p=Math.min(g.start,g.end),f=Math.max(g.start,g.end);void 0===this.series[l][c]||null===this.series[l][c]?p=s:(p=s-p/m,f=s-f/m);var M=Math.abs(f-p),h=this.barHelpers.getColumnPaths({barXPosition:i,barWidth:n,y1:p,y2:f,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:u,i:u,j:c,w:o});if(o.globals.isXNumeric){var y=this.getBarXForNumericXAxis({x:a,j:c,realIndex:u,barWidth:n});a=y.x,i=y.barXPosition}else a+=r;return{pathTo:h.pathTo,pathFrom:h.pathFrom,barHeight:M,x:a,y:g.start<0&&g.end<0?p:f,goalY:this.barHelpers.getGoalValues("y",null,s,l,c,d),barXPosition:i}}},{key:"preventBarOverflow",value:function(e){var t=this.w;return e<0&&(e=0),e>t.globals.gridWidth&&(e=t.globals.gridWidth),e}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,a=e.y,r=e.y1,n=e.y2,i=e.yDivision,s=e.barHeight,o=e.barYPosition,l=e.zeroW,c=this.w,u=t.realIndex,d=t.j,m=this.preventBarOverflow(l+r/this.invertedYRatio),g=this.preventBarOverflow(l+n/this.invertedYRatio),p=this.getRangeValue(u,d),f=Math.abs(g-m),M=this.barHelpers.getBarpaths({barYPosition:o,barHeight:s,x1:m,x2:g,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:u,realIndex:u,j:d,w:c});return c.globals.isXNumeric||(a+=i),{pathTo:M.pathTo,pathFrom:M.pathFrom,barWidth:f,x:p.start<0&&p.end<0?m:g,goalX:this.barHelpers.getGoalValues("x",l,null,u,d),y:a}}},{key:"getRangeValue",value:function(e,t){var a=this.w;return{start:a.globals.seriesRangeStart[e][t],end:a.globals.seriesRangeEnd[e][t]}}}]),t}(),Ur=function(){function e(t){i(this,e),this.w=t.w,this.lineCtx=t}return o(e,[{key:"sameValueSeriesFix",value:function(e,t){var a=this.w;if(("gradient"===a.config.fill.type||"gradient"===a.config.fill.type[e])&&new Ea(this.lineCtx.ctx,a).seriesHaveSameValues(e)){var r=t[e].slice();r[r.length-1]=r[r.length-1]+1e-6,t[e]=r}return t}},{key:"calculatePoints",value:function(e){var t=e.series,a=e.realIndex,r=e.x,n=e.y,i=e.i,s=e.j,o=e.prevY,l=this.w,c=[],u=[],d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;return l.globals.isXNumeric&&(d=(l.globals.seriesX[a][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),0===s&&(c.push(d),u.push(b.isNumber(t[i][0])?o+l.config.markers.offsetY:null)),c.push(r+l.config.markers.offsetX),u.push(b.isNumber(t[i][s+1])?n+l.config.markers.offsetY:null),{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,a=e.pathFromArea,r=e.realIndex,n=this.w,i=0;i<n.globals.previousPaths.length;i++){var s=n.globals.previousPaths[i];("line"===s.type||"area"===s.type)&&s.paths.length>0&&parseInt(s.realIndex,10)===parseInt(r,10)&&("line"===s.type?(this.lineCtx.appendPathFrom=!1,t=n.globals.previousPaths[i].paths[0].d):"area"===s.type&&(this.lineCtx.appendPathFrom=!1,a=n.globals.previousPaths[i].paths[0].d,n.config.stroke.show&&n.globals.previousPaths[i].paths[1]&&(t=n.globals.previousPaths[i].paths[1].d)))}return{pathFromLine:t,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(e){var t,a,r,n=e.i,i=e.realIndex,s=e.series,o=e.prevY,l=e.lineYPosition,c=e.translationsIndex,u=this.w,d=u.config.chart.stacked&&!u.globals.comboCharts||u.config.chart.stacked&&u.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||"bar"===(null===(t=this.w.config.series[i])||void 0===t?void 0:t.type)||"column"===(null===(a=this.w.config.series[i])||void 0===a?void 0:a.type));if(void 0!==(null===(r=s[n])||void 0===r?void 0:r[0]))o=(l=d&&n>0?this.lineCtx.prevSeriesY[n-1][0]:this.lineCtx.zeroY)-s[n][0]/this.lineCtx.yRatio[c]+2*(this.lineCtx.isReversed?s[n][0]/this.lineCtx.yRatio[c]:0);else if(d&&n>0&&void 0===s[n][0])for(var m=n-1;m>=0;m--)if(null!==s[m][0]&&void 0!==s[m][0]){o=l=this.lineCtx.prevSeriesY[m][0];break}return{prevY:o,lineYPosition:l}}}]),e}(),Qr=function(e,t,a){var r=e.slice(t,a);if(t){if(a-t>1&&r[1].length<6){var n=r[0].length;r[1]=[2*r[0][n-2]-r[0][n-4],2*r[0][n-1]-r[0][n-3]].concat(r[1])}r[0]=r[0].slice(-2)}return r};function Pr(e,t){return(t[1]-e[1])/(t[0]-e[0])}var Fr=function(){function e(t,a,r){i(this,e),this.ctx=t,this.w=t.w,this.xyRatios=a,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||r,this.scatter=new Za(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new Ur(this),this.markers=new Va(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return o(e,[{key:"draw",value:function(e,t,a,r){var n,i=this.w,s=new Ia(this.ctx),o=i.globals.comboCharts?t:i.config.chart.type,l=s.group({class:"apexcharts-".concat(o,"-series apexcharts-plot-series")}),c=new Ea(this.ctx,i);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=c.getLogSeries(e),this.yRatio=c.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var u=[],d=0;d<e.length;d++){e=this.lineHelpers.sameValueSeriesFix(d,e);var m=i.globals.comboCharts?a[d]:d,g=this.yRatio.length>1?m:0;this._initSerieVariables(e,d,m);var p=[],M=[],h=[],y=i.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,m),i.globals.isXNumeric&&i.globals.seriesX.length>0&&(y=(i.globals.seriesX[m][0]-i.globals.minX)/this.xRatio),h.push(y);var N,w=y,x=void 0,b=w,D=this.zeroY,j=this.zeroY;D=this.lineHelpers.determineFirstPrevY({i:d,realIndex:m,series:e,prevY:D,lineYPosition:0,translationsIndex:g}).prevY,"monotoneCubic"===i.config.stroke.curve&&null===e[d][0]?p.push(null):p.push(D),N=D,"rangeArea"===o&&(x=j=this.lineHelpers.determineFirstPrevY({i:d,realIndex:m,series:r,prevY:j,lineYPosition:0,translationsIndex:g}).prevY,M.push(null!==p[0]?j:null));var v=this._calculatePathsFrom({type:o,series:e,i:d,realIndex:m,translationsIndex:g,prevX:b,prevY:D,prevY2:j}),_=[p[0]],I=[M[0]],E={type:o,series:e,realIndex:m,translationsIndex:g,i:d,x:y,y:1,pX:w,pY:N,pathsFrom:v,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:h,yArrj:p,y2Arrj:M,seriesRangeEnd:r},L=this._iterateOverDataPoints(f(f({},E),{},{iterations:"rangeArea"===o?e[d].length-1:void 0,isRangeStart:!0}));if("rangeArea"===o){for(var T=this._calculatePathsFrom({series:r,i:d,realIndex:m,prevX:b,prevY:j}),A=this._iterateOverDataPoints(f(f({},E),{},{series:r,xArrj:[y],yArrj:_,y2Arrj:I,pY:x,areaPaths:L.areaPaths,pathsFrom:T,iterations:r[d].length-1,isRangeStart:!1})),z=L.linePaths.length/2,k=0;k<z;k++)L.linePaths[k]=A.linePaths[k+z]+L.linePaths[k];L.linePaths.splice(z),L.pathFromLine=A.pathFromLine+L.pathFromLine}else L.pathFromArea+="z";this._handlePaths({type:o,realIndex:m,i:d,paths:L}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),u.push(this.elSeries)}if(void 0!==(null===(n=i.config.series[0])||void 0===n?void 0:n.zIndex)&&u.sort((function(e,t){return Number(e.node.getAttribute("zIndex"))-Number(t.node.getAttribute("zIndex"))})),i.config.chart.stacked)for(var S=u.length-1;S>=0;S--)l.add(u[S]);else for(var O=0;O<u.length;O++)l.add(u[O]);return l}},{key:"_initSerieVariables",value:function(e,t,a){var r=this.w,n=new Ia(this.ctx);this.xDivision=r.globals.gridWidth/(r.globals.dataPoints-("on"===r.config.xaxis.tickPlacement?1:0)),this.strokeWidth=Array.isArray(r.config.stroke.width)?r.config.stroke.width[a]:r.config.stroke.width;var i=0;if(this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[a],i=a),this.isReversed=r.config.yaxis[this.yaxisIndex]&&r.config.yaxis[this.yaxisIndex].reversed,this.zeroY=r.globals.gridHeight-this.baseLineY[i]-(this.isReversed?r.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[i]:0),this.areaBottomY=this.zeroY,(this.zeroY>r.globals.gridHeight||"end"===r.config.plotOptions.area.fillTo)&&(this.areaBottomY=r.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=n.group({class:"apexcharts-series",zIndex:void 0!==r.config.series[a].zIndex?r.config.series[a].zIndex:a,seriesName:b.escapeString(r.globals.seriesNames[a])}),this.elPointsMain=n.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),r.globals.hasNullValues){var s=this.markers.plotChartMarkers({pointsPos:{x:[0],y:[r.globals.gridHeight+r.globals.markers.largestSize]},seriesIndex:t,j:0,pSize:.1,alwaysDrawMarker:!0,isVirtualPoint:!0});null!==s&&this.elPointsMain.add(s)}this.elDataLabelsWrap=n.group({class:"apexcharts-datalabels","data:realIndex":a});var o=e[t].length===r.globals.dataPoints;this.elSeries.attr({"data:longestSeries":o,rel:t+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,a,r,n,i=e.type,s=e.series,o=e.i,l=e.realIndex,c=e.translationsIndex,u=e.prevX,d=e.prevY,m=e.prevY2,g=this.w,p=new Ia(this.ctx);if(null===s[o][0]){for(var f=0;f<s[o].length;f++)if(null!==s[o][f]){u=this.xDivision*f,d=this.zeroY-s[o][f]/this.yRatio[c],t=p.move(u,d),a=p.move(u,this.areaBottomY);break}}else t=p.move(u,d),"rangeArea"===i&&(t=p.move(u,m)+p.line(u,d)),a=p.move(u,this.areaBottomY)+p.line(u,d);if(r=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),n=p.move(0,this.areaBottomY)+p.line(0,this.areaBottomY),g.globals.previousPaths.length>0){var M=this.lineHelpers.checkPreviousPaths({pathFromLine:r,pathFromArea:n,realIndex:l});r=M.pathFromLine,n=M.pathFromArea}return{prevX:u,prevY:d,linePath:t,areaPath:a,pathFromLine:r,pathFromArea:n}}},{key:"_handlePaths",value:function(e){var t=e.type,a=e.realIndex,r=e.i,n=e.paths,i=this.w,s=new Ia(this.ctx),o=new Wa(this.ctx);this.prevSeriesY.push(n.yArrj),i.globals.seriesXvalues[a]=n.xArrj,i.globals.seriesYvalues[a]=n.yArrj;var l=i.config.forecastDataPoints;if(l.count>0&&"rangeArea"!==t){var c=i.globals.seriesXvalues[a][i.globals.seriesXvalues[a].length-l.count-1],u=s.drawRect(c,0,i.globals.gridWidth,i.globals.gridHeight,0);i.globals.dom.elForecastMask.appendChild(u.node);var d=s.drawRect(0,0,c,i.globals.gridHeight,0);i.globals.dom.elNonForecastMask.appendChild(d.node)}this.pointsChart||i.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var m={i:r,realIndex:a,animationDelay:r,initialSpeed:i.config.chart.animations.speed,dataChangeSpeed:i.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var g=o.fillPath({seriesNumber:a}),p=0;p<n.areaPaths.length;p++){var M=s.renderPaths(f(f({},m),{},{pathFrom:n.pathFromArea,pathTo:n.areaPaths[p],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:g}));this.elSeries.add(M)}if(i.config.stroke.show&&!this.pointsChart){var h=null;if("line"===t)h=o.fillPath({seriesNumber:a,i:r});else if("solid"===i.config.stroke.fill.type)h=i.globals.stroke.colors[a];else{var y=i.config.fill;i.config.fill=i.config.stroke.fill,h=o.fillPath({seriesNumber:a,i:r}),i.config.fill=y}for(var N=0;N<n.linePaths.length;N++){var w=h;"rangeArea"===t&&(w=o.fillPath({seriesNumber:a}));var x=f(f({},m),{},{pathFrom:n.pathFromLine,pathTo:n.linePaths[N],stroke:h,strokeWidth:this.strokeWidth,strokeLineCap:i.config.stroke.lineCap,fill:"rangeArea"===t?w:"none"}),b=s.renderPaths(x);if(this.elSeries.add(b),b.attr("fill-rule","evenodd"),l.count>0&&"rangeArea"!==t){var D=s.renderPaths(x);D.node.setAttribute("stroke-dasharray",l.dashArray),l.strokeWidth&&D.node.setAttribute("stroke-width",l.strokeWidth),this.elSeries.add(D),D.attr("clip-path","url(#forecastMask".concat(i.globals.cuid,")")),b.attr("clip-path","url(#nonForecastMask".concat(i.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,a,r=this,n=e.type,i=e.series,s=e.iterations,o=e.realIndex,l=e.translationsIndex,c=e.i,u=e.x,d=e.y,m=e.pX,g=e.pY,p=e.pathsFrom,f=e.linePaths,M=e.areaPaths,h=e.seriesIndex,y=e.lineYPosition,N=e.xArrj,w=e.yArrj,x=e.y2Arrj,D=e.isRangeStart,j=e.seriesRangeEnd,v=this.w,_=new Ia(this.ctx),I=this.yRatio,E=p.prevY,L=p.linePath,T=p.areaPath,A=p.pathFromLine,z=p.pathFromArea,k=b.isNumber(v.globals.minYArr[o])?v.globals.minYArr[o]:v.globals.minY;s||(s=v.globals.dataPoints>1?v.globals.dataPoints-1:v.globals.dataPoints);var S=function(e,t){return t-e/I[l]+2*(r.isReversed?e/I[l]:0)},O=d,C=v.config.chart.stacked&&!v.globals.comboCharts||v.config.chart.stacked&&v.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||"bar"===(null===(t=this.w.config.series[o])||void 0===t?void 0:t.type)||"column"===(null===(a=this.w.config.series[o])||void 0===a?void 0:a.type)),Y=v.config.stroke.curve;Array.isArray(Y)&&(Y=Array.isArray(h)?Y[h[c]]:Y[c]);for(var U,Q=0,P=0;P<s&&0!==i[c].length;P++){var F=void 0===i[c][P+1]||null===i[c][P+1];if(v.globals.isXNumeric){var R=v.globals.seriesX[o][P+1];void 0===v.globals.seriesX[o][P+1]&&(R=v.globals.seriesX[o][s-1]),u=(R-v.globals.minX)/this.xRatio}else u+=this.xDivision;y=C&&c>0&&v.globals.collapsedSeries.length<v.config.series.length-1?this.prevSeriesY[function(e){for(var t=e;t>0;t--){if(!(v.globals.collapsedSeriesIndices.indexOf((null==h?void 0:h[t])||t)>-1))return t;t--}return 0}(c-1)][P+1]:this.zeroY,F?d=S(k,y):(d=S(i[c][P+1],y),"rangeArea"===n&&(O=S(j[c][P+1],y))),N.push(null===i[c][P+1]?null:u),!F||"smooth"!==v.config.stroke.curve&&"monotoneCubic"!==v.config.stroke.curve?(w.push(d),x.push(O)):(w.push(null),x.push(null));var H=this.lineHelpers.calculatePoints({series:i,x:u,y:d,realIndex:o,i:c,j:P,prevY:E}),B=this._createPaths({type:n,series:i,i:c,realIndex:o,j:P,x:u,y:d,y2:O,xArrj:N,yArrj:w,y2Arrj:x,pX:m,pY:g,pathState:Q,segmentStartX:U,linePath:L,areaPath:T,linePaths:f,areaPaths:M,curve:Y,isRangeStart:D});M=B.areaPaths,f=B.linePaths,m=B.pX,g=B.pY,Q=B.pathState,U=B.segmentStartX,T=B.areaPath,L=B.linePath,!this.appendPathFrom||v.globals.hasNullValues||"monotoneCubic"===Y&&"rangeArea"===n||(A+=_.line(u,this.areaBottomY),z+=_.line(u,this.areaBottomY)),this.handleNullDataPoints(i,H,c,P,o),this._handleMarkersAndLabels({type:n,pointsPos:H,i:c,j:P,realIndex:o,isRangeStart:D})}return{yArrj:w,xArrj:N,pathFromArea:z,areaPaths:M,pathFromLine:A,linePaths:f,linePath:L,areaPath:T}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,a=e.pointsPos,r=e.isRangeStart,n=e.i,i=e.j,s=e.realIndex,o=this.w,l=new Ga(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,i,{realIndex:s,pointsPos:a,zRatio:this.zRatio,elParent:this.elPointsMain});else{o.globals.series[n].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var c=this.markers.plotChartMarkers({pointsPos:a,seriesIndex:s,j:i+1});null!==c&&this.elPointsMain.add(c)}var u=l.drawDataLabel({type:t,isRangeStart:r,pos:a,i:s,j:i+1});null!==u&&this.elDataLabelsWrap.add(u)}},{key:"_createPaths",value:function(e){var t=e.type,a=e.series,r=e.i;e.realIndex;var n,i=e.j,s=e.x,o=e.y,l=e.xArrj,c=e.yArrj,u=e.y2,d=e.y2Arrj,m=e.pX,g=e.pY,p=e.pathState,f=e.segmentStartX,M=e.linePath,h=e.areaPath,y=e.linePaths,N=e.areaPaths,w=e.curve,x=e.isRangeStart,b=new Ia(this.ctx),D=this.areaBottomY,j="rangeArea"===t,v="rangeArea"===t&&x;switch(w){case"monotoneCubic":var _=x?c:d;switch(p){case 0:if(null===_[i+1])break;p=1;case 1:if(!(j?l.length===a[r].length:i===a[r].length-2))break;case 2:var I=x?l:l.slice().reverse(),E=x?_:_.slice().reverse(),L=(n=E,I.map((function(e,t){return[e,n[t]]})).filter((function(e){return null!==e[1]}))),T=L.length>1?function(e){var t=function(e){for(var t,a,r,n,i=function(e){for(var t=[],a=e[0],r=e[1],n=t[0]=Pr(a,r),i=1,s=e.length-1;i<s;i++)a=r,r=e[i+1],t[i]=.5*(n+(n=Pr(a,r)));return t[i]=n,t}(e),s=e.length-1,o=[],l=0;l<s;l++)r=Pr(e[l],e[l+1]),Math.abs(r)<1e-6?i[l]=i[l+1]=0:(n=(t=i[l]/r)*t+(a=i[l+1]/r)*a)>9&&(n=3*r/Math.sqrt(n),i[l]=n*t,i[l+1]=n*a);for(var c=0;c<=s;c++)n=(e[Math.min(s,c+1)][0]-e[Math.max(0,c-1)][0])/(6*(1+i[c]*i[c])),o.push([n||0,i[c]*n||0]);return o}(e),a=e[1],r=e[0],n=[],i=t[1],s=t[0];n.push(r,[r[0]+s[0],r[1]+s[1],a[0]-i[0],a[1]-i[1],a[0],a[1]]);for(var o=2,l=t.length;o<l;o++){var c=e[o],u=t[o];n.push([c[0]-u[0],c[1]-u[1],c[0],c[1]])}return n}(L):L,A=[];j&&(v?N=L:A=N.reverse());var z=0,k=0;if(function(e,t){for(var a=function(e){var t=[],a=0;return e.forEach((function(e){null!==e?a++:a>0&&(t.push(a),a=0)})),a>0&&t.push(a),t}(e),r=[],n=0,i=0;n<a.length;i+=a[n++])r[n]=Qr(t,i,i+a[n]);return r}(E,T).forEach((function(e){z++;var t=function(e){for(var t="",a=0;a<e.length;a++){var r=e[a],n=r.length;n>4?(t+="C".concat(r[0],", ").concat(r[1]),t+=", ".concat(r[2],", ").concat(r[3]),t+=", ".concat(r[4],", ").concat(r[5])):n>2&&(t+="S".concat(r[0],", ").concat(r[1]),t+=", ".concat(r[2],", ").concat(r[3]))}return t}(e),a=k,r=(k+=e.length)-1;v?M=b.move(L[a][0],L[a][1])+t:j?M=b.move(A[a][0],A[a][1])+b.line(L[a][0],L[a][1])+t+b.line(A[r][0],A[r][1]):(M=b.move(L[a][0],L[a][1])+t,h=M+b.line(L[r][0],D)+b.line(L[a][0],D)+"z",N.push(h)),y.push(M)})),j&&z>1&&!v){var S=y.slice(z).reverse();y.splice(z),S.forEach((function(e){return y.push(e)}))}p=0}break;case"smooth":var O=.35*(s-m);if(null===a[r][i])p=0;else switch(p){case 0:if(f=m,M=v?b.move(m,d[i])+b.line(m,g):b.move(m,g),h=b.move(m,g),null===a[r][i+1]||void 0===a[r][i+1]){y.push(M),N.push(h);break}if(p=1,i<a[r].length-2){var C=b.curve(m+O,g,s-O,o,s,o);M+=C,h+=C;break}case 1:if(null===a[r][i+1])M+=v?b.line(m,u):b.move(m,g),h+=b.line(m,D)+b.line(f,D)+"z",y.push(M),N.push(h),p=-1;else{var Y=b.curve(m+O,g,s-O,o,s,o);M+=Y,h+=Y,i>=a[r].length-2&&(v&&(M+=b.curve(s,o,s,o,s,u)+b.move(s,u)),h+=b.curve(s,o,s,o,s,D)+b.line(f,D)+"z",y.push(M),N.push(h),p=-1)}}m=s,g=o;break;default:var U=function(e,t,a){var r=[];switch(e){case"stepline":r=b.line(t,null,"H")+b.line(null,a,"V");break;case"linestep":r=b.line(null,a,"V")+b.line(t,null,"H");break;case"straight":r=b.line(t,a)}return r};if(null===a[r][i])p=0;else switch(p){case 0:if(f=m,M=v?b.move(m,d[i])+b.line(m,g):b.move(m,g),h=b.move(m,g),null===a[r][i+1]||void 0===a[r][i+1]){y.push(M),N.push(h);break}if(p=1,i<a[r].length-2){var Q=U(w,s,o);M+=Q,h+=Q;break}case 1:if(null===a[r][i+1])M+=v?b.line(m,u):b.move(m,g),h+=b.line(m,D)+b.line(f,D)+"z",y.push(M),N.push(h),p=-1;else{var P=U(w,s,o);M+=P,h+=P,i>=a[r].length-2&&(v&&(M+=b.line(s,u)),h+=b.line(s,D)+b.line(f,D)+"z",y.push(M),N.push(h),p=-1)}}m=s,g=o}return{linePaths:y,areaPaths:N,pX:m,pY:g,pathState:p,segmentStartX:f,linePath:M,areaPath:h}}},{key:"handleNullDataPoints",value:function(e,t,a,r,n){var i=this.w;if(null===e[a][r]&&i.config.markers.showNullDataPoints||1===e[a].length){var s=this.strokeWidth-i.config.markers.strokeWidth/2;s>0||(s=0);var o=this.markers.plotChartMarkers({pointsPos:t,seriesIndex:n,j:r+1,pSize:s,alwaysDrawMarker:!0});null!==o&&this.elPointsMain.add(o)}}}]),e}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function e(t,a,r,n){this.xoffset=t,this.yoffset=a,this.height=n,this.width=r,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var t,a=[],r=this.xoffset,n=this.yoffset,s=i(e)/this.height,o=i(e)/this.width;if(this.width>=this.height)for(t=0;t<e.length;t++)a.push([r,n,r+s,n+e[t]/s]),n+=e[t]/s;else for(t=0;t<e.length;t++)a.push([r,n,r+e[t]/o,n+o]),r+=e[t]/o;return a},this.cutArea=function(t){var a;if(this.width>=this.height){var r=t/this.height,n=this.width-r;a=new e(this.xoffset+r,this.yoffset,n,this.height)}else{var i=t/this.width,s=this.height-i;a=new e(this.xoffset,this.yoffset+i,this.width,s)}return a}}function t(t,r,n,s,o){s=void 0===s?0:s,o=void 0===o?0:o;var l=a(function(e,t){var a,r=[],n=t/i(e);for(a=0;a<e.length;a++)r[a]=e[a]*n;return r}(t,r*n),[],new e(s,o,r,n),[]);return function(e){var t,a,r=[];for(t=0;t<e.length;t++)for(a=0;a<e[t].length;a++)r.push(e[t][a]);return r}(l)}function a(e,t,n,s){var o,l,c;if(0!==e.length)return o=n.shortestEdge(),function(e,t,a){var n;return 0===e.length||((n=e.slice()).push(t),r(e,a)>=r(n,a))}(t,l=e[0],o)?(t.push(l),a(e.slice(1),t,n,s)):(c=n.cutArea(i(t),s),s.push(n.getCoordinates(t)),a(e,[],c,s)),s;s.push(n.getCoordinates(t))}function r(e,t){var a=Math.min.apply(Math,e),r=Math.max.apply(Math,e),n=i(e);return Math.max(Math.pow(t,2)*r/Math.pow(n,2),Math.pow(n,2)/(Math.pow(t,2)*a))}function n(e){return e&&e.constructor===Array}function i(e){var t,a=0;for(t=0;t<e.length;t++)a+=e[t];return a}function s(e){var t,a=0;if(n(e[0]))for(t=0;t<e.length;t++)a+=s(e[t]);else a=i(e);return a}return function e(a,r,i,o,l){o=void 0===o?0:o,l=void 0===l?0:l;var c,u,d=[],m=[];if(n(a[0])){for(u=0;u<a.length;u++)d[u]=s(a[u]);for(c=t(d,r,i,o,l),u=0;u<a.length;u++)m.push(e(a[u],c[u][2]-c[u][0],c[u][3]-c[u][1],c[u][0],c[u][1]))}else m=t(a,r,i,o,l);return m}}();var Rr=function(){function e(t,a){i(this,e),this.ctx=t,this.w=t.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new Ar(t),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return o(e,[{key:"draw",value:function(e){var t=this,a=this.w,r=new Ia(this.ctx),n=new Wa(this.ctx),i=r.group({class:"apexcharts-treemap"});if(a.globals.noData)return i;var s=[];return e.forEach((function(e){var t=e.map((function(e){return Math.abs(e)}));s.push(t)})),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach((function(e,a){e.data.forEach((function(e){Array.isArray(t.labels[a])||(t.labels[a]=[]),t.labels[a].push(e.x)}))})),window.TreemapSquared.generate(s,a.globals.gridWidth,a.globals.gridHeight).forEach((function(s,o){var l=r.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:b.escapeString(a.globals.seriesNames[o]),rel:o+1,"data:realIndex":o});if(a.config.chart.dropShadow.enabled){var c=a.config.chart.dropShadow;new _a(t.ctx).dropShadow(i,c,o)}var u=r.group({class:"apexcharts-data-labels"}),d={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};s.forEach((function(i,s){var c=i[0],u=i[1],m=i[2],g=i[3];d.xMin=Math.min(d.xMin,c),d.yMin=Math.min(d.yMin,u),d.xMax=Math.max(d.xMax,m),d.yMax=Math.max(d.yMax,g);var p=t.helpers.getShadeColor(a.config.chart.type,o,s,t.negRange),f=p.color,M=n.fillPath({color:f,seriesNumber:o,dataPointIndex:s}),h=r.drawRect(c,u,m-c,g-u,a.config.plotOptions.treemap.borderRadius,"#fff",1,t.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?f:a.globals.stroke.colors[o]);h.attr({cx:c,cy:u,index:o,i:o,j:s,width:m-c,height:g-u,fill:M}),h.node.classList.add("apexcharts-treemap-rect"),t.helpers.addListeners(h);var y={x:c+(m-c)/2,y:u+(g-u)/2,width:0,height:0},N={x:c,y:u,width:m-c,height:g-u};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var w=1;a.globals.resized||(w=a.config.chart.animations.speed),t.animateTreemap(h,y,N,w)}if(a.globals.dataChanged){var x=1;t.dynamicAnim.enabled&&a.globals.shouldAnimate&&(x=t.dynamicAnim.speed,a.globals.previousPaths[o]&&a.globals.previousPaths[o][s]&&a.globals.previousPaths[o][s].rect&&(y=a.globals.previousPaths[o][s].rect),t.animateTreemap(h,y,N,x))}var b=t.getFontSize(i),D=a.config.dataLabels.formatter(t.labels[o][s],{value:a.globals.series[o][s],seriesIndex:o,dataPointIndex:s,w:a});"truncate"===a.config.plotOptions.treemap.dataLabels.format&&(b=parseInt(a.config.dataLabels.style.fontSize,10),D=t.truncateLabels(D,b,c,u,m,g));var j=null;a.globals.series[o][s]&&(j=t.helpers.calculateDataLabels({text:D,x:(c+m)/2,y:(u+g)/2+t.strokeWidth/2+b/3,i:o,j:s,colorProps:p,fontSize:b,series:e})),a.config.dataLabels.enabled&&j&&t.rotateToFitLabel(j,b,D,c,u,m,g),l.add(h),null!==j&&l.add(j)}));var m=a.config.plotOptions.treemap.seriesTitle;if(a.config.series.length>1&&m&&m.show){var g=a.config.series[o].name||"";if(g&&d.xMin<1/0&&d.yMin<1/0){var p=m.offsetX,f=m.offsetY,M=m.borderColor,h=m.borderWidth,y=m.borderRadius,N=m.style,w=N.color||a.config.chart.foreColor,x={left:N.padding.left,right:N.padding.right,top:N.padding.top,bottom:N.padding.bottom},D=r.getTextRects(g,N.fontSize,N.fontFamily),j=D.width+x.left+x.right,v=D.height+x.top+x.bottom,_=d.xMin+(p||0),I=d.yMin+(f||0),E=r.drawRect(_,I,j,v,y,N.background,1,h,M),L=r.drawText({x:_+x.left,y:I+x.top+.75*D.height,text:g,fontSize:N.fontSize,fontFamily:N.fontFamily,fontWeight:N.fontWeight,foreColor:w,cssClass:N.cssClass||""});l.add(E),l.add(L)}}l.add(u),i.add(l)})),i}},{key:"getFontSize",value:function(e){var t=this.w,a=function e(t){var a,r=0;if(Array.isArray(t[0]))for(a=0;a<t.length;a++)r+=e(t[a]);else for(a=0;a<t.length;a++)r+=t[a].length;return r}(this.labels)/function e(t){var a,r=0;if(Array.isArray(t[0]))for(a=0;a<t.length;a++)r+=e(t[a]);else for(a=0;a<t.length;a++)r+=1;return r}(this.labels);return function(e,r){var n=e*r,i=Math.pow(n,.5);return Math.min(i/a,parseInt(t.config.dataLabels.style.fontSize,10))}(e[2]-e[0],e[3]-e[1])}},{key:"rotateToFitLabel",value:function(e,t,a,r,n,i,s){var o=new Ia(this.ctx),l=o.getTextRects(a,t);if(l.width+this.w.config.stroke.width+5>i-r&&l.width<=s-n){var c=o.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,") translate(").concat(l.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,a,r,n,i){var s=new Ia(this.ctx),o=s.getTextRects(e,t).width+this.w.config.stroke.width+5>n-a&&i-r>n-a?i-r:n-a,l=s.getTextBasedOnMaxWidth({text:e,maxWidth:o,fontSize:t});return e.length!==l.length&&o/t<5?"":l}},{key:"animateTreemap",value:function(e,t,a,r){var n=new D(this.ctx);n.animateRect(e,t,a,r,(function(){n.animationCompleted(e)}))}}]),e}(),Hr=10/86400,Br=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return o(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var a=this,r=this.w;if(r.globals.allSeriesCollapsed)return r.globals.labels=[],r.globals.timescaleLabels=[],[];var n=new Aa(this.ctx),i=(t-e)/864e5;this.determineInterval(i),r.globals.disableZoomIn=!1,r.globals.disableZoomOut=!1,i<Hr?r.globals.disableZoomIn=!0:i>5e4&&(r.globals.disableZoomOut=!0);var s=n.getTimeUnitsfromTimestamp(e,t,this.utc),o=r.globals.gridWidth/i,l=o/24,c=l/60,u=c/60,d=Math.floor(24*i),m=Math.floor(1440*i),g=Math.floor(86400*i),p=Math.floor(i),M=Math.floor(i/30),h=Math.floor(i/365),y={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},N={firstVal:y,currentMillisecond:y.minMillisecond,currentSecond:y.minSecond,currentMinute:y.minMinute,currentHour:y.minHour,currentMonthDate:y.minDate,currentDate:y.minDate,currentMonth:y.minMonth,currentYear:y.minYear,daysWidthOnXAxis:o,hoursWidthOnXAxis:l,minutesWidthOnXAxis:c,secondsWidthOnXAxis:u,numberOfSeconds:g,numberOfMinutes:m,numberOfHours:d,numberOfDays:p,numberOfMonths:M,numberOfYears:h};switch(this.tickInterval){case"years":this.generateYearScale(N);break;case"months":case"half_year":this.generateMonthScale(N);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(N);break;case"hours":this.generateHourScale(N);break;case"minutes_fives":case"minutes":this.generateMinuteScale(N);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(N)}var w=this.timeScaleArray.map((function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?f(f({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?f(f({},t),{},{value:e.value}):"minute"===e.unit?f(f({},t),{},{value:e.value,minute:e.value}):"second"===e.unit?f(f({},t),{},{value:e.value,minute:e.minute,second:e.second}):e}));return w.filter((function(e){var t=1,n=Math.ceil(r.globals.gridWidth/120),i=e.value;void 0!==r.config.xaxis.tickAmount&&(n=r.config.xaxis.tickAmount),w.length>n&&(t=Math.floor(w.length/n));var s=!1,o=!1;switch(a.tickInterval){case"years":"year"===e.unit&&(s=!0);break;case"half_year":t=7,"year"===e.unit&&(s=!0);break;case"months":t=1,"year"===e.unit&&(s=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(s=!0),30===i&&(o=!0);break;case"months_days":t=10,"month"===e.unit&&(s=!0),30===i&&(o=!0);break;case"week_days":t=8,"month"===e.unit&&(s=!0);break;case"days":t=1,"month"===e.unit&&(s=!0);break;case"hours":"day"===e.unit&&(s=!0);break;case"minutes_fives":case"seconds_fives":i%5!=0&&(o=!0);break;case"seconds_tens":i%10!=0&&(o=!0)}if("hours"===a.tickInterval||"minutes_fives"===a.tickInterval||"seconds_tens"===a.tickInterval||"seconds_fives"===a.tickInterval){if(!o)return!0}else if((i%t==0||s)&&!o)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var a=this.w,r=this.formatDates(e),n=this.removeOverlappingTS(r);a.globals.timescaleLabels=n.slice(),new pr(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,a=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 a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,a=e.currentMonth,r=e.currentYear,n=e.daysWidthOnXAxis,i=e.numberOfYears,s=t.minYear,o=0,l=new Aa(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var u=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);o=(l.determineDaysOfYear(t.minYear)-u+1)*n,s=t.minYear+1,this.timeScaleArray.push({position:o,value:s,unit:c,year:s,month:b.monthMod(a+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:o,value:s,unit:c,year:r,month:b.monthMod(a+1)});for(var d=s,m=o,g=0;g<i;g++)d++,m=l.determineDaysOfYear(d-1)*n+m,this.timeScaleArray.push({position:m,value:d,unit:c,year:d,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,a=e.currentMonthDate,r=e.currentMonth,n=e.currentYear,i=e.daysWidthOnXAxis,s=e.numberOfMonths,o=r,l=0,c=new Aa(this.ctx),u="month",d=0;if(t.minDate>1){l=(c.determineDaysOfMonths(r+1,t.minYear)-a+1)*i,o=b.monthMod(r+1);var m=n+d,g=b.monthMod(o),p=o;0===o&&(u="year",p=m,g=1,m+=d+=1),this.timeScaleArray.push({position:l,value:p,unit:u,year:m,month:g})}else this.timeScaleArray.push({position:l,value:o,unit:u,year:n,month:b.monthMod(r)});for(var f=o+1,M=l,h=0,y=1;h<s;h++,y++){0===(f=b.monthMod(f))?(u="year",d+=1):u="month";var N=this._getYear(n,f,d);M=c.determineDaysOfMonths(f,N)*i+M;var w=0===f?N:f;this.timeScaleArray.push({position:M,value:w,unit:u,year:N,month:0===f?1:f}),f++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,a=e.currentMonth,r=e.currentYear,n=e.hoursWidthOnXAxis,i=e.numberOfDays,s=new Aa(this.ctx),o="day",l=t.minDate+1,c=l,u=function(e,t,a){return e>s.determineDaysOfMonths(t+1,a)?(c=1,o="month",m=t+=1,t):t},d=(24-t.minHour)*n,m=l,g=u(c,a,r);0===t.minHour&&1===t.minDate?(d=0,m=b.monthMod(t.minMonth),o="month",c=t.minDate):1!==t.minDate&&0===t.minHour&&0===t.minMinute&&(d=0,l=t.minDate,m=l,g=u(c=l,a,r),1!==m&&(o="day")),this.timeScaleArray.push({position:d,value:m,unit:o,year:this._getYear(r,g,0),month:b.monthMod(g),day:c});for(var p=d,f=0;f<i;f++){o="day",g=u(c+=1,g,this._getYear(r,g,0));var M=this._getYear(r,g,0);p=24*n+p;var h=1===c?b.monthMod(g):c;this.timeScaleArray.push({position:p,value:h,unit:o,year:M,month:b.monthMod(g),day:h})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,a=e.currentDate,r=e.currentMonth,n=e.currentYear,i=e.minutesWidthOnXAxis,s=e.numberOfHours,o=new Aa(this.ctx),l="hour",c=function(e,t){return e>o.determineDaysOfMonths(t+1,n)&&(f=1,t+=1),{month:t,date:f}},u=function(e,t){return e>o.determineDaysOfMonths(t+1,n)?t+=1:t},d=60-(t.minMinute+t.minSecond/60),m=d*i,g=t.minHour+1,p=g;60===d&&(m=0,p=g=t.minHour);var f=a;p>=24&&(p=0,l="day",g=f+=1);var M=c(f,r).month;M=u(f,M),g>31&&(g=f=1),this.timeScaleArray.push({position:m,value:g,unit:l,day:f,hour:p,year:n,month:b.monthMod(M)}),p++;for(var h=m,y=0;y<s;y++){l="hour",p>=24&&(p=0,l="day",M=c(f+=1,M).month,M=u(f,M));var N=this._getYear(n,M,0);h=60*i+h;var w=0===p?f:p;this.timeScaleArray.push({position:h,value:w,unit:l,hour:p,day:f,year:N,month:b.monthMod(M)}),p++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,r=e.currentMinute,n=e.currentHour,i=e.currentDate,s=e.currentMonth,o=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,u=e.numberOfMinutes,d=r+1,m=i,g=s,p=o,f=n,M=(60-a-t/1e3)*c,h=0;h<u;h++)d>=60&&(d=0,24===(f+=1)&&(f=0)),this.timeScaleArray.push({position:M,value:d,unit:"minute",hour:f,minute:d,day:m,year:this._getYear(p,g,0),month:b.monthMod(g)}),M+=l,d++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,r=e.currentMinute,n=e.currentHour,i=e.currentDate,s=e.currentMonth,o=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,u=a+1,d=r,m=i,g=s,p=o,f=n,M=(1e3-t)/1e3*l,h=0;h<c;h++)u>=60&&(u=0,++d>=60&&(d=0,24==++f&&(f=0))),this.timeScaleArray.push({position:M,value:u,unit:"second",hour:f,minute:d,second:u,day:m,year:this._getYear(p,g,0),month:b.monthMod(g)}),M+=l,u++}},{key:"createRawDateString",value:function(e,t){var a=e.year;return 0===e.month&&(e.month=1),a+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?a+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":a+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?a+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":a+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),"minute"===e.unit?a+=":"+("0"+t).slice(-2):a+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),"second"===e.unit?a+=":"+("0"+t).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(e){var t=this,a=this.w;return e.map((function(e){var r=e.value.toString(),n=new Aa(t.ctx),i=t.createRawDateString(e,r),s=n.getDate(n.parseDate(i));if(t.utc||(s=n.getDate(n.parseDateWithTimezone(i))),void 0===a.config.xaxis.labels.format){var o="dd MMM",l=a.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(o=l.year),"month"===e.unit&&(o=l.month),"day"===e.unit&&(o=l.day),"hour"===e.unit&&(o=l.hour),"minute"===e.unit&&(o=l.minute),"second"===e.unit&&(o=l.second),r=n.formatDate(s,o)}else r=n.formatDate(s,a.config.xaxis.labels.format);return{dateString:i,position:e.position,value:r,unit:e.unit,year:e.year,month:e.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,a=this,r=new Ia(this.ctx),n=!1;e.length>0&&e[0].value&&e.every((function(t){return t.value.length===e[0].value.length}))&&(n=!0,t=r.getTextRects(e[0].value).width);var i=0,s=e.map((function(s,o){if(o>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var l=n?t:r.getTextRects(e[i].value).width,c=e[i].position;return s.position>c+l+10?(i=o,s):null}return s}));return s.filter((function(e){return null!==e}))}},{key:"_getYear",value:function(e,t,a){return e+Math.floor(t/12)+a}}]),e}(),Wr=function(){function e(t,a){i(this,e),this.ctx=a,this.w=a.w,this.el=t}return o(e,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,a=e.config,r=a.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(r),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(r),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(r)&&a.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),Ia.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=window.SVG().addTo(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(a.chart.offsetX,", ").concat(a.chart.offsetY,")")}),t.dom.Paper.node.style.background="dark"!==a.theme.mode||a.chart.background?"light"!==a.theme.mode||a.chart.background?a.chart.background:"#fff":"#424242",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),Ia.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 a=this.w,r=this.ctx,n=a.config,i=a.globals,s={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=n.chart.type||"line",l=null,c=0;i.series.forEach((function(t,r){var n=e[r].type||o;s[n]?("rangeArea"===n?(s[n].series.push(i.seriesRangeStart[r]),s[n].seriesRangeEnd.push(i.seriesRangeEnd[r])):s[n].series.push(t),s[n].i.push(r),"column"!==n&&"bar"!==n||(a.globals.columnSeries=s.column)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(n)?l=n:"bar"===n?(s.column.series.push(t),s.column.i.push(r)):console.warn("You have specified an unrecognized series type (".concat(n,").")),o!==n&&"scatter"!==n&&c++})),c>0&&(l&&console.warn("Chart or series type ".concat(l," cannot appear with other chart or series types.")),s.column.series.length>0&&n.plotOptions.bar.horizontal&&(c-=s.column.series.length,s.column={series:[],i:[]},a.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),i.comboCharts||(i.comboCharts=c>0);var u=new Fr(r,t),d=new Tr(r,t);r.pie=new Sr(r);var m=new Cr(r);r.rangeBar=new Yr(r,t);var g=new Or(r),p=[];if(i.comboCharts){var f,M,h=new Ea(r);if(s.area.series.length>0&&(f=p).push.apply(f,y(h.drawSeriesByGroup(s.area,i.areaGroups,"area",u))),s.column.series.length>0)if(n.chart.stacked){var N=new Lr(r,t);p.push(N.draw(s.column.series,s.column.i))}else r.bar=new Er(r,t),p.push(r.bar.draw(s.column.series,s.column.i));if(s.rangeArea.series.length>0&&p.push(u.draw(s.rangeArea.series,"rangeArea",s.rangeArea.i,s.rangeArea.seriesRangeEnd)),s.line.series.length>0&&(M=p).push.apply(M,y(h.drawSeriesByGroup(s.line,i.lineGroups,"line",u))),s.candlestick.series.length>0&&p.push(d.draw(s.candlestick.series,"candlestick",s.candlestick.i)),s.boxPlot.series.length>0&&p.push(d.draw(s.boxPlot.series,"boxPlot",s.boxPlot.i)),s.rangeBar.series.length>0&&p.push(r.rangeBar.draw(s.rangeBar.series,s.rangeBar.i)),s.scatter.series.length>0){var w=new Fr(r,t,!0);p.push(w.draw(s.scatter.series,"scatter",s.scatter.i))}if(s.bubble.series.length>0){var x=new Fr(r,t,!0);p.push(x.draw(s.bubble.series,"bubble",s.bubble.i))}}else switch(n.chart.type){case"line":p=u.draw(i.series,"line");break;case"area":p=u.draw(i.series,"area");break;case"bar":n.chart.stacked?p=new Lr(r,t).draw(i.series):(r.bar=new Er(r,t),p=r.bar.draw(i.series));break;case"candlestick":p=new Tr(r,t).draw(i.series,"candlestick");break;case"boxPlot":p=new Tr(r,t).draw(i.series,n.chart.type);break;case"rangeBar":p=r.rangeBar.draw(i.series);break;case"rangeArea":p=u.draw(i.seriesRangeStart,"rangeArea",void 0,i.seriesRangeEnd);break;case"heatmap":p=new zr(r,t).draw(i.series);break;case"treemap":p=new Rr(r,t).draw(i.series);break;case"pie":case"donut":case"polarArea":p=r.pie.draw(i.series);break;case"radialBar":p=m.draw(i.series);break;case"radar":p=g.draw(i.series);break;default:p=u.draw(i.series)}return p}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,a=e.config;a.chart.width=a.chart.width||"100%",a.chart.height=a.chart.height||"auto",t.svgWidth=a.chart.width,t.svgHeight=a.chart.height;var r=b.getDimensions(this.el),n=a.chart.width.toString().split(/[0-9]+/g).pop();"%"===n?b.isNumber(r[0])&&(0===r[0].width&&(r=b.getDimensions(this.el.parentNode)),t.svgWidth=r[0]*parseInt(a.chart.width,10)/100):"px"!==n&&""!==n||(t.svgWidth=parseInt(a.chart.width,10));var i=String(a.chart.height).toString().split(/[0-9]+/g).pop();if("auto"!==t.svgHeight&&""!==t.svgHeight)if("%"===i){var s=b.getDimensions(this.el.parentNode);t.svgHeight=s[1]*parseInt(a.chart.height,10)/100}else t.svgHeight=parseInt(a.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),Ia.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),"%"!==i){var o=a.chart.sparkline.enabled?0:t.axisCharts?a.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,a=e.translateX;Ia.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(a,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=0,r=e.config.chart.sparkline.enabled?1:15;r+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(a=new Mr(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var n=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),i=2.05*e.globals.radialSize;if(n&&!e.config.chart.sparkline.enabled&&0!==e.config.plotOptions.radialBar.startAngle){var s=b.getBoundingClientRect(n);i=s.bottom;var o=s.bottom-s.top;i=Math.max(2.05*e.globals.radialSize,o)}var l=Math.ceil(i+t.translateY+a+r);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(l,"px"),Ia.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(l,"px"))}},{key:"coreCalculations",value:function(){new tr(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(){return[]}))},a=new Ha,r=this.w.globals;a.initGlobalVars(r),r.seriesXvalues=t(),r.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("back"===e.config.xaxis.crosshairs.position&&new sr(this.ctx).drawXCrosshairs(),"back"===e.config.yaxis[0].crosshairs.position&&new sr(this.ctx).drawYCrosshairs(),"datetime"===e.config.xaxis.type&&void 0===e.config.xaxis.labels.formatter){this.ctx.timeScale=new Br(this.ctx);var a=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}t=new Ea(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.ctx,a=this.w;if(a.config.chart.brush.enabled&&"function"!=typeof a.config.chart.events.selection){var r=Array.isArray(a.config.chart.brush.targets)?a.config.chart.brush.targets:[a.config.chart.brush.target];r.forEach((function(a){var r=t.constructor.getChartByID(a);r.w.globals.brushSource=e.ctx,"function"!=typeof r.w.config.chart.events.zoomed&&(r.w.config.chart.events.zoomed=function(){return e.updateSourceChart(r)}),"function"!=typeof r.w.config.chart.events.scrolled&&(r.w.config.chart.events.scrolled=function(){return e.updateSourceChart(r)})})),a.config.chart.events.selection=function(e,a){r.forEach((function(e){t.constructor.getChartByID(e).ctx.updateHelpers._updateOptions({xaxis:{min:a.xaxis.min,max:a.xaxis.max}},!1,!1,!1,!1)}))}}}}]),e}(),Vr=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"_updateOptions",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var o=[t.ctx];n&&(o=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(o=[t.ctx],t.ctx.w.globals.isExecCalled=!1),o.forEach((function(n,l){var c=n.w;if(c.globals.shouldAnimate=r,a||(c.globals.resized=!0,c.globals.dataChanged=!0,r&&n.series.getPreviousPaths()),e&&"object"===w(e)&&(n.config=new Ra(e),e=Ea.extendArrayProps(n.config,e,c),n.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,c.config=b.extend(c.config,e),i&&(c.globals.lastXAxis=e.xaxis?b.clone(e.xaxis):[],c.globals.lastYAxis=e.yaxis?b.clone(e.yaxis):[],c.globals.initialConfig=b.extend({},c.config),c.globals.initialSeries=b.clone(c.config.series),e.series))){for(var u=0;u<c.globals.collapsedSeriesIndices.length;u++){var d=c.config.series[c.globals.collapsedSeriesIndices[u]];c.globals.collapsedSeries[u].data=c.globals.axisCharts?d.data.slice():d}for(var m=0;m<c.globals.ancillaryCollapsedSeriesIndices.length;m++){var g=c.config.series[c.globals.ancillaryCollapsedSeriesIndices[m]];c.globals.ancillaryCollapsedSeries[m].data=c.globals.axisCharts?g.data.slice():g}n.series.emptyCollapsedSeries(c.config.series)}return n.update(e).then((function(){l===o.length-1&&s(n)}))}))}))}},{key:"_updateSeries",value:function(e,t){var a=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(n){var i,s=a.w;return s.globals.shouldAnimate=t,s.globals.dataChanged=!0,t&&a.ctx.series.getPreviousPaths(),s.globals.axisCharts?(0===(i=e.map((function(e,t){return a._extendSeries(e,t)}))).length&&(i=[{data:[]}]),s.config.series=i):s.config.series=e.slice(),r&&(s.globals.initialConfig.series=b.clone(s.config.series),s.globals.initialSeries=b.clone(s.config.series)),a.ctx.update().then((function(){n(a.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var a=this.w,r=a.config.series[t];return f(f({},a.config.series[t]),{},{name:e.name?e.name:null==r?void 0:r.name,color:e.color?e.color:null==r?void 0:r.color,type:e.type?e.type:null==r?void 0:r.type,group:e.group?e.group:null==r?void 0:r.group,hidden:void 0!==e.hidden?e.hidden:null==r?void 0:r.hidden,data:e.data?e.data:null==r?void 0:r.data,zIndex:void 0!==e.zIndex?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var a=this.w,r=null,n=".apexcharts-series[data\\:realIndex='".concat(e,"']");return a.globals.axisCharts?r=a.globals.dom.Paper.findOne("".concat(n," path[j='").concat(t,"'], ").concat(n," circle[j='").concat(t,"'], ").concat(n," rect[j='").concat(t,"']")):void 0===t&&(r=a.globals.dom.Paper.findOne("".concat(n," path[j='").concat(e,"']")),"pie"!==a.config.chart.type&&"polarArea"!==a.config.chart.type&&"donut"!==a.config.chart.type||this.ctx.pie.pieClicked(e)),r?(new Ia(this.ctx).pathMouseDown(r,null),r.node?r.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(a){void 0!==e.xaxis[a]&&(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 a=new Fa(e);e=a.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&"100%"===e.chart.stackType&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,a=this.w,r=a.globals.lastXAxis,n=a.globals.lastYAxis;e&&e.xaxis&&(r=e.xaxis),e&&e.yaxis&&(n=e.yaxis),a.config.xaxis.min=r.min,a.config.xaxis.max=r.max,a.config.yaxis.map((function(e,r){a.globals.zoomed||void 0!==n[r]?function(e){void 0!==n[e]&&(a.config.yaxis[e].min=n[e].min,a.config.yaxis[e].max=n[e].max)}(r):void 0!==t.ctx.opts.yaxis[r]&&(e.min=t.ctx.opts.yaxis[r].min,e.max=t.ctx.opts.yaxis[r].max)}))}}]),e}();!function(){function e(){for(var e=arguments.length>0&&arguments[0]!==c?arguments[0]:[],n=arguments.length>1?arguments[1]:c,i=arguments.length>2?arguments[2]:c,s=arguments.length>3?arguments[3]:c,o=arguments.length>4?arguments[4]:c,l=arguments.length>5?arguments[5]:c,c=arguments.length>6?arguments[6]:c,u=e.slice(n,i||c),d=s.slice(o,l||c),m=0,g={pos:[0,0],start:[0,0]},p={pos:[0,0],start:[0,0]};u[m]=t.call(g,u[m]),d[m]=t.call(p,d[m]),u[m][0]!=d[m][0]||"M"==u[m][0]||"A"==u[m][0]&&(u[m][4]!=d[m][4]||u[m][5]!=d[m][5])?(Array.prototype.splice.apply(u,[m,1].concat(r.call(g,u[m]))),Array.prototype.splice.apply(d,[m,1].concat(r.call(p,d[m])))):(u[m]=a.call(g,u[m]),d[m]=a.call(p,d[m])),++m!=u.length||m!=d.length;)m==u.length&&u.push(["C",g.pos[0],g.pos[1],g.pos[0],g.pos[1],g.pos[0],g.pos[1]]),m==d.length&&d.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]);return{start:u,dest:d}}function t(e){switch(e[0]){case"z":case"Z":e[0]="L",e[1]=this.start[0],e[2]=this.start[1];break;case"H":e[0]="L",e[2]=this.pos[1];break;case"V":e[0]="L",e[2]=e[1],e[1]=this.pos[0];break;case"T":e[0]="Q",e[3]=e[1],e[4]=e[2],e[1]=this.reflection[1],e[2]=this.reflection[0];break;case"S":e[0]="C",e[6]=e[4],e[5]=e[3],e[4]=e[2],e[3]=e[1],e[2]=this.reflection[1],e[1]=this.reflection[0]}return e}function a(e){var t=e.length;return this.pos=[e[t-2],e[t-1]],-1!="SCQT".indexOf(e[0])&&(this.reflection=[2*this.pos[0]-e[t-4],2*this.pos[1]-e[t-3]]),e}function r(e){var t=[e];switch(e[0]){case"M":return this.pos=this.start=[e[1],e[2]],t;case"L":e[5]=e[3]=e[1],e[6]=e[4]=e[2],e[1]=this.pos[0],e[2]=this.pos[1];break;case"Q":e[6]=e[4],e[5]=e[3],e[4]=1*e[4]/3+2*e[2]/3,e[3]=1*e[3]/3+2*e[1]/3,e[2]=1*this.pos[1]/3+2*e[2]/3,e[1]=1*this.pos[0]/3+2*e[1]/3;break;case"A":t=function(e,t){var a,r,n,i,s,o,l,c,u,d,m,g,p,f,M,h,y,N,w,x,b,D,j,v,_,I,E=Math.abs(t[1]),L=Math.abs(t[2]),T=t[3]%360,A=t[4],z=t[5],k=t[6],S=t[7],O=new we(e),C=new we(k,S),Y=[];if(0===E||0===L||O.x===C.x&&O.y===C.y)return[["C",O.x,O.y,C.x,C.y,C.x,C.y]];for((r=(a=new we((O.x-C.x)/2,(O.y-C.y)/2).transform((new be).rotate(T))).x*a.x/(E*E)+a.y*a.y/(L*L))>1&&(E*=r=Math.sqrt(r),L*=r),n=(new be).rotate(T).scale(1/E,1/L).rotate(-T),O=O.transform(n),o=(i=[(C=C.transform(n)).x-O.x,C.y-O.y])[0]*i[0]+i[1]*i[1],s=Math.sqrt(o),i[0]/=s,i[1]/=s,l=o<4?Math.sqrt(1-o/4):0,A===z&&(l*=-1),c=new we((C.x+O.x)/2+l*-i[1],(C.y+O.y)/2+l*i[0]),u=new we(O.x-c.x,O.y-c.y),d=new we(C.x-c.x,C.y-c.y),m=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(m*=-1),g=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(g*=-1),z&&m>g&&(g+=2*Math.PI),!z&&m<g&&(g-=2*Math.PI),h=[],y=m,p=(g-m)/(f=Math.ceil(2*Math.abs(m-g)/Math.PI)),M=4*Math.tan(p/4)/3,b=0;b<=f;b++)w=Math.cos(y),N=Math.sin(y),x=new we(c.x+w,c.y+N),h[b]=[new we(x.x+M*N,x.y-M*w),x,new we(x.x-M*N,x.y+M*w)],y+=p;for(h[0][0]=h[0][1].clone(),h[h.length-1][2]=h[h.length-1][1].clone(),n=(new be).rotate(T).scale(E,L).rotate(-T),b=0,D=h.length;b<D;b++)h[b][0]=h[b][0].transform(n),h[b][1]=h[b][1].transform(n),h[b][2]=h[b][2].transform(n);for(b=1,D=h.length;b<D;b++)j=(x=h[b-1][2]).x,v=x.y,_=(x=h[b][0]).x,I=x.y,k=(x=h[b][1]).x,S=x.y,Y.push(["C",j,v,_,I,k,S]);return Y}(this.pos,e),e=t[0]}return e[0]="C",this.pos=[e[5],e[6]],this.reflection=[2*e[5]-e[3],2*e[6]-e[4]],t}function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(!1===t)return!1;for(var a=t,r=e.length;a<r;++a)if("M"==e[a][0])return a;return!1}te(St,{morph:function(t,a,r,i,s){for(var o=this.parse(t),l=this.parse(a),c=0,u=0,d=!1,m=!1;!1!==c||!1!==u;){var g;d=n(o,!1!==c&&c+1),m=n(l,!1!==u&&u+1),!1===c&&(c=0==(g=new St(p.start).bbox()).height||0==g.width?o.push(o[0])-1:o.push(["M",g.x+g.width/2,g.y+g.height/2])-1),!1===u&&(u=0==(g=new St(p.dest).bbox()).height||0==g.width?l.push(l[0])-1:l.push(["M",g.x+g.width/2,g.y+g.height/2])-1);var p=e(o,c,d,l,u,m);o=o.slice(0,c).concat(p.start,!1===d?[]:o.slice(d)),l=l.slice(0,u).concat(p.dest,!1===m?[]:l.slice(m)),c=!1!==d&&c+p.start.length,u=!1!==m&&u+p.dest.length}this._array=o,this.destination=new St,this.destination._array=l;var f=this.fromArray(o.map((function(e,t){var a=l[t].map((function(a,n){return 0===n?a:i.step(e[n],l[t][n],r,s[t],s)}));return a})));return f}})}();const Zr=e=>(e.changedTouches&&(e=e.changedTouches[0]),{x:e.clientX,y:e.clientY});class Gr{constructor(e){e.remember("_draggable",this),this.el=e,this.drag=this.drag.bind(this),this.startDrag=this.startDrag.bind(this),this.endDrag=this.endDrag.bind(this)}init(e){e?(this.el.on("mousedown.drag",this.startDrag),this.el.on("touchstart.drag",this.startDrag,{passive:!1})):(this.el.off("mousedown.drag"),this.el.off("touchstart.drag"))}startDrag(e){const t=!e.type.indexOf("mouse");if(t&&1!==e.which&&0!==e.buttons)return;if(this.el.dispatch("beforedrag",{event:e,handler:this}).defaultPrevented)return;e.preventDefault(),e.stopPropagation(),this.init(!1),this.box=this.el.bbox(),this.lastClick=this.el.point(Zr(e));const a=(t?"mouseup":"touchend")+".drag";Se(window,(t?"mousemove":"touchmove")+".drag",this.drag,this,{passive:!1}),Se(window,a,this.endDrag,this,{passive:!1}),this.el.fire("dragstart",{event:e,handler:this,box:this.box})}drag(e){const{box:t,lastClick:a}=this,r=this.el.point(Zr(e)),n=r.x-a.x,i=r.y-a.y;if(!n&&!i)return t;const s=t.x+n,o=t.y+i;this.box=new ve(s,o,t.w,t.h),this.lastClick=r,this.el.dispatch("dragmove",{event:e,handler:this,box:this.box}).defaultPrevented||this.move(s,o)}move(e,t){"svg"===this.el.type?ga.prototype.move.call(this.el,e,t):this.el.move(e,t)}endDrag(e){this.drag(e),this.el.fire("dragend",{event:e,handler:this,box:this.box}),Oe(window,"mousemove.drag"),Oe(window,"touchmove.drag"),Oe(window,"mouseup.drag"),Oe(window,"touchend.drag"),this.init(!0)}}function Xr(e,t,a,r=null){return function(n){n.preventDefault(),n.stopPropagation();var i=n.pageX||n.touches[0].pageX,s=n.pageY||n.touches[0].pageY;t.fire(e,{x:i,y:s,event:n,index:r,points:a})}}function Jr([e,t],{a,b:r,c:n,d:i,e:s,f:o}){return[e*a+t*n+s,e*r+t*i+o]}te(Be,{draggable(e=!0){return(this.remember("_draggable")||new Gr(this)).init(e),this}});let qr=class{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=R();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const r=this.order[t];this.createHandle.call(this,this.selection,e,t,a,r),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+r).on("mousedown.selection touchstart.selection",Xr(r,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,r){const n=r.at(a-1),i=r[(a+1)%r.length],s=t,o=[s[0]-n[0],s[1]-n[1]],l=[s[0]-i[0],s[1]-i[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],m=[l[0]/u,l[1]/u],g=[s[0]-10*d[0],s[1]-10*d[1]],p=[s[0]-10*m[0],s[1]-10*m[1]];e.plot([g,s,p])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const r=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,r)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",Xr("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((e=>Jr(e,t))),this.rotationPoint=Jr(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:r,cx:n,cy:i}=this.el.bbox()){return[[e,a],[n,a],[t,a],[t,i],[t,r],[n,r],[e,r],[e,i]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}};const $r=e=>function(t=!0,a={}){"object"==typeof t&&(a=t,t=!0);let r=this.remember("_"+e.name);return r||(t.prototype instanceof qr?(r=new t(this),t=!0):r=new e(this),this.remember("_"+e.name,r)),r.active(t,a),this};function Kr(e,t,a,r=null){return function(n){n.preventDefault(),n.stopPropagation();var i=n.pageX||n.touches[0].pageX,s=n.pageY||n.touches[0].pageY;t.fire(e,{x:i,y:s,event:n,index:r,points:a})}}function en([e,t],{a,b:r,c:n,d:i,e:s,f:o}){return[e*a+t*n+s,e*r+t*i+o]}te(Be,{select:$r(qr)}),te([Bt,Wt,Mt],{pointSelect:$r(class{constructor(e){this.el=e,e.remember("_pointSelectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=R();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((e,t,a)=>{this.createHandle.call(this,this.selection,e,t,a),this.selection.get(t+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",Xr("point",this.el,this.points,t))}))}createHandleFn(e){e.circle(5)}updateHandleFn(e,t){e.center(t[0],t[1])}updatePointHandles(){this.points.forEach(((e,t,a)=>{this.updateHandle.call(this,this.selection.get(t+1),e,t,a)}))}updatePoints(){const e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((t=>Jr(t,e)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});class tn{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=R();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const r=this.order[t];this.createHandle.call(this,this.selection,e,t,a,r),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+r).on("mousedown.selection touchstart.selection",Kr(r,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,r){const n=r.at(a-1),i=r[(a+1)%r.length],s=t,o=[s[0]-n[0],s[1]-n[1]],l=[s[0]-i[0],s[1]-i[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),u=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],m=[l[0]/u,l[1]/u],g=[s[0]-10*d[0],s[1]-10*d[1]],p=[s[0]-10*m[0],s[1]-10*m[1]];e.plot([g,s,p])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const r=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,r)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",Kr("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((e=>en(e,t))),this.rotationPoint=en(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:r,cx:n,cy:i}=this.el.bbox()){return[[e,a],[n,a],[t,a],[t,i],[t,r],[n,r],[e,r],[e,i]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}}const an=e=>function(t=!0,a={}){"object"==typeof t&&(a=t,t=!0);let r=this.remember("_"+e.name);return r||(t.prototype instanceof tn?(r=new t(this),t=!0):r=new e(this),this.remember("_"+e.name,r)),r.active(t,a),this};te(Be,{select:an(tn)}),te([Bt,Wt,Mt],{pointSelect:an(class{constructor(e){this.el=e,e.remember("_pointSelectHandler",this),this.selection=new ga,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=R();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((e,t,a)=>{this.createHandle.call(this,this.selection,e,t,a),this.selection.get(t+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",Kr("point",this.el,this.points,t))}))}createHandleFn(e){e.circle(5)}updateHandleFn(e,t){e.center(t[0],t[1])}updatePointHandles(){this.points.forEach(((e,t,a)=>{this.updateHandle.call(this,this.selection.get(t+1),e,t,a)}))}updatePoints(){const e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((t=>en(t,e)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});const rn=e=>(e.changedTouches&&(e=e.changedTouches[0]),{x:e.clientX,y:e.clientY}),nn=e=>{let t=1/0,a=1/0,r=-1/0,n=-1/0;for(let i=0;i<e.length;i++){const s=e[i];t=Math.min(t,s[0]),a=Math.min(a,s[1]),r=Math.max(r,s[0]),n=Math.max(n,s[1])}return new ve(t,a,r-t,n-a)};class sn{constructor(e){this.el=e,e.remember("_ResizeHandler",this),this.lastCoordinates=null,this.eventType="",this.lastEvent=null,this.handleResize=this.handleResize.bind(this),this.resize=this.resize.bind(this),this.endResize=this.endResize.bind(this),this.rotate=this.rotate.bind(this),this.movePoint=this.movePoint.bind(this)}active(e,t){this.preserveAspectRatio=t.preserveAspectRatio??!1,this.aroundCenter=t.aroundCenter??!1,this.grid=t.grid??0,this.degree=t.degree??0,this.el.off(".resize"),e&&(this.el.on(["lt.resize","rt.resize","rb.resize","lb.resize","t.resize","r.resize","b.resize","l.resize","rot.resize","point.resize"],this.handleResize),this.lastEvent&&("rot"===this.eventType?this.rotate(this.lastEvent):"point"===this.eventType?this.movePoint(this.lastEvent):this.resize(this.lastEvent)))}handleResize(e){this.eventType=e.type;const{event:t,index:a,points:r}=e.detail,n=!t.type.indexOf("mouse");if(n&&1!==(t.which||t.buttons))return;if(this.el.dispatch("beforeresize",{event:e,handler:this}).defaultPrevented)return;this.box=this.el.bbox(),this.startPoint=this.el.point(rn(t)),this.index=a,this.points=r.slice();const i=(n?"mousemove":"touchmove")+".resize",s=(n?"mouseup":"touchcancel.resize touchend")+".resize";"point"===e.type?Se(window,i,this.movePoint):"rot"===e.type?Se(window,i,this.rotate):Se(window,i,this.resize),Se(window,s,this.endResize)}resize(e){this.lastEvent=e;const t=this.snapToGrid(this.el.point(rn(e)));let a=t.x-this.startPoint.x,r=t.y-this.startPoint.y;this.preserveAspectRatio&&this.aroundCenter&&(a*=2,r*=2);const n=this.box.x+a,i=this.box.y+r,s=this.box.x2+a,o=this.box.y2+r;let l=new ve(this.box);if(this.eventType.includes("l")&&(l.x=Math.min(n,this.box.x2),l.x2=Math.max(n,this.box.x2)),this.eventType.includes("r")&&(l.x=Math.min(s,this.box.x),l.x2=Math.max(s,this.box.x)),this.eventType.includes("t")&&(l.y=Math.min(i,this.box.y2),l.y2=Math.max(i,this.box.y2)),this.eventType.includes("b")&&(l.y=Math.min(o,this.box.y),l.y2=Math.max(o,this.box.y)),l.width=l.x2-l.x,l.height=l.y2-l.y,this.preserveAspectRatio){const e=l.width/this.box.width,t=l.height/this.box.height,a=["lt","t","rt","r","rb","b","lb","l"],r=(a.indexOf(this.eventType)+4)%a.length,n=this.aroundCenter?[this.box.cx,this.box.cy]:this.points[r];let i=this.eventType.includes("t")||this.eventType.includes("b")?t:e;i=2===this.eventType.length?Math.max(e,t):i,l=function(e,t,a){const r=[[e.x,e.y],[e.x+e.width,e.y],[e.x+e.width,e.y+e.height],[e.x,e.y+e.height]].map((([e,r])=>{const n=e-t[0],i=(r-t[1])*a;return[n*a+t[0],i+t[1]]}));return nn(r)}(this.box,n,i)}this.el.dispatch("resize",{box:new ve(l),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.size(l.width,l.height).move(l.x,l.y)}movePoint(e){this.lastEvent=e;const{x:t,y:a}=this.snapToGrid(this.el.point(rn(e))),r=this.el.array().slice();r[this.index]=[t,a],this.el.dispatch("resize",{box:nn(r),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.plot(r)}rotate(e){this.lastEvent=e;const t=this.startPoint,a=this.el.point(rn(e)),{cx:r,cy:n}=this.box,i=t.x-r,s=t.y-n,o=a.x-r,l=a.y-n,c=Math.sqrt(i*i+s*s)*Math.sqrt(o*o+l*l);if(0===c)return;let u=Math.acos((i*o+s*l)/c)/Math.PI*180;if(!u)return;a.x<t.x&&(u=-u);const d=new be(this.el),{x:m,y:g}=new we(r,n).transformO(d),{rotate:p}=d.decompose(),f=this.snapToAngle(p+u)-p;this.el.dispatch("resize",{box:this.box,angle:f,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.transform(d.rotateO(f,m,g))}endResize(e){"rot"!==this.eventType&&"point"!==this.eventType&&this.resize(e),this.lastEvent=null,this.eventType="",Oe(window,"mousemove.resize touchmove.resize"),Oe(window,"mouseup.resize touchend.resize")}snapToGrid(e){return this.grid&&(e.x=Math.round(e.x/this.grid)*this.grid,e.y=Math.round(e.y/this.grid)*this.grid),e}snapToAngle(e){return this.degree&&(e=Math.round(e/this.degree)*this.degree),e}}te(Be,{resize:function(e=!0,t={}){"object"==typeof e&&(t=e,e=!0);let a=this.remember("_ResizeHandler");return a||(e.prototype instanceof sn?(a=new e(this),e=!0):a=new sn(this),this.remember("_resizeHandler",a)),a.active(e,t),this}}),void 0===window.SVG&&(window.SVG=wa),void 0===window.Apex&&(window.Apex={});var on=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{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 D(this.ctx),this.ctx.axes=new ir(this.ctx),this.ctx.core=new Wr(this.ctx.el,this.ctx),this.ctx.config=new Ra({}),this.ctx.data=new Ja(this.ctx),this.ctx.grid=new Ka(this.ctx),this.ctx.graphics=new Ia(this.ctx),this.ctx.coreUtils=new Ea(this.ctx),this.ctx.crosshairs=new sr(this.ctx),this.ctx.events=new rr(this.ctx),this.ctx.exports=new qa(this.ctx),this.ctx.fill=new Wa(this.ctx),this.ctx.localization=new nr(this.ctx),this.ctx.options=new Ya,this.ctx.responsive=new or(this.ctx),this.ctx.series=new Xa(this.ctx),this.ctx.theme=new lr(this.ctx),this.ctx.formatters=new za(this.ctx),this.ctx.titleSubtitle=new cr(this.ctx),this.ctx.legend=new Mr(this.ctx),this.ctx.toolbar=new hr(this.ctx),this.ctx.tooltip=new vr(this.ctx),this.ctx.dimensions=new pr(this.ctx),this.ctx.updateHelpers=new Vr(this.ctx),this.ctx.zoomPanSelection=new yr(this.ctx),this.ctx.w.globals.tooltip=new vr(this.ctx)}}]),e}(),ln=function(){function e(t){i(this,e),this.ctx=t,this.w=t.w}return o(e,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(){this.removeClass("*"),this.off()}),!0),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,a=e.isUpdating,r=this.w.globals.dom.Paper.node;r.parentNode&&r.parentNode.parentNode&&!a&&(r.parentNode.parentNode.style.minHeight="unset");var n=this.w.globals.dom.baseEl;n&&this.ctx.eventList.forEach((function(e){n.removeEventListener(e,t.ctx.events.documentEvent)}));var i=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(i.Paper),i.Paper.remove(),i.elWrap=null,i.elGraphical=null,i.elLegendWrap=null,i.elLegendForeign=null,i.baseEl=null,i.elGridRect=null,i.elGridRectMask=null,i.elGridRectBarMask=null,i.elGridRectMarkerMask=null,i.elForecastMask=null,i.elNonForecastMask=null,i.elDefs=null}}]),e}(),cn=new WeakMap,un=function(){function e(t,a){i(this,e),this.opts=a,this.ctx=this,this.w=new Ba(a).init(),this.el=t,this.w.globals.cuid=b.randomId(),this.w.globals.chartID=this.w.config.chart.id?b.escapeString(this.w.config.chart.id):this.w.globals.cuid,new on(this).initModules(),this.create=b.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return o(e,[{key:"render",value:function(){var e=this;return new Promise((function(t,a){if(b.elementExists(e.el)){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var r=e.w.config.chart.events.beforeMount;"function"==typeof r&&r(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(e,t){var a=!1;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=e.getBoundingClientRect();"none"!==e.style.display&&0!==r.width||(a=!0)}var n=new ResizeObserver((function(r){a&&t.call(e,r),a=!0}));e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(e.children).forEach((function(e){return n.observe(e)})):n.observe(e),cn.set(t,n)}(e.el.parentNode,e.parentResizeHandler);var n=e.el.getRootNode&&e.el.getRootNode(),i=b.is("ShadowRoot",n),s=e.el.ownerDocument,o=i?n.getElementById("apexcharts-css"):s.getElementById("apexcharts-css");if(!o){var l;(o=document.createElement("style")).id="apexcharts-css",o.textContent='@keyframes opaque {\n  0% {\n    opacity: 0\n  }\n\n  to {\n    opacity: 1\n  }\n}\n\n@keyframes resizeanim {\n\n  0%,\n  to {\n    opacity: 0\n  }\n}\n\n.apexcharts-canvas {\n  position: relative;\n  direction: ltr !important;\n  user-select: none\n}\n\n.apexcharts-canvas ::-webkit-scrollbar {\n  -webkit-appearance: none;\n  width: 6px\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n  border-radius: 4px;\n  background-color: rgba(0, 0, 0, .5);\n  box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5)\n}\n\n.apexcharts-inner {\n  position: relative\n}\n\n.apexcharts-text tspan {\n  font-family: inherit\n}\n\nrect.legend-mouseover-inactive,\n.legend-mouseover-inactive rect,\n.legend-mouseover-inactive path,\n.legend-mouseover-inactive circle,\n.legend-mouseover-inactive line,\n.legend-mouseover-inactive text.apexcharts-yaxis-title-text,\n.legend-mouseover-inactive text.apexcharts-yaxis-label {\n  transition: .15s ease all;\n  opacity: .2\n}\n\n.apexcharts-legend-text {\n  padding-left: 15px;\n  margin-left: -15px;\n}\n\n.apexcharts-series-collapsed {\n  opacity: 0\n}\n\n.apexcharts-tooltip {\n  border-radius: 5px;\n  box-shadow: 2px 2px 6px -4px #999;\n  cursor: default;\n  font-size: 14px;\n  left: 62px;\n  opacity: 0;\n  pointer-events: none;\n  position: absolute;\n  top: 20px;\n  display: flex;\n  flex-direction: column;\n  overflow: hidden;\n  white-space: nowrap;\n  z-index: 12;\n  transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-active {\n  opacity: 1;\n  transition: .15s ease all\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n  border: 1px solid #e3e3e3;\n  background: rgba(255, 255, 255, .96)\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n  color: #fff;\n  background: rgba(30, 30, 30, .8)\n}\n\n.apexcharts-tooltip * {\n  font-family: inherit\n}\n\n.apexcharts-tooltip-title {\n  padding: 6px;\n  font-size: 15px;\n  margin-bottom: 4px\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n  background: #eceff1;\n  border-bottom: 1px solid #ddd\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n  background: rgba(0, 0, 0, .7);\n  border-bottom: 1px solid #333\n}\n\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-z-value {\n  display: inline-block;\n  margin-left: 5px;\n  font-weight: 600\n}\n\n.apexcharts-tooltip-text-goals-label:empty,\n.apexcharts-tooltip-text-goals-value:empty,\n.apexcharts-tooltip-text-y-label:empty,\n.apexcharts-tooltip-text-y-value:empty,\n.apexcharts-tooltip-text-z-value:empty,\n.apexcharts-tooltip-title:empty {\n  display: none\n}\n\n.apexcharts-tooltip-text-goals-label,\n.apexcharts-tooltip-text-goals-value {\n  padding: 6px 0 5px\n}\n\n.apexcharts-tooltip-goals-group,\n.apexcharts-tooltip-text-goals-label,\n.apexcharts-tooltip-text-goals-value {\n  display: flex\n}\n\n.apexcharts-tooltip-text-goals-label:not(:empty),\n.apexcharts-tooltip-text-goals-value:not(:empty) {\n  margin-top: -6px\n}\n\n.apexcharts-tooltip-marker {\n  display: inline-block;\n  position: relative;\n  width: 16px;\n  height: 16px;\n  font-size: 16px;\n  line-height: 16px;\n  margin-right: 4px;\n  text-align: center;\n  vertical-align: middle;\n  color: inherit;\n}\n\n.apexcharts-tooltip-marker::before {\n  content: "";\n  display: inline-block;\n  width: 100%;\n  text-align: center;\n  color: currentcolor;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  font-size: 26px;\n  line-height: 14px;\n  font-weight: 900;\n}\n\n.apexcharts-tooltip-marker[shape="circle"]::before {\n  content: "\\25CF";\n}\n\n.apexcharts-tooltip-marker[shape="square"]::before,\n.apexcharts-tooltip-marker[shape="rect"]::before {\n  content: "\\25A0";\n  transform: translate(-1px, -2px);\n}\n\n.apexcharts-tooltip-marker[shape="line"]::before {\n  content: "\\2500";\n}\n\n.apexcharts-tooltip-marker[shape="diamond"]::before {\n  content: "\\25C6";\n  font-size: 28px;\n}\n\n.apexcharts-tooltip-marker[shape="triangle"]::before {\n  content: "\\25B2";\n  font-size: 22px;\n}\n\n.apexcharts-tooltip-marker[shape="cross"]::before {\n  content: "\\2715";\n  font-size: 18px;\n}\n\n.apexcharts-tooltip-marker[shape="plus"]::before {\n  content: "\\2715";\n  transform: rotate(45deg) translate(-1px, -1px);\n  font-size: 18px;\n}\n\n.apexcharts-tooltip-marker[shape="star"]::before {\n  content: "\\2605";\n  font-size: 18px;\n}\n\n.apexcharts-tooltip-marker[shape="sparkle"]::before {\n  content: "\\2726";\n  font-size: 20px;\n}\n\n.apexcharts-tooltip-series-group {\n  padding: 0 10px;\n  display: none;\n  text-align: left;\n  justify-content: left;\n  align-items: center\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n  opacity: 1\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,\n.apexcharts-tooltip-series-group:last-child {\n  padding-bottom: 4px\n}\n\n.apexcharts-tooltip-y-group {\n  padding: 6px 0 5px\n}\n\n.apexcharts-custom-tooltip,\n.apexcharts-tooltip-box {\n  padding: 4px 8px\n}\n\n.apexcharts-tooltip-boxPlot {\n  display: flex;\n  flex-direction: column-reverse\n}\n\n.apexcharts-tooltip-box>div {\n  margin: 4px 0\n}\n\n.apexcharts-tooltip-box span.value {\n  font-weight: 700\n}\n\n.apexcharts-tooltip-rangebar {\n  padding: 5px 8px\n}\n\n.apexcharts-tooltip-rangebar .category {\n  font-weight: 600;\n  color: #777\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n  font-weight: 700;\n  display: block;\n  margin-bottom: 5px\n}\n\n.apexcharts-xaxistooltip,\n.apexcharts-yaxistooltip {\n  opacity: 0;\n  pointer-events: none;\n  color: #373d3f;\n  font-size: 13px;\n  text-align: center;\n  border-radius: 2px;\n  position: absolute;\n  z-index: 10;\n  background: #eceff1;\n  border: 1px solid #90a4ae\n}\n\n.apexcharts-xaxistooltip {\n  padding: 9px 10px;\n  transition: .15s ease all\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n  background: rgba(0, 0, 0, .7);\n  border: 1px solid rgba(0, 0, 0, .5);\n  color: #fff\n}\n\n.apexcharts-xaxistooltip:after,\n.apexcharts-xaxistooltip:before {\n  left: 50%;\n  border: solid transparent;\n  content: " ";\n  height: 0;\n  width: 0;\n  position: absolute;\n  pointer-events: none\n}\n\n.apexcharts-xaxistooltip:after {\n  border-color: transparent;\n  border-width: 6px;\n  margin-left: -6px\n}\n\n.apexcharts-xaxistooltip:before {\n  border-color: transparent;\n  border-width: 7px;\n  margin-left: -7px\n}\n\n.apexcharts-xaxistooltip-bottom:after,\n.apexcharts-xaxistooltip-bottom:before {\n  bottom: 100%\n}\n\n.apexcharts-xaxistooltip-top:after,\n.apexcharts-xaxistooltip-top:before {\n  top: 100%\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n  border-bottom-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n  border-bottom-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n  border-bottom-color: rgba(0, 0, 0, .5)\n}\n\n.apexcharts-xaxistooltip-top:after {\n  border-top-color: #eceff1\n}\n\n.apexcharts-xaxistooltip-top:before {\n  border-top-color: #90a4ae\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n  border-top-color: rgba(0, 0, 0, .5)\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n  opacity: 1;\n  transition: .15s ease all\n}\n\n.apexcharts-yaxistooltip {\n  padding: 4px 10px\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n  background: rgba(0, 0, 0, .7);\n  border: 1px solid rgba(0, 0, 0, .5);\n  color: #fff\n}\n\n.apexcharts-yaxistooltip:after,\n.apexcharts-yaxistooltip:before {\n  top: 50%;\n  border: solid transparent;\n  content: " ";\n  height: 0;\n  width: 0;\n  position: absolute;\n  pointer-events: none\n}\n\n.apexcharts-yaxistooltip:after {\n  border-color: transparent;\n  border-width: 6px;\n  margin-top: -6px\n}\n\n.apexcharts-yaxistooltip:before {\n  border-color: transparent;\n  border-width: 7px;\n  margin-top: -7px\n}\n\n.apexcharts-yaxistooltip-left:after,\n.apexcharts-yaxistooltip-left:before {\n  left: 100%\n}\n\n.apexcharts-yaxistooltip-right:after,\n.apexcharts-yaxistooltip-right:before {\n  right: 100%\n}\n\n.apexcharts-yaxistooltip-left:after {\n  border-left-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-left:before {\n  border-left-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n  border-left-color: rgba(0, 0, 0, .5)\n}\n\n.apexcharts-yaxistooltip-right:after {\n  border-right-color: #eceff1\n}\n\n.apexcharts-yaxistooltip-right:before {\n  border-right-color: #90a4ae\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n  border-right-color: rgba(0, 0, 0, .5)\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n  opacity: 1\n}\n\n.apexcharts-yaxistooltip-hidden {\n  display: none\n}\n\n.apexcharts-xcrosshairs,\n.apexcharts-ycrosshairs {\n  pointer-events: none;\n  opacity: 0;\n  transition: .15s ease all\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,\n.apexcharts-ycrosshairs.apexcharts-active {\n  opacity: 1;\n  transition: .15s ease all\n}\n\n.apexcharts-ycrosshairs-hidden {\n  opacity: 0\n}\n\n.apexcharts-selection-rect {\n  cursor: move\n}\n\n.svg_select_shape {\n  stroke-width: 1;\n  stroke-dasharray: 10 10;\n  stroke: black;\n  stroke-opacity: 0.1;\n  pointer-events: none;\n  fill: none;\n}\n\n.svg_select_handle {\n  stroke-width: 3;\n  stroke: black;\n  fill: none;\n}\n\n.svg_select_handle_r {\n  cursor: e-resize;\n}\n\n.svg_select_handle_l {\n  cursor: w-resize;\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n  cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n  cursor: move\n}\n\n.apexcharts-menu-icon,\n.apexcharts-pan-icon,\n.apexcharts-reset-icon,\n.apexcharts-selection-icon,\n.apexcharts-toolbar-custom-icon,\n.apexcharts-zoom-icon,\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n  cursor: pointer;\n  width: 20px;\n  height: 20px;\n  line-height: 24px;\n  color: #6e8192;\n  text-align: center\n}\n\n.apexcharts-menu-icon svg,\n.apexcharts-reset-icon svg,\n.apexcharts-zoom-icon svg,\n.apexcharts-zoomin-icon svg,\n.apexcharts-zoomout-icon svg {\n  fill: #6e8192\n}\n\n.apexcharts-selection-icon svg {\n  fill: #444;\n  transform: scale(.76)\n}\n\n.apexcharts-theme-dark .apexcharts-menu-icon svg,\n.apexcharts-theme-dark .apexcharts-pan-icon svg,\n.apexcharts-theme-dark .apexcharts-reset-icon svg,\n.apexcharts-theme-dark .apexcharts-selection-icon svg,\n.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomin-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomout-icon svg {\n  fill: #f3f4f5\n}\n\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {\n  fill: #008ffb\n}\n\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg,\n.apexcharts-theme-light .apexcharts-reset-icon:hover svg,\n.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,\n.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {\n  fill: #333\n}\n\n.apexcharts-menu-icon,\n.apexcharts-selection-icon {\n  position: relative\n}\n\n.apexcharts-reset-icon {\n  margin-left: 5px\n}\n\n.apexcharts-menu-icon,\n.apexcharts-reset-icon,\n.apexcharts-zoom-icon {\n  transform: scale(.85)\n}\n\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n  transform: scale(.7)\n}\n\n.apexcharts-zoomout-icon {\n  margin-right: 3px\n}\n\n.apexcharts-pan-icon {\n  transform: scale(.62);\n  position: relative;\n  left: 1px;\n  top: 0\n}\n\n.apexcharts-pan-icon svg {\n  fill: #fff;\n  stroke: #6e8192;\n  stroke-width: 2\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n  stroke: #008ffb\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n  stroke: #333\n}\n\n.apexcharts-toolbar {\n  position: absolute;\n  z-index: 11;\n  max-width: 176px;\n  text-align: right;\n  border-radius: 3px;\n  padding: 0 6px 2px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center\n}\n\n.apexcharts-menu {\n  background: #fff;\n  position: absolute;\n  top: 100%;\n  border: 1px solid #ddd;\n  border-radius: 3px;\n  padding: 3px;\n  right: 10px;\n  opacity: 0;\n  min-width: 110px;\n  transition: .15s ease all;\n  pointer-events: none\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n  opacity: 1;\n  pointer-events: all;\n  transition: .15s ease all\n}\n\n.apexcharts-menu-item {\n  padding: 6px 7px;\n  font-size: 12px;\n  cursor: pointer\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n  background: #eee\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n  background: rgba(0, 0, 0, .7);\n  color: #fff\n}\n\n@media screen and (min-width:768px) {\n  .apexcharts-canvas:hover .apexcharts-toolbar {\n    opacity: 1\n  }\n}\n\n.apexcharts-canvas .apexcharts-element-hidden,\n.apexcharts-datalabel.apexcharts-element-hidden,\n.apexcharts-hide .apexcharts-series-points {\n  opacity: 0;\n}\n\n.apexcharts-hidden-element-shown {\n  opacity: 1;\n  transition: 0.25s ease all;\n}\n\n.apexcharts-datalabel,\n.apexcharts-datalabel-label,\n.apexcharts-datalabel-value,\n.apexcharts-datalabels,\n.apexcharts-pie-label {\n  cursor: default;\n  pointer-events: none\n}\n\n.apexcharts-pie-label-delay {\n  opacity: 0;\n  animation-name: opaque;\n  animation-duration: .3s;\n  animation-fill-mode: forwards;\n  animation-timing-function: ease\n}\n\n.apexcharts-radialbar-label {\n  cursor: pointer;\n}\n\n.apexcharts-annotation-rect,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-gridline,\n.apexcharts-line,\n.apexcharts-point-annotation-label,\n.apexcharts-radar-series path:not(.apexcharts-marker),\n.apexcharts-radar-series polygon,\n.apexcharts-toolbar svg,\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-xaxis-annotation-label,\n.apexcharts-yaxis-annotation-label,\n.apexcharts-zoom-rect,\n.no-pointer-events {\n  pointer-events: none\n}\n\n.apexcharts-tooltip-active .apexcharts-marker {\n  transition: .15s ease all\n}\n\n.apexcharts-radar-series .apexcharts-yaxis {\n  pointer-events: none;\n}\n\n.resize-triggers {\n  animation: 1ms resizeanim;\n  visibility: hidden;\n  opacity: 0;\n  height: 100%;\n  width: 100%;\n  overflow: hidden\n}\n\n.contract-trigger:before,\n.resize-triggers,\n.resize-triggers>div {\n  content: " ";\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0\n}\n\n.resize-triggers>div {\n  height: 100%;\n  width: 100%;\n  background: #eee;\n  overflow: auto\n}\n\n.contract-trigger:before {\n  overflow: hidden;\n  width: 200%;\n  height: 200%\n}\n\n.apexcharts-bar-goals-markers {\n  pointer-events: none\n}\n\n.apexcharts-bar-shadows {\n  pointer-events: none\n}\n\n.apexcharts-rangebar-goals-markers {\n  pointer-events: none\n}';var c=(null===(l=e.opts.chart)||void 0===l?void 0:l.nonce)||e.w.config.chart.nonce;c&&o.setAttribute("nonce",c),i?n.prepend(o):s.head.appendChild(o)}var u=e.create(e.w.config.series,{});if(!u)return t(e);e.mount(u).then((function(){"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(u)})).catch((function(e){a(e)}))}else a(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var a=this,r=this.w;new on(this).initModules();var n=this.w.globals;if(n.noData=!1,n.animationEnded=!1,!b.elementExists(this.el))return n.animationEnded=!0,this.destroy(),null;if(this.responsive.checkResponsiveConfig(t),r.config.xaxis.convertedCatToNumeric&&new Fa(r.config).convertCatToNumericXaxis(r.config,this.ctx),this.core.setupElements(),"treemap"===r.config.chart.type&&(r.config.grid.show=!1,r.config.yaxis[0].show=!1),0===n.svgWidth)return n.animationEnded=!0,null;var i=e;e.forEach((function(e,t){e.hidden&&(i=a.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:t}))}));var s=Ea.checkComboSeries(i,r.config.chart.type);n.comboCharts=s.comboCharts,n.comboBarCount=s.comboBarCount;var o=i.every((function(e){return e.data&&0===e.data.length}));(0===i.length||o&&n.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(i),this.theme.init(),new Va(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),n.noData&&n.collapsedSeries.length!==n.series.length&&!r.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),n.axisCharts&&(this.core.coreCalculations(),"category"!==r.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=r.globals.minX,this.ctx.toolbar.maxX=r.globals.maxX),this.formatters.heatmapLabelFormatters(),new Ea(this).getLargestMarkerSize(),this.dimensions.plotCoords();var l=this.core.xySettings();this.grid.createGridMask();var c=this.core.plotChartType(i,l),u=new Ga(this);return u.bringForward(),r.config.dataLabels.background.enabled&&u.dataLabelsBackground(),this.core.shiftGraphPosition(),{elGraph:c,xyRatios:l,dimensions:{plot:{left:r.globals.translateX,top:r.globals.translateY,width:r.globals.gridWidth,height:r.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=this,r=a.w;return new Promise((function(n,i){if(null===a.el)return i(new Error("Not enough data to display or target element not found"));(null===t||r.globals.allSeriesCollapsed)&&a.series.handleNoData(),a.grid=new Ka(a);var s,o,l=a.grid.drawGrid();if(a.annotations=new Ua(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),"back"===r.config.grid.position&&(l&&r.globals.dom.elGraphical.add(l.el),null!=l&&null!==(s=l.elGridBorders)&&void 0!==s&&s.node&&r.globals.dom.elGraphical.add(l.elGridBorders)),Array.isArray(t.elGraph))for(var c=0;c<t.elGraph.length;c++)r.globals.dom.elGraphical.add(t.elGraph[c]);else r.globals.dom.elGraphical.add(t.elGraph);"front"===r.config.grid.position&&(l&&r.globals.dom.elGraphical.add(l.el),null!=l&&null!==(o=l.elGridBorders)&&void 0!==o&&o.node&&r.globals.dom.elGraphical.add(l.elGridBorders)),"front"===r.config.xaxis.crosshairs.position&&a.crosshairs.drawXCrosshairs(),"front"===r.config.yaxis[0].crosshairs.position&&a.crosshairs.drawYCrosshairs(),"treemap"!==r.config.chart.type&&a.axes.drawAxis(r.config.chart.type,l);var u=new $a(e.ctx,l),d=new ar(e.ctx,l);if(null!==l&&(u.xAxisLabelCorrections(l.xAxisTickWidth),d.setYAxisTextAlignments(),r.config.yaxis.map((function(e,t){-1===r.globals.ignoreYAxisIndexes.indexOf(t)&&d.yAxisTitleRotate(t,e.opposite)}))),a.annotations.drawAxesAnnotations(),!r.globals.noData){if(r.config.tooltip.enabled&&!r.globals.noData&&a.w.globals.tooltip.drawTooltip(t.xyRatios),r.globals.axisCharts&&(r.globals.isXNumeric||r.config.xaxis.convertedCatToNumeric||r.globals.isRangeBar))(r.config.chart.zoom.enabled||r.config.chart.selection&&r.config.chart.selection.enabled||r.config.chart.pan&&r.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:t.xyRatios});else{var m=r.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(e){m[e]=!1}))}r.config.chart.toolbar.show&&!r.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}r.globals.memory.methodsToExec.length>0&&r.globals.memory.methodsToExec.forEach((function(e){e.method(e.params,!1,e.context)})),r.globals.axisCharts||r.globals.noData||a.core.resizeNonAxisCharts(),n(a)}))}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),function(e,t){var a=cn.get(t);a&&(a.disconnect(),cn.delete(t))}(this.el.parentNode,this.parentResizeHandler);var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach((function(t,a){t.id===b.escapeString(e)&&Apex._chartInstances.splice(a,1)})),new ln(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=this.w;return s.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(e,a){return t.updateHelpers._extendSeries(e,a)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),s.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,a,r,n,i)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,a)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w.config.series.slice();return r.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(r,t,a)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this;a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var r=a.w.config.series.slice(),n=0;n<r.length;n++)if(null!==e[n]&&void 0!==e[n])for(var i=0;i<e[n].data.length;i++)r[n].data.push(e[n].data[i]);return a.w.config.series=r,t&&(a.w.globals.initialSeries=b.clone(a.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(a,r){new ln(t.ctx).clear({isUpdating:!0});var n=t.create(t.w.config.series,e);if(!n)return a(t);t.mount(n).then((function(){"function"==typeof t.w.config.chart.events.updated&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,a(t)})).catch((function(e){r(e)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(e){t.push(e)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(e){if(e.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"highlightSeries",value:function(e){this.series.highlightSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;a&&(r=a),r.annotations.addXaxisAnnotationExternal(e,t,r)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;a&&(r=a),r.annotations.addYaxisAnnotationExternal(e,t,r)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;a&&(r=a),r.annotations.addPointAnnotationExternal(e,t,r)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,a=this;t&&(a=t),a.annotations.removeAnnotation(a,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new tr(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new tr(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 qa(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new qa(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;"function"==typeof e&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=b.escapeString(e);if(Apex._chartInstances){var a=Apex._chartInstances.filter((function(e){return e.id===t}))[0];return a&&a.chart}}},{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),a=0;a<t.length;a++)new e(t[a],JSON.parse(t[a].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var a=this.getChartByID(e);if(a){a.w.globals.isExecCalled=!0;var r=null;if(-1!==a.publicMethods.indexOf(t)){for(var n=arguments.length,i=new Array(n>2?n-2:0),s=2;s<n;s++)i[s-2]=arguments[s];r=a[t].apply(a,i)}return r}}},{key:"merge",value:function(e,t){return b.extend(e,t)}}]),e}()},9423:()=>{window.wcfWpNavMenuChange=function(e){const t=cartflows_admin.admin_base_slug;let a="";"store-checkout"===e&&""!==cartflows_admin.global_checkout_id?a="admin.php?page="+t+"&path=store-checkout&action=wcf-edit-flow&flow_id="+encodeURIComponent(cartflows_admin.global_checkout_id):("store-checkout-library"===e&&(e="store-checkout"),a=e?"admin.php?page="+t+"&path="+encodeURIComponent(e):"admin.php?page="+t);const r=`.wp-submenu-wrap li > a[href$="${a}"]`,n=document.querySelectorAll(r);Array.from(document.getElementsByClassName("current")).forEach((function(e){e.parentElement.classList.contains("wp-submenu")&&e.classList.remove("current")})),Array.from(n).forEach((function(e){e.parentElement.classList.add("current")}))},window.wcfUnsavedChanges=!1,window.onbeforeunload=function(){if(wcfUnsavedChanges)return"Unsaved Changes"},window.wcfCartflowsPro=function(){return!!cartflows_admin.is_pro},window.wcfCartflowsTypePro=function(){return!(!cartflows_admin.is_pro||"pro"!==cartflows_admin.cf_pro_type)},window.wcfCartflowsTypePlus=function(){return!(!cartflows_admin.is_pro||"plus"!==cartflows_admin.cf_pro_type)},window.wcfCartflowsTypeStarter=function(){return!(!cartflows_admin.is_pro||"starter"!==cartflows_admin.cf_pro_type)},window.wcfCartflowsTypePlusPro=function(){return wcfCartflowsTypePlus()||wcfCartflowsTypePro()},window.wcfInactiveProPlus=function(){const e=cartflows_admin.cf_pro_type_inactive;return!("inactive"!==cartflows_admin.cf_pro_status||!["CartFlows Pro","CartFlows Plus"].includes(e))},window.wcfInactivepluginType=function(){let e="";switch(cartflows_admin.cf_pro_type_inactive){case"CartFlows Pro":e="pro";break;case"CartFlows Plus":e="plus";break;case"CartFlows Starter":e="starter"}return e},window.getUpgradeToProUrl=function(e=""){let t=cartflows_admin?.cf_upgrade_to_pro_url||cartflows_admin?.cf_domain_url;const a=t.includes("?");return""!==e&&(t+=a?"&"+e:"?"+e),t},window.setSureTriggersConfig=function(e){window?.SureTriggers.init(e)}},4353:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,a="millisecond",r="second",n="minute",i="hour",s="day",o="week",l="month",c="quarter",u="year",d="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}},M=function(e,t,a){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(a)+e},h={s:M,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),r=Math.floor(a/60),n=a%60;return(t<=0?"+":"-")+M(r,2,"0")+":"+M(n,2,"0")},m:function e(t,a){if(t.date()<a.date())return-e(a,t);var r=12*(a.year()-t.year())+(a.month()-t.month()),n=t.clone().add(r,l),i=a-n<0,s=t.clone().add(r+(i?-1:1),l);return+(-(r+(a-n)/(i?n-s:s-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:u,w:o,d:s,D:d,h:i,m:n,s:r,ms:a,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",N={};N[y]=f;var w="$isDayjsObject",x=function(e){return e instanceof v||!(!e||!e[w])},b=function e(t,a,r){var n;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();N[i]&&(n=i),a&&(N[i]=a,n=i);var s=t.split("-");if(!n&&s.length>1)return e(s[0])}else{var o=t.name;N[o]=t,n=o}return!r&&n&&(y=n),n||!r&&y},D=function(e,t){if(x(e))return e.clone();var a="object"==typeof t?t:{};return a.date=e,a.args=arguments,new v(a)},j=h;j.l=b,j.i=x,j.w=function(e,t){return D(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var v=function(){function f(e){this.$L=b(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var M=f.prototype;return M.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc;if(null===t)return new Date(NaN);if(j.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(g);if(r){var n=r[2]-1||0,i=(r[7]||"0").substring(0,3);return a?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},M.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},M.$utils=function(){return j},M.isValid=function(){return!(this.$d.toString()===m)},M.isSame=function(e,t){var a=D(e);return this.startOf(t)<=a&&a<=this.endOf(t)},M.isAfter=function(e,t){return D(e)<this.startOf(t)},M.isBefore=function(e,t){return this.endOf(t)<D(e)},M.$g=function(e,t,a){return j.u(e)?this[t]:this.set(a,e)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(e,t){var a=this,c=!!j.u(t)||t,m=j.p(e),g=function(e,t){var r=j.w(a.$u?Date.UTC(a.$y,t,e):new Date(a.$y,t,e),a);return c?r:r.endOf(s)},p=function(e,t){return j.w(a.toDate()[e].apply(a.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),a)},f=this.$W,M=this.$M,h=this.$D,y="set"+(this.$u?"UTC":"");switch(m){case u:return c?g(1,0):g(31,11);case l:return c?g(1,M):g(0,M+1);case o:var N=this.$locale().weekStart||0,w=(f<N?f+7:f)-N;return g(c?h-w:h+(6-w),M);case s:case d:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case n:return p(y+"Seconds",2);case r:return p(y+"Milliseconds",3);default:return this.clone()}},M.endOf=function(e){return this.startOf(e,!1)},M.$set=function(e,t){var o,c=j.p(e),m="set"+(this.$u?"UTC":""),g=(o={},o[s]=m+"Date",o[d]=m+"Date",o[l]=m+"Month",o[u]=m+"FullYear",o[i]=m+"Hours",o[n]=m+"Minutes",o[r]=m+"Seconds",o[a]=m+"Milliseconds",o)[c],p=c===s?this.$D+(t-this.$W):t;if(c===l||c===u){var f=this.clone().set(d,1);f.$d[g](p),f.init(),this.$d=f.set(d,Math.min(this.$D,f.daysInMonth())).$d}else g&&this.$d[g](p);return this.init(),this},M.set=function(e,t){return this.clone().$set(e,t)},M.get=function(e){return this[j.p(e)]()},M.add=function(a,c){var d,m=this;a=Number(a);var g=j.p(c),p=function(e){var t=D(m);return j.w(t.date(t.date()+Math.round(e*a)),m)};if(g===l)return this.set(l,this.$M+a);if(g===u)return this.set(u,this.$y+a);if(g===s)return p(1);if(g===o)return p(7);var f=(d={},d[n]=e,d[i]=t,d[r]=1e3,d)[g]||1,M=this.$d.getTime()+a*f;return j.w(M,this)},M.subtract=function(e,t){return this.add(-1*e,t)},M.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return a.invalidDate||m;var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=j.z(this),i=this.$H,s=this.$m,o=this.$M,l=a.weekdays,c=a.months,u=a.meridiem,d=function(e,a,n,i){return e&&(e[a]||e(t,r))||n[a].slice(0,i)},g=function(e){return j.s(i%12||12,e,"0")},f=u||function(e,t,a){var r=e<12?"AM":"PM";return a?r.toLowerCase():r};return r.replace(p,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return j.s(t.$y,4,"0");case"M":return o+1;case"MM":return j.s(o+1,2,"0");case"MMM":return d(a.monthsShort,o,c,3);case"MMMM":return d(c,o);case"D":return t.$D;case"DD":return j.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(a.weekdaysMin,t.$W,l,2);case"ddd":return d(a.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return j.s(i,2,"0");case"h":return g(1);case"hh":return g(2);case"a":return f(i,s,!0);case"A":return f(i,s,!1);case"m":return String(s);case"mm":return j.s(s,2,"0");case"s":return String(t.$s);case"ss":return j.s(t.$s,2,"0");case"SSS":return j.s(t.$ms,3,"0");case"Z":return n}return null}(e)||n.replace(":","")}))},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(a,d,m){var g,p=this,f=j.p(d),M=D(a),h=(M.utcOffset()-this.utcOffset())*e,y=this-M,N=function(){return j.m(p,M)};switch(f){case u:g=N()/12;break;case l:g=N();break;case c:g=N()/3;break;case o:g=(y-h)/6048e5;break;case s:g=(y-h)/864e5;break;case i:g=y/t;break;case n:g=y/e;break;case r:g=y/1e3;break;default:g=y}return m?g:j.a(g)},M.daysInMonth=function(){return this.endOf(l).$D},M.$locale=function(){return N[this.$L]},M.locale=function(e,t){if(!e)return this.$L;var a=this.clone(),r=b(e,t,!0);return r&&(a.$L=r),a},M.clone=function(){return j.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},f}(),_=v.prototype;return D.prototype=_,[["$ms",a],["$s",r],["$m",n],["$H",i],["$W",s],["$M",l],["$y",u],["$D",d]].forEach((function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),D.extend=function(e,t){return e.$i||(e(t,v,D),e.$i=!0),D},D.locale=b,D.isDayjs=x,D.unix=function(e){return D(1e3*e)},D.en=N[y],D.Ls=N,D.p={},D}()},5413:(e,t)=>{"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype},1141:function(e,t,a){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,a,r){void 0===r&&(r=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,r,n)}:function(e,t,a,r){void 0===r&&(r=a),e[r]=t[a]}),n=this&&this.__exportStar||function(e,t){for(var a in e)"default"===a||Object.prototype.hasOwnProperty.call(t,a)||r(t,e,a)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=a(5413),s=a(6957);n(a(6957),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,a){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,a);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var a=new s.Text(e);this.addNode(a),this.lastNode=a}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new s.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},6957:function(e,t,a){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=a(5413),o=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),b(this,e)},e}();t.Node=o;var l=function(e){function t(t){var a=e.call(this)||this;return a.data=t,a}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(o);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,a){var r=e.call(this,a)||this;return r.name=t,r.type=s.ElementType.Directive,r}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var m=function(e){function t(t){var a=e.call(this)||this;return a.children=t,a}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=m;var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(m);t.CDATA=g;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(m);t.Document=p;var f=function(e){function t(t,a,r,n){void 0===r&&(r=[]),void 0===n&&(n="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=a,i.type=n,i}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,r;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(m);function M(e){return(0,s.isTag)(e)}function h(e){return e.type===s.ElementType.CDATA}function y(e){return e.type===s.ElementType.Text}function N(e){return e.type===s.ElementType.Comment}function w(e){return e.type===s.ElementType.Directive}function x(e){return e.type===s.ElementType.Root}function b(e,t){var a;if(void 0===t&&(t=!1),y(e))a=new c(e.data);else if(N(e))a=new u(e.data);else if(M(e)){var r=t?D(e.children):[],n=new f(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=n})),null!=e.namespace&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),a=n}else if(h(e)){r=t?D(e.children):[];var s=new g(r);r.forEach((function(e){return e.parent=s})),a=s}else if(x(e)){r=t?D(e.children):[];var o=new p(r);r.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),a=o}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),a=l}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function D(e){for(var t=e.map((function(e){return b(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=f,t.isTag=M,t.isCDATA=h,t.isText=y,t.isComment=N,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=b},7929:(e,t,a)=>{"use strict";a.r(t),a.d(t,{createBrowserHistory:()=>j,createHashHistory:()=>T,createLocation:()=>M,createMemoryHistory:()=>z,createPath:()=>f,locationsAreEqual:()=>h,parsePath:()=>p});var r=a(8168);function n(e){return"/"===e.charAt(0)}function i(e,t){for(var a=t,r=a+1,n=e.length;r<n;a+=1,r+=1)e[a]=e[r];e.pop()}const s=function(e,t){void 0===t&&(t="");var a,r=e&&e.split("/")||[],s=t&&t.split("/")||[],o=e&&n(e),l=t&&n(t),c=o||l;if(e&&n(e)?s=r:r.length&&(s.pop(),s=s.concat(r)),!s.length)return"/";if(s.length){var u=s[s.length-1];a="."===u||".."===u||""===u}else a=!1;for(var d=0,m=s.length;m>=0;m--){var g=s[m];"."===g?i(s,m):".."===g?(i(s,m),d++):d&&(i(s,m),d--)}if(!c)for(;d--;d)s.unshift("..");!c||""===s[0]||s[0]&&n(s[0])||s.unshift("");var p=s.join("/");return a&&"/"!==p.substr(-1)&&(p+="/"),p};function o(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const l=function e(t,a){if(t===a)return!0;if(null==t||null==a)return!1;if(Array.isArray(t))return Array.isArray(a)&&t.length===a.length&&t.every((function(t,r){return e(t,a[r])}));if("object"==typeof t||"object"==typeof a){var r=o(t),n=o(a);return r!==t||n!==a?e(r,n):Object.keys(Object.assign({},t,a)).every((function(r){return e(t[r],a[r])}))}return!1};var c=a(1561);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function m(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function g(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",a="",r="",n=t.indexOf("#");-1!==n&&(r=t.substr(n),t=t.substr(0,n));var i=t.indexOf("?");return-1!==i&&(a=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===a?"":a,hash:"#"===r?"":r}}function f(e){var t=e.pathname,a=e.search,r=e.hash,n=t||"/";return a&&"?"!==a&&(n+="?"===a.charAt(0)?a:"?"+a),r&&"#"!==r&&(n+="#"===r.charAt(0)?r:"#"+r),n}function M(e,t,a,n){var i;"string"==typeof e?(i=p(e)).state=t:(void 0===(i=(0,r.A)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return a&&(i.key=a),n?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=s(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,a,r,n){if(null!=e){var i="function"==typeof e?e(t,a):e;"string"==typeof i?"function"==typeof r?r(i,n):n(!0):n(!1!==i)}else n(!0)},appendListener:function(e){var a=!0;function r(){a&&e.apply(void 0,arguments)}return t.push(r),function(){a=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,a)}))}}}var N=!("undefined"==typeof window||!window.document||!window.document.createElement);function w(e,t){t(window.confirm(e))}var x="popstate",b="hashchange";function D(){try{return window.history.state||{}}catch(e){return{}}}function j(e){void 0===e&&(e={}),N||(0,c.A)(!1);var t,a=window.history,n=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,o=s.forceRefresh,l=void 0!==o&&o,d=s.getUserConfirmation,p=void 0===d?w:d,h=s.keyLength,j=void 0===h?6:h,v=e.basename?g(u(e.basename)):"";function _(e){var t=e||{},a=t.key,r=t.state,n=window.location,i=n.pathname+n.search+n.hash;return v&&(i=m(i,v)),M(i,r,a)}function I(){return Math.random().toString(36).substr(2,j)}var E=y();function L(e){(0,r.A)(F,e),F.length=a.length,E.notifyListeners(F.location,F.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||k(_(e.state))}function A(){k(_(D()))}var z=!1;function k(e){z?(z=!1,L()):E.confirmTransitionTo(e,"POP",p,(function(t){t?L({action:"POP",location:e}):function(e){var t=F.location,a=O.indexOf(t.key);-1===a&&(a=0);var r=O.indexOf(e.key);-1===r&&(r=0);var n=a-r;n&&(z=!0,Y(n))}(e)}))}var S=_(D()),O=[S.key];function C(e){return v+f(e)}function Y(e){a.go(e)}var U=0;function Q(e){1===(U+=e)&&1===e?(window.addEventListener(x,T),i&&window.addEventListener(b,A)):0===U&&(window.removeEventListener(x,T),i&&window.removeEventListener(b,A))}var P=!1,F={length:a.length,action:"POP",location:S,createHref:C,push:function(e,t){var r="PUSH",i=M(e,t,I(),F.location);E.confirmTransitionTo(i,r,p,(function(e){if(e){var t=C(i),s=i.key,o=i.state;if(n)if(a.pushState({key:s,state:o},null,t),l)window.location.href=t;else{var c=O.indexOf(F.location.key),u=O.slice(0,c+1);u.push(i.key),O=u,L({action:r,location:i})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",i=M(e,t,I(),F.location);E.confirmTransitionTo(i,r,p,(function(e){if(e){var t=C(i),s=i.key,o=i.state;if(n)if(a.replaceState({key:s,state:o},null,t),l)window.location.replace(t);else{var c=O.indexOf(F.location.key);-1!==c&&(O[c]=i.key),L({action:r,location:i})}else window.location.replace(t)}}))},go:Y,goBack:function(){Y(-1)},goForward:function(){Y(1)},block:function(e){void 0===e&&(e=!1);var t=E.setPrompt(e);return P||(Q(1),P=!0),function(){return P&&(P=!1,Q(-1)),t()}},listen:function(e){var t=E.appendListener(e);return Q(1),function(){Q(-1),t()}}};return F}var v="hashchange",_={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function I(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function L(e){window.location.replace(I(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),N||(0,c.A)(!1);var t=window.history,a=(window.navigator.userAgent.indexOf("Firefox"),e),n=a.getUserConfirmation,i=void 0===n?w:n,s=a.hashType,o=void 0===s?"slash":s,l=e.basename?g(u(e.basename)):"",d=_[o],p=d.encodePath,h=d.decodePath;function x(){var e=h(E());return l&&(e=m(e,l)),M(e)}var b=y();function D(e){(0,r.A)(P,e),P.length=t.length,b.notifyListeners(P.location,P.action)}var j=!1,T=null;function A(){var e,t,a=E(),r=p(a);if(a!==r)L(r);else{var n=x(),s=P.location;if(!j&&(t=n,(e=s).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===f(n))return;T=null,function(e){if(j)j=!1,D();else{b.confirmTransitionTo(e,"POP",i,(function(t){t?D({action:"POP",location:e}):function(e){var t=P.location,a=O.lastIndexOf(f(t));-1===a&&(a=0);var r=O.lastIndexOf(f(e));-1===r&&(r=0);var n=a-r;n&&(j=!0,C(n))}(e)}))}}(n)}}var z=E(),k=p(z);z!==k&&L(k);var S=x(),O=[f(S)];function C(e){t.go(e)}var Y=0;function U(e){1===(Y+=e)&&1===e?window.addEventListener(v,A):0===Y&&window.removeEventListener(v,A)}var Q=!1,P={length:t.length,action:"POP",location:S,createHref:function(e){var t=document.querySelector("base"),a="";return t&&t.getAttribute("href")&&(a=I(window.location.href)),a+"#"+p(l+f(e))},push:function(e,t){var a="PUSH",r=M(e,void 0,void 0,P.location);b.confirmTransitionTo(r,a,i,(function(e){if(e){var t=f(r),n=p(l+t);if(E()!==n){T=t,function(e){window.location.hash=e}(n);var i=O.lastIndexOf(f(P.location)),s=O.slice(0,i+1);s.push(t),O=s,D({action:a,location:r})}else D()}}))},replace:function(e,t){var a="REPLACE",r=M(e,void 0,void 0,P.location);b.confirmTransitionTo(r,a,i,(function(e){if(e){var t=f(r),n=p(l+t);E()!==n&&(T=t,L(n));var i=O.indexOf(f(P.location));-1!==i&&(O[i]=t),D({action:a,location:r})}}))},go:C,goBack:function(){C(-1)},goForward:function(){C(1)},block:function(e){void 0===e&&(e=!1);var t=b.setPrompt(e);return Q||(U(1),Q=!0),function(){return Q&&(Q=!1,U(-1)),t()}},listen:function(e){var t=b.appendListener(e);return U(1),function(){U(-1),t()}}};return P}function A(e,t,a){return Math.min(Math.max(e,t),a)}function z(e){void 0===e&&(e={});var t=e,a=t.getUserConfirmation,n=t.initialEntries,i=void 0===n?["/"]:n,s=t.initialIndex,o=void 0===s?0:s,l=t.keyLength,c=void 0===l?6:l,u=y();function d(e){(0,r.A)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function m(){return Math.random().toString(36).substr(2,c)}var g=A(o,0,i.length-1),p=i.map((function(e){return M(e,void 0,"string"==typeof e?m():e.key||m())})),h=f;function N(e){var t=A(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",a,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:p.length,action:"POP",location:p[g],index:g,entries:p,createHref:h,push:function(e,t){var r="PUSH",n=M(e,t,m(),w.location);u.confirmTransitionTo(n,r,a,(function(e){if(e){var t=w.index+1,a=w.entries.slice(0);a.length>t?a.splice(t,a.length-t,n):a.push(n),d({action:r,location:n,index:t,entries:a})}}))},replace:function(e,t){var r="REPLACE",n=M(e,t,m(),w.location);u.confirmTransitionTo(n,r,a,(function(e){e&&(w.entries[w.index]=n,d({action:r,location:n}))}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},4146:(e,t,a)=>{"use strict";var r=a(3404),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return r.isMemo(e)?s:o[e.$$typeof]||n}o[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[r.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,a,r){if("string"!=typeof a){if(p){var n=g(a);n&&n!==p&&e(t,n,r)}var s=u(a);d&&(s=s.concat(d(a)));for(var o=l(t),f=l(a),M=0;M<s.length;++M){var h=s[M];if(!(i[h]||r&&r[h]||f&&f[h]||o&&o[h])){var y=m(a,h);try{c(t,h,y)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var a="function"==typeof Symbol&&Symbol.for,r=a?Symbol.for("react.element"):60103,n=a?Symbol.for("react.portal"):60106,i=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,o=a?Symbol.for("react.profiler"):60114,l=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,u=a?Symbol.for("react.async_mode"):60111,d=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,g=a?Symbol.for("react.suspense"):60113,p=a?Symbol.for("react.suspense_list"):60120,f=a?Symbol.for("react.memo"):60115,M=a?Symbol.for("react.lazy"):60116,h=a?Symbol.for("react.block"):60121,y=a?Symbol.for("react.fundamental"):60117,N=a?Symbol.for("react.responder"):60118,w=a?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case o:case s:case g:return e;default:switch(e=e&&e.$$typeof){case c:case m:case M:case f:case l:return e;default:return t}}case n:return t}}}function b(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=m,t.Fragment=i,t.Lazy=M,t.Memo=f,t.Portal=n,t.Profiler=o,t.StrictMode=s,t.Suspense=g,t.isAsyncMode=function(e){return b(e)||x(e)===u},t.isConcurrentMode=b,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===m},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===M},t.isMemo=function(e){return x(e)===f},t.isPortal=function(e){return x(e)===n},t.isProfiler=function(e){return x(e)===o},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===g},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===o||e===s||e===g||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===M||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===m||e.$$typeof===y||e.$$typeof===N||e.$$typeof===w||e.$$typeof===h)},t.typeOf=x},3404:(e,t,a)=>{"use strict";e.exports=a(3072)},5270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},5496:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,a,m=(e=(0,r.escapeSpecialCharacters)(e)).match(o),g=m&&m[1]?m[1].toLowerCase():"";switch(g){case n:var p=d(e);return l.test(e)||null===(t=null==(h=p.querySelector(i))?void 0:h.parentNode)||void 0===t||t.removeChild(h),c.test(e)||null===(a=null==(h=p.querySelector(s))?void 0:h.parentNode)||void 0===a||a.removeChild(h),p.querySelectorAll(n);case i:case s:var M=u(e).querySelectorAll(g);return c.test(e)&&l.test(e)?M[0].parentNode.childNodes:M;default:return f?f(e):(h=u(e,s).querySelector(s)).childNodes;var h}};var r=a(7731),n="html",i="head",s="body",o=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},m="object"==typeof window&&window.DOMParser;if("function"==typeof m){var g=new m;u=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),g.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();u=function(e,t){if(t){var a=p.documentElement.querySelector(t);return a&&(a.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var f,M="object"==typeof document&&document.createElement("template");M&&M.content&&(f=function(e){return M.innerHTML=e,M.content.childNodes})},2471:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),a=t?t[1]:void 0;return(0,i.formatDOM)((0,n.default)(e),null,a)};var n=r(a(5496)),i=a(7731),s=/<(![a-zA-Z\s]+)>/},7731:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(n.CARRIAGE_RETURN_REGEX,n.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=o,t.formatDOM=function e(t,a,n){void 0===a&&(a=null);for(var l,c=[],u=0,d=t.length;u<d;u++){var m=t[u];switch(m.nodeType){case 1:var g=s(m.nodeName);(l=new r.Element(g,i(m.attributes))).children=e("template"===g?m.content.childNodes:m.childNodes,l);break;case 3:l=new r.Text(o(m.nodeValue));break;case 8:l=new r.Comment(m.nodeValue);break;default:continue}var p=c[u-1]||null;p&&(p.next=l),l.parent=a,l.prev=p,l.next=null,c.push(l)}return n&&((l=new r.ProcessingInstruction(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=c[0]||null,l.parent=a,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var r=a(1141),n=a(5270);function i(e){for(var t={},a=0,r=e.length;a<r;a++){var n=e[a];t[n.name]=n.value}return t}function s(e){return function(e){return n.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function o(e){return e.replace(n.CARRIAGE_RETURN_PLACEHOLDER_REGEX,n.CARRIAGE_RETURN)}},2376:function(e,t,a){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var n=a(4340),i=a(3762),s=a(4826),o=r(r({},n.namedReferences),{all:n.namedReferences.html5});function l(e,t,a){t.lastIndex=0;var r,n=t.exec(e);if(n){r="";var i=0;do{i!==n.index&&(r+=e.substring(i,n.index));var s=n[0];r+=a(s),i=n.index+s.length}while(n=t.exec(e));i!==e.length&&(r+=e.substring(i))}else r=e;return r}var c={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var a=void 0===t?u:t,r=a.mode,n=void 0===r?"specialChars":r,i=a.numeric,d=void 0===i?"decimal":i,m=a.level;if(!e)return"";var g=c[n],p=o[void 0===m?"all":m].characters,f="hexadecimal"===d;return l(e,g,(function(e){var t=p[e];if(!t){var a=e.length>1?s.getCodePoint(e,0):e.charCodeAt(0);t=(f?"&#x"+a.toString(16):"&#"+a)+";"}return t}))};var d={scope:"body",level:"all"},m=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,g=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,p={xml:{strict:m,attribute:g,body:n.bodyRegExps.xml},html4:{strict:m,attribute:g,body:n.bodyRegExps.html4},html5:{strict:m,attribute:g,body:n.bodyRegExps.html5}},f=r(r({},p),{all:p.html5}),M=String.fromCharCode,h=M(65533),y={level:"all"};function N(e,t,a,r){var n=e,o=e[e.length-1];if(a&&"="===o)n=e;else if(r&&";"!==o)n=e;else{var l=t[e];if(l)n=l;else if("&"===e[0]&&"#"===e[1]){var c=e[2],u="x"==c||"X"==c?parseInt(e.substr(3),16):parseInt(e.substr(2));n=u>=1114111?h:u>65535?s.fromCodePoint(u):M(i.numericUnicodeMap[u]||u)}}return n}t.decodeEntity=function(e,t){var a=(void 0===t?y:t).level;return e?N(e,o[void 0===a?"all":a].entities,!1,!1):""},t.decode=function(e,t){var a=void 0===t?d:t,r=a.level,n=void 0===r?"all":r,i=a.scope,s=void 0===i?"xml"===n?"strict":"body":i;if(!e)return"";var c=f[n][s],u=o[n].entities,m="attribute"===s,g="strict"===s;return l(e,c,(function(e){return N(e,u,m,g)}))}},4340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":" ","&nbsp;":" ","&iexcl":"¡","&iexcl;":"¡","&cent":"¢","&cent;":"¢","&pound":"£","&pound;":"£","&curren":"¤","&curren;":"¤","&yen":"¥","&yen;":"¥","&brvbar":"¦","&brvbar;":"¦","&sect":"§","&sect;":"§","&uml":"¨","&uml;":"¨","&copy":"©","&copy;":"©","&ordf":"ª","&ordf;":"ª","&laquo":"«","&laquo;":"«","&not":"¬","&not;":"¬","&shy":"­","&shy;":"­","&reg":"®","&reg;":"®","&macr":"¯","&macr;":"¯","&deg":"°","&deg;":"°","&plusmn":"±","&plusmn;":"±","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&acute":"´","&acute;":"´","&micro":"µ","&micro;":"µ","&para":"¶","&para;":"¶","&middot":"·","&middot;":"·","&cedil":"¸","&cedil;":"¸","&sup1":"¹","&sup1;":"¹","&ordm":"º","&ordm;":"º","&raquo":"»","&raquo;":"»","&frac14":"¼","&frac14;":"¼","&frac12":"½","&frac12;":"½","&frac34":"¾","&frac34;":"¾","&iquest":"¿","&iquest;":"¿","&Agrave":"À","&Agrave;":"À","&Aacute":"Á","&Aacute;":"Á","&Acirc":"Â","&Acirc;":"Â","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Aring":"Å","&Aring;":"Å","&AElig":"Æ","&AElig;":"Æ","&Ccedil":"Ç","&Ccedil;":"Ç","&Egrave":"È","&Egrave;":"È","&Eacute":"É","&Eacute;":"É","&Ecirc":"Ê","&Ecirc;":"Ê","&Euml":"Ë","&Euml;":"Ë","&Igrave":"Ì","&Igrave;":"Ì","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Iuml":"Ï","&Iuml;":"Ï","&ETH":"Ð","&ETH;":"Ð","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Ograve":"Ò","&Ograve;":"Ò","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Otilde":"Õ","&Otilde;":"Õ","&Ouml":"Ö","&Ouml;":"Ö","&times":"×","&times;":"×","&Oslash":"Ø","&Oslash;":"Ø","&Ugrave":"Ù","&Ugrave;":"Ù","&Uacute":"Ú","&Uacute;":"Ú","&Ucirc":"Û","&Ucirc;":"Û","&Uuml":"Ü","&Uuml;":"Ü","&Yacute":"Ý","&Yacute;":"Ý","&THORN":"Þ","&THORN;":"Þ","&szlig":"ß","&szlig;":"ß","&agrave":"à","&agrave;":"à","&aacute":"á","&aacute;":"á","&acirc":"â","&acirc;":"â","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&aring":"å","&aring;":"å","&aelig":"æ","&aelig;":"æ","&ccedil":"ç","&ccedil;":"ç","&egrave":"è","&egrave;":"è","&eacute":"é","&eacute;":"é","&ecirc":"ê","&ecirc;":"ê","&euml":"ë","&euml;":"ë","&igrave":"ì","&igrave;":"ì","&iacute":"í","&iacute;":"í","&icirc":"î","&icirc;":"î","&iuml":"ï","&iuml;":"ï","&eth":"ð","&eth;":"ð","&ntilde":"ñ","&ntilde;":"ñ","&ograve":"ò","&ograve;":"ò","&oacute":"ó","&oacute;":"ó","&ocirc":"ô","&ocirc;":"ô","&otilde":"õ","&otilde;":"õ","&ouml":"ö","&ouml;":"ö","&divide":"÷","&divide;":"÷","&oslash":"ø","&oslash;":"ø","&ugrave":"ù","&ugrave;":"ù","&uacute":"ú","&uacute;":"ú","&ucirc":"û","&ucirc;":"û","&uuml":"ü","&uuml;":"ü","&yacute":"ý","&yacute;":"ý","&thorn":"þ","&thorn;":"þ","&yuml":"ÿ","&yuml;":"ÿ","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},characters:{"'":"&apos;"," ":"&nbsp;","¡":"&iexcl;","¢":"&cent;","£":"&pound;","¤":"&curren;","¥":"&yen;","¦":"&brvbar;","§":"&sect;","¨":"&uml;","©":"&copy;",ª:"&ordf;","«":"&laquo;","¬":"&not;","­":"&shy;","®":"&reg;","¯":"&macr;","°":"&deg;","±":"&plusmn;","²":"&sup2;","³":"&sup3;","´":"&acute;",µ:"&micro;","¶":"&para;","·":"&middot;","¸":"&cedil;","¹":"&sup1;",º:"&ordm;","»":"&raquo;","¼":"&frac14;","½":"&frac12;","¾":"&frac34;","¿":"&iquest;",À:"&Agrave;",Á:"&Aacute;",Â:"&Acirc;",Ã:"&Atilde;",Ä:"&Auml;",Å:"&Aring;",Æ:"&AElig;",Ç:"&Ccedil;",È:"&Egrave;",É:"&Eacute;",Ê:"&Ecirc;",Ë:"&Euml;",Ì:"&Igrave;",Í:"&Iacute;",Î:"&Icirc;",Ï:"&Iuml;",Ð:"&ETH;",Ñ:"&Ntilde;",Ò:"&Ograve;",Ó:"&Oacute;",Ô:"&Ocirc;",Õ:"&Otilde;",Ö:"&Ouml;","×":"&times;",Ø:"&Oslash;",Ù:"&Ugrave;",Ú:"&Uacute;",Û:"&Ucirc;",Ü:"&Uuml;",Ý:"&Yacute;",Þ:"&THORN;",ß:"&szlig;",à:"&agrave;",á:"&aacute;",â:"&acirc;",ã:"&atilde;",ä:"&auml;",å:"&aring;",æ:"&aelig;",ç:"&ccedil;",è:"&egrave;",é:"&eacute;",ê:"&ecirc;",ë:"&euml;",ì:"&igrave;",í:"&iacute;",î:"&icirc;",ï:"&iuml;",ð:"&eth;",ñ:"&ntilde;",ò:"&ograve;",ó:"&oacute;",ô:"&ocirc;",õ:"&otilde;",ö:"&ouml;","÷":"&divide;",ø:"&oslash;",ù:"&ugrave;",ú:"&uacute;",û:"&ucirc;",ü:"&uuml;",ý:"&yacute;",þ:"&thorn;",ÿ:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",Œ:"&OElig;",œ:"&oelig;",Š:"&Scaron;",š:"&scaron;",Ÿ:"&Yuml;",ˆ:"&circ;","˜":"&tilde;"," ":"&ensp;"," ":"&emsp;"," ":"&thinsp;","‌":"&zwnj;","‍":"&zwj;","‎":"&lrm;","‏":"&rlm;","–":"&ndash;","—":"&mdash;","‘":"&lsquo;","’":"&rsquo;","‚":"&sbquo;","“":"&ldquo;","”":"&rdquo;","„":"&bdquo;","†":"&dagger;","‡":"&Dagger;","‰":"&permil;","‹":"&lsaquo;","›":"&rsaquo;","€":"&euro;",ƒ:"&fnof;",Α:"&Alpha;",Β:"&Beta;",Γ:"&Gamma;",Δ:"&Delta;",Ε:"&Epsilon;",Ζ:"&Zeta;",Η:"&Eta;",Θ:"&Theta;",Ι:"&Iota;",Κ:"&Kappa;",Λ:"&Lambda;",Μ:"&Mu;",Ν:"&Nu;",Ξ:"&Xi;",Ο:"&Omicron;",Π:"&Pi;",Ρ:"&Rho;",Σ:"&Sigma;",Τ:"&Tau;",Υ:"&Upsilon;",Φ:"&Phi;",Χ:"&Chi;",Ψ:"&Psi;",Ω:"&Omega;",α:"&alpha;",β:"&beta;",γ:"&gamma;",δ:"&delta;",ε:"&epsilon;",ζ:"&zeta;",η:"&eta;",θ:"&theta;",ι:"&iota;",κ:"&kappa;",λ:"&lambda;",μ:"&mu;",ν:"&nu;",ξ:"&xi;",ο:"&omicron;",π:"&pi;",ρ:"&rho;",ς:"&sigmaf;",σ:"&sigma;",τ:"&tau;",υ:"&upsilon;",φ:"&phi;",χ:"&chi;",ψ:"&psi;",ω:"&omega;",ϑ:"&thetasym;",ϒ:"&upsih;",ϖ:"&piv;","•":"&bull;","…":"&hellip;","′":"&prime;","″":"&Prime;","‾":"&oline;","⁄":"&frasl;",℘:"&weierp;",ℑ:"&image;",ℜ:"&real;","™":"&trade;",ℵ:"&alefsym;","←":"&larr;","↑":"&uarr;","→":"&rarr;","↓":"&darr;","↔":"&harr;","↵":"&crarr;","⇐":"&lArr;","⇑":"&uArr;","⇒":"&rArr;","⇓":"&dArr;","⇔":"&hArr;","∀":"&forall;","∂":"&part;","∃":"&exist;","∅":"&empty;","∇":"&nabla;","∈":"&isin;","∉":"&notin;","∋":"&ni;","∏":"&prod;","∑":"&sum;","−":"&minus;","∗":"&lowast;","√":"&radic;","∝":"&prop;","∞":"&infin;","∠":"&ang;","∧":"&and;","∨":"&or;","∩":"&cap;","∪":"&cup;","∫":"&int;","∴":"&there4;","∼":"&sim;","≅":"&cong;","≈":"&asymp;","≠":"&ne;","≡":"&equiv;","≤":"&le;","≥":"&ge;","⊂":"&sub;","⊃":"&sup;","⊄":"&nsub;","⊆":"&sube;","⊇":"&supe;","⊕":"&oplus;","⊗":"&otimes;","⊥":"&perp;","⋅":"&sdot;","⌈":"&lceil;","⌉":"&rceil;","⌊":"&lfloor;","⌋":"&rfloor;","〈":"&lang;","〉":"&rang;","◊":"&loz;","♠":"&spades;","♣":"&clubs;","♥":"&hearts;","♦":"&diams;"}},html5:{entities:{"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":"\n","&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":"\t","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&bfr;":"𝔟","&bigcap;":"⋂","&bigcirc;":"◯","&bigcup;":"⋃","&bigodot;":"⨀","&bigoplus;":"⨁","&bigotimes;":"⨂","&bigsqcup;":"⨆","&bigstar;":"★","&bigtriangledown;":"▽","&bigtriangleup;":"△","&biguplus;":"⨄","&bigvee;":"⋁","&bigwedge;":"⋀","&bkarow;":"⤍","&blacklozenge;":"⧫","&blacksquare;":"▪","&blacktriangle;":"▴","&blacktriangledown;":"▾","&blacktriangleleft;":"◂","&blacktriangleright;":"▸","&blank;":"␣","&blk12;":"▒","&blk14;":"░","&blk34;":"▓","&block;":"█","&bne;":"=⃥","&bnequiv;":"≡⃥","&bnot;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&nscr;":"𝓃","&nshortmid;":"∤","&nshortparallel;":"∦","&nsim;":"≁","&nsime;":"≄","&nsimeq;":"≄","&nsmid;":"∤","&nspar;":"∦","&nsqsube;":"⋢","&nsqsupe;":"⋣","&nsub;":"⊄","&nsubE;":"⫅̸","&nsube;":"⊈","&nsubset;":"⊂⃒","&nsubseteq;":"⊈","&nsubseteqq;":"⫅̸","&nsucc;":"⊁","&nsucceq;":"⪰̸","&nsup;":"⊅","&nsupE;":"⫆̸","&nsupe;":"⊉","&nsupset;":"⊃⃒","&nsupseteq;":"⊉","&nsupseteqq;":"⫆̸","&ntgl;":"≹","&ntilde":"ñ","&ntilde;":"ñ","&ntlg;":"≸","&ntriangleleft;":"⋪","&ntrianglelefteq;":"⋬","&ntriangleright;":"⋫","&ntrianglerighteq;":"⋭","&nu;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},characters:{Æ:"&AElig;","&":"&amp;",Á:"&Aacute;",Ă:"&Abreve;",Â:"&Acirc;",А:"&Acy;",𝔄:"&Afr;",À:"&Agrave;",Α:"&Alpha;",Ā:"&Amacr;","⩓":"&And;",Ą:"&Aogon;",𝔸:"&Aopf;","⁡":"&af;",Å:"&angst;",𝒜:"&Ascr;","≔":"&coloneq;",Ã:"&Atilde;",Ä:"&Auml;","∖":"&ssetmn;","⫧":"&Barv;","⌆":"&doublebarwedge;",Б:"&Bcy;","∵":"&because;",ℬ:"&bernou;",Β:"&Beta;",𝔅:"&Bfr;",𝔹:"&Bopf;","˘":"&breve;","≎":"&bump;",Ч:"&CHcy;","©":"&copy;",Ć:"&Cacute;","⋒":"&Cap;",ⅅ:"&DD;",ℭ:"&Cfr;",Č:"&Ccaron;",Ç:"&Ccedil;",Ĉ:"&Ccirc;","∰":"&Cconint;",Ċ:"&Cdot;","¸":"&cedil;","·":"&middot;",Χ:"&Chi;","⊙":"&odot;","⊖":"&ominus;","⊕":"&oplus;","⊗":"&otimes;","∲":"&cwconint;","”":"&rdquor;","’":"&rsquor;","∷":"&Proportion;","⩴":"&Colone;","≡":"&equiv;","∯":"&DoubleContourIntegral;","∮":"&oint;",ℂ:"&complexes;","∐":"&coprod;","∳":"&awconint;","⨯":"&Cross;",𝒞:"&Cscr;","⋓":"&Cup;","≍":"&asympeq;","⤑":"&DDotrahd;",Ђ:"&DJcy;",Ѕ:"&DScy;",Џ:"&DZcy;","‡":"&ddagger;","↡":"&Darr;","⫤":"&DoubleLeftTee;",Ď:"&Dcaron;",Д:"&Dcy;","∇":"&nabla;",Δ:"&Delta;",𝔇:"&Dfr;","´":"&acute;","˙":"&dot;","˝":"&dblac;","`":"&grave;","˜":"&tilde;","⋄":"&diamond;",ⅆ:"&dd;",𝔻:"&Dopf;","¨":"&uml;","⃜":"&DotDot;","≐":"&esdot;","⇓":"&dArr;","⇐":"&lArr;","⇔":"&iff;","⟸":"&xlArr;","⟺":"&xhArr;","⟹":"&xrArr;","⇒":"&rArr;","⊨":"&vDash;","⇑":"&uArr;","⇕":"&vArr;","∥":"&spar;","↓":"&downarrow;","⤓":"&DownArrowBar;","⇵":"&duarr;","̑":"&DownBreve;","⥐":"&DownLeftRightVector;","⥞":"&DownLeftTeeVector;","↽":"&lhard;","⥖":"&DownLeftVectorBar;","⥟":"&DownRightTeeVector;","⇁":"&rightharpoondown;","⥗":"&DownRightVectorBar;","⊤":"&top;","↧":"&mapstodown;",𝒟:"&Dscr;",Đ:"&Dstrok;",Ŋ:"&ENG;",Ð:"&ETH;",É:"&Eacute;",Ě:"&Ecaron;",Ê:"&Ecirc;",Э:"&Ecy;",Ė:"&Edot;",𝔈:"&Efr;",È:"&Egrave;","∈":"&isinv;",Ē:"&Emacr;","◻":"&EmptySmallSquare;","▫":"&EmptyVerySmallSquare;",Ę:"&Eogon;",𝔼:"&Eopf;",Ε:"&Epsilon;","⩵":"&Equal;","≂":"&esim;","⇌":"&rlhar;",ℰ:"&expectation;","⩳":"&Esim;",Η:"&Eta;",Ë:"&Euml;","∃":"&exist;",ⅇ:"&exponentiale;",Ф:"&Fcy;",𝔉:"&Ffr;","◼":"&FilledSmallSquare;","▪":"&squf;",𝔽:"&Fopf;","∀":"&forall;",ℱ:"&Fscr;",Ѓ:"&GJcy;",">":"&gt;",Γ:"&Gamma;",Ϝ:"&Gammad;",Ğ:"&Gbreve;",Ģ:"&Gcedil;",Ĝ:"&Gcirc;",Г:"&Gcy;",Ġ:"&Gdot;",𝔊:"&Gfr;","⋙":"&ggg;",𝔾:"&Gopf;","≥":"&geq;","⋛":"&gtreqless;","≧":"&geqq;","⪢":"&GreaterGreater;","≷":"&gtrless;","⩾":"&ges;","≳":"&gtrsim;",𝒢:"&Gscr;","≫":"&gg;",Ъ:"&HARDcy;",ˇ:"&caron;","^":"&Hat;",Ĥ:"&Hcirc;",ℌ:"&Poincareplane;",ℋ:"&hamilt;",ℍ:"&quaternions;","─":"&boxh;",Ħ:"&Hstrok;","≏":"&bumpeq;",Е:"&IEcy;",IJ:"&IJlig;",Ё:"&IOcy;",Í:"&Iacute;",Î:"&Icirc;",И:"&Icy;",İ:"&Idot;",ℑ:"&imagpart;",Ì:"&Igrave;",Ī:"&Imacr;",ⅈ:"&ii;","∬":"&Int;","∫":"&int;","⋂":"&xcap;","⁣":"&ic;","⁢":"&it;",Į:"&Iogon;",𝕀:"&Iopf;",Ι:"&Iota;",ℐ:"&imagline;",Ĩ:"&Itilde;",І:"&Iukcy;",Ï:"&Iuml;",Ĵ:"&Jcirc;",Й:"&Jcy;",𝔍:"&Jfr;",𝕁:"&Jopf;",𝒥:"&Jscr;",Ј:"&Jsercy;",Є:"&Jukcy;",Х:"&KHcy;",Ќ:"&KJcy;",Κ:"&Kappa;",Ķ:"&Kcedil;",К:"&Kcy;",𝔎:"&Kfr;",𝕂:"&Kopf;",𝒦:"&Kscr;",Љ:"&LJcy;","<":"&lt;",Ĺ:"&Lacute;",Λ:"&Lambda;","⟪":"&Lang;",ℒ:"&lagran;","↞":"&twoheadleftarrow;",Ľ:"&Lcaron;",Ļ:"&Lcedil;",Л:"&Lcy;","⟨":"&langle;","←":"&slarr;","⇤":"&larrb;","⇆":"&lrarr;","⌈":"&lceil;","⟦":"&lobrk;","⥡":"&LeftDownTeeVector;","⇃":"&downharpoonleft;","⥙":"&LeftDownVectorBar;","⌊":"&lfloor;","↔":"&leftrightarrow;","⥎":"&LeftRightVector;","⊣":"&dashv;","↤":"&mapstoleft;","⥚":"&LeftTeeVector;","⊲":"&vltri;","⧏":"&LeftTriangleBar;","⊴":"&trianglelefteq;","⥑":"&LeftUpDownVector;","⥠":"&LeftUpTeeVector;","↿":"&upharpoonleft;","⥘":"&LeftUpVectorBar;","↼":"&lharu;","⥒":"&LeftVectorBar;","⋚":"&lesseqgtr;","≦":"&leqq;","≶":"&lg;","⪡":"&LessLess;","⩽":"&les;","≲":"&lsim;",𝔏:"&Lfr;","⋘":"&Ll;","⇚":"&lAarr;",Ŀ:"&Lmidot;","⟵":"&xlarr;","⟷":"&xharr;","⟶":"&xrarr;",𝕃:"&Lopf;","↙":"&swarrow;","↘":"&searrow;","↰":"&lsh;",Ł:"&Lstrok;","≪":"&ll;","⤅":"&Map;",М:"&Mcy;"," ":"&MediumSpace;",ℳ:"&phmmat;",𝔐:"&Mfr;","∓":"&mp;",𝕄:"&Mopf;",Μ:"&Mu;",Њ:"&NJcy;",Ń:"&Nacute;",Ň:"&Ncaron;",Ņ:"&Ncedil;",Н:"&Ncy;","​":"&ZeroWidthSpace;","\n":"&NewLine;",𝔑:"&Nfr;","⁠":"&NoBreak;"," ":"&nbsp;",ℕ:"&naturals;","⫬":"&Not;","≢":"&nequiv;","≭":"&NotCupCap;","∦":"&nspar;","∉":"&notinva;","≠":"&ne;","≂̸":"&nesim;","∄":"&nexists;","≯":"&ngtr;","≱":"&ngeq;","≧̸":"&ngeqq;","≫̸":"&nGtv;","≹":"&ntgl;","⩾̸":"&nges;","≵":"&ngsim;","≎̸":"&nbump;","≏̸":"&nbumpe;","⋪":"&ntriangleleft;","⧏̸":"&NotLeftTriangleBar;","⋬":"&ntrianglelefteq;","≮":"&nlt;","≰":"&nleq;","≸":"&ntlg;","≪̸":"&nLtv;","⩽̸":"&nles;","≴":"&nlsim;","⪢̸":"&NotNestedGreaterGreater;","⪡̸":"&NotNestedLessLess;","⊀":"&nprec;","⪯̸":"&npreceq;","⋠":"&nprcue;","∌":"&notniva;","⋫":"&ntriangleright;","⧐̸":"&NotRightTriangleBar;","⋭":"&ntrianglerighteq;","⊏̸":"&NotSquareSubset;","⋢":"&nsqsube;","⊐̸":"&NotSquareSuperset;","⋣":"&nsqsupe;","⊂⃒":"&vnsub;","⊈":"&nsubseteq;","⊁":"&nsucc;","⪰̸":"&nsucceq;","⋡":"&nsccue;","≿̸":"&NotSucceedsTilde;","⊃⃒":"&vnsup;","⊉":"&nsupseteq;","≁":"&nsim;","≄":"&nsimeq;","≇":"&ncong;","≉":"&napprox;","∤":"&nsmid;",𝒩:"&Nscr;",Ñ:"&Ntilde;",Ν:"&Nu;",Œ:"&OElig;",Ó:"&Oacute;",Ô:"&Ocirc;",О:"&Ocy;",Ő:"&Odblac;",𝔒:"&Ofr;",Ò:"&Ograve;",Ō:"&Omacr;",Ω:"&ohm;",Ο:"&Omicron;",𝕆:"&Oopf;","“":"&ldquo;","‘":"&lsquo;","⩔":"&Or;",𝒪:"&Oscr;",Ø:"&Oslash;",Õ:"&Otilde;","⨷":"&Otimes;",Ö:"&Ouml;","‾":"&oline;","⏞":"&OverBrace;","⎴":"&tbrk;","⏜":"&OverParenthesis;","∂":"&part;",П:"&Pcy;",𝔓:"&Pfr;",Φ:"&Phi;",Π:"&Pi;","±":"&pm;",ℙ:"&primes;","⪻":"&Pr;","≺":"&prec;","⪯":"&preceq;","≼":"&preccurlyeq;","≾":"&prsim;","″":"&Prime;","∏":"&prod;","∝":"&vprop;",𝒫:"&Pscr;",Ψ:"&Psi;",'"':"&quot;",𝔔:"&Qfr;",ℚ:"&rationals;",𝒬:"&Qscr;","⤐":"&drbkarow;","®":"&reg;",Ŕ:"&Racute;","⟫":"&Rang;","↠":"&twoheadrightarrow;","⤖":"&Rarrtl;",Ř:"&Rcaron;",Ŗ:"&Rcedil;",Р:"&Rcy;",ℜ:"&realpart;","∋":"&niv;","⇋":"&lrhar;","⥯":"&duhar;",Ρ:"&Rho;","⟩":"&rangle;","→":"&srarr;","⇥":"&rarrb;","⇄":"&rlarr;","⌉":"&rceil;","⟧":"&robrk;","⥝":"&RightDownTeeVector;","⇂":"&downharpoonright;","⥕":"&RightDownVectorBar;","⌋":"&rfloor;","⊢":"&vdash;","↦":"&mapsto;","⥛":"&RightTeeVector;","⊳":"&vrtri;","⧐":"&RightTriangleBar;","⊵":"&trianglerighteq;","⥏":"&RightUpDownVector;","⥜":"&RightUpTeeVector;","↾":"&upharpoonright;","⥔":"&RightUpVectorBar;","⇀":"&rightharpoonup;","⥓":"&RightVectorBar;",ℝ:"&reals;","⥰":"&RoundImplies;","⇛":"&rAarr;",ℛ:"&realine;","↱":"&rsh;","⧴":"&RuleDelayed;",Щ:"&SHCHcy;",Ш:"&SHcy;",Ь:"&SOFTcy;",Ś:"&Sacute;","⪼":"&Sc;",Š:"&Scaron;",Ş:"&Scedil;",Ŝ:"&Scirc;",С:"&Scy;",𝔖:"&Sfr;","↑":"&uparrow;",Σ:"&Sigma;","∘":"&compfn;",𝕊:"&Sopf;","√":"&radic;","□":"&square;","⊓":"&sqcap;","⊏":"&sqsubset;","⊑":"&sqsubseteq;","⊐":"&sqsupset;","⊒":"&sqsupseteq;","⊔":"&sqcup;",𝒮:"&Sscr;","⋆":"&sstarf;","⋐":"&Subset;","⊆":"&subseteq;","≻":"&succ;","⪰":"&succeq;","≽":"&succcurlyeq;","≿":"&succsim;","∑":"&sum;","⋑":"&Supset;","⊃":"&supset;","⊇":"&supseteq;",Þ:"&THORN;","™":"&trade;",Ћ:"&TSHcy;",Ц:"&TScy;","\t":"&Tab;",Τ:"&Tau;",Ť:"&Tcaron;",Ţ:"&Tcedil;",Т:"&Tcy;",𝔗:"&Tfr;","∴":"&therefore;",Θ:"&Theta;","  ":"&ThickSpace;"," ":"&thinsp;","∼":"&thksim;","≃":"&simeq;","≅":"&cong;","≈":"&thkap;",𝕋:"&Topf;","⃛":"&tdot;",𝒯:"&Tscr;",Ŧ:"&Tstrok;",Ú:"&Uacute;","↟":"&Uarr;","⥉":"&Uarrocir;",Ў:"&Ubrcy;",Ŭ:"&Ubreve;",Û:"&Ucirc;",У:"&Ucy;",Ű:"&Udblac;",𝔘:"&Ufr;",Ù:"&Ugrave;",Ū:"&Umacr;",_:"&lowbar;","⏟":"&UnderBrace;","⎵":"&bbrk;","⏝":"&UnderParenthesis;","⋃":"&xcup;","⊎":"&uplus;",Ų:"&Uogon;",𝕌:"&Uopf;","⤒":"&UpArrowBar;","⇅":"&udarr;","↕":"&varr;","⥮":"&udhar;","⊥":"&perp;","↥":"&mapstoup;","↖":"&nwarrow;","↗":"&nearrow;",ϒ:"&upsih;",Υ:"&Upsilon;",Ů:"&Uring;",𝒰:"&Uscr;",Ũ:"&Utilde;",Ü:"&Uuml;","⊫":"&VDash;","⫫":"&Vbar;",В:"&Vcy;","⊩":"&Vdash;","⫦":"&Vdashl;","⋁":"&xvee;","‖":"&Vert;","∣":"&smid;","|":"&vert;","❘":"&VerticalSeparator;","≀":"&wreath;"," ":"&hairsp;",𝔙:"&Vfr;",𝕍:"&Vopf;",𝒱:"&Vscr;","⊪":"&Vvdash;",Ŵ:"&Wcirc;","⋀":"&xwedge;",𝔚:"&Wfr;",𝕎:"&Wopf;",𝒲:"&Wscr;",𝔛:"&Xfr;",Ξ:"&Xi;",𝕏:"&Xopf;",𝒳:"&Xscr;",Я:"&YAcy;",Ї:"&YIcy;",Ю:"&YUcy;",Ý:"&Yacute;",Ŷ:"&Ycirc;",Ы:"&Ycy;",𝔜:"&Yfr;",𝕐:"&Yopf;",𝒴:"&Yscr;",Ÿ:"&Yuml;",Ж:"&ZHcy;",Ź:"&Zacute;",Ž:"&Zcaron;",З:"&Zcy;",Ż:"&Zdot;",Ζ:"&Zeta;",ℨ:"&zeetrf;",ℤ:"&integers;",𝒵:"&Zscr;",á:"&aacute;",ă:"&abreve;","∾":"&mstpos;","∾̳":"&acE;","∿":"&acd;",â:"&acirc;",а:"&acy;",æ:"&aelig;",𝔞:"&afr;",à:"&agrave;",ℵ:"&aleph;",α:"&alpha;",ā:"&amacr;","⨿":"&amalg;","∧":"&wedge;","⩕":"&andand;","⩜":"&andd;","⩘":"&andslope;","⩚":"&andv;","∠":"&angle;","⦤":"&ange;","∡":"&measuredangle;","⦨":"&angmsdaa;","⦩":"&angmsdab;","⦪":"&angmsdac;","⦫":"&angmsdad;","⦬":"&angmsdae;","⦭":"&angmsdaf;","⦮":"&angmsdag;","⦯":"&angmsdah;","∟":"&angrt;","⊾":"&angrtvb;","⦝":"&angrtvbd;","∢":"&angsph;","⍼":"&angzarr;",ą:"&aogon;",𝕒:"&aopf;","⩰":"&apE;","⩯":"&apacir;","≊":"&approxeq;","≋":"&apid;","'":"&apos;",å:"&aring;",𝒶:"&ascr;","*":"&midast;",ã:"&atilde;",ä:"&auml;","⨑":"&awint;","⫭":"&bNot;","≌":"&bcong;","϶":"&bepsi;","‵":"&bprime;","∽":"&bsim;","⋍":"&bsime;","⊽":"&barvee;","⌅":"&barwedge;","⎶":"&bbrktbrk;",б:"&bcy;","„":"&ldquor;","⦰":"&bemptyv;",β:"&beta;",ℶ:"&beth;","≬":"&twixt;",𝔟:"&bfr;","◯":"&xcirc;","⨀":"&xodot;","⨁":"&xoplus;","⨂":"&xotime;","⨆":"&xsqcup;","★":"&starf;","▽":"&xdtri;","△":"&xutri;","⨄":"&xuplus;","⤍":"&rbarr;","⧫":"&lozf;","▴":"&utrif;","▾":"&dtrif;","◂":"&ltrif;","▸":"&rtrif;","␣":"&blank;","▒":"&blk12;","░":"&blk14;","▓":"&blk34;","█":"&block;","=⃥":"&bne;","≡⃥":"&bnequiv;","⌐":"&bnot;",𝕓:"&bopf;","⋈":"&bowtie;","╗":"&boxDL;","╔":"&boxDR;","╖":"&boxDl;","╓":"&boxDr;","═":"&boxH;","╦":"&boxHD;","╩":"&boxHU;","╤":"&boxHd;","╧":"&boxHu;","╝":"&boxUL;","╚":"&boxUR;","╜":"&boxUl;","╙":"&boxUr;","║":"&boxV;","╬":"&boxVH;","╣":"&boxVL;","╠":"&boxVR;","╫":"&boxVh;","╢":"&boxVl;","╟":"&boxVr;","⧉":"&boxbox;","╕":"&boxdL;","╒":"&boxdR;","┐":"&boxdl;","┌":"&boxdr;","╥":"&boxhD;","╨":"&boxhU;","┬":"&boxhd;","┴":"&boxhu;","⊟":"&minusb;","⊞":"&plusb;","⊠":"&timesb;","╛":"&boxuL;","╘":"&boxuR;","┘":"&boxul;","└":"&boxur;","│":"&boxv;","╪":"&boxvH;","╡":"&boxvL;","╞":"&boxvR;","┼":"&boxvh;","┤":"&boxvl;","├":"&boxvr;","¦":"&brvbar;",𝒷:"&bscr;","⁏":"&bsemi;","\\":"&bsol;","⧅":"&bsolb;","⟈":"&bsolhsub;","•":"&bullet;","⪮":"&bumpE;",ć:"&cacute;","∩":"&cap;","⩄":"&capand;","⩉":"&capbrcup;","⩋":"&capcap;","⩇":"&capcup;","⩀":"&capdot;","∩︀":"&caps;","⁁":"&caret;","⩍":"&ccaps;",č:"&ccaron;",ç:"&ccedil;",ĉ:"&ccirc;","⩌":"&ccups;","⩐":"&ccupssm;",ċ:"&cdot;","⦲":"&cemptyv;","¢":"&cent;",𝔠:"&cfr;",ч:"&chcy;","✓":"&checkmark;",χ:"&chi;","○":"&cir;","⧃":"&cirE;",ˆ:"&circ;","≗":"&cire;","↺":"&olarr;","↻":"&orarr;","Ⓢ":"&oS;","⊛":"&oast;","⊚":"&ocir;","⊝":"&odash;","⨐":"&cirfnint;","⫯":"&cirmid;","⧂":"&cirscir;","♣":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","∁":"&complement;","⩭":"&congdot;",𝕔:"&copf;","℗":"&copysr;","↵":"&crarr;","✗":"&cross;",𝒸:"&cscr;","⫏":"&csub;","⫑":"&csube;","⫐":"&csup;","⫒":"&csupe;","⋯":"&ctdot;","⤸":"&cudarrl;","⤵":"&cudarrr;","⋞":"&curlyeqprec;","⋟":"&curlyeqsucc;","↶":"&curvearrowleft;","⤽":"&cularrp;","∪":"&cup;","⩈":"&cupbrcap;","⩆":"&cupcap;","⩊":"&cupcup;","⊍":"&cupdot;","⩅":"&cupor;","∪︀":"&cups;","↷":"&curvearrowright;","⤼":"&curarrm;","⋎":"&cuvee;","⋏":"&cuwed;","¤":"&curren;","∱":"&cwint;","⌭":"&cylcty;","⥥":"&dHar;","†":"&dagger;",ℸ:"&daleth;","‐":"&hyphen;","⤏":"&rBarr;",ď:"&dcaron;",д:"&dcy;","⇊":"&downdownarrows;","⩷":"&eDDot;","°":"&deg;",δ:"&delta;","⦱":"&demptyv;","⥿":"&dfisht;",𝔡:"&dfr;","♦":"&diams;",ϝ:"&gammad;","⋲":"&disin;","÷":"&divide;","⋇":"&divonx;",ђ:"&djcy;","⌞":"&llcorner;","⌍":"&dlcrop;",$:"&dollar;",𝕕:"&dopf;","≑":"&eDot;","∸":"&minusd;","∔":"&plusdo;","⊡":"&sdotb;","⌟":"&lrcorner;","⌌":"&drcrop;",𝒹:"&dscr;",ѕ:"&dscy;","⧶":"&dsol;",đ:"&dstrok;","⋱":"&dtdot;","▿":"&triangledown;","⦦":"&dwangle;",џ:"&dzcy;","⟿":"&dzigrarr;",é:"&eacute;","⩮":"&easter;",ě:"&ecaron;","≖":"&eqcirc;",ê:"&ecirc;","≕":"&eqcolon;",э:"&ecy;",ė:"&edot;","≒":"&fallingdotseq;",𝔢:"&efr;","⪚":"&eg;",è:"&egrave;","⪖":"&eqslantgtr;","⪘":"&egsdot;","⪙":"&el;","⏧":"&elinters;",ℓ:"&ell;","⪕":"&eqslantless;","⪗":"&elsdot;",ē:"&emacr;","∅":"&varnothing;"," ":"&emsp13;"," ":"&emsp14;"," ":"&emsp;",ŋ:"&eng;"," ":"&ensp;",ę:"&eogon;",𝕖:"&eopf;","⋕":"&epar;","⧣":"&eparsl;","⩱":"&eplus;",ε:"&epsilon;",ϵ:"&varepsilon;","=":"&equals;","≟":"&questeq;","⩸":"&equivDD;","⧥":"&eqvparsl;","≓":"&risingdotseq;","⥱":"&erarr;",ℯ:"&escr;",η:"&eta;",ð:"&eth;",ë:"&euml;","€":"&euro;","!":"&excl;",ф:"&fcy;","♀":"&female;",ffi:"&ffilig;",ff:"&fflig;",ffl:"&ffllig;",𝔣:"&ffr;",fi:"&filig;",fj:"&fjlig;","♭":"&flat;",fl:"&fllig;","▱":"&fltns;",ƒ:"&fnof;",𝕗:"&fopf;","⋔":"&pitchfork;","⫙":"&forkv;","⨍":"&fpartint;","½":"&half;","⅓":"&frac13;","¼":"&frac14;","⅕":"&frac15;","⅙":"&frac16;","⅛":"&frac18;","⅔":"&frac23;","⅖":"&frac25;","¾":"&frac34;","⅗":"&frac35;","⅜":"&frac38;","⅘":"&frac45;","⅚":"&frac56;","⅝":"&frac58;","⅞":"&frac78;","⁄":"&frasl;","⌢":"&sfrown;",𝒻:"&fscr;","⪌":"&gtreqqless;",ǵ:"&gacute;",γ:"&gamma;","⪆":"&gtrapprox;",ğ:"&gbreve;",ĝ:"&gcirc;",г:"&gcy;",ġ:"&gdot;","⪩":"&gescc;","⪀":"&gesdot;","⪂":"&gesdoto;","⪄":"&gesdotol;","⋛︀":"&gesl;","⪔":"&gesles;",𝔤:"&gfr;",ℷ:"&gimel;",ѓ:"&gjcy;","⪒":"&glE;","⪥":"&gla;","⪤":"&glj;","≩":"&gneqq;","⪊":"&gnapprox;","⪈":"&gneq;","⋧":"&gnsim;",𝕘:"&gopf;",ℊ:"&gscr;","⪎":"&gsime;","⪐":"&gsiml;","⪧":"&gtcc;","⩺":"&gtcir;","⋗":"&gtrdot;","⦕":"&gtlPar;","⩼":"&gtquest;","⥸":"&gtrarr;","≩︀":"&gvnE;",ъ:"&hardcy;","⥈":"&harrcir;","↭":"&leftrightsquigarrow;",ℏ:"&plankv;",ĥ:"&hcirc;","♥":"&heartsuit;","…":"&mldr;","⊹":"&hercon;",𝔥:"&hfr;","⤥":"&searhk;","⤦":"&swarhk;","⇿":"&hoarr;","∻":"&homtht;","↩":"&larrhk;","↪":"&rarrhk;",𝕙:"&hopf;","―":"&horbar;",𝒽:"&hscr;",ħ:"&hstrok;","⁃":"&hybull;",í:"&iacute;",î:"&icirc;",и:"&icy;",е:"&iecy;","¡":"&iexcl;",𝔦:"&ifr;",ì:"&igrave;","⨌":"&qint;","∭":"&tint;","⧜":"&iinfin;","℩":"&iiota;",ij:"&ijlig;",ī:"&imacr;",ı:"&inodot;","⊷":"&imof;",Ƶ:"&imped;","℅":"&incare;","∞":"&infin;","⧝":"&infintie;","⊺":"&intercal;","⨗":"&intlarhk;","⨼":"&iprod;",ё:"&iocy;",į:"&iogon;",𝕚:"&iopf;",ι:"&iota;","¿":"&iquest;",𝒾:"&iscr;","⋹":"&isinE;","⋵":"&isindot;","⋴":"&isins;","⋳":"&isinsv;",ĩ:"&itilde;",і:"&iukcy;",ï:"&iuml;",ĵ:"&jcirc;",й:"&jcy;",𝔧:"&jfr;",ȷ:"&jmath;",𝕛:"&jopf;",𝒿:"&jscr;",ј:"&jsercy;",є:"&jukcy;",κ:"&kappa;",ϰ:"&varkappa;",ķ:"&kcedil;",к:"&kcy;",𝔨:"&kfr;",ĸ:"&kgreen;",х:"&khcy;",ќ:"&kjcy;",𝕜:"&kopf;",𝓀:"&kscr;","⤛":"&lAtail;","⤎":"&lBarr;","⪋":"&lesseqqgtr;","⥢":"&lHar;",ĺ:"&lacute;","⦴":"&laemptyv;",λ:"&lambda;","⦑":"&langd;","⪅":"&lessapprox;","«":"&laquo;","⤟":"&larrbfs;","⤝":"&larrfs;","↫":"&looparrowleft;","⤹":"&larrpl;","⥳":"&larrsim;","↢":"&leftarrowtail;","⪫":"&lat;","⤙":"&latail;","⪭":"&late;","⪭︀":"&lates;","⤌":"&lbarr;","❲":"&lbbrk;","{":"&lcub;","[":"&lsqb;","⦋":"&lbrke;","⦏":"&lbrksld;","⦍":"&lbrkslu;",ľ:"&lcaron;",ļ:"&lcedil;",л:"&lcy;","⤶":"&ldca;","⥧":"&ldrdhar;","⥋":"&ldrushar;","↲":"&ldsh;","≤":"&leq;","⇇":"&llarr;","⋋":"&lthree;","⪨":"&lescc;","⩿":"&lesdot;","⪁":"&lesdoto;","⪃":"&lesdotor;","⋚︀":"&lesg;","⪓":"&lesges;","⋖":"&ltdot;","⥼":"&lfisht;",𝔩:"&lfr;","⪑":"&lgE;","⥪":"&lharul;","▄":"&lhblk;",љ:"&ljcy;","⥫":"&llhard;","◺":"&lltri;",ŀ:"&lmidot;","⎰":"&lmoustache;","≨":"&lneqq;","⪉":"&lnapprox;","⪇":"&lneq;","⋦":"&lnsim;","⟬":"&loang;","⇽":"&loarr;","⟼":"&xmap;","↬":"&rarrlp;","⦅":"&lopar;",𝕝:"&lopf;","⨭":"&loplus;","⨴":"&lotimes;","∗":"&lowast;","◊":"&lozenge;","(":"&lpar;","⦓":"&lparlt;","⥭":"&lrhard;","‎":"&lrm;","⊿":"&lrtri;","‹":"&lsaquo;",𝓁:"&lscr;","⪍":"&lsime;","⪏":"&lsimg;","‚":"&sbquo;",ł:"&lstrok;","⪦":"&ltcc;","⩹":"&ltcir;","⋉":"&ltimes;","⥶":"&ltlarr;","⩻":"&ltquest;","⦖":"&ltrPar;","◃":"&triangleleft;","⥊":"&lurdshar;","⥦":"&luruhar;","≨︀":"&lvnE;","∺":"&mDDot;","¯":"&strns;","♂":"&male;","✠":"&maltese;","▮":"&marker;","⨩":"&mcomma;",м:"&mcy;","—":"&mdash;",𝔪:"&mfr;","℧":"&mho;",µ:"&micro;","⫰":"&midcir;","−":"&minus;","⨪":"&minusdu;","⫛":"&mlcp;","⊧":"&models;",𝕞:"&mopf;",𝓂:"&mscr;",μ:"&mu;","⊸":"&mumap;","⋙̸":"&nGg;","≫⃒":"&nGt;","⇍":"&nlArr;","⇎":"&nhArr;","⋘̸":"&nLl;","≪⃒":"&nLt;","⇏":"&nrArr;","⊯":"&nVDash;","⊮":"&nVdash;",ń:"&nacute;","∠⃒":"&nang;","⩰̸":"&napE;","≋̸":"&napid;",ʼn:"&napos;","♮":"&natural;","⩃":"&ncap;",ň:"&ncaron;",ņ:"&ncedil;","⩭̸":"&ncongdot;","⩂":"&ncup;",н:"&ncy;","–":"&ndash;","⇗":"&neArr;","⤤":"&nearhk;","≐̸":"&nedot;","⤨":"&toea;",𝔫:"&nfr;","↮":"&nleftrightarrow;","⫲":"&nhpar;","⋼":"&nis;","⋺":"&nisd;",њ:"&njcy;","≦̸":"&nleqq;","↚":"&nleftarrow;","‥":"&nldr;",𝕟:"&nopf;","¬":"&not;","⋹̸":"&notinE;","⋵̸":"&notindot;","⋷":"&notinvb;","⋶":"&notinvc;","⋾":"&notnivb;","⋽":"&notnivc;","⫽⃥":"&nparsl;","∂̸":"&npart;","⨔":"&npolint;","↛":"&nrightarrow;","⤳̸":"&nrarrc;","↝̸":"&nrarrw;",𝓃:"&nscr;","⊄":"&nsub;","⫅̸":"&nsubseteqq;","⊅":"&nsup;","⫆̸":"&nsupseteqq;",ñ:"&ntilde;",ν:"&nu;","#":"&num;","№":"&numero;"," ":"&numsp;","⊭":"&nvDash;","⤄":"&nvHarr;","≍⃒":"&nvap;","⊬":"&nvdash;","≥⃒":"&nvge;",">⃒":"&nvgt;","⧞":"&nvinfin;","⤂":"&nvlArr;","≤⃒":"&nvle;","<⃒":"&nvlt;","⊴⃒":"&nvltrie;","⤃":"&nvrArr;","⊵⃒":"&nvrtrie;","∼⃒":"&nvsim;","⇖":"&nwArr;","⤣":"&nwarhk;","⤧":"&nwnear;",ó:"&oacute;",ô:"&ocirc;",о:"&ocy;",ő:"&odblac;","⨸":"&odiv;","⦼":"&odsold;",œ:"&oelig;","⦿":"&ofcir;",𝔬:"&ofr;","˛":"&ogon;",ò:"&ograve;","⧁":"&ogt;","⦵":"&ohbar;","⦾":"&olcir;","⦻":"&olcross;","⧀":"&olt;",ō:"&omacr;",ω:"&omega;",ο:"&omicron;","⦶":"&omid;",𝕠:"&oopf;","⦷":"&opar;","⦹":"&operp;","∨":"&vee;","⩝":"&ord;",ℴ:"&oscr;",ª:"&ordf;",º:"&ordm;","⊶":"&origof;","⩖":"&oror;","⩗":"&orslope;","⩛":"&orv;",ø:"&oslash;","⊘":"&osol;",õ:"&otilde;","⨶":"&otimesas;",ö:"&ouml;","⌽":"&ovbar;","¶":"&para;","⫳":"&parsim;","⫽":"&parsl;",п:"&pcy;","%":"&percnt;",".":"&period;","‰":"&permil;","‱":"&pertenk;",𝔭:"&pfr;",φ:"&phi;",ϕ:"&varphi;","☎":"&phone;",π:"&pi;",ϖ:"&varpi;",ℎ:"&planckh;","+":"&plus;","⨣":"&plusacir;","⨢":"&pluscir;","⨥":"&plusdu;","⩲":"&pluse;","⨦":"&plussim;","⨧":"&plustwo;","⨕":"&pointint;",𝕡:"&popf;","£":"&pound;","⪳":"&prE;","⪷":"&precapprox;","⪹":"&prnap;","⪵":"&prnE;","⋨":"&prnsim;","′":"&prime;","⌮":"&profalar;","⌒":"&profline;","⌓":"&profsurf;","⊰":"&prurel;",𝓅:"&pscr;",ψ:"&psi;"," ":"&puncsp;",𝔮:"&qfr;",𝕢:"&qopf;","⁗":"&qprime;",𝓆:"&qscr;","⨖":"&quatint;","?":"&quest;","⤜":"&rAtail;","⥤":"&rHar;","∽̱":"&race;",ŕ:"&racute;","⦳":"&raemptyv;","⦒":"&rangd;","⦥":"&range;","»":"&raquo;","⥵":"&rarrap;","⤠":"&rarrbfs;","⤳":"&rarrc;","⤞":"&rarrfs;","⥅":"&rarrpl;","⥴":"&rarrsim;","↣":"&rightarrowtail;","↝":"&rightsquigarrow;","⤚":"&ratail;","∶":"&ratio;","❳":"&rbbrk;","}":"&rcub;","]":"&rsqb;","⦌":"&rbrke;","⦎":"&rbrksld;","⦐":"&rbrkslu;",ř:"&rcaron;",ŗ:"&rcedil;",р:"&rcy;","⤷":"&rdca;","⥩":"&rdldhar;","↳":"&rdsh;","▭":"&rect;","⥽":"&rfisht;",𝔯:"&rfr;","⥬":"&rharul;",ρ:"&rho;",ϱ:"&varrho;","⇉":"&rrarr;","⋌":"&rthree;","˚":"&ring;","‏":"&rlm;","⎱":"&rmoustache;","⫮":"&rnmid;","⟭":"&roang;","⇾":"&roarr;","⦆":"&ropar;",𝕣:"&ropf;","⨮":"&roplus;","⨵":"&rotimes;",")":"&rpar;","⦔":"&rpargt;","⨒":"&rppolint;","›":"&rsaquo;",𝓇:"&rscr;","⋊":"&rtimes;","▹":"&triangleright;","⧎":"&rtriltri;","⥨":"&ruluhar;","℞":"&rx;",ś:"&sacute;","⪴":"&scE;","⪸":"&succapprox;",š:"&scaron;",ş:"&scedil;",ŝ:"&scirc;","⪶":"&succneqq;","⪺":"&succnapprox;","⋩":"&succnsim;","⨓":"&scpolint;",с:"&scy;","⋅":"&sdot;","⩦":"&sdote;","⇘":"&seArr;","§":"&sect;",";":"&semi;","⤩":"&tosa;","✶":"&sext;",𝔰:"&sfr;","♯":"&sharp;",щ:"&shchcy;",ш:"&shcy;","­":"&shy;",σ:"&sigma;",ς:"&varsigma;","⩪":"&simdot;","⪞":"&simg;","⪠":"&simgE;","⪝":"&siml;","⪟":"&simlE;","≆":"&simne;","⨤":"&simplus;","⥲":"&simrarr;","⨳":"&smashp;","⧤":"&smeparsl;","⌣":"&ssmile;","⪪":"&smt;","⪬":"&smte;","⪬︀":"&smtes;",ь:"&softcy;","/":"&sol;","⧄":"&solb;","⌿":"&solbar;",𝕤:"&sopf;","♠":"&spadesuit;","⊓︀":"&sqcaps;","⊔︀":"&sqcups;",𝓈:"&sscr;","☆":"&star;","⊂":"&subset;","⫅":"&subseteqq;","⪽":"&subdot;","⫃":"&subedot;","⫁":"&submult;","⫋":"&subsetneqq;","⊊":"&subsetneq;","⪿":"&subplus;","⥹":"&subrarr;","⫇":"&subsim;","⫕":"&subsub;","⫓":"&subsup;","♪":"&sung;","¹":"&sup1;","²":"&sup2;","³":"&sup3;","⫆":"&supseteqq;","⪾":"&supdot;","⫘":"&supdsub;","⫄":"&supedot;","⟉":"&suphsol;","⫗":"&suphsub;","⥻":"&suplarr;","⫂":"&supmult;","⫌":"&supsetneqq;","⊋":"&supsetneq;","⫀":"&supplus;","⫈":"&supsim;","⫔":"&supsub;","⫖":"&supsup;","⇙":"&swArr;","⤪":"&swnwar;",ß:"&szlig;","⌖":"&target;",τ:"&tau;",ť:"&tcaron;",ţ:"&tcedil;",т:"&tcy;","⌕":"&telrec;",𝔱:"&tfr;",θ:"&theta;",ϑ:"&vartheta;",þ:"&thorn;","×":"&times;","⨱":"&timesbar;","⨰":"&timesd;","⌶":"&topbot;","⫱":"&topcir;",𝕥:"&topf;","⫚":"&topfork;","‴":"&tprime;","▵":"&utri;","≜":"&trie;","◬":"&tridot;","⨺":"&triminus;","⨹":"&triplus;","⧍":"&trisb;","⨻":"&tritime;","⏢":"&trpezium;",𝓉:"&tscr;",ц:"&tscy;",ћ:"&tshcy;",ŧ:"&tstrok;","⥣":"&uHar;",ú:"&uacute;",ў:"&ubrcy;",ŭ:"&ubreve;",û:"&ucirc;",у:"&ucy;",ű:"&udblac;","⥾":"&ufisht;",𝔲:"&ufr;",ù:"&ugrave;","▀":"&uhblk;","⌜":"&ulcorner;","⌏":"&ulcrop;","◸":"&ultri;",ū:"&umacr;",ų:"&uogon;",𝕦:"&uopf;",υ:"&upsilon;","⇈":"&uuarr;","⌝":"&urcorner;","⌎":"&urcrop;",ů:"&uring;","◹":"&urtri;",𝓊:"&uscr;","⋰":"&utdot;",ũ:"&utilde;",ü:"&uuml;","⦧":"&uwangle;","⫨":"&vBar;","⫩":"&vBarv;","⦜":"&vangrt;","⊊︀":"&vsubne;","⫋︀":"&vsubnE;","⊋︀":"&vsupne;","⫌︀":"&vsupnE;",в:"&vcy;","⊻":"&veebar;","≚":"&veeeq;","⋮":"&vellip;",𝔳:"&vfr;",𝕧:"&vopf;",𝓋:"&vscr;","⦚":"&vzigzag;",ŵ:"&wcirc;","⩟":"&wedbar;","≙":"&wedgeq;",℘:"&wp;",𝔴:"&wfr;",𝕨:"&wopf;",𝓌:"&wscr;",𝔵:"&xfr;",ξ:"&xi;","⋻":"&xnis;",𝕩:"&xopf;",𝓍:"&xscr;",ý:"&yacute;",я:"&yacy;",ŷ:"&ycirc;",ы:"&ycy;","¥":"&yen;",𝔶:"&yfr;",ї:"&yicy;",𝕪:"&yopf;",𝓎:"&yscr;",ю:"&yucy;",ÿ:"&yuml;",ź:"&zacute;",ž:"&zcaron;",з:"&zcy;",ż:"&zdot;",ζ:"&zeta;",𝔷:"&zfr;",ж:"&zhcy;","⇝":"&zigrarr;",𝕫:"&zopf;",𝓏:"&zscr;","‍":"&zwj;","‌":"&zwnj;"}}}},3762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},4826:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},840:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var a={},c=Boolean(e.type&&o[e.type]);for(var u in e){var d=e[u];if((0,r.isCustomAttribute)(u))a[u]=d;else{var m=u.toLowerCase(),g=l(m);if(g){var p=(0,r.getPropertyInfo)(g);switch(i.includes(g)&&s.includes(t)&&!c&&(g=l("default"+m)),a[g]=d,p&&p.type){case r.BOOLEAN:a[g]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(a[g]=!0)}}else n.PRESERVE_CUSTOM_ATTRIBUTES&&(a[u]=d)}}return(0,n.setStyleProp)(e.style,a),a};var r=a(4210),n=a(4958),i=["checked","value"],s=["input","select","textarea"],o={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},308:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,a){void 0===a&&(a={});for(var r=[],n="function"==typeof a.replace,c=a.transform||s.returnFirstArg,u=a.library||o,d=u.cloneElement,m=u.createElement,g=u.isValidElement,p=t.length,f=0;f<p;f++){var M=t[f];if(n){var h=a.replace(M,f);if(g(h)){p>1&&(h=d(h,{key:h.key||f})),r.push(c(h,M,f));continue}}if("text"!==M.type){var y=M,N={};l(y)?((0,s.setStyleProp)(y.attribs.style,y.attribs),N=y.attribs):y.attribs&&(N=(0,i.default)(y.attribs,y.name));var w=void 0;switch(M.type){case"script":case"style":M.children[0]&&(N.dangerouslySetInnerHTML={__html:M.children[0].data});break;case"tag":"textarea"===M.name&&M.children[0]?N.defaultValue=M.children[0].data:M.children&&M.children.length&&(w=e(M.children,a));break;default:continue}p>1&&(N.key=f),r.push(c(m(M.name,N,w),M,f))}else{var x=!M.data.trim().length;if(x&&M.parent&&!(0,s.canTextBeChildOfNode)(M.parent))continue;if(a.trim&&x)continue;r.push(c(M.data,M,f))}}return 1===r.length?r[0]:r};var n=a(1609),i=r(a(840)),s=a(4958),o={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},442:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,n.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var n=r(a(2471));t.htmlToDOM=n.default;var i=r(a(840));t.attributesToProps=i.default;var s=r(a(308));t.domToReact=s.default;var o=a(1141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return o.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return o.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return o.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.Text}});var l={lowerCaseAttributeNames:!1}},4958:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,o)}catch(e){t.style={}}else t.style={}};var n=a(1609),i=r(a(5229)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),o={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,m=1;function g(e){var t=e.match(a);t&&(d+=t.length);var r=e.lastIndexOf("\n");m=~r?e.length-r:m+e.length}function p(){var e={line:d,column:m};return function(t){return t.position=new f(e),N(),t}}function f(e){this.start=e,this.end={line:d,column:m},this.source=l.source}f.prototype.content=e;var M=[];function h(t){var a=new Error(l.source+":"+d+":"+m+": "+t);if(a.reason=t,a.filename=l.source,a.line=d,a.column=m,a.source=e,!l.silent)throw a;M.push(a)}function y(t){var a=t.exec(e);if(a){var r=a[0];return g(r),e=e.slice(r.length),a}}function N(){y(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;c!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,c===e.charAt(a-1))return h("End of comment missing");var r=e.slice(2,a-2);return m+=2,g(r),e=e.slice(a),m+=2,t({type:"comment",comment:r})}}function b(){var e=p(),a=y(n);if(a){if(x(),!y(i))return h("property missing ':'");var r=y(s),l=e({type:"declaration",property:u(a[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(o),l}}return N(),function(){var e,t=[];for(w(t);e=b();)!1!==e&&(t.push(e),w(t));return t}()}},5580:(e,t,a)=>{var r=a(6110)(a(9325),"DataView");e.exports=r},1549:(e,t,a)=>{var r=a(2032),n=a(3862),i=a(6721),s=a(2749),o=a(5749);function l(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=s,l.prototype.set=o,e.exports=l},79:(e,t,a)=>{var r=a(3702),n=a(80),i=a(4739),s=a(8655),o=a(1175);function l(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=s,l.prototype.set=o,e.exports=l},8223:(e,t,a)=>{var r=a(6110)(a(9325),"Map");e.exports=r},3661:(e,t,a)=>{var r=a(3040),n=a(7670),i=a(289),s=a(4509),o=a(2949);function l(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=s,l.prototype.set=o,e.exports=l},2804:(e,t,a)=>{var r=a(6110)(a(9325),"Promise");e.exports=r},6545:(e,t,a)=>{var r=a(6110)(a(9325),"Set");e.exports=r},8859:(e,t,a)=>{var r=a(3661),n=a(1380),i=a(1459);function s(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new r;++t<a;)this.add(e[t])}s.prototype.add=s.prototype.push=n,s.prototype.has=i,e.exports=s},7217:(e,t,a)=>{var r=a(79),n=a(1420),i=a(938),s=a(3605),o=a(9817),l=a(945);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=o,c.prototype.set=l,e.exports=c},1873:(e,t,a)=>{var r=a(9325).Symbol;e.exports=r},7828:(e,t,a)=>{var r=a(9325).Uint8Array;e.exports=r},8303:(e,t,a)=>{var r=a(6110)(a(9325),"WeakMap");e.exports=r},1033:e=>{e.exports=function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}},3729:e=>{e.exports=function(e,t){for(var a=-1,r=null==e?0:e.length;++a<r&&!1!==t(e[a],a,e););return e}},9770:e=>{e.exports=function(e,t){for(var a=-1,r=null==e?0:e.length,n=0,i=[];++a<r;){var s=e[a];t(s,a,e)&&(i[n++]=s)}return i}},695:(e,t,a)=>{var r=a(8096),n=a(2428),i=a(6449),s=a(3656),o=a(361),l=a(7167),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=i(e),u=!a&&n(e),d=!a&&!u&&s(e),m=!a&&!u&&!d&&l(e),g=a||u||d||m,p=g?r(e.length,String):[],f=p.length;for(var M in e)!t&&!c.call(e,M)||g&&("length"==M||d&&("offset"==M||"parent"==M)||m&&("buffer"==M||"byteLength"==M||"byteOffset"==M)||o(M,f))||p.push(M);return p}},4932:e=>{e.exports=function(e,t){for(var a=-1,r=null==e?0:e.length,n=Array(r);++a<r;)n[a]=t(e[a],a,e);return n}},4528:e=>{e.exports=function(e,t){for(var a=-1,r=t.length,n=e.length;++a<r;)e[n+a]=t[a];return e}},4248:e=>{e.exports=function(e,t){for(var a=-1,r=null==e?0:e.length;++a<r;)if(t(e[a],a,e))return!0;return!1}},7805:(e,t,a)=>{var r=a(3360),n=a(5288);e.exports=function(e,t,a){(void 0!==a&&!n(e[t],a)||void 0===a&&!(t in e))&&r(e,t,a)}},6547:(e,t,a)=>{var r=a(3360),n=a(5288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,a){var s=e[t];i.call(e,t)&&n(s,a)&&(void 0!==a||t in e)||r(e,t,a)}},6025:(e,t,a)=>{var r=a(5288);e.exports=function(e,t){for(var a=e.length;a--;)if(r(e[a][0],t))return a;return-1}},4733:(e,t,a)=>{var r=a(1791),n=a(5950);e.exports=function(e,t){return e&&r(t,n(t),e)}},3838:(e,t,a)=>{var r=a(1791),n=a(7241);e.exports=function(e,t){return e&&r(t,n(t),e)}},3360:(e,t,a)=>{var r=a(3243);e.exports=function(e,t,a){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},9999:(e,t,a)=>{var r=a(7217),n=a(3729),i=a(6547),s=a(4733),o=a(3838),l=a(3290),c=a(3007),u=a(2271),d=a(8948),m=a(2),g=a(3349),p=a(5861),f=a(6189),M=a(7199),h=a(5529),y=a(6449),N=a(3656),w=a(7730),x=a(3805),b=a(8440),D=a(5950),j=a(7241),v="[object Arguments]",_="[object Function]",I="[object Object]",E={};E[v]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E[I]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E[_]=E["[object WeakMap]"]=!1,e.exports=function e(t,a,L,T,A,z){var k,S=1&a,O=2&a,C=4&a;if(L&&(k=A?L(t,T,A,z):L(t)),void 0!==k)return k;if(!x(t))return t;var Y=y(t);if(Y){if(k=f(t),!S)return c(t,k)}else{var U=p(t),Q=U==_||"[object GeneratorFunction]"==U;if(N(t))return l(t,S);if(U==I||U==v||Q&&!A){if(k=O||Q?{}:h(t),!S)return O?d(t,o(k,t)):u(t,s(k,t))}else{if(!E[U])return A?t:{};k=M(t,U,S)}}z||(z=new r);var P=z.get(t);if(P)return P;z.set(t,k),b(t)?t.forEach((function(r){k.add(e(r,a,L,r,t,z))})):w(t)&&t.forEach((function(r,n){k.set(n,e(r,a,L,n,t,z))}));var F=Y?void 0:(C?O?g:m:O?j:D)(t);return n(F||t,(function(r,n){F&&(r=t[n=r]),i(k,n,e(r,a,L,n,t,z))})),k}},9344:(e,t,a)=>{var r=a(3805),n=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(n)return n(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();e.exports=i},909:(e,t,a)=>{var r=a(641),n=a(8329)(r);e.exports=n},6649:(e,t,a)=>{var r=a(3221)();e.exports=r},641:(e,t,a)=>{var r=a(6649),n=a(5950);e.exports=function(e,t){return e&&r(e,t,n)}},7422:(e,t,a)=>{var r=a(1769),n=a(7797);e.exports=function(e,t){for(var a=0,i=(t=r(t,e)).length;null!=e&&a<i;)e=e[n(t[a++])];return a&&a==i?e:void 0}},2199:(e,t,a)=>{var r=a(4528),n=a(6449);e.exports=function(e,t,a){var i=t(e);return n(e)?i:r(i,a(e))}},2552:(e,t,a)=>{var r=a(1873),n=a(659),i=a(9350),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?n(e):i(e)}},8077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7534:(e,t,a)=>{var r=a(2552),n=a(346);e.exports=function(e){return n(e)&&"[object Arguments]"==r(e)}},270:(e,t,a)=>{var r=a(7068),n=a(346);e.exports=function e(t,a,i,s,o){return t===a||(null==t||null==a||!n(t)&&!n(a)?t!=t&&a!=a:r(t,a,i,s,e,o))}},7068:(e,t,a)=>{var r=a(7217),n=a(5911),i=a(1986),s=a(689),o=a(5861),l=a(6449),c=a(3656),u=a(7167),d="[object Arguments]",m="[object Array]",g="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,f,M,h){var y=l(e),N=l(t),w=y?m:o(e),x=N?m:o(t),b=(w=w==d?g:w)==g,D=(x=x==d?g:x)==g,j=w==x;if(j&&c(e)){if(!c(t))return!1;y=!0,b=!1}if(j&&!b)return h||(h=new r),y||u(e)?n(e,t,a,f,M,h):i(e,t,w,a,f,M,h);if(!(1&a)){var v=b&&p.call(e,"__wrapped__"),_=D&&p.call(t,"__wrapped__");if(v||_){var I=v?e.value():e,E=_?t.value():t;return h||(h=new r),M(I,E,a,f,h)}}return!!j&&(h||(h=new r),s(e,t,a,f,M,h))}},9172:(e,t,a)=>{var r=a(5861),n=a(346);e.exports=function(e){return n(e)&&"[object Map]"==r(e)}},1799:(e,t,a)=>{var r=a(7217),n=a(270);e.exports=function(e,t,a,i){var s=a.length,o=s,l=!i;if(null==e)return!o;for(e=Object(e);s--;){var c=a[s];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<o;){var u=(c=a[s])[0],d=e[u],m=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var g=new r;if(i)var p=i(d,m,u,e,t,g);if(!(void 0===p?n(m,d,3,i,g):p))return!1}}return!0}},5083:(e,t,a)=>{var r=a(1882),n=a(7296),i=a(3805),s=a(7473),o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||n(e))&&(r(e)?m:o).test(s(e))}},6038:(e,t,a)=>{var r=a(5861),n=a(346);e.exports=function(e){return n(e)&&"[object Set]"==r(e)}},4901:(e,t,a)=>{var r=a(2552),n=a(294),i=a(346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&n(e.length)&&!!s[r(e)]}},5389:(e,t,a)=>{var r=a(3663),n=a(7978),i=a(3488),s=a(6449),o=a(583);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?n(e[0],e[1]):r(e):o(e)}},8984:(e,t,a)=>{var r=a(5527),n=a(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return n(e);var t=[];for(var a in Object(e))i.call(e,a)&&"constructor"!=a&&t.push(a);return t}},2903:(e,t,a)=>{var r=a(3805),n=a(5527),i=a(181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=n(e),a=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&a.push(o);return a}},5128:(e,t,a)=>{var r=a(909),n=a(4894);e.exports=function(e,t){var a=-1,i=n(e)?Array(e.length):[];return r(e,(function(e,r,n){i[++a]=t(e,r,n)})),i}},3663:(e,t,a)=>{var r=a(1799),n=a(776),i=a(7197);e.exports=function(e){var t=n(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(a){return a===e||r(a,e,t)}}},7978:(e,t,a)=>{var r=a(270),n=a(8156),i=a(631),s=a(8586),o=a(756),l=a(7197),c=a(7797);e.exports=function(e,t){return s(e)&&o(t)?l(c(e),t):function(a){var s=n(a,e);return void 0===s&&s===t?i(a,e):r(t,s,3)}}},5250:(e,t,a)=>{var r=a(7217),n=a(7805),i=a(6649),s=a(2824),o=a(3805),l=a(7241),c=a(4974);e.exports=function e(t,a,u,d,m){t!==a&&i(a,(function(i,l){if(m||(m=new r),o(i))s(t,a,l,u,e,d,m);else{var g=d?d(c(t,l),i,l+"",t,a,m):void 0;void 0===g&&(g=i),n(t,l,g)}}),l)}},2824:(e,t,a)=>{var r=a(7805),n=a(3290),i=a(1961),s=a(3007),o=a(5529),l=a(2428),c=a(6449),u=a(3693),d=a(3656),m=a(1882),g=a(3805),p=a(1331),f=a(7167),M=a(4974),h=a(9884);e.exports=function(e,t,a,y,N,w,x){var b=M(e,a),D=M(t,a),j=x.get(D);if(j)r(e,a,j);else{var v=w?w(b,D,a+"",e,t,x):void 0,_=void 0===v;if(_){var I=c(D),E=!I&&d(D),L=!I&&!E&&f(D);v=D,I||E||L?c(b)?v=b:u(b)?v=s(b):E?(_=!1,v=n(D,!0)):L?(_=!1,v=i(D,!0)):v=[]:p(D)||l(D)?(v=b,l(b)?v=h(b):g(b)&&!m(b)||(v=o(D))):_=!1}_&&(x.set(D,v),N(v,D,y,w,x),x.delete(D)),r(e,a,v)}}},7237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},7255:(e,t,a)=>{var r=a(7422);e.exports=function(e){return function(t){return r(t,e)}}},9302:(e,t,a)=>{var r=a(3488),n=a(6757),i=a(2865);e.exports=function(e,t){return i(n(e,t,r),e+"")}},9570:(e,t,a)=>{var r=a(7334),n=a(3243),i=a(3488),s=n?function(e,t){return n(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=s},8096:e=>{e.exports=function(e,t){for(var a=-1,r=Array(e);++a<e;)r[a]=t(a);return r}},7556:(e,t,a)=>{var r=a(1873),n=a(4932),i=a(6449),s=a(4394),o=r?r.prototype:void 0,l=o?o.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return n(t,e)+"";if(s(t))return l?l.call(t):"";var a=t+"";return"0"==a&&1/t==-1/0?"-0":a}},4128:(e,t,a)=>{var r=a(1800),n=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(n,""):e}},7301:e=>{e.exports=function(e){return function(t){return e(t)}}},9219:e=>{e.exports=function(e,t){return e.has(t)}},4066:(e,t,a)=>{var r=a(3488);e.exports=function(e){return"function"==typeof e?e:r}},1769:(e,t,a)=>{var r=a(6449),n=a(8586),i=a(1802),s=a(3222);e.exports=function(e,t){return r(e)?e:n(e,t)?[e]:i(s(e))}},9653:(e,t,a)=>{var r=a(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},3290:(e,t,a)=>{e=a.nmd(e);var r=a(9325),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,s=i&&i.exports===n?r.Buffer:void 0,o=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var a=e.length,r=o?o(a):new e.constructor(a);return e.copy(r),r}},6169:(e,t,a)=>{var r=a(9653);e.exports=function(e,t){var a=t?r(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},3201:e=>{var t=/\w*$/;e.exports=function(e){var a=new e.constructor(e.source,t.exec(e));return a.lastIndex=e.lastIndex,a}},3736:(e,t,a)=>{var r=a(1873),n=r?r.prototype:void 0,i=n?n.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},1961:(e,t,a)=>{var r=a(9653);e.exports=function(e,t){var a=t?r(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},3007:e=>{e.exports=function(e,t){var a=-1,r=e.length;for(t||(t=Array(r));++a<r;)t[a]=e[a];return t}},1791:(e,t,a)=>{var r=a(6547),n=a(3360);e.exports=function(e,t,a,i){var s=!a;a||(a={});for(var o=-1,l=t.length;++o<l;){var c=t[o],u=i?i(a[c],e[c],c,a,e):void 0;void 0===u&&(u=e[c]),s?n(a,c,u):r(a,c,u)}return a}},2271:(e,t,a)=>{var r=a(1791),n=a(4664);e.exports=function(e,t){return r(e,n(e),t)}},8948:(e,t,a)=>{var r=a(1791),n=a(6375);e.exports=function(e,t){return r(e,n(e),t)}},5481:(e,t,a)=>{var r=a(9325)["__core-js_shared__"];e.exports=r},999:(e,t,a)=>{var r=a(9302),n=a(6800);e.exports=function(e){return r((function(t,a){var r=-1,i=a.length,s=i>1?a[i-1]:void 0,o=i>2?a[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,o&&n(a[0],a[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var l=a[r];l&&e(t,l,r,s)}return t}))}},8329:(e,t,a)=>{var r=a(4894);e.exports=function(e,t){return function(a,n){if(null==a)return a;if(!r(a))return e(a,n);for(var i=a.length,s=t?i:-1,o=Object(a);(t?s--:++s<i)&&!1!==n(o[s],s,o););return a}}},3221:e=>{e.exports=function(e){return function(t,a,r){for(var n=-1,i=Object(t),s=r(t),o=s.length;o--;){var l=s[e?o:++n];if(!1===a(i[l],l,i))break}return t}}},3243:(e,t,a)=>{var r=a(6110),n=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},5911:(e,t,a)=>{var r=a(8859),n=a(4248),i=a(9219);e.exports=function(e,t,a,s,o,l){var c=1&a,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var m=l.get(e),g=l.get(t);if(m&&g)return m==t&&g==e;var p=-1,f=!0,M=2&a?new r:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var h=e[p],y=t[p];if(s)var N=c?s(y,h,p,t,e,l):s(h,y,p,e,t,l);if(void 0!==N){if(N)continue;f=!1;break}if(M){if(!n(t,(function(e,t){if(!i(M,t)&&(h===e||o(h,e,a,s,l)))return M.push(t)}))){f=!1;break}}else if(h!==y&&!o(h,y,a,s,l)){f=!1;break}}return l.delete(e),l.delete(t),f}},1986:(e,t,a)=>{var r=a(1873),n=a(7828),i=a(5288),s=a(5911),o=a(317),l=a(4247),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,a,r,c,d,m){switch(a){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new n(e),new n(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var g=o;case"[object Set]":var p=1&r;if(g||(g=l),e.size!=t.size&&!p)return!1;var f=m.get(e);if(f)return f==t;r|=2,m.set(e,t);var M=s(g(e),g(t),r,c,d,m);return m.delete(e),M;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},689:(e,t,a)=>{var r=a(2),n=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,i,s,o){var l=1&a,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var m=c[d];if(!(l?m in t:n.call(t,m)))return!1}var g=o.get(e),p=o.get(t);if(g&&p)return g==t&&p==e;var f=!0;o.set(e,t),o.set(t,e);for(var M=l;++d<u;){var h=e[m=c[d]],y=t[m];if(i)var N=l?i(y,h,m,t,e,o):i(h,y,m,e,t,o);if(!(void 0===N?h===y||s(h,y,a,i,o):N)){f=!1;break}M||(M="constructor"==m)}if(f&&!M){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(f=!1)}return o.delete(e),o.delete(t),f}},4840:(e,t,a)=>{var r="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g;e.exports=r},2:(e,t,a)=>{var r=a(2199),n=a(4664),i=a(5950);e.exports=function(e){return r(e,i,n)}},3349:(e,t,a)=>{var r=a(2199),n=a(6375),i=a(7241);e.exports=function(e){return r(e,i,n)}},2651:(e,t,a)=>{var r=a(4218);e.exports=function(e,t){var a=e.__data__;return r(t)?a["string"==typeof t?"string":"hash"]:a.map}},776:(e,t,a)=>{var r=a(756),n=a(5950);e.exports=function(e){for(var t=n(e),a=t.length;a--;){var i=t[a],s=e[i];t[a]=[i,s,r(s)]}return t}},6110:(e,t,a)=>{var r=a(5083),n=a(392);e.exports=function(e,t){var a=n(e,t);return r(a)?a:void 0}},8879:(e,t,a)=>{var r=a(4335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,a)=>{var r=a(1873),n=Object.prototype,i=n.hasOwnProperty,s=n.toString,o=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,o),a=e[o];try{e[o]=void 0;var r=!0}catch(e){}var n=s.call(e);return r&&(t?e[o]=a:delete e[o]),n}},4664:(e,t,a)=>{var r=a(9770),n=a(3345),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(e){return null==e?[]:(e=Object(e),r(s(e),(function(t){return i.call(e,t)})))}:n;e.exports=o},6375:(e,t,a)=>{var r=a(4528),n=a(8879),i=a(4664),s=a(3345),o=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=n(e);return t}:s;e.exports=o},5861:(e,t,a)=>{var r=a(5580),n=a(8223),i=a(2804),s=a(6545),o=a(8303),l=a(2552),c=a(7473),u="[object Map]",d="[object Promise]",m="[object Set]",g="[object WeakMap]",p="[object DataView]",f=c(r),M=c(n),h=c(i),y=c(s),N=c(o),w=l;(r&&w(new r(new ArrayBuffer(1)))!=p||n&&w(new n)!=u||i&&w(i.resolve())!=d||s&&w(new s)!=m||o&&w(new o)!=g)&&(w=function(e){var t=l(e),a="[object Object]"==t?e.constructor:void 0,r=a?c(a):"";if(r)switch(r){case f:return p;case M:return u;case h:return d;case y:return m;case N:return g}return t}),e.exports=w},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},9326:(e,t,a)=>{var r=a(1769),n=a(2428),i=a(6449),s=a(361),o=a(294),l=a(7797);e.exports=function(e,t,a){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var m=l(t[c]);if(!(d=null!=e&&a(e,m)))break;e=e[m]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&o(u)&&s(m,u)&&(i(e)||n(e))}},2032:(e,t,a)=>{var r=a(1042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6721:(e,t,a)=>{var r=a(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return n.call(t,e)?t[e]:void 0}},2749:(e,t,a)=>{var r=a(1042),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:n.call(t,e)}},5749:(e,t,a)=>{var r=a(1042);e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},6189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var a=e.length,r=new e.constructor(a);return a&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},7199:(e,t,a)=>{var r=a(9653),n=a(6169),i=a(3201),s=a(3736),o=a(1961);e.exports=function(e,t,a){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return n(e,a);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(e,a);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return s(e)}}},5529:(e,t,a)=>{var r=a(9344),n=a(8879),i=a(5527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(n(e))}},361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,a){var r=typeof e;return!!(a=null==a?9007199254740991:a)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<a}},6800:(e,t,a)=>{var r=a(5288),n=a(4894),i=a(361),s=a(3805);e.exports=function(e,t,a){if(!s(a))return!1;var o=typeof t;return!!("number"==o?n(a)&&i(t,a.length):"string"==o&&t in a)&&r(a[t],e)}},8586:(e,t,a)=>{var r=a(6449),n=a(4394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var a=typeof e;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=e&&!n(e))||s.test(e)||!i.test(e)||null!=t&&e in Object(t)}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7296:(e,t,a)=>{var r,n=a(5481),i=(r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},5527:e=>{var t=Object.prototype;e.exports=function(e){var a=e&&e.constructor;return e===("function"==typeof a&&a.prototype||t)}},756:(e,t,a)=>{var r=a(3805);e.exports=function(e){return e==e&&!r(e)}},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},80:(e,t,a)=>{var r=a(6025),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=r(t,e);return!(a<0||(a==t.length-1?t.pop():n.call(t,a,1),--this.size,0))}},4739:(e,t,a)=>{var r=a(6025);e.exports=function(e){var t=this.__data__,a=r(t,e);return a<0?void 0:t[a][1]}},8655:(e,t,a)=>{var r=a(6025);e.exports=function(e){return r(this.__data__,e)>-1}},1175:(e,t,a)=>{var r=a(6025);e.exports=function(e,t){var a=this.__data__,n=r(a,e);return n<0?(++this.size,a.push([e,t])):a[n][1]=t,this}},3040:(e,t,a)=>{var r=a(1549),n=a(79),i=a(8223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}},7670:(e,t,a)=>{var r=a(2651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},289:(e,t,a)=>{var r=a(2651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,a)=>{var r=a(2651);e.exports=function(e){return r(this,e).has(e)}},2949:(e,t,a)=>{var r=a(2651);e.exports=function(e,t){var a=r(this,e),n=a.size;return a.set(e,t),this.size+=a.size==n?0:1,this}},317:e=>{e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e,r){a[++t]=[r,e]})),a}},7197:e=>{e.exports=function(e,t){return function(a){return null!=a&&a[e]===t&&(void 0!==t||e in Object(a))}}},2224:(e,t,a)=>{var r=a(104);e.exports=function(e){var t=r(e,(function(e){return 500===a.size&&a.clear(),e})),a=t.cache;return t}},1042:(e,t,a)=>{var r=a(6110)(Object,"create");e.exports=r},3650:(e,t,a)=>{var r=a(4335)(Object.keys,Object);e.exports=r},181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},6009:(e,t,a)=>{e=a.nmd(e);var r=a(4840),n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,s=i&&i.exports===n&&r.process,o=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=o},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},4335:e=>{e.exports=function(e,t){return function(a){return e(t(a))}}},6757:(e,t,a)=>{var r=a(1033),n=Math.max;e.exports=function(e,t,a){return t=n(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,o=n(i.length-t,0),l=Array(o);++s<o;)l[s]=i[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=i[s];return c[t]=a(l),r(e,this,c)}}},9325:(e,t,a)=>{var r=a(4840),n="object"==typeof self&&self&&self.Object===Object&&self,i=r||n||Function("return this")();e.exports=i},4974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},1380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1459:e=>{e.exports=function(e){return this.__data__.has(e)}},4247:e=>{e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e){a[++t]=e})),a}},2865:(e,t,a)=>{var r=a(9570),n=a(1811)(r);e.exports=n},1811:e=>{var t=Date.now;e.exports=function(e){var a=0,r=0;return function(){var n=t(),i=16-(n-r);if(r=n,i>0){if(++a>=800)return arguments[0]}else a=0;return e.apply(void 0,arguments)}}},1420:(e,t,a)=>{var r=a(79);e.exports=function(){this.__data__=new r,this.size=0}},938:e=>{e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},3605:e=>{e.exports=function(e){return this.__data__.get(e)}},9817:e=>{e.exports=function(e){return this.__data__.has(e)}},945:(e,t,a)=>{var r=a(79),n=a(8223),i=a(3661);e.exports=function(e,t){var a=this.__data__;if(a instanceof r){var s=a.__data__;if(!n||s.length<199)return s.push([e,t]),this.size=++a.size,this;a=this.__data__=new i(s)}return a.set(e,t),this.size=a.size,this}},1802:(e,t,a)=>{var r=a(2224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,(function(e,a,r,n){t.push(r?n.replace(i,"$1"):a||e)})),t}));e.exports=s},7797:(e,t,a)=>{var r=a(4394);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1800:e=>{var t=/\s/;e.exports=function(e){for(var a=e.length;a--&&t.test(e.charAt(a)););return a}},8055:(e,t,a)=>{var r=a(9999);e.exports=function(e){return r(e,5)}},7334:e=>{e.exports=function(e){return function(){return e}}},8221:(e,t,a)=>{var r=a(3805),n=a(124),i=a(9374),s=Math.max,o=Math.min;e.exports=function(e,t,a){var l,c,u,d,m,g,p=0,f=!1,M=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var a=l,r=c;return l=c=void 0,p=t,d=e.apply(r,a)}function N(e){var a=e-g;return void 0===g||a>=t||a<0||M&&e-p>=u}function w(){var e=n();if(N(e))return x(e);m=setTimeout(w,function(e){var a=t-(e-g);return M?o(a,u-(e-p)):a}(e))}function x(e){return m=void 0,h&&l?y(e):(l=c=void 0,d)}function b(){var e=n(),a=N(e);if(l=arguments,c=this,g=e,a){if(void 0===m)return function(e){return p=e,m=setTimeout(w,t),f?y(e):d}(g);if(M)return clearTimeout(m),m=setTimeout(w,t),y(g)}return void 0===m&&(m=setTimeout(w,t)),d}return t=i(t)||0,r(a)&&(f=!!a.leading,u=(M="maxWait"in a)?s(i(a.maxWait)||0,t):u,h="trailing"in a?!!a.trailing:h),b.cancel=function(){void 0!==m&&clearTimeout(m),p=0,l=g=c=m=void 0},b.flush=function(){return void 0===m?d:x(n())},b}},6135:(e,t,a)=>{e.exports=a(9754)},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9754:(e,t,a)=>{var r=a(3729),n=a(909),i=a(4066),s=a(6449);e.exports=function(e,t){return(s(e)?r:n)(e,i(t))}},3215:(e,t,a)=>{var r=a(641),n=a(4066);e.exports=function(e,t){return e&&r(e,n(t))}},8156:(e,t,a)=>{var r=a(7422);e.exports=function(e,t,a){var n=null==e?void 0:r(e,t);return void 0===n?a:n}},631:(e,t,a)=>{var r=a(8077),n=a(9326);e.exports=function(e,t){return null!=e&&n(e,t,r)}},3488:e=>{e.exports=function(e){return e}},2428:(e,t,a)=>{var r=a(7534),n=a(346),i=Object.prototype,s=i.hasOwnProperty,o=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return n(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=l},6449:e=>{var t=Array.isArray;e.exports=t},4894:(e,t,a)=>{var r=a(1882),n=a(294);e.exports=function(e){return null!=e&&n(e.length)&&!r(e)}},3693:(e,t,a)=>{var r=a(4894),n=a(346);e.exports=function(e){return n(e)&&r(e)}},3656:(e,t,a)=>{e=a.nmd(e);var r=a(9325),n=a(9935),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,o=s&&s.exports===i?r.Buffer:void 0,l=(o?o.isBuffer:void 0)||n;e.exports=l},1882:(e,t,a)=>{var r=a(2552),n=a(3805);e.exports=function(e){if(!n(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7730:(e,t,a)=>{var r=a(9172),n=a(7301),i=a(6009),s=i&&i.isMap,o=s?n(s):r;e.exports=o},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},1331:(e,t,a)=>{var r=a(2552),n=a(8879),i=a(346),s=Function.prototype,o=Object.prototype,l=s.toString,c=o.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=n(e);if(null===t)return!0;var a=c.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&l.call(a)==u}},8440:(e,t,a)=>{var r=a(6038),n=a(7301),i=a(6009),s=i&&i.isSet,o=s?n(s):r;e.exports=o},5015:(e,t,a)=>{var r=a(2552),n=a(6449),i=a(346);e.exports=function(e){return"string"==typeof e||!n(e)&&i(e)&&"[object String]"==r(e)}},4394:(e,t,a)=>{var r=a(2552),n=a(346);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==r(e)}},7167:(e,t,a)=>{var r=a(4901),n=a(7301),i=a(6009),s=i&&i.isTypedArray,o=s?n(s):r;e.exports=o},2216:e=>{e.exports=function(e){return void 0===e}},5950:(e,t,a)=>{var r=a(695),n=a(8984),i=a(4894);e.exports=function(e){return i(e)?r(e):n(e)}},7241:(e,t,a)=>{var r=a(695),n=a(2903),i=a(4894);e.exports=function(e){return i(e)?r(e,!0):n(e)}},5378:(e,t,a)=>{var r=a(4932),n=a(5389),i=a(5128),s=a(6449);e.exports=function(e,t){return(s(e)?r:i)(e,n(t,3))}},104:(e,t,a)=>{var r=a(3661);function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var a=function(){var r=arguments,n=t?t.apply(this,r):r[0],i=a.cache;if(i.has(n))return i.get(n);var s=e.apply(this,r);return a.cache=i.set(n,s)||i,s};return a.cache=new(n.Cache||r),a}n.Cache=r,e.exports=n},5364:(e,t,a)=>{var r=a(5250),n=a(999)((function(e,t,a){r(e,t,a)}));e.exports=n},124:(e,t,a)=>{var r=a(9325);e.exports=function(){return r.Date.now()}},583:(e,t,a)=>{var r=a(7237),n=a(7255),i=a(8586),s=a(7797);e.exports=function(e){return i(e)?r(s(e)):n(e)}},3345:e=>{e.exports=function(){return[]}},9935:e=>{e.exports=function(){return!1}},7350:(e,t,a)=>{var r=a(8221),n=a(3805);e.exports=function(e,t,a){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return n(a)&&(i="leading"in a?!!a.leading:i,s="trailing"in a?!!a.trailing:s),r(e,t,{leading:i,maxWait:t,trailing:s})}},9374:(e,t,a)=>{var r=a(4128),n=a(3805),i=a(4394),s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var a=o.test(e);return a||l.test(e)?c(e.slice(2),a?2:8):s.test(e)?NaN:+e}},9884:(e,t,a)=>{var r=a(1791),n=a(7241);e.exports=function(e){return r(e,n(e))}},3222:(e,t,a)=>{var r=a(7556);e.exports=function(e){return null==e?"":r(e)}},2694:(e,t,a)=>{"use strict";var r=a(6925);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,i,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return a.PropTypes=a,a}},5556:(e,t,a)=>{e.exports=a(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7242:(e,t,a)=>{"use strict";t.A=f;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=u(e)&&"function"!=typeof e)return{default:e};if((t=l(t))&&t.has(e))return t.get(e);var a,r,n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(a in e)"default"!==a&&{}.hasOwnProperty.call(e,a)&&((r=i?Object.getOwnPropertyDescriptor(e,a):null)&&(r.get||r.set)?Object.defineProperty(n,a,r):n[a]=e[a]);return n.default=e,t&&t.set(e,n),n}(a(1609)),n=o(a(9661)),i=o(a(5556)),s=["type","width","height","series","options"];function o(e){return e&&e.__esModule?e:{default:e}}function l(e){var t,a;return"function"!=typeof WeakMap?null:(t=new WeakMap,a=new WeakMap,(l=function(e){return e?a:t})(e))}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a,r=arguments[t];for(a in r)!{}.hasOwnProperty.call(r,a)||(e[a]=r[a])}return e}).apply(null,arguments)}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var a,r=Object.keys(e);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(e),t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)),r}function m(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){g(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function g(e,t,a){return(t=function(e){return e=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);if("object"!=u(t=t.call(e,"string")))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e),"symbol"==u(e)?e:e+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new WeakSet;if(e!==t){if("object"!==u(e)||null===e||"object"!==u(t)||null===t)return!1;if(!a.has(e)&&!a.has(t)){a.add(e),a.add(t);var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0,s=r;i<s.length;i++){var o=s[i];if(!n.includes(o)||!p(e[o],t[o],a))return!1}}}return!0}function f(e){function t(e){return e&&"object"===u(e)&&!Array.isArray(e)}var a=void 0===(M=e.type)?"line":M,i=void 0===(M=e.width)?"100%":M,o=void 0===(M=e.height)?"auto":M,l=e.series,d=e.options,M=function(e,t){if(null==e)return{};var a,r=function(e,t){if(null==e)return{};var a,r={};for(a in e)if({}.hasOwnProperty.call(e,a)){if(t.includes(a))continue;r[a]=e[a]}return r}(e,t);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),i=0;i<n.length;i++)a=n[i],t.includes(a)||{}.propertyIsEnumerable.call(e,a)&&(r[a]=e[a]);return r}(e,s),h=(0,r.useRef)(null),y=(0,r.useRef)(null),N=(0,r.useRef)(),w=((0,r.useEffect)((function(){N.current=d;var e=h.current;return y.current=new n.default(e,w()),y.current.render(),function(){y.current&&"function"==typeof y.current.destroy&&y.current.destroy()}}),[]),(0,r.useEffect)((function(){var e=!p(y.current.w.config.series,l),t=!p(N.current,d)||o!==y.current.opts.chart.height||i!==y.current.opts.chart.width;(e||t)&&(!e||t?y.current.updateOptions(w()):y.current.updateSeries(l)),N.current=d}),[d,l,o,i]),function(){return x(d,{chart:{type:a,height:o,width:i},series:l})}),x=function(e,a){var r=m({},e);return t(e)&&t(a)&&Object.keys(a).forEach((function(n){t(a[n])&&n in e?r[n]=x(e[n],a[n]):Object.assign(r,g({},n,a[n]))})),r};return e=function(e,t){var a=m({},e);return t.forEach((function(e){delete a[e]})),a}(M,Object.keys(f.propTypes)),r.default.createElement("div",c({ref:h},e))}f.propTypes={type:i.default.string.isRequired,series:i.default.array.isRequired,options:i.default.object.isRequired,width:i.default.oneOfType([i.default.string,i.default.number]),height:i.default.oneOfType([i.default.string,i.default.number])}},5338:(e,t,a)=>{"use strict";var r=a(5795);t.H=r.createRoot,r.hydrateRoot},4496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultArea=void 0,t.defaultArea="default-area"},4601:(e,t,a)=>{"use strict";Object.defineProperty(t,"$h",{enumerable:!0,get:function(){return r.trackPromise}}),Object.defineProperty(t,"H8",{enumerable:!0,get:function(){return n.usePromiseTracker}});var r=a(2609),n=(a(4951),a(5398))},5590:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupConfig=t.defaultConfig=void 0;var r=a(4496),n={area:r.defaultArea,delay:0};t.defaultConfig=n,t.setupConfig=function(e){return{area:e&&e.area?e.area:r.defaultArea,delay:e&&e.delay?e.delay:0}}},9220:(e,t)=>{"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function r(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=void 0;var n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"emit",value:function(e){if(!e)return this;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i,s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}}(this._e(e));try{for(s.s();!(i=s.n()).done;){var o=i.value;o.apply(o.ctx,[].concat(r)),1==o.off_event&&this.off(e,o)}}catch(e){s.e(e)}finally{s.f()}return this}},{key:"on",value:function(e,t,a){return e?(t.ctx=a,this._e(e).push(t),this):this}},{key:"once",value:function(e,t,a){return e?(t.ctx=a,t.off_event=!0,this.on(e,t)):this}},{key:"off",value:function(e,t){if(!e)return this;if(!this[e])return this;var a=this._e(e);return t?(this[e]=a.filter((function(e){return e!=t})),this):(delete this[e],this)}},{key:"_e",value:function(e){return this[e]||(this[e]=[])}}],n&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.Emitter=n},2609:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackPromise=t.promiseCounterUpdateEventId=t.manuallyResetPromiseCounter=t.manuallyIncrementPromiseCounter=t.manuallyDecrementPromiseCounter=t.getCounter=t.emitter=void 0;var r=a(9220),n=a(4496),i=new r.Emitter;t.emitter=i;var s="promise-counter-update";t.promiseCounterUpdateEventId=s;var o,l,c=(o={},(l=n.defaultArea)in o?Object.defineProperty(o,l,{value:0,enumerable:!0,configurable:!0,writable:!0}):o[l]=0,o);t.getCounter=function(e){return c[e]},t.trackPromise=function(e,t){t=t||n.defaultArea,u(t);var a=function(){return g(t)};return e.then(a,a),e};var u=function(e){d(e);var t=m(e);i.emit(s,t,e)},d=function(e){Boolean(c[e])?c[e]++:c[e]=1},m=function(e){return c[e]>0},g=function(e){c[e]>0&&p(e);var t=m(e);i.emit(s,t,e)},p=function(e){c[e]--};t.manuallyResetPromiseCounter=function(e){e=e||n.defaultArea,c[e]=0,i.emit(s,!1,e)},t.manuallyDecrementPromiseCounter=function(e){e=e||n.defaultArea,g(e)},t.manuallyIncrementPromiseCounter=function(e){e=e||n.defaultArea,u(e)}},4951:(e,t,a)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.promiseTrackerHoc=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var a=o(t);if(a&&a.has(e))return a.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(n,s,l):n[s]=e[s]}return n.default=e,a&&a.set(e,n),n}(a(1609)),i=a(2609),s=a(5590);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(o=function(e){return e?a:t})(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},l.apply(this,arguments)}function c(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}t.promiseTrackerHoc=function(e){return function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(M,t);var a,o,g,p,f=(g=M,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(g);if(p){var a=m(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function M(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,M),(t=f.call(this,e)).state={promiseInProgress:!1,internalPromiseInProgress:!1,config:(0,s.setupConfig)(e.config)},t.notifyPromiseInProgress=t.notifyPromiseInProgress.bind(d(t)),t.updateProgress=t.updateProgress.bind(d(t)),t.subscribeToCounterUpdate=t.subscribeToCounterUpdate.bind(d(t)),t}return a=M,(o=[{key:"notifyPromiseInProgress",value:function(){var e=this;0===this.state.config.delay?this.setState({promiseInProgress:!0}):setTimeout((function(){var t=Boolean((0,i.getCounter)(e.state.config.area)>0);e.setState({promiseInProgress:t})}),this.state.config.delay)}},{key:"updateProgress",value:function(e,t){this.setState({internalPromiseInProgress:e},t),e?this.notifyPromiseInProgress():this.setState({promiseInProgress:!1})}},{key:"subscribeToCounterUpdate",value:function(){var e=this;i.emitter.on(i.promiseCounterUpdateEventId,(function(t,a){e.state.config.area===a&&e.updateProgress(t)}))}},{key:"componentDidMount",value:function(){this.updateProgress(Boolean((0,i.getCounter)(this.state.config.area)>0),this.subscribeToCounterUpdate)}},{key:"componentWillUnmount",value:function(){i.emitter.off(i.promiseCounterUpdateEventId)}},{key:"render",value:function(){return n.default.createElement(e,l({},this.props,{config:this.state.config,promiseInProgress:this.state.promiseInProgress}))}}])&&c(a.prototype,o),Object.defineProperty(a,"prototype",{writable:!1}),M}(n.Component)}},5398:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePromiseTracker=void 0;var r,n=(r=a(1609))&&r.__esModule?r:{default:r},i=a(2609),s=a(5590);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,i=[],_n=!0,s=!1;try{for(a=a.call(e);!(_n=(r=a.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(e){s=!0,n=e}finally{try{_n||null==a.return||a.return()}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}t.usePromiseTracker=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaultConfig,t=n.default.useRef(!1);n.default.useEffect((function(){return t.current=!0,function(){return t.current=!1}}),[]);var a=o(n.default.useState((0,s.setupConfig)(e)),1)[0];n.default.useEffect((function(){t.current&&a&&a.area&&(0,i.getCounter)(a.area)>0&&(c(!0),m(!0))}),[a]);var r=o(n.default.useState(!1),2),l=r[0],c=r[1],u=o(n.default.useState(!1),2),d=u[0],m=u[1],g=n.default.useRef(l),p=function(e,r){t.current&&a.area===r&&(c(e),g.current=e,e?a&&a.delay&&0!==a.delay?setTimeout((function(){t.current&&g.current&&m(!0)}),a.delay):m(!0):m(!1))};return n.default.useEffect((function(){return g.current=l,i.emitter.on(i.promiseCounterUpdateEventId,p),function(){return i.emitter.off(i.promiseCounterUpdateEventId,p)}}),[]),{promiseInProgress:d}}},4210:(e,t,a)=>{"use strict";function r(e,t,a,r,n,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}const n={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{n[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{n[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{n[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{n[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{n[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{n[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{n[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{n[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{n[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(i,s);n[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,s);n[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,s);n[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{n[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),n.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{n[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:o,SAME:l,possibleStandardNames:c}=a(6811),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce(((e,t)=>{const a=c[t];return a===l?e[t]=t:a===o?e[t.toLowerCase()]=t:e[t]=a,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return n.hasOwnProperty(e)?n[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},6811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},9296:(e,t,a)=>{"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var n=a(6347),i=r(a(1609)),s=a(7929);a(5556),a(7573);var o=r(a(7676));function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),u(e.prototype.constructor=e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(null==e)return{};var a,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)a=i[r],0<=t.indexOf(a)||(n[a]=e[a]);return n}(function(e){function t(){for(var t,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).history=s.createBrowserHistory(t.props),t}c(t,e),t.prototype.render=function(){return i.createElement(n.Router,{history:this.history,children:this.props.children})}})(i.Component),function(e){function t(){for(var t,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).history=s.createHashHistory(t.props),t}c(t,e),t.prototype.render=function(){return i.createElement(n.Router,{history:this.history,children:this.props.children})}}(i.Component);var m=function(e,t){return"function"==typeof e?e(t):e},g=function(e,t){return"string"==typeof e?s.createLocation(e,null,null,t):e},p=function(e){return e},f=i.forwardRef;void 0===f&&(f=p);var M=f((function(e,t){var a=e.innerRef,r=e.navigate,n=e.onClick,s=d(e,["innerRef","navigate","onClick"]),o=s.target,c=l({},s,{onClick:function(e){try{n&&n(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||o&&"_self"!==o||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==f&&t||a,i.createElement("a",c)})),h=f((function(e,t){var a=e.component,r=void 0===a?M:a,c=e.replace,u=e.to,h=e.innerRef,y=d(e,["component","replace","to","innerRef"]);return i.createElement(n.__RouterContext.Consumer,null,(function(e){e||o(!1);var a=e.history,n=g(m(u,e.location),e.location),d=n?a.createHref(n):"",M=l({},y,{href:d,navigate:function(){var t=m(u,e.location),r=s.createPath(e.location)===s.createPath(g(t));(c||r?a.replace:a.push)(t)}});return p!==f?M.ref=t||h:M.innerRef=h,i.createElement(r,M)}))})),y=function(e){return e},N=i.forwardRef;void 0===N&&(N=y);N((function(e,t){var a=e["aria-current"],r=void 0===a?"page":a,s=e.activeClassName,c=void 0===s?"active":s,u=e.activeStyle,p=e.className,f=e.exact,M=e.isActive,w=e.location,x=e.sensitive,b=e.strict,D=e.style,j=e.to,v=e.innerRef,_=d(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(n.__RouterContext.Consumer,null,(function(e){e||o(!1);var a=w||e.location,s=g(m(j,a),a),d=s.pathname,I=d&&d.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),E=I?n.matchPath(a.pathname,{path:I,exact:f,sensitive:x,strict:b}):null,L=!!(M?M(E,a):E),T="function"==typeof p?p(L):p,A="function"==typeof D?D(L):D;L&&(T=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((function(e){return e})).join(" ")}(T,c),A=l({},A,u));var z=l({"aria-current":L&&r||null,className:T,style:A,to:s},_);return y!==N?z.ref=t||v:z.innerRef=v,i.createElement(h,z)}))}));Object.defineProperty(t,"W6",{enumerable:!0,get:function(){return n.useHistory}})},6347:(e,t,a)=>{"use strict";a.r(t),a.d(t,{MemoryRouter:()=>D,Prompt:()=>v,Redirect:()=>T,Route:()=>O,Router:()=>b,StaticRouter:()=>F,Switch:()=>R,__HistoryContext:()=>w,__RouterContext:()=>x,generatePath:()=>L,matchPath:()=>S,useHistory:()=>W,useLocation:()=>V,useParams:()=>Z,useRouteMatch:()=>G,withRouter:()=>H});var r=a(7387),n=a(1609),i=a.n(n),s=a(5556),o=a.n(s),l=a(7929),c=a(1561),u=a(8168),d=a(8505),m=a.n(d),g=(a(7564),a(8587)),p=a(4146),f=a.n(p),M=1073741823,h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a.g?a.g:{},y=i().createContext||function(e,t){var a,n,s,l="__create-react-context-"+((h[s="__global_unique_id__"]=(h[s]||0)+1)+"__"),c=function(e){function a(){for(var t,a,r,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).emitter=(a=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return a},set:function(e,t){a=e,r.forEach((function(e){return e(a,t)}))}}),t}(0,r.A)(a,e);var n=a.prototype;return n.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var a,r=this.props.value,n=e.value;((i=r)===(s=n)?0!==i||1/i==1/s:i!=i&&s!=s)?a=0:(a="function"==typeof t?t(r,n):M,0!=(a|=0)&&this.emitter.set(e.value,a))}var i,s},n.render=function(){return this.props.children},a}(i().Component);c.childContextTypes=((a={})[l]=o().object.isRequired,a);var u=function(t){function a(){for(var e,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,a){e.observedBits&a&&e.setState({value:e.getValue()})},e}(0,r.A)(a,t);var n=a.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?M:t},n.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?M:e},n.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},n.getValue=function(){return this.context[l]?this.context[l].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},a}(i().Component);return u.contextTypes=((n={})[l]=o().object,n),{Provider:c,Consumer:u}},N=function(e){var t=y();return t.displayName=e,t},w=N("Router-History"),x=N("Router"),b=function(e){function t(t){var a;return(a=e.call(this,t)||this).state={location:t.history.location},a._isMounted=!1,a._pendingLocation=null,t.staticContext||(a.unlisten=t.history.listen((function(e){a._pendingLocation=e}))),a}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var a=t.prototype;return a.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},a.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},a.render=function(){return i().createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component),D=function(e){function t(){for(var t,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,l.createMemoryHistory)(t.props),t}return(0,r.A)(t,e),t.prototype.render=function(){return i().createElement(b,{history:this.history,children:this.props.children})},t}(i().Component),j=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var a=t.prototype;return a.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},a.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},a.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},a.render=function(){return null},t}(i().Component);function v(e){var t=e.message,a=e.when,r=void 0===a||a;return i().createElement(x.Consumer,null,(function(e){if(e||(0,c.A)(!1),!r||e.staticContext)return null;var a=e.history.block;return i().createElement(j,{onMount:function(e){e.release=a(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=a(t))},onUnmount:function(e){e.release()},message:t})}))}var _={},I=1e4,E=0;function L(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(_[e])return _[e];var t=m().compile(e);return E<I&&(_[e]=t,E++),t}(e)(t,{pretty:!0})}function T(e){var t=e.computedMatch,a=e.to,r=e.push,n=void 0!==r&&r;return i().createElement(x.Consumer,null,(function(e){e||(0,c.A)(!1);var r=e.history,s=e.staticContext,o=n?r.push:r.replace,d=(0,l.createLocation)(t?"string"==typeof a?L(a,t.params):(0,u.A)({},a,{pathname:L(a.pathname,t.params)}):a);return s?(o(d),null):i().createElement(j,{onMount:function(){o(d)},onUpdate:function(e,t){var a=(0,l.createLocation)(t.to);(0,l.locationsAreEqual)(a,(0,u.A)({},d,{key:a.key}))||o(d)},to:a})}))}var A={},z=1e4,k=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var a=t,r=a.path,n=a.exact,i=void 0!==n&&n,s=a.strict,o=void 0!==s&&s,l=a.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,a){if(!a&&""!==a)return null;if(t)return t;var r=function(e,t){var a=""+t.end+t.strict+t.sensitive,r=A[a]||(A[a]={});if(r[e])return r[e];var n=[],i={regexp:m()(e,n,t),keys:n};return k<z&&(r[e]=i,k++),i}(a,{end:i,strict:o,sensitive:c}),n=r.regexp,s=r.keys,l=n.exec(e);if(!l)return null;var u=l[0],d=l.slice(1),g=e===u;return i&&!g?null:{path:a,url:"/"===a&&""===u?"/":u,isExact:g,params:s.reduce((function(e,t,a){return e[t.name]=d[a],e}),{})}}),null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i().createElement(x.Consumer,null,(function(t){t||(0,c.A)(!1);var a=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(a.pathname,e.props):t.match,n=(0,u.A)({},t,{location:a,match:r}),s=e.props,o=s.children,l=s.component,d=s.render;return Array.isArray(o)&&function(e){return 0===i().Children.count(e)}(o)&&(o=null),i().createElement(x.Provider,{value:n},n.match?o?"function"==typeof o?o(n):o:l?i().createElement(l,n):d?d(n):null:"function"==typeof o?o(n):null)}))},t}(i().Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function Y(e,t){if(!e)return t;var a=C(e);return 0!==t.pathname.indexOf(a)?t:(0,u.A)({},t,{pathname:t.pathname.substr(a.length)})}function U(e){return"string"==typeof e?e:(0,l.createPath)(e)}function Q(e){return function(){(0,c.A)(!1)}}function P(){}var F=function(e){function t(){for(var t,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return P},t.handleBlock=function(){return P},t}(0,r.A)(t,e);var a=t.prototype;return a.navigateTo=function(e,t){var a=this.props,r=a.basename,n=void 0===r?"":r,i=a.context,s=void 0===i?{}:i;s.action=t,s.location=function(e,t){return e?(0,u.A)({},t,{pathname:C(e)+t.pathname}):t}(n,(0,l.createLocation)(e)),s.url=U(s.location)},a.render=function(){var e=this.props,t=e.basename,a=void 0===t?"":t,r=e.context,n=void 0===r?{}:r,s=e.location,o=void 0===s?"/":s,c=(0,g.A)(e,["basename","context","location"]),d={createHref:function(e){return C(a+U(e))},action:"POP",location:Y(a,(0,l.createLocation)(o)),push:this.handlePush,replace:this.handleReplace,go:Q(),goBack:Q(),goForward:Q(),listen:this.handleListen,block:this.handleBlock};return i().createElement(b,(0,u.A)({},c,{history:d,staticContext:n}))},t}(i().Component),R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i().createElement(x.Consumer,null,(function(t){t||(0,c.A)(!1);var a,r,n=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){a=e;var s=e.props.path||e.props.from;r=s?S(n.pathname,(0,u.A)({},e.props,{path:s})):t.match}})),r?i().cloneElement(a,{location:n,computedMatch:r}):null}))},t}(i().Component);function H(e){var t="withRouter("+(e.displayName||e.name)+")",a=function(t){var a=t.wrappedComponentRef,r=(0,g.A)(t,["wrappedComponentRef"]);return i().createElement(x.Consumer,null,(function(t){return t||(0,c.A)(!1),i().createElement(e,(0,u.A)({},r,t,{ref:a}))}))};return a.displayName=t,a.WrappedComponent=e,f()(a,e)}var B=i().useContext;function W(){return B(w)}function V(){return B(x).location}function Z(){var e=B(x).match;return e?e.params:{}}function G(e){var t=V(),a=B(x).match;return e?S(t.pathname,e):a}},9375:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},8505:(e,t,a)=>{var r=a(9375);e.exports=function e(t,a,n){return r(a)||(n=a||n,a=[]),n=n||{},t instanceof RegExp?function(e,t){var a=e.source.match(/\((?!\?)/g);if(a)for(var r=0;r<a.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(t,a):r(t)?function(t,a,r){for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],a,r).source);return d(new RegExp("(?:"+n.join("|")+")",m(r)),a)}(t,a,n):function(e,t,a){return g(i(e,a),t,a)}(t,a,n)},e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=g;var n=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var a,r=[],i=0,o=0,l="",c=t&&t.delimiter||"/";null!=(a=n.exec(e));){var d=a[0],m=a[1],g=a.index;if(l+=e.slice(o,g),o=g+d.length,m)l+=m[1];else{var p=e[o],f=a[2],M=a[3],h=a[4],y=a[5],N=a[6],w=a[7];l&&(r.push(l),l="");var x=null!=f&&null!=p&&p!==f,b="+"===N||"*"===N,D="?"===N||"*"===N,j=f||c,v=h||y,_=f||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:M||i++,prefix:f||"",delimiter:j,optional:D,repeat:b,partial:x,asterisk:!!w,pattern:v?u(v):w?".*":s(j,_)})}}return o<e.length&&(l+=e.substr(o)),l&&r.push(l),r}function s(e,t){return!t||t.indexOf(e)>-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function o(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var a=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(a[n]=new RegExp("^(?:"+e[n].pattern+")$",m(t)));return function(t,n){for(var i="",s=t||{},l=(n||{}).pretty?o:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,m=s[u.name];if(null==m){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(m)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(m)+"`");if(0===m.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var g=0;g<m.length;g++){if(d=l(m[g]),!a[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===g?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(m).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(m),!a[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function m(e){return e&&e.sensitive?"":"i"}function g(e,t,a){r(t)||(a=t||a,t=[]);for(var n=(a=a||{}).strict,i=!1!==a.end,s="",o=0;o<e.length;o++){var l=e[o];if("string"==typeof l)s+=c(l);else{var u=c(l.prefix),g="(?:"+l.pattern+")";t.push(l),l.repeat&&(g+="(?:"+u+g+")*"),s+=g=l.optional?l.partial?u+"("+g+")?":"(?:"+u+"("+g+"))?":u+"("+g+")"}}var p=c(a.delimiter||"/"),f=s.slice(-p.length)===p;return n||(s=(f?s.slice(0,-p.length):s)+"(?:"+p+"(?=$))?"),s+=i?"$":n&&f?"":"(?="+p+"|$)",d(new RegExp("^"+s,m(a)),t)}},4912:(e,t)=>{"use strict";var a="function"==typeof Symbol&&Symbol.for;a&&Symbol.for("react.element"),a&&Symbol.for("react.portal"),a&&Symbol.for("react.fragment"),a&&Symbol.for("react.strict_mode"),a&&Symbol.for("react.profiler"),a&&Symbol.for("react.provider"),a&&Symbol.for("react.context"),a&&Symbol.for("react.async_mode"),a&&Symbol.for("react.concurrent_mode"),a&&Symbol.for("react.forward_ref"),a&&Symbol.for("react.suspense"),a&&Symbol.for("react.suspense_list"),a&&Symbol.for("react.memo"),a&&Symbol.for("react.lazy"),a&&Symbol.for("react.block"),a&&Symbol.for("react.fundamental"),a&&Symbol.for("react.responder"),a&&Symbol.for("react.scope")},7564:(e,t,a)=>{"use strict";a(4912)},5901:(e,t,a)=>{var r=a(246),n=a(1720),i=a(1609),s=a(2236);function o(e){return e&&e.__esModule?e.default:e}function l(e,t,a,r){Object.defineProperty(e,t,{get:a,set:r,enumerable:!0,configurable:!0})}function c(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e){e.forEach((e=>c(e.element)))}function d(e){e.forEach((e=>{!function(e,t,a){const r=e.children[a]||null;e.insertBefore(t,r)}(e.parentElement,e.element,e.oldIndex)}))}function m(e,t){const a=f(e),r={parentElement:e.from};let n=[];switch(a){case"normal":n=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":n=[{element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex,...r},{element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex,...r}];break;case"multidrag":n=e.oldIndicies.map(((t,a)=>({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[a].index,...r})))}const i=function(e,t){return e.map((e=>({...e,item:t[e.oldIndex]}))).sort(((e,t)=>e.oldIndex-t.oldIndex))}(n,t);return i}function g(e,t){const a=[...t];return e.concat().reverse().forEach((e=>a.splice(e.oldIndex,1))),a}function p(e,t,a,r){const n=[...t];return e.forEach((e=>{const t=r&&a&&r(e.item,a);n.splice(e.newIndex,0,t||e.item)})),n}function f(e){return e.oldIndicies&&e.oldIndicies.length>0?"multidrag":e.swapItem?"swap":"normal"}l(e.exports,"Sortable",(()=>$882b6d93070905b3$re_export$Sortable)),l(e.exports,"Direction",(()=>$882b6d93070905b3$re_export$Direction)),l(e.exports,"DOMRect",(()=>$882b6d93070905b3$re_export$DOMRect)),l(e.exports,"GroupOptions",(()=>$882b6d93070905b3$re_export$GroupOptions)),l(e.exports,"MoveEvent",(()=>$882b6d93070905b3$re_export$MoveEvent)),l(e.exports,"Options",(()=>$882b6d93070905b3$re_export$Options)),l(e.exports,"PullResult",(()=>$882b6d93070905b3$re_export$PullResult)),l(e.exports,"PutResult",(()=>$882b6d93070905b3$re_export$PutResult)),l(e.exports,"SortableEvent",(()=>$882b6d93070905b3$re_export$SortableEvent)),l(e.exports,"SortableOptions",(()=>$882b6d93070905b3$re_export$SortableOptions)),l(e.exports,"Utils",(()=>$882b6d93070905b3$re_export$Utils)),l(e.exports,"ReactSortable",(()=>h));const M={dragging:null};class h extends i.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,i.createRef)();const t=[...e.list].map((e=>Object.assign(e,{chosen:!1,selected:!1})));e.setList(t,this.sortable,M),o(s)(!e.plugins,'\nPlugins prop is no longer supported.\nInstead, mount it with "Sortable.mount(new MultiDrag())"\nPlease read the updated README.md at https://github.com/SortableJS/react-sortablejs.\n      ')}componentDidMount(){if(null===this.ref.current)return;const e=this.makeOptions();o(r).create(this.ref.current,e)}componentDidUpdate(e){e.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:e,style:t,className:a,id:r}=this.props,n={style:t,className:a,id:r},s=e&&null!==e?e:"div";return(0,i.createElement)(s,{ref:this.ref,...n},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:a="sortable-selected",chosenClass:r="sortable-chosen",dragClass:s="sortable-drag",fallbackClass:l="sortable-falback",ghostClass:c="sortable-ghost",swapClass:u="sortable-swap-highlight",filter:d="sortable-filter",list:m}=this.props;if(!e||null==e)return null;const g=t||"data-id";return i.Children.map(e,((e,t)=>{if(void 0===e)return;const s=m[t]||{},{className:l}=e.props,c="string"==typeof d&&{[d.replace(".","")]:!!s.filtered},u=o(n)(l,{[a]:s.selected,[r]:s.chosen,...c});return(0,i.cloneElement)(e,{[g]:e.key,className:u})}))}get sortable(){const e=this.ref.current;if(null===e)return null;const t=Object.keys(e).find((e=>e.includes("Sortable")));return t?e[t]:null}makeOptions(){const e=function(e){const{list:t,setList:a,children:r,tag:n,style:i,className:s,clone:o,onAdd:l,onChange:c,onChoose:u,onClone:d,onEnd:m,onFilter:g,onRemove:p,onSort:f,onStart:M,onUnchoose:h,onUpdate:y,onMove:N,onSpill:w,onSelect:x,onDeselect:b,...D}=e;return D}(this.props);return["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"].forEach((t=>e[t]=this.prepareOnHandlerPropAndDOM(t))),["onChange","onClone","onFilter","onSort"].forEach((t=>e[t]=this.prepareOnHandlerProp(t))),{...e,onMove:(e,t)=>{const{onMove:a}=this.props,r=e.willInsertAfter||-1;if(!a)return r;const n=a(e,t,this.sortable,M);return void 0!==n&&n}}}prepareOnHandlerPropAndDOM(e){return t=>{this.callOnHandlerProp(t,e),this[e](t)}}prepareOnHandlerProp(e){return t=>{this.callOnHandlerProp(t,e)}}callOnHandlerProp(e,t){const a=this.props[t];a&&a(e,this.sortable,M)}onAdd(e){const{list:t,setList:a,clone:r}=this.props,n=m(e,[...M.dragging.props.list]);u(n),a(p(n,t,e,r).map((e=>Object.assign(e,{selected:!1}))),this.sortable,M)}onRemove(e){const{list:t,setList:a}=this.props,r=f(e),n=m(e,t);d(n);let i=[...t];if("clone"!==e.pullMode)i=g(n,i);else{let t=n;switch(r){case"multidrag":t=n.map(((t,a)=>({...t,element:e.clones[a]})));break;case"normal":t=n.map((t=>({...t,element:e.clone})));break;default:o(s)(!0,`mode "${r}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${r}" plugin`)}u(t),n.forEach((t=>{const a=t.oldIndex,r=this.props.clone(t.item,e);i.splice(a,1,r)}))}i=i.map((e=>Object.assign(e,{selected:!1}))),a(i,this.sortable,M)}onUpdate(e){const{list:t,setList:a}=this.props,r=m(e,t);return u(r),d(r),a(function(e,t){return p(e,g(e,t))}(r,t),this.sortable,M)}onStart(){M.dragging=this}onEnd(){M.dragging=null}onChoose(e){const{list:t,setList:a}=this.props;a(t.map(((t,a)=>{let r=t;return a===e.oldIndex&&(r=Object.assign(t,{chosen:!0})),r})),this.sortable,M)}onUnchoose(e){const{list:t,setList:a}=this.props;a(t.map(((t,a)=>{let r=t;return a===e.oldIndex&&(r=Object.assign(r,{chosen:!1})),r})),this.sortable,M)}onSpill(e){const{removeOnSpill:t,revertOnSpill:a}=this.props;t&&!a&&c(e.item)}onSelect(e){const{list:t,setList:a}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((t=>{const a=t.index;if(-1===a)return console.log(`"${e.type}" had indice of "${t.index}", which is probably -1 and doesn't usually happen here.`),void console.log(e);r[a].selected=!0})),a(r,this.sortable,M)}onDeselect(e){const{list:t,setList:a}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((e=>{const t=e.index;-1!==t&&(r[t].selected=!0)})),a(r,this.sortable,M)}}var y,N;y=e.exports,N={},Object.keys(N).forEach((function(e){"default"===e||"__esModule"===e||y.hasOwnProperty(e)||Object.defineProperty(y,e,{enumerable:!0,get:function(){return N[e]}})}))},1720:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)){if(a.length){var s=n.apply(null,a);s&&e.push(s)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var o in a)r.call(a,o)&&a[o]&&e.push(o);else e.push(a.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},2236:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var r=!0,n="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(n);var a="function"==typeof t?t():t;throw new Error(a?n+": "+a:n)}}},6892:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,n=(r=a(3215))&&r.__esModule?r:{default:r},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},s={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){return t[e]||{extend:e}}},o=t.autoprefix=function(e){var t={};return(0,n.default)(e,(function(e,a){var r={};(0,n.default)(e,(function(e,t){var a=s[t];a?r=i({},r,a(e)):r[t]=e})),t[a]=r})),t};t.default=o},5268:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},i=(r=a(1609))&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var o=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(a){function r(){var a,o,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return o=l=s(this,(a=r.__proto__||Object.getPrototypeOf(r)).call.apply(a,[this].concat(u))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return i.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},i.default.createElement(e,n({},l.props,l.state)))},s(l,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,a),r}(i.default.Component)};t.default=o},6686:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},i=(r=a(1609))&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var o=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(a){function r(){var a,o,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return o=l=s(this,(a=r.__proto__||Object.getPrototypeOf(r)).call.apply(a,[this].concat(u))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return i.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},i.default.createElement(e,n({},l.props,l.state)))},s(l,o)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,a),r}(i.default.Component)};t.default=o},9265:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=o(a(5015)),n=o(a(3215)),i=o(a(1331)),s=o(a(5378));function o(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=[];return(0,s.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return a.push(e)})):(0,i.default)(t)?(0,n.default)(t,(function(e,t){!0===e&&a.push(t),a.push(t+"-"+e)})):(0,r.default)(t)&&a.push(t)})),a};t.default=l},8527:(e,t,a)=>{"use strict";t.H8=void 0;var r=c(a(9265)),n=c(a(6203)),i=c(a(6892)),s=c(a(6686)),o=c(a(5268)),l=c(a(2693));function c(e){return e&&e.__esModule?e:{default:e}}s.default,t.H8=s.default,o.default,l.default;t.Ay=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];var o=(0,r.default)(a),l=(0,n.default)(e,o);return(0,i.default)(l)}},2693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];a[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),a}},6203:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=s(a(3215)),n=s(a(8055)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e};function s(e){return e&&e.__esModule?e:{default:e}}var o=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=e.default&&(0,n.default)(e.default)||{};return t.map((function(t){var n=e[t];return n&&(0,r.default)(n,(function(e,t){a[t]||(a[t]={}),a[t]=i({},a[t],n[t])})),t})),a};t.default=o},246:(e,t,a)=>{"use strict";function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function n(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},o.apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}a.r(t),a.d(t,{MultiDrag:()=>Nt,Sortable:()=>Pe,Swap:()=>lt,default:()=>bt});var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),m=c(/firefox/i),g=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),f=c(/chrome/i)&&c(/android/i),M={capture:!1,passive:!1};function h(e,t,a){e.addEventListener(t,a,!u&&M)}function y(e,t,a){e.removeEventListener(t,a,!u&&M)}function N(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function x(e,t,a,r){if(e){a=a||document;do{if(null!=t&&(">"===t[0]?e.parentNode===a&&N(e,t):N(e,t))||r&&e===a)return e;if(e===a)break}while(e=w(e))}return null}var b,D=/\s+/g;function j(e,t,a){if(e&&t)if(e.classList)e.classList[a?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(D," ").replace(" "+t+" "," ");e.className=(r+(a?" "+t:"")).replace(D," ")}}function v(e,t,a){var r=e&&e.style;if(r){if(void 0===a)return document.defaultView&&document.defaultView.getComputedStyle?a=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(a=e.currentStyle),void 0===t?a:a[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=a+("string"==typeof a?"":"px")}}function _(e,t){var a="";if("string"==typeof e)a=e;else do{var r=v(e,"transform");r&&"none"!==r&&(a=r+" "+a)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(a)}function I(e,t,a){if(e){var r=e.getElementsByTagName(t),n=0,i=r.length;if(a)for(;n<i;n++)a(r[n],n);return r}return[]}function E(){return document.scrollingElement||document.documentElement}function L(e,t,a,r,n){if(e.getBoundingClientRect||e===window){var i,s,o,l,c,d,m;if(e!==window&&e.parentNode&&e!==E()?(s=(i=e.getBoundingClientRect()).top,o=i.left,l=i.bottom,c=i.right,d=i.height,m=i.width):(s=0,o=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||a)&&e!==window&&(n=n||e.parentNode,!u))do{if(n&&n.getBoundingClientRect&&("none"!==v(n,"transform")||a&&"static"!==v(n,"position"))){var g=n.getBoundingClientRect();s-=g.top+parseInt(v(n,"border-top-width")),o-=g.left+parseInt(v(n,"border-left-width")),l=s+i.height,c=o+i.width;break}}while(n=n.parentNode);if(r&&e!==window){var p=_(n||e),f=p&&p.a,M=p&&p.d;p&&(l=(s/=M)+(d/=M),c=(o/=f)+(m/=f))}return{top:s,left:o,bottom:l,right:c,width:m,height:d}}}function T(e,t,a){for(var r=O(e,!0),n=L(e)[t];r;){var i=L(r)[a];if(!("top"===a||"left"===a?n>=i:n<=i))return r;if(r===E())break;r=O(r,!1)}return!1}function A(e,t,a,r){for(var n=0,i=0,s=e.children;i<s.length;){if("none"!==s[i].style.display&&s[i]!==Pe.ghost&&(r||s[i]!==Pe.dragged)&&x(s[i],a.draggable,e,!1)){if(n===t)return s[i];n++}i++}return null}function z(e,t){for(var a=e.lastElementChild;a&&(a===Pe.ghost||"none"===v(a,"display")||t&&!N(a,t));)a=a.previousElementSibling;return a||null}function k(e,t){var a=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Pe.clone||t&&!N(e,t)||a++;return a}function S(e){var t=0,a=0,r=E();if(e)do{var n=_(e),i=n.a,s=n.d;t+=e.scrollLeft*i,a+=e.scrollTop*s}while(e!==r&&(e=e.parentNode));return[t,a]}function O(e,t){if(!e||!e.getBoundingClientRect)return E();var a=e,r=!1;do{if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var n=v(a);if(a.clientWidth<a.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||a.clientHeight<a.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!a.getBoundingClientRect||a===document.body)return E();if(r||t)return a;r=!0}}}while(a=a.parentNode);return E()}function C(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function Y(e,t){return function(){if(!b){var a=arguments;1===a.length?e.call(this,a[0]):e.apply(this,a),b=setTimeout((function(){b=void 0}),t)}}}function U(e,t,a){e.scrollLeft+=t,e.scrollTop+=a}function Q(e){var t=window.Polymer,a=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):a?a(e).clone(!0)[0]:e.cloneNode(!0)}function P(e,t){v(e,"position","absolute"),v(e,"top",t.top),v(e,"left",t.left),v(e,"width",t.width),v(e,"height",t.height)}function F(e){v(e,"position",""),v(e,"top",""),v(e,"left",""),v(e,"width",""),v(e,"height","")}var R="Sortable"+(new Date).getTime();var H=[],B={initializeByDefault:!0},W={mount:function(e){for(var t in B)B.hasOwnProperty(t)&&!(t in e)&&(e[t]=B[t]);H.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),H.push(e)},pluginEvent:function(e,t,a){var r=this;this.eventCanceled=!1,a.cancel=function(){r.eventCanceled=!0};var i=e+"Global";H.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](n({sortable:t},a)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](n({sortable:t},a)))}))},initializePlugins:function(e,t,a,r){for(var n in H.forEach((function(r){var n=r.pluginName;if(e.options[n]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[n]=i,o(a,i.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var i=this.modifyOption(e,n,e.options[n]);void 0!==i&&(e.options[n]=i)}},getEventProperties:function(e,t){var a={};return H.forEach((function(r){"function"==typeof r.eventProperties&&o(a,r.eventProperties.call(t[r.pluginName],e))})),a},modifyOption:function(e,t,a){var r;return H.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(r=n.optionListeners[t].call(e[n.pluginName],a))})),r}};function V(e){var t=e.sortable,a=e.rootEl,r=e.name,i=e.targetEl,s=e.cloneEl,o=e.toEl,l=e.fromEl,c=e.oldIndex,m=e.newIndex,g=e.oldDraggableIndex,p=e.newDraggableIndex,f=e.originalEvent,M=e.putSortable,h=e.extraEventProperties;if(t=t||a&&a[R]){var y,N=t.options,w="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||d?(y=document.createEvent("Event")).initEvent(r,!0,!0):y=new CustomEvent(r,{bubbles:!0,cancelable:!0}),y.to=o||a,y.from=l||a,y.item=i||a,y.clone=s,y.oldIndex=c,y.newIndex=m,y.oldDraggableIndex=g,y.newDraggableIndex=p,y.originalEvent=f,y.pullMode=M?M.lastPutMode:void 0;var x=n(n({},h),W.getEventProperties(r,t));for(var b in x)y[b]=x[b];a&&a.dispatchEvent(y),N[w]&&N[w].call(t,y)}}var Z=["evt"],G=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=a.evt,i=function(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}(a,Z);W.pluginEvent.bind(Pe)(e,t,n({dragEl:J,parentEl:q,ghostEl:$,rootEl:K,nextEl:ee,lastDownEl:te,cloneEl:ae,cloneHidden:re,dragStarted:Me,putSortable:ce,activeSortable:Pe.active,originalEvent:r,oldIndex:ne,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:oe,hideGhostForTarget:Ce,unhideGhostForTarget:Ye,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){X({sortable:t,name:e,originalEvent:r})}},i))};function X(e){V(n({putSortable:ce,cloneEl:ae,targetEl:J,rootEl:K,oldIndex:ne,oldDraggableIndex:se,newIndex:ie,newDraggableIndex:oe},e))}var J,q,$,K,ee,te,ae,re,ne,ie,se,oe,le,ce,ue,de,me,ge,pe,fe,Me,he,ye,Ne,we,xe=!1,be=!1,De=[],je=!1,ve=!1,_e=[],Ie=!1,Ee=[],Le="undefined"!=typeof document,Te=p,Ae=d||u?"cssFloat":"float",ze=Le&&!f&&!p&&"draggable"in document.createElement("div"),ke=function(){if(Le){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Se=function(e,t){var a=v(e),r=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),n=A(e,0,t),i=A(e,1,t),s=n&&v(n),o=i&&v(i),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(n).width,c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+L(i).width;if("flex"===a.display)return"column"===a.flexDirection||"column-reverse"===a.flexDirection?"vertical":"horizontal";if("grid"===a.display)return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!i||"both"!==o.clear&&o.clear!==u?"horizontal":"vertical"}return n&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=r&&"none"===a[Ae]||i&&"none"===a[Ae]&&l+c>r)?"vertical":"horizontal"},Oe=function(e){function t(e,a){return function(r,n,i,s){var o=r.options.group.name&&n.options.group.name&&r.options.group.name===n.options.group.name;if(null==e&&(a||o))return!0;if(null==e||!1===e)return!1;if(a&&"clone"===e)return e;if("function"==typeof e)return t(e(r,n,i,s),a)(r,n,i,s);var l=(a?r:n).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var a={},r=e.group;r&&"object"==i(r)||(r={name:r}),a.name=r.name,a.checkPull=t(r.pull,!0),a.checkPut=t(r.put),a.revertClone=r.revertClone,e.group=a},Ce=function(){!ke&&$&&v($,"display","none")},Ye=function(){!ke&&$&&v($,"display","")};Le&&document.addEventListener("click",(function(e){if(be)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),be=!1,!1}),!0);var Ue=function(e){if(J){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,i=e.clientY,De.some((function(e){var t=e[R].options.emptyInsertThreshold;if(t&&!z(e)){var a=L(e),r=n>=a.left-t&&n<=a.right+t,o=i>=a.top-t&&i<=a.bottom+t;return r&&o?s=e:void 0}})),s);if(t){var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r]);a.target=a.rootEl=t,a.preventDefault=void 0,a.stopPropagation=void 0,t[R]._onDragOver(a)}}var n,i,s},Qe=function(e){J&&J.parentNode[R]._isOutsideThisEl(e.target)};function Pe(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[R]=this;var a,r,i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Se(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Pe.supportPointer&&"PointerEvent"in window&&!g,emptyInsertThreshold:5};for(var s in W.initializePlugins(this,e,i),i)!(s in t)&&(t[s]=i[s]);for(var l in Oe(t),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!t.forceFallback&&ze,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?h(e,"pointerdown",this._onTapStart):(h(e,"mousedown",this._onTapStart),h(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(h(e,"dragover",this),h(e,"dragenter",this)),De.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,(r=[],{captureAnimationState:function(){r=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==v(e,"display")&&e!==Pe.ghost){r.push({target:e,rect:L(e)});var t=n({},r[r.length-1].rect);if(e.thisAnimationDuration){var a=_(e,!0);a&&(t.top-=a.f,t.left-=a.e)}e.fromRect=t}}))},addAnimationState:function(e){r.push(e)},removeAnimationState:function(e){r.splice(function(e,t){for(var a in e)if(e.hasOwnProperty(a))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[a][r])return Number(a);return-1}(r,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(a),void("function"==typeof e&&e());var n=!1,i=0;r.forEach((function(e){var a=0,r=e.target,s=r.fromRect,o=L(r),l=r.prevFromRect,c=r.prevToRect,u=e.rect,d=_(r,!0);d&&(o.top-=d.f,o.left-=d.e),r.toRect=o,r.thisAnimationDuration&&C(l,o)&&!C(s,o)&&(u.top-o.top)/(u.left-o.left)==(s.top-o.top)/(s.left-o.left)&&(a=function(e,t,a,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-a.top,2)+Math.pow(t.left-a.left,2))*r.animation}(u,l,c,t.options)),C(o,s)||(r.prevFromRect=s,r.prevToRect=o,a||(a=t.options.animation),t.animate(r,u,o,a)),a&&(n=!0,i=Math.max(i,a),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),a),r.thisAnimationDuration=a)})),clearTimeout(a),n?a=setTimeout((function(){"function"==typeof e&&e()}),i):"function"==typeof e&&e(),r=[]},animate:function(e,t,a,r){if(r){v(e,"transition",""),v(e,"transform","");var n=_(this.el),i=n&&n.a,s=n&&n.d,o=(t.left-a.left)/(i||1),l=(t.top-a.top)/(s||1);e.animatingX=!!o,e.animatingY=!!l,v(e,"transform","translate3d("+o+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),v(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),v(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){v(e,"transition",""),v(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}))}function Fe(e,t,a,r,n,i,s,o){var l,c,m=e[R],g=m.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=a,l.draggedRect=r,l.related=n||t,l.relatedRect=i||L(t),l.willInsertAfter=o,l.originalEvent=s,e.dispatchEvent(l),g&&(c=g.call(m,l,s)),c}function Re(e){e.draggable=!1}function He(){Ie=!1}function Be(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,a=t.length,r=0;a--;)r+=t.charCodeAt(a);return r.toString(36)}function We(e){return setTimeout(e,0)}function Ve(e){return clearTimeout(e)}Pe.prototype={constructor:Pe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(he=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,J):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,a=this.el,r=this.options,n=r.preventOnFilter,i=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,o=(s||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||o,c=r.filter;if(function(e){Ee.length=0;for(var t=e.getElementsByTagName("input"),a=t.length;a--;){var r=t[a];r.checked&&Ee.push(r)}}(a),!J&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!g||!o||"SELECT"!==o.tagName.toUpperCase())&&!((o=x(o,r.draggable,a,!1))&&o.animated||te===o)){if(ne=k(o),se=k(o,r.draggable),"function"==typeof c){if(c.call(this,e,o,this))return X({sortable:t,rootEl:l,name:"filter",targetEl:o,toEl:a,fromEl:a}),G("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=x(l,r.trim(),a,!1))return X({sortable:t,rootEl:r,name:"filter",targetEl:o,fromEl:a,toEl:a}),G("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());r.handle&&!x(l,r.handle,a,!1)||this._prepareDragStart(e,s,o)}}},_prepareDragStart:function(e,t,a){var r,n=this,i=n.el,s=n.options,o=i.ownerDocument;if(a&&!J&&a.parentNode===i){var l=L(a);if(K=i,q=(J=a).parentNode,ee=J.nextSibling,te=a,le=s.group,Pe.dragged=J,ue={target:J,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-l.left,fe=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,J.style["will-change"]="all",r=function(){G("delayEnded",n,{evt:e}),Pe.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!m&&n.nativeDraggable&&(J.draggable=!0),n._triggerDragStart(e,t),X({sortable:n,name:"choose",originalEvent:e}),j(J,s.chosenClass,!0))},s.ignore.split(",").forEach((function(e){I(J,e.trim(),Re)})),h(o,"dragover",Ue),h(o,"mousemove",Ue),h(o,"touchmove",Ue),h(o,"mouseup",n._onDrop),h(o,"touchend",n._onDrop),h(o,"touchcancel",n._onDrop),m&&this.nativeDraggable&&(this.options.touchStartThreshold=4,J.draggable=!0),G("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))r();else{if(Pe.eventCanceled)return void this._onDrop();h(o,"mouseup",n._disableDelayedDrag),h(o,"touchend",n._disableDelayedDrag),h(o,"touchcancel",n._disableDelayedDrag),h(o,"mousemove",n._delayedDragTouchMoveHandler),h(o,"touchmove",n._delayedDragTouchMoveHandler),s.supportPointer&&h(o,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){J&&Re(J),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?h(document,"pointermove",this._onTouchMove):h(document,t?"touchmove":"mousemove",this._onTouchMove):(h(J,"dragend",this),h(K,"dragstart",this._onDragStart));try{document.selection?We((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(xe=!1,K&&J){G("dragStarted",this,{evt:t}),this.nativeDraggable&&h(document,"dragover",Qe);var a=this.options;!e&&j(J,a.dragClass,!1),j(J,a.ghostClass,!0),Pe.active=this,e&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Ce();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(J.parentNode[R]._isOutsideThisEl(e),t)do{if(t[R]&&t[R]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);Ye()}},_onTouchMove:function(e){if(ue){var t=this.options,a=t.fallbackTolerance,r=t.fallbackOffset,n=e.touches?e.touches[0]:e,i=$&&_($,!0),s=$&&i&&i.a,o=$&&i&&i.d,l=Te&&we&&S(we),c=(n.clientX-ue.clientX+r.x)/(s||1)+(l?l[0]-_e[0]:0)/(s||1),u=(n.clientY-ue.clientY+r.y)/(o||1)+(l?l[1]-_e[1]:0)/(o||1);if(!Pe.active&&!xe){if(a&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<a)return;this._onDragStart(e,!0)}if($){i?(i.e+=c-(me||0),i.f+=u-(ge||0)):i={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");v($,"webkitTransform",d),v($,"mozTransform",d),v($,"msTransform",d),v($,"transform",d),me=c,ge=u,de=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!$){var e=this.options.fallbackOnBody?document.body:K,t=L(J,!0,Te,!0,e),a=this.options;if(Te){for(we=e;"static"===v(we,"position")&&"none"===v(we,"transform")&&we!==document;)we=we.parentNode;we!==document.body&&we!==document.documentElement?(we===document&&(we=E()),t.top+=we.scrollTop,t.left+=we.scrollLeft):we=E(),_e=S(we)}j($=J.cloneNode(!0),a.ghostClass,!1),j($,a.fallbackClass,!0),j($,a.dragClass,!0),v($,"transition",""),v($,"transform",""),v($,"box-sizing","border-box"),v($,"margin",0),v($,"top",t.top),v($,"left",t.left),v($,"width",t.width),v($,"height",t.height),v($,"opacity","0.8"),v($,"position",Te?"absolute":"fixed"),v($,"zIndex","100000"),v($,"pointerEvents","none"),Pe.ghost=$,e.appendChild($),v($,"transform-origin",pe/parseInt($.style.width)*100+"% "+fe/parseInt($.style.height)*100+"%")}},_onDragStart:function(e,t){var a=this,r=e.dataTransfer,n=a.options;G("dragStart",this,{evt:e}),Pe.eventCanceled?this._onDrop():(G("setupClone",this),Pe.eventCanceled||((ae=Q(J)).draggable=!1,ae.style["will-change"]="",this._hideClone(),j(ae,this.options.chosenClass,!1),Pe.clone=ae),a.cloneId=We((function(){G("clone",a),Pe.eventCanceled||(a.options.removeCloneOnHide||K.insertBefore(ae,J),a._hideClone(),X({sortable:a,name:"clone"}))})),!t&&j(J,n.dragClass,!0),t?(be=!0,a._loopId=setInterval(a._emulateDragOver,50)):(y(document,"mouseup",a._onDrop),y(document,"touchend",a._onDrop),y(document,"touchcancel",a._onDrop),r&&(r.effectAllowed="move",n.setData&&n.setData.call(a,r,J)),h(document,"drop",a),v(J,"transform","translateZ(0)")),xe=!0,a._dragStartId=We(a._dragStarted.bind(a,t,e)),h(document,"selectstart",a),Me=!0,g&&v(document.body,"user-select","none"))},_onDragOver:function(e){var t,a,r,i,s=this.el,o=e.target,l=this.options,c=l.group,u=Pe.active,d=le===c,m=l.sort,g=ce||u,p=this,f=!1;if(!Ie){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),o=x(o,l.draggable,s,!0),Q("dragOver"),Pe.eventCanceled)return f;if(J.contains(e.target)||o.animated&&o.animatingX&&o.animatingY||p._ignoreWhileAnimating===o)return F(!1);if(be=!1,u&&!l.disabled&&(d?m||(r=q!==K):ce===this||(this.lastPutMode=le.checkPull(this,u,J,e))&&c.checkPut(this,u,J,e))){if(i="vertical"===this._getDirection(e,o),t=L(J),Q("dragOverValid"),Pe.eventCanceled)return f;if(r)return q=K,P(),this._hideClone(),Q("revert"),Pe.eventCanceled||(ee?K.insertBefore(J,ee):K.appendChild(J)),F(!0);var M=z(s,l.draggable);if(!M||function(e,t,a){var r=L(z(a.el,a.options.draggable));return t?e.clientX>r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,i,this)&&!M.animated){if(M===J)return F(!1);if(M&&s===e.target&&(o=M),o&&(a=L(o)),!1!==Fe(K,s,J,t,o,a,e,!!o))return P(),s.appendChild(J),q=s,H(),F(!0)}else if(M&&function(e,t,a){var r=L(A(a.el,0,a.options,!0));return t?e.clientX<r.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var h=A(s,0,l,!0);if(h===J)return F(!1);if(a=L(o=h),!1!==Fe(K,s,J,t,o,a,e,!1))return P(),s.insertBefore(J,h),q=s,H(),F(!0)}else if(o.parentNode===s){a=L(o);var y,N,w,b=J.parentNode!==s,D=!function(e,t,a){var r=a?e.left:e.top,n=a?e.right:e.bottom,i=a?e.width:e.height,s=a?t.left:t.top,o=a?t.right:t.bottom,l=a?t.width:t.height;return r===s||n===o||r+i/2===s+l/2}(J.animated&&J.toRect||t,o.animated&&o.toRect||a,i),_=i?"top":"left",I=T(o,"top","top")||T(J,"top","top"),E=I?I.scrollTop:void 0;if(he!==o&&(N=a[_],je=!1,ve=!D&&l.invertSwap||b),y=function(e,t,a,r,n,i,s,o){var l=r?e.clientY:e.clientX,c=r?a.height:a.width,u=r?a.top:a.left,d=r?a.bottom:a.right,m=!1;if(!s)if(o&&Ne<c*n){if(!je&&(1===ye?l>u+c*i/2:l<d-c*i/2)&&(je=!0),je)m=!0;else if(1===ye?l<u+Ne:l>d-Ne)return-ye}else if(l>u+c*(1-n)/2&&l<d-c*(1-n)/2)return function(e){return k(J)<k(e)?1:-1}(t);return(m=m||s)&&(l<u+c*i/2||l>d-c*i/2)?l>u+c/2?1:-1:0}(e,o,a,i,D?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,ve,he===o),0!==y){var S=k(J);do{S-=y,w=q.children[S]}while(w&&("none"===v(w,"display")||w===$))}if(0===y||w===o)return F(!1);he=o,ye=y;var O=o.nextElementSibling,C=!1,Y=Fe(K,s,J,t,o,a,e,C=1===y);if(!1!==Y)return 1!==Y&&-1!==Y||(C=1===Y),Ie=!0,setTimeout(He,30),P(),C&&!O?s.appendChild(J):o.parentNode.insertBefore(J,C?O:o),I&&U(I,0,E-I.scrollTop),q=J.parentNode,void 0===N||ve||(Ne=Math.abs(N-L(o)[_])),H(),F(!0)}if(s.contains(J))return F(!1)}return!1}function Q(l,c){G(l,p,n({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:a,canSort:m,fromSortable:g,target:o,completed:F,onMove:function(a,r){return Fe(K,s,J,t,a,L(a),e,r)},changed:H},c))}function P(){Q("dragOverAnimationCapture"),p.captureAnimationState(),p!==g&&g.captureAnimationState()}function F(t){return Q("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==g&&(j(J,ce?ce.options.ghostClass:u.options.ghostClass,!1),j(J,l.ghostClass,!0)),ce!==p&&p!==Pe.active?ce=p:p===Pe.active&&ce&&(ce=null),g===p&&(p._ignoreWhileAnimating=o),p.animateAll((function(){Q("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==g&&(g.animateAll(),g._ignoreWhileAnimating=null)),(o===J&&!J.animated||o===s&&!o.animated)&&(he=null),l.dragoverBubble||e.rootEl||o===document||(J.parentNode[R]._isOutsideThisEl(e.target),!t&&Ue(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),f=!0}function H(){ie=k(J),oe=k(J,l.draggable),X({sortable:p,name:"change",toEl:s,newIndex:ie,newDraggableIndex:oe,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",Ue),y(document,"mousemove",Ue),y(document,"touchmove",Ue)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,a=this.options;ie=k(J),oe=k(J,a.draggable),G("drop",this,{evt:e}),q=J&&J.parentNode,ie=k(J),oe=k(J,a.draggable),Pe.eventCanceled||(xe=!1,ve=!1,je=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ve(this.cloneId),Ve(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),g&&v(document.body,"user-select",""),v(J,"transform",""),e&&(Me&&(e.cancelable&&e.preventDefault(),!a.dropBubble&&e.stopPropagation()),$&&$.parentNode&&$.parentNode.removeChild($),(K===q||ce&&"clone"!==ce.lastPutMode)&&ae&&ae.parentNode&&ae.parentNode.removeChild(ae),J&&(this.nativeDraggable&&y(J,"dragend",this),Re(J),J.style["will-change"]="",Me&&!xe&&j(J,ce?ce.options.ghostClass:this.options.ghostClass,!1),j(J,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:q,newIndex:null,newDraggableIndex:null,originalEvent:e}),K!==q?(ie>=0&&(X({rootEl:q,name:"add",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"remove",toEl:q,originalEvent:e}),X({rootEl:q,name:"sort",toEl:q,fromEl:K,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),ce&&ce.save()):ie!==ne&&ie>=0&&(X({sortable:this,name:"update",toEl:q,originalEvent:e}),X({sortable:this,name:"sort",toEl:q,originalEvent:e})),Pe.active&&(null!=ie&&-1!==ie||(ie=ne,oe=se),X({sortable:this,name:"end",toEl:q,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){G("nulling",this),K=J=q=$=ee=ae=te=re=ue=de=Me=ie=oe=ne=se=he=ye=ce=le=Pe.dragged=Pe.ghost=Pe.clone=Pe.active=null,Ee.forEach((function(e){e.checked=!0})),Ee.length=me=ge=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":J&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],a=this.el.children,r=0,n=a.length,i=this.options;r<n;r++)x(e=a[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Be(e));return t},sort:function(e,t){var a={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];x(n,this.options.draggable,r,!1)&&(a[e]=n)}),this),t&&this.captureAnimationState(),e.forEach((function(e){a[e]&&(r.removeChild(a[e]),r.appendChild(a[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return x(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var a=this.options;if(void 0===t)return a[e];var r=W.modifyOption(this,e,t);a[e]=void 0!==r?r:t,"group"===e&&Oe(a)},destroy:function(){G("destroy",this);var e=this.el;e[R]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),De.splice(De.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(G("hideClone",this),Pe.eventCanceled)return;v(ae,"display","none"),this.options.removeCloneOnHide&&ae.parentNode&&ae.parentNode.removeChild(ae),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(G("showClone",this),Pe.eventCanceled)return;J.parentNode!=K||this.options.group.revertClone?ee?K.insertBefore(ae,ee):K.appendChild(ae):K.insertBefore(ae,J),this.options.group.revertClone&&this.animate(J,ae),v(ae,"display",""),re=!1}}else this._hideClone()}},Le&&h(document,"touchmove",(function(e){(Pe.active||xe)&&e.cancelable&&e.preventDefault()})),Pe.utils={on:h,off:y,css:v,find:I,is:function(e,t){return!!x(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e},throttle:Y,closest:x,toggleClass:j,clone:Q,index:k,nextTick:We,cancelNextTick:Ve,detectDirection:Se,getChild:A},Pe.get=function(e){return e[R]},Pe.mount=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Pe.utils=n(n({},Pe.utils),e.utils)),W.mount(e)}))},Pe.create=function(e,t){return new Pe(e,t)},Pe.version="1.14.0";var Ze,Ge,Xe,Je,qe,$e,Ke=[],et=!1;function tt(){Ke.forEach((function(e){clearInterval(e.pid)})),Ke=[]}function at(){clearInterval($e)}var rt,nt=Y((function(e,t,a,r){if(t.scroll){var n,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,o=t.scrollSensitivity,l=t.scrollSpeed,c=E(),u=!1;Ge!==a&&(Ge=a,tt(),Ze=t.scroll,n=t.scrollFn,!0===Ze&&(Ze=O(a,!0)));var d=0,m=Ze;do{var g=m,p=L(g),f=p.top,M=p.bottom,h=p.left,y=p.right,N=p.width,w=p.height,x=void 0,b=void 0,D=g.scrollWidth,j=g.scrollHeight,_=v(g),I=g.scrollLeft,T=g.scrollTop;g===c?(x=N<D&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),b=w<j&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(x=N<D&&("auto"===_.overflowX||"scroll"===_.overflowX),b=w<j&&("auto"===_.overflowY||"scroll"===_.overflowY));var A=x&&(Math.abs(y-i)<=o&&I+N<D)-(Math.abs(h-i)<=o&&!!I),z=b&&(Math.abs(M-s)<=o&&T+w<j)-(Math.abs(f-s)<=o&&!!T);if(!Ke[d])for(var k=0;k<=d;k++)Ke[k]||(Ke[k]={});Ke[d].vx==A&&Ke[d].vy==z&&Ke[d].el===g||(Ke[d].el=g,Ke[d].vx=A,Ke[d].vy=z,clearInterval(Ke[d].pid),0==A&&0==z||(u=!0,Ke[d].pid=setInterval(function(){r&&0===this.layer&&Pe.active._onTouchMove(qe);var t=Ke[this.layer].vy?Ke[this.layer].vy*l:0,a=Ke[this.layer].vx?Ke[this.layer].vx*l:0;"function"==typeof n&&"continue"!==n.call(Pe.dragged.parentNode[R],a,t,e,qe,Ke[this.layer].el)||U(Ke[this.layer].el,a,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&m!==c&&(m=O(m,!1)));et=u}}),30),it=function(e){var t=e.originalEvent,a=e.putSortable,r=e.dragEl,n=e.activeSortable,i=e.dispatchSortableEvent,s=e.hideGhostForTarget,o=e.unhideGhostForTarget;if(t){var l=a||n;s();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);o(),l&&!l.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:a}))}};function st(){}function ot(){}function lt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,a=e.target,r=e.onMove,n=e.activeSortable,i=e.changed,s=e.cancel;if(n.options.swap){var o=this.sortable.el,l=this.options;if(a&&a!==o){var c=rt;!1!==r(a)?(j(a,l.swapClass,!0),rt=a):rt=null,c&&c!==rt&&j(c,l.swapClass,!1)}i(),t(!0),s()}},drop:function(e){var t,a,r,n,i,s,o=e.activeSortable,l=e.putSortable,c=e.dragEl,u=l||this.sortable,d=this.options;rt&&j(rt,d.swapClass,!1),rt&&(d.swap||l&&l.options.swap)&&c!==rt&&(u.captureAnimationState(),u!==o&&o.captureAnimationState(),a=rt,i=(t=c).parentNode,s=a.parentNode,i&&s&&!i.isEqualNode(a)&&!s.isEqualNode(t)&&(r=k(t),n=k(a),i.isEqualNode(s)&&r<n&&n++,i.insertBefore(a,i.children[r]),s.insertBefore(t,s.children[n])),u.animateAll(),u!==o&&o.animateAll())},nulling:function(){rt=null}},o(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}st.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,a=e.putSortable;this.sortable.captureAnimationState(),a&&a.captureAnimationState();var r=A(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),a&&a.animateAll()},drop:it},o(st,{pluginName:"revertOnSpill"}),ot.prototype={onSpill:function(e){var t=e.dragEl,a=e.putSortable||this.sortable;a.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),a.animateAll()},drop:it},o(ot,{pluginName:"removeOnSpill"});var ct,ut,dt,mt,gt,pt=[],ft=[],Mt=!1,ht=!1,yt=!1;function Nt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?h(document,"pointerup",this._deselectMultiDrag):(h(document,"mouseup",this._deselectMultiDrag),h(document,"touchend",this._deselectMultiDrag)),h(document,"keydown",this._checkKeyDown),h(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,a){var r="";pt.length&&ut===e?pt.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=a.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;dt=t},delayEnded:function(){this.isMultiDrag=~pt.indexOf(dt)},setupClone:function(e){var t=e.sortable,a=e.cancel;if(this.isMultiDrag){for(var r=0;r<pt.length;r++)ft.push(Q(pt[r])),ft[r].sortableIndex=pt[r].sortableIndex,ft[r].draggable=!1,ft[r].style["will-change"]="",j(ft[r],this.options.selectedClass,!1),pt[r]===dt&&j(ft[r],this.options.chosenClass,!1);t._hideClone(),a()}},clone:function(e){var t=e.sortable,a=e.rootEl,r=e.dispatchSortableEvent,n=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pt.length&&ut===t&&(wt(!0,a),r("clone"),n()))},showClone:function(e){var t=e.cloneNowShown,a=e.rootEl,r=e.cancel;this.isMultiDrag&&(wt(!1,a),ft.forEach((function(e){v(e,"display","")})),t(),gt=!1,r())},hideClone:function(e){var t=this,a=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(ft.forEach((function(e){v(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),a(),gt=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),pt.forEach((function(e){e.sortableIndex=k(e)})),pt=pt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,a=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(a.captureAnimationState(),this.options.animation)){pt.forEach((function(e){e!==dt&&v(e,"position","absolute")}));var r=L(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&P(e,r)})),ht=!0,Mt=!0}a.animateAll((function(){ht=!1,Mt=!1,t.options.animation&&pt.forEach((function(e){F(e)})),t.options.sort&&xt()}))}},dragOver:function(e){var t=e.target,a=e.completed,r=e.cancel;ht&&~pt.indexOf(t)&&(a(!1),r())},revert:function(e){var t=e.fromSortable,a=e.rootEl,r=e.sortable,n=e.dragRect;pt.length>1&&(pt.forEach((function(e){r.addAnimationState({target:e,rect:ht?L(e):n}),F(e),e.fromRect=n,t.removeAnimationState(e)})),ht=!1,function(e,t){pt.forEach((function(a,r){var n=t.children[a.sortableIndex+(e?Number(r):0)];n?t.insertBefore(a,n):t.appendChild(a)}))}(!this.options.removeCloneOnHide,a))},dragOverCompleted:function(e){var t=e.sortable,a=e.isOwner,r=e.insertion,n=e.activeSortable,i=e.parentEl,s=e.putSortable,o=this.options;if(r){if(a&&n._hideClone(),Mt=!1,o.animation&&pt.length>1&&(ht||!a&&!n.options.sort&&!s)){var l=L(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&(P(e,l),i.appendChild(e))})),ht=!0}if(!a)if(ht||xt(),pt.length>1){var c=gt;n._showClone(t),n.options.animation&&!gt&&c&&ft.forEach((function(e){n.addAnimationState({target:e,rect:mt}),e.fromRect=mt,e.thisAnimationDuration=null}))}else n._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,a=e.isOwner,r=e.activeSortable;if(pt.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!a&&r.multiDrag.isMultiDrag){mt=o({},t);var n=_(dt,!0);mt.top-=n.f,mt.left-=n.e}},dragOverAnimationComplete:function(){ht&&(ht=!1,xt())},drop:function(e){var t=e.originalEvent,a=e.rootEl,r=e.parentEl,n=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,o=e.putSortable,l=o||this.sortable;if(t){var c=this.options,u=r.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),j(dt,c.selectedClass,!~pt.indexOf(dt)),~pt.indexOf(dt))pt.splice(pt.indexOf(dt),1),ct=null,V({sortable:n,rootEl:a,name:"deselect",targetEl:dt,originalEvt:t});else{if(pt.push(dt),V({sortable:n,rootEl:a,name:"select",targetEl:dt,originalEvt:t}),t.shiftKey&&ct&&n.el.contains(ct)){var d,m,g=k(ct),p=k(dt);if(~g&&~p&&g!==p)for(p>g?(m=g,d=p):(m=p,d=g+1);m<d;m++)~pt.indexOf(u[m])||(j(u[m],c.selectedClass,!0),pt.push(u[m]),V({sortable:n,rootEl:a,name:"select",targetEl:u[m],originalEvt:t}))}else ct=dt;ut=l}if(yt&&this.isMultiDrag){if(ht=!1,(r[R].options.sort||r!==a)&&pt.length>1){var f=L(dt),M=k(dt,":not(."+this.options.selectedClass+")");if(!Mt&&c.animation&&(dt.thisAnimationDuration=null),l.captureAnimationState(),!Mt&&(c.animation&&(dt.fromRect=f,pt.forEach((function(e){if(e.thisAnimationDuration=null,e!==dt){var t=ht?L(e):f;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),xt(),pt.forEach((function(e){u[M]?r.insertBefore(e,u[M]):r.appendChild(e),M++})),s===k(dt))){var h=!1;pt.forEach((function(e){e.sortableIndex===k(e)||(h=!0)})),h&&i("update")}pt.forEach((function(e){F(e)})),l.animateAll()}ut=l}(a===r||o&&"clone"!==o.lastPutMode)&&ft.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,ft.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||ut!==this.sortable||e&&x(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];j(t,this.options.selectedClass,!1),pt.shift(),V({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[R];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),j(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[R],a=pt.indexOf(e);t&&t.options.multiDrag&&~a&&(j(e,t.options.selectedClass,!1),pt.splice(a,1))}},eventProperties:function(){var e,t=this,a=[],r=[];return pt.forEach((function(e){var n;a.push({multiDragElement:e,index:e.sortableIndex}),n=ht&&e!==dt?-1:ht?k(e,":not(."+t.options.selectedClass+")"):k(e),r.push({multiDragElement:e,index:n})})),{items:(e=pt,function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(ft),oldIndicies:a,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function wt(e,t){ft.forEach((function(a,r){var n=t.children[a.sortableIndex+(e?Number(r):0)];n?t.insertBefore(a,n):t.appendChild(a)}))}function xt(){pt.forEach((function(e){e!==dt&&e.parentNode&&e.parentNode.removeChild(e)}))}Pe.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?h(document,"dragover",this._handleAutoScroll):this.options.supportPointer?h(document,"pointermove",this._handleFallbackAutoScroll):t.touches?h(document,"touchmove",this._handleFallbackAutoScroll):h(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),at(),tt(),clearTimeout(b),b=void 0},nulling:function(){qe=Ge=Ze=et=$e=Xe=Je=null,Ke.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var a=this,r=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,n);if(qe=e,t||this.options.forceAutoScrollFallback||d||u||g){nt(e,this.options,i,t);var s=O(i,!0);!et||$e&&r===Xe&&n===Je||($e&&at(),$e=setInterval((function(){var i=O(document.elementFromPoint(r,n),!0);i!==s&&(s=i,tt()),nt(e,a.options,i,t)}),10),Xe=r,Je=n)}else{if(!this.options.bubbleScroll||O(i,!0)===E())return void tt();nt(e,this.options,O(i,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),Pe.mount(ot,st);const bt=Pe},5229:function(e,t,a){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(a(1133)),n=a(8917);function i(e,t){var a={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(a[(0,n.camelCase)(e,t)]=r)})),a):a}i.default=i,e.exports=i},8917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var a=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,n=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||n.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,o))}},1133:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a=null;if(!e||"string"!=typeof e)return a;var r=(0,n.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,n=e.value;i?t(r,n,e):n&&((a=a||{})[r]=n)}})),a};var n=r(a(9788))},7676:e=>{"use strict";e.exports=function(e,t){if(!e)throw new Error("Invariant failed")}},7573:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});const r=function(e,t){}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},6942:(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=s(e,i(a)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)r.call(e,a)&&e[a]&&(t=s(t,a));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},8168:(e,t,a)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},r.apply(null,arguments)}a.d(t,{A:()=>r})},7387:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(3662);function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},8587:(e,t,a)=>{"use strict";function r(e,t){if(null==e)return{};var a={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;a[r]=e[r]}return a}a.d(t,{A:()=>r})},3662:(e,t,a)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}a.d(t,{A:()=>r})},1561:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=!0,n="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(n);var a="function"==typeof t?t():t,i=a?"".concat(n,": ").concat(a):n;throw new Error(i)}}}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return a[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"==typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"==typeof a.then)return a}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&r&&a;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>a[e]));return s.default=()=>a,n.d(i,s),i},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");if(a.length)for(var r=a.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=a[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{"use strict";const e=window.wp.element;var t=n(1609),a=n.t(t,2),r=n.n(t),i=n(5338);const s=(0,t.createContext)(),o=({reducer:a,initialState:r,children:n})=>(0,e.createElement)(s.Provider,{value:(0,t.useReducer)(a,r)},n),l=()=>(0,t.useContext)(s),c=cartflows_admin?.page_builder?cartflows_admin.page_builder:"other",u={is_cf_pro:!!cartflows_admin?.is_pro,admin_url:"test_url",flows_data:null,flows_pagination:{},setup_checklist_data:null,flows_limit_over:!1,globaldata:[],page_builder:c,active_flows_count:"",trash_flows_count:"",draft_flows_count:"",found_posts:"",flows_count:"",analyticsData:null,suretriggers_config:[],page_builder_group_data:cartflows_admin.required_plugins,page_builder_group:cartflows_admin.required_plugins[c],options:[]},d=(e,t)=>{switch(t.type){case"SET_FLOWS":return t.flows?{...e,flows_data:[...t.flows]}:{...e,flows_data:t.flows};case"SET_FLOWS_DATA":return{...e,flows_data:[...t.flows],flows_pagination:t.pagination,found_posts:t.found_posts,active_flows_count:t.active_flows_count,trash_flows_count:t.trash_flows_count,draft_flows_count:t.draft_flows_count,flows_count:t.found_posts,flows_limit_over:!1};case"SET_SETTINGS":return{...e,globaldata:t.commondata,options:t.commondata.options};case"SET_PAGE_BUILDER":return{...e,page_builder:t.pagebuilder};case"SET_ANALYTICS_DATA":return{...e,analyticsData:t.analyticsData};case"SET_OPTION":const a=e.options;return a[t.name]=t.value,{...e,options:a};case"SET_SURETRIGGERS_CONFIG":return t.config&&setSureTriggersConfig(t.config),{...e,suretriggers_config:t};case"SET_SETUP_CHECKLIST_DATA":return{...e,setup_checklist_data:t.setup_checklist};default:return e}},m=(0,t.createContext)(),g=()=>(0,t.useContext)(m),p={settingsProcess:!1,unsavedChanges:!1,page_builder:cartflows_admin?.page_builder?cartflows_admin.page_builder:"other",license_status:cartflows_admin.license_status};n(9423);var f=n(6347),M=n(7387),h=n(7929),y=n(8168),N=n(8587),w=n(1561),x=function(e){function t(){for(var t,a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,h.createBrowserHistory)(t.props),t}return(0,M.A)(t,e),t.prototype.render=function(){return r().createElement(f.Router,{history:this.history,children:this.props.children})},t}(r().Component);r().Component;var b=function(e,t){return"function"==typeof e?e(t):e},D=function(e,t){return"string"==typeof e?(0,h.createLocation)(e,null,null,t):e},j=function(e){return e},v=r().forwardRef;void 0===v&&(v=j);var _=v((function(e,t){var a=e.innerRef,n=e.navigate,i=e.onClick,s=(0,N.A)(e,["innerRef","navigate","onClick"]),o=s.target,l=(0,y.A)({},s,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||o&&"_self"!==o||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),n())}});return l.ref=j!==v&&t||a,r().createElement("a",l)})),I=v((function(e,t){var a=e.component,n=void 0===a?_:a,i=e.replace,s=e.to,o=e.innerRef,l=(0,N.A)(e,["component","replace","to","innerRef"]);return r().createElement(f.__RouterContext.Consumer,null,(function(e){e||(0,w.A)(!1);var a=e.history,c=D(b(s,e.location),e.location),u=c?a.createHref(c):"",d=(0,y.A)({},l,{href:u,navigate:function(){var t=b(s,e.location),r=(0,h.createPath)(e.location)===(0,h.createPath)(D(t));(i||r?a.replace:a.push)(t)}});return j!==v?d.ref=t||o:d.innerRef=o,r().createElement(n,d)}))})),E=function(e){return e},L=r().forwardRef;void 0===L&&(L=E),L((function(e,t){var a=e["aria-current"],n=void 0===a?"page":a,i=e.activeClassName,s=void 0===i?"active":i,o=e.activeStyle,l=e.className,c=e.exact,u=e.isActive,d=e.location,m=e.sensitive,g=e.strict,p=e.style,M=e.to,h=e.innerRef,x=(0,N.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return r().createElement(f.__RouterContext.Consumer,null,(function(e){e||(0,w.A)(!1);var a=d||e.location,i=D(b(M,a),a),N=i.pathname,j=N&&N.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),v=j?(0,f.matchPath)(a.pathname,{path:j,exact:c,sensitive:m,strict:g}):null,_=!!(u?u(v,a):v),T="function"==typeof l?l(_):l,A="function"==typeof p?p(_):p;_&&(T=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((function(e){return e})).join(" ")}(T,s),A=(0,y.A)({},A,o));var z=(0,y.A)({"aria-current":_&&n||null,className:T,style:A,to:i},x);return E!==L?z.ref=t||h:z.innerRef=h,r().createElement(I,z)}))}));const T=window.wp.apiFetch;var A=n.n(T);const z=window.wp.i18n;function k(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function S(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function O(e){let t=null;return()=>(null==t&&(t=e()),t)}const C=O((function(){return S(/^Mac/i)})),Y=O((function(){return S(/^iPhone/i)})),U=O((function(){return S(/^iPad/i)||C()&&navigator.maxTouchPoints>1})),Q=O((function(){return Y()||U()})),P=(O((function(){return C()||Q()})),O((function(){return k(/AppleWebKit/i)&&!P()})),O((function(){return k(/Chrome/i)}))),F=O((function(){return k(/Android/i)}));O((function(){return k(/Firefox/i)}));const R=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},H=e=>e&&"window"in e&&e.window===e?e:R(e).defaultView||window;let B=null,W=new Set,V=new Map,Z=!1,G=!1;const X={Tab:!0,Escape:!0};function J(e,t){for(let a of W)a(e,t)}function q(e){Z=!0,function(e){return!(e.metaKey||!C()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(B="keyboard",J("keyboard",e))}function $(e){B="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(Z=!0,J("pointer",e))}function K(e){(function(e){return!(0!==e.mozInputSource||!e.isTrusted)||(F()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)})(e)&&(Z=!0,B="virtual")}function ee(e){e.target!==window&&e.target!==document&&(Z||G||(B="virtual",J("virtual",e)),Z=!1,G=!1)}function te(){Z=!1,G=!0}function ae(e){if("undefined"==typeof window||V.get(H(e)))return;const t=H(e),a=R(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Z=!0,r.apply(this,arguments)},a.addEventListener("keydown",q,!0),a.addEventListener("keyup",q,!0),a.addEventListener("click",K,!0),t.addEventListener("focus",ee,!0),t.addEventListener("blur",te,!1),"undefined"!=typeof PointerEvent?(a.addEventListener("pointerdown",$,!0),a.addEventListener("pointermove",$,!0),a.addEventListener("pointerup",$,!0)):(a.addEventListener("mousedown",$,!0),a.addEventListener("mousemove",$,!0),a.addEventListener("mouseup",$,!0)),t.addEventListener("beforeunload",(()=>{re(e)}),{once:!0}),V.set(t,{focus:r})}const re=(e,t)=>{const a=H(e),r=R(e);t&&r.removeEventListener("DOMContentLoaded",t),V.has(a)&&(a.HTMLElement.prototype.focus=V.get(a).focus,r.removeEventListener("keydown",q,!0),r.removeEventListener("keyup",q,!0),r.removeEventListener("click",K,!0),a.removeEventListener("focus",ee,!0),a.removeEventListener("blur",te,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",$,!0),r.removeEventListener("pointermove",$,!0),r.removeEventListener("pointerup",$,!0)):(r.removeEventListener("mousedown",$,!0),r.removeEventListener("mousemove",$,!0),r.removeEventListener("mouseup",$,!0)),V.delete(a))};function ne(){return"pointer"!==B}"undefined"!=typeof document&&function(e){const t=R(e);let a;"loading"!==t.readyState?ae(e):(a=()=>{ae(e)},t.addEventListener("DOMContentLoaded",a))}();const ie=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);const se="undefined"!=typeof document?t.useLayoutEffect:()=>{};class oe{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function le(e){let a=(0,t.useRef)({isFocused:!1,observer:null});se((()=>{const e=a.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let r=function(e){const a=(0,t.useRef)(null);return se((()=>{a.current=e}),[e]),(0,t.useCallback)(((...e)=>{const t=a.current;return null==t?void 0:t(...e)}),[])}((t=>{null==e||e(t)}));return(0,t.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){a.current.isFocused=!0;let t=e.target,n=e=>{a.current.isFocused=!1,t.disabled&&r(new oe("blur",e)),a.current.observer&&(a.current.observer.disconnect(),a.current.observer=null)};t.addEventListener("focusout",n,{once:!0}),a.current.observer=new MutationObserver((()=>{if(a.current.isFocused&&t.disabled){var e;null===(e=a.current.observer)||void 0===e||e.disconnect();let r=t===document.activeElement?null:document.activeElement;t.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}})),a.current.observer.observe(t,{attributes:!0,attributeFilter:["disabled"]})}}),[r])}function ce(e={}){let{autoFocus:a=!1,isTextInput:r,within:n}=e,i=(0,t.useRef)({isFocused:!1,isFocusVisible:a||ne()}),[s,o]=(0,t.useState)(!1),[l,c]=(0,t.useState)((()=>i.current.isFocused&&i.current.isFocusVisible)),u=(0,t.useCallback)((()=>c(i.current.isFocused&&i.current.isFocusVisible)),[]),d=(0,t.useCallback)((e=>{i.current.isFocused=e,o(e),u()}),[u]);var m,g,p;m=e=>{i.current.isFocusVisible=e,u()},g=[],p={isTextInput:r},ae(),(0,t.useEffect)((()=>{let e=(e,t)=>{(function(e,t,a){var r;const n="undefined"!=typeof window?H(null==a?void 0:a.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?H(null==a?void 0:a.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?H(null==a?void 0:a.target).HTMLElement:HTMLElement,o="undefined"!=typeof window?H(null==a?void 0:a.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==a?void 0:a.target)instanceof n&&!ie.has(null==a||null===(r=a.target)||void 0===r?void 0:r.type)||(null==a?void 0:a.target)instanceof i||(null==a?void 0:a.target)instanceof s&&(null==a?void 0:a.target.isContentEditable))&&"keyboard"===t&&a instanceof o&&!X[a.key])})(!!(null==p?void 0:p.isTextInput),e,t)&&m(ne())};return W.add(e),()=>{W.delete(e)}}),g);let{focusProps:f}=function(e){let{isDisabled:a,onFocus:r,onBlur:n,onFocusChange:i}=e;const s=(0,t.useCallback)((e=>{if(e.target===e.currentTarget)return n&&n(e),i&&i(!1),!0}),[n,i]),o=le(s),l=(0,t.useCallback)((e=>{const t=R(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),i&&i(!0),o(e))}),[i,r,o]);return{focusProps:{onFocus:!a&&(r||i||n)?l:void 0,onBlur:a||!n&&!i?void 0:s}}}({isDisabled:n,onFocusChange:d}),{focusWithinProps:M}=function(e){let{isDisabled:a,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,s=(0,t.useRef)({isFocusWithin:!1}),o=(0,t.useCallback)((e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,r&&r(e),i&&i(!1))}),[r,i,s]),l=le(o),c=(0,t.useCallback)((e=>{s.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),i&&i(!0),s.current.isFocusWithin=!0,l(e))}),[n,i,l]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:o}}}({isDisabled:!n,onFocusWithinChange:d});return{isFocused:s,isFocusVisible:l,focusProps:n?M:f}}let ue=!1,de=0;function me(){ue=!0,setTimeout((()=>{ue=!1}),50)}function ge(e){"touch"===e.pointerType&&me()}function pe(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ge):document.addEventListener("touchend",me),de++,()=>{de--,de>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ge):document.removeEventListener("touchend",me))}}function fe(e){let{onHoverStart:a,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[s,o]=(0,t.useState)(!1),l=(0,t.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,t.useEffect)(pe,[]);let{hoverProps:c,triggerHoverEnd:u}=(0,t.useMemo)((()=>{let e=(e,t)=>{if(l.pointerType=t,i||"touch"===t||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let n=e.currentTarget;l.target=n,a&&a({type:"hoverstart",target:n,pointerType:t}),r&&r(!0),o(!0)},t=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let a=e.currentTarget;n&&n({type:"hoverend",target:a,pointerType:t}),r&&r(!1),o(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{ue&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&t(e,e.pointerType)}):(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||ue||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&t(e,"mouse")}),{hoverProps:s,triggerHoverEnd:t}}),[a,r,n,i,l]);return(0,t.useEffect)((()=>{i&&u({currentTarget:l.target},l.pointerType)}),[i]),{hoverProps:c,isHovered:s}}var Me=Object.defineProperty,he=(e,t,a)=>(((e,t,a)=>{t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a})(e,"symbol"!=typeof t?t+"":t,a),a);let ye=new class{constructor(){he(this,"current",this.detect()),he(this,"handoffState","pending"),he(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function Ne(e){return ye.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function we(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function xe(){let e=[],t={addEventListener:(e,a,r,n)=>(e.addEventListener(a,r,n),t.add((()=>e.removeEventListener(a,r,n)))),requestAnimationFrame(...e){let a=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(a)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let a=setTimeout(...e);return t.add((()=>clearTimeout(a)))},microTask(...e){let a={current:!0};return we((()=>{a.current&&e[0]()})),t.add((()=>{a.current=!1}))},style(e,t,a){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:a}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=xe();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let a=e.indexOf(t);if(a>=0)for(let t of e.splice(a,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function be(){let[e]=(0,t.useState)(xe);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}let De=(e,a)=>{ye.isServer?(0,t.useEffect)(e,a):(0,t.useLayoutEffect)(e,a)};function je(e){let a=(0,t.useRef)(e);return De((()=>{a.current=e}),[e]),a}let ve=function(e){let a=je(e);return t.useCallback(((...e)=>a.current(...e)),[a])};function _e({disabled:e=!1}={}){let a=(0,t.useRef)(null),[r,n]=(0,t.useState)(!1),i=be(),s=ve((()=>{a.current=null,n(!1),i.dispose()})),o=ve((e=>{if(i.dispose(),null===a.current){a.current=e.currentTarget,n(!0);{let t=Ne(e.currentTarget);i.addEventListener(t,"pointerup",s,!1),i.addEventListener(t,"pointermove",(e=>{if(a.current){let t=function(e){let t=e.width/2,a=e.height/2;return{top:e.clientY-a,right:e.clientX+t,bottom:e.clientY+a,left:e.clientX-t}}(e);n(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(t,a.current.getBoundingClientRect()))}}),!1),i.addEventListener(t,"pointercancel",s,!1)}}}));return{pressed:r,pressProps:e?{}:{onPointerDown:o,onPointerUp:s,onClick:s}}}function Ie(e,a){return(0,t.useMemo)((()=>{var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==a?void 0:a.tagName)&&!a.hasAttribute("type")?"button":void 0}),[e.type,e.as,a])}let Ee=Symbol();function Le(e,t=!0){return Object.assign(e,{[Ee]:t})}function Te(...e){let a=(0,t.useRef)(e);(0,t.useEffect)((()=>{a.current=e}),[e]);let r=ve((e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Ee])))?void 0:r}var Ae,ze;"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(Ae=null==process?void 0:process.env)?void 0:Ae.NODE_ENV)&&void 0===(null==(ze=null==Element?void 0:Element.prototype)?void 0:ze.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var ke,Se=((ke=Se||{})[ke.None=0]="None",ke[ke.Closed=1]="Closed",ke[ke.Enter=2]="Enter",ke[ke.Leave=4]="Leave",ke);function Oe(e){let t={};for(let a in e)!0===e[a]&&(t[`data-${a}`]="");return t}function Ce(e,a,r,n){let[i,s]=(0,t.useState)(r),{hasFlag:o,addFlag:l,removeFlag:c}=function(e=0){let[a,r]=(0,t.useState)(e),n=(0,t.useCallback)((e=>r(e)),[a]),i=(0,t.useCallback)((e=>r((t=>t|e))),[a]),s=(0,t.useCallback)((e=>(a&e)===e),[a]),o=(0,t.useCallback)((e=>r((t=>t&~e))),[r]),l=(0,t.useCallback)((e=>r((t=>t^e))),[r]);return{flags:a,setFlag:n,addFlag:i,hasFlag:s,removeFlag:o,toggleFlag:l}}(e&&i?3:0),u=(0,t.useRef)(!1),d=(0,t.useRef)(!1),m=be();return De((()=>{var t;if(e)return r&&s(!0),a?(null==(t=null==n?void 0:n.start)||t.call(n,r),function(e,{prepare:t,run:a,done:r,inFlight:n}){let i=xe();return function(e,{inFlight:t,prepare:a}){if(null!=t&&t.current)return void a();let r=e.style.transition;e.style.transition="none",a(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:n}),i.nextFrame((()=>{a(),i.requestAnimationFrame((()=>{i.add(function(e,t){var a,r;let n=xe();if(!e)return n.dispose;let i=!1;n.add((()=>{i=!0}));let s=null!=(r=null==(a=e.getAnimations)?void 0:a.call(e).filter((e=>e instanceof CSSTransition)))?r:[];return 0===s.length?(t(),n.dispose):(Promise.allSettled(s.map((e=>e.finished))).then((()=>{i||t()})),n.dispose)}(e,r))}))})),i.dispose}(a,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(r?(l(3),c(4)):(l(4),c(2)))},run(){d.current?r?(c(3),l(4)):(c(4),l(3)):r?c(1):l(1)},done(){var e;d.current&&"function"==typeof a.getAnimations&&a.getAnimations().length>0||(u.current=!1,c(7),r||s(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})):void(r&&l(3))}),[e,r,a,m]),e?[i,{closed:o(1),enter:o(2),leave:o(4),transition:o(2)||o(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}let Ye=(0,t.createContext)((()=>{}));function Ue({value:e,children:a}){return t.createElement(Ye.Provider,{value:e},a)}let Qe=(0,t.createContext)(null);Qe.displayName="OpenClosedContext";var Pe,Fe=((Pe=Fe||{})[Pe.Open=1]="Open",Pe[Pe.Closed=2]="Closed",Pe[Pe.Closing=4]="Closing",Pe[Pe.Opening=8]="Opening",Pe);function Re(){return(0,t.useContext)(Qe)}function He({value:e,children:a}){return t.createElement(Qe.Provider,{value:e},a)}function Be({children:e}){return t.createElement(Qe.Provider,{value:null},e)}function We(e){let t=e.parentElement,a=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(a=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(a))&&r}function Ve(e,t,...a){if(e in t){let r=t[e];return"function"==typeof r?r(...a):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ve),r}function Ze(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}var Ge,Xe,Je=((Ge=Je||{})[Ge.None=0]="None",Ge[Ge.RenderStrategy=1]="RenderStrategy",Ge[Ge.Static=2]="Static",Ge),qe=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(qe||{});function $e(){let e=function(){let e=(0,t.useRef)([]),a=(0,t.useCallback)((t=>{for(let a of e.current)null!=a&&("function"==typeof a?a(t):a.current=t)}),[]);return(...t)=>{if(!t.every((e=>null==e)))return e.current=t,a}}();return(0,t.useCallback)((t=>function({ourProps:e,theirProps:t,slot:a,defaultTag:r,features:n,visible:i=!0,name:s,mergeRefs:o}){o=null!=o?o:et;let l=tt(t,e);if(i)return Ke(l,a,r,s,o);let c=null!=n?n:0;if(2&c){let{static:e=!1,...t}=l;if(e)return Ke(t,a,r,s,o)}if(1&c){let{unmount:e=!0,...t}=l;return Ve(e?0:1,{0:()=>null,1:()=>Ke({...t,hidden:!0,style:{display:"none"}},a,r,s,o)})}return Ke(l,a,r,s,o)}({mergeRefs:e,...t})),[e])}function Ke(e,a={},r,n,i){let{as:s=r,children:o,refName:l="ref",...c}=it(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof o?o(a):o;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(a)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let m={};if(a){let e=!1,t=[];for(let[r,n]of Object.entries(a))"boolean"==typeof n&&(e=!0),!0===n&&t.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){m["data-headlessui-state"]=t.join(" ");for(let e of t)m[`data-${e}`]=""}}if(s===t.Fragment&&(Object.keys(nt(c)).length>0||Object.keys(nt(m)).length>0)){if((0,t.isValidElement)(d)&&!(Array.isArray(d)&&d.length>1)){let e=d.props,a=null==e?void 0:e.className,r="function"==typeof a?(...e)=>Ze(a(...e),c.className):Ze(a,c.className),n=r?{className:r}:{},s=tt(d.props,nt(it(c,["ref"])));for(let e in m)e in s&&delete m[e];return(0,t.cloneElement)(d,Object.assign({},s,m,u,{ref:i(st(d),u.ref)},n))}if(Object.keys(nt(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(nt(c)).concat(Object.keys(nt(m))).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"))}return(0,t.createElement)(s,Object.assign({},it(c,["ref"]),s!==t.Fragment&&u,s!==t.Fragment&&m),d)}function et(...e){return e.every((e=>null==e))?void 0:t=>{for(let a of e)null!=a&&("function"==typeof a?a(t):a.current=t)}}function tt(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},a={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=a[e]||(a[e]=[]),a[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in a)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(a[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in a)Object.assign(t,{[e](t,...r){let n=a[e];for(let e of n){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function at(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},a={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=a[e]||(a[e]=[]),a[e].push(r[e])):t[e]=r[e];for(let e in a)Object.assign(t,{[e](...t){let r=a[e];for(let e of r)null==e||e(...t)}});return t}function rt(e){var a;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(a=e.displayName)?a:e.name})}function nt(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function it(e,t=[]){let a=Object.assign({},e);for(let e of t)e in a&&delete a[e];return a}function st(e){return t.version.split(".")[0]>="19"?e.props.ref:e.ref}let ot=null!=(Xe=t.startTransition)?Xe:function(e){e()};var lt,ct,ut=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ut||{}),dt=((ct=dt||{})[ct.Open=0]="Open",ct[ct.Closed=1]="Closed",ct),mt=((lt=mt||{})[lt.ToggleDisclosure=0]="ToggleDisclosure",lt[lt.CloseDisclosure=1]="CloseDisclosure",lt[lt.SetButtonId=2]="SetButtonId",lt[lt.SetPanelId=3]="SetPanelId",lt[lt.SetButtonElement=4]="SetButtonElement",lt[lt.SetPanelElement=5]="SetPanelElement",lt);let gt={0:e=>({...e,disclosureState:Ve(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},pt=(0,t.createContext)(null);function ft(e){let a=(0,t.useContext)(pt);if(null===a){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ft),t}return a}pt.displayName="DisclosureContext";let Mt=(0,t.createContext)(null);function ht(e){let a=(0,t.useContext)(Mt);if(null===a){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ht),t}return a}Mt.displayName="DisclosureAPIContext";let yt=(0,t.createContext)(null);function Nt(e,t){return Ve(t.type,gt,e,t)}yt.displayName="DisclosurePanelContext";let wt=t.Fragment,xt=Je.RenderStrategy|Je.Static,bt=rt((function(e,a){let{defaultOpen:r=!1,...n}=e,i=(0,t.useRef)(null),s=Te(a,Le((e=>{i.current=e}),void 0===e.as||e.as===t.Fragment)),o=(0,t.useReducer)(Nt,{disclosureState:r?0:1,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:l,buttonId:c},u]=o,d=ve((e=>{u({type:1});let t=Ne(i);if(!t||!c)return;let a=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(c):t.getElementById(c);null==a||a.focus()})),m=(0,t.useMemo)((()=>({close:d})),[d]),g=(0,t.useMemo)((()=>({open:0===l,close:d})),[l,d]),p={ref:s},f=$e();return t.createElement(pt.Provider,{value:o},t.createElement(Mt.Provider,{value:m},t.createElement(Ue,{value:d},t.createElement(He,{value:Ve(l,{0:Fe.Open,1:Fe.Closed})},f({ourProps:p,theirProps:n,slot:g,defaultTag:wt,name:"Disclosure"})))))})),Dt=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-disclosure-button-${r}`,disabled:i=!1,autoFocus:s=!1,...o}=e,[l,c]=ft("Disclosure.Button"),u=(0,t.useContext)(yt),d=null!==u&&u===l.panelId,m=Te((0,t.useRef)(null),a,ve((e=>{if(!d)return c({type:4,element:e})})));(0,t.useEffect)((()=>{if(!d)return c({type:2,buttonId:n}),()=>{c({type:2,buttonId:null})}}),[n,c,d]);let g=ve((e=>{var t;if(d){if(1===l.disclosureState)return;switch(e.key){case ut.Space:case ut.Enter:e.preventDefault(),e.stopPropagation(),c({type:0}),null==(t=l.buttonElement)||t.focus()}}else switch(e.key){case ut.Space:case ut.Enter:e.preventDefault(),e.stopPropagation(),c({type:0})}})),p=ve((e=>{e.key===ut.Space&&e.preventDefault()})),f=ve((e=>{var t;We(e.currentTarget)||i||(d?(c({type:0}),null==(t=l.buttonElement)||t.focus()):c({type:0}))})),{isFocusVisible:M,focusProps:h}=ce({autoFocus:s}),{isHovered:y,hoverProps:N}=fe({isDisabled:i}),{pressed:w,pressProps:x}=_e({disabled:i}),b=(0,t.useMemo)((()=>({open:0===l.disclosureState,hover:y,active:w,disabled:i,focus:M,autofocus:s})),[l,y,w,M,i,s]),D=Ie(e,l.buttonElement),j=at(d?{ref:m,type:D,disabled:i||void 0,autoFocus:s,onKeyDown:g,onClick:f}:{ref:m,id:n,type:D,"aria-expanded":0===l.disclosureState,"aria-controls":l.panelElement?l.panelId:void 0,disabled:i||void 0,autoFocus:s,onKeyDown:g,onKeyUp:p,onClick:f},h,N,x);return $e()({ourProps:j,theirProps:o,slot:b,defaultTag:"button",name:"Disclosure.Button"})})),jt=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-disclosure-panel-${r}`,transition:i=!1,...s}=e,[o,l]=ft("Disclosure.Panel"),{close:c}=ht("Disclosure.Panel"),[u,d]=(0,t.useState)(null),m=Te(a,ve((e=>{ot((()=>l({type:5,element:e})))})),d);(0,t.useEffect)((()=>(l({type:3,panelId:n}),()=>{l({type:3,panelId:null})})),[n,l]);let g=Re(),[p,f]=Ce(i,u,null!==g?(g&Fe.Open)===Fe.Open:0===o.disclosureState),M=(0,t.useMemo)((()=>({open:0===o.disclosureState,close:c})),[o.disclosureState,c]),h={ref:m,id:n,...Oe(f)},y=$e();return t.createElement(Be,null,t.createElement(yt.Provider,{value:o.panelId},y({ourProps:h,theirProps:s,slot:M,defaultTag:"div",features:xt,visible:p,name:"Disclosure.Panel"})))})),vt=Object.assign(bt,{Button:Dt,Panel:jt});const _t=n.p+"images/cartflows-symbol.4a28363b.png";function It(){let e=(0,t.useRef)(!1);return De((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Et(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in a&&a.useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[r,n]=t.useState(ye.isHandoffComplete);return r&&!1===ye.isHandoffComplete&&n(!1),t.useEffect((()=>{!0!==r&&n(!0)}),[r]),t.useEffect((()=>ye.handoff()),[]),!e&&r}function Lt(e){var a;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(a=e.as)?a:Ot)!==t.Fragment||1===t.Children.count(e.children)}let Tt=(0,t.createContext)(null);Tt.displayName="TransitionContext";var At=(e=>(e.Visible="visible",e.Hidden="hidden",e))(At||{});let zt=(0,t.createContext)(null);function kt(e){return"children"in e?kt(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function St(e,a){let r=je(e),n=(0,t.useRef)([]),i=It(),s=be(),o=ve(((e,t=qe.Hidden)=>{let a=n.current.findIndex((({el:t})=>t===e));-1!==a&&(Ve(t,{[qe.Unmount](){n.current.splice(a,1)},[qe.Hidden](){n.current[a].state="hidden"}}),s.microTask((()=>{var e;!kt(n)&&i.current&&(null==(e=r.current)||e.call(r))})))})),l=ve((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>o(e,qe.Unmount)})),c=(0,t.useRef)([]),u=(0,t.useRef)(Promise.resolve()),d=(0,t.useRef)({enter:[],leave:[]}),m=ve(((e,t,r)=>{c.current.splice(0),a&&(a.chains.current[t]=a.chains.current[t].filter((([t])=>t!==e))),null==a||a.chains.current[t].push([e,new Promise((e=>{c.current.push(e)}))]),null==a||a.chains.current[t].push([e,new Promise((e=>{Promise.all(d.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?u.current=u.current.then((()=>null==a?void 0:a.wait.current)).then((()=>r(t))):r(t)})),g=ve(((e,t,a)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>a(t)))}));return(0,t.useMemo)((()=>({children:n,register:l,unregister:o,onStart:m,onStop:g,wait:u,chains:d})),[l,o,n,m,g,d,u])}zt.displayName="NestingContext";let Ot=t.Fragment,Ct=Je.RenderStrategy,Yt=rt((function(e,a){let{show:r,appear:n=!1,unmount:i=!0,...s}=e,o=(0,t.useRef)(null),l=Te(...Lt(e)?[o,a]:null===a?[]:[a]);Et();let c=Re();if(void 0===r&&null!==c&&(r=(c&Fe.Open)===Fe.Open),void 0===r)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,t.useState)(r?"visible":"hidden"),m=St((()=>{r||d("hidden")})),[g,p]=(0,t.useState)(!0),f=(0,t.useRef)([r]);De((()=>{!1!==g&&f.current[f.current.length-1]!==r&&(f.current.push(r),p(!1))}),[f,r]);let M=(0,t.useMemo)((()=>({show:r,appear:n,initial:g})),[r,n,g]);De((()=>{r?d("visible"):!kt(m)&&null!==o.current&&d("hidden")}),[r,m]);let h={unmount:i},y=ve((()=>{var t;g&&p(!1),null==(t=e.beforeEnter)||t.call(e)})),N=ve((()=>{var t;g&&p(!1),null==(t=e.beforeLeave)||t.call(e)})),w=$e();return t.createElement(zt.Provider,{value:m},t.createElement(Tt.Provider,{value:M},w({ourProps:{...h,as:t.Fragment,children:t.createElement(Ut,{ref:l,...h,...s,beforeEnter:y,beforeLeave:N})},theirProps:{},defaultTag:t.Fragment,features:Ct,visible:"visible"===u,name:"Transition"})))})),Ut=rt((function(e,a){var r,n;let{transition:i=!0,beforeEnter:s,afterEnter:o,beforeLeave:l,afterLeave:c,enter:u,enterFrom:d,enterTo:m,entered:g,leave:p,leaveFrom:f,leaveTo:M,...h}=e,[y,N]=(0,t.useState)(null),w=(0,t.useRef)(null),x=Lt(e),b=Te(...x?[w,a,N]:null===a?[]:[a]),D=null==(r=h.unmount)||r?qe.Unmount:qe.Hidden,{show:j,appear:v,initial:_}=function(){let e=(0,t.useContext)(Tt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,E]=(0,t.useState)(j?"visible":"hidden"),L=function(){let e=(0,t.useContext)(zt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:T,unregister:A}=L;De((()=>T(w)),[T,w]),De((()=>{if(D===qe.Hidden&&w.current)return j&&"visible"!==I?void E("visible"):Ve(I,{hidden:()=>A(w),visible:()=>T(w)})}),[I,w,T,A,j,D]);let z=Et();De((()=>{if(x&&z&&"visible"===I&&null===w.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[w,I,z,x]);let k=_&&!v,S=v&&j&&_,O=(0,t.useRef)(!1),C=St((()=>{O.current||(E("hidden"),A(w))}),L),Y=ve((e=>{O.current=!0;let t=e?"enter":"leave";C.onStart(w,t,(e=>{"enter"===e?null==s||s():"leave"===e&&(null==l||l())}))})),U=ve((e=>{let t=e?"enter":"leave";O.current=!1,C.onStop(w,t,(e=>{"enter"===e?null==o||o():"leave"===e&&(null==c||c())})),"leave"===t&&!kt(C)&&(E("hidden"),A(w))}));(0,t.useEffect)((()=>{x&&i||(Y(j),U(j))}),[j,x,i]);let Q=!(!i||!x||!z||k),[,P]=Ce(Q,y,j,{start:Y,end:U}),F=nt({ref:b,className:(null==(n=Ze(h.className,S&&u,S&&d,P.enter&&u,P.enter&&P.closed&&d,P.enter&&!P.closed&&m,P.leave&&p,P.leave&&!P.closed&&f,P.leave&&P.closed&&M,!P.transition&&j&&g))?void 0:n.trim())||void 0,...Oe(P)}),R=0;"visible"===I&&(R|=Fe.Open),"hidden"===I&&(R|=Fe.Closed),P.enter&&(R|=Fe.Opening),P.leave&&(R|=Fe.Closing);let H=$e();return t.createElement(zt.Provider,{value:C},t.createElement(He,{value:R},H({ourProps:F,theirProps:h,defaultTag:Ot,features:Ct,visible:"visible"===I,name:"Transition.Child"})))})),Qt=rt((function(e,a){let r=null!==(0,t.useContext)(Tt),n=null!==Re();return t.createElement(t.Fragment,null,!r&&n?t.createElement(Yt,{ref:a,...e}):t.createElement(Ut,{ref:a,...e}))})),Pt=Object.assign(Yt,{Child:Qt,Root:Yt});function Ft(e,a,r,n){let i=je(r);(0,t.useEffect)((()=>{function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(a,t,n),()=>e.removeEventListener(a,t,n)}),[e,a,n])}class Rt extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function Ht(e,t){let a=e(),r=new Set;return{getSnapshot:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...n){let i=t[e].call(a,...n);i&&(a=i,r.forEach((e=>e())))}}}function Bt(e){return(0,t.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let Wt=new Rt((()=>Ht((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let a=this.slice();return a.splice(t,1),a}})));function Vt(e,a){let r=Wt.get(a),n=(0,t.useId)(),i=Bt(r);if(De((()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)}),[r,e]),!e)return!1;let s=i.indexOf(n),o=i.length;return-1===s&&(s=o,o+=1),s===o-1}let Zt=new Map,Gt=new Map;function Xt(e){var t;let a=null!=(t=Gt.get(e))?t:0;return Gt.set(e,a+1),0!==a||(Zt.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let a=null!=(t=Gt.get(e))?t:1;if(1===a?Gt.delete(e):Gt.set(e,a-1),1!==a)return;let r=Zt.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Zt.delete(e))}(e)}function Jt(e,{allowed:t,disallowed:a}={}){let r=Vt(e,"inert-others");De((()=>{var e,n;if(!r)return;let i=xe();for(let t of null!=(e=null==a?void 0:a())?e:[])t&&i.add(Xt(t));let s=null!=(n=null==t?void 0:t())?n:[];for(let e of s){if(!e)continue;let t=Ne(e);if(!t)continue;let a=e.parentElement;for(;a&&a!==t.body;){for(let e of a.children)s.some((t=>e.contains(t)))||i.add(Xt(e));a=a.parentElement}}return i.dispose}),[r,t,a])}function qt(e,a,r){let n=je((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&r()}));(0,t.useEffect)((()=>{if(!e)return;let t=null===a?null:a instanceof HTMLElement?a:a.current;if(!t)return;let r=xe();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>n.current(t)));e.observe(t),r.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>n.current(t)));e.observe(t),r.add((()=>e.disconnect()))}return()=>r.dispose()}),[a,n,e])}let $t=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),Kt=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ea,ta,aa=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(aa||{}),ra=((ta=ra||{})[ta.Error=0]="Error",ta[ta.Overflow=1]="Overflow",ta[ta.Success=2]="Success",ta[ta.Underflow=3]="Underflow",ta),na=((ea=na||{})[ea.Previous=-1]="Previous",ea[ea.Next=1]="Next",ea);function ia(e=document.body){return null==e?[]:Array.from(e.querySelectorAll($t)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var sa=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(sa||{});function oa(e,t=0){var a;return e!==(null==(a=Ne(e))?void 0:a.body)&&Ve(t,{0:()=>e.matches($t),1(){let t=e;for(;null!==t;){if(t.matches($t))return!0;t=t.parentElement}return!1}})}function la(e){let t=Ne(e);xe().nextFrame((()=>{t&&!oa(t.activeElement,0)&&ua(e)}))}var ca=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(ca||{});function ua(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let da=["textarea","input"].join(",");function ma(e,t=e=>e){return e.slice().sort(((e,a)=>{let r=t(e),n=t(a);if(null===r||null===n)return 0;let i=r.compareDocumentPosition(n);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function ga(e,t,{sorted:a=!0,relativeTo:r=null,skipElements:n=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?a?ma(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Kt)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):ia(e);n.length>0&&s.length>1&&(s=s.filter((e=>!n.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:i.activeElement;let o,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(r))-1;if(4&t)return Math.max(0,s.indexOf(r))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,m=s.length;do{if(d>=m||d+m<=0)return 0;let e=c+d;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}o=s[e],null==o||o.focus(u),d+=l}while(o!==i.activeElement);return 6&t&&function(e){var t,a;return null!=(a=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,da))&&a}(o)&&o.select(),2}function pa(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function fa(e,a,r,n){let i=je(r);(0,t.useEffect)((()=>{if(e)return document.addEventListener(a,t,n),()=>document.removeEventListener(a,t,n);function t(e){i.current(e)}}),[e,a,n])}function Ma(e,a,r,n){let i=je(r);(0,t.useEffect)((()=>{if(e)return window.addEventListener(a,t,n),()=>window.removeEventListener(a,t,n);function t(e){i.current(e)}}),[e,a,n])}function ha(e,a,r){let n=Vt(e,"outside-click"),i=je(r),s=(0,t.useCallback)((function(e,t){if(e.defaultPrevented)return;let r=t(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let n=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(a);for(let t of n)if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return!oa(r,sa.Loose)&&-1!==r.tabIndex&&e.preventDefault(),i.current(e,r)}),[i,a]),o=(0,t.useRef)(null);fa(n,"pointerdown",(e=>{var t,a;o.current=(null==(a=null==(t=e.composedPath)?void 0:t.call(e))?void 0:a[0])||e.target}),!0),fa(n,"mousedown",(e=>{var t,a;o.current=(null==(a=null==(t=e.composedPath)?void 0:t.call(e))?void 0:a[0])||e.target}),!0),fa(n,"click",(e=>{pa()||/Android/gi.test(window.navigator.userAgent)||o.current&&(s(e,(()=>o.current)),o.current=null)}),!0);let l=(0,t.useRef)({x:0,y:0});fa(n,"touchstart",(e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY}),!0),fa(n,"touchend",(e=>{let t=e.changedTouches[0].clientX,a=e.changedTouches[0].clientY;if(!(Math.abs(t-l.current.x)>=30||Math.abs(a-l.current.y)>=30))return s(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),Ma(n,"blur",(e=>s(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function ya(...e){return(0,t.useMemo)((()=>Ne(...e)),[...e])}var Na=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Na||{});let wa=rt((function(e,t){var a;let{features:r=1,...n}=e,i={ref:t,"aria-hidden":!(2&~r)||(null!=(a=n["aria-hidden"])?a:void 0),hidden:!(4&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}};return $e()({ourProps:i,theirProps:n,slot:{},defaultTag:"span",name:"Hidden"})})),xa=(0,t.createContext)(null);function ba({children:e,node:a}){let[r,n]=(0,t.useState)(null),i=Da(null!=a?a:r);return t.createElement(xa.Provider,{value:i},e,null===i&&t.createElement(wa,{features:Na.Hidden,ref:e=>{var t,a;if(e)for(let r of null!=(a=null==(t=Ne(e))?void 0:t.querySelectorAll("html > *, body > *"))?a:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){n(r);break}}}))}function Da(e=null){var a;return null!=(a=(0,t.useContext)(xa))?a:e}function ja(){let e;return{before({doc:t}){var a;let r=t.documentElement,n=null!=(a=t.defaultView)?a:window;e=Math.max(0,n.innerWidth-r.clientWidth)},after({doc:t,d:a}){let r=t.documentElement,n=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-n);a.style(r,"paddingRight",`${i}px`)}}}function va(e){let t={};for(let a of e)Object.assign(t,a(t));return t}let _a=Ht((()=>new Map),{PUSH(e,t){var a;let r=null!=(a=this.get(e))?a:{doc:e,count:0,d:xe(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let a=this.get(e);return a&&(a.count--,a.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:a}){let r={doc:e,d:t,meta:va(a)},n=[pa()?{before({doc:e,d:t,meta:a}){function r(e){return a.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var a;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let a=xe();a.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>a.dispose()))))}let n=null!=(a=window.scrollY)?a:window.pageYOffset,i=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let a=t.target.closest("a");if(!a)return;let{hash:n}=new URL(a.href),s=e.querySelector(n);s&&!r(s)&&(i=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let a=e.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;n!==t&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}))}}:{},ja(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];n.forEach((({before:e})=>null==e?void 0:e(r))),n.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function Ia(e,t,a=()=>[document.body]){!function(e,t,a=()=>({containers:[]})){let r=Bt(_a),n=t?r.get(t):void 0;!!n&&n.count;De((()=>{if(t&&e)return _a.dispatch("PUSH",t,a),()=>_a.dispatch("POP",t,a)}),[e,t])}(Vt(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],a]}}))}_a.subscribe((()=>{let e=_a.getSnapshot(),t=new Map;for(let[a]of e)t.set(a,a.documentElement.style.overflow);for(let a of e.values()){let e="hidden"===t.get(a.doc),r=0!==a.count;(r&&!e||!r&&e)&&_a.dispatch(a.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",a),0===a.count&&_a.dispatch("TEARDOWN",a)}}));let Ea=(0,t.createContext)(!1);function La(e){return t.createElement(Ea.Provider,{value:e.force},e.children)}let Ta=(0,t.createContext)(void 0);function Aa(){return(0,t.useContext)(Ta)}let za=(0,t.createContext)(null);function ka(){let e=(0,t.useContext)(za);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ka),e}return e}function Sa(){let[e,a]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let r=ve((e=>(a((t=>[...t,e])),()=>a((t=>{let a=t.slice(),r=a.indexOf(e);return-1!==r&&a.splice(r,1),a}))))),n=(0,t.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value})),[r,e.slot,e.name,e.props,e.value]);return t.createElement(za.Provider,{value:n},e.children)}),[a])]}za.displayName="DescriptionContext";let Oa=rt((function(e,a){let r=(0,t.useId)(),n=Aa(),{id:i=`headlessui-description-${r}`,...s}=e,o=ka(),l=Te(a);De((()=>o.register(i)),[i,o.register]);let c=n||!1,u=(0,t.useMemo)((()=>({...o.slot,disabled:c})),[o.slot,c]),d={ref:l,...o.props,id:i};return $e()({ourProps:d,theirProps:s,slot:u,defaultTag:"p",name:o.name||"Description"})})),Ca=Object.assign(Oa,{});function Ya(e){let a=ve(e),r=(0,t.useRef)(!1);(0,t.useEffect)((()=>(r.current=!1,()=>{r.current=!0,we((()=>{r.current&&a()}))})),[a])}var Ua=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ua||{});function Qa(e,a){let r=(0,t.useRef)([]),n=ve(e);(0,t.useEffect)((()=>{let e=[...r.current];for(let[t,i]of a.entries())if(r.current[t]!==i){let t=n(a,e);return r.current=a,t}}),[n,...a])}let Pa=[];function Fa(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let a of e.current)a.current instanceof HTMLElement&&t.add(a.current);return t}!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||Pa[0]===e.target)return;let t=e.target;t=t.closest($t),Pa.unshift(null!=t?t:e.target),Pa=Pa.filter((e=>null!=e&&e.isConnected)),Pa.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();var Ra=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(Ra||{});let Ha=rt((function(e,a){let r=(0,t.useRef)(null),n=Te(r,a),{initialFocus:i,initialFocusFallback:s,containers:o,features:l=15,...c}=e;Et()||(l=0);let u=ya(r);!function(e,{ownerDocument:a}){let r=!!(8&e),n=function(e=!0){let a=(0,t.useRef)(Pa.slice());return Qa((([e],[t])=>{!0===t&&!1===e&&we((()=>{a.current.splice(0)})),!1===t&&!0===e&&(a.current=Pa.slice())}),[e,Pa,a]),ve((()=>{var e;return null!=(e=a.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);Qa((()=>{r||(null==a?void 0:a.activeElement)===(null==a?void 0:a.body)&&ua(n())}),[r]),Ya((()=>{r&&ua(n())}))}(l,{ownerDocument:u});let d=function(e,{ownerDocument:a,container:r,initialFocus:n,initialFocusFallback:i}){let s=(0,t.useRef)(null),o=Vt(!!(1&e),"focus-trap#initial-focus"),l=It();return Qa((()=>{if(0===e)return;if(!o)return void(null!=i&&i.current&&ua(i.current));let t=r.current;t&&we((()=>{if(!l.current)return;let r=null==a?void 0:a.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(s.current=r)}else if(t.contains(r))return void(s.current=r);if(null!=n&&n.current)ua(n.current);else{if(16&e){if(ga(t,aa.First|aa.AutoFocus)!==ra.Error)return}else if(ga(t,aa.First)!==ra.Error)return;if(null!=i&&i.current&&(ua(i.current),(null==a?void 0:a.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==a?void 0:a.activeElement}))}),[i,o,e]),s}(l,{ownerDocument:u,container:r,initialFocus:i,initialFocusFallback:s});!function(e,{ownerDocument:t,container:a,containers:r,previousActiveElement:n}){let i=It(),s=!!(4&e);Ft(null==t?void 0:t.defaultView,"focus",(e=>{if(!s||!i.current)return;let t=Fa(r);a.current instanceof HTMLElement&&t.add(a.current);let o=n.current;if(!o)return;let l=e.target;l&&l instanceof HTMLElement?Wa(t,l)?(n.current=l,ua(l)):(e.preventDefault(),e.stopPropagation(),ua(o)):ua(n.current)}),!0)}(l,{ownerDocument:u,container:r,containers:o,previousActiveElement:d});let m=function(){let e=(0,t.useRef)(0);return Ma(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),g=ve((e=>{let t=r.current;t&&Ve(m.current,{[Ua.Forwards]:()=>{ga(t,aa.First,{skipElements:[e.relatedTarget,s]})},[Ua.Backwards]:()=>{ga(t,aa.Last,{skipElements:[e.relatedTarget,s]})}})})),p=Vt(!!(2&l),"focus-trap#tab-lock"),f=be(),M=(0,t.useRef)(!1),h={ref:n,onKeyDown(e){"Tab"==e.key&&(M.current=!0,f.requestAnimationFrame((()=>{M.current=!1})))},onBlur(e){if(!(4&l))return;let t=Fa(o);r.current instanceof HTMLElement&&t.add(r.current);let a=e.relatedTarget;a instanceof HTMLElement&&"true"!==a.dataset.headlessuiFocusGuard&&(Wa(t,a)||(M.current?ga(r.current,Ve(m.current,{[Ua.Forwards]:()=>aa.Next,[Ua.Backwards]:()=>aa.Previous})|aa.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&ua(e.target)))}},y=$e();return t.createElement(t.Fragment,null,p&&t.createElement(wa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:Na.Focusable}),y({ourProps:h,theirProps:c,defaultTag:"div",name:"FocusTrap"}),p&&t.createElement(wa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:Na.Focusable}))})),Ba=Object.assign(Ha,{features:Ra});function Wa(e,t){for(let a of e)if(a.contains(t))return!0;return!1}var Va=n(5795);let Za=t.Fragment,Ga=rt((function(e,a){let r=e,n=(0,t.useRef)(null),i=Te(Le((e=>{n.current=e})),a),s=ya(n),o=function(e){let a=(0,t.useContext)(Ea),r=(0,t.useContext)(Ja),n=ya(e),[i,s]=(0,t.useState)((()=>{var e;if(!a&&null!==r)return null!=(e=r.current)?e:null;if(ye.isServer)return null;let t=null==n?void 0:n.getElementById("headlessui-portal-root");if(t)return t;if(null===n)return null;let i=n.createElement("div");return i.setAttribute("id","headlessui-portal-root"),n.body.appendChild(i)}));return(0,t.useEffect)((()=>{null!==i&&(null!=n&&n.body.contains(i)||null==n||n.body.appendChild(i))}),[i,n]),(0,t.useEffect)((()=>{a||null!==r&&s(r.current)}),[r,s,a]),i}(n),[l]=(0,t.useState)((()=>{var e;return ye.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=(0,t.useContext)(qa),u=Et();De((()=>{!o||!l||o.contains(l)||(l.setAttribute("data-headlessui-portal",""),o.appendChild(l))}),[o,l]),De((()=>{if(l&&c)return c.register(l)}),[c,l]),Ya((()=>{var e;!o||!l||(l instanceof Node&&o.contains(l)&&o.removeChild(l),o.childNodes.length<=0&&(null==(e=o.parentElement)||e.removeChild(o)))}));let d=$e();return u&&o&&l?(0,Va.createPortal)(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:Za,name:"Portal"}),l):null})),Xa=t.Fragment,Ja=(0,t.createContext)(null),qa=(0,t.createContext)(null),$a=rt((function(e,a){let r=Te(a),{enabled:n=!0,...i}=e,s=$e();return n?t.createElement(Ga,{...i,ref:r}):s({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:Za,name:"Portal"})})),Ka=rt((function(e,a){let{target:r,...n}=e,i={ref:Te(a)},s=$e();return t.createElement(Ja.Provider,{value:r},s({ourProps:i,theirProps:n,defaultTag:Xa,name:"Popover.Group"}))})),er=Object.assign($a,{Group:Ka});var tr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(tr||{}),ar=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ar||{});let rr={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},nr=(0,t.createContext)(null);function ir(e){let a=(0,t.useContext)(nr);if(null===a){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ir),t}return a}function sr(e,t){return Ve(t.type,rr,e,t)}nr.displayName="DialogContext";let or=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:s,initialFocus:o,role:l="dialog",autoFocus:c=!0,__demoMode:u=!1,unmount:d=!1,...m}=e,g=(0,t.useRef)(!1);l="dialog"===l||"alertdialog"===l?l:(g.current||(g.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let p=Re();void 0===i&&null!==p&&(i=(p&Fe.Open)===Fe.Open);let f=(0,t.useRef)(null),M=Te(f,a),h=ya(f),y=i?0:1,[N,w]=(0,t.useReducer)(sr,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),x=ve((()=>s(!1))),b=ve((e=>w({type:0,id:e}))),D=!!Et()&&0===y,[j,v]=function(){let e=(0,t.useContext)(qa),a=(0,t.useRef)([]),r=ve((t=>(a.current.push(t),e&&e.register(t),()=>n(t)))),n=ve((t=>{let r=a.current.indexOf(t);-1!==r&&a.current.splice(r,1),e&&e.unregister(t)})),i=(0,t.useMemo)((()=>({register:r,unregister:n,portals:a})),[r,n,a]);return[a,(0,t.useMemo)((()=>function({children:e}){return t.createElement(qa.Provider,{value:i},e)}),[i])]}(),_={get current(){var e;return null!=(e=N.panelRef.current)?e:f.current}},I=Da(),{resolveContainers:E}=function({defaultContainers:e=[],portals:t,mainTreeNode:a}={}){let r=ya(a),n=ve((()=>{var n,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"current"in t&&t.current instanceof HTMLElement&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(n=null==r?void 0:r.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(a&&(e.contains(a)||e.contains(null==(i=null==a?void 0:a.getRootNode())?void 0:i.host))||s.some((t=>e.contains(t)))||s.push(e));return s}));return{resolveContainers:n,contains:ve((e=>n().some((t=>t.contains(e)))))}}({mainTreeNode:I,portals:j,defaultContainers:[_]}),L=null!==p&&(p&Fe.Closing)===Fe.Closing;Jt(!u&&!L&&D,{allowed:ve((()=>{var e,t;return[null!=(t=null==(e=f.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:ve((()=>{var e;return[null!=(e=null==I?void 0:I.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))}),ha(D,E,(e=>{e.preventDefault(),x()})),function(e,t=("undefined"!=typeof document?document.defaultView:null),a){let r=Vt(e,"escape");Ft(t,"keydown",(e=>{r&&(e.defaultPrevented||e.key===ut.Escape&&a(e))}))}(D,null==h?void 0:h.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),x()})),Ia(!u&&!L&&D,h,E),qt(D,f,x);let[T,A]=Sa(),z=(0,t.useMemo)((()=>[{dialogState:y,close:x,setTitleId:b,unmount:d},N]),[y,N,x,b,d]),k=(0,t.useMemo)((()=>({open:0===y})),[y]),S={ref:M,id:n,role:l,tabIndex:-1,"aria-modal":u?void 0:0===y||void 0,"aria-labelledby":N.titleId,"aria-describedby":T,unmount:d},O=!function(){var e;let[a]=(0,t.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[r,n]=(0,t.useState)(null!=(e=null==a?void 0:a.matches)&&e);return De((()=>{if(a)return a.addEventListener("change",e),()=>a.removeEventListener("change",e);function e(e){n(e.matches)}}),[a]),r}(),C=Ra.None;D&&!u&&(C|=Ra.RestoreFocus,C|=Ra.TabLock,c&&(C|=Ra.AutoFocus),O&&(C|=Ra.InitialFocus));let Y=$e();return t.createElement(Be,null,t.createElement(La,{force:!0},t.createElement(er,null,t.createElement(nr.Provider,{value:z},t.createElement(Ka,{target:f},t.createElement(La,{force:!1},t.createElement(A,{slot:k},t.createElement(v,null,t.createElement(Ba,{initialFocus:o,initialFocusFallback:f,containers:E,features:C},t.createElement(Ue,{value:x},Y({ourProps:S,theirProps:m,slot:k,defaultTag:lr,features:cr,visible:0===y,name:"Dialog"})))))))))))})),lr="div",cr=Je.RenderStrategy|Je.Static,ur=rt((function(e,a){let{transition:r=!1,open:n,...i}=e,s=Re(),o=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!o&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!o)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===n&&!r||i.static?t.createElement(ba,null,t.createElement(or,{ref:a,open:n,...i})):t.createElement(ba,null,t.createElement(Pt,{show:n,transition:r,unmount:i.unmount},t.createElement(or,{ref:a,...i})))})),dr=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...s}=e,[{dialogState:o,unmount:l},c]=ir("Dialog.Panel"),u=Te(a,c.panelRef),d=(0,t.useMemo)((()=>({open:0===o})),[o]),m={ref:u,id:n,onClick:ve((e=>{e.stopPropagation()}))},g=i?Qt:t.Fragment,p=i?{unmount:l}:{},f=$e();return t.createElement(g,{...p},f({ourProps:m,theirProps:s,slot:d,defaultTag:"div",name:"Dialog.Panel"}))})),mr=(rt((function(e,a){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:s}]=ir("Dialog.Backdrop"),o=(0,t.useMemo)((()=>({open:0===i})),[i]),l={ref:a,"aria-hidden":!0},c=r?Qt:t.Fragment,u=r?{unmount:s}:{},d=$e();return t.createElement(c,{...u},d({ourProps:l,theirProps:n,slot:o,defaultTag:"div",name:"Dialog.Backdrop"}))})),rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:s,setTitleId:o}]=ir("Dialog.Title"),l=Te(a);(0,t.useEffect)((()=>(o(n),()=>o(null))),[n,o]);let c=(0,t.useMemo)((()=>({open:0===s})),[s]),u={ref:l,id:n};return $e()({ourProps:u,theirProps:i,slot:c,defaultTag:"h2",name:"Dialog.Title"})}))),gr=Object.assign(ur,{Panel:dr,Title:mr,Description:Ca});function pr(){const[{options:e},a]=l(),r=function(t){const{name:r,value:n}=t.detail;void 0!==e[r]&&(window.wcfUnsavedChanges=!0,a({type:"SET_OPTION",name:r,value:n}))},n=[{type:"select"},{type:"select2"},{type:"checkbox"},{type:"text"},{type:"textarea"},{type:"number"},{type:"radio"},{type:"color"},{type:"font"},{type:"product"},{type:"coupon"},{type:"toggle"},{type:"selectioncard"}];(0,t.useEffect)((()=>(e&&n.map((function(e){return document.addEventListener(`wcf:${e.type}:change`,r),""})),()=>{n.map((function(e){return document.removeEventListener(`wcf:${e.type}:change`,r),""}))})),[e])}var fr=n(2376);function Mr(e,t,a){const r=e.length>t?e.substring(0,a)+"...":e;return(0,fr.decode)(r)}cartflows_admin.admin_base_slug,cartflows_admin.admin_base_url;const hr=new function(){const e=this;this.compare=function(e,t,a){switch(a){case"==":return e==t;case"!=":return e!=t;case"!==":return e!==t;case"in":return-1!==t.indexOf(e);case"!in":return-1===t.indexOf(e);case"contains":return-1!==e.indexOf(t);case"!contains":return-1===e.indexOf(t);case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;default:return e===t}},this.check=function(t,a){const r="or"===t.relation;let n=!r;return t.fields.map((function(t){let i;return i=t.fields?e.check(t,a):e.compare(a[t.name],t.value,t.operator),r?(i&&(n=!0),!i):i?"":n=!1})),n},this.isActiveControl=function(t,a){const r=!!t?.conditions&&t?.conditions;return!(r&&!e.check(r,a))}};var yr=n(442);const Nr=yr.default||yr;var wr=n(6942),xr=n.n(wr);const br=function(a){const{name:r,id:n,label:i,value:s,desc:o,backComp:l=!1,tooltip:c,onClick:u,notice:d,child_class:m="",isDisabled:g=!1,isPro:p=!1}=a,[f,M]=(0,t.useState)(s);(0,t.useEffect)((()=>{M(s)}),[s]);const h=l?"enable":"yes",y=l?"disable":"no";return(0,e.createElement)("div",{className:"wcf-field wcf-checkbox-field text-left"},(0,e.createElement)("div",{className:"wcf-field__data flex items-center gap-2.5"},(0,e.createElement)("div",{className:`wcf-field__data--content ${m}`},(0,e.createElement)("input",{type:"hidden",name:r,defaultValue:y}),(0,e.createElement)("input",{type:"checkbox",className:xr()(a.class,"!h-5 !w-5 !rounded !border-gray-300 !text-primary-600 focus:!ring-primary-600 !shadow-none before:!content-none !outline-none !m-0"),name:r,value:f,id:n||r,checked:h===f?"checked":"",onClick:function(e){let t="no";if(e.target.checked){if(d&&!function(){switch(d.type){case"alert":return alert(d.message),!0;case"confirm":return!!confirm(d.message);case"prompt":return prompt(d.message)===d.check.toUpperCase();default:return!1}}())return;M(h),t=h}else M(y),t=y;const a=new CustomEvent("wcf:checkbox:change",{bubbles:!0,detail:{e,name:r,value:t}});document.dispatchEvent(a)},onChange:function(e){u&&u(e)},disabled:g})),i&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left w-full md:w-80 lg:w-80"},(0,e.createElement)("label",{htmlFor:n||r,className:"mr-3"},i,c&&(0,e.createElement)(fh,{text:c}),!wcfCartflowsPro()&&p&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)] ml-2"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows"))))))),o&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-normal text-gray-500 mt-2"},Nr(o)))},Dr=function(a){const{name:r,label:n,value:i,options:s,desc:o,child_class:l="",onClick:c=""}=a,[u,d]=(0,t.useState)(i);function m(e){d(e.target.value);const t=new CustomEvent("wcf:radio:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t),c&&c(e.target.value)}return(0,t.useEffect)((()=>{d(i)}),[i]),(0,e.createElement)("div",{className:"wcf-field wcf-radio-field"},(0,e.createElement)("div",{className:"wcf-field__data block"},n&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left w-full md:w-80 lg:w-80 mb-2"},(0,e.createElement)("label",{className:"text-gray-800 text-base font-normal"},n)),(0,e.createElement)("div",{className:"wcf-field__data--content "},s&&s.map((function(t){const a=r+"-"+Math.random().toString(36).substring(2,5);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:`wcf-radio-field__option text-left py-1.5 ${l}`,key:a},(0,e.createElement)("input",{type:"radio",name:r,value:t.value,defaultChecked:u===t.value,id:a,onClick:m,className:"!h-5 !w-5 !border-gray-300 !text-primary-600 focus:!ring-primary-600 !shadow-none before:!content-none !outline-none my-0 !mr-2"}),(0,e.createElement)("span",{className:"wcf-radio-field__option-text text-sm font-medium text-left w-80"},(0,e.createElement)("label",{htmlFor:a,className:"text-gray-800 text-base font-normal"},t.label)),t.desc&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-normal text-gray-500 mt-2"},t.desc)))})))),o&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(o)))},jr=function(a){const{name:r,id:n,label:i,desc:s,tooltip:o,options:l,onSelect:c,prodata:u,after:d,sectionClass:m="",wrapperClass:g="",contentClass:p="",labelClass:f="",descClass:M="",displayAlign:h="horizontal",overrideCss:y=!1,isDisabled:N=!1}=a,[w,x]=(0,t.useState)(a.value),b=m||"text-left",D=f||"text-sm font-medium mb-2",j=M||"text-sm font-normal text-gray-500 mt-2";let v=g||"flex items-center gap-2.5",_=p||"";return"horizontal_inline"===h?(v="flex items-center justify-between gap-2.5",_="w-[300px]"):"horizontal"!==h&&(v="block w-full text-left"),(0,t.useEffect)((()=>{x(a.value)}),[a.value]),(0,e.createElement)("div",{className:`wcf-field wcf-select-option ${b}`},(0,e.createElement)("div",{className:`wcf-field__data ${v}`},i&&(0,e.createElement)("div",{className:`wcf-field__data--label ${D}`},(0,e.createElement)("label",null,i,o&&(0,e.createElement)(fh,{text:o}))),(0,e.createElement)("div",{className:`wcf-field__data--content ${_}`},(0,e.createElement)("select",{className:xr()(a.class?a.class:"",y?"":"w-full !max-w-full h-auto input-field !pl-3 !pr-6 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400"),name:r,id:n,value:w,onChange:function(e){x(e.target.value);const t=new CustomEvent("wcf:select:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t),a?.callback&&a.callback(e,a.name,e.target.value),c&&c(e)},disabled:N},l&&l.map((t=>{let a=t.label,r=!1;return u&&t.value in u&&(a=u[t.value],r=!0),t.isopt?(0,e.createElement)("optgroup",{label:t.title,key:t.title},t.options.map((t=>(0,e.createElement)("option",{value:t.value,disabled:r,key:t.value},t.label)))):(0,e.createElement)("option",{value:t.value,disabled:r,key:t.value},a)})))),d&&(0,e.createElement)("div",{className:`wcf-field__data--content__after ${j}`},d)),s&&(0,e.createElement)("div",{className:`wcf-field__desc ${j}`},Nr(s)))},vr=function(a){const{name:r,id:n,label:i,value:s,placeholder:o,tooltip:l,desc:c,readonly:u,icon:d,textFieldType:m="text",onChangeCB:g,sectionClass:p=!1,wrapperClass:f=!1,contentClass:M="",labelClass:h="",descClass:N="text-sm font-normal text-gray-500 mt-2",displayAlign:w="horizontal",attr:x}=a,[b,D]=(0,t.useState)(s),j=p||"text-left",v=`${a.class?a.class:""} ${u?"!bg-gray-50":""} !w-full !max-w-full !h-auto input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400`;let _=f||"flex items-center gap-2.5",I=h||"text-sm font-medium text-left";return"horizontal"!==w&&(_="block w-full text-left",I+=" mb-2"),(0,t.useEffect)((()=>{D(s)}),[s]),(0,e.createElement)("div",{className:`wcf-field wcf-text-field ${j} `},(0,e.createElement)("div",{className:`wcf-field__data ${_}`},i&&(0,e.createElement)("div",{className:`wcf-field__data--label ${I}`},(0,e.createElement)("label",null,i,l&&(0,e.createElement)(fh,{text:l}))),(0,e.createElement)("div",{className:`wcf-field__data--content ${M}`},(0,e.createElement)("input",(0,y.A)({},x,{type:m,className:v,name:r,value:(0,fr.decode)(b),id:n,onChange:function(e){D(e.target.value);const t=new CustomEvent("wcf:text:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t),g&&g(e.target.value)},placeholder:o,readOnly:u})))),d&&(0,e.createElement)("div",{className:"wcf-text-field__icon"},(0,e.createElement)("span",{className:d})),c&&(0,e.createElement)("div",{className:`wcf-field__desc ${N}`},Nr(c)))},_r=function(a){const{name:r,value:n,label:i,desc:s,id:o,placeholder:l,tooltip:c,rows:u,cols:d,sectionClass:m=!1,wrapperClass:g=!1,labelClass:p="",descClass:f="text-sm font-normal text-gray-500 mt-2",displayAlign:M="horizontal"}=a,h=m||"text-left",y=`${a.class?a.class:""} !w-full !max-w-full input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400`;let N=g||"flex items-center gap-2.5",w=p||"text-sm font-medium text-left mb-2";"horizontal"!==M&&(N="block w-full text-left",w+=" mb-2");const[x,b]=(0,t.useState)(n);return(0,t.useEffect)((()=>{b(n)}),[n]),(0,e.createElement)("div",{className:`wcf-field wcf-textarea-field ${h} `},(0,e.createElement)("div",{className:`wcf-field__data ${N}`},i&&(0,e.createElement)("div",{className:`wcf-field__data--label ${w}`},(0,e.createElement)("label",null,i,c&&(0,e.createElement)(fh,{text:c}))),(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)("textarea",{className:y,name:r,value:(0,fr.decode)(x),id:o,onChange:function(e){b(e.target.value);const t=new CustomEvent("wcf:textarea:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t)},placeholder:l,rows:u||"10",cols:d||"60"}))),s&&(0,e.createElement)("div",{className:`wcf-field__desc ${f}`},Nr(s)))};function Ir({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}const Er=t.forwardRef(Ir);function Lr({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))}const Tr=t.forwardRef(Lr);function Ar({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}const zr=t.forwardRef(Ar);function kr({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const Sr=t.forwardRef(kr),Or=(0,t.forwardRef)(((t,a=null)=>{const[{settingsProcess:r},n]=g();"saved"===r&&setTimeout((()=>{document.getElementsByClassName("wcf-button--save-global-settings")[0].blur(),n({status:"RESET"})}),2e3);const i=t.class?t.class:"wcf-primary-button",s=t.icon?t.icon:"",o=t.iconClass?t.iconClass:"",l="processing"===r?"wcf-disabled":"";return(0,e.createElement)("div",{className:"wcf-field wcf-submit wcf-submit-field"},(0,e.createElement)("button",{ref:a,type:"submit",className:`wcf-button wcf-button--save-global-settings gap-1.5 ${i} ${l}`,onClick:function(e){const t=e.target.closest("form");!t||t.checkValidity()?n({status:"PROCESSING"}):t.reportValidity()}},function(){let t="";if("processing"===r)return(0,e.createElement)(ay,{className:o});switch(s){case"plus":t=(0,e.createElement)(Tr,{className:`w-4 h-4 stroke-2 ${o}`});break;case"loader":t=(0,e.createElement)(zr,{className:`w-4 h-4 stroke-2 ${o}`});break;case"close":t=(0,e.createElement)(Sr,{className:`w-4 h-4 stroke-2 ${o}`});break;case"check":t=(0,e.createElement)(Er,{className:`w-4 h-4 stroke-2 ${o}`});break;default:t=""}return t}(),"saved"===r&&(0,e.createElement)("span",{className:"wcf-success-notice"},(0,e.createElement)(Er,{class:"w-4 h-4 stroke-2 inline-block mr-1"}),(0,e.createElement)("span",{className:"wcf-success-message"},(0,z.__)("Settings Saved","cartflows"))),"processing"===r&&(0,z.__)("Saving…","cartflows"),!r&&(0,z.__)("Save Settings","cartflows")))})),Cr=Or;function Yr(e){return Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yr(e)}function Ur(e){var t=function(e){if("object"!=Yr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=Yr(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yr(t)?t:t+""}function Qr(e,t,a){return(t=Ur(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Pr(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Fr(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Pr(Object(a),!0).forEach((function(t){Qr(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Pr(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Rr(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ur(r.key),r)}}var Hr=n(3662);function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Br(e)}function Wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Wr=function(){return!!e})()}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function Zr(e,t){if(e){if("string"==typeof e)return Vr(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Vr(e,t):void 0}}function Gr(e){return function(e){if(Array.isArray(e))return Vr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Zr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xr=function(){function e(e){var t=this;this._insertTag=function(e){var a;a=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,a),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Jr=Math.abs,qr=String.fromCharCode,$r=Object.assign;function Kr(e){return e.trim()}function en(e,t,a){return e.replace(t,a)}function tn(e,t){return e.indexOf(t)}function an(e,t){return 0|e.charCodeAt(t)}function rn(e,t,a){return e.slice(t,a)}function nn(e){return e.length}function sn(e){return e.length}function on(e,t){return t.push(e),e}var ln=1,cn=1,un=0,dn=0,mn=0,gn="";function pn(e,t,a,r,n,i,s){return{value:e,root:t,parent:a,type:r,props:n,children:i,line:ln,column:cn,length:s,return:""}}function fn(e,t){return $r(pn("",null,null,"",null,null,0),e,{length:-e.length},t)}function Mn(){return mn=dn<un?an(gn,dn++):0,cn++,10===mn&&(cn=1,ln++),mn}function hn(){return an(gn,dn)}function yn(){return dn}function Nn(e,t){return rn(gn,e,t)}function wn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xn(e){return ln=cn=1,un=nn(gn=e),dn=0,[]}function bn(e){return gn="",e}function Dn(e){return Kr(Nn(dn-1,In(91===e?e+2:40===e?e+1:e)))}function jn(e){for(;(mn=hn())&&mn<33;)Mn();return wn(e)>2||wn(mn)>3?"":" "}function vn(e,t){for(;--t&&Mn()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return Nn(e,yn()+(t<6&&32==hn()&&32==Mn()))}function In(e){for(;Mn();)switch(mn){case e:return dn;case 34:case 39:34!==e&&39!==e&&In(mn);break;case 40:41===e&&In(e);break;case 92:Mn()}return dn}function En(e,t){for(;Mn()&&e+mn!==57&&(e+mn!==84||47!==hn()););return"/*"+Nn(t,dn-1)+"*"+qr(47===e?e:Mn())}function Ln(e){for(;!wn(hn());)Mn();return Nn(e,dn)}var Tn="-ms-",An="-moz-",zn="-webkit-",kn="comm",Sn="rule",On="decl",Cn="@keyframes";function Yn(e,t){for(var a="",r=sn(e),n=0;n<r;n++)a+=t(e[n],n,e,t)||"";return a}function Un(e,t,a,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case On:return e.return=e.return||e.value;case kn:return"";case Cn:return e.return=e.value+"{"+Yn(e.children,r)+"}";case Sn:e.value=e.props.join(",")}return nn(a=Yn(e.children,r))?e.return=e.value+"{"+a+"}":""}function Qn(e){return bn(Pn("",null,null,null,[""],e=xn(e),0,[0],e))}function Pn(e,t,a,r,n,i,s,o,l){for(var c=0,u=0,d=s,m=0,g=0,p=0,f=1,M=1,h=1,y=0,N="",w=n,x=i,b=r,D=N;M;)switch(p=y,y=Mn()){case 40:if(108!=p&&58==an(D,d-1)){-1!=tn(D+=en(Dn(y),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:D+=Dn(y);break;case 9:case 10:case 13:case 32:D+=jn(p);break;case 92:D+=vn(yn()-1,7);continue;case 47:switch(hn()){case 42:case 47:on(Rn(En(Mn(),yn()),t,a),l);break;default:D+="/"}break;case 123*f:o[c++]=nn(D)*h;case 125*f:case 59:case 0:switch(y){case 0:case 125:M=0;case 59+u:-1==h&&(D=en(D,/\f/g,"")),g>0&&nn(D)-d&&on(g>32?Hn(D+";",r,a,d-1):Hn(en(D," ","")+";",r,a,d-2),l);break;case 59:D+=";";default:if(on(b=Fn(D,t,a,c,u,n,o,N,w=[],x=[],d),i),123===y)if(0===u)Pn(D,t,b,b,w,i,d,o,x);else switch(99===m&&110===an(D,3)?100:m){case 100:case 108:case 109:case 115:Pn(e,b,b,r&&on(Fn(e,b,b,0,0,n,o,N,n,w=[],d),x),n,x,d,o,r?w:x);break;default:Pn(D,b,b,b,[""],x,0,o,x)}}c=u=g=0,f=h=1,N=D="",d=s;break;case 58:d=1+nn(D),g=p;default:if(f<1)if(123==y)--f;else if(125==y&&0==f++&&125==(mn=dn>0?an(gn,--dn):0,cn--,10===mn&&(cn=1,ln--),mn))continue;switch(D+=qr(y),y*f){case 38:h=u>0?1:(D+="\f",-1);break;case 44:o[c++]=(nn(D)-1)*h,h=1;break;case 64:45===hn()&&(D+=Dn(Mn())),m=hn(),u=d=nn(N=D+=Ln(yn())),y++;break;case 45:45===p&&2==nn(D)&&(f=0)}}return i}function Fn(e,t,a,r,n,i,s,o,l,c,u){for(var d=n-1,m=0===n?i:[""],g=sn(m),p=0,f=0,M=0;p<r;++p)for(var h=0,y=rn(e,d+1,d=Jr(f=s[p])),N=e;h<g;++h)(N=Kr(f>0?m[h]+" "+y:en(y,/&\f/g,m[h])))&&(l[M++]=N);return pn(e,t,a,0===n?Sn:o,l,c,u)}function Rn(e,t,a){return pn(e,t,a,kn,qr(mn),rn(e,2,-2),0)}function Hn(e,t,a,r){return pn(e,t,a,On,rn(e,0,r),rn(e,r+1,-1),r)}var Bn=function(e,t,a){for(var r=0,n=0;r=n,n=hn(),38===r&&12===n&&(t[a]=1),!wn(n);)Mn();return Nn(e,dn)},Wn=new WeakMap,Vn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,a=e.parent,r=e.column===a.column&&e.line===a.line;"rule"!==a.type;)if(!(a=a.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Wn.get(a))&&!r){Wn.set(e,!0);for(var n=[],i=function(e,t){return bn(function(e,t){var a=-1,r=44;do{switch(wn(r)){case 0:38===r&&12===hn()&&(t[a]=1),e[a]+=Bn(dn-1,t,a);break;case 2:e[a]+=Dn(r);break;case 4:if(44===r){e[++a]=58===hn()?"&\f":"",t[a]=e[a].length;break}default:e[a]+=qr(r)}}while(r=Mn());return e}(xn(e),t))}(t,n),s=a.props,o=0,l=0;o<i.length;o++)for(var c=0;c<s.length;c++,l++)e.props[l]=n[o]?i[o].replace(/&\f/g,s[c]):s[c]+" "+i[o]}}},Zn=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Gn(e,t){switch(function(e,t){return 45^an(e,0)?(((t<<2^an(e,0))<<2^an(e,1))<<2^an(e,2))<<2^an(e,3):0}(e,t)){case 5103:return zn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return zn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return zn+e+An+e+Tn+e+e;case 6828:case 4268:return zn+e+Tn+e+e;case 6165:return zn+e+Tn+"flex-"+e+e;case 5187:return zn+e+en(e,/(\w+).+(:[^]+)/,zn+"box-$1$2"+Tn+"flex-$1$2")+e;case 5443:return zn+e+Tn+"flex-item-"+en(e,/flex-|-self/,"")+e;case 4675:return zn+e+Tn+"flex-line-pack"+en(e,/align-content|flex-|-self/,"")+e;case 5548:return zn+e+Tn+en(e,"shrink","negative")+e;case 5292:return zn+e+Tn+en(e,"basis","preferred-size")+e;case 6060:return zn+"box-"+en(e,"-grow","")+zn+e+Tn+en(e,"grow","positive")+e;case 4554:return zn+en(e,/([^-])(transform)/g,"$1"+zn+"$2")+e;case 6187:return en(en(en(e,/(zoom-|grab)/,zn+"$1"),/(image-set)/,zn+"$1"),e,"")+e;case 5495:case 3959:return en(e,/(image-set\([^]*)/,zn+"$1$`$1");case 4968:return en(en(e,/(.+:)(flex-)?(.*)/,zn+"box-pack:$3"+Tn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+zn+e+e;case 4095:case 3583:case 4068:case 2532:return en(e,/(.+)-inline(.+)/,zn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(nn(e)-1-t>6)switch(an(e,t+1)){case 109:if(45!==an(e,t+4))break;case 102:return en(e,/(.+:)(.+)-([^]+)/,"$1"+zn+"$2-$3$1"+An+(108==an(e,t+3)?"$3":"$2-$3"))+e;case 115:return~tn(e,"stretch")?Gn(en(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==an(e,t+1))break;case 6444:switch(an(e,nn(e)-3-(~tn(e,"!important")&&10))){case 107:return en(e,":",":"+zn)+e;case 101:return en(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+zn+(45===an(e,14)?"inline-":"")+"box$3$1"+zn+"$2$3$1"+Tn+"$2box$3")+e}break;case 5936:switch(an(e,t+11)){case 114:return zn+e+Tn+en(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return zn+e+Tn+en(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return zn+e+Tn+en(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return zn+e+Tn+e+e}return e}var Xn=[function(e,t,a,r){if(e.length>-1&&!e.return)switch(e.type){case On:e.return=Gn(e.value,e.length);break;case Cn:return Yn([fn(e,{value:en(e.value,"@","@"+zn)})],r);case Sn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Yn([fn(e,{props:[en(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Yn([fn(e,{props:[en(t,/:(plac\w+)/,":"+zn+"input-$1")]}),fn(e,{props:[en(t,/:(plac\w+)/,":-moz-$1")]}),fn(e,{props:[en(t,/:(plac\w+)/,Tn+"input-$1")]})],r)}return""}))}}],Jn=function(e){var t=e.key;if("css"===t){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,n,i=e.stylisPlugins||Xn,s={},o=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),a=1;a<t.length;a++)s[t[a]]=!0;o.push(e)}));var l,c,u,d,m=[Un,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],g=(c=[Vn,Zn].concat(i,m),u=sn(c),function(e,t,a,r){for(var n="",i=0;i<u;i++)n+=c[i](e,t,a,r)||"";return n});n=function(e,t,a,r){l=a,Yn(Qn(e?e+"{"+t.styles+"}":t.styles),g),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Xr({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:n};return p.sheet.hydrate(o),p},qn=function(e,t,a){var r=e.key+"-"+t.name;!1===a&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},$n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Kn(e){var t=Object.create(null);return function(a){return void 0===t[a]&&(t[a]=e(a)),t[a]}}var ei=/[A-Z]|^ms/g,ti=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ai=function(e){return 45===e.charCodeAt(1)},ri=function(e){return null!=e&&"boolean"!=typeof e},ni=Kn((function(e){return ai(e)?e:e.replace(ei,"-$&").toLowerCase()})),ii=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ti,(function(e,t,a){return oi={name:t,styles:a,next:oi},t}))}return 1===$n[e]||ai(e)||"number"!=typeof t||0===t?t:t+"px"};function si(e,t,a){if(null==a)return"";var r=a;if(void 0!==r.__emotion_styles)return r;switch(typeof a){case"boolean":return"";case"object":var n=a;if(1===n.anim)return oi={name:n.name,styles:n.styles,next:oi},n.name;var i=a;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)oi={name:s.name,styles:s.styles,next:oi},s=s.next;return i.styles+";"}return function(e,t,a){var r="";if(Array.isArray(a))for(var n=0;n<a.length;n++)r+=si(e,t,a[n])+";";else for(var i in a){var s=a[i];if("object"!=typeof s){var o=s;null!=t&&void 0!==t[o]?r+=i+"{"+t[o]+"}":ri(o)&&(r+=ni(i)+":"+ii(i,o)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var l=si(e,t,s);switch(i){case"animation":case"animationName":r+=ni(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var c=0;c<s.length;c++)ri(s[c])&&(r+=ni(i)+":"+ii(i,s[c])+";")}return r}(e,t,a);case"function":if(void 0!==e){var o=oi,l=a(e);return oi=o,si(e,t,l)}}var c=a;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var oi,li=/label:\s*([^\s;{]+)\s*(;|$)/g;function ci(e,t,a){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,n="";oi=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,n+=si(a,t,i)):n+=i[0];for(var s=1;s<e.length;s++)n+=si(a,t,e[s]),r&&(n+=i[s]);li.lastIndex=0;for(var o,l="";null!==(o=li.exec(n));)l+="-"+o[1];var c=function(e){for(var t,a=0,r=0,n=e.length;n>=4;++r,n-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),a=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&a)+(59797*(a>>>16)<<16);switch(n){case 3:a^=(255&e.charCodeAt(r+2))<<16;case 2:a^=(255&e.charCodeAt(r+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(r)))+(59797*(a>>>16)<<16)}return(((a=1540483477*(65535&(a^=a>>>13))+(59797*(a>>>16)<<16))^a>>>15)>>>0).toString(36)}(n)+l;return{name:c,styles:n,next:oi}}var ui,di,mi=!!t.useInsertionEffect&&t.useInsertionEffect,gi=mi||function(e){return e()},pi=(mi||t.useLayoutEffect,t.createContext("undefined"!=typeof HTMLElement?Jn({key:"css"}):null)),fi=(pi.Provider,function(e){return(0,t.forwardRef)((function(a,r){var n=(0,t.useContext)(pi);return e(a,n,r)}))}),Mi=t.createContext({}),hi={}.hasOwnProperty,yi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ni=function(e){var t=e.cache,a=e.serialized,r=e.isStringTag;return qn(t,a,r),gi((function(){return function(e,t,a){qn(e,t,a);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var n=t;do{e.insert(t===n?"."+r:"",n,e.sheet,!0),n=n.next}while(void 0!==n)}}(t,a,r)})),null},wi=fi((function(e,a,r){var n=e.css;"string"==typeof n&&void 0!==a.registered[n]&&(n=a.registered[n]);var i=e[yi],s=[n],o="";"string"==typeof e.className?o=function(e,t,a){var r="";return a.split(" ").forEach((function(a){void 0!==e[a]?t.push(e[a]+";"):a&&(r+=a+" ")})),r}(a.registered,s,e.className):null!=e.className&&(o=e.className+" ");var l=ci(s,void 0,t.useContext(Mi));o+=a.key+"-"+l.name;var c={};for(var u in e)hi.call(e,u)&&"css"!==u&&u!==yi&&(c[u]=e[u]);return c.className=o,r&&(c.ref=r),t.createElement(t.Fragment,null,t.createElement(Ni,{cache:a,serialized:l,isStringTag:"string"==typeof i}),t.createElement(i,c))})),xi=(n(4146),function(e,a){var r=arguments;if(null==a||!hi.call(a,"css"))return t.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=wi,i[1]=function(e,t){var a={};for(var r in t)hi.call(t,r)&&(a[r]=t[r]);return a[yi]=e,a}(e,a);for(var s=2;s<n;s++)i[s]=r[s];return t.createElement.apply(null,i)});function bi(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return ci(t)}function Di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,i,s,o=[],l=!0,c=!1;try{if(i=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(r=i.call(a)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){c=!0,n=e}finally{try{if(!l&&null!=a.return&&(s=a.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(e,t)||Zr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ji(e,t){if(null==e)return{};var a,r,n=(0,N.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],-1===t.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}ui=xi||(xi={}),di||(di=ui.JSX||(ui.JSX={}));const vi=Math.min,_i=Math.max,Ii=Math.round,Ei=Math.floor,Li=e=>({x:e,y:e}),Ti={left:"right",right:"left",bottom:"top",top:"bottom"},Ai={start:"end",end:"start"};function zi(e,t,a){return _i(e,vi(t,a))}function ki(e,t){return"function"==typeof e?e(t):e}function Si(e){return e.split("-")[0]}function Oi(e){return e.split("-")[1]}function Ci(e){return"x"===e?"y":"x"}function Yi(e){return"y"===e?"height":"width"}function Ui(e){return["top","bottom"].includes(Si(e))?"y":"x"}function Qi(e){return Ci(Ui(e))}function Pi(e){return e.replace(/start|end/g,(e=>Ai[e]))}function Fi(e){return e.replace(/left|right|bottom|top/g,(e=>Ti[e]))}function Ri(e){const{x:t,y:a,width:r,height:n}=e;return{width:r,height:n,top:a,left:t,right:t+r,bottom:a+n,x:t,y:a}}function Hi(e,t,a){let{reference:r,floating:n}=e;const i=Ui(t),s=Qi(t),o=Yi(s),l=Si(t),c="y"===i,u=r.x+r.width/2-n.width/2,d=r.y+r.height/2-n.height/2,m=r[o]/2-n[o]/2;let g;switch(l){case"top":g={x:u,y:r.y-n.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:d};break;case"left":g={x:r.x-n.width,y:d};break;default:g={x:r.x,y:r.y}}switch(Oi(t)){case"start":g[s]-=m*(a&&c?-1:1);break;case"end":g[s]+=m*(a&&c?-1:1)}return g}async function Bi(e,t){var a;void 0===t&&(t={});const{x:r,y:n,platform:i,rects:s,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:g=0}=ki(t,e),p=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(g),f=o[m?"floating"===d?"reference":"floating":d],M=Ri(await i.getClippingRect({element:null==(a=await(null==i.isElement?void 0:i.isElement(f)))||a?f:f.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:u,strategy:l})),h="floating"===d?{x:r,y:n,width:s.floating.width,height:s.floating.height}:s.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(o.floating)),N=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=Ri(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:h,offsetParent:y,strategy:l}):h);return{top:(M.top-w.top+p.top)/N.y,bottom:(w.bottom-M.bottom+p.bottom)/N.y,left:(M.left-w.left+p.left)/N.x,right:(w.right-M.right+p.right)/N.x}}function Wi(){return"undefined"!=typeof window}function Vi(e){return Xi(e)?(e.nodeName||"").toLowerCase():"#document"}function Zi(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Gi(e){var t;return null==(t=(Xi(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Xi(e){return!!Wi()&&(e instanceof Node||e instanceof Zi(e).Node)}function Ji(e){return!!Wi()&&(e instanceof Element||e instanceof Zi(e).Element)}function qi(e){return!!Wi()&&(e instanceof HTMLElement||e instanceof Zi(e).HTMLElement)}function $i(e){return!(!Wi()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zi(e).ShadowRoot)}function Ki(e){const{overflow:t,overflowX:a,overflowY:r,display:n}=is(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+a)&&!["inline","contents"].includes(n)}function es(e){return["table","td","th"].includes(Vi(e))}function ts(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function as(e){const t=rs(),a=Ji(e)?is(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!a[e]&&"none"!==a[e]))||!!a.containerType&&"normal"!==a.containerType||!t&&!!a.backdropFilter&&"none"!==a.backdropFilter||!t&&!!a.filter&&"none"!==a.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(a.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(a.contain||"").includes(e)))}function rs(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ns(e){return["html","body","#document"].includes(Vi(e))}function is(e){return Zi(e).getComputedStyle(e)}function ss(e){return Ji(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function os(e){if("html"===Vi(e))return e;const t=e.assignedSlot||e.parentNode||$i(e)&&e.host||Gi(e);return $i(t)?t.host:t}function ls(e){const t=os(e);return ns(t)?e.ownerDocument?e.ownerDocument.body:e.body:qi(t)&&Ki(t)?t:ls(t)}function cs(e,t,a){var r;void 0===t&&(t=[]),void 0===a&&(a=!0);const n=ls(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),s=Zi(n);if(i){const e=us(s);return t.concat(s,s.visualViewport||[],Ki(n)?n:[],e&&a?cs(e):[])}return t.concat(n,cs(n,[],a))}function us(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ds(e){const t=is(e);let a=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const n=qi(e),i=n?e.offsetWidth:a,s=n?e.offsetHeight:r,o=Ii(a)!==i||Ii(r)!==s;return o&&(a=i,r=s),{width:a,height:r,$:o}}function ms(e){return Ji(e)?e:e.contextElement}function gs(e){const t=ms(e);if(!qi(t))return Li(1);const a=t.getBoundingClientRect(),{width:r,height:n,$:i}=ds(t);let s=(i?Ii(a.width):a.width)/r,o=(i?Ii(a.height):a.height)/n;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}const ps=Li(0);function fs(e){const t=Zi(e);return rs()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ps}function Ms(e,t,a,r){void 0===t&&(t=!1),void 0===a&&(a=!1);const n=e.getBoundingClientRect(),i=ms(e);let s=Li(1);t&&(r?Ji(r)&&(s=gs(r)):s=gs(e));const o=function(e,t,a){return void 0===t&&(t=!1),!(!a||t&&a!==Zi(e))&&t}(i,a,r)?fs(i):Li(0);let l=(n.left+o.x)/s.x,c=(n.top+o.y)/s.y,u=n.width/s.x,d=n.height/s.y;if(i){const e=Zi(i),t=r&&Ji(r)?Zi(r):r;let a=e,n=us(a);for(;n&&r&&t!==a;){const e=gs(n),t=n.getBoundingClientRect(),r=is(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,a=Zi(n),n=us(a)}}return Ri({width:u,height:d,x:l,y:c})}function hs(e,t){const a=ss(e).scrollLeft;return t?t.left+a:Ms(Gi(e)).left+a}function ys(e,t,a){void 0===a&&(a=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(a?0:hs(e,r)),y:r.top+t.scrollTop}}function Ns(e,t,a){let r;if("viewport"===t)r=function(e,t){const a=Zi(e),r=Gi(e),n=a.visualViewport;let i=r.clientWidth,s=r.clientHeight,o=0,l=0;if(n){i=n.width,s=n.height;const e=rs();(!e||e&&"fixed"===t)&&(o=n.offsetLeft,l=n.offsetTop)}return{width:i,height:s,x:o,y:l}}(e,a);else if("document"===t)r=function(e){const t=Gi(e),a=ss(e),r=e.ownerDocument.body,n=_i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=_i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-a.scrollLeft+hs(e);const o=-a.scrollTop;return"rtl"===is(r).direction&&(s+=_i(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:o}}(Gi(e));else if(Ji(t))r=function(e,t){const a=Ms(e,!0,"fixed"===t),r=a.top+e.clientTop,n=a.left+e.clientLeft,i=qi(e)?gs(e):Li(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:n*i.x,y:r*i.y}}(t,a);else{const a=fs(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Ri(r)}function ws(e,t){const a=os(e);return!(a===t||!Ji(a)||ns(a))&&("fixed"===is(a).position||ws(a,t))}function xs(e,t,a){const r=qi(t),n=Gi(t),i="fixed"===a,s=Ms(e,!0,i,t);let o={scrollLeft:0,scrollTop:0};const l=Li(0);if(r||!r&&!i)if(("body"!==Vi(t)||Ki(n))&&(o=ss(t)),r){const e=Ms(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&(l.x=hs(n));const c=!n||r||i?Li(0):ys(n,o);return{x:s.left+o.scrollLeft-l.x-c.x,y:s.top+o.scrollTop-l.y-c.y,width:s.width,height:s.height}}function bs(e){return"static"===is(e).position}function Ds(e,t){if(!qi(e)||"fixed"===is(e).position)return null;if(t)return t(e);let a=e.offsetParent;return Gi(e)===a&&(a=a.ownerDocument.body),a}function js(e,t){const a=Zi(e);if(ts(e))return a;if(!qi(e)){let t=os(e);for(;t&&!ns(t);){if(Ji(t)&&!bs(t))return t;t=os(t)}return a}let r=Ds(e,t);for(;r&&es(r)&&bs(r);)r=Ds(r,t);return r&&ns(r)&&bs(r)&&!as(r)?a:r||function(e){let t=os(e);for(;qi(t)&&!ns(t);){if(as(t))return t;if(ts(t))return null;t=os(t)}return null}(e)||a}const vs={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:a,offsetParent:r,strategy:n}=e;const i="fixed"===n,s=Gi(r),o=!!t&&ts(t.floating);if(r===s||o&&i)return a;let l={scrollLeft:0,scrollTop:0},c=Li(1);const u=Li(0),d=qi(r);if((d||!d&&!i)&&(("body"!==Vi(r)||Ki(s))&&(l=ss(r)),qi(r))){const e=Ms(r);c=gs(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const m=!s||d||i?Li(0):ys(s,l,!0);return{width:a.width*c.x,height:a.height*c.y,x:a.x*c.x-l.scrollLeft*c.x+u.x+m.x,y:a.y*c.y-l.scrollTop*c.y+u.y+m.y}},getDocumentElement:Gi,getClippingRect:function(e){let{element:t,boundary:a,rootBoundary:r,strategy:n}=e;const i=[..."clippingAncestors"===a?ts(t)?[]:function(e,t){const a=t.get(e);if(a)return a;let r=cs(e,[],!1).filter((e=>Ji(e)&&"body"!==Vi(e))),n=null;const i="fixed"===is(e).position;let s=i?os(e):e;for(;Ji(s)&&!ns(s);){const t=is(s),a=as(s);a||"fixed"!==t.position||(n=null),(i?!a&&!n:!a&&"static"===t.position&&n&&["absolute","fixed"].includes(n.position)||Ki(s)&&!a&&ws(e,s))?r=r.filter((e=>e!==s)):n=t,s=os(s)}return t.set(e,r),r}(t,this._c):[].concat(a),r],s=i[0],o=i.reduce(((e,a)=>{const r=Ns(t,a,n);return e.top=_i(r.top,e.top),e.right=vi(r.right,e.right),e.bottom=vi(r.bottom,e.bottom),e.left=_i(r.left,e.left),e}),Ns(t,s,n));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},getOffsetParent:js,getElementRects:async function(e){const t=this.getOffsetParent||js,a=this.getDimensions,r=await a(e.floating);return{reference:xs(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:a}=ds(e);return{width:t,height:a}},getScale:gs,isElement:Ji,isRTL:function(e){return"rtl"===is(e).direction}};function _s(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Is(e,t,a,r){void 0===r&&(r={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=ms(e),u=n||i?[...c?cs(c):[],...cs(t)]:[];u.forEach((e=>{n&&e.addEventListener("scroll",a,{passive:!0}),i&&e.addEventListener("resize",a)}));const d=c&&o?function(e,t){let a,r=null;const n=Gi(e);function i(){var e;clearTimeout(a),null==(e=r)||e.disconnect(),r=null}return function s(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:m,height:g}=c;if(o||t(),!m||!g)return;const p={rootMargin:-Ei(d)+"px "+-Ei(n.clientWidth-(u+m))+"px "+-Ei(n.clientHeight-(d+g))+"px "+-Ei(u)+"px",threshold:_i(0,vi(1,l))||1};let f=!0;function M(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):a=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==r||_s(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(M,{...p,root:n.ownerDocument})}catch(e){r=new IntersectionObserver(M,p)}r.observe(e)}(!0),i}(c,a):null;let m,g=-1,p=null;s&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),a()})),c&&!l&&p.observe(c),p.observe(t));let f=l?Ms(e):null;return l&&function t(){const r=Ms(e);f&&!_s(f,r)&&a(),f=r,m=requestAnimationFrame(t)}(),a(),()=>{var e;u.forEach((e=>{n&&e.removeEventListener("scroll",a),i&&e.removeEventListener("resize",a)})),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(m)}}const Es=Bi,Ls=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var a,r;const{x:n,y:i,placement:s,middlewareData:o}=t,l=await async function(e,t){const{placement:a,platform:r,elements:n}=e,i=await(null==r.isRTL?void 0:r.isRTL(n.floating)),s=Si(a),o=Oi(a),l="y"===Ui(a),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=ki(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return o&&"number"==typeof p&&(g="end"===o?-1*p:p),l?{x:g*u,y:m*c}:{x:m*c,y:g*u}}(t,e);return s===(null==(a=o.offset)?void 0:a.placement)&&null!=(r=o.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:s}}}}},Ts=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:r,placement:n}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:o={fn:e=>{let{x:t,y:a}=e;return{x:t,y:a}}},...l}=ki(e,t),c={x:a,y:r},u=await Bi(t,l),d=Ui(Si(n)),m=Ci(d);let g=c[m],p=c[d];if(i){const e="y"===m?"bottom":"right";g=zi(g+u["y"===m?"top":"left"],g,g-u[e])}if(s){const e="y"===d?"bottom":"right";p=zi(p+u["y"===d?"top":"left"],p,p-u[e])}const f=o.fn({...t,[m]:g,[d]:p});return{...f,data:{x:f.x-a,y:f.y-r,enabled:{[m]:i,[d]:s}}}}}},As=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var a,r;const{placement:n,middlewareData:i,rects:s,initialPlacement:o,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:f=!0,...M}=ki(e,t);if(null!=(a=i.arrow)&&a.alignmentOffset)return{};const h=Si(n),y=Ui(o),N=Si(o)===o,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=m||(N||!f?[Fi(o)]:function(e){const t=Fi(e);return[Pi(e),t,Pi(t)]}(o)),b="none"!==p;!m&&b&&x.push(...function(e,t,a,r){const n=Oi(e);let i=function(e,t,a){const r=["left","right"],n=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return a?t?n:r:t?r:n;case"left":case"right":return t?i:s;default:return[]}}(Si(e),"start"===a,r);return n&&(i=i.map((e=>e+"-"+n)),t&&(i=i.concat(i.map(Pi)))),i}(o,f,p,w));const D=[o,...x],j=await Bi(t,M),v=[];let _=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&v.push(j[h]),d){const e=function(e,t,a){void 0===a&&(a=!1);const r=Oi(e),n=Qi(e),i=Yi(n);let s="x"===n?r===(a?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fi(s)),[s,Fi(s)]}(n,s,w);v.push(j[e[0]],j[e[1]])}if(_=[..._,{placement:n,overflows:v}],!v.every((e=>e<=0))){var I,E;const e=((null==(I=i.flip)?void 0:I.index)||0)+1,t=D[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let a=null==(E=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement;if(!a)switch(g){case"bestFit":{var L;const e=null==(L=_.filter((e=>{if(b){const t=Ui(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(a=e);break}case"initialPlacement":a=o}if(n!==a)return{reset:{placement:a}}}return{}}}},zs=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var a,r;const{placement:n,rects:i,platform:s,elements:o}=t,{apply:l=()=>{},...c}=ki(e,t),u=await Bi(t,c),d=Si(n),m=Oi(n),g="y"===Ui(n),{width:p,height:f}=i.floating;let M,h;"top"===d||"bottom"===d?(M=d,h=m===(await(null==s.isRTL?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(h=d,M="end"===m?"top":"bottom");const y=f-u.top-u.bottom,N=p-u.left-u.right,w=vi(f-u[M],y),x=vi(p-u[h],N),b=!t.middlewareData.shift;let D=w,j=x;if(null!=(a=t.middlewareData.shift)&&a.enabled.x&&(j=N),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(D=y),b&&!m){const e=_i(u.left,0),t=_i(u.right,0),a=_i(u.top,0),r=_i(u.bottom,0);g?j=p-2*(0!==e||0!==t?e+t:_i(u.left,u.right)):D=f-2*(0!==a||0!==r?a+r:_i(u.top,u.bottom))}await l({...t,availableWidth:j,availableHeight:D});const v=await s.getDimensions(o.floating);return p!==v.width||f!==v.height?{reset:{rects:!0}}:{}}}};var ks=t.useLayoutEffect,Ss=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Os=function(){};function Cs(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ys(e,t){for(var a=arguments.length,r=new Array(a>2?a-2:0),n=2;n<a;n++)r[n-2]=arguments[n];var i=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(Cs(e,s)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Us=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Yr(e)&&null!==e?[e]:[];var t},Qs=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Fr({},ji(e,Ss))},Ps=function(e,t,a){var r=e.cx,n=e.getStyles,i=e.getClassNames,s=e.className;return{css:n(t,e),className:r(null!=a?a:{},i(t,e),s)}};function Fs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Rs(e){return Fs(e)?window.pageYOffset:e.scrollTop}function Hs(e,t){Fs(e)?window.scrollTo(0,t):e.scrollTop=t}function Bs(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Os,n=Rs(e),i=t-n,s=0;!function t(){var o=function(e,t,a,r){return a*((e=e/r-1)*e*e+1)+t}(s+=10,n,i,a);Hs(e,o),s<a?window.requestAnimationFrame(t):r(e)}()}function Ws(e,t){var a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=t.offsetHeight/3;r.bottom+n>a.bottom?Hs(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+n,e.scrollHeight)):r.top-n<a.top&&Hs(e,Math.max(t.offsetTop-n,0))}function Vs(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Zs=!1,Gs={get passive(){return Zs=!0}},Xs="undefined"!=typeof window?window:{};Xs.addEventListener&&Xs.removeEventListener&&(Xs.addEventListener("p",Os,Gs),Xs.removeEventListener("p",Os,!1));var Js=Zs;function qs(e){return null!=e}function $s(e,t,a){return e?t:a}var Ks=["children","innerProps"],eo=["children","innerProps"];var to,ao=function(e){return"auto"===e?"bottom":e},ro=(0,t.createContext)(null),no=function(e){var a=e.children,r=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,o=e.menuShouldScrollIntoView,l=e.theme,c=((0,t.useContext)(ro)||{}).setPortalPlacement,u=(0,t.useRef)(null),d=Di((0,t.useState)(n),2),m=d[0],g=d[1],p=Di((0,t.useState)(null),2),f=p[0],M=p[1],h=l.spacing.controlHeight;return ks((function(){var e=u.current;if(e){var t="fixed"===s,a=function(e){var t=e.maxHeight,a=e.menuEl,r=e.minHeight,n=e.placement,i=e.shouldScroll,s=e.isFixedPosition,o=e.controlHeight,l=function(e){var t=getComputedStyle(e),a="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var n=e;n=n.parentElement;)if(t=getComputedStyle(n),(!a||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return n;return document.documentElement}(a),c={placement:"bottom",maxHeight:t};if(!a||!a.offsetParent)return c;var u,d=l.getBoundingClientRect().height,m=a.getBoundingClientRect(),g=m.bottom,p=m.height,f=m.top,M=a.offsetParent.getBoundingClientRect().top,h=s||Fs(u=l)?window.innerHeight:u.clientHeight,y=Rs(l),N=parseInt(getComputedStyle(a).marginBottom,10),w=parseInt(getComputedStyle(a).marginTop,10),x=M-w,b=h-f,D=x+y,j=d-y-f,v=g-h+y+N,_=y+f-w,I=160;switch(n){case"auto":case"bottom":if(b>=p)return{placement:"bottom",maxHeight:t};if(j>=p&&!s)return i&&Bs(l,v,I),{placement:"bottom",maxHeight:t};if(!s&&j>=r||s&&b>=r)return i&&Bs(l,v,I),{placement:"bottom",maxHeight:s?b-N:j-N};if("auto"===n||s){var E=t,L=s?x:D;return L>=r&&(E=Math.min(L-N-o,t)),{placement:"top",maxHeight:E}}if("bottom"===n)return i&&Hs(l,v),{placement:"bottom",maxHeight:t};break;case"top":if(x>=p)return{placement:"top",maxHeight:t};if(D>=p&&!s)return i&&Bs(l,_,I),{placement:"top",maxHeight:t};if(!s&&D>=r||s&&x>=r){var T=t;return(!s&&D>=r||s&&x>=r)&&(T=s?x-w:D-w),i&&Bs(l,_,I),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}({maxHeight:n,menuEl:e,minHeight:r,placement:i,shouldScroll:o&&!t,isFixedPosition:t,controlHeight:h});g(a.maxHeight),M(a.placement),null==c||c(a.placement)}}),[n,i,s,o,r,c,h]),a({ref:u,placerProps:Fr(Fr({},e),{},{placement:f||ao(i),maxHeight:m})})},io=function(e,t){var a=e.theme,r=a.spacing.baseUnit,n=a.colors;return Fr({textAlign:"center"},t?{}:{color:n.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},so=io,oo=io,lo=["size"],co=["innerProps","isRtl","size"],uo={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},mo=function(e){var t=e.size,a=ji(e,lo);return xi("svg",(0,y.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:uo},a))},go=function(e){return xi(mo,(0,y.A)({size:20},e),xi("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},po=function(e){return xi(mo,(0,y.A)({size:20},e),xi("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},fo=function(e,t){var a=e.isFocused,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return Fr({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:a?i.neutral60:i.neutral20,padding:2*n,":hover":{color:a?i.neutral80:i.neutral40}})},Mo=fo,ho=fo,yo=function(){var e=bi.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(to||(to=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),No=function(e){var t=e.delay,a=e.offset;return xi("span",{css:bi({animation:"".concat(yo," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},wo=["data"],xo=["innerRef","isDisabled","isHidden","inputClassName"],bo={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Do={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Fr({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},bo)},jo=function(e){return Fr({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},bo)},vo=function(e){var t=e.children,a=e.innerProps;return xi("div",a,t)},_o={ClearIndicator:function(e){var t=e.children,a=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),a),t||xi(go,null))},Control:function(e){var t=e.children,a=e.isDisabled,r=e.isFocused,n=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return xi("div",(0,y.A)({ref:n},Ps(e,"control",{control:!0,"control--is-disabled":a,"control--is-focused":r,"control--menu-is-open":s}),i,{"aria-disabled":a||void 0}),t)},DropdownIndicator:function(e){var t=e.children,a=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),a),t||xi(po,null))},DownChevron:po,CrossIcon:go,Group:function(e){var t=e.children,a=e.cx,r=e.getStyles,n=e.getClassNames,i=e.Heading,s=e.headingProps,o=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return xi("div",(0,y.A)({},Ps(e,"group",{group:!0}),o),xi(i,(0,y.A)({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:n,cx:a}),l),xi("div",null,t))},GroupHeading:function(e){var t=Qs(e);t.data;var a=ji(t,wo);return xi("div",(0,y.A)({},Ps(e,"groupHeading",{"group-heading":!0}),a))},IndicatorsContainer:function(e){var t=e.children,a=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"indicatorsContainer",{indicators:!0}),a),t)},IndicatorSeparator:function(e){var t=e.innerProps;return xi("span",(0,y.A)({},t,Ps(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,a=e.value,r=Qs(e),n=r.innerRef,i=r.isDisabled,s=r.isHidden,o=r.inputClassName,l=ji(r,xo);return xi("div",(0,y.A)({},Ps(e,"input",{"input-container":!0}),{"data-value":a||""}),xi("input",(0,y.A)({className:t({input:!0},o),ref:n,style:jo(s),disabled:i},l)))},LoadingIndicator:function(e){var t=e.innerProps,a=e.isRtl,r=e.size,n=void 0===r?4:r,i=ji(e,co);return xi("div",(0,y.A)({},Ps(Fr(Fr({},i),{},{innerProps:t,isRtl:a,size:n}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),xi(No,{delay:0,offset:a}),xi(No,{delay:160,offset:!0}),xi(No,{delay:320,offset:!a}))},Menu:function(e){var t=e.children,a=e.innerRef,r=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"menu",{menu:!0}),{ref:a},r),t)},MenuList:function(e){var t=e.children,a=e.innerProps,r=e.innerRef,n=e.isMulti;return xi("div",(0,y.A)({},Ps(e,"menuList",{"menu-list":!0,"menu-list--is-multi":n}),{ref:r},a),t)},MenuPortal:function(e){var a=e.appendTo,r=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,o=e.menuPosition,l=(0,t.useRef)(null),c=(0,t.useRef)(null),u=Di((0,t.useState)(ao(s)),2),d=u[0],m=u[1],g=(0,t.useMemo)((function(){return{setPortalPlacement:m}}),[]),p=Di((0,t.useState)(null),2),f=p[0],M=p[1],h=(0,t.useCallback)((function(){if(n){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),t="fixed"===o?0:window.pageYOffset,a=e[d]+t;a===(null==f?void 0:f.offset)&&e.left===(null==f?void 0:f.rect.left)&&e.width===(null==f?void 0:f.rect.width)||M({offset:a,rect:e})}}),[n,o,d,null==f?void 0:f.offset,null==f?void 0:f.rect.left,null==f?void 0:f.rect.width]);ks((function(){h()}),[h]);var N=(0,t.useCallback)((function(){"function"==typeof c.current&&(c.current(),c.current=null),n&&l.current&&(c.current=Is(n,l.current,h,{elementResize:"ResizeObserver"in window}))}),[n,h]);ks((function(){N()}),[N]);var w=(0,t.useCallback)((function(e){l.current=e,N()}),[N]);if(!a&&"fixed"!==o||!f)return null;var x=xi("div",(0,y.A)({ref:w},Ps(Fr(Fr({},e),{},{offset:f.offset,position:o,rect:f.rect}),"menuPortal",{"menu-portal":!0}),i),r);return xi(ro.Provider,{value:g},a?(0,Va.createPortal)(x,a):x)},LoadingMessage:function(e){var t=e.children,a=void 0===t?"Loading...":t,r=e.innerProps,n=ji(e,eo);return xi("div",(0,y.A)({},Ps(Fr(Fr({},n),{},{children:a,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),a)},NoOptionsMessage:function(e){var t=e.children,a=void 0===t?"No options":t,r=e.innerProps,n=ji(e,Ks);return xi("div",(0,y.A)({},Ps(Fr(Fr({},n),{},{children:a,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),a)},MultiValue:function(e){var t=e.children,a=e.components,r=e.data,n=e.innerProps,i=e.isDisabled,s=e.removeProps,o=e.selectProps,l=a.Container,c=a.Label,u=a.Remove;return xi(l,{data:r,innerProps:Fr(Fr({},Ps(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),n),selectProps:o},xi(c,{data:r,innerProps:Fr({},Ps(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:o},t),xi(u,{data:r,innerProps:Fr(Fr({},Ps(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:o}))},MultiValueContainer:vo,MultiValueLabel:vo,MultiValueRemove:function(e){var t=e.children,a=e.innerProps;return xi("div",(0,y.A)({role:"button"},a),t||xi(go,{size:14}))},Option:function(e){var t=e.children,a=e.isDisabled,r=e.isFocused,n=e.isSelected,i=e.innerRef,s=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"option",{option:!0,"option--is-disabled":a,"option--is-focused":r,"option--is-selected":n}),{ref:i,"aria-disabled":a},s),t)},Placeholder:function(e){var t=e.children,a=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"placeholder",{placeholder:!0}),a),t)},SelectContainer:function(e){var t=e.children,a=e.innerProps,r=e.isDisabled,n=e.isRtl;return xi("div",(0,y.A)({},Ps(e,"container",{"--is-disabled":r,"--is-rtl":n}),a),t)},SingleValue:function(e){var t=e.children,a=e.isDisabled,r=e.innerProps;return xi("div",(0,y.A)({},Ps(e,"singleValue",{"single-value":!0,"single-value--is-disabled":a}),r),t)},ValueContainer:function(e){var t=e.children,a=e.innerProps,r=e.isMulti,n=e.hasValue;return xi("div",(0,y.A)({},Ps(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":n}),a),t)}},Io=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Eo(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;a++)if(!((r=e[a])===(n=t[a])||Io(r)&&Io(n)))return!1;var r,n;return!0}for(var Lo={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},To=function(e){return xi("span",(0,y.A)({css:Lo},e))},Ao={guidance:function(e){var t=e.isSearchable,a=e.isMulti,r=e.tabSelectsValue,n=e.context,i=e.isInitialFocus;switch(n){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,a=e.label,r=void 0===a?"":a,n=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(n.length>1?"s":""," ").concat(n.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,a=e.focused,r=e.options,n=e.label,i=void 0===n?"":n,s=e.selectValue,o=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,a),".");if("menu"===t&&c){var d=o?" disabled":"",m="".concat(l?" selected":"").concat(d);return"".concat(i).concat(m,", ").concat(u(r,a),".")}return""},onFilter:function(e){var t=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(t?" for search term "+t:"",".")}},zo=function(e){var a=e.ariaSelection,r=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,o=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,m=l.getOptionLabel,g=l.inputValue,p=l.isMulti,f=l.isOptionDisabled,M=l.isSearchable,h=l.menuIsOpen,y=l.options,N=l.screenReaderStatus,w=l.tabSelectsValue,x=l.isLoading,b=l["aria-label"],D=l["aria-live"],j=(0,t.useMemo)((function(){return Fr(Fr({},Ao),d||{})}),[d]),v=(0,t.useMemo)((function(){var e,t="";if(a&&j.onChange){var r=a.option,n=a.options,i=a.removedValue,s=a.removedValues,l=a.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?m(c):"",d=n||s||void 0,g=d?d.map(m):[],p=Fr({isDisabled:c&&f(c,o),label:u,labels:g},a);t=j.onChange(p)}return t}),[a,j,f,o,m]),_=(0,t.useMemo)((function(){var e="",t=r||n,a=!!(r&&o&&o.includes(r));if(t&&j.onFocus){var s={focused:t,label:m(t),isDisabled:f(t,o),isSelected:a,options:i,context:t===r?"menu":"value",selectValue:o,isAppleDevice:u};e=j.onFocus(s)}return e}),[r,n,m,f,j,i,o,u]),I=(0,t.useMemo)((function(){var e="";if(h&&y.length&&!x&&j.onFilter){var t=N({count:i.length});e=j.onFilter({inputValue:g,resultsMessage:t})}return e}),[i,g,h,j,y,N,x]),E="initial-input-focus"===(null==a?void 0:a.action),L=(0,t.useMemo)((function(){var e="";if(j.guidance){var t=n?"value":h?"menu":"input";e=j.guidance({"aria-label":b,context:t,isDisabled:r&&f(r,o),isMulti:p,isSearchable:M,tabSelectsValue:w,isInitialFocus:E})}return e}),[b,r,n,p,f,M,h,j,o,w,E]),T=xi(t.Fragment,null,xi("span",{id:"aria-selection"},v),xi("span",{id:"aria-focused"},_),xi("span",{id:"aria-results"},I),xi("span",{id:"aria-guidance"},L));return xi(t.Fragment,null,xi(To,{id:c},E&&T),xi(To,{"aria-live":D,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!E&&T))},ko=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],So=new RegExp("["+ko.map((function(e){return e.letters})).join("")+"]","g"),Oo={},Co=0;Co<ko.length;Co++)for(var Yo=ko[Co],Uo=0;Uo<Yo.letters.length;Uo++)Oo[Yo.letters[Uo]]=Yo.base;var Qo=function(e){return e.replace(So,(function(e){return Oo[e]}))},Po=function(e,t){void 0===t&&(t=Eo);var a=null;function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(a&&a.lastThis===this&&t(r,a.lastArgs))return a.lastResult;var i=e.apply(this,r);return a={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){a=null},r}(Qo),Fo=function(e){return e.replace(/^\s+|\s+$/g,"")},Ro=function(e){return"".concat(e.label," ").concat(e.value)},Ho=["innerRef"];function Bo(e){var t=e.innerRef,a=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];return Object.entries(e).filter((function(e){var t=Di(e,1)[0];return!a.includes(t)})).reduce((function(e,t){var a=Di(t,2),r=a[0],n=a[1];return e[r]=n,e}),{})}(ji(e,Ho),"onExited","in","enter","exit","appear");return xi("input",(0,y.A)({ref:t},a,{css:bi({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Wo=["boxSizing","height","overflow","paddingRight","position"],Vo={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Zo(e){e.cancelable&&e.preventDefault()}function Go(e){e.stopPropagation()}function Xo(){var e=this.scrollTop,t=this.scrollHeight,a=e+this.offsetHeight;0===e?this.scrollTop=1:a===t&&(this.scrollTop=e-1)}function Jo(){return"ontouchstart"in window||navigator.maxTouchPoints}var qo=!("undefined"==typeof window||!window.document||!window.document.createElement),$o=0,Ko={capture:!1,passive:!1},el=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},tl={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function al(e){var a=e.children,r=e.lockEnabled,n=e.captureEnabled,i=function(e){var a=e.isEnabled,r=e.onBottomArrive,n=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,o=(0,t.useRef)(!1),l=(0,t.useRef)(!1),c=(0,t.useRef)(0),u=(0,t.useRef)(null),d=(0,t.useCallback)((function(e,t){if(null!==u.current){var a=u.current,c=a.scrollTop,d=a.scrollHeight,m=a.clientHeight,g=u.current,p=t>0,f=d-m-c,M=!1;f>t&&o.current&&(n&&n(e),o.current=!1),p&&l.current&&(s&&s(e),l.current=!1),p&&t>f?(r&&!o.current&&r(e),g.scrollTop=d,M=!0,o.current=!0):!p&&-t>c&&(i&&!l.current&&i(e),g.scrollTop=0,M=!0,l.current=!0),M&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[r,n,i,s]),m=(0,t.useCallback)((function(e){d(e,e.deltaY)}),[d]),g=(0,t.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),p=(0,t.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),f=(0,t.useCallback)((function(e){if(e){var t=!!Js&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",p,t)}}),[p,g,m]),M=(0,t.useCallback)((function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",p,!1))}),[p,g,m]);return(0,t.useEffect)((function(){if(a){var e=u.current;return f(e),function(){M(e)}}}),[a,f,M]),function(e){u.current=e}}({isEnabled:void 0===n||n,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var a=e.isEnabled,r=e.accountForScrollbars,n=void 0===r||r,i=(0,t.useRef)({}),s=(0,t.useRef)(null),o=(0,t.useCallback)((function(e){if(qo){var t=document.body,a=t&&t.style;if(n&&Wo.forEach((function(e){var t=a&&a[e];i.current[e]=t})),n&&$o<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,o=window.innerWidth-s+r||0;Object.keys(Vo).forEach((function(e){var t=Vo[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(o,"px"))}t&&Jo()&&(t.addEventListener("touchmove",Zo,Ko),e&&(e.addEventListener("touchstart",Xo,Ko),e.addEventListener("touchmove",Go,Ko))),$o+=1}}),[n]),l=(0,t.useCallback)((function(e){if(qo){var t=document.body,a=t&&t.style;$o=Math.max($o-1,0),n&&$o<1&&Wo.forEach((function(e){var t=i.current[e];a&&(a[e]=t)})),t&&Jo()&&(t.removeEventListener("touchmove",Zo,Ko),e&&(e.removeEventListener("touchstart",Xo,Ko),e.removeEventListener("touchmove",Go,Ko)))}}),[n]);return(0,t.useEffect)((function(){if(a){var e=s.current;return o(e),function(){l(e)}}}),[a,o,l]),function(e){s.current=e}}({isEnabled:r});return xi(t.Fragment,null,r&&xi("div",{onClick:el,css:tl}),a((function(e){i(e),s(e)})))}var rl={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},nl=function(e){var t=e.name,a=e.onFocus;return xi("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:rl,value:"",onChange:function(){}})};function il(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function sl(){return il(/^Mac/i)}var ol={clearIndicator:ho,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var a=e.isDisabled,r=e.isFocused,n=e.theme,i=n.colors,s=n.borderRadius;return Fr({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:n.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:a?i.neutral5:i.neutral0,borderColor:a?i.neutral10:r?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Mo,group:function(e,t){var a=e.theme.spacing;return t?{}:{paddingBottom:2*a.baseUnit,paddingTop:2*a.baseUnit}},groupHeading:function(e,t){var a=e.theme,r=a.colors,n=a.spacing;return Fr({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*n.baseUnit,paddingRight:3*n.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var a=e.isDisabled,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return Fr({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:a?i.neutral10:i.neutral20,marginBottom:2*n,marginTop:2*n})},input:function(e,t){var a=e.isDisabled,r=e.value,n=e.theme,i=n.spacing,s=n.colors;return Fr(Fr({visibility:a?"hidden":"visible",transform:r?"translateZ(0)":""},Do),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var a=e.isFocused,r=e.size,n=e.theme,i=n.colors,s=n.spacing.baseUnit;return Fr({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:a?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:oo,menu:function(e,t){var a,r=e.placement,n=e.theme,i=n.borderRadius,s=n.spacing,o=n.colors;return Fr((Qr(a={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Qr(a,"position","absolute"),Qr(a,"width","100%"),Qr(a,"zIndex",1),a),t?{}:{backgroundColor:o.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var a=e.maxHeight,r=e.theme.spacing.baseUnit;return Fr({maxHeight:a,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,a=e.offset,r=e.position;return{left:t.left,position:r,top:a,width:t.width,zIndex:1}},multiValue:function(e,t){var a=e.theme,r=a.spacing,n=a.borderRadius,i=a.colors;return Fr({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:n/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var a=e.theme,r=a.borderRadius,n=a.colors,i=e.cropWithEllipsis;return Fr({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:n.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var a=e.theme,r=a.spacing,n=a.borderRadius,i=a.colors,s=e.isFocused;return Fr({alignItems:"center",display:"flex"},t?{}:{borderRadius:n/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:so,option:function(e,t){var a=e.isDisabled,r=e.isFocused,n=e.isSelected,i=e.theme,s=i.spacing,o=i.colors;return Fr({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:n?o.primary:r?o.primary25:"transparent",color:a?o.neutral20:n?o.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:a?void 0:n?o.primary:o.primary50}})},placeholder:function(e,t){var a=e.theme,r=a.spacing,n=a.colors;return Fr({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:n.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var a=e.isDisabled,r=e.theme,n=r.spacing,i=r.colors;return Fr({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:a?i.neutral40:i.neutral80,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},valueContainer:function(e,t){var a=e.theme.spacing,r=e.isMulti,n=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Fr({alignItems:"center",display:r&&n&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(a.baseUnit/2,"px ").concat(2*a.baseUnit,"px")})}},ll={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},cl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Vs(),captureMenuScroll:!Vs(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var a=Fr({ignoreCase:!0,ignoreAccents:!0,stringify:Ro,trim:!0,matchFrom:"any"},undefined),r=a.ignoreCase,n=a.ignoreAccents,i=a.stringify,s=a.trim,o=a.matchFrom,l=s?Fo(t):t,c=s?Fo(i(e)):i(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),n&&(l=Po(l),c=Qo(c)),"start"===o?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ul(e,t,a,r){return{type:"option",data:t,isDisabled:yl(e,t,a),isSelected:Nl(e,t,a),label:Ml(e,t),value:hl(e,t),index:r}}function dl(e,t){return e.options.map((function(a,r){if("options"in a){var n=a.options.map((function(a,r){return ul(e,a,t,r)})).filter((function(t){return pl(e,t)}));return n.length>0?{type:"group",data:a,options:n,index:r}:void 0}var i=ul(e,a,t,r);return pl(e,i)?i:void 0})).filter(qs)}function ml(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Gr(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function gl(e,t){return e.reduce((function(e,a){return"group"===a.type?e.push.apply(e,Gr(a.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(a.index,"-").concat(e.index)}})))):e.push({data:a.data,id:"".concat(t,"-").concat(a.index)}),e}),[])}function pl(e,t){var a=e.inputValue,r=void 0===a?"":a,n=t.data,i=t.isSelected,s=t.label,o=t.value;return(!xl(e)||!i)&&wl(e,{label:s,value:o,data:n},r)}var fl=function(e,t){var a;return(null===(a=e.find((function(e){return e.data===t})))||void 0===a?void 0:a.id)||null},Ml=function(e,t){return e.getOptionLabel(t)},hl=function(e,t){return e.getOptionValue(t)};function yl(e,t,a){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,a)}function Nl(e,t,a){if(a.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,a);var r=hl(e,t);return a.some((function(t){return hl(e,t)===r}))}function wl(e,t,a){return!e.filterOption||e.filterOption(t,a)}var xl=function(e){var t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},bl=1,Dl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,Hr.A)(e,t)}(r,e);var a=function(e){var t=Wr();return function(){var a,r=Br(e);if(t){var n=Br(this).constructor;a=Reflect.construct(r,arguments,n)}else a=r.apply(this,arguments);return function(e,t){if(t&&("object"==Yr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,a)}}(r);function r(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=sl()||il(/^iPhone/i)||il(/^iPad/i)||sl()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,a){var r=t.props,n=r.onChange,i=r.name;a.name=i,t.ariaOnChange(e,a),n(e,a)},t.setValue=function(e,a,r){var n=t.props,i=n.closeMenuOnSelect,s=n.isMulti,o=n.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:o}),i&&(t.setState({inputIsHiddenAfterUpdate:!s}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:a,option:r})},t.selectOption=function(e){var a=t.props,r=a.blurInputOnSelect,n=a.isMulti,i=a.name,s=t.state.selectValue,o=n&&t.isOptionSelected(e,s),l=t.isOptionDisabled(e,s);if(o){var c=t.getOptionValue(e);t.setValue(s.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});n?t.setValue([].concat(Gr(s),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var a=t.props.isMulti,r=t.state.selectValue,n=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==n})),s=$s(a,i,i[0]||null);t.onChange(s,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange($s(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,a=t.state.selectValue,r=a[a.length-1],n=a.slice(0,a.length-1),i=$s(e,n,n[0]||null);r&&t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return fl(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return gl(dl(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return Ys.apply(void 0,[t.props.classNamePrefix].concat(a))},t.getOptionLabel=function(e){return Ml(t.props,e)},t.getOptionValue=function(e){return hl(t.props,e)},t.getStyles=function(e,a){var r=t.props.unstyled,n=ol[e](a,r);n.boxSizing="border-box";var i=t.props.styles[e];return i?i(n,a):n},t.getClassNames=function(e,a){var r,n;return null===(r=(n=t.props.classNames)[e])||void 0===r?void 0:r.call(n,a)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,Fr(Fr({},_o),e.components);var e},t.buildCategorizedOptions=function(){return dl(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return ml(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,a){t.setState({ariaSelection:Fr({value:e},a)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var a=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():a&&t.openMenu("first"):(a&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var a=t.props,r=a.isMulti,n=a.menuIsOpen;t.focusInput(),n?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Fs(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var a=e.touches,r=a&&a.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var a=e.touches,r=a&&a.item(0);if(r){var n=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=n>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var a=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:a}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var a=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:a}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var a=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:a>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return xl(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var a=t.props,r=a.isMulti,n=a.backspaceRemovesValue,i=a.escapeClearsValue,s=a.inputValue,o=a.isClearable,l=a.isDisabled,c=a.menuIsOpen,u=a.onKeyDown,d=a.tabSelectsValue,m=a.openMenuOnFocus,g=t.state,p=g.focusedOption,f=g.focusedValue,M=g.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||s)return;t.focusValue("previous");break;case"ArrowRight":if(!r||s)return;t.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)t.removeValue(f);else{if(!n)return;r?t.popValue():o&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!d||!p||m&&t.isOptionSelected(p,M))return;t.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(c){if(!p)return;if(t.isComposing)return;t.selectOption(p);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:s}),t.onMenuClose()):o&&i&&t.clearValue();break;case" ":if(s)return;if(!c){t.openMenu("first");break}if(!p)return;t.selectOption(p);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++bl),t.state.selectValue=Us(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),s=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=i[s],t.state.focusedOptionId=fl(n,i[s])}return t}return function(e,t,a){t&&Rr(e.prototype,t),a&&Rr(e,a),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ws(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,a=t.isDisabled,r=t.menuIsOpen,n=this.state.isFocused;(n&&!a&&e.isDisabled||n&&r&&!e.menuIsOpen)&&this.focusInput(),n&&a&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):n||a||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ws(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,a=this.state,r=a.selectValue,n=a.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var o=i.indexOf(r[0]);o>-1&&(s=o)}this.scrollToFocusedOptionOnUpdate=!(n&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,a=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var n=a.indexOf(r);r||(n=-1);var i=a.length-1,s=-1;if(a.length){switch(e){case"previous":s=0===n?0:-1===n?i:n-1;break;case"next":n>-1&&n<i&&(s=n+1)}this.setState({inputIsHidden:-1!==s,focusedValue:a[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var n=0,i=r.indexOf(a);a||(i=-1),"up"===e?n=i>0?i-1:r.length-1:"down"===e?n=(i+1)%r.length:"pageup"===e?(n=i-t)<0&&(n=0):"pagedown"===e?(n=i+t)>r.length-1&&(n=r.length-1):"last"===e&&(n=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[n],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[n])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ll):Fr(Fr({},ll),this.props.theme):ll}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,a=this.getStyles,r=this.getClassNames,n=this.getValue,i=this.selectOption,s=this.setValue,o=this.props,l=o.isMulti,c=o.isRtl,u=o.options;return{clearValue:e,cx:t,getStyles:a,getClassNames:r,getValue:n,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:o,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return yl(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Nl(this.props,e,t)}},{key:"filterOption",value:function(e,t){return wl(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,a=e.isDisabled,r=e.isSearchable,n=e.inputId,i=e.inputValue,s=e.tabIndex,o=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,m=d.inputIsHidden,g=d.ariaSelection,p=this.commonProps,f=n||this.getElementId("input"),M=Fr(Fr(Fr({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!r&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?t.createElement(u,(0,y.A)({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:a,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:o,type:"text",value:i},M)):t.createElement(Bo,(0,y.A)({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Os,onFocus:this.onInputFocus,disabled:a,tabIndex:s,inputMode:"none",form:o,value:""},M))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,a=this.getComponents(),r=a.MultiValue,n=a.MultiValueContainer,i=a.MultiValueLabel,s=a.MultiValueRemove,o=a.SingleValue,l=a.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,m=u.isDisabled,g=u.isMulti,p=u.inputValue,f=u.placeholder,M=this.state,h=M.selectValue,N=M.focusedValue,w=M.isFocused;if(!this.hasValue()||!d)return p?null:t.createElement(l,(0,y.A)({},c,{key:"placeholder",isDisabled:m,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),f);if(g)return h.map((function(a,o){var l=a===N,u="".concat(e.getOptionLabel(a),"-").concat(e.getOptionValue(a));return t.createElement(r,(0,y.A)({},c,{components:{Container:n,Label:i,Remove:s},isFocused:l,isDisabled:m,key:u,index:o,removeProps:{onClick:function(){return e.removeValue(a)},onTouchEnd:function(){return e.removeValue(a)},onMouseDown:function(e){e.preventDefault()}},data:a}),e.formatOptionLabel(a,"value"))}));if(p)return null;var x=h[0];return t.createElement(o,(0,y.A)({},c,{data:x,isDisabled:m}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,a=this.commonProps,r=this.props,n=r.isDisabled,i=r.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||i)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t.createElement(e,(0,y.A)({},a,{innerProps:o,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,a=this.commonProps,r=this.props,n=r.isDisabled,i=r.isLoading,s=this.state.isFocused;return e&&i?t.createElement(e,(0,y.A)({},a,{innerProps:{"aria-hidden":"true"},isDisabled:n,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),a=e.DropdownIndicator,r=e.IndicatorSeparator;if(!a||!r)return null;var n=this.commonProps,i=this.props.isDisabled,s=this.state.isFocused;return t.createElement(r,(0,y.A)({},n,{isDisabled:i,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var a=this.commonProps,r=this.props.isDisabled,n=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t.createElement(e,(0,y.A)({},a,{innerProps:i,isDisabled:r,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,a=this.getComponents(),r=a.Group,n=a.GroupHeading,i=a.Menu,s=a.MenuList,o=a.MenuPortal,l=a.LoadingMessage,c=a.NoOptionsMessage,u=a.Option,d=this.commonProps,m=this.state.focusedOption,g=this.props,p=g.captureMenuScroll,f=g.inputValue,M=g.isLoading,h=g.loadingMessage,N=g.minMenuHeight,w=g.maxMenuHeight,x=g.menuIsOpen,b=g.menuPlacement,D=g.menuPosition,j=g.menuPortalTarget,v=g.menuShouldBlockScroll,_=g.menuShouldScrollIntoView,I=g.noOptionsMessage,E=g.onMenuScrollToTop,L=g.onMenuScrollToBottom;if(!x)return null;var T,A=function(a,r){var n=a.type,i=a.data,s=a.isDisabled,o=a.isSelected,l=a.label,c=a.value,g=m===i,p=s?void 0:function(){return e.onOptionHover(i)},f=s?void 0:function(){return e.selectOption(i)},M="".concat(e.getElementId("option"),"-").concat(r),h={id:M,onClick:f,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:o};return t.createElement(u,(0,y.A)({},d,{innerProps:h,data:i,isDisabled:s,isSelected:o,key:M,label:l,type:n,value:c,isFocused:g,innerRef:g?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(a.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(a){if("group"===a.type){var i=a.data,s=a.options,o=a.index,l="".concat(e.getElementId("group"),"-").concat(o),c="".concat(l,"-heading");return t.createElement(r,(0,y.A)({},d,{key:l,data:i,options:s,Heading:n,headingProps:{id:c,data:a.data},label:e.formatGroupLabel(a.data)}),a.options.map((function(e){return A(e,"".concat(o,"-").concat(e.index))})))}if("option"===a.type)return A(a,"".concat(a.index))}));else if(M){var z=h({inputValue:f});if(null===z)return null;T=t.createElement(l,d,z)}else{var k=I({inputValue:f});if(null===k)return null;T=t.createElement(c,d,k)}var S={minMenuHeight:N,maxMenuHeight:w,menuPlacement:b,menuPosition:D,menuShouldScrollIntoView:_},O=t.createElement(no,(0,y.A)({},d,S),(function(a){var r=a.ref,n=a.placerProps,o=n.placement,l=n.maxHeight;return t.createElement(i,(0,y.A)({},d,S,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:M,placement:o}),t.createElement(al,{captureEnabled:p,onTopArrive:E,onBottomArrive:L,lockEnabled:v},(function(a){return t.createElement(s,(0,y.A)({},d,{innerRef:function(t){e.getMenuListRef(t),a(t)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:M,maxHeight:l,focusedOption:m}),T)})))}));return j||"fixed"===D?t.createElement(o,(0,y.A)({},d,{appendTo:j,controlElement:this.controlRef,menuPlacement:b,menuPosition:D}),O):O}},{key:"renderFormField",value:function(){var e=this,a=this.props,r=a.delimiter,n=a.isDisabled,i=a.isMulti,s=a.name,o=a.required,l=this.state.selectValue;if(o&&!this.hasValue()&&!n)return t.createElement(nl,{name:s,onFocus:this.onValueInputFocus});if(s&&!n){if(i){if(r){var c=l.map((function(t){return e.getOptionValue(t)})).join(r);return t.createElement("input",{name:s,type:"hidden",value:c})}var u=l.length>0?l.map((function(a,r){return t.createElement("input",{key:"i-".concat(r),name:s,type:"hidden",value:e.getOptionValue(a)})})):t.createElement("input",{name:s,type:"hidden",value:""});return t.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return t.createElement("input",{name:s,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,a=this.state,r=a.ariaSelection,n=a.focusedOption,i=a.focusedValue,s=a.isFocused,o=a.selectValue,l=this.getFocusableOptions();return t.createElement(zo,(0,y.A)({},e,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:n,focusedValue:i,isFocused:s,selectValue:o,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),a=e.Control,r=e.IndicatorsContainer,n=e.SelectContainer,i=e.ValueContainer,s=this.props,o=s.className,l=s.id,c=s.isDisabled,u=s.menuIsOpen,d=this.state.isFocused,m=this.commonProps=this.getCommonProps();return t.createElement(n,(0,y.A)({},m,{className:o,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),t.createElement(a,(0,y.A)({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),t.createElement(i,(0,y.A)({},m,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t.createElement(r,(0,y.A)({},m,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a=t.prevProps,r=t.clearFocusValueOnUpdate,n=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,o=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,m=e.inputValue,g=e.isMulti,p=Us(u),f={};if(a&&(u!==a.value||c!==a.options||d!==a.menuIsOpen||m!==a.inputValue)){var M=d?function(e,t){return ml(dl(e,t))}(e,p):[],h=d?gl(dl(e,p),"".concat(l,"-option")):[],y=r?function(e,t){var a=e.focusedValue,r=e.selectValue.indexOf(a);if(r>-1){if(t.indexOf(a)>-1)return a;if(r<t.length)return t[r]}return null}(t,p):null,N=function(e,t){var a=e.focusedOption;return a&&t.indexOf(a)>-1?a:t[0]}(t,M);f={selectValue:p,focusedOption:N,focusedOptionId:fl(h,N),focusableOptionsWithIds:h,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=n&&e!==a?{inputIsHidden:n,inputIsHiddenAfterUpdate:void 0}:{},x=i,b=s&&o;return s&&!b&&(x={value:$s(g,p,p[0]||null),options:p,action:"initial-input-focus"},b=!o),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Fr(Fr(Fr({},f),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:b})}}]),r}(t.Component);Dl.defaultProps=cl;var jl=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function vl(e){var a=e.defaultInputValue,r=void 0===a?"":a,n=e.defaultMenuIsOpen,i=void 0!==n&&n,s=e.defaultValue,o=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,m=e.onMenuClose,g=e.onMenuOpen,p=e.value,f=ji(e,jl),M=Di((0,t.useState)(void 0!==l?l:r),2),h=M[0],y=M[1],N=Di((0,t.useState)(void 0!==c?c:i),2),w=N[0],x=N[1],b=Di((0,t.useState)(void 0!==p?p:o),2),D=b[0],j=b[1],v=(0,t.useCallback)((function(e,t){"function"==typeof u&&u(e,t),j(e)}),[u]),_=(0,t.useCallback)((function(e,t){var a;"function"==typeof d&&(a=d(e,t)),y(void 0!==a?a:e)}),[d]),I=(0,t.useCallback)((function(){"function"==typeof g&&g(),x(!0)}),[g]),E=(0,t.useCallback)((function(){"function"==typeof m&&m(),x(!1)}),[m]),L=void 0!==l?l:h,T=void 0!==c?c:w,A=void 0!==p?p:D;return Fr(Fr({},f),{},{inputValue:L,menuIsOpen:T,onChange:v,onInputChange:_,onMenuClose:E,onMenuOpen:I,value:A})}var _l=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"],Il=(0,t.forwardRef)((function(e,a){var r=vl(function(e){var a=e.defaultOptions,r=void 0!==a&&a,n=e.cacheOptions,i=void 0!==n&&n,s=e.loadOptions;e.options;var o=e.isLoading,l=void 0!==o&&o,c=e.onInputChange,u=e.filterOption,d=void 0===u?null:u,m=ji(e,_l),g=m.inputValue,p=(0,t.useRef)(void 0),f=(0,t.useRef)(!1),M=Di((0,t.useState)(Array.isArray(r)?r:void 0),2),h=M[0],y=M[1],N=Di((0,t.useState)(void 0!==g?g:""),2),w=N[0],x=N[1],b=Di((0,t.useState)(!0===r),2),D=b[0],j=b[1],v=Di((0,t.useState)(void 0),2),_=v[0],I=v[1],E=Di((0,t.useState)([]),2),L=E[0],T=E[1],A=Di((0,t.useState)(!1),2),z=A[0],k=A[1],S=Di((0,t.useState)({}),2),O=S[0],C=S[1],Y=Di((0,t.useState)(void 0),2),U=Y[0],Q=Y[1],P=Di((0,t.useState)(void 0),2),F=P[0],R=P[1];i!==F&&(C({}),R(i)),r!==U&&(y(Array.isArray(r)?r:void 0),Q(r)),(0,t.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var H=(0,t.useCallback)((function(e,t){if(!s)return t();var a=s(e,t);a&&"function"==typeof a.then&&a.then(t,(function(){return t()}))}),[s]);(0,t.useEffect)((function(){!0===r&&H(w,(function(e){f.current&&(y(e||[]),j(!!p.current))}))}),[]);var B=(0,t.useCallback)((function(e,t){var a=function(e,t,a){if(a){var r=a(e,t);if("string"==typeof r)return r}return e}(e,t,c);if(!a)return p.current=void 0,x(""),I(""),T([]),j(!1),void k(!1);if(i&&O[a])x(a),I(a),T(O[a]),j(!1),k(!1);else{var r=p.current={};x(a),j(!0),k(!_),H(a,(function(e){f&&r===p.current&&(p.current=void 0,j(!1),I(a),T(e||[]),k(!1),C(e?Fr(Fr({},O),{},Qr({},a,e)):O))}))}}),[i,H,_,O,c]),W=z?[]:w&&_?L:h||[];return Fr(Fr({},m),{},{options:W,isLoading:D||l,onInputChange:B,filterOption:d})}(e));return t.createElement(Dl,(0,y.A)({ref:a},r))}));const El=function(a){const{label:r,name:n,desc:i,value:s,tooltip:o,placeholder:l,onChangeCB:c,options:u,isMulti:d=!1,isSearchable:m=!0,attr:g}=a,[p,f]=(0,t.useState)(s);return(0,t.useEffect)((()=>{f(s)}),[s]),(0,e.createElement)("div",{className:"wcf-select2-field"},(0,e.createElement)("div",{className:"wcf-selection-field"},r&&(0,e.createElement)("label",null,r,o&&(0,e.createElement)(fh,{text:o})),(0,e.createElement)(Il,(0,y.A)({className:"wcf-select2-input",classNamePrefix:"wcf",name:n,isClearable:!0,value:p,getOptionLabel:e=>e.label,getOptionValue:e=>e.value,loadOptions:e=>new Promise((t=>{setTimeout((()=>{t((e=>u.filter((t=>t.label.toLowerCase().includes(e.toLowerCase()))))(e))}),1e3)})),onChange:e=>{f(e);const t=new CustomEvent("wcf:select2:change",{bubbles:!0,detail:{e:{},name:a.name,value:e}});document.dispatchEvent(t),c&&c(e)},placeholder:l,defaultOptions:u,cacheOptions:!0,isMulti:d,styles:{control:(e,t)=>({...e,borderColor:t.isFocused?"#F06434":"#e5e7eb",boxShadow:t.isFocused?"0 0 0 calc(3px + 0px) rgb(252 224 214 / 1 )":"","&:hover":{borderColor:"none"}})},isSearchable:m},g))),i&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(i)))};var Ll=n(5901);const Tl=(0,t.createContext)(),Al=({reducer:a,initialState:r,children:n})=>(0,e.createElement)(Tl.Provider,{value:(0,t.useReducer)(a,r)},n),zl=()=>(0,t.useContext)(Tl);function kl({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))}const Sl=t.forwardRef(kl);function Ol({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const Cl=t.forwardRef(Ol);function Yl({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Ul=t.forwardRef(Yl);function Ql({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"}))}const Pl=t.forwardRef(Ql);function Fl({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Rl=t.forwardRef(Fl);function Hl({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))}const Bl=t.forwardRef(Hl),Wl=function(a){const[{options:r},n]=zl(),{index:i,field_name:s,product_data:o,productOptdata:l}=a,c=""===o.discount_type?"disable":"enable",[u,d]=(0,t.useState)(c),[m,g]=(0,t.useState)(!1),p=r["wcf-checkout-products"],f=r["wcf-product-options"],M=r["wcf-enable-product-options"],h=i===p.length-1,y=function(){const e=o.unique_id;e&&n({type:"REMOVE_CHECKOUT_PRODUCT",field_name:s,unique_id:e})},N=function(e,t,a){d(""===a?"disable":"enable")},w="input-field !px-4 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !w-full !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0",x=[{value:"",label:"Original",icon:(0,e.createElement)(Sl,{className:"w-5 h-5"})},{value:"discount_percent",label:"Percentage",icon:(0,e.createElement)(Cl,{className:"w-5 h-5"})},{value:"discount_price",label:"Price",icon:(0,e.createElement)(Ul,{className:"w-5 h-5"})}];!function(){const e=o.discount_type,t=parseFloat(o.discount_value),a=parseFloat(o.regular_price);let r=0;"discount_percent"===e?t>0&&(r=a-a*t/100):"discount_price"===e&&t>0&&(r=a-t),o.sell_price=r.toFixed(2)}();const b=function(){let e="";return"yes"===l.add_to_cart?e+=m?"border border-b-0 border-primary-300 bg-primary-25 ":"border border-primary-300 bg-primary-25 ":e+=m?"border border-b-0 border-gray-200 bg-gray-25 ":"border border-gray-200 bg-gray-25 ",e+=h&&!m?" rounded-b-md":"",e};return(0,e.createElement)(vt,{as:"div",key:o.unique_id},(({open:t})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:`wcf-product-selection--selected-product flex items-center p-3 gap-3 ${b()}`},(0,e.createElement)("div",{className:"wcf-product-selection--product-title whitespace-nowrap text-sm font-medium text-gray-900 w-1/2"},(0,e.createElement)("div",{className:"flex gap-3 items-center"},(0,e.createElement)("div",{className:"wcf-product-selection--sortable-toggle flex cursor-move text-gray-400"},(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1 -ml-4","aria-hidden":"true"})),(0,e.createElement)("div",{className:"wcf-product-selection--product-image w-20 h-20"},(0,e.createElement)("img",{src:o&&o.img_url?o.img_url:cartflows_admin.image_placeholder,className:"product-image rounded-md w-full h-full aspect-{3/2} object-contain",alt:Nr(o.name)})),(0,e.createElement)("div",{className:"wcf-product-selection--product-title_text cursor-default"},(0,e.createElement)("div",{className:"wcf-product-repeater-field__title whitespace-normal text-left","data-product_id":o.product},Nr(o.name)),(0,e.createElement)("div",{className:"wcf-product-repeater-field__reg-price mt-1"},(0,e.createElement)("div",{className:"flex gap-2"},(0,e.createElement)("span",{className:"wcf-product--reg-price "+("enable"===c&&0<o.discount_value?"line-through text-gray-400":""),title:(0,z.__)("Regular Price of the product","cartflows")},cartflows_admin.woo_currency+o.regular_price),"enable"===c&&0<o.discount_value&&(0,e.createElement)("span",{className:"wcf-product--sale-price",title:(0,z.__)("Price after discount.","cartflows")},cartflows_admin.woo_currency+o.sell_price)))))),(0,e.createElement)("div",{className:"wcf-product-selection--set-default whitespace-nowrap text-sm text-gray-500 w-[10%]"},function(t){let a="";return wcfCartflowsPro()&&"yes"===M?"force-all"===f?(0,e.createElement)(bh,{class:"wcf-product-add-to-cart",name:`wcf-product-options-data[${t.unique_id}][add_to_cart]`,value:"yes",isDisabled:!0}):"single-selection"===f?(("yes"===t.add_to_cart||t.chosen)&&(a=t.unique_id),(0,e.createElement)(Dr,{className:"wcf-product-add-to-cart",name:"wcf_default_add_to_cart[]",options:[{value:t.unique_id}],onClick:()=>{r["wcf-checkout-products"][i].add_to_cart="yes",r["wcf-product-options-data"]={[t.unique_id]:{add_to_cart:"yes"}},console.log(`selected Product Option: ${t} Selected Index: ${t}`)},value:a})):"multiple-selection"===f?(0,e.createElement)(bh,{class:"wcf-product-add-to-cart",name:`wcf-product-options-data[${t.unique_id}][add_to_cart]`,value:t.add_to_cart}):void 0:(0,e.createElement)(bh,{class:"wcf-product-add-to-cart",name:`wcf-product-options-data[${t.unique_id}][add_to_cart]`,value:"yes",isDisabled:!0})}(l)),(0,e.createElement)("div",{className:"wcf-product-selection--product-qty whitespace-nowrap text-sm text-gray-500 w-[10%]"},(0,e.createElement)(ug,{id:"",name:`wcf-checkout-products[${i}][quantity]`,class:"!w-16 !h-11 input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0",value:o.quantity,min:"1"})),(0,e.createElement)("div",{className:"wcf-product-selection--product-discount flex whitespace-nowrap text-sm text-gray-500 w-2/3"},(0,e.createElement)(ty,{name:`wcf-checkout-products[${i}][discount_type]`,value:o.discount_type,class:"!block !w-16 !m-0",options:x,callback:N}),(0,e.createElement)(ug,{id:"",class:"input-field !w-16 !min-h-[43px] !leading-[3] !text-sm font-normal !rounded-r-md !rounded-l-none text-gray-400 !border !border-l-0 !border-gray-200 focus:!ring-0 focus:!ring-transparent focus:!shadow-none !outline-0 !outline-none !m-0",name:`wcf-checkout-products[${i}][discount_value]`,value:"disable"===u?"":o.discount_value,readonly:"disable"===u?"readonly":"",placeholder:"disable"===u?"":"0",min:"1",step:"any"})),(0,e.createElement)("div",{className:"wcf-product-selection-actions flex gap-2 relative whitespace-nowrap text-right text-sm font-medium w-[10%] justify-center"},(0,e.createElement)(vt.Button,{className:"text-left "+("yes"===M?"visible":"invisible"),onClick:()=>g(!m)},(0,e.createElement)("span",{className:`p-2 hover:text-primary-700 cursor-pointer flex justify-center items-center ${m?"bg-primary-50 text-primary-500 rounded-md":"text-gray-500"} `},(0,e.createElement)(Rl,{className:"h-18 w-18",index:i}))),(0,e.createElement)("div",{className:"wcf-delete-product-item p-2 text-primary-500 hover:text-primary-700 cursor-pointer flex justify-center items-center",onClick:y,"data-index":i},(0,e.createElement)(Bl,{className:"h-18 w-18"}))),(0,e.createElement)("input",{name:`wcf-checkout-products[${i}][product]`,type:"hidden",className:"wcf-checkout-product-id",value:o.product}),(0,e.createElement)("input",{name:`wcf-checkout-products[${i}][unique_id]`,type:"hidden",className:"wcf-checkout-product-unique",value:o.unique_id})),(0,e.createElement)(Pt,{show:t,as:"div",enter:"transition-max-height duration-500 ease-in-out",enterFrom:"opacity-0 max-h-full",enterTo:"opacity-100 max-h-full",leave:"transition-max-height ease-in-out",leaveFrom:"opacity-100 max-h-full",leaveTo:"opacity-0 max-h-0"},(0,e.createElement)(vt.Panel,null,(0,e.createElement)("div",{className:"wcf-product-field-item-settings flex flex-col gap-5 p-6 "+(m&&"yes"===l.add_to_cart?"border border-t-0 border-primary-300":" border border-t-0 border-gray-200"),id:"product-option-index-"+i,"data-id":o.product_id},(0,e.createElement)(vr,{class:`wcf-product-name ${w}`,wrapperClass:"block",name:`wcf-product-options-data[${l.unique_id}][product_name]`,label:(0,z.__)("Product Name","cartflows"),value:l.product_name,displayAlign:"vertical",desc:(0,z.__)("Use {{product_name}} and {{quantity}} to dynamically fetch respective product details.","cartflows")}),(0,e.createElement)(vr,{class:`wcf-product-subtext ${w}`,wrapperClass:"block",name:`wcf-product-options-data[${l.unique_id}][product_subtext]`,label:(0,z.__)("Subtext","cartflows"),value:l.product_subtext,displayAlign:"vertical",desc:(0,z.__)("Use {{quantity}}, {{discount_value}}, {{discount_percent}} to dynamically fetch respective product details.","cartflows")}),(0,e.createElement)(br,{className:"wcf-product-enable-hl",name:`wcf-product-options-data[${l.unique_id}][enable_highlight]`,label:(0,z.__)("Enable Highlight","cartflows"),value:l.enable_highlight,desc:l.desc}),(0,e.createElement)("div",{className:"yes"!==l.enable_highlight?"hidden":""},(0,e.createElement)(vr,{class:`wcf-product-hl-text ${w}`,wrapperClass:"block",name:`wcf-product-options-data[${l.unique_id}][highlight_text]`,displayAlign:"vertical",label:(0,z.__)("Highlight Text","cartflows"),value:l.highlight_text})),(0,e.createElement)("input",{name:`wcf-product-options-data[${l.unique_id}][unique_id]`,type:"hidden",className:"wcf-product-options-unique-id",value:l.unique_id})))))))},Vl=function(){return(0,e.createElement)("a",{className:"wcf-create-new-product text-sm font-medium text-primary-500 hover:text-primary-600 inline-flex items-center gap-1.5 cursor-pointer mt-5 w-full focus:outline-none focus:ring-0 focus:text-primary-500",rel:"noreferrer",target:"_blank",href:cartflows_admin.create_product_src},(0,e.createElement)(Tr,{className:"w-4 h-4 stroke-2","aria-hidden":"true"}),(0,z.__)("Create New Product","cartflows"))},Zl=function(a){const[{options:r},n]=zl(),{name:i,value:s}=a,o=r[i],[l,c]=(0,t.useState)(),[u,d]=(0,t.useState)(""),[m,g]=(0,t.useState)(!1),p=(0,z.__)("Add","cartflows"),[f,M]=(0,t.useState)({isInProcessing:!1,buttonText:p}),{isInProcessing:h,buttonText:y}=f,N=r["wcf-product-options"],w=r["wcf-product-options-data"];(0,t.useEffect)((()=>(n({type:"UPDATE_CHECKOUT_PRODUCTS",field_name:i,products:s}),()=>{})),[]);let x=0;const b=wcfCartflowsPro()?function(){const e={};w&&Object.keys(w).map((t=>{const a=w[t];return e[t]={...a},""}));const t=[],a={enable_highlight:"no",highlight_text:"",product_name:"",product_subtext:"",add_to_cart:"yes"};return x=0,o.map((function(r){if(r?.unique_id){let n={...a};const i=r.unique_id;e[i]&&(n={...e[i]}),n.product_id=r?.product,n.product_name=n.product_name?n.product_name:r?.name,n.product_title=r?.name,n.unique_id=r.unique_id,"single-selection"!==N&&(n.add_to_cart=n.add_to_cart?n.add_to_cart:"yes"),"single-selection"===N&&(n.add_to_cart&&"no"!==n.add_to_cart&&x++,e[i]||(n.add_to_cart="no")),t.push(n)}return"single-selection"===N&&0===x&&(t[0].add_to_cart="yes"),""})),t}():[];return(0,e.createElement)("div",{className:"wcf-checkout-product-selection-field"},o&&0===o.length&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("input",{name:"wcf-checkout-products",type:"hidden",value:""}),(0,e.createElement)("div",{className:"border border-gray-200 bg-gray-25 text-center text-sm font-normal rounded-md p-5"},(0,z.__)("Once you have selected products, they will be displayed here.","cartflows"))),o&&o.length>0&&(0,e.createElement)("div",{className:"flow-root"},(0,e.createElement)("div",{className:"overflow-visible"},(0,e.createElement)("div",{className:"inline-block min-w-full py-2 align-middle"},(0,e.createElement)("div",{className:"overflow-visible shadow border border-gray-200 rounded-md"},(0,e.createElement)("div",{className:"wcf-product-selection--header border-b border-gray-200 flex gap-3 p-3"},(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-1/2"},(0,z.__)("Items","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-[10%]"},(0,z.__)("Default","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-[10%]"},(0,z.__)("Quantity","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-2/3"},(0,z.__)("Discount","cartflows")),(0,e.createElement)("div",{className:"relative w-[10%]"},(0,e.createElement)("span",{className:"sr-only"},(0,z.__)("Edit","cartflows")))),(0,e.createElement)(Ll.ReactSortable,{list:o,setList:e=>n({type:"UPDATE_CHECKOUT_PRODUCTS",field_name:i,products:e}),direction:"vertical",filter:".wcf-field, .wcf-product-selection-actions",preventOnFilter:!1,className:"wcf-checkout-product-selection-field__content"},o.map(((t,a)=>("yes"===t.add_to_cart&&x++,(0,e.createElement)(Wl,{key:t.unique_id,index:a,field_name:i,product_data:t,productOptdata:b.length>0?b[a]:[]}))))))))),(0,e.createElement)("div",{className:"wcf-checkout-product-selection-field__add-new flex justify-between gap-5 mt-5"},(0,e.createElement)(dh,{name:"",desc:"",class:m?"border border-primary-600":"",field:"product",value:u,allowed_products:"",include_products:"braintree-subscription, braintree-variable-subscription",excluded_products:"grouped",placeholder:(0,z.__)("Search for a Product","cartflows"),onChangeCB:c}),(0,e.createElement)("div",{className:"wcf-select-product-button inline-flex"},(0,e.createElement)("button",{type:"button",className:xr()("wcf-button",h?"wcf-disabled":"wcf-secondary-button"),onClick:function(e){const t=l?.value;d(l),t?(e.target.blur(),M({isInProcessing:!0,buttonText:(0,z.__)("Adding…","cartflows")}),A()({path:`/cartflows/v1/admin/product-data/${t}`}).then((e=>{const a={product:t,quantity:"1",discount_type:"",discount_value:"",unique_id:Math.random().toString(36).substring(2,10),name:l?.label,img_url:e?.img_url,regular_price:e?.regular_price};if(n({type:"ADD_CHECKOUT_PRODUCT",field_name:i,product_data:a}),d(null),wcfCartflowsPro()){const e=r["wcf-product-options-data"];e[a.unique_id]={enable_highlight:"no",highlight_text:"",product_name:"",product_subtext:""},n({type:"SET_OPTION",name:"wcf-product-options-data",value:e})}M({isInProcessing:!1,buttonText:p})})),c(null)):(g(!0),e.target.blur(),setTimeout((()=>{g(!1)}),3e3))}},!h&&(0,e.createElement)(Tr,{className:"w-4 h-4 stroke-2","aria-hidden":"true"}),h&&(0,e.createElement)(ay,null),y))),(0,e.createElement)("span",{className:(m?"block":"hidden")+" text-primary-600 text-sm font-normal transition duration-150 ease-in-out mt-1 ml-0.5"}," ",(0,z.__)("Please search and select at-lease one product to add.","cartflows")),(0,e.createElement)(Vl,null))};var Gl=n(8527),Xl={},Jl=function(e,t,a,r){var n=e+"-"+t+"-"+a+(r?"-server":"");if(Xl[n])return Xl[n];var i=function(e,t,a,r){if("undefined"==typeof document&&!r)return null;var n=r?new r:document.createElement("canvas");n.width=2*a,n.height=2*a;var i=n.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,n.width,n.height),i.fillStyle=t,i.fillRect(0,0,a,a),i.translate(a,a),i.fillRect(0,0,a,a),n.toDataURL()):null}(e,t,a,r);return Xl[n]=i,i},ql=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},$l=function(e){var a=e.white,n=e.grey,i=e.size,s=e.renderers,o=e.borderRadius,l=e.boxShadow,c=e.children,u=(0,Gl.Ay)({default:{grid:{borderRadius:o,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+Jl(a,n,i,s.canvas)+") center left"}}});return(0,t.isValidElement)(c)?r().cloneElement(c,ql({},c.props,{style:ql({},c.props.style,u.grid)})):r().createElement("div",{style:u.grid})};$l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};const Kl=$l;var ec=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},tc=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}();function ac(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var rc=function(e){function t(){var e,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return a=r=ac(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,a,r,n){var i=n.clientWidth,s=n.clientHeight,o="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=o-(n.getBoundingClientRect().left+window.pageXOffset),u=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===a){var d;if(d=u<0?0:u>s?1:Math.round(100*u/s)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var m;if(r!==(m=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:m,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},ac(r,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),tc(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,a=(0,Gl.Ay)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n           rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n           rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:ec({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r().createElement("div",{style:a.alpha},r().createElement("div",{style:a.checkboard},r().createElement(Kl,{renderers:this.props.renderers})),r().createElement("div",{style:a.gradient}),r().createElement("div",{style:a.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r().createElement("div",{style:a.pointer},this.props.pointer?r().createElement(this.props.pointer,this.props):r().createElement("div",{style:a.slider}))))}}]),t}(t.PureComponent||t.Component);const nc=rc;var ic=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),sc=[38,40],oc=1,lc=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.handleBlur=function(){a.state.blurValue&&a.setState({value:a.state.blurValue,blurValue:null})},a.handleChange=function(e){a.setUpdatedValue(e.target.value,e)},a.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,sc.indexOf(t)>-1)){var n=a.getArrowOffset(),i=38===e.keyCode?r+n:r-n;a.setUpdatedValue(i,e)}},a.handleDrag=function(e){if(a.props.dragLabel){var t=Math.round(a.props.value+e.movementX);t>=0&&t<=a.props.dragMax&&a.props.onChange&&a.props.onChange(a.getValueObjectWithLabel(t),e)}},a.handleMouseDown=function(e){a.props.dragLabel&&(e.preventDefault(),a.handleDrag(e),window.addEventListener("mousemove",a.handleDrag),window.addEventListener("mouseup",a.handleMouseUp))},a.handleMouseUp=function(){a.unbindEventListeners()},a.unbindEventListeners=function(){window.removeEventListener("mousemove",a.handleDrag),window.removeEventListener("mouseup",a.handleMouseUp)},a.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},a.inputId="rc-editable-input-"+oc++,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ic(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var a=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(a,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,Gl.Ay)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return r().createElement("div",{style:t.wrap},r().createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?r().createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(t.PureComponent||t.Component);const cc=lc;var uc=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}();function dc(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var mc=function(e){function t(){var e,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];return a=r=dc(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,a,r){var n=r.clientWidth,i=r.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,o="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r.getBoundingClientRect().left+window.pageXOffset),c=o-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,a.h!==u)return{h:u,s:a.s,l:a.l,a:a.a,source:"hsl"}}else{var d;if(d=l<0?0:l>n?359:100*l/n*360/100,a.h!==d)return{h:d,s:a.s,l:a.l,a:a.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},dc(r,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),uc(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,a=void 0===t?"horizontal":t,n=(0,Gl.Ay)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===a});return r().createElement("div",{style:n.hue},r().createElement("div",{className:"hue-"+a,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r().createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),r().createElement("div",{style:n.pointer},this.props.pointer?r().createElement(this.props.pointer,this.props):r().createElement("div",{style:n.slider}))))}}]),t}(t.PureComponent||t.Component);const gc=mc;var pc=n(5556),fc=n.n(pc),Mc=n(5364),hc=n.n(Mc),yc=function(e){var t=e.zDepth,a=e.radius,n=e.background,i=e.children,s=e.styles,o=void 0===s?{}:s,l=(0,Gl.Ay)(hc()({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:a,background:n}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},o),{"zDepth-1":1===t});return r().createElement("div",{style:l.wrap},r().createElement("div",{style:l.bg}),r().createElement("div",{style:l.content},i))};yc.propTypes={background:fc().string,zDepth:fc().oneOf([0,1,2,3,4,5]),radius:fc().number,styles:fc().object},yc.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};const Nc=yc;var wc=n(7350),xc=n.n(wc),bc=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),Dc=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.handleChange=function(e){"function"==typeof a.props.onChange&&a.throttle(a.props.onChange,function(e,t,a){var r=a.getBoundingClientRect(),n=r.width,i=r.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,o="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(a.getBoundingClientRect().left+window.pageXOffset),c=o-(a.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>n&&(l=n),c<0?c=0:c>i&&(c=i);var u=l/n,d=1-c/i;return{h:t.h,s:u,v:d,a:t.a,source:"hsv"}}(e,a.props.hsl,a.container),e)},a.handleMouseDown=function(e){a.handleChange(e);var t=a.getContainerRenderWindow();t.addEventListener("mousemove",a.handleChange),t.addEventListener("mouseup",a.handleMouseUp)},a.handleMouseUp=function(){a.unbindEventListeners()},a.throttle=xc()((function(e,t,a){e(t,a)}),50),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),bc(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},a=t.color,n=t.white,i=t.black,s=t.pointer,o=t.circle,l=(0,Gl.Ay)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:a,white:n,black:i,pointer:s,circle:o}},{custom:!!this.props.style});return r().createElement("div",{style:l.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r().createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),r().createElement("div",{style:l.white,className:"saturation-white"},r().createElement("div",{style:l.black,className:"saturation-black"}),r().createElement("div",{style:l.pointer},this.props.pointer?r().createElement(this.props.pointer,this.props):r().createElement("div",{style:l.circle}))))}}]),t}(t.PureComponent||t.Component);const jc=Dc;var vc=n(8221),_c=n.n(vc),Ic=n(6135),Ec=n.n(Ic);function Lc(e){return Lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lc(e)}var Tc=/^\s+/,Ac=/\s+$/;function zc(e,t){if(t=t||{},(e=e||"")instanceof zc)return e;if(!(this instanceof zc))return new zc(e,t);var a=function(e){var t={r:0,g:0,b:0},a=1,r=null,n=null,i=null,s=!1,o=!1;return"string"==typeof e&&(e=function(e){e=e.replace(Tc,"").replace(Ac,"").toLowerCase();var t,a=!1;if(Xc[e])e=Xc[e],a=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=lu.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=lu.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=lu.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=lu.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=lu.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=lu.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=lu.hex8.exec(e))?{r:eu(t[1]),g:eu(t[2]),b:eu(t[3]),a:nu(t[4]),format:a?"name":"hex8"}:(t=lu.hex6.exec(e))?{r:eu(t[1]),g:eu(t[2]),b:eu(t[3]),format:a?"name":"hex"}:(t=lu.hex4.exec(e))?{r:eu(t[1]+""+t[1]),g:eu(t[2]+""+t[2]),b:eu(t[3]+""+t[3]),a:nu(t[4]+""+t[4]),format:a?"name":"hex8"}:!!(t=lu.hex3.exec(e))&&{r:eu(t[1]+""+t[1]),g:eu(t[2]+""+t[2]),b:eu(t[3]+""+t[3]),format:a?"name":"hex"}}(e)),"object"==Lc(e)&&(cu(e.r)&&cu(e.g)&&cu(e.b)?(t=function(e,t,a){return{r:255*$c(e,255),g:255*$c(t,255),b:255*$c(a,255)}}(e.r,e.g,e.b),s=!0,o="%"===String(e.r).substr(-1)?"prgb":"rgb"):cu(e.h)&&cu(e.s)&&cu(e.v)?(r=au(e.s),n=au(e.v),t=function(e,t,a){e=6*$c(e,360),t=$c(t,100),a=$c(a,100);var r=Math.floor(e),n=e-r,i=a*(1-t),s=a*(1-n*t),o=a*(1-(1-n)*t),l=r%6;return{r:255*[a,s,i,i,o,a][l],g:255*[o,a,a,s,i,i][l],b:255*[i,i,o,a,a,s][l]}}(e.h,r,n),s=!0,o="hsv"):cu(e.h)&&cu(e.s)&&cu(e.l)&&(r=au(e.s),i=au(e.l),t=function(e,t,a){var r,n,i;function s(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+6*(t-e)*a:a<.5?t:a<2/3?e+(t-e)*(2/3-a)*6:e}if(e=$c(e,360),t=$c(t,100),a=$c(a,100),0===t)r=n=i=a;else{var o=a<.5?a*(1+t):a+t-a*t,l=2*a-o;r=s(l,o,e+1/3),n=s(l,o,e),i=s(l,o,e-1/3)}return{r:255*r,g:255*n,b:255*i}}(e.h,r,i),s=!0,o="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=qc(a),{ok:s,format:e.format||o,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a}}(e);this._originalInput=e,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||a.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=a.ok}function kc(e,t,a){e=$c(e,255),t=$c(t,255),a=$c(a,255);var r,n,i=Math.max(e,t,a),s=Math.min(e,t,a),o=(i+s)/2;if(i==s)r=n=0;else{var l=i-s;switch(n=o>.5?l/(2-i-s):l/(i+s),i){case e:r=(t-a)/l+(t<a?6:0);break;case t:r=(a-e)/l+2;break;case a:r=(e-t)/l+4}r/=6}return{h:r,s:n,l:o}}function Sc(e,t,a){e=$c(e,255),t=$c(t,255),a=$c(a,255);var r,n,i=Math.max(e,t,a),s=Math.min(e,t,a),o=i,l=i-s;if(n=0===i?0:l/i,i==s)r=0;else{switch(i){case e:r=(t-a)/l+(t<a?6:0);break;case t:r=(a-e)/l+2;break;case a:r=(e-t)/l+4}r/=6}return{h:r,s:n,v:o}}function Oc(e,t,a,r){var n=[tu(Math.round(e).toString(16)),tu(Math.round(t).toString(16)),tu(Math.round(a).toString(16))];return r&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function Cc(e,t,a,r){return[tu(ru(r)),tu(Math.round(e).toString(16)),tu(Math.round(t).toString(16)),tu(Math.round(a).toString(16))].join("")}function Yc(e,t){t=0===t?0:t||10;var a=zc(e).toHsl();return a.s-=t/100,a.s=Kc(a.s),zc(a)}function Uc(e,t){t=0===t?0:t||10;var a=zc(e).toHsl();return a.s+=t/100,a.s=Kc(a.s),zc(a)}function Qc(e){return zc(e).desaturate(100)}function Pc(e,t){t=0===t?0:t||10;var a=zc(e).toHsl();return a.l+=t/100,a.l=Kc(a.l),zc(a)}function Fc(e,t){t=0===t?0:t||10;var a=zc(e).toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(-t/100*255))),a.g=Math.max(0,Math.min(255,a.g-Math.round(-t/100*255))),a.b=Math.max(0,Math.min(255,a.b-Math.round(-t/100*255))),zc(a)}function Rc(e,t){t=0===t?0:t||10;var a=zc(e).toHsl();return a.l-=t/100,a.l=Kc(a.l),zc(a)}function Hc(e,t){var a=zc(e).toHsl(),r=(a.h+t)%360;return a.h=r<0?360+r:r,zc(a)}function Bc(e){var t=zc(e).toHsl();return t.h=(t.h+180)%360,zc(t)}function Wc(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var a=zc(e).toHsl(),r=[zc(e)],n=360/t,i=1;i<t;i++)r.push(zc({h:(a.h+i*n)%360,s:a.s,l:a.l}));return r}function Vc(e){var t=zc(e).toHsl(),a=t.h;return[zc(e),zc({h:(a+72)%360,s:t.s,l:t.l}),zc({h:(a+216)%360,s:t.s,l:t.l})]}function Zc(e,t,a){t=t||6,a=a||30;var r=zc(e).toHsl(),n=360/a,i=[zc(e)];for(r.h=(r.h-(n*t>>1)+720)%360;--t;)r.h=(r.h+n)%360,i.push(zc(r));return i}function Gc(e,t){t=t||6;for(var a=zc(e).toHsv(),r=a.h,n=a.s,i=a.v,s=[],o=1/t;t--;)s.push(zc({h:r,s:n,v:i})),i=(i+o)%1;return s}zc.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,a,r=this.toRgb();return e=r.r/255,t=r.g/255,a=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},setAlpha:function(e){return this._a=qc(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Sc(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Sc(this._r,this._g,this._b),t=Math.round(360*e.h),a=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+a+"%, "+r+"%)":"hsva("+t+", "+a+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=kc(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=kc(this._r,this._g,this._b),t=Math.round(360*e.h),a=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+a+"%, "+r+"%)":"hsla("+t+", "+a+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Oc(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,a,r,n){var i=[tu(Math.round(e).toString(16)),tu(Math.round(t).toString(16)),tu(Math.round(a).toString(16)),tu(ru(r))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*$c(this._r,255))+"%",g:Math.round(100*$c(this._g,255))+"%",b:Math.round(100*$c(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*$c(this._r,255))+"%, "+Math.round(100*$c(this._g,255))+"%, "+Math.round(100*$c(this._b,255))+"%)":"rgba("+Math.round(100*$c(this._r,255))+"%, "+Math.round(100*$c(this._g,255))+"%, "+Math.round(100*$c(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Jc[Oc(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Cc(this._r,this._g,this._b,this._a),a=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var n=zc(e);a="#"+Cc(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+a+")"},toString:function(e){var t=!!e;e=e||this._format;var a=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(a=this.toRgbString()),"prgb"===e&&(a=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(a=this.toHexString()),"hex3"===e&&(a=this.toHexString(!0)),"hex4"===e&&(a=this.toHex8String(!0)),"hex8"===e&&(a=this.toHex8String()),"name"===e&&(a=this.toName()),"hsl"===e&&(a=this.toHslString()),"hsv"===e&&(a=this.toHsvString()),a||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return zc(this.toString())},_applyModification:function(e,t){var a=e.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(Pc,arguments)},brighten:function(){return this._applyModification(Fc,arguments)},darken:function(){return this._applyModification(Rc,arguments)},desaturate:function(){return this._applyModification(Yc,arguments)},saturate:function(){return this._applyModification(Uc,arguments)},greyscale:function(){return this._applyModification(Qc,arguments)},spin:function(){return this._applyModification(Hc,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Zc,arguments)},complement:function(){return this._applyCombination(Bc,arguments)},monochromatic:function(){return this._applyCombination(Gc,arguments)},splitcomplement:function(){return this._applyCombination(Vc,arguments)},triad:function(){return this._applyCombination(Wc,[3])},tetrad:function(){return this._applyCombination(Wc,[4])}},zc.fromRatio=function(e,t){if("object"==Lc(e)){var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]="a"===r?e[r]:au(e[r]));e=a}return zc(e,t)},zc.equals=function(e,t){return!(!e||!t)&&zc(e).toRgbString()==zc(t).toRgbString()},zc.random=function(){return zc.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},zc.mix=function(e,t,a){a=0===a?0:a||50;var r=zc(e).toRgb(),n=zc(t).toRgb(),i=a/100;return zc({r:(n.r-r.r)*i+r.r,g:(n.g-r.g)*i+r.g,b:(n.b-r.b)*i+r.b,a:(n.a-r.a)*i+r.a})},zc.readability=function(e,t){var a=zc(e),r=zc(t);return(Math.max(a.getLuminance(),r.getLuminance())+.05)/(Math.min(a.getLuminance(),r.getLuminance())+.05)},zc.isReadable=function(e,t,a){var r,n,i,s,o,l=zc.readability(e,t);switch(n=!1,(i=a,"AA"!==(s=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==s&&(s="AA"),"small"!==(o=(i.size||"small").toLowerCase())&&"large"!==o&&(o="small"),r={level:s,size:o}).level+r.size){case"AAsmall":case"AAAlarge":n=l>=4.5;break;case"AAlarge":n=l>=3;break;case"AAAsmall":n=l>=7}return n},zc.mostReadable=function(e,t,a){var r,n,i,s,o=null,l=0;n=(a=a||{}).includeFallbackColors,i=a.level,s=a.size;for(var c=0;c<t.length;c++)(r=zc.readability(e,t[c]))>l&&(l=r,o=zc(t[c]));return zc.isReadable(e,o,{level:i,size:s})||!n?o:(a.includeFallbackColors=!1,zc.mostReadable(e,["#fff","#000"],a))};var Xc=zc.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Jc=zc.hexNames=function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}(Xc);function qc(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function $c(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var a=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),a&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Kc(e){return Math.min(1,Math.max(0,e))}function eu(e){return parseInt(e,16)}function tu(e){return 1==e.length?"0"+e:""+e}function au(e){return e<=1&&(e=100*e+"%"),e}function ru(e){return Math.round(255*parseFloat(e)).toString(16)}function nu(e){return eu(e)/255}var iu,su,ou,lu=(su="[\\s|\\(]+("+(iu="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+iu+")[,|\\s]+("+iu+")\\s*\\)?",ou="[\\s|\\(]+("+iu+")[,|\\s]+("+iu+")[,|\\s]+("+iu+")[,|\\s]+("+iu+")\\s*\\)?",{CSS_UNIT:new RegExp(iu),rgb:new RegExp("rgb"+su),rgba:new RegExp("rgba"+ou),hsl:new RegExp("hsl"+su),hsla:new RegExp("hsla"+ou),hsv:new RegExp("hsv"+su),hsva:new RegExp("hsva"+ou),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function cu(e){return!!lu.CSS_UNIT.exec(e)}var uu=function(e){var t=0,a=0;return Ec()(["r","g","b","a","h","s","l","v"],(function(r){e[r]&&(t+=1,isNaN(e[r])||(a+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(a+=1)})),t===a&&e},du=function(e,t){var a=e.hex?zc(e.hex):zc(e),r=a.toHsl(),n=a.toHsv(),i=a.toRgb(),s=a.toHex();return 0===r.s&&(r.h=t||0,n.h=t||0),{hsl:r,hex:"000000"===s&&0===i.a?"transparent":"#"+s,rgb:i,hsv:n,oldHue:e.h||t||r.h,source:e.source}},mu=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&zc(e).isValid()},gu=function(e){if(!e)return"#fff";var t=du(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},pu=function(e,t){return zc(t+" ("+e.replace("°","")+")")._ok},fu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Mu=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}();const hu=function(e){var a=function(t){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return t.handleChange=function(e,a){if(uu(e)){var r=du(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,a),t.props.onChange&&t.props.onChange(r,a)}},t.handleSwatchHover=function(e,a){if(uu(e)){var r=du(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,a)}},t.state=fu({},du(e.color,0)),t.debounce=_c()((function(e,t,a){e(t,a)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,t),Mu(a,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),r().createElement(e,fu({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return fu({},du(e.color,t.oldHue))}}]),a}(t.PureComponent||t.Component);return a.propTypes=fu({},e.propTypes),a.defaultProps=fu({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),a};var yu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Nu=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}();function wu(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e};const bu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(a){function n(){var e,t,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return t=a=wu(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),a.state={focus:!1},a.handleFocus=function(){return a.setState({focus:!0})},a.handleBlur=function(){return a.setState({focus:!1})},wu(a,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,a),Nu(n,[{key:"render",value:function(){return r().createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},r().createElement(e,yu({},this.props,this.state)))}}]),n}(r().Component)}((function(e){var t=e.color,a=e.style,n=e.onClick,i=void 0===n?function(){}:n,s=e.onHover,o=e.title,l=void 0===o?t:o,c=e.children,u=e.focus,d=e.focusStyle,m=void 0===d?{}:d,g="transparent"===t,p=(0,Gl.Ay)({default:{swatch:xu({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},a,u?m:{})}}),f={};return s&&(f.onMouseOver=function(e){return s(t,e)}),r().createElement("div",xu({style:p.swatch,onClick:function(e){return i(t,e)},title:l,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&i(t,e)}},f),c,g&&r().createElement(Kl,{borderRadius:p.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}));var Du=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},ju=function(e){var t=e.rgb,a=e.hsl,n=e.width,i=e.height,s=e.onChange,o=e.direction,l=e.style,c=e.renderers,u=e.pointer,d=e.className,m=void 0===d?"":d,g=(0,Gl.Ay)({default:{picker:{position:"relative",width:n,height:i},alpha:{radius:"2px",style:l}}});return r().createElement("div",{style:g.picker,className:"alpha-picker "+m},r().createElement(nc,Du({},g.alpha,{rgb:t,hsl:a,pointer:u,renderers:c,onChange:s,direction:o})))};ju.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,a=(0,Gl.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r().createElement("div",{style:a.picker})}},hu(ju);var vu=n(5378),_u=n.n(vu);const Iu=function(e){var t=e.colors,a=e.onClick,n=e.onSwatchHover,i=(0,Gl.Ay)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r().createElement("div",{style:i.swatches},_u()(t,(function(e){return r().createElement(bu,{key:e,color:e,style:i.swatch,onClick:a,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),r().createElement("div",{style:i.clear}))};var Eu=function(e){var t=e.onChange,a=e.onSwatchHover,n=e.hex,i=e.colors,s=e.width,o=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,d=void 0===u?"":u,m="transparent"===n,g=function(e,a){mu(e)&&t({hex:e,source:"hex"},a)},p=(0,Gl.Ay)(hc()({default:{card:{width:s,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:n,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:gu(n),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+n+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===o});return r().createElement("div",{style:p.card,className:"block-picker "+d},r().createElement("div",{style:p.triangle}),r().createElement("div",{style:p.head},m&&r().createElement(Kl,{borderRadius:"6px 6px 0 0"}),r().createElement("div",{style:p.label},n)),r().createElement("div",{style:p.body},r().createElement(Iu,{colors:i,onClick:g,onSwatchHover:a}),r().createElement(cc,{style:{input:p.input},value:n,onChange:g})))};Eu.propTypes={width:fc().oneOfType([fc().string,fc().number]),colors:fc().arrayOf(fc().string),triangle:fc().oneOf(["top","hide"]),styles:fc().object},Eu.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},hu(Eu);var Lu="#ffcdd2",Tu="#e57373",Au="#f44336",zu="#d32f2f",ku="#b71c1c",Su="#f8bbd0",Ou="#f06292",Cu="#e91e63",Yu="#c2185b",Uu="#880e4f",Qu="#e1bee7",Pu="#ba68c8",Fu="#9c27b0",Ru="#7b1fa2",Hu="#4a148c",Bu="#d1c4e9",Wu="#9575cd",Vu="#673ab7",Zu="#512da8",Gu="#311b92",Xu="#c5cae9",Ju="#7986cb",qu="#3f51b5",$u="#303f9f",Ku="#1a237e",ed="#bbdefb",td="#64b5f6",ad="#2196f3",rd="#1976d2",nd="#0d47a1",id="#b3e5fc",sd="#4fc3f7",od="#03a9f4",ld="#0288d1",cd="#01579b",ud="#b2ebf2",dd="#4dd0e1",md="#00bcd4",gd="#0097a7",pd="#006064",fd="#b2dfdb",Md="#4db6ac",hd="#009688",yd="#00796b",Nd="#004d40",wd="#c8e6c9",xd="#81c784",bd="#4caf50",Dd="#388e3c",jd="#dcedc8",vd="#aed581",_d="#8bc34a",Id="#689f38",Ed="#33691e",Ld="#f0f4c3",Td="#dce775",Ad="#cddc39",zd="#afb42b",kd="#827717",Sd="#fff9c4",Od="#fff176",Cd="#ffeb3b",Yd="#fbc02d",Ud="#f57f17",Qd="#ffecb3",Pd="#ffd54f",Fd="#ffc107",Rd="#ffa000",Hd="#ff6f00",Bd="#ffe0b2",Wd="#ffb74d",Vd="#ff9800",Zd="#f57c00",Gd="#e65100",Xd="#ffccbc",Jd="#ff8a65",qd="#ff5722",$d="#e64a19",Kd="#bf360c",em="#d7ccc8",tm="#a1887f",am="#795548",rm="#5d4037",nm="#3e2723",im="#cfd8dc",sm="#90a4ae",om="#607d8b",lm="#455a64",cm="#263238",um=function(e){var t=e.color,a=e.onClick,n=e.onSwatchHover,i=e.hover,s=e.active,o=e.circleSize,l=e.circleSpacing,c=(0,Gl.Ay)({default:{swatch:{width:o,height:o,marginRight:l,marginBottom:l,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(o/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:i,active:s});return r().createElement("div",{style:c.swatch},r().createElement(bu,{style:c.Swatch,color:t,onClick:a,onHover:n,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+t}}))};um.defaultProps={circleSize:28,circleSpacing:14};const dm=(0,Gl.H8)(um);var mm=function(e){var t=e.width,a=e.onChange,n=e.onSwatchHover,i=e.colors,s=e.hex,o=e.circleSize,l=e.styles,c=void 0===l?{}:l,u=e.circleSpacing,d=e.className,m=void 0===d?"":d,g=(0,Gl.Ay)(hc()({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c)),p=function(e,t){return a({hex:e,source:"hex"},t)};return r().createElement("div",{style:g.card,className:"circle-picker "+m},_u()(i,(function(e){return r().createElement(dm,{key:e,color:e,onClick:p,onSwatchHover:n,active:s===e.toLowerCase(),circleSize:o,circleSpacing:u})})))};mm.propTypes={width:fc().oneOfType([fc().string,fc().number]),circleSize:fc().number,circleSpacing:fc().number,styles:fc().object},mm.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Au,Cu,Fu,Vu,qu,ad,od,md,hd,bd,_d,Ad,Cd,Fd,Vd,qd,am,om],styles:{}},hu(mm);var gm=n(2216),pm=n.n(gm),fm=n(4657),Mm=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),hm=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.toggleViews=function(){"hex"===a.state.view?a.setState({view:"rgb"}):"rgb"===a.state.view?a.setState({view:"hsl"}):"hsl"===a.state.view&&(1===a.props.hsl.a?a.setState({view:"hex"}):a.setState({view:"rgb"}))},a.handleChange=function(e,t){e.hex?mu(e.hex)&&a.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?a.props.onChange({r:e.r||a.props.rgb.r,g:e.g||a.props.rgb.g,b:e.b||a.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),a.props.onChange({h:a.props.hsl.h,s:a.props.hsl.s,l:a.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),a.props.onChange({h:e.h||a.props.hsl.h,s:Number(pm()(e.s)?a.props.hsl.s:e.s),l:Number(pm()(e.l)?a.props.hsl.l:e.l),source:"hsl"},t))},a.showHighlight=function(e){e.currentTarget.style.background="#eee"},a.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?a.state={view:"rgb"}:a.state={view:e.view},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Mm(t,[{key:"render",value:function(){var e=this,t=(0,Gl.Ay)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),a=void 0;return"hex"===this.state.view?a=r().createElement("div",{style:t.fields,className:"flexbox-fix"},r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?a=r().createElement("div",{style:t.fields,className:"flexbox-fix"},r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r().createElement("div",{style:t.alpha},r().createElement(cc,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(a=r().createElement("div",{style:t.fields,className:"flexbox-fix"},r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),r().createElement("div",{style:t.field},r().createElement(cc,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),r().createElement("div",{style:t.alpha},r().createElement(cc,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r().createElement("div",{style:t.wrap,className:"flexbox-fix"},a,r().createElement("div",{style:t.toggle},r().createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},r().createElement(fm.A,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r().Component);hm.defaultProps={view:"hex"};const ym=hm,Nm=function(){var e=(0,Gl.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r().createElement("div",{style:e.picker})},wm=function(){var e=(0,Gl.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r().createElement("div",{style:e.picker})};var xm=function(e){var t=e.width,a=e.onChange,n=e.disableAlpha,i=e.rgb,s=e.hsl,o=e.hsv,l=e.hex,c=e.renderers,u=e.styles,d=void 0===u?{}:u,m=e.className,g=void 0===m?"":m,p=e.defaultView,f=(0,Gl.Ay)(hc()({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},d),{disableAlpha:n});return r().createElement("div",{style:f.picker,className:"chrome-picker "+g},r().createElement("div",{style:f.saturation},r().createElement(jc,{style:f.Saturation,hsl:s,hsv:o,pointer:wm,onChange:a})),r().createElement("div",{style:f.body},r().createElement("div",{style:f.controls,className:"flexbox-fix"},r().createElement("div",{style:f.color},r().createElement("div",{style:f.swatch},r().createElement("div",{style:f.active}),r().createElement(Kl,{renderers:c}))),r().createElement("div",{style:f.toggles},r().createElement("div",{style:f.hue},r().createElement(gc,{style:f.Hue,hsl:s,pointer:Nm,onChange:a})),r().createElement("div",{style:f.alpha},r().createElement(nc,{style:f.Alpha,rgb:i,hsl:s,pointer:Nm,renderers:c,onChange:a})))),r().createElement(ym,{rgb:i,hsl:s,hex:l,view:p,onChange:a,disableAlpha:n})))};xm.propTypes={width:fc().oneOfType([fc().string,fc().number]),disableAlpha:fc().bool,styles:fc().object,defaultView:fc().oneOf(["hex","rgb","hsl"])},xm.defaultProps={width:225,disableAlpha:!1,styles:{}},hu(xm);const bm=function(e){var t=e.color,a=e.onClick,n=void 0===a?function(){}:a,i=e.onSwatchHover,s=e.active,o=(0,Gl.Ay)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:gu(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r().createElement(bu,{style:o.color,color:t,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},r().createElement("div",{style:o.dot}))},Dm=function(e){var t=e.hex,a=e.rgb,n=e.onChange,i=(0,Gl.Ay)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?n({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,source:"rgb"},t):n({hex:e.hex,source:"hex"},t)};return r().createElement("div",{style:i.fields,className:"flexbox-fix"},r().createElement("div",{style:i.active}),r().createElement(cc,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:s}),r().createElement(cc,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:a.r,onChange:s}),r().createElement(cc,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:a.g,onChange:s}),r().createElement(cc,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:a.b,onChange:s}))};var jm=function(e){var t=e.onChange,a=e.onSwatchHover,n=e.colors,i=e.hex,s=e.rgb,o=e.styles,l=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,d=(0,Gl.Ay)(hc()({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l)),m=function(e,a){e.hex?mu(e.hex)&&t({hex:e.hex,source:"hex"},a):t(e,a)};return r().createElement(Nc,{style:d.Compact,styles:l},r().createElement("div",{style:d.compact,className:"compact-picker "+u},r().createElement("div",null,_u()(n,(function(e){return r().createElement(bm,{key:e,color:e,active:e.toLowerCase()===i,onClick:m,onSwatchHover:a})})),r().createElement("div",{style:d.clear})),r().createElement(Dm,{hex:i,rgb:s,onChange:m})))};jm.propTypes={colors:fc().arrayOf(fc().string),styles:fc().object},jm.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},hu(jm);const vm=(0,Gl.H8)((function(e){var t=e.hover,a=e.color,n=e.onClick,i=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},o=(0,Gl.Ay)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return r().createElement("div",{style:o.swatch},r().createElement(bu,{color:a,onClick:n,onHover:i,focusStyle:s}))}));var _m=function(e){var t=e.width,a=e.colors,n=e.onChange,i=e.onSwatchHover,s=e.triangle,o=e.styles,l=void 0===o?{}:o,c=e.className,u=void 0===c?"":c,d=(0,Gl.Ay)(hc()({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),m=function(e,t){return n({hex:e,source:"hex"},t)};return r().createElement("div",{style:d.card,className:"github-picker "+u},r().createElement("div",{style:d.triangleShadow}),r().createElement("div",{style:d.triangle}),_u()(a,(function(e){return r().createElement(vm,{color:e,key:e,onClick:m,onSwatchHover:i})})))};_m.propTypes={width:fc().oneOfType([fc().string,fc().number]),colors:fc().arrayOf(fc().string),triangle:fc().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:fc().object},_m.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},hu(_m);var Im=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Em=function(e){var t=e.width,a=e.height,n=e.onChange,i=e.hsl,s=e.direction,o=e.pointer,l=e.styles,c=void 0===l?{}:l,u=e.className,d=void 0===u?"":u,m=(0,Gl.Ay)(hc()({default:{picker:{position:"relative",width:t,height:a},hue:{radius:"2px"}}},c));return r().createElement("div",{style:m.picker,className:"hue-picker "+d},r().createElement(gc,Im({},m.hue,{hsl:i,pointer:o,onChange:function(e){return n({a:1,h:e.h,l:.5,s:1})},direction:s})))};Em.propTypes={styles:fc().object},Em.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,a=(0,Gl.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r().createElement("div",{style:a.picker})},styles:{}},hu(Em),hu((function(e){var t=e.onChange,a=e.hex,n=e.rgb,i=e.styles,s=void 0===i?{}:i,o=e.className,l=void 0===o?"":o,c=(0,Gl.Ay)(hc()({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+a,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),u=function(e,a){e.hex?mu(e.hex)&&t({hex:e.hex,source:"hex"},a):(e.r||e.g||e.b)&&t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},a)};return r().createElement(Nc,{styles:s},r().createElement("div",{style:c.material,className:"material-picker "+l},r().createElement(cc,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:a,onChange:u}),r().createElement("div",{style:c.split,className:"flexbox-fix"},r().createElement("div",{style:c.third},r().createElement(cc,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:u})),r().createElement("div",{style:c.third},r().createElement(cc,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:u})),r().createElement("div",{style:c.third},r().createElement(cc,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:u})))))}));const Lm=function(e){var t=e.onChange,a=e.rgb,n=e.hsv,i=e.hex,s=(0,Gl.Ay)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),o=function(e,r){e["#"]?mu(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||n.h,s:e.s||n.s,v:e.v||n.v,source:"hsv"},r)};return r().createElement("div",{style:s.fields},r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(n.h),onChange:o}),r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*n.s),onChange:o}),r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*n.v),onChange:o}),r().createElement("div",{style:s.divider}),r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:a.r,onChange:o}),r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:a.g,onChange:o}),r().createElement(cc,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:a.b,onChange:o}),r().createElement("div",{style:s.divider}),r().createElement(cc,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:i.replace("#",""),onChange:o}),r().createElement("div",{style:s.fieldSymbols},r().createElement("div",{style:s.symbol},"°"),r().createElement("div",{style:s.symbol},"%"),r().createElement("div",{style:s.symbol},"%")))},Tm=function(e){var t=e.hsl,a=(0,Gl.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return r().createElement("div",{style:a.picker})},Am=function(){var e=(0,Gl.Ay)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r().createElement("div",{style:e.pointer},r().createElement("div",{style:e.left},r().createElement("div",{style:e.leftInside})),r().createElement("div",{style:e.right},r().createElement("div",{style:e.rightInside})))},zm=function(e){var t=e.onClick,a=e.label,n=e.children,i=e.active,s=(0,Gl.Ay)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return r().createElement("div",{style:s.button,onClick:t},a||n)},km=function(e){var t=e.rgb,a=e.currentColor,n=(0,Gl.Ay)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:a,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r().createElement("div",null,r().createElement("div",{style:n.label},"new"),r().createElement("div",{style:n.swatches},r().createElement("div",{style:n.new}),r().createElement("div",{style:n.current})),r().createElement("div",{style:n.label},"current"))};var Sm=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),Om=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.state={currentColor:e.hex},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sm(t,[{key:"render",value:function(){var e=this.props,t=e.styles,a=void 0===t?{}:t,n=e.className,i=void 0===n?"":n,s=(0,Gl.Ay)(hc()({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},a));return r().createElement("div",{style:s.picker,className:"photoshop-picker "+i},r().createElement("div",{style:s.head},this.props.header),r().createElement("div",{style:s.body,className:"flexbox-fix"},r().createElement("div",{style:s.saturation},r().createElement(jc,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Tm,onChange:this.props.onChange})),r().createElement("div",{style:s.hue},r().createElement(gc,{direction:"vertical",hsl:this.props.hsl,pointer:Am,onChange:this.props.onChange})),r().createElement("div",{style:s.controls},r().createElement("div",{style:s.top,className:"flexbox-fix"},r().createElement("div",{style:s.previews},r().createElement(km,{rgb:this.props.rgb,currentColor:this.state.currentColor})),r().createElement("div",{style:s.actions},r().createElement(zm,{label:"OK",onClick:this.props.onAccept,active:!0}),r().createElement(zm,{label:"Cancel",onClick:this.props.onCancel}),r().createElement(Lm,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(r().Component);Om.propTypes={header:fc().string,styles:fc().object},Om.defaultProps={header:"Color Picker",styles:{}},hu(Om);const Cm=function(e){var t=e.onChange,a=e.rgb,n=e.hsl,i=e.hex,s=e.disableAlpha,o=(0,Gl.Ay)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),l=function(e,r){e.hex?mu(e.hex)&&t({hex:e.hex,source:"hex"},r):e.r||e.g||e.b?t({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,a:a.a,source:"rgb"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:n.h,s:n.s,l:n.l,a:e.a,source:"rgb"},r))};return r().createElement("div",{style:o.fields,className:"flexbox-fix"},r().createElement("div",{style:o.double},r().createElement(cc,{style:{input:o.input,label:o.label},label:"hex",value:i.replace("#",""),onChange:l})),r().createElement("div",{style:o.single},r().createElement(cc,{style:{input:o.input,label:o.label},label:"r",value:a.r,onChange:l,dragLabel:"true",dragMax:"255"})),r().createElement("div",{style:o.single},r().createElement(cc,{style:{input:o.input,label:o.label},label:"g",value:a.g,onChange:l,dragLabel:"true",dragMax:"255"})),r().createElement("div",{style:o.single},r().createElement(cc,{style:{input:o.input,label:o.label},label:"b",value:a.b,onChange:l,dragLabel:"true",dragMax:"255"})),r().createElement("div",{style:o.alpha},r().createElement(cc,{style:{input:o.input,label:o.label},label:"a",value:Math.round(100*a.a),onChange:l,dragLabel:"true",dragMax:"100"})))};var Ym=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Um=function(e){var t=e.colors,a=e.onClick,n=void 0===a?function(){}:a,i=e.onSwatchHover,s=(0,Gl.Ay)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),o=function(e,t){n({hex:e,source:"hex"},t)};return r().createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,a=""+t.color+(t.title||"");return r().createElement("div",{key:a,style:s.swatchWrap},r().createElement(bu,Ym({},t,{style:s.swatch,onClick:o,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};Um.propTypes={colors:fc().arrayOf(fc().oneOfType([fc().string,fc().shape({color:fc().string,title:fc().string})])).isRequired};const Qm=Um;var Pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Fm=function(e){var t=e.width,a=e.rgb,n=e.hex,i=e.hsv,s=e.hsl,o=e.onChange,l=e.onSwatchHover,c=e.disableAlpha,u=e.presetColors,d=e.renderers,m=e.styles,g=void 0===m?{}:m,p=e.className,f=void 0===p?"":p,M=(0,Gl.Ay)(hc()({default:Pm({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+a.r+","+a.g+","+a.b+","+a.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},g),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},g),{disableAlpha:c});return r().createElement("div",{style:M.picker,className:"sketch-picker "+f},r().createElement("div",{style:M.saturation},r().createElement(jc,{style:M.Saturation,hsl:s,hsv:i,onChange:o})),r().createElement("div",{style:M.controls,className:"flexbox-fix"},r().createElement("div",{style:M.sliders},r().createElement("div",{style:M.hue},r().createElement(gc,{style:M.Hue,hsl:s,onChange:o})),r().createElement("div",{style:M.alpha},r().createElement(nc,{style:M.Alpha,rgb:a,hsl:s,renderers:d,onChange:o}))),r().createElement("div",{style:M.color},r().createElement(Kl,null),r().createElement("div",{style:M.activeColor}))),r().createElement(Cm,{rgb:a,hsl:s,hex:n,onChange:o,disableAlpha:c}),r().createElement(Qm,{colors:u,onClick:o,onSwatchHover:l}))};Fm.propTypes={disableAlpha:fc().bool,width:fc().oneOfType([fc().string,fc().number]),styles:fc().object},Fm.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};const Rm=hu(Fm),Hm=function(e){var t=e.hsl,a=e.offset,n=e.onClick,i=void 0===n?function(){}:n,s=e.active,o=e.first,l=e.last,c=(0,Gl.Ay)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*a+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:s,first:o,last:l});return r().createElement("div",{style:c.swatch,onClick:function(e){return i({h:t.h,s:.5,l:a,source:"hsl"},e)}})},Bm=function(e){var t=e.onClick,a=e.hsl,n=(0,Gl.Ay)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),i=.1;return r().createElement("div",{style:n.swatches},r().createElement("div",{style:n.swatch},r().createElement(Hm,{hsl:a,offset:".80",active:Math.abs(a.l-.8)<i&&Math.abs(a.s-.5)<i,onClick:t,first:!0})),r().createElement("div",{style:n.swatch},r().createElement(Hm,{hsl:a,offset:".65",active:Math.abs(a.l-.65)<i&&Math.abs(a.s-.5)<i,onClick:t})),r().createElement("div",{style:n.swatch},r().createElement(Hm,{hsl:a,offset:".50",active:Math.abs(a.l-.5)<i&&Math.abs(a.s-.5)<i,onClick:t})),r().createElement("div",{style:n.swatch},r().createElement(Hm,{hsl:a,offset:".35",active:Math.abs(a.l-.35)<i&&Math.abs(a.s-.5)<i,onClick:t})),r().createElement("div",{style:n.swatch},r().createElement(Hm,{hsl:a,offset:".20",active:Math.abs(a.l-.2)<i&&Math.abs(a.s-.5)<i,onClick:t,last:!0})),r().createElement("div",{style:n.clear}))};var Wm=function(e){var t=e.hsl,a=e.onChange,n=e.pointer,i=e.styles,s=void 0===i?{}:i,o=e.className,l=void 0===o?"":o,c=(0,Gl.Ay)(hc()({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return r().createElement("div",{style:c.wrap||{},className:"slider-picker "+l},r().createElement("div",{style:c.hue},r().createElement(gc,{style:c.Hue,hsl:t,pointer:n,onChange:a})),r().createElement("div",{style:c.swatches},r().createElement(Bm,{hsl:t,onClick:a})))};Wm.propTypes={styles:fc().object},Wm.defaultProps={pointer:function(){var e=(0,Gl.Ay)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r().createElement("div",{style:e.picker})},styles:{}},hu(Wm);var Vm=n(748);const Zm=function(e){var t=e.color,a=e.onClick,n=void 0===a?function(){}:a,i=e.onSwatchHover,s=e.first,o=e.last,l=e.active,c=(0,Gl.Ay)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:gu(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:o,active:l,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r().createElement(bu,{color:t,style:c.color,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},r().createElement("div",{style:c.check},r().createElement(Vm.A,null)))},Gm=function(e){var t=e.onClick,a=e.onSwatchHover,n=e.group,i=e.active,s=(0,Gl.Ay)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r().createElement("div",{style:s.group},_u()(n,(function(e,s){return r().createElement(Zm,{key:e,color:e,active:e.toLowerCase()===i,first:0===s,last:s===n.length-1,onClick:t,onSwatchHover:a})})))};var Xm=function(e){var t=e.width,a=e.height,n=e.onChange,i=e.onSwatchHover,s=e.colors,o=e.hex,l=e.styles,c=void 0===l?{}:l,u=e.className,d=void 0===u?"":u,m=(0,Gl.Ay)(hc()({default:{picker:{width:t,height:a},overflow:{height:a,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),g=function(e,t){return n({hex:e,source:"hex"},t)};return r().createElement("div",{style:m.picker,className:"swatches-picker "+d},r().createElement(Nc,null,r().createElement("div",{style:m.overflow},r().createElement("div",{style:m.body},_u()(s,(function(e){return r().createElement(Gm,{key:e.toString(),group:e,active:o,onClick:g,onSwatchHover:i})})),r().createElement("div",{style:m.clear})))))};Xm.propTypes={width:fc().oneOfType([fc().string,fc().number]),height:fc().oneOfType([fc().string,fc().number]),colors:fc().arrayOf(fc().arrayOf(fc().string)),styles:fc().object},Xm.defaultProps={width:320,height:240,colors:[[ku,zu,Au,Tu,Lu],[Uu,Yu,Cu,Ou,Su],[Hu,Ru,Fu,Pu,Qu],[Gu,Zu,Vu,Wu,Bu],[Ku,$u,qu,Ju,Xu],[nd,rd,ad,td,ed],[cd,ld,od,sd,id],[pd,gd,md,dd,ud],[Nd,yd,hd,Md,fd],["#194D33",Dd,bd,xd,wd],[Ed,Id,_d,vd,jd],[kd,zd,Ad,Td,Ld],[Ud,Yd,Cd,Od,Sd],[Hd,Rd,Fd,Pd,Qd],[Gd,Zd,Vd,Wd,Bd],[Kd,$d,qd,Jd,Xd],[nm,rm,am,tm,em],[cm,lm,om,sm,im],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},hu(Xm);var Jm=function(e){var t=e.onChange,a=e.onSwatchHover,n=e.hex,i=e.colors,s=e.width,o=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,d=void 0===u?"":u,m=(0,Gl.Ay)(hc()({default:{card:{width:s,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===o,"top-left-triangle":"top-left"===o,"top-right-triangle":"top-right"===o}),g=function(e,a){mu(e)&&t({hex:e,source:"hex"},a)};return r().createElement("div",{style:m.card,className:"twitter-picker "+d},r().createElement("div",{style:m.triangleShadow}),r().createElement("div",{style:m.triangle}),r().createElement("div",{style:m.body},_u()(i,(function(e,t){return r().createElement(bu,{key:t,color:e,hex:e,style:m.swatch,onClick:g,onHover:a,focusStyle:{boxShadow:"0 0 4px "+e}})})),r().createElement("div",{style:m.hash},"#"),r().createElement(cc,{label:null,style:{input:m.input},value:n.replace("#",""),onChange:g}),r().createElement("div",{style:m.clear})))};Jm.propTypes={width:fc().oneOfType([fc().string,fc().number]),triangle:fc().oneOf(["hide","top-left","top-right"]),colors:fc().arrayOf(fc().string),styles:fc().object},Jm.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},hu(Jm);var qm=function(e){var t=(0,Gl.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return r().createElement("div",{style:t.picker})};qm.propTypes={hsl:fc().shape({h:fc().number,s:fc().number,l:fc().number,a:fc().number})},qm.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const $m=qm;var Km=function(e){var t=(0,Gl.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return r().createElement("div",{style:t.picker})};Km.propTypes={hsl:fc().shape({h:fc().number,s:fc().number,l:fc().number,a:fc().number})},Km.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const eg=Km,tg=function(e){var t=e.onChange,a=e.rgb,n=e.hsl,i=e.hex,s=e.hsv,o=function(e,a){if(e.hex)mu(e.hex)&&t({hex:e.hex,source:"hex"},a);else if(e.rgb){var r=e.rgb.split(",");pu(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},a)}else if(e.hsv){var n=e.hsv.split(",");pu(e.hsv,"hsv")&&(n[2]=n[2].replace("%",""),n[1]=n[1].replace("%",""),n[0]=n[0].replace("°",""),1==n[1]?n[1]=.01:1==n[2]&&(n[2]=.01),t({h:Number(n[0]),s:Number(n[1]),v:Number(n[2]),source:"hsv"},a))}else if(e.hsl){var i=e.hsl.split(",");pu(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==d[1]?d[1]=.01:1==d[2]&&(d[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},a))}},l=(0,Gl.Ay)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=a.r+", "+a.g+", "+a.b,u=Math.round(n.h)+"°, "+Math.round(100*n.s)+"%, "+Math.round(100*n.l)+"%",d=Math.round(s.h)+"°, "+Math.round(100*s.s)+"%, "+Math.round(100*s.v)+"%";return r().createElement("div",{style:l.wrap,className:"flexbox-fix"},r().createElement("div",{style:l.fields},r().createElement("div",{style:l.double},r().createElement(cc,{style:{input:l.input,label:l.label},label:"hex",value:i,onChange:o})),r().createElement("div",{style:l.column},r().createElement("div",{style:l.single},r().createElement(cc,{style:{input:l.input2,label:l.label2},label:"rgb",value:c,onChange:o})),r().createElement("div",{style:l.single},r().createElement(cc,{style:{input:l.input2,label:l.label2},label:"hsv",value:d,onChange:o})),r().createElement("div",{style:l.single},r().createElement(cc,{style:{input:l.input2,label:l.label2},label:"hsl",value:u,onChange:o})))))};var ag=function(e){var t=e.width,a=e.onChange,n=e.rgb,i=e.hsl,s=e.hsv,o=e.hex,l=e.header,c=e.styles,u=void 0===c?{}:c,d=e.className,m=void 0===d?"":d,g=(0,Gl.Ay)(hc()({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+n.r+", "+n.g+", "+n.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return r().createElement("div",{style:g.picker,className:"google-picker "+m},r().createElement("div",{style:g.head},l),r().createElement("div",{style:g.swatch}),r().createElement("div",{style:g.saturation},r().createElement(jc,{hsl:i,hsv:s,pointer:$m,onChange:a})),r().createElement("div",{style:g.body},r().createElement("div",{style:g.controls,className:"flexbox-fix"},r().createElement("div",{style:g.hue},r().createElement(gc,{style:g.Hue,hsl:i,radius:"4px",pointer:eg,onChange:a}))),r().createElement(tg,{rgb:n,hsl:i,hex:o,hsv:s,onChange:a})))};ag.propTypes={width:fc().oneOfType([fc().string,fc().number]),styles:fc().object,header:fc().string},ag.defaultProps={width:652,styles:{},header:"Color picker"},hu(ag);const rg=function(a){const{name:r,label:n,value:i,isActive:s=!0,tooltip:o,sectionClass:l="",wrapperClass:c="",labelClass:u="",displayAlign:d="horizontal",withBg:m=!1,showOverlay:g=!1}=a,[p,f]=(0,t.useState)(!1),[M,h]=(0,t.useState)(i),y=(0,t.useRef)(null),N=l||"text-left",w="horizontal"!==d?"block w-full text-left":c||"flex justify-between items-center gap-2.5",x="horizontal"!==d?`${u||"text-sm font-medium"} mb-2`:`${u||"text-sm font-medium"} text-sm font-normal`,b=e=>{e.stopPropagation(),document.dispatchEvent(new CustomEvent("closeAllColorPickers",{detail:{name:r}})),f(!p)},D=e=>{h(e?e.hex:e);const t=new CustomEvent("wcf:color:change",{bubbles:!0,detail:{e:"color",name:a.name,value:e?e.hex:e}});document.dispatchEvent(t)};return(0,t.useEffect)((()=>{const e=e=>{!y.current||y.current.contains(e.target)||e.target.closest(".wcf-colorpicker-swatch-wrap")||e.target.closest(".wcf-colorpicker-color-code")||f(!1)},t=e=>{e.detail.name!==r?f(!1):f(!p)};return document.addEventListener("closeAllColorPickers",t),document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("closeAllColorPickers",t)}}),[r]),(0,e.createElement)("div",{className:`wcf-field wcf-color-field ${N} ${s?"":"wcf-hide"}`},(0,e.createElement)("div",{className:`wcf-field__data ${w}`},n&&(0,e.createElement)("div",{className:`wcf-field__data--label ${x}`},(0,e.createElement)("label",null,n),o&&(0,e.createElement)(fh,{text:o})),(0,e.createElement)("div",{className:"wcf-field__data--content "+(m?"bg-white px-2 py-2 !text-sm font-normal !rounded-md text-gray-400 border !border-gray-200 w-fit":"")},(0,e.createElement)("div",{className:"wcf-colorpicker-selector flex items-center gap-2 justify-center cursor-pointer"},(0,e.createElement)("span",{className:"wcf-colorpicker-reset",onClick:()=>{D("")},title:(0,z.__)("Reset","cartflows")},(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 cursor-pointer "+(M?"text-gray-400 hover:text-gray-500":"text-gray-300 pointer-events-none"),"aria-hidden":"true"})),(0,e.createElement)("span",{className:"wcf-colorpicker-color-code border-l border-gray-200 text-gray-600 text-base font-normal px-3",onClick:b},M||(0,z.__)("Default","cartflows")),(0,e.createElement)("div",{className:"wcf-colorpicker-swatch-wrap",onClick:b},M?(0,e.createElement)("span",{className:"wcf-colorpicker-swatch block rounded-full !w-5 !h-5 border border-gray-200 cursor-pointer",style:{backgroundColor:M}}):(0,e.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIiBmaWxsPSJ1cmwoI2EpIi8+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBzdHJva2U9IiMxRDI5MzkiIHN0cm9rZS1vcGFjaXR5PSIuMTYiLz48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPjx1c2UgeGxpbms6aHJlZj0iI2IiIHRyYW5zZm9ybT0ibWF0cml4KC4wMDk0OCAwIDAgLjAwOTQ4IC0uNjM3IC0uNjQ0KSIvPjwvcGF0dGVybj48aW1hZ2UgaWQ9ImIiIHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiB4bGluazpocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQVFBQUFBRUFDQVlBQUFCY2NxaG1BQUFBQVhOU1IwSUFyczRjNlFBQUNzVkpSRUZVZUY3dDNiRnRKbHNPUk9GL25yTXhLTUpOUTFrSU1nVkZJRStwcmZPd09WUVpSRTEvNHdzWHpTRVBEMiszcUQ4Zlh6L3ZyK0xmUC8vODU3UDQ4ZGUvLy83dnY4M1BPMS84b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BMXgyOFBSOEFBQUFBQUNDUFFFdWdkWVh5L080UTh1cTV2ME5nQUF5QUFSUVZ2TjRBQUFBQUFBQUE4Z2lzRTlBSVlpdHdudjEvd1ZiZ2o2K2Y5eWNIQUFBQTRNbjVid1F3QWhnQkNnS3NHekFBQUFBQUFFQWVnWFVDR2dHTUFIbjJ1d040QVlEMzRFMEJBZkF0Z0kwQVJnQWpRRUd3OVFZSUFBQUFBQUNRUjJDZGdCVDBWa0hGL3piK0RJQUJNSUM4LzgzZmdRRUFBQURBa3dIdytmMzdWanovaThMZEtwejRpMzlUdnpZQzJRaGtJMUJSUWVzQUJnQUFBQUFBeUNPd1RrQnZNWHpJbEdmLy9VS1B0djRZQUFOZ0FBVUIyZ0s4YmtBQUFBQUFBQUI1Qk5ZSmVFMWc1eHRCOHVyclJ4QUd3QUFZUUZHQjZ3MFFBQUFBQUFBZ2o4QTZBU2s0QmMrenYxZnc2L3hqQUF5QUFSUUVXRytBQUFBQUFBQUFlUVRXQ1hpdFlNNDNndVRWMTQ4Z0RJQUJNSUNpQXRjYklBQUFBQUFBUUI2QmRRSlNjQXFlWjMrdjROZjU5MysraWozaGFMdmRwUUFBQUFCSlJVNUVya0pnZ2c9PSIvPjwvZGVmcz48L3N2Zz4=",alt:"No Color",className:"!w-5 !h-5 opacity-40"}),(0,e.createElement)("span",{className:"wcf-colorpicker-label sr-only"},"Select Color"),(0,e.createElement)("input",{type:"hidden",name:r,value:M}))),(0,e.createElement)("div",{className:"wcf-color-picker relative",ref:y},p?(0,e.createElement)("div",{className:"wcf-color-picker-popover absolute z-10 right-0 top-3"},g&&(0,e.createElement)("div",{className:"wcf-color-picker-cover fixed inset-0",onClick:()=>{f(!1)}}),(0,e.createElement)(Rm,{name:r,color:M,onChange:D,disableAlpha:!0})):null))))},ng=function(a){const{name:r,label:n,value:i,desc:s,tooltip:o,font_weight_name:l="",font_weight_value:c="",sectionClass:u=!1,wrapperClass:d=!1,labelClass:m="",displayAlign:g="horizontal"}=a,p=u||"text-left";let f=d||"flex items-center gap-2.5",M=m||"text-sm font-medium";"horizontal"!==g&&(f="block w-full text-left",M+=" mb-2");const h=cartflows_admin.cf_font_family,y=i||"Default",[N,w]=(0,t.useState)({value:i,label:i&&i.match(/'([^']+)'/)?i.match(/'([^']+)'/)[1]:y}),[x,b]=(0,t.useState)(c),D=function(e){let t=e.value;const a=[];if(void 0===t||""===t)return a.push({value:"",label:"Default"}),a;const r=t.match("'(.*)'"),n={};r&&r[1]&&(t=r[1]);const i={};return cartflows_admin.google_fonts[t]?(cartflows_admin.google_fonts[t].variants.map((e=>(e.includes("italic")||(i[e]=cartflows_admin.font_weights[e]),""))),Object.keys(i).map((e=>{const t=i[e];return a.push({value:e,label:t}),""})),n[t.replace(" ","+")]=i):cartflows_admin.system_fonts[t]&&(cartflows_admin.system_fonts[t].variants.map((e=>(e.includes("italic")||(i[e]=cartflows_admin.font_weights[e]),""))),Object.keys(i).map((e=>{const t=i[e];return a.push({val:e,label:t}),""}))),a};let j=D(N);return(0,e.createElement)("div",{className:`wcf-field wcf-font-family-field ${p} `},(0,e.createElement)("div",{className:`wcf-field__data ${f}`},n&&(0,e.createElement)("div",{className:`wcf-field__data--label ${M}`},(0,e.createElement)("label",null,n,o&&(0,e.createElement)(fh,{text:o}))),(0,e.createElement)("div",{className:"wcf-selection-field"},(0,e.createElement)(Il,{name:r,className:"wcf-select2-input",classNamePrefix:"wcf",cacheOptions:!0,defaultOptions:h,value:N,loadOptions:e=>new Promise((t=>{setTimeout((()=>{t((e=>{const t=h[1].options,a=h[2].options,r=h[0];return t.concat(a,r).filter((t=>t.label.toLowerCase().includes(e.toLowerCase())))})(e))}),1e3)})),onChange:e=>{w(e);const t=D(e);j=t;const r=new CustomEvent("wcf:font:change",{bubbles:!0,detail:{name:a.name,value:e.value}});document.dispatchEvent(r)},styles:{control:(e,t)=>({...e,borderColor:t.isFocused?"#F06434":"#e5e7eb",boxShadow:t.isFocused?"none":"",borderRadius:"6px","&:hover":{borderColor:"none"}})}}))),s&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(s)),""!==l&&(0,e.createElement)("div",{className:"wcf-font-weight-field mt-5"},(0,e.createElement)(jr,{name:l,className:"wcf-select-input",value:x,onChange:function(e){b(e)},options:j,label:"Font Weight",displayAlign:g})))};function ig({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const sg=t.forwardRef(ig),{__:og}=wp.i18n,lg=function(a){const{name:r,tooltip:n,value:i,label:s,objName:o,objValue:l,singleButton:c=!1,sectionClass:u="",wrapperClass:d="",labelClass:m,desc:g,descClass:p,displayAlign:f="horizontal"}=a,[M,h]=(0,t.useState)(i),[y,N]=(0,t.useState)(l),[w,x]=(0,t.useState)(!i),b=(0,t.useRef)(null),D=u||"text-left",j=p||"text-sm font-normal text-gray-500 mt-2";let v=d||"flex items-center gap-2.5",_=m||"text-sm font-medium mb-2";"horizontal"!==f&&(v="block w-full text-left",_+=" mb-2");const I=e=>{e.preventDefault(),b.current||(b.current=wp.media({multiple:!1}),b.current.on("select",(function(){const t=b.current.state().get("selection").first().toJSON(),a=t.sizes?.medium?.url||t.url;h(a),N(t),x(!a),E(e,r,a),E(e,o,t)}))),b.current.open()},E=(e,t,a)=>{e.preventDefault();const r=new CustomEvent("wcf:image-selector:change",{bubbles:!0,detail:{e,img_obj:t,url:a}});document.dispatchEvent(r)};return(0,e.createElement)("div",{className:`wcf-field wcf-image-selector-field ${D}`},(0,e.createElement)("div",{className:`wcf-field__data ${v}`},s&&(0,e.createElement)("div",{className:`wcf-field__data--label ${_}`},(0,e.createElement)("label",null,s,n&&(0,e.createElement)(fh,{text:n}))),(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)("div",{className:"wcf-image-selector-field__input p-0"},M&&!w&&(0,e.createElement)("div",{className:"text-center border-solid border-gray-100 mb-3 leading-4"},(0,e.createElement)("img",{src:M,className:"saved-image",name:r,width:"150",alt:og("Image Preview","cartflows")})),(0,e.createElement)("input",{type:"hidden",id:r,className:"wcf-image",name:r,value:M}),(0,e.createElement)("input",{type:"hidden",className:"wcf-image-obj",name:o,value:JSON.stringify(y)}),!c&&w&&(0,e.createElement)("div",{className:"mt-2 flex justify-center rounded-lg border border-dashed border-gray-900/25 hover:border-primary-500 px-6 py-10"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)(sg,{className:"mx-auto h-12 w-12 text-gray-300","aria-hidden":"true"}),(0,e.createElement)("div",{className:"mt-4 flex items-center text-sm leading-6 text-gray-600"},(0,e.createElement)("a",{href:"#!",className:"relative cursor-pointer rounded-md font-semibold text-primary-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-primary-500 focus-within:ring-offset-2 hover:text-primary-500",onClick:I},(0,e.createElement)("span",null,og("Upload a file","cartflows"))),(0,e.createElement)("p",{className:"pl-1"},og("or drag and drop","cartflows"))),(0,e.createElement)("p",{className:"text-xs leading-5 text-gray-600"},og("PNG, JPG, GIF up to 10MB","cartflows")))),(0,e.createElement)("div",{className:"wcf-image-selector-field-buttons flex gap-3 m-0 p-0"},c&&(0,e.createElement)("div",{className:"wcf-image-selector-field-button-select"},(0,e.createElement)("button",{type:"button",className:"wcf-select-image wcf-button wcf-secondary-button",onClick:I},og(M?"Change Image":"Select Image","cartflows"))),M&&(0,e.createElement)("div",{className:"wcf-image-selector-field-button-remove"},(0,e.createElement)("button",{type:"button",className:"wcf-remove-image wcf-button wcf-secondary-button",onClick:e=>{e.preventDefault(),h(""),x(!0),N(""),E(e,r,""),E(e,o,"")}},og("Remove Image","cartflows"))))))),g&&(0,e.createElement)("div",{className:`wcf-field__desc ${j}`},Nr(g)))},cg=function(t){const{attr:a,onChangeCB:n}=t,[i,s]=r().useState(t.value),o=t.type?t.type:"text";return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("input",(0,y.A)({},a,{type:o,className:xr()(t.class,"w-[300px]"),name:t.name,value:(0,fr.decode)(i),id:t.id,onChange:function(e){s(e.target.value),n&&n(e.target.value)},placeholder:t.placeholder,min:t.min,max:t.max,readOnly:t.readonly})))},ug=function(a){const{name:r,id:n,label:i,desc:s,value:o,tooltip:l,placeholder:c,min:u,max:d,width:m,afterfield:g,readonly:p,wrapperClass:f=!1,labelClass:M,sectionClass:h,descClass:y,displayAlign:N="horizontal",step:w="1"}=a,[x,b]=(0,t.useState)(o),D=h||"text-left",j=M||"text-sm font-medium mb-2",v=y||"text-sm font-normal text-gray-500 mt-2";let _=f||"flex items-center gap-2.5";return"horizontal"!==N&&(_="block w-full text-left"),(0,t.useEffect)((()=>{b(o)}),[o]),(0,e.createElement)("div",{className:`wcf-field wcf-number-field ${D}`},(0,e.createElement)("div",{className:`wcf-field__data ${_}`},i&&(0,e.createElement)("div",{className:`wcf-field__data--label ${j}`},(0,e.createElement)("label",null,i,l&&(0,e.createElement)(fh,{text:l}))),(0,e.createElement)("div",{className:"wcf-field__data--content flex items-center"},(0,e.createElement)("input",{type:"number",className:a.class?a.class:"!w-full !h-auto input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",name:r,value:x,id:n,onChange:function(e){let t=e.target.value;if("any"===w&&t?.includes(".")){const[e,a]=t.split(".");a.length>2&&(t=`${e}.${a.substring(0,2)}`)}document.getElementsByName(e.target.getAttribute("name"))[0].setAttribute("value",t),b(t);const a=new CustomEvent("wcf:number:change",{bubbles:!0,detail:{e,name:r,value:t}});document.dispatchEvent(a)},placeholder:c,min:u,max:d,readOnly:p,inputMode:"numeric",step:w,style:{width:m}}),g&&(0,e.createElement)("span",{className:"wcf-field__data--after-field ml-1 font-medium"},g))),s&&(0,e.createElement)("div",{className:`wcf-field__desc ${v}`},Nr(s)))};var dg=n(4353),mg=n.n(dg);function gg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var pg,fg={exports:{}},Mg={};fg.exports=function(){if(pg)return Mg;pg=1;var e=r(),t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function o(e,a,r){var o,l={},c=null,u=null;for(o in void 0!==r&&(c=""+r),void 0!==a.key&&(c=""+a.key),void 0!==a.ref&&(u=a.ref),a)n.call(a,o)&&!s.hasOwnProperty(o)&&(l[o]=a[o]);if(e&&e.defaultProps)for(o in a=e.defaultProps)void 0===l[o]&&(l[o]=a[o]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return Mg.Fragment=a,Mg.jsx=o,Mg.jsxs=o,Mg}();var hg=fg.exports;const yg=["blue","orange","yellow","red","purple","amber","lime","green","emerald","teal","cyan","sky","indigo","violet","purple","fuchsia","pink","rose"],Ng="blue",wg="~",xg="en",bg="YYYY-MM-DD",Dg="sun",jg="forward",vg=[0,1,2,3,4,5,6],_g=[1,2,3,4,5,6,7,8,9,10,11,12],Ig={100:{blue:"bg-blue-100",orange:"bg-orange-100",yellow:"bg-yellow-100",red:"bg-red-100",purple:"bg-purple-100",amber:"bg-amber-100",lime:"bg-lime-100",green:"bg-green-100",emerald:"bg-emerald-100",teal:"bg-teal-100",cyan:"bg-cyan-100",sky:"bg-sky-100",indigo:"bg-indigo-100",violet:"bg-violet-100",fuchsia:"bg-fuchsia-100",pink:"bg-pink-100",rose:"bg-rose-100"},200:{blue:"bg-blue-200",orange:"bg-orange-200",yellow:"bg-yellow-200",red:"bg-red-200",purple:"bg-purple-200",amber:"bg-amber-200",lime:"bg-lime-200",green:"bg-green-200",emerald:"bg-emerald-200",teal:"bg-teal-200",cyan:"bg-cyan-200",sky:"bg-sky-200",indigo:"bg-indigo-200",violet:"bg-violet-200",fuchsia:"bg-fuchsia-200",pink:"bg-pink-200",rose:"bg-rose-200"},500:{blue:"bg-blue-500",orange:"bg-orange-500",yellow:"bg-yellow-500",red:"bg-red-500",purple:"bg-purple-500",amber:"bg-amber-500",lime:"bg-lime-500",green:"bg-green-500",emerald:"bg-emerald-500",teal:"bg-teal-500",cyan:"bg-cyan-500",sky:"bg-sky-500",indigo:"bg-indigo-500",violet:"bg-violet-500",fuchsia:"bg-fuchsia-500",pink:"bg-pink-500",rose:"bg-rose-500"},hover:{blue:"hover:bg-blue-600",orange:"hover:bg-orange-600",yellow:"hover:bg-yellow-600",red:"hover:bg-red-600",purple:"hover:bg-purple-600",amber:"hover:bg-amber-600",lime:"hover:bg-lime-600",green:"hover:bg-green-600",emerald:"hover:bg-emerald-600",teal:"hover:bg-teal-600",cyan:"hover:bg-cyan-600",sky:"hover:bg-sky-600",indigo:"hover:bg-indigo-600",violet:"hover:bg-violet-600",fuchsia:"hover:bg-fuchsia-600",pink:"hover:bg-pink-600",rose:"hover:bg-rose-600"}},Eg={500:{blue:"text-blue-500",orange:"text-orange-500",yellow:"text-yellow-500",red:"text-red-500",purple:"text-purple-500",amber:"text-amber-500",lime:"text-lime-500",green:"text-green-500",emerald:"text-emerald-500",teal:"text-teal-500",cyan:"text-cyan-500",sky:"text-sky-500",indigo:"text-indigo-500",violet:"text-violet-500",fuchsia:"text-fuchsia-500",pink:"text-pink-500",rose:"text-rose-500"},600:{blue:"text-blue-600 dark:text-blue-400 dark:hover:text-blue-400",orange:"text-orange-600 dark:text-orange-400 dark:hover:text-orange-400",yellow:"text-yellow-600 dark:text-yellow-400 dark:hover:text-yellow-400",red:"text-red-600 dark:text-red-400 dark:hover:text-red-400",purple:"text-purple-600 dark:text-purple-400 dark:hover:text-purple-400",amber:"text-amber-600 dark:text-amber-400 dark:hover:text-amber-400",lime:"text-lime-600 dark:text-lime-400 dark:hover:text-lime-400",green:"text-green-600 dark:text-green-400 dark:hover:text-green-400",emerald:"text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-400",teal:"text-teal-600 dark:text-teal-400 dark:hover:text-teal-400",cyan:"text-cyan-600 dark:text-cyan-400 dark:hover:text-cyan-400",sky:"text-sky-600 dark:text-sky-400 dark:hover:text-sky-400",indigo:"text-indigo-600 dark:text-indigo-400 dark:hover:text-indigo-400",violet:"text-violet-600 dark:text-violet-400 dark:hover:text-violet-400",fuchsia:"text-fuchsia-600 dark:text-fuchsia-400 dark:hover:text-fuchsia-400",pink:"text-pink-600 dark:text-pink-400 dark:hover:text-pink-400",rose:"text-rose-600 dark:text-rose-400 dark:hover:text-rose-400"},hover:{blue:"hover:text-blue-700",orange:"hover:text-orange-700",yellow:"hover:text-yellow-700",red:"hover:text-red-700",purple:"hover:text-purple-700",amber:"hover:text-amber-700",lime:"hover:text-lime-700",green:"hover:text-green-700",emerald:"hover:text-emerald-700",teal:"hover:text-teal-700",cyan:"hover:text-cyan-700",sky:"hover:text-sky-700",indigo:"hover:text-indigo-700",violet:"hover:text-violet-700",fuchsia:"hover:text-fuchsia-700",pink:"hover:text-pink-700",rose:"hover:text-rose-700"}},Lg={500:{blue:"border-blue-500",orange:"border-orange-500",yellow:"border-yellow-500",red:"border-red-500",purple:"border-purple-500",amber:"border-amber-500",lime:"border-lime-500",green:"border-green-500",emerald:"border-emerald-500",teal:"border-teal-500",cyan:"border-cyan-500",sky:"border-sky-500",indigo:"border-indigo-500",violet:"border-violet-500",fuchsia:"border-fuchsia-500",pink:"border-pink-500",rose:"border-rose-500"},focus:{blue:"focus:border-blue-500",orange:"focus:border-orange-500",yellow:"focus:border-yellow-500",red:"focus:border-red-500",purple:"focus:border-purple-500",amber:"focus:border-amber-500",lime:"focus:border-lime-500",green:"focus:border-green-500",emerald:"focus:border-emerald-500",teal:"focus:border-teal-500",cyan:"focus:border-cyan-500",sky:"focus:border-sky-500",indigo:"focus:border-indigo-500",violet:"focus:border-violet-500",fuchsia:"focus:border-fuchsia-500",pink:"focus:border-pink-500",rose:"focus:border-rose-500"}},Tg={focus:{blue:"focus:ring-blue-500",orange:"focus:ring-orange-500",yellow:"focus:ring-yellow-500",red:"focus:ring-red-500",purple:"focus:ring-purple-500",amber:"focus:ring-amber-500",lime:"focus:ring-lime-500",green:"focus:ring-green-500",emerald:"focus:ring-emerald-500",teal:"focus:ring-teal-500",cyan:"focus:ring-cyan-500",sky:"focus:ring-sky-500",indigo:"focus:ring-indigo-500",violet:"focus:ring-violet-500",fuchsia:"focus:ring-fuchsia-500",pink:"focus:ring-pink-500",rose:"focus:ring-rose-500"},"second-focus":{blue:"focus:ring-blue-500/20",orange:"focus:ring-orange-500/20",yellow:"focus:ring-yellow-500/20",red:"focus:ring-red-500/20",purple:"focus:ring-purple-500/20",amber:"focus:ring-amber-500/20",lime:"focus:ring-lime-500/20",green:"focus:ring-green-500/20",emerald:"focus:ring-emerald-500/20",teal:"focus:ring-teal-500/20",cyan:"focus:ring-cyan-500/20",sky:"focus:ring-sky-500/20",indigo:"focus:ring-indigo-500/20",violet:"focus:ring-violet-500/20",fuchsia:"focus:ring-fuchsia-500/20",pink:"focus:ring-pink-500/20",rose:"focus:ring-rose-500/20"}},Ag={blue:"focus:ring-blue-500/50 focus:bg-blue-100/50",orange:"focus:ring-orange-500/50 focus:bg-orange-100/50",yellow:"focus:ring-yellow-500/50 focus:bg-yellow-100/50",red:"focus:ring-red-500/50 focus:bg-red-100/50",purple:"focus:ring-purple-500/50 focus:bg-purple-100/50",amber:"focus:ring-amber-500/50 focus:bg-amber-100/50",lime:"focus:ring-lime-500/50 focus:bg-lime-100/50",green:"focus:ring-green-500/50 focus:bg-green-100/50",emerald:"focus:ring-emerald-500/50 focus:bg-emerald-100/50",teal:"focus:ring-teal-500/50 focus:bg-teal-100/50",cyan:"focus:ring-cyan-500/50 focus:bg-cyan-100/50",sky:"focus:ring-sky-500/50 focus:bg-sky-100/50",indigo:"focus:ring-indigo-500/50 focus:bg-indigo-100/50",violet:"focus:ring-violet-500/50 focus:bg-violet-100/50",fuchsia:"focus:ring-fuchsia-500/50 focus:bg-fuchsia-100/50",pink:"focus:ring-pink-500/50 focus:bg-pink-100/50",rose:"focus:ring-rose-500/50 focus:bg-rose-100/50"},zg=(0,t.createContext)({arrowContainer:null,asSingle:!1,calendarContainer:null,changeDatepickerValue:()=>{},changeDayHover:()=>{},changeInputText:()=>{},changePeriod:()=>{},classNames:void 0,configs:void 0,containerClassName:"",dateLooking:jg,dayHover:null,disabled:!1,disabledDates:null,displayFormat:bg,hideDatepicker:()=>{},i18n:xg,input:void 0,inputClassName:"",inputId:void 0,inputName:void 0,inputText:"",maxDate:null,minDate:null,period:{start:null,end:null},popoverDirection:void 0,primaryColor:Ng,readOnly:!1,required:!1,separator:wg,showFooter:!1,startWeekOn:Dg,toggleClassName:"",toggleIcon:void 0,updateFirstDate:()=>{},value:null});var kg={exports:({},function(e,t,a){t.prototype.isBetween=function(e,t,r,n){var i=a(e),s=a(t),o="("===(n=n||"()")[0],l=")"===n[1];return(o?this.isAfter(i,r):!this.isBefore(i,r))&&(l?this.isBefore(s,r):!this.isAfter(s,r))||(o?this.isBefore(i,r):!this.isAfter(i,r))&&(l?this.isAfter(s,r):!this.isBefore(s,r))}})},Sg=gg(kg.exports),Og={exports:{}};Og.exports=function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}};var Cg=gg(Og.exports),Yg={exports:{}};!function(e){e.exports=function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}(Yg);var Ug=gg(Yg.exports),Qg={exports:{}};!function(e){e.exports=function(e,t,a){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=a();return this.format(e)===t.format(e)}}}(Qg);var Pg=gg(Qg.exports);function Fg(e=xg){switch(e){case"af":Promise.resolve().then((function(){return kp}));break;case"am":Promise.resolve().then((function(){return Sp}));break;case"ar-dz":Promise.resolve().then((function(){return Op}));break;case"ar-iq":Promise.resolve().then((function(){return Cp}));break;case"ar-kw":Promise.resolve().then((function(){return Yp}));break;case"ar-ly":Promise.resolve().then((function(){return Up}));break;case"ar-ma":Promise.resolve().then((function(){return Qp}));break;case"ar-sa":Promise.resolve().then((function(){return Pp}));break;case"ar-tn":Promise.resolve().then((function(){return Fp}));break;case"ar":Promise.resolve().then((function(){return Rp}));break;case"az":Promise.resolve().then((function(){return Hp}));break;case"bg":Promise.resolve().then((function(){return Bp}));break;case"bi":Promise.resolve().then((function(){return Wp}));break;case"bm":Promise.resolve().then((function(){return Vp}));break;case"bn-bd":Promise.resolve().then((function(){return Zp}));break;case"bn":Promise.resolve().then((function(){return Gp}));break;case"bo":Promise.resolve().then((function(){return Xp}));break;case"br":Promise.resolve().then((function(){return Jp}));break;case"ca":Promise.resolve().then((function(){return qp}));break;case"cs":Promise.resolve().then((function(){return $p}));break;case"cv":Promise.resolve().then((function(){return Kp}));break;case"cy":Promise.resolve().then((function(){return ef}));break;case"da":Promise.resolve().then((function(){return tf}));break;case"de-at":Promise.resolve().then((function(){return af}));break;case"de-ch":Promise.resolve().then((function(){return rf}));break;case"de":Promise.resolve().then((function(){return nf}));break;case"dv":Promise.resolve().then((function(){return sf}));break;case"el":Promise.resolve().then((function(){return of}));break;case"en-au":Promise.resolve().then((function(){return lf}));break;case"en-gb":Promise.resolve().then((function(){return cf}));break;case"en-ie":Promise.resolve().then((function(){return uf}));break;case"en-il":Promise.resolve().then((function(){return df}));break;case"en-in":Promise.resolve().then((function(){return mf}));break;case"en-nz":Promise.resolve().then((function(){return gf}));break;case"en-sg":Promise.resolve().then((function(){return pf}));break;case"en-tt":Promise.resolve().then((function(){return ff}));break;case"en":default:Promise.resolve().then((function(){return Mf}));break;case"eo":Promise.resolve().then((function(){return hf}));break;case"es-do":Promise.resolve().then((function(){return yf}));break;case"es-mx":Promise.resolve().then((function(){return Nf}));break;case"es-pr":Promise.resolve().then((function(){return wf}));break;case"es-us":Promise.resolve().then((function(){return xf}));break;case"es":Promise.resolve().then((function(){return bf}));break;case"et":Promise.resolve().then((function(){return Df}));break;case"eu":Promise.resolve().then((function(){return jf}));break;case"fa":Promise.resolve().then((function(){return vf}));break;case"fi":Promise.resolve().then((function(){return _f}));break;case"fo":Promise.resolve().then((function(){return If}));break;case"fr-ch":Promise.resolve().then((function(){return Ef}));break;case"fr":Promise.resolve().then((function(){return Lf}));break;case"fy":Promise.resolve().then((function(){return Tf}));break;case"ga":Promise.resolve().then((function(){return Af}));break;case"gd":Promise.resolve().then((function(){return zf}));break;case"gl":Promise.resolve().then((function(){return kf}));break;case"gom-latn":Promise.resolve().then((function(){return Sf}));break;case"gu":Promise.resolve().then((function(){return Of}));break;case"he":Promise.resolve().then((function(){return Cf}));break;case"hi":Promise.resolve().then((function(){return Yf}));break;case"hr":Promise.resolve().then((function(){return Uf}));break;case"ht":Promise.resolve().then((function(){return Qf}));break;case"hu":Promise.resolve().then((function(){return Pf}));break;case"hy-am":Promise.resolve().then((function(){return Ff}));break;case"id":Promise.resolve().then((function(){return Rf}));break;case"is":Promise.resolve().then((function(){return Hf}));break;case"it-ch":Promise.resolve().then((function(){return Bf}));break;case"it":Promise.resolve().then((function(){return Wf}));break;case"ja":Promise.resolve().then((function(){return Vf}));break;case"jv":Promise.resolve().then((function(){return Zf}));break;case"ka":Promise.resolve().then((function(){return Gf}));break;case"kk":Promise.resolve().then((function(){return Xf}));break;case"ko":Promise.resolve().then((function(){return Jf}));break;case"ku":Promise.resolve().then((function(){return qf}));break;case"ky":Promise.resolve().then((function(){return $f}));break;case"lb":Promise.resolve().then((function(){return Kf}));break;case"lo":Promise.resolve().then((function(){return eM}));break;case"lt":Promise.resolve().then((function(){return tM}));break;case"lv":Promise.resolve().then((function(){return aM}));break;case"me":Promise.resolve().then((function(){return rM}));break;case"mi":Promise.resolve().then((function(){return nM}));break;case"mk":Promise.resolve().then((function(){return iM}));break;case"ml":Promise.resolve().then((function(){return sM}));break;case"mn":Promise.resolve().then((function(){return oM}));break;case"ms-my":Promise.resolve().then((function(){return lM}));break;case"ms":Promise.resolve().then((function(){return cM}));break;case"mt":Promise.resolve().then((function(){return uM}));break;case"my":Promise.resolve().then((function(){return dM}));break;case"nb":Promise.resolve().then((function(){return mM}));break;case"ne":Promise.resolve().then((function(){return gM}));break;case"nl-be":Promise.resolve().then((function(){return pM}));break;case"nl":Promise.resolve().then((function(){return fM}));break;case"nn":Promise.resolve().then((function(){return MM}));break;case"oc-lnc":Promise.resolve().then((function(){return hM}));break;case"pa-in":Promise.resolve().then((function(){return yM}));break;case"pl":Promise.resolve().then((function(){return NM}));break;case"pt-br":Promise.resolve().then((function(){return wM}));break;case"pt":Promise.resolve().then((function(){return xM}));break;case"rn":Promise.resolve().then((function(){return bM}));break;case"ro":Promise.resolve().then((function(){return DM}));break;case"ru":Promise.resolve().then((function(){return jM}));break;case"rw":Promise.resolve().then((function(){return vM}));break;case"sd":Promise.resolve().then((function(){return _M}));break;case"se":Promise.resolve().then((function(){return IM}));break;case"si":Promise.resolve().then((function(){return EM}));break;case"sk":Promise.resolve().then((function(){return LM}));break;case"sl":Promise.resolve().then((function(){return TM}));break;case"sq":Promise.resolve().then((function(){return AM}));break;case"sr":Promise.resolve().then((function(){return zM}));break;case"sr-cyrl":Promise.resolve().then((function(){return kM}));break;case"ss":Promise.resolve().then((function(){return SM}));break;case"sv-fi":Promise.resolve().then((function(){return OM}));break;case"sv":Promise.resolve().then((function(){return CM}));break;case"sw":Promise.resolve().then((function(){return YM}));break;case"ta":Promise.resolve().then((function(){return UM}));break;case"te":Promise.resolve().then((function(){return QM}));break;case"tg":Promise.resolve().then((function(){return PM}));break;case"th":Promise.resolve().then((function(){return FM}));break;case"tk":Promise.resolve().then((function(){return RM}));break;case"tl-ph":Promise.resolve().then((function(){return HM}));break;case"tlh":Promise.resolve().then((function(){return BM}));break;case"tr":Promise.resolve().then((function(){return WM}));break;case"tzl":Promise.resolve().then((function(){return VM}));break;case"tzm-latn":Promise.resolve().then((function(){return ZM}));break;case"tzm":Promise.resolve().then((function(){return GM}));break;case"ug-cn":Promise.resolve().then((function(){return XM}));break;case"uk":Promise.resolve().then((function(){return JM}));break;case"ur":Promise.resolve().then((function(){return qM}));break;case"uz-latn":Promise.resolve().then((function(){return $M}));break;case"uz":Promise.resolve().then((function(){return KM}));break;case"vi":Promise.resolve().then((function(){return eh}));break;case"x-pseudo":Promise.resolve().then((function(){return th}));break;case"yo":Promise.resolve().then((function(){return ah}));break;case"zh-cn":Promise.resolve().then((function(){return rh}));break;case"zh-hk":Promise.resolve().then((function(){return nh}));break;case"zh-tw":Promise.resolve().then((function(){return ih}));break;case"zh":Promise.resolve().then((function(){return sh}))}}function Rg(e){return mg()(e).isValid()}function Hg(e,t,a){return!(!Rg(e)||!Rg(t))&&mg()(e).isSame(mg()(t),a)}function Bg(e,t,a){return!(!Rg(e)||!Rg(t))&&mg()(e).isBefore(mg()(t),a)}function Wg(e,t,a){return!(!Rg(e)||!Rg(t))&&mg()(e).isAfter(mg()(t),a)}function Vg(e,t,a){return!(!Rg(e)||!Rg(t))&&mg()(e).isSameOrBefore(mg()(t),a)}function Zg(e,t,a){return!(!Rg(e)||!Rg(t))&&mg()(e).isSameOrAfter(mg()(t),a)}function Gg(e,t,a,r,n){return!!(Rg(e)&&Rg(t)&&Rg(a))&&mg()(e).isBetween(mg()(t),mg()(a),r,`${n?.start?"[":"("}${n?.end?"]":")"}`)}function Xg(e,t,a="en"){return Rg(e)?mg()(e).locale(a).format(t):null}function Jg(e){const t=mg()(e);return t.isValid()?t.toDate():null}function qg(e){if(!Rg(e))return mg()().toDate();const t=mg()(e);return t.date(1).hour(0).minute(0).second(0).month(t.month()-1).toDate()}function $g(e){if(!Rg(e))return mg()().toDate();const t=mg()(e);return t.date(1).hour(0).minute(0).second(0).month(t.month()+1).toDate()}function Kg(e,t){return Rg(e)?mg()(e).month(t).toDate():mg()().toDate()}function ep(e,t){return Rg(e)?mg()(e).year(t).toDate():mg()().toDate()}function tp(e){return mg()(e||mg()()).startOf("month").toDate()}function ap(e){return mg()(e||mg()()).endOf("month").toDate()}function rp(e){return mg()(e||mg()()).day()}function np(e,t,a){return Rg(e)?mg()(e).add(t,a).toDate():e}mg().extend(Sg),mg().extend(Cg),mg().extend(Ug),mg().extend(Pg);const ip=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})},sp=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})},op=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5"})})},lp=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"})})},cp=e=>{const{children:a,onClick:r,disabled:n,roundedFull:i=!1,padding:s="py-[0.55rem]",active:o=!1}=e,{primaryColor:l}=(0,t.useContext)(zg),c=(0,t.useCallback)((()=>{const e="dark:text-white/70 dark:hover:bg-white/10 dark:focus:bg-white/10",t=o?"font-semibold bg-gray-50 dark:bg-white/5":"";return`${i?`${e} ${t} transition-all duration-300 hover:bg-gray-100 rounded-full p-[0.45rem] focus:ring-1`:`w-full tracking-wide ${e} ${t} transition-all duration-300 px-3 ${s} uppercase hover:bg-gray-100 rounded-md focus:ring-1`} ${Ag[l]} ${n?"line-through":""}`}),[n,s,l,i,o]);return hg.jsx("button",{type:"button",className:c(),onClick:r,disabled:n,children:a})};function up(...e){return e.filter(Boolean).join(" ")}function dp(e=0,t=0){const a=[];for(let r=e;r<=t;r++)a.push(r);return a}function mp(e,t=3){return e.slice(0,t)}const gp=e=>{const{days:a,onClickPreviousDays:r,onClickDay:n,onClickNextDays:i}=e,{primaryColor:s,period:o,changePeriod:l,dayHover:c,changeDayHover:u,minDate:d,maxDate:m,disabledDates:g}=(0,t.useContext)(zg),p=(0,t.useCallback)((e=>{return Rg(t=e)&&mg()(t).isToday()?Eg[500][s]:"";var t}),[s]),f=(0,t.useCallback)((e=>{let t="";const a=o.start&&Hg(e,o.start,"date"),r=o.end&&Hg(e,o.end,"date"),n=c&&Hg(e,c,"date");return a&&r?t=` ${Ig[500][s]} text-white font-medium rounded-full`:a?t=` ${Ig[500][s]} text-white font-medium ${n&&!o.end?"rounded-full":"rounded-l-full"}`:r&&(t=` ${Ig[500][s]} text-white font-medium ${n&&!o.start?"rounded-full":"rounded-r-full"}`),{active:a||r,className:t}}),[c,o.end,o.start,s]),M=(0,t.useCallback)((e=>{let t=p(e);return o.start&&o.end&&Gg(e,o.start,o.end,"day",{start:!0,end:!1})?` ${Ig[100][s]} ${p(e)} dark:bg-white/10`:c?(o.start&&Gg(e,o.start,c,"day",{start:!0,end:!1})&&(t=` ${Ig[100][s]} ${p(e)} dark:bg-white/10`),o.end&&Gg(e,c,o.end,"day",{start:!0,end:!1})&&(t=` ${Ig[100][s]} ${p(e)} dark:bg-white/10`),Hg(c,e,"date")&&(t=` transition-all duration-500 text-white font-medium ${Ig[500][s]} ${o.start?"rounded-r-full":"rounded-l-full"}`),t):t}),[p,c,o.end,o.start,s]),h=(0,t.useCallback)((e=>!!d&&Bg(e,d,"date")),[d]),y=(0,t.useCallback)((e=>!!m&&Wg(e,m,"date")),[m]),N=(0,t.useCallback)((e=>{if(h(e)||y(e))return!0;if(!g||Array.isArray(g)&&!g.length)return!1;let t=0;return g?.forEach((a=>{a.startDate&&a.endDate&&Gg(e,a.startDate,a.endDate,"date",{start:!0,end:!0})&&t++})),t>0}),[h,y,g]),w=(0,t.useCallback)(((e,t)=>{const a="flex items-center justify-center w-12 h-12 lg:w-10 lg:h-10";return"current"===t?up(a,f(e).active?f(e).className:M(e),N(e)&&"line-through"):up(a,N(e)&&"line-through","text-gray-400")}),[f,M,N]),x=(0,t.useCallback)((e=>{if(!Array.isArray(g))return!1;for(let t=0;t<g.length;t++)if(Vg(e.start,g[t].startDate,"date")&&Zg(e.end,g[t].endDate,"date"))return!0;return!1}),[g]),b=(0,t.useCallback)((e=>{if(o.start&&!o.end){const t={...o,end:e};Bg(e,o.start,"date")&&(t.start=e,t.end=o.start,x(t)||l({start:null,end:o.start})),x(t)||u(e)}if(!o.start&&o.end){const t={...o,start:e};Wg(e,o.end,"date")&&(t.start=o.end,t.end=e,x(t)||l({start:o.end,end:null})),x(t)||u(e)}}),[u,l,x,o]),D=(0,t.useCallback)(((e,t)=>{function a(){"previous"===t&&r(e),"current"===t&&n(e),"next"===t&&i(e)}if(g?.length){const t=c&&Hg(e,c,"date");o.start&&!o.end&&t||!o.start&&o.end,a()}else a()}),[c,g?.length,n,i,r,o.end,o.start]);return hg.jsxs("div",{className:"grid grid-cols-7 gap-y-0.5 my-1",children:[a.previous.map(((e,t)=>hg.jsx("button",{type:"button",disabled:N(e),className:`${w(e,"previous")}`,onClick:()=>D(e,"previous"),onMouseOver:()=>{b(e)},children:e.getDate()},t))),a.current.map(((e,t)=>hg.jsx("button",{type:"button",disabled:N(e),className:`${w(e,"current")}`,onClick:()=>D(e,"current"),onMouseOver:()=>{b(e)},children:e.getDate()},t))),a.next.map(((e,t)=>hg.jsx("button",{type:"button",disabled:N(e),className:`${w(e,"next")}`,onClick:()=>D(e,"next"),onMouseOver:()=>{b(e)},children:e.getDate()},t)))]})},pp=e=>{const{currentMonth:a,clickMonth:r}=e,{i18n:n}=(0,t.useContext)(zg);return(0,t.useEffect)((()=>{Fg(n)}),[n]),hg.jsx("div",{className:"w-full grid grid-cols-2 gap-2 mt-2",children:_g.map((e=>hg.jsx(cp,{padding:"py-3",onClick:()=>{r(e)},active:a===e,children:Xg(new Date(2022,e-1,1),"MMM",n)},e)))})},fp=()=>{const{i18n:e,startWeekOn:a}=(0,t.useContext)(zg);(0,t.useEffect)((()=>{Fg(e)}),[e]);const r=(0,t.useMemo)((()=>{if(a)switch(a){case"mon":return 1;case"tue":return 2;case"wed":return 3;case"thu":return 4;case"fri":return 5;case"sat":return 6;default:return 0}return 0}),[a]);return hg.jsx("div",{className:"grid grid-cols-7 border-b border-gray-300 dark:border-gray-700 py-2",children:vg.map((t=>{return hg.jsx("div",{className:"tracking-wide text-gray-500 text-center",children:(a=mp(Xg(new Date(2022,10,6+t+r),"ddd",e)||""),`${(a[0]||"")?.toUpperCase()}${(a||"")?.slice(1,a.length)}`)},t);var a}))})},Mp=e=>{const{year:a,currentYear:r,minYear:n,maxYear:i,clickYear:s}=e,{dateLooking:o}=(0,t.useContext)(zg),l=(0,t.useMemo)((()=>{let e,t;switch(o){case"backward":e=a-11,t=a;break;case"middle":e=a-4,t=a+7;break;default:e=a,t=a+11}return{start:e,end:t}}),[o,a]);return hg.jsx("div",{className:"w-full grid grid-cols-2 gap-2 mt-2",children:dp(l.start,l.end).map(((e,t)=>hg.jsx(cp,{padding:"py-3",onClick:()=>{s(e)},active:r===e,disabled:null!==i&&e>i||null!==n&&e<n,children:hg.jsx(hg.Fragment,{children:e})},t)))})},hp=e=>{const{date:a,minDate:r,maxDate:n,onClickPrevious:i,onClickNext:s,changeMonth:o,changeYear:l}=e,{period:c,changePeriod:u,changeDayHover:d,showFooter:m,changeDatepickerValue:g,hideDatepicker:p,asSingle:f,i18n:M,startWeekOn:h,input:y}=(0,t.useContext)(zg);Fg(M);const[N,w]=(0,t.useState)(!1),[x,b]=(0,t.useState)(!1),[D,j]=(0,t.useState)(a.getFullYear()),v=(0,t.useCallback)((()=>{N&&w(!1)}),[N]),_=(0,t.useCallback)((()=>{x&&b(!1)}),[x]),I=(0,t.useCallback)((e=>{setTimeout((()=>{o(e),w(!N)}),250)}),[o,N]),E=(0,t.useCallback)((e=>{setTimeout((()=>{l(e),b(!x)}),250)}),[l,x]),L=(0,t.useCallback)(((e,t)=>{let a,r=null;function n(e,t){const a=y?.current;g({startDate:e,endDate:t},a),p()}if(c.start&&c.end&&(d(null),u({start:null,end:null})),!c.start&&!c.end||c.start&&c.end)c.start||c.end||d(e),a=e,f&&(r=e,m||n(e,e));else{if(c.start&&!c.end){const t=Zg(e,c.start,"date");a=t?c.start:e,r=t?e:c.start}else{const t=Vg(e,c.end,"date");a=t?e:c.start,r=t?c.end:e}m||a&&r&&n(a,r)}r&&a&&!m||u({start:a,end:r}),t&&setTimeout((()=>{t()}),50)}),[f,g,d,u,p,c.end,c.start,m,y]),T=(0,t.useCallback)((e=>{L(e,(()=>{i()}))}),[L,i]),A=(0,t.useCallback)((e=>{L(e,(()=>{s()}))}),[L,s]);(0,t.useEffect)((()=>{j(a.getFullYear())}),[a]);const z=(0,t.useMemo)((()=>{const e=tp(a),t=ap(a),r=function(e){switch(e){case"mon":default:return 0;case"tue":return 1;case"wed":return 2;case"thu":return 3;case"fri":return 4;case"sat":return 5;case"sun":return 6}}(h||Dg),n=function(e,t=0){if(!Rg(e))return[];const a=[];let r=1,n=np(e,-r,"day");for(;rp(n)!==t;)a.push(n),r++,n=np(e,-r,"day");return a.sort(((e,t)=>Wg(e,t,"date")?1:-1))}(e,r),i=function(e){if(!Rg(e||new Date))return[];const t=function(e){return mg()(e||mg()()).daysInMonth()||0}(e),a=[];for(let r=1;r<=t;r++)a.push(mg()(e).date(r).toDate());return a}(a),s=function(e,t=0){if(!Rg(e))return[];const a=[];let r=1,n=np(e,r,"day");for(;rp(n)!==t;)a.push(n),r++,n=np(e,r,"day");return a}(t,r),o=42-(n.length+i.length+s.length);if(o>0){const e=s[s.length-1]||i[i.length-1];s.push(...function(e,t){if(!Rg(e))return[];const a=[];for(let r=1;r<=t;r++)a.push(np(e,r,"day"));return a}(e,o))}return{previous:n,current:i,next:s}}),[a,h]),k=(0,t.useMemo)((()=>({min:r&&Rg(r)?r.getFullYear():null,max:n&&Rg(n)?n.getFullYear():null})),[n,r]);return hg.jsxs("div",{className:"w-full md:w-[296px] md:min-w-[296px]",children:[hg.jsxs("div",{className:"flex items-center space-x-1.5 border border-gray-300 dark:border-gray-700 rounded-md px-2 py-1.5",children:[!N&&!x&&hg.jsx("div",{className:"flex-none",children:hg.jsx(cp,{roundedFull:!0,onClick:i,children:hg.jsx(ip,{className:"h-5 w-5"})})}),x&&hg.jsx("div",{className:"flex-none",children:hg.jsx(cp,{roundedFull:!0,onClick:()=>{j(D-12)},children:hg.jsx(op,{className:"h-5 w-5"})})}),hg.jsxs("div",{className:"flex flex-1 items-center space-x-1.5",children:[hg.jsx("div",{className:"w-1/2",children:hg.jsx(cp,{onClick:()=>{w(!N),_()},children:Xg(a,"MMM",M)})}),hg.jsx("div",{className:"w-1/2",children:hg.jsx(cp,{onClick:()=>{b(!x),v()},children:hg.jsx(hg.Fragment,{children:a.getFullYear()})})})]}),x&&hg.jsx("div",{className:"flex-none",children:hg.jsx(cp,{roundedFull:!0,onClick:()=>{j(D+12)},children:hg.jsx(lp,{className:"h-5 w-5"})})}),!N&&!x&&hg.jsx("div",{className:"flex-none",children:hg.jsx(cp,{roundedFull:!0,onClick:s,children:hg.jsx(sp,{className:"h-5 w-5"})})})]}),hg.jsxs("div",{className:"px-0.5 sm:px-2 mt-0.5 min-h-[285px]",children:[N&&hg.jsx(pp,{currentMonth:a.getMonth()+1,clickMonth:I}),x&&hg.jsx(Mp,{year:D,minYear:k.min,maxYear:k.max,currentYear:a.getFullYear(),clickYear:E}),!N&&!x&&hg.jsxs(hg.Fragment,{children:[hg.jsx(fp,{}),hg.jsx(gp,{days:z,onClickPreviousDays:T,onClickDay:L,onClickNextDays:A})]})]})]})},yp=e=>{const{children:a,onClick:r,disabled:n=!1}=e,{primaryColor:i}=(0,t.useContext)(zg),s=Ig[500][i],o=Lg[500][i],l=Ig.hover[i],c=Tg.focus[i],u=(0,t.useCallback)((()=>`w-full transition-all duration-300 ${s} ${o} text-white font-medium border px-4 py-2 text-sm rounded-md focus:ring-2 focus:ring-offset-2 ${l} ${c} ${n?" cursor-no-drop":""}`),[s,l,o,n,c]);return hg.jsx("button",{type:"button",className:u(),onClick:r,disabled:n,children:a})},Np=e=>{const{children:a,onClick:r,disabled:n=!1}=e,{primaryColor:i}=(0,t.useContext)(zg),s=(0,t.useCallback)((()=>`w-full transition-all duration-300 bg-white dark:text-gray-700 font-medium border border-gray-300 px-4 py-2 text-sm rounded-md focus:ring-2 focus:ring-offset-2 hover:bg-gray-50 ${Tg.focus[i]}`),[i]);return hg.jsx("button",{type:"button",className:s(),onClick:r,disabled:n,children:a})},xp=()=>{const{hideDatepicker:e,period:a,changeDatepickerValue:r,configs:n,classNames:i}=(0,t.useContext)(zg),s=(0,t.useCallback)((()=>void 0!==i&&"function"==typeof i?.footer?i.footer():"flex items-center justify-end pb-2.5 pt-3 border-t border-gray-300 dark:border-gray-700"),[i]);return hg.jsx("div",{className:s(),children:hg.jsxs("div",{className:"w-full md:w-auto flex items-center justify-center space-x-3",children:[hg.jsx(Np,{onClick:()=>{e()},children:hg.jsx(hg.Fragment,{children:n?.footer?.cancel?n.footer.cancel:"Cancel"})}),hg.jsx(yp,{onClick:()=>{a.start&&a.end&&(r({startDate:a.start,endDate:a.end}),e())},disabled:!(a.start&&a.end),children:hg.jsx(hg.Fragment,{children:n?.footer?.apply?n.footer.apply:"Apply"})})]})})},bp=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})},Dp=e=>{const{className:t="w-6 h-6"}=e;return hg.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:hg.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"})})},jp=e=>e.isEmpty?hg.jsx(Dp,{className:"h-5 w-5"}):hg.jsx(bp,{className:"h-5 w-5"}),vp=e=>{const{primaryColor:a,period:r,dayHover:n,changeDayHover:i,calendarContainer:s,arrowContainer:o,inputText:l,changeInputText:c,hideDatepicker:u,changeDatepickerValue:d,asSingle:m,placeholder:g,separator:p,disabled:f,inputClassName:M,toggleClassName:h,toggleIcon:y,readOnly:N,displayFormat:w,inputId:x,inputName:b,classNames:D,popoverDirection:j,required:v}=(0,t.useContext)(zg),_=(0,t.useRef)(null),I=(0,t.useRef)(null),E=(0,t.useCallback)((()=>{const e=I.current;if(e&&void 0!==D&&"function"==typeof D?.input)return D.input(e);const t=`relative transition-all duration-300 py-2.5 pl-4 pr-14 w-full border-gray-300 dark:bg-slate-800 dark:text-white/80 dark:border-slate-600 rounded-lg tracking-wide font-light text-sm placeholder-gray-400 bg-white focus:ring disabled:opacity-40 disabled:cursor-not-allowed ${Lg.focus[a]} ${Tg["second-focus"][a]}`;return"function"==typeof M?M(t):"string"==typeof M&&""!==M?M:t}),[I,D,a,M]),L=(0,t.useCallback)((e=>{const t=e.target.value,a=[];if(m){const e=Jg(t);e&&a.push(e)}else{const e=t.split(p);let r,n;if(2===e.length)Jg(e[0]),r=Jg(e[0]),n=Jg(e[1]);else{const e=Math.floor(t.length/2);r=Jg(t.slice(0,e)),n=Jg(t.slice(e))}r&&n&&Bg(r,n,"date")&&(a.push(r),a.push(n))}a[0]&&(d({startDate:a[0],endDate:a[1]||a[0]},e.target),a[1]?i(np(a[1],-1,"day")):i(a[0])),c(e.target.value)}),[m,p,d,i,c]),T=(0,t.useCallback)((e=>{if("Enter"===e.key){const e=I.current;e&&e.blur(),u()}}),[u]),A=(0,t.useCallback)((e=>void 0===y?hg.jsx(jp,{isEmpty:e}):y(e)),[y]),z=(0,t.useCallback)((()=>{const e=_.current;if(e&&void 0!==D&&"function"==typeof D?.toggleButton)return D.toggleButton(e);const t="absolute right-0 h-full px-3 text-gray-400 focus:outline-none disabled:opacity-40 disabled:cursor-not-allowed";return"function"==typeof h?h(t):"string"==typeof h&&""!==h?h:t}),[h,_,D]);return(0,t.useEffect)((()=>{I&&e.setContextRef&&"function"==typeof e.setContextRef&&e.setContextRef(I)}),[e,I]),(0,t.useEffect)((()=>{const e=_?.current;function t(e){e.stopPropagation();const t=I.current;t&&(t.focus(),l&&(c(""),n&&i(null),r.start&&r.end&&d({startDate:null,endDate:null},t)))}return e&&e.addEventListener("click",t),()=>{e&&e.removeEventListener("click",t)}}),[d,i,c,n,l,r.end,r.start,I]),(0,t.useEffect)((()=>{const e=s?.current,t=I.current,a=o?.current;function r(){if(a&&e&&e.classList.contains("hidden")){e.classList.remove("hidden"),e.classList.add("block");const t="down"===j;("up"==j||window.innerWidth>767&&window.screen.height-100<e.getBoundingClientRect().bottom&&!t)&&(e.classList.add("bottom-full"),e.classList.add("mb-2.5"),e.classList.remove("mt-2.5"),a.classList.add("-bottom-2"),a.classList.add("border-r"),a.classList.add("border-b"),a.classList.remove("border-l"),a.classList.remove("border-t")),setTimeout((()=>{e.classList.remove("translate-y-4"),e.classList.remove("opacity-0"),e.classList.add("translate-y-0"),e.classList.add("opacity-1")}),1)}}return e&&t&&t.addEventListener("focus",r),()=>{t&&t.removeEventListener("focus",r)}}),[s,o,j]),hg.jsxs(hg.Fragment,{children:[hg.jsx("input",{ref:I,type:"text",className:E(),disabled:f,readOnly:N,required:v,placeholder:g||`${w}${m?"":` ${p} ${w}`}`,value:l,id:x,name:b,autoComplete:"off",role:"presentation",onChange:L,onKeyDown:T}),hg.jsx("button",{type:"button",ref:_,disabled:f,className:z(),children:A(null==l||!l?.length)})]})},_p=new Date,Ip={today:{text:"Today",period:{start:_p,end:_p}},yesterday:{text:"Yesterday",period:{start:np(_p,-1,"day"),end:np(_p,-1,"day")}},past:[{daysNumber:7,text:"Last 7 days",period:{start:np(_p,-7,"day"),end:_p}},{daysNumber:30,text:"Last 30 days",period:{start:np(_p,-30,"day"),end:_p}}],currentMonth:{text:"This month",period:{start:tp(_p),end:ap(_p)}},pastMonth:{text:"Last month",period:{start:tp(qg(_p)),end:ap(qg(_p))}}},Ep=(0,t.memo)((e=>{const{primaryColor:a,period:r,changePeriod:n,updateFirstDate:i,dayHover:s,changeDayHover:o,hideDatepicker:l,changeDatepickerValue:c}=(0,t.useContext)(zg),u=(0,t.useCallback)((()=>`whitespace-nowrap w-1/2 md:w-1/3 lg:w-auto transition-all duration-300 hover:bg-gray-100 dark:hover:bg-white/10 p-2 rounded cursor-pointer ${Eg[600][a]} ${Eg.hover[a]}`),[a]),d=(0,t.useCallback)((e=>{s&&o(null),(r.start||r.end)&&n({start:null,end:null}),n(e),c({startDate:e.start,endDate:e.end}),e.start&&i(e.start),l()}),[c,o,n,s,l,r.end,r.start,i]),m=e?.children;return hg.jsx("li",{className:u(),onClick:()=>{d(e?.item.period)},children:m})}));Ep.displayName="ItemTemplate";const Lp=()=>{const{configs:e}=(0,t.useContext)(zg),a=(0,t.useCallback)(((e,t)=>"function"==typeof e?e(t):null),[]),r=(0,t.useMemo)((()=>e?.shortcuts?Object.entries(e.shortcuts).flatMap((([e,t])=>{if(Object.prototype.hasOwnProperty.call(Ip,e))return[[e,Ip[e]]];const{text:a,period:r}=t;if(!a||!r)return[];const{start:n,end:i}=r;return Vg(n,i,"date")?[[a,{text:a,period:{start:n,end:i}}]]:[]})):Object.entries(Ip)),[e]),n=(0,t.useCallback)((e=>e?.text??null),[]);return r?.length?hg.jsx("div",{className:"md:border-b mb-3 lg:mb-0 lg:border-r lg:border-b-0 border-gray-300 dark:border-gray-700 pr-1",children:hg.jsx("ul",{className:"w-full tracking-wide flex flex-wrap lg:flex-col pb-1 lg:pb-0",children:r.map((([t,r],i)=>Array.isArray(r)?r.map(((r,n)=>hg.jsx(Ep,{item:r,children:hg.jsx(hg.Fragment,{children:"past"===t&&e?.shortcuts&&t in e.shortcuts&&r.daysNumber?a(e.shortcuts[t],r.daysNumber):r.text})},n))):hg.jsx(Ep,{item:r,children:hg.jsx(hg.Fragment,{children:e?.shortcuts&&t in e.shortcuts?"object"==typeof e.shortcuts[t]?n(r):e.shortcuts[t]:n(r)})},i)))})}):null},Tp=(0,t.forwardRef)(((e,t)=>hg.jsx("div",{...e,ref:t,className:"absolute z-20 h-4 w-4 rotate-45 mt-0.5 ml-[1.2rem] border-l border-t border-gray-300 bg-white dark:bg-slate-800 dark:border-slate-600"})));Tp.displayName="Arrow";const Ap=()=>{const{primaryColor:e}=(0,t.useContext)(zg),a=Ig[500][e];return hg.jsx("div",{className:`h-7 w-1 rounded-full hidden md:block ${a||"bg-blue-500"}`})},zp=e=>{const{asSingle:a=!1,classNames:r,configs:n,containerClassName:i=null,dateLooking:s=jg,disabledDates:o=null,disabled:l=!1,displayFormat:c=bg,i18n:u=xg,inputClassName:d=null,inputId:m,inputName:g,minDate:p,maxDate:f,onChange:M,placeholder:h=null,popupClassName:y=null,popoverDirection:N,primaryColor:w=Ng,separator:x=wg,showFooter:b=!1,showShortcuts:D=!1,startFrom:j=null,startWeekOn:v=Dg,readOnly:_=!1,required:I=!1,toggleClassName:E=null,toggleIcon:L,useRange:T=!0,value:A=null}=e,z=(0,t.useRef)(null),k=(0,t.useRef)(null),S=(0,t.useRef)(null),[O,C]=(0,t.useState)(j&&Rg(j)?j:new Date),[Y,U]=(0,t.useState)($g(O)),[Q,P]=(0,t.useState)({start:null,end:null}),[F,R]=(0,t.useState)(null),[H,B]=(0,t.useState)(""),[W,V]=(0,t.useState)((0,t.createRef)());var Z,G;Z=z,G=()=>{z.current&&X()},(0,t.useEffect)((()=>{const e=e=>{Z.current&&!Z.current.contains(e.target)&&G()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[Z,G]);const X=(0,t.useCallback)((()=>{const e=k.current,t=S.current;t&&e&&e.classList.contains("block")&&(e.classList.remove("block"),e.classList.remove("translate-y-0"),e.classList.remove("opacity-1"),e.classList.add("translate-y-4"),e.classList.add("opacity-0"),setTimeout((()=>{e.classList.remove("bottom-full"),e.classList.add("hidden"),e.classList.add("mb-2.5"),e.classList.add("mt-2.5"),t.classList.remove("-bottom-2"),t.classList.remove("border-r"),t.classList.remove("border-b"),t.classList.add("border-l"),t.classList.add("border-t")}),300))}),[]),J=(0,t.useCallback)((e=>{Zg(e,Y,"date")&&U($g(e)),C(e)}),[Y]),q=(0,t.useCallback)((()=>{C(qg(O))}),[O]),$=(0,t.useCallback)((()=>{J($g(O))}),[O,J]),K=(0,t.useCallback)((e=>{J(Kg(O,e-1))}),[O,J]),ee=(0,t.useCallback)((e=>{J(ep(O,e))}),[O,J]),te=(0,t.useCallback)((e=>{Vg(e,O,"date"),Vg(e,O,"date")&&C(qg(e)),U(e)}),[O]),ae=(0,t.useCallback)((()=>{te(qg(Y))}),[Y,te]),re=(0,t.useCallback)((()=>{U($g(Y))}),[Y]),ne=(0,t.useCallback)((e=>{te(Kg(Y,e-1))}),[Y,te]),ie=(0,t.useCallback)((e=>{te(ep(Y,e))}),[Y,te]);(0,t.useEffect)((()=>{const e=z.current,t=k.current,a=S.current;if(e&&t&&a){const r=e.getBoundingClientRect(),n=window.innerWidth/2;(r.right-r.x)/2+r.x>n&&(a.classList.add("right-0"),a.classList.add("mr-3.5"),t.classList.add("right-0"))}}),[]),(0,t.useEffect)((()=>{A&&A.startDate&&A.endDate&&Vg(A.startDate,A.endDate,"date")&&(P({start:A.startDate,end:A.endDate}),B(`${Xg(A.startDate,c,u)}${a?"":` ${x} ${Xg(A.endDate,c,u)}`}`)),A&&null===A.startDate&&null===A.endDate&&(P({start:null,end:null}),B(""))}),[a,A,c,x,u]),(0,t.useEffect)((()=>{if(j&&Rg(j)){const e=A?.startDate,t=A?.endDate;e&&Rg(e)?(C(e),a||(t&&Rg(t)&&Wg(tp(t),e,"date")?U(t):U($g(e)))):(C(j),U($g(j)))}}),[a,j,A]);const se=(0,t.useMemo)((()=>yg.includes(w)?w:Ng),[w]),oe=(0,t.useMemo)((()=>(p&&!Rg(p)&&console.error(`minDate (${p}) is invalid date`),f&&!Rg(f)&&console.error(`minDate (${f}) is invalid date`),u&&0!==u.length||console.error(`i18n (${u}) is invalid`),{arrowContainer:S,asSingle:a,calendarContainer:k,changeDatepickerValue:M,changeDayHover:e=>R(e),changeInputText:e=>B(e),changePeriod:e=>P(e),classNames:r,configs:n,containerClassName:i,dateLooking:s,dayHover:F,disabled:l,disabledDates:o,displayFormat:c,hideDatepicker:X,i18n:u&&u.length>0?u:xg,input:W,inputClassName:d,inputId:m,inputName:g,inputText:H,maxDate:f,minDate:p,onChange:M,period:Q,placeholder:h,popoverDirection:N,primaryColor:se,readOnly:_,required:I,separator:x,showFooter:b,startWeekOn:v||Dg,toggleClassName:E,toggleIcon:L,updateFirstDate:e=>J(e),value:A})),[a,se,n,X,Q,F,H,M,b,h,x,u,A,l,d,i,E,L,_,c,p,f,s,o,m,g,v,r,W,N,I,J]),le=(0,t.useMemo)((()=>{const e="relative w-full text-gray-700";return"function"==typeof i?i(e):"string"==typeof i&&""!==i?i:e}),[i]),ce=(0,t.useMemo)((()=>{const e="transition-all ease-out duration-300 absolute z-10 mt-[1px] text-sm lg:text-xs 2xl:text-sm translate-y-4 opacity-0 hidden";return"function"==typeof y?y(e):"string"==typeof y&&""!==y?y:e}),[y]);return hg.jsx(zg.Provider,{value:oe,children:hg.jsxs("div",{className:le,ref:z,children:[hg.jsx(vp,{setContextRef:V}),hg.jsxs("div",{className:ce,ref:k,children:[hg.jsx(Tp,{ref:S}),hg.jsxs("div",{className:"mt-2.5 shadow-sm border border-gray-300 px-1 py-0.5 bg-white dark:bg-slate-800 dark:text-white dark:border-slate-600 rounded-lg",children:[hg.jsxs("div",{className:"flex flex-col lg:flex-row py-2",children:[D&&hg.jsx(Lp,{}),hg.jsxs("div",{className:`flex items-stretch flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-1.5 ${D?"md:pl-2":"md:pl-1"} pr-2 lg:pr-1`,children:[hg.jsx(hp,{date:O,onClickPrevious:q,onClickNext:$,changeMonth:K,changeYear:ee,minDate:p,maxDate:f}),T&&hg.jsxs(hg.Fragment,{children:[hg.jsx("div",{className:"flex items-center",children:hg.jsx(Ap,{})}),hg.jsx(hp,{date:Y,onClickPrevious:ae,onClickNext:re,changeMonth:ne,changeYear:ie,minDate:p,maxDate:f})]})]})]}),b&&hg.jsx(xp,{})]})]})]})})};!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};t.default.locale(a,null,!0)}(mg());var kp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};t.default.locale(a,null,!0)}(mg());var Sp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Op=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Cp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Yp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},meridiem:function(e){return e>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};t.default.locale(a,null,!0)}(mg());var Up=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Qp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Pp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};t.default.locale(a,null,!0)}(mg());var Fp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),r={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:a,monthsShort:a,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return r[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};t.default.locale(i,null,!0)}(mg());var Rp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(e){return e}};t.default.locale(a,null,!0)}(mg());var Hp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var t=e%100;if(t>10&&t<20)return e+"-ти";var a=e%10;return 1===a?e+"-ви":2===a?e+"-ри":7===a||8===a?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};t.default.locale(a,null,!0)}(mg());var Bp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};t.default.locale(a,null,!0)}(mg());var Wp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};t.default.locale(a,null,!0)}(mg());var Vp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};t.default.locale(n,null,!0)}(mg());var Zp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};t.default.locale(n,null,!0)}(mg());var Gp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};t.default.locale(a,null,!0)}(mg());var Xp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e){return e>9?a(e%10):e}function r(e,t,a){return e+" "+function(e,t){return 2===t?function(e){return{m:"v",b:"v",d:"z"}[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}var n={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:r,h:"un eur",hh:"%d eur",d:"un devezh",dd:r,M:"ur miz",MM:r,y:"ur bloaz",yy:function(e){switch(a(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};t.default.locale(n,null,!0)}(mg());var Jp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};t.default.locale(a,null,!0)}(mg());var qp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(a(e)?"roky":"let"):i+"lety"}}var n={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var $p=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};t.default.locale(a,null,!0)}(mg());var Kp=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};t.default.locale(a,null,!0)}(mg());var ef=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};t.default.locale(a,null,!0)}(mg());var tf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,r){var n=a[r];return Array.isArray(n)&&(n=n[t?0:1]),n.replace("%d",e)}var n={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var af=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,r){var n=a[r];return Array.isArray(n)&&(n=n[t?0:1]),n.replace("%d",e)}var n={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var rf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,r){var n=a[r];return Array.isArray(n)&&(n=n[t?0:1]),n.replace("%d",e)}var n={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var nf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};t.default.locale(a,null,!0)}(mg());var sf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};t.default.locale(a,null,!0)}(mg());var of=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};t.default.locale(a,null,!0)}(mg());var lf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};t.default.locale(a,null,!0)}(mg());var cf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};t.default.locale(a,null,!0)}(mg());var uf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};t.default.locale(a,null,!0)}(mg());var df=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};t.default.locale(a,null,!0)}(mg());var mf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};t.default.locale(a,null,!0)}(mg());var gf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};t.default.locale(a,null,!0)}(mg());var pf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};t.default.locale(a,null,!0)}(mg());var ff=Object.freeze({__proto__:null});"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),"January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Mf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};t.default.locale(a,null,!0)}(mg());var hf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};t.default.locale(a,null,!0)}(mg());var yf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};t.default.locale(a,null,!0)}(mg());var Nf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};t.default.locale(a,null,!0)}(mg());var wf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};t.default.locale(a,null,!0)}(mg());var xf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};t.default.locale(a,null,!0)}(mg());var bf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e,t,a,r){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return t?(n[a][2]?n[a][2]:n[a][1]).replace("%d",e):(r?n[a][0]:n[a][1]).replace("%d",e)}var r={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};t.default.locale(r,null,!0)}(mg());var Df=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};t.default.locale(a,null,!0)}(mg());var jf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};t.default.locale(a,null,!0)}(mg());var vf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e,t,a,r){var n={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},i={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=r&&!t?i:n,o=s[a];return e<10?o.replace("%d",s.numbers[e]):o.replace("%d",e)}var r={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};t.default.locale(r,null,!0)}(mg());var _f=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"fo",weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"}};t.default.locale(a,null,!0)}(mg());var If=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};t.default.locale(a,null,!0)}(mg());var Ef=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};t.default.locale(a,null,!0)}(mg());var Lf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};t.default.locale(a,null,!0)}(mg());var Tf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ga",weekdays:"Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn".split("_"),months:"Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_Mái_Céa_Déa_hAo_Sat".split("_"),monthsShort:"Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_Má_Ce_Dé_hA_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"}};t.default.locale(a,null,!0)}(mg());var Af=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"gd",weekdays:"Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh".split("_"),weekdaysMin:"Dò_Lu_Mà_Ci_Ar_Ha_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"}};t.default.locale(a,null,!0)}(mg());var zf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"gl",weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};t.default.locale(a,null,!0)}(mg());var kf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};t.default.locale(a,null,!0)}(mg());var Sf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};t.default.locale(a,null,!0)}(mg());var Of=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function r(e,t,r){return(a[r+(2===e?"2":"")]||a[r]).replace("%d",e)}var n={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},ordinal:function(e){return e},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};t.default.locale(n,null,!0)}(mg());var Cf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};t.default.locale(a,null,!0)}(mg());var Yf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),r="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),n=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,i=function(e,t){return n.test(t)?a[e.month()]:r[e.month()]};i.s=r,i.f=a;var s={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:i,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};t.default.locale(s,null,!0)}(mg());var Uf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ht",weekdays:"dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._mèk._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_mè_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"kèk segond",m:"yon minit",mm:"%d minit",h:"inèdtan",hh:"%d zè",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};t.default.locale(a,null,!0)}(mg());var Qf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(e,t,a,r){return"néhány másodperc"+(r||t?"":"e")},m:function(e,t,a,r){return"egy perc"+(r||t?"":"e")},mm:function(e,t,a,r){return e+" perc"+(r||t?"":"e")},h:function(e,t,a,r){return"egy "+(r||t?"óra":"órája")},hh:function(e,t,a,r){return e+" "+(r||t?"óra":"órája")},d:function(e,t,a,r){return"egy "+(r||t?"nap":"napja")},dd:function(e,t,a,r){return e+" "+(r||t?"nap":"napja")},M:function(e,t,a,r){return"egy "+(r||t?"hónap":"hónapja")},MM:function(e,t,a,r){return e+" "+(r||t?"hónap":"hónapja")},y:function(e,t,a,r){return"egy "+(r||t?"év":"éve")},yy:function(e,t,a,r){return e+" "+(r||t?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};t.default.locale(a,null,!0)}(mg());var Pf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};t.default.locale(a,null,!0)}(mg());var Ff=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};t.default.locale(a,null,!0)}(mg());var Rf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={s:["nokkrar sekúndur","nokkrar sekúndur","nokkrum sekúndum"],m:["mínúta","mínútu","mínútu"],mm:["mínútur","mínútur","mínútum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","dögum"],M:["mánuður","mánuð","mánuði"],MM:["mánuðir","mánuði","mánuðum"],y:["ár","ár","ári"],yy:["ár","ár","árum"]};function r(e,t,r,n){var i=function(e,t,r,n){var i=n?0:r?1:2,s=2===e.length&&t%10==1?e[0]:e,o=a[s][i];return 1===e.length?o:"%d "+o}(r,e,n,t);return i.replace("%d",e)}var n={name:"is",weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var Hf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};t.default.locale(a,null,!0)}(mg());var Bf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};t.default.locale(a,null,!0)}(mg());var Wf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};t.default.locale(a,null,!0)}(mg());var Vf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};t.default.locale(a,null,!0)}(mg());var Zf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(e){return e}};t.default.locale(a,null,!0)}(mg());var Gf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};t.default.locale(a,null,!0)}(mg());var Xf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};t.default.locale(a,null,!0)}(mg());var Jf=Object.freeze({__proto__:null});!function(e,t){var a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(t),r={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],s={name:"ku",months:i,monthsShort:i,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return r[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};a.default.locale(s,null,!0),e.default=s,e.englishToArabicNumbersMap=r,Object.defineProperty(e,"__esModule",{value:!0})}({},mg());var qf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};t.default.locale(a,null,!0)}(mg());var $f=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"lb",weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};t.default.locale(a,null,!0)}(mg());var Kf=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};t.default.locale(a,null,!0)}(mg());var eM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),r="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),n=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,i=function(e,t){return n.test(t)?a[e.month()]:r[e.month()]};i.s=r,i.f=a;var s={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:i,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};t.default.locale(s,null,!0)}(mg());var tM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};t.default.locale(a,null,!0)}(mg());var aM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};t.default.locale(a,null,!0)}(mg());var rM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};t.default.locale(a,null,!0)}(mg());var nM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};t.default.locale(a,null,!0)}(mg());var iM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};t.default.locale(a,null,!0)}(mg());var sM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};t.default.locale(a,null,!0)}(mg());var oM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};t.default.locale(a,null,!0)}(mg());var lM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};t.default.locale(a,null,!0)}(mg());var cM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};t.default.locale(a,null,!0)}(mg());var uM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};t.default.locale(a,null,!0)}(mg());var dM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};t.default.locale(a,null,!0)}(mg());var mM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,(function(e){return"०१२३४५६७८९"[e]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};t.default.locale(a,null,!0)}(mg());var gM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};t.default.locale(a,null,!0)}(mg());var pM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};t.default.locale(a,null,!0)}(mg());var fM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};t.default.locale(a,null,!0)}(mg());var MM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),monthsShort:"gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"º"}};t.default.locale(a,null,!0)}(mg());var hM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};t.default.locale(a,null,!0)}(mg());var yM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,r){var n=e+" ";switch(r){case"m":return t?"minuta":"minutę";case"mm":return n+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(a(e)?"godziny":"godzin");case"MM":return n+(a(e)?"miesiące":"miesięcy");case"yy":return n+(a(e)?"lata":"lat")}}var n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),i="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s=/D MMMM/,o=function(e,t){return s.test(t)?n[e.month()]:i[e.month()]};o.s=i,o.f=n;var l={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:o,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};t.default.locale(l,null,!0)}(mg());var NM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};t.default.locale(a,null,!0)}(mg());var wM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};t.default.locale(a,null,!0)}(mg());var xM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};t.default.locale(a,null,!0)}(mg());var bM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};t.default.locale(a,null,!0)}(mg());var DM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),n="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),i="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(e,t,a){var r,n;return"m"===a?t?"минута":"минуту":e+" "+(r=+e,n={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a].split("_"),r%10==1&&r%100!=11?n[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?n[1]:n[2])}var l=function(e,t){return s.test(t)?a[e.month()]:r[e.month()]};l.s=r,l.f=a;var c=function(e,t){return s.test(t)?n[e.month()]:i[e.month()]};c.s=i,c.f=n;var u={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:l,monthsShort:c,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};t.default.locale(u,null,!0)}(mg());var jM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){return e}};t.default.locale(a,null,!0)}(mg());var vM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};t.default.locale(a,null,!0)}(mg());var _M=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"se",weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"}};t.default.locale(a,null,!0)}(mg());var IM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(e){return e},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};t.default.locale(a,null,!0)}(mg());var EM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":n?"minútu":"minútou";case"mm":return t||n?i+(a(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(a(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||n?"deň":"dňom";case"dd":return t||n?i+(a(e)?"dni":"dní"):i+"dňami";case"M":return t||n?"mesiac":"mesiacom";case"MM":return t||n?i+(a(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||n?"rok":"rokom";case"yy":return t||n?i+(a(e)?"roky":"rokov"):i+"rokmi"}}var n={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};t.default.locale(n,null,!0)}(mg());var LM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function a(e){return e%100==2}function r(e){return e%100==3||e%100==4}function n(e,t,n,i){var s=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return a(e)?s+(t||i?"minuti":"minutama"):r(e)?s+(t||i?"minute":"minutami"):s+(t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return a(e)?s+(t||i?"uri":"urama"):r(e)?s+(t||i?"ure":"urami"):s+(t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return a(e)?s+(t||i?"dneva":"dnevoma"):s+(t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return a(e)?s+(t||i?"meseca":"mesecema"):r(e)?s+(t||i?"mesece":"meseci"):s+(t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return a(e)?s+(t||i?"leti":"letoma"):r(e)?s+(t||i?"leta":"leti"):s+(t||i?"let":"leti")}}var i={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};t.default.locale(i,null,!0)}(mg());var TM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"sq",weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"}};t.default.locale(a,null,!0)}(mg());var AM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,n){var i=a.words[r];if(1===r.length)return"y"===r&&t?"jedna godina":n||t?i[0]:i[1];var s=a.correctGrammarCase(e,i);return"yy"===r&&t&&"%d godinu"===s?e+" godina":s.replace("%d",e)}},r={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};t.default.locale(r,null,!0)}(mg());var zM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,n){var i=a.words[r];if(1===r.length)return"y"===r&&t?"једна година":n||t?i[0]:i[1];var s=a.correctGrammarCase(e,i);return"yy"===r&&t&&"%d годину"===s?e+" година":s.replace("%d",e)}},r={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};t.default.locale(r,null,!0)}(mg());var kM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};t.default.locale(a,null,!0)}(mg());var SM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"sv-fi",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};t.default.locale(a,null,!0)}(mg());var OM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};t.default.locale(a,null,!0)}(mg());var CM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};t.default.locale(a,null,!0)}(mg());var YM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};t.default.locale(a,null,!0)}(mg());var UM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};t.default.locale(a,null,!0)}(mg());var QM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};t.default.locale(a,null,!0)}(mg());var PM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(e){return e+"."}};t.default.locale(a,null,!0)}(mg());var FM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tk",weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e){return e+"."}};t.default.locale(a,null,!0)}(mg());var RM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};t.default.locale(a,null,!0)}(mg());var HM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};t.default.locale(a,null,!0)}(mg());var BM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};t.default.locale(a,null,!0)}(mg());var WM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tzl",weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};t.default.locale(a,null,!0)}(mg());var VM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};t.default.locale(a,null,!0)}(mg());var ZM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};t.default.locale(a,null,!0)}(mg());var GM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};t.default.locale(a,null,!0)}(mg());var XM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),n=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function i(e,t,a){var r,n;return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(r=+e,n={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a].split("_"),r%10==1&&r%100!=11?n[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?n[1]:n[2])}var s=function(e,t){return n.test(t)?a[e.month()]:r[e.month()]};s.s=r,s.f=a;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:i,mm:i,h:i,hh:i,d:"день",dd:i,M:"місяць",MM:i,y:"рік",yy:i},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};t.default.locale(o,null,!0)}(mg());var JM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};t.default.locale(a,null,!0)}(mg());var qM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};t.default.locale(a,null,!0)}(mg());var $M=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};t.default.locale(a,null,!0)}(mg());var KM=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};t.default.locale(a,null,!0)}(mg());var eh=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"x-pseudo",weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),weekStart:1,weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"}};t.default.locale(a,null,!0)}(mg());var th=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};t.default.locale(a,null,!0)}(mg());var ah=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1100?"上午":a<1300?"中午":a<1800?"下午":"晚上"}};t.default.locale(a,null,!0)}(mg());var rh=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(e,t){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1100?"上午":a<1300?"中午":a<1800?"下午":"晚上"}};t.default.locale(a,null,!0)}(mg());var nh=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1100?"上午":a<1300?"中午":a<1800?"下午":"晚上"}};t.default.locale(a,null,!0)}(mg());var ih=Object.freeze({__proto__:null});!function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),a={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1100?"上午":a<1300?"中午":a<1800?"下午":"晚上"}};t.default.locale(a,null,!0)}(mg());var sh=Object.freeze({__proto__:null});const oh=function(a){const{name:r,label:n,value:i,tooltip:s,desc:o,onChangeCB:l,sectionClass:c="",wrapperClass:u="",fieldParentWrapperClass:d="w-full",placeholder:m=(0,z.__)("Select Dates","cartflows")}=a,[g,p]=(0,t.useState)({startDate:i.startDate,endDate:i.endDate}),f=a.classNames?a.classNames:"w-64 h-9",M=c||"",h=u||"";return(0,e.createElement)("div",{className:`wcf-field wcf-date-field ${M}`},(0,e.createElement)("div",{className:`wcf-field__data flex items-center gap-2.5 ${h}`},n&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium"},(0,e.createElement)("label",null,n,s&&(0,e.createElement)(fh,{text:s}))),(0,e.createElement)("div",{className:`wcf-field__data--content ${d}`},(0,e.createElement)(zp,{name:r,onChange:e=>{l&&l(e),p(e)},inputClassName:f,value:g,maxDate:new Date,separator:"-",showShortcuts:!0,primaryColor:"orange",placeholder:m,useRange:!1}))),o&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(o)))},lh=function(t){const{content:a,custom_class:r=""}=t;return(0,e.createElement)("div",{className:`wcf-field wcf-doc-field ${r}`},a&&(0,e.createElement)("div",{className:"wcf-field__doc-content text-sm font-normal text-gray-400 mt-5 text-left"},Nr(a)))},ch=function(t){const{label:a,desc:r,sectionClass:n,descClass:i,labelClass:s=""}=t,o=n&&""!==n?n:"text-left",l=""!==s?s:"block text-base font-semibold text-gray-800 mb-5",c=""!==i?i:"text-sm font-normal text-gray-500 mt-2";return(0,e.createElement)("div",{className:`wcf-field wcf-section-heading-field ${o}`},a&&(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",{className:l},a)),r&&(0,e.createElement)("div",{className:`wcf-field__desc ${c}`},Nr(r)))},uh=function(t){const{notice:a="",feature:r="this",plan_required:n="pro"}=t;return""!==a?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-pro-notice"},(0,e.createElement)("p",{className:"wcf-pro-update-notice"},Nr(a)))):wcfCartflowsTypePlusPro()||"pro"===n?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-pro-notice"},(0,e.createElement)("p",{className:"wcf-pro-update-notice"},Nr((0,z.sprintf)(
// translators: %1$s: anchor tag start, %2$s: anchor tag end, %3$s: feature name.
// translators: %1$s: anchor tag start, %2$s: anchor tag end, %3$s: feature name.
(0,z.__)("Please upgrade to the %1$s CartFlows Pro %2$s to use %3$s feature.","cartflows"),'<a href="https://cartflows.com?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=feature" target="_blank">',"</a>",r)))))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-pro-notice"},(0,e.createElement)("p",{className:"wcf-pro-update-notice"},Nr((0,z.sprintf)(
// translators: %1$s: anchor tag start, %2$s: anchor tag end, %3$s: feature name.
// translators: %1$s: anchor tag start, %2$s: anchor tag end, %3$s: feature name.
(0,z.__)("Please upgrade to the %1$s CartFlows Higher Plan %2$s to use %3$s feature.","cartflows"),'<a href="https://cartflows.com?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=feature" target="_blank">',"</a>",r))))))},dh=function(a){const{label:r,name:n,desc:i,value:s,allowed_products:o=[],include_products:l=[],excluded_products:c=[],tooltip:u,placeholder:d,onChangeCB:m,nameComp:g,attr:p,isMulti:f=!1,showLabelOnly:M=!1,sectionClass:h="",wrapperClass:N="",labelClass:w="",descClass:x=""}=a,[b,D]=(0,t.useState)(s);(0,t.useEffect)((()=>{D(s)}),[s]);const j={MultiValueLabel:t=>(0,e.createElement)("div",(0,y.A)({},t.innerProps,{title:t.data.label}),M?t.data.label:t.children)},v=({innerProps:t,data:a})=>(0,e.createElement)("div",(0,y.A)({},t,{className:"wcf-select-option--row flex w-full items-center justify-between cursor-pointer"}),(0,e.createElement)("div",{className:"wcf-select-option--row-option flex items-center gap-3"},(0,e.createElement)("span",null,a?.label||""," ",a.value?"(#"+a?.value+")":"")," ",a?.stock_status&&(0,e.createElement)("span",{className:`wcf-badge ${a.in_stock?"wcf-badge--success":"wcf-badge--error"} text-xs leading-[0.5rem] capitalize !py-1.5 !px-2 cursor-pointer`},a?.stock_status||"")),a.price_range&&(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"text-xs leading-3 font-normal cursor-pointer"},a?.price_range)));return(0,e.createElement)("div",{className:`wcf-select2-field wcf-product-field w-full ${h}`},(0,e.createElement)("div",{className:`wcf-selection-field ${N}`},r&&(0,e.createElement)("label",{className:`block text-sm font-medium text-left mb-2 ${w}`},r,u&&(0,e.createElement)(fh,{text:u})),(0,e.createElement)(Il,(0,y.A)({className:`wcf-select2-input border border-gray-200 !rounded-md ${a.class?a.class:""}`,classNamePrefix:"wcf",name:g?`${n}`:`${n}[]`,isMulti:f,isClearable:!0,value:b,getOptionLabel:t=>(0,e.createElement)(v,{data:t}),getOptionValue:e=>e.value,loadOptions:e=>{if(e.length>=3){const t=new window.FormData;return t.append("allowed_products",o),t.append("include_products",l),t.append("exclude_products",c),t.append("action","cartflows_json_search_products"),t.append("security",cartflows_admin.json_search_products_nonce),t.append("term",e),new Promise((e=>{A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{e(t)}))}))}},onChange:e=>{D(e);const t=new CustomEvent("wcf:product:change",{bubbles:!0,detail:{e:{},name:a.name,value:e}});document.dispatchEvent(t),m&&m(e)},placeholder:d,cacheOptions:!0,components:j},p))),i&&(0,e.createElement)("div",{className:`wcf-field-desc text-sm font-normal text-gray-400 mt-3 ${x}`},Nr(i)))},mh=function(a){const{label:r,name:n,desc:i,value:s,tooltip:o,placeholder:l,onChangeCB:c,nameComp:u,isMulti:d=!1,sectionClass:m="",wrapperClass:g="",descClass:p="",fieldClass:f="",attr:M}=a,[h,N]=(0,t.useState)(s);return(0,e.createElement)("div",{className:`wcf-select2-field wcf-coupon-field ${m}`},(0,e.createElement)("div",{className:`wcf-coupon-field-wrapper ${g}`},r&&(0,e.createElement)("label",{className:"block text-sm text-gray-600 font-medium mb-2 text-left"},r,o&&(0,e.createElement)(fh,{text:o})),(0,e.createElement)(Il,(0,y.A)({className:`wcf-select2-input !block border border-gray-200 !rounded-md !m-0 ${f}`,classNamePrefix:"wcf",name:u?`${n}`:`${n}[]`,isClearable:!0,isMulti:d,value:h,getOptionLabel:e=>e.label,getOptionValue:e=>e.value,loadOptions:e=>{const t=new window.FormData;return t.append("action","cartflows_json_search_coupons"),t.append("security",cartflows_admin.json_search_coupons_nonce),t.append("term",e),new Promise((e=>{A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{e(t)}))}))},onChange:e=>{N(e);const t=new CustomEvent("wcf:coupon:change",{bubbles:!0,detail:{e:{},name:a.name,newValue:e}});document.dispatchEvent(t),c&&c(e)},placeholder:l,cacheOptions:!0},M))),i&&(0,e.createElement)("div",{className:`wcf-field-desc text-sm font-normal text-gray-400 mt-5 text-left ${p}`},Nr(i)))};function gh({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))}const ph=t.forwardRef(gh),fh=function(t){const{text:a,position:r="default",classes:n="text-gray-400",descClass:i="",icon:s=""}=t;return(0,e.createElement)("div",{className:xr()(n,"wcf-tooltip-icon cursor-pointer ml-1","default"!==r?"wcf-tooltip-position--"+r:"")},""===s?(0,e.createElement)(ph,{className:"w-4 h-4 stroke-2"}):s,""!==a&&(0,e.createElement)("span",{className:`wcf-tooltip-text ${i}`},"string"==typeof a?Nr(a):a))},Mh=function(t){const{subClass:a="",label:r,desc:n}=t;return(0,e.createElement)("div",{className:"wcf-field wcf-sub-heading-field"},r&&(0,e.createElement)("div",{className:`wcf-field__data--label ${a}`},(0,e.createElement)("label",null,r)),n&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(n)))},hh=function(a){const{name:r,id:n,label:i,value:s,placeholder:o,tooltip:l,desc:c,type:u,min:d,max:m,readonly:g,icon:p,onChangeCB:f,iconOnClick:M,afterClickIcon:h,attr:N}=a,[w,x]=(0,t.useState)(s),[b,D]=(0,t.useState)(u||"password"),[j,v]=(0,t.useState)(p||"");return(0,t.useEffect)((()=>{x(s),D(u),v(p)}),[s]),(0,e.createElement)("div",{className:"wcf-field wcf-password-field"},(0,e.createElement)("div",{className:"wcf-field__data flex items-center gap-2.5"},i&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left"},(0,e.createElement)("label",null,i,l&&(0,e.createElement)(fh,{text:l}))),(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)("input",(0,y.A)({},N,{type:b,className:a.class,name:r,value:w,id:n,onChange:function(e){x(e.target.value);const t=new CustomEvent("wcf:password:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t),f&&f(e.target.value)},placeholder:o,min:d,max:m,readOnly:g})),j&&(0,e.createElement)("div",{className:"wcf-password-field__icon"},(0,e.createElement)("span",{className:j,onClick:function(){M&&"show_field_value"===M&&("text"===b?(D("password"),v(p)):(D("text"),v(h)))}})))),c&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-normal text-gray-500 mt-2"},Nr(c)))},yh=function(){return(0,e.createElement)("div",{className:"wcf-field wcf-separator-field border-b border-solid border-gray-200"})},Nh=function(t){const a=t.data;let r=t.value;const n=t.displayAs?t.displayAs:"tr";let i="";switch(""===r&&(r=a.value),a.type){case"text":i=(0,e.createElement)(vr,{id:a.name,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,labelClass:a?.labelClass,descClass:a?.descClass,class:a?.class,name:a.name,value:a.value?a.value:r,label:a.label,placeholder:a.placeholder,readonly:a.readonly,desc:a.desc,tooltip:a.tooltip,displayAlign:a.display_align});break;case"number":i=(0,e.createElement)(ug,{type:a.type,id:a.name,class:a?.class,name:a.name,value:r,label:a.label,placeholder:a.placeholder,readonly:a.readonly,min:a.min,max:a.max,desc:a.desc,tooltip:a.tooltip,afterfield:a.afterfield,width:a.width,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,labelClass:a?.labelClass,descClass:a?.descClass,displayAlign:a?.display_align});break;case"checkbox":i=(0,e.createElement)(br,{id:a.name,name:a.name,className:a?.class,value:r,label:a.label,desc:a.desc,notice:a.notice,backComp:a.backComp,tooltip:a.tooltip,child_className:a.child_class,isDisabled:a.isDisabled,displayAlign:a.display_align,isPro:a.is_pro});break;case"toggle":i=(0,e.createElement)(bh,{id:a.name,name:a.name,className:a.class,value:r,label:a.label,desc:a.desc,notice:a.notice,backComp:a.backComp,tooltip:a.tooltip,child_className:a.child_class,displayAlign:a.display_align,fullWidth:a.is_fullwidth,isDisabled:a?.is_disabled});break;case"radio":i=(0,e.createElement)(Dr,{id:a.name,name:a.name,value:void 0===r?"":r,label:a.label,options:a.options,desc:a.desc,tooltip:a.tooltip,child_className:a.child_class});break;case"textarea":i=(0,e.createElement)(_r,{id:a.name,name:a.name,className:a?.class,value:r,label:a.label,desc:a.desc,tooltip:a.tooltip,rows:a.rows,cols:a.cols,displayAlign:a.display_align});break;case"select":i=(0,e.createElement)(jr,{id:a.name,name:a.name,class:a.class,value:r,label:a.label,options:a.options,desc:a.desc,tooltip:a.tooltip,prodata:a?.pro_options,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,contentClass:a?.contentClass,labelClass:a?.labelClass,descClass:a?.descClass,displayAlign:a?.display_align,isDisabled:a.isDisabled});break;case"select_card":i=(0,e.createElement)($h,{id:a.name,name:a.name,value:r,label:a.label,options:a.options,desc:a.desc,tooltip:a.tooltip,prodata:a?.pro_options,layout:a?.layout,showRadio:a?.display_radio});break;case"select2":i=(0,e.createElement)(El,{id:a.name,name:a.name,value:r,label:a.label,placeholder:a.placeholder,desc:a.desc,tooltip:a.tooltip,options:a.options,isMulti:a.isMulti,displayAlign:a.display_align,isSearchable:a?.enable_search});break;case"product":i=(0,e.createElement)("div",null,(0,e.createElement)(dh,{name:a.name,label:a.label,desc:a.desc,field:a.fieldtype,allowed_products:a.allowed_product_types?a.allowed_product_types:"",include_products:a.include_product_types?a.include_product_types:"",excluded_products:a.excluded_product_types?a.excluded_product_types:"",placeholder:a.placeholder,tooltip:a.tooltip,value:r,nameComp:a.nameComp,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,labelClass:a?.labelClass,descClass:a?.descClass}));break;case"coupon":i=(0,e.createElement)("div",null,(0,e.createElement)(mh,{name:a.name,label:a.label,desc:a.desc,field:a.fieldtype,placeholder:a.placeholder,tooltip:a.tooltip,value:r,nameComp:a.nameComp}));break;case"product-repeater":i=(0,e.createElement)(Zl,{id:a.name,name:a.name,value:r,label:a.label,products:a.products});break;case"font-family":i=(0,e.createElement)(ng,{id:a.name,name:a.name,value:r,label:a.label,desc:a.desc,tooltip:a.tooltip,font_weight_name:a.font_weight_name,font_weight_value:a.font_weight_value,displayAlign:a.display_align});break;case"separator":i=(0,e.createElement)(yh,null);break;case"sub-heading":i=(0,e.createElement)(Mh,{subclassName:a.subClass,label:a.label,desc:a.desc});break;case"color-picker":i=(0,e.createElement)(rg,{id:a.name,name:a.name,label:a.label,value:r,desc:a.desc,tooltip:a.tooltip,displayAlign:a.display_align,withBg:a.withBg});break;case"password":i=(0,e.createElement)(hh,{type:a.type,id:a.name,name:a.name,value:a.value?a.value:r,label:a.label,placeholder:a.placeholder,readonly:a.readonly,desc:a.desc,tooltip:a.tooltip,class:a.class,icon:a.icon,iconOnClick:a.iconclick,afterClickIcon:a.afterIcon});break;case"image-selector":const n=a?.objName?a?.objName:"product_img_obj",s=t?.options&&t?.options[n]?t?.options[n]:a?.value;i=(0,e.createElement)(lg,{id:a.name,name:a.name,label:a.label,value:r,desc:a.desc,tooltip:a.tooltip,isNameArray:a.isNameArray,objName:n,objValue:s,singleButton:a?.singleButton,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,labelClass:a?.labelClass,descClass:a?.descClass,displayAlign:a?.display_align});break;case"doc":i=(0,e.createElement)(lh,{content:a.content});break;case"pro-notice":i=(0,e.createElement)("p",{className:"wcf-pro-update-notice"},(0,z.sprintf)(/* translators: %s is replaced with feature name */ /* translators: %s is replaced with feature name */
(0,z.__)("Please upgrade to the CartFlows Higher Plan to use the %s feature.","cartflows"),a.feature));break;case"heading":i=(0,e.createElement)(ch,{label:a.label,desc:a.desc,sectionClass:a?.sectionClass,labelClass:a?.labelClass,descClass:a?.descClass});break;case"wp-editor":i=(0,e.createElement)(wh,{name:a.name,value:r,label:a.label,desc:a.desc,tooltip:a.tooltip,rows:a.rows,cols:a.cols,id:a.id,sectionClass:a?.sectionClass,wrapperClass:a?.wrapperClass,labelClass:a?.labelClass,descClass:a?.descClass,displayAlign:a?.display_align})}return"tr"===n?(0,e.createElement)("tr",{className:`wcf-field-row-${t.field} ${t.class?t.class:""} ${t.isActive?"":"wcf-hide"}`,key:a.name},(0,e.createElement)("th",{scope:"row",className:"py-2"},(0,e.createElement)(e.Fragment,null,i))):(0,e.createElement)("div",{key:a.name,className:`wcf-${t.tabName}-tab--row mb-5 last:mb-0 ${t.class?t.class:""} ${t.isActive?"":"hidden"}`},i)},wh=function(a){const{name:r,value:n,label:i,desc:s,id:o,tooltip:l,rows:c,cols:u,sectionClass:d=!1,wrapperClass:m=!1,labelClass:g,descClass:p,displayAlign:f="horizontal"}=a,[M,h]=(0,t.useState)(n),y=d||"text-left",N=p||"text-sm font-medium text-gray-500 mt-2";let w=m||"flex items-center gap-2.5",x=g||"text-sm font-medium text-left mb-2";function b(e,t){h(t);const r=new CustomEvent("wcf:wpeditor:change",{bubbles:!0,detail:{e,name:a.name,value:t}});document.dispatchEvent(r)}return"horizontal"!==f&&(w="block w-full text-left",x+=" mb-2"),(0,t.useEffect)((()=>{let e=!0;return e&&(wp.editor.initialize(o,{tinymce:!0,quicktags:!0,mediaButtons:!1}),jQuery(document).on("tinymce-editor-setup",(function(e,t){t.settings.toolbar1="bold,italic,underline,blockquote,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,undo,redo,cartflows_ob",t.on("change",(function(){b(e,t.getContent())})),t.on("keyup",(function(){b(e,t.getContent())})),t.settings.forced_root_block=!1,"desc_text"===r&&t.addButton("cartflows_ob",{type:"menubutton",text:"",icon:"cartflows-logo cartflows-logo-icon",menu:[{text:"Product Name",value:"{{product_name}}",onclick(){t.insertContent(this.value())}},{text:"Product Desc",value:"{{product_desc}}",onclick(){t.insertContent(this.value())}},{text:"Product Price",value:"{{product_price}}",onclick(){t.insertContent(this.value())}},{text:"Product Quantity",value:"{{quantity}}",onclick(){t.insertContent(this.value())}}].sort((function(e,t){return e.text.localeCompare(t.text)}))})}))),()=>{e=!1,tinymce.activeEditor.destroy()}}),[]),(0,e.createElement)("div",{className:`wcf-field wcf-wp-editor-field ${y}`},(0,e.createElement)("div",{className:`wcf-field__data ${w}`},i&&(0,e.createElement)("div",{className:`wcf-field__data--label ${x}`},(0,e.createElement)("label",null,i,l&&(0,e.createElement)(fh,{text:l}))),(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)("textarea",{className:a.class,name:r,value:M,id:o,rows:c||"10",cols:u||"60",onChange:function(e){h(e.target.value);const t=new CustomEvent("wcf:wpeditor:change",{bubbles:!0,detail:{e,name:a.name,value:e.target.value}});document.dispatchEvent(t)}}))),s&&(0,e.createElement)("div",{className:`wcf-field__desc ${N}`},Nr(s)))},xh=function(t){const{name:a,value:n,fields:i}=t,[s,o]=r().useState(n);function l(e){o(e.target.value)}return(0,e.createElement)(e.Fragment,null,i.map(((t,r)=>(0,e.createElement)(vr,{key:r,name:a+`[${t.name}]`,label:t.label,placeholder:t.placeholder,value:(0,fr.decode)(s[t.name]),onChange:l,tooltip:t.tooltip}))))},bh=function({onChange:a,...r}){const{name:n,id:i,label:s,value:o,desc:l,backComp:c=!1,onClick:u,notice:d,isDisabled:m=!1,tooltip:g,sectionClass:p="",wrapperClass:f="",labelClass:M="",descClass:h="",displayAlign:y="horizontal",fullWidth:N=!0}=r,[w,x]=(0,t.useState)(o),b=p||"text-left",D=M||"text-sm font-medium text-left w-full md:w-80 lg:w-80",j=h||"text-sm font-normal text-gray-500 mt-2";let v=f||"flex items-center gap-6 "+(N?"justify-between":"");"horizontal"!==y&&(v="block w-full text-left"),(0,t.useEffect)((()=>{x(o)}),[o]);const _=c?"enable":"yes",I=c?"disable":"no";return(0,e.createElement)("div",{className:`wcf-field wcf-toggle-field ${b} `},(0,e.createElement)("div",{className:`wcf-field__data ${v}`},s&&(0,e.createElement)("div",{className:"wcf-field__data--content-left flex-[0_0_35%]"},(0,e.createElement)("div",{className:`wcf-field__data--label ${D}`},(0,e.createElement)("label",null,s,g&&(0,e.createElement)(fh,{text:g})))),(0,e.createElement)("div",{className:"wcf-field__data--content-right"},(0,e.createElement)("div",{className:"flex justify-center"},(0,e.createElement)("button",{type:"button",id:i||n,className:xr()(r.class,"bg-gray-200 relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-600 focus:ring-offset-2",_===w?"bg-primary-600":"bg-gray-200",_===w&&m?"!bg-primary-300":"",_!==w&&m?"!bg-gray-200":""),disabled:m,role:"switch",onClick:function(e){let t="no";if(I===w){if(d&&!function(){switch(d.type){case"alert":return alert(d.message),!0;case"confirm":return!!confirm(d.message);case"prompt":return prompt(d.message)===d.check.toUpperCase();default:return!1}}())return;x(_),t=_}else x(I),t=I;const r=new CustomEvent("wcf:toggle:change",{bubbles:!0,detail:{e,name:n,value:t}});document.dispatchEvent(r),a&&a({name:n,value:t})},onChange:function(){u&&u()},title:m?(0,z.__)("Disabled","cartflows"):""},(0,e.createElement)("input",{type:"hidden",className:r.class,name:n,value:w}),(0,e.createElement)("span",{"aria-hidden":"true",className:xr()(_===w?"translate-x-5":"translate-x-0","translate-x-0 pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")}))))),l&&(0,e.createElement)("div",{className:`wcf-field__desc ${j}`},Nr(l)))};function Dh(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function jh(e={},t=null,a=[]){for(let[r,n]of Object.entries(e))_h(a,vh(t,r),n);return a}function vh(e,t){return e?e+"["+t+"]":t}function _h(e,t,a){if(Array.isArray(a))for(let[r,n]of a.entries())_h(e,vh(t,r.toString()),n);else a instanceof Date?e.push([t,a.toISOString()]):"boolean"==typeof a?e.push([t,a?"1":"0"]):"string"==typeof a?e.push([t,a]):"number"==typeof a?e.push([t,`${a}`]):null==a?e.push([t,""]):jh(a,t,e)}let Ih=(0,t.createContext)(null);function Eh({children:e}){let a=(0,t.useContext)(Ih);if(!a)return t.createElement(t.Fragment,null,e);let{target:r}=a;return r?(0,Va.createPortal)(t.createElement(t.Fragment,null,e),r):null}function Lh({data:e,form:a,disabled:r,onReset:n,overrides:i}){let[s,o]=(0,t.useState)(null),l=be();return(0,t.useEffect)((()=>{if(n&&s)return l.addEventListener(s,"reset",n)}),[s,a,n]),t.createElement(Eh,null,t.createElement(Th,{setForm:o,formId:a}),jh(e).map((([e,n])=>t.createElement(wa,{features:Na.Hidden,...nt({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:a,disabled:r,name:e,value:n,...i})}))))}function Th({setForm:e,formId:a}){return(0,t.useEffect)((()=>{if(a){let t=document.getElementById(a);t&&e(t)}}),[e,a]),a?null:t.createElement(wa,{features:Na.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let a=t.closest("form");a&&e(a)}})}let Ah=(0,t.createContext)(void 0);function zh(){return(0,t.useContext)(Ah)}let kh=(0,t.createContext)(null);function Sh(){let e=(0,t.useContext)(kh);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Sh),e}return e}function Oh(e){var a,r,n;let i=null!=(r=null==(a=(0,t.useContext)(kh))?void 0:a.value)?r:void 0;return(null!=(n=null==e?void 0:e.length)?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function Ch({inherit:e=!1}={}){let a=Oh(),[r,n]=(0,t.useState)([]),i=e?[a,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,(0,t.useMemo)((()=>function(e){let a=ve((e=>(n((t=>[...t,e])),()=>n((t=>{let a=t.slice(),r=a.indexOf(e);return-1!==r&&a.splice(r,1),a}))))),r=(0,t.useMemo)((()=>({register:a,slot:e.slot,name:e.name,props:e.props,value:e.value})),[a,e.slot,e.name,e.props,e.value]);return t.createElement(kh.Provider,{value:r},e.children)}),[n])]}kh.displayName="LabelContext";let Yh=rt((function(e,a){var r;let n=(0,t.useId)(),i=Sh(),s=zh(),o=Aa(),{id:l=`headlessui-label-${n}`,htmlFor:c=(null!=s?s:null==(r=i.props)?void 0:r.htmlFor),passive:u=!1,...d}=e,m=Te(a);De((()=>i.register(l)),[l,i.register]);let g=ve((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),i.props&&"onClick"in i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let a=e.getAttribute("aria-disabled");if("true"===a||""===a)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),p=o||!1,f=(0,t.useMemo)((()=>({...i.slot,disabled:p})),[i.slot,p]),M={ref:m,...i.props,id:l,htmlFor:c,onClick:g};return u&&("onClick"in M&&(delete M.htmlFor,delete M.onClick),"onClick"in d&&delete d.onClick),$e()({ourProps:M,theirProps:d,slot:f,defaultTag:c?"label":"div",name:i.name||"Label"})})),Uh=Object.assign(Yh,{});var Qh=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Qh||{});let Ph={0(e,t){let a=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:ma(a,(e=>e.element.current))}},1(e,t){let a=e.options.slice(),r=e.options.findIndex((e=>e.id===t.id));return-1===r?e:(a.splice(r,1),{...e,options:a})}},Fh=(0,t.createContext)(null);function Rh(e){let a=(0,t.useContext)(Fh);if(null===a){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Rh),t}return a}Fh.displayName="RadioGroupDataContext";let Hh=(0,t.createContext)(null);function Bh(e){let a=(0,t.useContext)(Hh);if(null===a){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bh),t}return a}function Wh(e,t){return Ve(t.type,Ph,e,t)}Hh.displayName="RadioGroupActionsContext";let Vh=rt((function(e,a){let r=(0,t.useId)(),n=Aa(),{id:i=`headlessui-radiogroup-${r}`,value:s,form:o,name:l,onChange:c,by:u,disabled:d=n||!1,defaultValue:m,...g}=e,p=function(e=Dh){return(0,t.useCallback)(((t,a)=>{if("string"==typeof e){let r=e;return(null==t?void 0:t[r])===(null==a?void 0:a[r])}return e(t,a)}),[e])}(u),[f,M]=(0,t.useReducer)(Wh,{options:[]}),h=f.options,[y,N]=Ch(),[w,x]=Sa(),b=(0,t.useRef)(null),D=Te(b,a),j=function(e){let[a]=(0,t.useState)(e);return a}(m),[v,_]=function(e,a,r){let[n,i]=(0,t.useState)(r),s=void 0!==e,o=(0,t.useRef)(s),l=(0,t.useRef)(!1),c=(0,t.useRef)(!1);return!s||o.current||l.current?!s&&o.current&&!c.current&&(c.current=!0,o.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,o.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:n,ve((e=>(s||i(e),null==a?void 0:a(e))))]}(s,c,j),I=(0,t.useMemo)((()=>h.find((e=>!e.propsRef.current.disabled))),[h]),E=(0,t.useMemo)((()=>h.some((e=>p(e.propsRef.current.value,v)))),[h,v]),L=ve((e=>{var t;if(d||p(e,v))return!1;let a=null==(t=h.find((t=>p(t.propsRef.current.value,e))))?void 0:t.propsRef.current;return!(null!=a&&a.disabled||(null==_||_(e),0))})),T=ve((e=>{let t=b.current;if(!t)return;let a=Ne(t),r=h.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case ut.Enter:!function(e){var t,a;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(a=r.requestSubmit)||a.call(r)}}(e.currentTarget);break;case ut.ArrowLeft:case ut.ArrowUp:if(e.preventDefault(),e.stopPropagation(),ga(r,aa.Previous|aa.WrapAround)===ra.Success){let e=h.find((e=>e.element.current===(null==a?void 0:a.activeElement)));e&&L(e.propsRef.current.value)}break;case ut.ArrowRight:case ut.ArrowDown:if(e.preventDefault(),e.stopPropagation(),ga(r,aa.Next|aa.WrapAround)===ra.Success){let e=h.find((e=>e.element.current===(null==a?void 0:a.activeElement)));e&&L(e.propsRef.current.value)}break;case ut.Space:{e.preventDefault(),e.stopPropagation();let t=h.find((e=>e.element.current===(null==a?void 0:a.activeElement)));t&&L(t.propsRef.current.value)}}})),A=ve((e=>(M({type:0,...e}),()=>M({type:1,id:e.id})))),z=(0,t.useMemo)((()=>({value:v,firstOption:I,containsCheckedOption:E,disabled:d,compare:p,...f})),[v,I,E,d,p,f]),k=(0,t.useMemo)((()=>({registerOption:A,change:L})),[A,L]),S={ref:D,id:i,role:"radiogroup","aria-labelledby":y,"aria-describedby":w,onKeyDown:T},O=(0,t.useMemo)((()=>({value:v})),[v]),C=(0,t.useCallback)((()=>{if(void 0!==j)return L(j)}),[L,j]),Y=$e();return t.createElement(x,{name:"RadioGroup.Description"},t.createElement(N,{name:"RadioGroup.Label"},t.createElement(Hh.Provider,{value:k},t.createElement(Fh.Provider,{value:z},null!=l&&t.createElement(Lh,{disabled:d,data:{[l]:v||"on"},overrides:{type:"radio",checked:null!=v},form:o,onReset:C}),Y({ourProps:S,theirProps:g,slot:O,defaultTag:"div",name:"RadioGroup"})))))})),Zh=rt((function(e,a){var r;let n=Rh("RadioGroup.Option"),i=Bh("RadioGroup.Option"),s=(0,t.useId)(),{id:o=`headlessui-radiogroup-option-${s}`,value:l,disabled:c=n.disabled||!1,autoFocus:u=!1,...d}=e,m=(0,t.useRef)(null),g=Te(m,a),[p,f]=Ch(),[M,h]=Sa(),y=je({value:l,disabled:c});De((()=>i.registerOption({id:o,element:m,propsRef:y})),[o,i,m,y]);let N=ve((e=>{var t;if(We(e.currentTarget))return e.preventDefault();i.change(l)&&(null==(t=m.current)||t.focus())})),w=(null==(r=n.firstOption)?void 0:r.id)===o,{isFocusVisible:x,focusProps:b}=ce({autoFocus:u}),{isHovered:D,hoverProps:j}=fe({isDisabled:c}),v=n.compare(n.value,l),_=at({ref:g,id:o,role:"radio","aria-checked":v?"true":"false","aria-labelledby":p,"aria-describedby":M,"aria-disabled":!!c||void 0,tabIndex:c?-1:v||!n.containsCheckedOption&&w?0:-1,onClick:c?void 0:N,autoFocus:u},b,j),I=(0,t.useMemo)((()=>({checked:v,disabled:c,active:x,hover:D,focus:x,autofocus:u})),[v,c,D,x,u]),E=$e();return t.createElement(h,{name:"RadioGroup.Description"},t.createElement(f,{name:"RadioGroup.Label"},E({ourProps:_,theirProps:d,slot:I,defaultTag:"div",name:"RadioGroup.Option"})))})),Gh=rt((function(e,a){var r;let n=Rh("Radio"),i=Bh("Radio"),s=(0,t.useId)(),o=zh(),l=Aa(),{id:c=o||`headlessui-radio-${s}`,value:u,disabled:d=n.disabled||l||!1,autoFocus:m=!1,...g}=e,p=(0,t.useRef)(null),f=Te(p,a),M=Oh(),h=function(){var e,a;return null!=(a=null==(e=(0,t.useContext)(za))?void 0:e.value)?a:void 0}(),y=je({value:u,disabled:d});De((()=>i.registerOption({id:c,element:p,propsRef:y})),[c,i,p,y]);let N=ve((e=>{var t;if(We(e.currentTarget))return e.preventDefault();i.change(u)&&(null==(t=p.current)||t.focus())})),{isFocusVisible:w,focusProps:x}=ce({autoFocus:m}),{isHovered:b,hoverProps:D}=fe({isDisabled:d}),j=(null==(r=n.firstOption)?void 0:r.id)===c,v=n.compare(n.value,u),_=at({ref:f,id:c,role:"radio","aria-checked":v?"true":"false","aria-labelledby":M,"aria-describedby":h,"aria-disabled":!!d||void 0,tabIndex:d?-1:v||!n.containsCheckedOption&&j?0:-1,autoFocus:m,onClick:d?void 0:N},x,D),I=(0,t.useMemo)((()=>({checked:v,disabled:d,hover:b,focus:w,autofocus:m})),[v,d,b,w,m]);return $e()({ourProps:_,theirProps:g,slot:I,defaultTag:"span",name:"Radio"})})),Xh=Uh,Jh=Ca,qh=Object.assign(Vh,{Option:Zh,Radio:Gh,Label:Xh,Description:Jh});const $h=function(a){const{name:r,label:n,desc:i,tooltip:s,options:o,layout:l="horizontal",value:c,showRadio:u=!0,after:d}=a;(0,t.useEffect)((()=>{void 0===c&&g("")}),[]);const[m,g]=(0,t.useState)(c);function p(e){g(e);const t=new CustomEvent("wcf:selectioncard:change",{bubbles:!0,detail:{e:{},name:a.name,newValue:e}});document.dispatchEvent(t)}function f(...e){return e.filter(Boolean).join(" ")}return(0,e.createElement)("div",{className:"wcf-field wcf-select-option--card"},(0,e.createElement)("div",{className:"wcf-field__data flex items-center gap-6"},n&&i&&(0,e.createElement)("div",{className:"wcf-field__data--content-left flex-[0_0_21%]"},n&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left"},(0,e.createElement)("label",null,n,s&&(0,e.createElement)(fh,{text:s})))),(0,e.createElement)("div",{className:"wcf-field__data--content-right w-full"},""!==l&&"horizontal"===l&&(0,e.createElement)("div",{className:"flex"},(0,e.createElement)(qh,{value:m,onChange:e=>p(e)},(0,e.createElement)("div",{className:"-space-y-px rounded-md bg-white flex gap-2.5"},o.map(((t,a)=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qh.Option,{key:a,value:t.value,className:({checked:e})=>f(e?"bg-[#FEF8F5] border-[#F6A285] z-10 wcf-selection-card--selected":"border-gray-200","wcf-selection-card min-w-[123px] relative border pt-6 p-4 flex cursor-pointer focus:outline-none justify-around rounded-md")},(({active:a,checked:r})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"flex flex-col items-center gap-y-3.5"},t.image&&(0,e.createElement)("img",{src:t.image,alt:t.label,className:"wcf-selection-card--image w-12 h-12"}),(0,e.createElement)(qh.Label,{as:"span",className:f(r?"text-primary-600":"text-gray-900","flex gap-2.5 items-center text-sm font-medium")},t.tooltip&&(0,e.createElement)(fh,{text:t.tooltip,classes:r?"text-primary-600":"hover:text-primary-600"}),t.label)),u&&(0,e.createElement)("span",{className:f(r?"bg-[#F06434] border-transparent":"bg-white border-gray-300",a?"ring-2 ring-offset-2 ring-[#F06434]":"","wcf-selection-card--radio-button mt-0.5 h-4 w-4 shrink-0 cursor-pointer rounded-full border flex items-center justify-center absolute top-2 right-2.5"),"aria-hidden":"true"},(0,e.createElement)("span",{className:"rounded-full bg-white w-1.5 h-1.5"}))))))))))),""!==l&&"vertical"===l&&(0,e.createElement)(qh,{value:m,onChange:e=>p(e)},(0,e.createElement)("div",{className:"-space-y-px rounded-md bg-white"},o.map(((t,a)=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qh.Option,{key:a,value:t.value,className:({checked:e})=>f(0===a?"rounded-tl-md rounded-tr-md":"",a===t.length-1?"rounded-bl-md rounded-br-md":"",e?"bg-[#FEF8F5] border-[#F6A285] z-10 wcf-selection-card--selected":"border-gray-200","wcf-selection-card relative border p-4 flex cursor-pointer focus:outline-none")},(({active:a,checked:r})=>(0,e.createElement)(e.Fragment,null,u&&(0,e.createElement)("span",{className:f(r?"bg-[#F06434] border-transparent":"bg-white border-gray-300",a?"ring-2 ring-offset-2 ring-[#F06434]":"","wcf-selection-card--radio-button mt-0.5 h-4 w-4 shrink-0 cursor-pointer rounded-full border flex items-center justify-center"),"aria-hidden":"true"},(0,e.createElement)("span",{className:"rounded-full bg-white w-1.5 h-1.5"})),(0,e.createElement)("span",{className:"ml-3 flex flex-col"},t.image&&(0,e.createElement)("img",{src:t.image,alt:t.label,className:"wcf-selection-card--image w-12 h-12"}),t.label&&(0,e.createElement)(qh.Label,{as:"span",className:f(r?"text-primary-600":"text-gray-900","block text-sm font-medium")},t.tooltip&&(0,e.createElement)(fh,{text:t.tooltip}),t.label),t.desc&&(0,e.createElement)(qh.Description,{as:"span",className:"wcf-selection-card--description text-gray-600 block text-sm font-regular"},t.desc))))))))))),d&&(0,e.createElement)("div",{className:"wcf-field__data--content__after"},d),(0,e.createElement)("input",{type:"hidden",name:r,id:r,value:m,onChange:p})),i&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-normal text-gray-500 mt-2"},Nr(i)))},Kh=function(a){const{name:r,label:n,id:i,value:s,checked:o,desc:l}=a,[c,u]=(0,t.useState)(o),d=r+Math.random().toString(36).substring(2,5);return(0,e.createElement)("div",{className:"wcf-field wcf-radio-button"},(0,e.createElement)("div",{className:"wcf-field__data flex items-center gap-2.5"},(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)("input",{type:"radio",name:r,value:s,defaultChecked:c,id:i||d,onClick:function(e){u(e.target.checked)},className:xr()("!h-5 !w-5 !border-gray-300 !text-primary-600 focus:!ring-primary-600 !shadow-none before:!content-none !outline-none m-0 mr-2")})),n&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left w-full md:w-80 lg:w-80"},(0,e.createElement)("label",{htmlFor:i||d},n))),l&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(l)))};var ey=(0,t.forwardRef)((function(e,a){var r=vl(e);return t.createElement(Dl,(0,y.A)({ref:a},r))}));const ty=function(a){const{name:r,id:n,label:i,desc:s,tooltip:o,options:l,onSelect:c,after:u,isSearchable:d=!1}=a,[m,g]=(0,t.useState)(l.find((e=>e.value===a.value)));return(0,e.createElement)("div",{className:"wcf-field wcf-select-with-icons-option"},(0,e.createElement)("div",{className:"wcf-field__data"},i&&(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-normal text-left"},(0,e.createElement)("label",null,i,o&&(0,e.createElement)(fh,{text:o}))),(0,e.createElement)("div",{className:"wcf-field__data--content"},(0,e.createElement)(ey,{classNames:{control:e=>e.isFocused?"border-red-600":"border-grey-300"},classNamePrefix:"wcf",className:a.class,name:r,placeholder:(0,e.createElement)(Sl,{className:"w-5 h-5"}),value:m,id:n,options:l,onChange:function(e){g({label:a.name,value:e.value,icon:e.icon});const t=new CustomEvent("wcf:select:change",{bubbles:!0,detail:{e,name:a.name,value:e.value,icon:e.icon}});document.dispatchEvent(t),a?.callback&&a.callback(e,a.name,e.value),c&&c()},isSearchable:d,onFocus:()=>"ring ring-1 ring-primary-300",getOptionLabel:t=>(0,e.createElement)(fh,{text:t.label,icon:t.icon,classes:"group-hover:text-white !ml-0"}),getOptionValue:e=>e.value,styles:{option:(e,t)=>({...e,display:"flex",justifyContent:"center",backgroundColor:t.isSelected?"#F06434":e.color,color:t.isSelected?"#ffffff":e.color,borderBottom:t.isSelected?"1px solid #F06434":"1px solid rgba(0, 0, 0, 0.125)",cursor:"pointer","&:active":{color:"#FFF",backgroundColor:"#F06434",borderBottom:"1px solid #F06434"},"&:hover":{color:"#FFF",backgroundColor:"#F06434",borderBottom:"1px solid #F06434"},"&:last-child":{borderBottom:"0px"}}),control:(e,t)=>({...e,borderTopRightRadius:"0px",borderBottomRightRadius:"0px",borderRight:"none",borderColor:t.isFocused?"#e5e7eb":"",boxShadow:t.isFocused?"none":"",borderRadius:"6px","&:hover":{borderColor:"none"}}),indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,padding:"4px 6px 4px 4px"}),valueContainer:e=>({...e,padding:"10px 0",justifyContent:"center"}),menu:e=>({...e,width:"fit-content",backgroundColor:"#F3F4F6",color:"#4B5563"}),menuList:e=>({...e,paddingTop:"0px",paddingBottom:"0px",overflow:"initial"})}})),u&&(0,e.createElement)("div",{className:"wcf-field__data--content__after"},u)),s&&(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-regular"},Nr(s)))},ay=t=>(0,e.createElement)("span",{className:`inline-block h-18 w-18 animate-spin rounded-full border-2 border-solid border-primary-500 border-r-transparent align-[-0.125em] mr-1 ${t.className?t.className:""}`}),ry=function(t){const{settings:a}=t,[{options:r}]=l();return(0,e.createElement)("table",{className:"wcf-global-settings-content-table w-full"},(0,e.createElement)("tbody",null,a?.fields&&Object.keys(a.fields).map((t=>{const n=a.fields[t],i=r[n.name]?r[n.name]:"",s=hr.isActiveControl(n,r);return(0,e.createElement)(Nh,{key:t,data:n,value:i,isActive:s,field:t})}))))},ny=n.p+"images/facebook.45f6105e.png",iy=n.p+"images/google.7d03dc5b.png",sy=n.p+"images/tiktok-logo.ba162390.png",oy=n.p+"images/pinterest.63ab968b.png",ly=n.p+"images/googleads.b4896752.png",cy=n.p+"images/snapchat.b0f205c4.png",uy=function(a){const[r,n]=(0,t.useState)("collapsed"),i=a.settings.title.replace(/ /g,"_").toLowerCase(),s=a.settings.title.replace(/ /g,"-").toLowerCase();return(0,e.createElement)("div",{className:`wcf-${s} accordion-item bg-white border border-gray-200 rounded-md mb-5`},(0,e.createElement)("h2",{className:"accordion-header mb-0",id:`wcf_${i}_toggler`.toLowerCase()},(0,e.createElement)("button",{className:`accordion-button relative flex gap-2 items-center w-full py-3.5 px-4 !text-base !text-gray-800 text-left bg-white\n\t\t\t\t\tborder-0\n\t\t\t\t\trounded-md\n\t\t\t\t\t!shadow-none\n\t\t\t\t\ttransition\n\t\t\t\t\tfocus:outline-none\n\t\t\t\t\t${r}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#wcf_collapse_${i}`,"aria-expanded":"false","aria-controls":`wcf_collapse_${i}`,onClick:function(){n("collapsed"===r?"":"collapsed")}},(0,e.createElement)("span",null,(0,e.createElement)("img",{src:function(){let e="";switch(a.meta_key){case"_cartflows_facebook":e=ny;break;case"_cartflows_google_analytics":case"_cartflows_google_auto_address":e=iy;break;case"_cartflows_tiktok":e=sy;break;case"_cartflows_pinterest":e=oy;break;case"_cartflows_google_ads":e=ly;break;case"_cartflows_snapchat":e=cy;break;default:e=""}return e}(),alt:a.title})),(0,e.createElement)("span",null,a.title))),(0,e.createElement)("div",{id:`wcf_collapse_${i}`,className:`accordion-collapse ${r}`,"aria-labelledby":`wcf_${i}_toggler`},(0,e.createElement)("div",{className:"accordion-body py-4 px-5 bg-gray-50"},(0,e.createElement)(ry,{settings:a.settings,meta_key:a.meta_key}))))},dy=function(t){const{roles:a}=t;return(0,e.createElement)("div",{className:"wcf-user-role--container mx-auto max-w-7xl"},(0,e.createElement)("div",{className:"wcf-user-role-wrapper flow-root"},(0,e.createElement)("div",{className:"inline-block min-w-full align-middle"},(0,e.createElement)("div",{className:"shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"},(0,e.createElement)("table",{className:"wcf-user-role-table min-w-full divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"},(0,z.__)("Role","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},(0,z.__)("Access","cartflows")))),(0,e.createElement)("tbody",{className:"divide-y divide-gray-200 bg-white"},Object.keys(a).map(((t,r)=>(0,e.createElement)("tr",{key:r},(0,e.createElement)("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6"},a[t].role_name),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500"},(0,e.createElement)(ry,{settings:a[t],key:r})))))))))),(0,e.createElement)(lh,{content:(0,z.sprintf)(
// translators: %1$s: link html start, %2$s: link html end
// translators: %1$s: link html start, %2$s: link html end
(0,z.__)("For more information about the user role management please %1$sClick here.%2$s","cartflows"),'<a href="https://cartflows.com/docs/user-role-manager/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=user_role_manager" class="text-gray-600 hover:text-[#F06434]" target="_blank">',"</a>")}))},my=a=>{const{pluginName:r,isPopupOpen:n,setIsPopupOpen:i,previousVersionSelect:s,setIsConfirming:o}=a,[l,c]=(0,t.useState)(n),u=(0,t.useRef)(null);(0,t.useEffect)((()=>{c((e=>e!==n?n:e))}),[n]);const d=()=>{i(!n)};return(0,e.createElement)(Pt.Root,{show:l,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"cartflows-admin__dialog fixed backdrop-blur-sm inset-0 overflow-y-auto z-20",initialFocus:u,onClose:c},(0,e.createElement)("div",{className:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"​"),(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)("div",{className:"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-primary-25 sm:mx-0 sm:h-16 sm:w-16"},(0,e.createElement)("svg",{className:"h-8 w-8 stroke-primary-500",viewBox:"0 0 34 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M17 9.83333V16.5M17 23.1667H17.0167M32 16.5C32 24.7843 25.2843 31.5 17 31.5C8.71573 31.5 2 24.7843 2 16.5C2 8.21573 8.71573 1.5 17 1.5C25.2843 1.5 32 8.21573 32 16.5Z",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,e.createElement)("div",{className:"absolute top-1 right-0 hidden pt-4 pr-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:d,ref:u},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-xl font-semibold text-slate-800"},(0,z.__)("Rollback to Previous Version","cartflows")),(0,e.createElement)("p",{className:"mt-2 text-sm text-slate-500"},(0,z.sprintf)(
// translators: %1$s is the selected product of CartFlows, %2$s is the selected version of CartFlows.
// translators: %1$s is the selected product of CartFlows, %2$s is the selected version of CartFlows.
(0,z.__)("Are you sure you want to rollback to %1$s v%2$s?","cartflows"),r,s)))),(0,e.createElement)("div",{className:"mt-6 sm:flex sm:flex-row sm:ml-20"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded border border-transparent shadow-sm px-4 py-2 wcf-primary-button text-base font-medium text-white focus:outline-none sm:mr-3 sm:w-auto sm:text-sm",onClick:()=>{const e=cartflows_admin.rollback_url.replace("VERSION",s);i(!1),o(!0),window.location.href=e}},(0,z.__)("Rollback","cartflows")),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded border border-slate-200 shadow-sm px-4 py-2 bg-white text-base font-medium text-slate-800 focus:bg-gray-50 hover:bg-gray-50 focus:outline-none sm:mt-0 sm:w-auto sm:text-sm",onClick:d,ref:u},(0,z.__)("Cancel","cartflows"))))))))},gy=()=>{const a=cartflows_admin.cartflows_previous_versions,[r,n]=(0,t.useState)(a[0].value),[i,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)("");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("section",{className:"wcf-version-control py-2 justify-between"},(0,e.createElement)("div",{className:"flex flex-col sm:flex-row gap-8 items-start sm:items-center"},(0,e.createElement)("div",{className:"wcf-version-control--content"},(0,e.createElement)("label",{className:"inline-flex text-lg leading-8 font-medium text-gray-900"},(0,z.__)("Rollback to Previous Version","cartflows")),(0,e.createElement)("p",{className:"mt-2 text-sm text-slate-500"},(0,z.__)("Experiencing an issue with the current version of CartFlows? Roll back to a previous version to help troubleshoot the problem.","cartflows"))),(0,e.createElement)("div",{className:"wcf-version-control--action flex gap-2 items-center"},(0,e.createElement)("select",{id:"location",name:"location",className:"!w-20 input-field !pl-3 !pr-6 !py-2 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",onBlur:e=>{n(e.target.value)}},a.map((t=>(0,e.createElement)("option",{key:t.value,value:t.value},t.label)))),(0,e.createElement)("button",{type:"button",value:"CartFlows",className:"wcf-button wcf-primary-button inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-cartflows transition focus:outline-none h-9",onClick:e=>{const t=e.target.value;u(t),s(!0)}},o&&(0,e.createElement)("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,e.createElement)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),(0,z.__)("Rollback","cartflows"))))),(0,e.createElement)(my,{pluginName:c,isPopupOpen:i,setIsPopupOpen:s,previousVersionSelect:r,setIsConfirming:l}))},py=window.wp.compose,fy=window.wp.data,My=()=>(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 animate-spin"}),hy=(e,t=!0)=>new Promise(((a,r)=>{const n=new window.FormData;n.append("action","cartflows_activate_plugin"),n.append("init",e.init),n.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((e=>{console.log("Helper.js",e),e.success?(a(e),t&&window.location.reload()):r(e)}))})),yy=(0,py.compose)((0,fy.withDispatch)((e=>{const{updateCFProStatus:t}=e("wcf/importer");return{updateCFProStatus(e){t(e)}}})))((({title:a,updateCFProStatus:r})=>{const n=a||(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Activate %s","cartflows"),cartflows_admin.cf_pro_type_inactive),[i,s]=(0,t.useState)({isProcessing:!1,buttonText:n}),{isProcessing:o,buttonText:l}=i;return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",onClick:e=>{e.preventDefault(),s({isProcessing:!0,buttonText:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Activating %s","cartflows"),cartflows_admin.cf_pro_type_inactive)}),hy({slug:"cartflows-pro",init:"cartflows-pro/cartflows-pro.php",name:"cartflows-pro"}).then((e=>{console.log(e),s({isProcessing:!1,buttonText:(0,z.__)("Successfully Activated!","cartflows")}),setTimeout((()=>{r("active")}),3e3)})).catch((e=>{console.log(e),s({isProcessing:!1,buttonText:(0,z.__)("Failed! Activation!","cartflows")})}))}},o?(0,e.createElement)(My,null):""," ",l)))})),Ny=({buttonLink:t,title:a,buttonStyle:r="primary"})=>{const n=a||(0,z.__)("Upgrade to Cartflows Pro","cartflows"),i=t?.buttonLink||getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans);return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("a",{target:"blank",className:`wcf-button wcf-${r}-button`,href:i},n)))},wy=({title:t})=>{const a=t||"Activate Cartflows Pro License";return(0,e.createElement)("a",{className:"wcf-activate-link wcf-button wcf-primary-button",href:`${cartflows_admin.admin_base_url}admin.php?page=cartflows&settings=1&tab=license`,rel:"noreferrer"},a,(0,e.createElement)("i",{className:"wcf-icon dashicons dashicons-external"}))};function xy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const by=t.forwardRef(xy),Dy=function(t){const[{license_status:a}]=g(),r=t.heading?t.heading:"",n=t.subHeading?t.subHeading:"",i=t.description?t.description:"",s=t.btnText||(0,z.__)("Upgrade to CartFlows Pro","cartflows"),o=t.class?t.class:"",l=t.usps?t.usps:"",c=new URLSearchParams((0,f.useLocation)().search).get("tab");return(0,e.createElement)("div",{className:`wcf-upgrade-to-pro-cta ${o}`},(0,e.createElement)("div",{className:"bg-primary-25 border  border-cartflows-border rounded-lg px-5 py-5 lg:px-6 sm:py-5"},(0,e.createElement)("div",{className:"max-w-full lg:flex lg:items-center lg:justify-between gap-8"},(0,e.createElement)("div",null,(0,e.createElement)("h2",{className:"text-base font-medium tracking-tight text-gray-800 sm:text-base mb-2"},r),(0,e.createElement)("span",{className:"text-sm font-normal text-gray-600"}," ",n," ")),(0,e.createElement)("div",{className:"mt-10 flex items-center gap-x-6 lg:mt-0 lg:flex-shrink-0"},function(){const r=cartflows_admin.cf_pro_status;return wcfCartflowsTypePro()||"inactive"!==r||"pro"!==wcfInactivepluginType()?wcfCartflowsTypePlusPro()?"Activated"!==a?"analytics"===c?(0,e.createElement)(Ny,{buttonLink:t.buttonLink,title:s}):(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:(0,z.__)("Activate the License","cartflows")}))):void 0:wcfInactiveProPlus()?(0,e.createElement)(yy,null):(0,e.createElement)(Ny,{buttonLink:t.buttonLink,title:s,buttonStyle:"secondary"}):(0,e.createElement)(yy,null)}())),i&&(0,e.createElement)("p",{className:"wcf-upgrade-to-pro-cta--text text-sm font-normal text-gray-600 mt-3"},i),l&&(0,e.createElement)("ul",{className:"wcf-upgrade-to-pro-cta-list text-sm font-normal text-gray-600 mt-3"},l.map(((t,a)=>(0,e.createElement)("li",{className:"wcf-upgrade-to-pro-cta-list-item flex gap-2 items-center mb-2",key:a},(0,e.createElement)(by,{className:"w-18 h-18 stroke-2 text-primary-500"}),(0,e.createElement)("span",null," ",t," ")))))))},jy=function(a){const[{globaldata:r},n]=l(),[{license_status:i},s]=g(),o=!(!i||"Activated"!==i),[c,u]=(0,t.useState)(!1),[d,m]=(0,t.useState)((0,z.__)("Regenerate Now","cartflows")),[p,f]=(0,t.useState)({buttonText:(0,z.__)("Reset Permalinks Settings","cartflows"),buttonProcess:!1}),{buttonText:M,buttonProcess:h}=p,y=(0,z.__)("Activate License","cartflows"),N=(0,z.__)("Deactivate License","cartflows"),[w,x]=(0,t.useState)(!1),[b,D]=(0,t.useState)({licenseButtonText:o?N:y,licenseActivationProcess:!1}),{licenseButtonText:j,licenseActivationProcess:v}=b,[_,I]=(0,t.useState)(!1),[E,L]=(0,t.useState)(o);let T=[],k="",S=[];switch(a.tab){case"general":T=r.settings.general,k="_cartflows_common";break;case"integrations":T.title="",k="";break;case"permalink":T=r.settings.permalink;break;case"other":T=r.settings.other;break;case"user_role_manager":T=r.settings.user_role_manager,k="_cartflows_common",S=T.roles;break;case"offer":T=r.settings.offer;break;case"automations":T=r.settings.automations;break;case"version_control":T=r.settings.version_control;break;case"license":T=r.settings.license,wcfCartflowsPro()&&"license"===a.tab&&o?(T.fields["license-field"].value=w,T.fields["license-field"].readonly=!0,T.fields["license-field"].class+=" disabled"):T.fields["license-field"].value="";break;default:T=r.general,k="_cartflows_common"}const O=function(e){e.preventDefault();const t=document.getElementsByClassName("cartflows-license-key")[0];if(I(!1),t&&""===t.value)return void I((0,z.__)("Please enter a valid license key!","cartflows"));const a=e.target.getAttribute("data-nonce");let r=e.target.getAttribute("data-action");D({licenseButtonText:(0,z.__)("Processing","cartflows"),licenseActivationProcess:!0}),r="activate_license"===r?"cartflows_activate_license":"cartflows_deactivate_license";const n=new window.FormData;n.append("action",r),n.append("license_key",t.value),n.append("security",a),A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((a=>{if(a.success)e.target.blur(),"cartflows_activate_license"===r?(L(!0),D({licenseButtonText:N,licenseActivationProcess:!1}),x(t.value),t.classList.add("disabled"),t.readOnly=!0,s({status:"UPDATE_LICENSE_STATUS",license_status:"Activated"})):(L(!1),D({licenseButtonText:y,licenseActivationProcess:!1}),x(!1),t.classList.remove("disabled"),t.readOnly=!1,t.value="",s({status:"UPDATE_LICENSE_STATUS",license_status:"Deactivated"}));else{const t=a.data.error||a.data||"";I(t||(0,z.__)("Unknown error occurred while activating the license.","cartflows")),e.target.blur(),D({licenseButtonText:y,licenseActivationProcess:!1})}}))};return(0,e.createElement)("div",{className:"wcf-general-settings h-full"},T?.title&&""!==T?.title&&(0,e.createElement)("div",{className:"wcf-general-settings--heading-wrapper mx-auto max-w-7xl border-b border-gray-200 pb-6"},(0,e.createElement)("h1",{className:"wcf-general-settings--heading text-2xl font-semibold text-gray-900"},T.title)),!wcfCartflowsPro()&&"offer"===a.tab&&(0,e.createElement)("div",{className:"wcf-order-setting-upgrade-cta-wrapper"},(0,e.createElement)(Dy,{heading:(0,z.__)("Unlock Premium Features with CartFlows PRO!","cartflows"),subHeading:(0,z.__)("Get the tools you need to create powerful sales funnels, increase conversions, and grow your business with ease.","cartflows")})),"integrations"===a.tab&&(0,e.createElement)("div",{className:"mx-auto max-w-7xl wcf-facebook-pixel-setting-wrapper"},(0,e.createElement)(uy,{title:(0,z.__)("Facebook Pixel","cartflows"),settings:r.settings["facebook-pixel"],meta_key:"_cartflows_facebook"}),(0,e.createElement)(uy,{title:(0,z.__)("Google Analytics Pixel","cartflows"),settings:r.settings["ga-analytics"],meta_key:"_cartflows_google_analytics"}),(0,e.createElement)(uy,{title:(0,z.__)("Google Ads Pixel","cartflows"),settings:r.settings["google-ads"],meta_key:"_cartflows_google_ads"}),(0,e.createElement)(uy,{title:(0,z.__)("Tiktok Pixel","cartflows"),settings:r.settings["tiktok-pixel"],meta_key:"_cartflows_tiktok"}),(0,e.createElement)(uy,{title:(0,z.__)("Pinterest Tag","cartflows"),settings:r.settings["pinterest-tag"],meta_key:"_cartflows_pinterest"}),(0,e.createElement)(uy,{title:(0,z.__)("Snapchat Pixel","cartflows"),settings:r.settings["snapchat-pixel"],meta_key:"_cartflows_snapchat"}),(0,e.createElement)(uy,{title:(0,z.__)("Google Auto Address","cartflows"),settings:r.settings["g-address-autocomplete"],meta_key:"_cartflows_google_auto_address"})),"other"===a.tab&&(0,e.createElement)("div",{className:"mx-auto max-w-7xl"},(0,e.createElement)("div",{className:"wcf-field wcf-re-generate-css-field"},(0,e.createElement)("div",{className:"wcf-field__data flex items-center gap-6"},(0,e.createElement)("div",{className:"wcf-field__data--content-left flex-[0_0_35%]"},(0,e.createElement)("div",{className:"wcf-field__data--label text-sm font-medium text-left w-full md:w-80 lg:w-80"},(0,e.createElement)("label",null,(0,z.__)("Regenerate Inline CSS","cartflows")))),(0,e.createElement)("div",{className:"wcf-field__data--content-right"},(0,e.createElement)("div",{className:"flex justify-center"},(0,e.createElement)("button",{className:"inline-flex gap-1.5 wcf-button wcf-secondary-button",onClick:function(e){e.preventDefault(),m((0,z.__)(" Regenerating….","cartflows")),u(!0);const t=new window.FormData;t.append("action","cartflows_regenerate_css_for_steps"),t.append("security",cartflows_admin.regenerate_css_for_steps_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{t.success&&(m((0,z.__)("Regenerated","cartflows")),setTimeout((()=>{m((0,z.__)("Regenerate Now","cartflows"))}),3e3),u(!1),e.target.blur())}))},type:"button"},(0,e.createElement)(zr,{className:`w-4 h-4 stroke-2 ${c?"wcf-processing animate-spin":""} `}),d)))),(0,e.createElement)("div",{className:"wcf-field__desc text-sm font-normal text-gray-500 my-2"},Nr((0,z.sprintf)(
// translators: %1$1s: link html start, %2$2s: link html end
// translators: %1$1s: link html start, %2$2s: link html end
(0,z.__)("If you are using the CartFlows Shortcode and using the Design Settings, then this option will regenerate the steps inline CSS. To learn more, %1$1s Click here %2$2s.","cartflows"),'<a href="https://cartflows.com/docs/regenerate-the-steps-dynamic-css-for-shortcodes/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs" target="_blank"></a>',"</a>"))))),"version_control"===a.tab&&(0,e.createElement)(gy,null),"user_role_manager"===a.tab&&(0,e.createElement)(dy,{roles:S}),T?.fields&&(0,e.createElement)("div",{className:"wcf-general-settings--table-wrapper"},(0,e.createElement)(ry,{settings:T,meta_key:k})),"permalink"===a.tab&&(0,e.createElement)("div",{className:"wcf-general-settings__save-button pt-6"},(0,e.createElement)("button",{name:"reset",id:"reset",type:"submit",className:`wcf-set-default-permalink wcf-button ${"processing"===h?"wcf-disabled":"wcf-secondary-button"} inline-flex gap-1.5 items-center rounded-md border brand-border bg-brand-light text-brand px-4 py-2 font-regular shadow-sm focus:outline-none  text-sm button-update-settings`,onClick:function(e){e.preventDefault(),f({buttonText:(0,z.__)("Updating","cartflows"),buttonProcess:"processing"});const t=new window.FormData;t.append("action","cartflows_save_global_settings"),t.append("security",cartflows_admin.save_global_settings_nonce),t.append("setting_tab","permalink"),t.append("reset",!0),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{A()({path:"/cartflows/v1/admin/commonsettings/"}).then((e=>{n({type:"SET_SETTINGS",commondata:e})})),f({buttonText:(0,z.__)("Permalinks reset successfully","cartflows"),buttonProcess:"saved"}),setTimeout((()=>{f({buttonText:(0,z.__)("Reset Permalinks Settings","cartflows"),buttonProcess:!1})}),3e3)}))}},"processing"===h&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin"}),"saved"===h&&(0,e.createElement)(Er,{className:"w-4 h-4 stroke-2"}),M),(0,e.createElement)(lh,{content:(0,z.sprintf)(
// translators: %1$s: link html start, %2$s: link html end
// translators: %1$s: link html start, %2$s: link html end
(0,z.__)("For more information about the CartFlows Permalink settings please %1$sClick here.%2$s","cartflows"),'<a href="https://cartflows.com/docs/cartflows-permalink-settings/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs" target="_blank">',"</a>")})),wcfCartflowsPro()&&"license"===a.tab&&(0,e.createElement)("div",{className:"wcf-general-settings--footer-wrapper mt-4"},_&&(0,e.createElement)("div",{className:"license-errors text-primary-500 mb-4"},Nr(_)),E?(0,e.createElement)("button",{type:"button",className:"inline-flex justify-center items-center gap-1.5 rounded bg-red-400 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-red-500 cartflows-deactivate-license","data-action":"deactivate_license","data-nonce":cartflows_admin.license_deactivation_nonce,onClick:O},v&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin "}),j):(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button cartflows-activate-license","data-action":"activate_license","data-nonce":cartflows_admin.license_activation_nonce,onClick:O},v&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin "}),j)))};function vy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))}const _y=t.forwardRef(vy),Iy=function(t){const[{},a]=g();return(0,e.createElement)("div",{className:"wcf-no-access-error-wrapper p-8"},(0,e.createElement)("button",{type:"button",className:"bg-white text-gray-400 hover:text-gray-500 focus:outline-none p-2 absolute top-3 right-4",onClick:()=>{t.closeCallback(),setTimeout((()=>a({status:"RESET"})),500)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"})),(0,e.createElement)("div",{className:"wcf-no-access--content flex flex-col items-center gap-2 text-center"},(0,e.createElement)("div",{className:"wcf-no-access--icon"},(0,e.createElement)(_y,{className:"h-9 w-9 text-primary-500","aria-hidden":"true"})),(0,e.createElement)("h2",{className:"wcf-no-access--title text-xl text-gray-800 font-semibold"},(0,z.__)("Oops! You don't have access to this page.","cartflows")),(0,e.createElement)("div",{className:"wcf-no-access--message text-sm text-gray-600"},(0,z.__)("You don't have permission to access this page. Please reach out to your admin for help.","cartflows")),(0,e.createElement)("div",{className:"wcf-no-access--action-link mt-6"},(0,e.createElement)(I,{key:"wcf-back-to-home",to:{pathname:"admin.php",search:"?page=cartflows"},className:"wcf-no-access-link wcf-button wcf-primary-button focus:text-white",onClick:()=>{t.closeCallback()}},(0,z.__)("Back to Dashboard","cartflows")))))},Ey=function(t){const{fontSize:a,width:r,style:n}=t;return(0,e.createElement)("div",{className:"wcf-skeleton bg-gray-200 block leading-5 wcf-skeleton--text wcf-skeleton--wave",style:{fontSize:a,width:r,...n}})},Ly=function(t){const{height:a,style:r}=t;return(0,e.createElement)("div",{className:"wcf-skeleton-base wcf-skeleton--spacer h-6",style:{height:a,...r}})},Ty=function(t){const{width:a,height:r,style:n}=t;return(0,e.createElement)("div",{className:"wcf-skeleton block leading-5 wcf-skeleton--rect bg-gray-200 rounded-md animate-pulse",style:{width:a,height:r,...n}})},Ay=function(){return(0,e.createElement)("div",{className:"wcf-global-settings-nav"},(0,e.createElement)("div",{className:"wcf-global-setting-header py-3.5 px-6 flex justify-between items-center border-b border-gray-200"},(0,e.createElement)("div",{className:"wcf-global-setting--left-panel flex justify-between gap-3.5"},(0,e.createElement)("div",{className:"wcf-global-setting--heading-title"},(0,e.createElement)("h2",{className:"text-2xl font-semibold"},"Settings"))),(0,e.createElement)("div",{className:"wcf-global-setting--right-panel flex justify-between gap-5"},(0,e.createElement)("div",{className:"wcf-field wcf-submit wcf-submit-field"},(0,e.createElement)("div",{className:"bg-gray-300 w-32 h-full p-5 rounded-md animate-pulse"})))),(0,e.createElement)("div",{className:"wcf-setting-popup--tab-wrapper flex gap-3"},(0,e.createElement)("div",{className:"wcf-global-settings-nav__tabs p-4 w-1/4 border-r border-gray-200"},Array(5).fill().map(((t,a)=>(0,e.createElement)("div",{className:"wcf-global-settings-nav__tab mb-3",key:a},(0,e.createElement)(Ty,{height:"45px"}))))),(0,e.createElement)("div",{className:"wcf-global-settings-nav__content w-9/12 p-4"},(0,e.createElement)(Ey,{fontSize:"35px",width:"225px"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"65%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"300px"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"45%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"210px"}),(0,e.createElement)(Ey,{width:"65%"}),(0,e.createElement)(Ey,{width:"65%"}),(0,e.createElement)(Ey,{width:"45%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"300px"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"45%"}))))};function zy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const ky=t.forwardRef(zy);function Sy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}const Oy=t.forwardRef(Sy);function Cy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))}const Yy=t.forwardRef(Cy);function Uy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"}))}const Qy=t.forwardRef(Uy);function Py({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))}const Fy=t.forwardRef(Py),Ry=function(a){const[{globaldata:r},n]=l(),[i,s]=(0,t.useState)(a.current_tab),[{},o]=g();let c=!0;void 0===r.length&&(c=!1),pr(),(0,t.useEffect)((()=>{let e=!0;return r.length<1&&(async()=>{A()({path:"/cartflows/v1/admin/commonsettings/"}).then((t=>{e&&(o({status:"RESET"}),n({type:"SET_SETTINGS",commondata:t}))}))})(),()=>{e=!1}}),[]);const u=[{name:(0,z.__)("General","cartflows"),slug:"general",icon:(0,e.createElement)(Rl,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("Order","cartflows"),slug:"offer",icon:(0,e.createElement)(ky,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("Integrations","cartflows"),slug:"integrations",icon:(0,e.createElement)(zr,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("User Role Manager","cartflows"),slug:"user_role_manager",icon:(0,e.createElement)(Oy,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("Permalink","cartflows"),slug:"permalink",icon:(0,e.createElement)(Yy,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("Advanced","cartflows"),slug:"other",icon:(0,e.createElement)(Qy,{className:"mr-3 h-6 w-6 flex-shrink-0 "})},{name:(0,z.__)("Version Control","cartflows"),slug:"version_control",icon:(0,e.createElement)((({className:t})=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"}),(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"}))),{className:"mr-3 h-6 w-6 flex-shrink-0"})}];return wcfCartflowsPro()&&u.push({name:(0,z.__)("License","cartflows"),slug:"license",icon:(0,e.createElement)(Fy,{className:"mr-3 h-6 w-6 flex-shrink-0 "})}),a.currentUserHasAccess?c?(0,e.createElement)(Ay,null):(0,e.createElement)("form",{className:"wcf-global-settings-form",onSubmit:function(e){e.preventDefault();const t=new window.FormData(e.target);t.append("action","cartflows_save_global_settings"),t.append("security",cartflows_admin.save_global_settings_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{o({status:"SAVED"}),e.success?A()({path:"/cartflows/v1/admin/commonsettings/"}).then((e=>{n({type:"SET_SETTINGS",commondata:e}),n({type:"SET_PAGE_BUILDER",pagebuilder:e.options["_cartflows_common[default_page_builder]"]})})):console.log("Error")}))}}," ",(0,e.createElement)("div",{className:"wcf-global-setting-header py-3.5 px-6 flex justify-between items-center border-b border-gray-200"},(0,e.createElement)("div",{className:"wcf-global-setting--left-panel flex justify-between gap-3.5"},(0,e.createElement)("div",{className:"wcf-global-setting--heading-title"},(0,e.createElement)("h2",{className:"text-2xl font-semibold"},(0,z.__)("Settings","cartflows")))),(0,e.createElement)("div",{className:"wcf-global-setting--right-panel flex justify-between gap-5"},!["version_control","automations"].includes(i)&&(0,e.createElement)(Cr,{className:"wcf-button wcf-button--primary inline-flex items-center rounded-md border border-transparent bg-orange-600 px-3 py-2 text-sm font-medium leading-4 text-white shadow-sm hover:bg-orange-700 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2"}),(0,e.createElement)("button",{type:"button",className:"bg-white text-gray-400 hover:text-gray-500 focus:outline-none pl-4 pt-1 pb-1 border-l border-gray-200",onClick:()=>{a.closeCallback(),setTimeout((()=>o({status:"RESET"})),500)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"})))),(0,e.createElement)("div",{className:"wcf-global-settings-metabox"},(0,e.createElement)("div",{className:"wcf-global-settings-metabox__tabs flex flex-col md:flex-row"},(0,e.createElement)("div",{className:"wcf-global-settings-metabox__tabs-menu flex md:w-64 lg:w-64 flex-col border-r border-gray-200 w-full"},(0,e.createElement)("div",{className:"hidden md:flex flex-grow flex-col overflow-y-auto bg-white"},(0,e.createElement)("div",{className:"flex flex-1 flex-col"},(0,e.createElement)("nav",{className:"flex-1 space-y-1 p-4"},u.map((t=>{const a=t.slug===i?"wcf-settings-nav__active bg-primary-25 text-primary-600":"wcf-settings-nav text-gray-600";return(0,e.createElement)("a",{className:`wcf-button-animate cursor-pointer group flex items-center px-3.5 py-4 text-sm hover:text-primary-600 hover:bg-primary-25 font-medium rounded-md ${a}`,onClick:()=>s(t.slug),key:t.slug,id:t.slug},t.icon,t.name)}))))),(0,e.createElement)("div",{className:"grid grid-cols-1 sm:hidden px-6 py-4"},(0,e.createElement)("select",{"aria-label":(0,z.__)("Select a Settings Tab","cartflows"),className:"w-full !max-w-full h-auto input-field !pl-3 !pr-6 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",onChange:e=>s(e.target.value)},u.map((t=>(0,e.createElement)("option",{key:t.slug,id:t.slug,value:t.slug},t.name)))))),(0,e.createElement)("div",{className:"wcf-global-settings-metabox__current-tab flex flex-1 flex-col overflow-y-scroll"},(0,e.createElement)("main",null,(0,e.createElement)("div",{className:"px-6 py-6"},(0,e.createElement)(jy,{tab:i}),(0,e.createElement)("input",{type:"hidden",name:"setting_tab",defaultValue:i}))))))):(0,e.createElement)(Iy,{closeCallback:a.closeCallback})},Hy=function(t){const a=cartflows_admin?.current_user_can_manage_cartflows;return(0,e.createElement)(o,{initialState:u,reducer:d},(0,e.createElement)(Ry,{closeCallback:t.closeCallback,current_tab:t.current_tab?t.current_tab:"general",currentUserHasAccess:a}))};function By(a){const r=cartflows_admin?.current_user_can_manage_cartflows;return(0,e.createElement)(Pt.Root,{show:a.isOpen,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"wcf-global-setting--wrapper relative z-20",onClose:a.closeCallback},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"wcf-global-setting-wrapper-overflow fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"wcf-global-setting--content-wrapper z-10"},(0,e.createElement)("div",{className:"fixed inset-0 flex items-center justify-center p-4 text-center ml-0 sm:ml-40 lg:ml-40"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"wcf-global-setting--content relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all w-full sm:my-8 sm:w-full "+(r?"sm:max-w-6xl":"sm:max-w-md")},(0,e.createElement)("div",{className:"wcf-global-setting--panel overflow-y-auto"},(0,e.createElement)(Hy,{closeCallback:a.closeCallback,current_tab:a.current_tab?a.current_tab:"general",currentUserHasAccess:r}))))))))}function Wy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z"}))}const Vy=t.forwardRef(Wy);function Zy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))}const Gy=t.forwardRef(Zy);function Xy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}const Jy=t.forwardRef(Xy);function qy({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}const $y=t.forwardRef(qy);function Ky({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const eN=t.forwardRef(Ky),tN=({item:a,key:r})=>{const[n,i]=(0,t.useState)(!1),s=cartflows_admin.cf_docs_data.docs.filter((e=>e.category.includes(a[0])));return(0,e.createElement)("div",{key:r,className:"wcf-docs--category border-t border-slate-200 first:border-0 py-5 pr-5"},(0,e.createElement)("button",{onClick:()=>{i(!n)},className:"w-full flex justify-between items-center"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)(Vy,{className:"h-6 w-6 text-gray-500"}),(0,e.createElement)("h4",{className:"text-base font-medium leading-[1.625rem] text-slate-800 ml-2"},Nr(a[1].name))),(0,e.createElement)("div",null,n?(0,e.createElement)(Gy,{className:"h-6 w-6 text-gray-500"}):(0,e.createElement)(Jy,{className:"h-6 w-6 text-gray-500"}))),n&&(0,e.createElement)("div",{className:"wcf-docs-category--docs-list mt-5 ml-2"},(0,e.createElement)("div",{className:"space-y-1 mb-5"},s.splice(0,5).map((t=>(0,e.createElement)("a",{href:t.url,target:"_blank",className:"flex items-center justify-between text-slate-800 rounded-md p-2 pl-0 hover:bg-gray-50 group cursor-pointer focus:outline-0",key:t.title,rel:"noreferrer"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)($y,{className:"h-3 w-3 text-gray-500"}),(0,e.createElement)("div",{className:"text-base leading-[1.625rem] text-slate-800 ml-2"},Nr(t.title))),(0,e.createElement)("div",{className:"text-slate-600 invisible group-hover:visible"},(0,e.createElement)(eN,{className:"h-5 w-5"})))))),(0,e.createElement)("a",{href:`https://cartflows.com/docs-category/${a[0]}/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs`,target:"_blank",className:"wcf-docs-category--docs-list-read-more text-primary-500 hover:text-primary-600 text-sm font-medium leading-4 flex items-center",rel:"noreferrer"},(0,e.createElement)("span",{className:"mr-2"},`View all ${Nr(a[1].name)} docs`),(0,e.createElement)(eN,{className:"h-5 w-5"}))))},aN=({data:t})=>(0,e.createElement)("div",null,t&&t.map((t=>(0,e.createElement)("a",{href:t.url,target:"blank",className:"flex items-center justify-between text-slate-800 rounded-md p-2 pl-0 hover:bg-gray-50 group cursor-pointer",key:t.title},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)($y,{className:"h-3 w-3 text-gray-500"}),(0,e.createElement)("div",{className:"text-base leading-[1.625rem] text-slate-800 ml-2"},Nr(t.title))),(0,e.createElement)("div",{className:"text-slate-600 invisible group-hover:visible"},(0,e.createElement)(eN,{className:"h-5 w-5"}))))));function rN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const nN=t.forwardRef(rN);function iN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.712 4.33a9.027 9.027 0 0 1 1.652 1.306c.51.51.944 1.064 1.306 1.652M16.712 4.33l-3.448 4.138m3.448-4.138a9.014 9.014 0 0 0-9.424 0M19.67 7.288l-4.138 3.448m4.138-3.448a9.014 9.014 0 0 1 0 9.424m-4.138-5.976a3.736 3.736 0 0 0-.88-1.388 3.737 3.737 0 0 0-1.388-.88m2.268 2.268a3.765 3.765 0 0 1 0 2.528m-2.268-4.796a3.765 3.765 0 0 0-2.528 0m4.796 4.796c-.181.506-.475.982-.88 1.388a3.736 3.736 0 0 1-1.388.88m2.268-2.268 4.138 3.448m0 0a9.027 9.027 0 0 1-1.306 1.652c-.51.51-1.064.944-1.652 1.306m0 0-3.448-4.138m3.448 4.138a9.014 9.014 0 0 1-9.424 0m5.976-4.138a3.765 3.765 0 0 1-2.528 0m0 0a3.736 3.736 0 0 1-1.388-.88 3.737 3.737 0 0 1-.88-1.388m2.268 2.268L7.288 19.67m0 0a9.024 9.024 0 0 1-1.652-1.306 9.027 9.027 0 0 1-1.306-1.652m0 0 4.138-3.448M4.33 16.712a9.014 9.014 0 0 1 0-9.424m4.138 5.976a3.765 3.765 0 0 1 0-2.528m0 0c.181-.506.475-.982.88-1.388a3.736 3.736 0 0 1 1.388-.88m-2.268 2.268L4.33 7.288m6.406 1.18L7.288 4.33m0 0a9.024 9.024 0 0 0-1.652 1.306A9.025 9.025 0 0 0 4.33 7.288"}))}const sN=t.forwardRef(iN);function oN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12h15m0 0-6.75-6.75M19.5 12l-6.75 6.75"}))}const lN=t.forwardRef(oN);function cN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"}))}const uN=t.forwardRef(cN);function dN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))}const mN=t.forwardRef(dN),gN=(e=>{let t;return function(...a){clearTimeout(t),t=setTimeout((()=>e.apply(this,a)),500)}})((e=>{if(e&&e.length>5){const t=new window.FormData;t.append("action","cartflows_track_kb_search"),t.append("search_term",e),t.append("security",cartflows_admin.track_kb_search_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).catch((e=>{console.error("Error tracking search term:",e)}))}})),pN=({setOpen:a})=>{const[r,n]=(0,t.useState)(""),[i,s]=(0,t.useState)(null),[o,l]=(0,t.useState)((0,z.__)("Sync Knowledge Base","cartflows"));return(0,t.useEffect)((()=>{!function(){if(""===r)s(null);else{const e=cartflows_admin.cf_docs_data.docs.filter((e=>e.title.toLowerCase().includes(r.toLowerCase())));s(e)}}()}),[r]),(0,e.createElement)("main",{className:"bg-white"},(0,e.createElement)("div",{className:"wcf-docs--header w-full flex justify-between items-center bg-white px-4 sm:px-8 py-4 sm:py-6 border-b border-gray-200"},(0,e.createElement)("div",{className:"wcf-docs-header--title flex items-center gap-2 sm:gap-6"},(0,e.createElement)("h1",{className:"wcf-docs--heading text-[18px] lg:text-[24px] flex-1 sm:flex-[3] flex-wrap font-semibold text-gray-800"},(0,z.__)("Knowledge Base","cartflows")),0!==cartflows_admin.cf_docs_data.length&&(0,e.createElement)("div",{className:"wcf-docs--search relative flex-3 min-w-0 max-w-sm"},(0,e.createElement)(cg,{type:"search",placeholder:(0,z.__)("Search knowledge base","cartflows"),class:"cf-docs-search--field w-[40vw] lg:w-[300px] !leading-none !pl-10 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !placeholder-gray-400",onChangeCB:e=>{n(e),gN(e)}}),(0,e.createElement)("div",{className:"wcf-docs--search-close absolute top-1/2 -translate-y-1/2 left-3 text-gray-400 cursor-pointer hover:text-primary-500"},(0,e.createElement)(nN,{className:"h-5 w-5"})))),(0,e.createElement)("div",{className:"wcf-docs--close-button flex items-center"},(0,e.createElement)("button",{onClick:()=>a(!1)},(0,e.createElement)(Sr,{className:"size-[18px] md:size-6 lg:size-7 text-gray-500"})))),(0,e.createElement)("div",{className:"wcf-docs--content mx-auto w-full flex flex-col"},(0,e.createElement)("div",{className:"flex flex-col lg:flex-row gap-5"},(0,e.createElement)("div",{className:"wcf-docs--docs-list flex-1 pl-8 py-6 pr-1.5 border-r border-gray-200"},(0,e.createElement)("div",{className:"overflow-y-auto max-h-[610px] pr-2.5"},i&&i.length>0&&(0,e.createElement)("div",{className:"mb-8"},(0,e.createElement)(aN,{data:i})),cartflows_admin.cf_docs_data&&cartflows_admin.cf_docs_data.categories&&Object.entries(cartflows_admin.cf_docs_data.categories).map(((t,a)=>(0,e.createElement)(tN,{key:a,item:t}))),0===cartflows_admin.cf_docs_data.length&&(0,e.createElement)("div",{className:"wcf-docs--no-flows-box h-full flex items-center justify-center"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)(_y,{className:"mx-auto h-12 w-12 text-gray-400 stroke-1","aria-hidden":"true"}),(0,e.createElement)("h3",{className:"text-base font-semibold text-gray-800"},(0,z.__)("No Docs Founds","cartflows")),(0,e.createElement)("p",{className:"mt-1 text-sm text-gray-500"},(0,z.__)("Please try syncing the docs library","cartflows")),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-primary-button",onClick:function(e){e.preventDefault(),l((0,z.__)("Syncing…","cartflows"));const t=new window.FormData;t.append("action","cartflows_sync_kb_docs"),t.append("security",cartflows_admin.sync_kb_docs_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{l((0,z.__)("Synced. Reloading..","cartflows")),window.location.reload()}))}},o)))))),(0,e.createElement)("div",{className:"wcf-docs--help-section p-6 md:py-6 md:pr-6 w-full md:w-1/3 lg:w-1/3"},(0,e.createElement)("div",{className:"wcf-docs--help-box p-6 border border-gray-200 rounded-lg"},(0,e.createElement)("div",{className:"flex gap-4"},(0,e.createElement)("div",{className:""},(0,e.createElement)(sN,{className:"h-6 w-6 text-gray-400"})),(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"flex align-center"},(0,e.createElement)("h3",{className:"text-base font-medium text-gray-800 flex"},(0,z.__)("Need Help?","cartflows"))),(0,e.createElement)("div",{className:"mt-2 text-sm text-gray-400 font-normal"},(0,z.__)("We aim to answer all priority support requests within 2-3 hours.","cartflows"),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:"https://cartflows.com/support?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=support",className:"mt-2 inline-flex gap-1.5 items-center text-primary-500 hover:text-primary-600 text-sm font-medium",target:"_blank",rel:"noreferrer"},(0,z.__)("Get Support","cartflows"),(0,e.createElement)(lN,{className:"h-4 w-4"}))))))),(0,e.createElement)("div",{className:"wcf-docs--help-box--all-docs p-6 border border-gray-200 rounded-lg mt-4"},(0,e.createElement)("div",{className:"flex gap-4"},(0,e.createElement)("div",{className:""},(0,e.createElement)(uN,{className:"h-6 w-6 text-gray-400"})),(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"flex align-center"},(0,e.createElement)("h3",{className:"text-base font-medium text-gray-800 flex"},(0,z.__)("All Documentation","cartflows"))),(0,e.createElement)("div",{className:"mt-2 text-sm text-gray-400 font-normal"},(0,z.__)("Browse documentation, reference material, and tutorials for CartFlows.","cartflows"),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:"https://cartflows.com/docs?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs",className:"mt-2 inline-flex gap-1.5 items-center text-primary-500 hover:text-primary-600 text-sm font-medium",target:"_blank",rel:"noreferrer"},(0,z.__)("View documentation","cartflows"),(0,e.createElement)(eN,{className:"h-4 w-4"}))))))),(0,e.createElement)("div",{className:"wcf-docs--help-box--all-videos p-6 border border-gray-200 rounded-lg mt-4"},(0,e.createElement)("div",{className:"flex gap-4"},(0,e.createElement)("div",{className:""},(0,e.createElement)(mN,{className:"h-6 w-6 text-gray-400"})),(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"flex align-center"},(0,e.createElement)("h3",{className:"text-base font-medium text-gray-800 flex"},(0,z.__)("Videos","cartflows"))),(0,e.createElement)("div",{className:"mt-2 text-sm text-gray-400 font-normal"},(0,z.__)("Browse tutorial videos on our YouTube channel.","cartflows"),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:"https://www.youtube.com/c/CartFlows",className:"mt-2 inline-flex gap-1.5 items-center text-primary-500 hover:text-primary-600 text-sm font-medium",target:"_blank",rel:"noreferrer"},(0,z.__)("Youtube Channel","cartflows"),(0,e.createElement)(eN,{className:"h-4 w-4"})))))))))))},fN=()=>{const[a,r]=(0,t.useState)(!1);return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("a",{to:"//cartflows.com/contact/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=support",target:"_blank",className:"bg-white p-4 text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-offset-2 cursor-pointer relative wcf-inline-tooltip","data-tooltip":(0,z.__)("Support","cartflows"),onClick:()=>r(!0)},(0,e.createElement)(ph,{className:"w-6 h-6 stroke-1","aria-hidden":"true"})),(0,e.createElement)(Pt.Root,{show:a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"wcf-knowledge-base--wrapper relative z-20",onClose:()=>{}},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"wcf-knowledge-base-wrapper-overflow fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"wcf-knowledge-base--content-wrapper fixed left-0 md:left-28 lg:left-28 right-0 bottom-0 top-4 z-0 w-full"},(0,e.createElement)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"wcf-knowledge-base--content relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-6xl"},(0,e.createElement)(pN,{setOpen:r}))))))))};var MN=function(){return MN=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},MN.apply(this,arguments)},hN=function(e,t,a,r){return new(a||(a=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))},yN=function(e,t){var a,r,n,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=o(0),s.throw=o(1),s.return=o(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(o){return function(l){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(i=0)),i;)try{if(a=1,r&&(n=2&o[0]?r.return:o[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;switch(r=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((n=(n=i.trys).length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(6===o[0]&&i.label<n[1]){i.label=n[1],n=o;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(o);break}n[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},NN={rssFeedURL:"",selector:"",uniqueKey:"",loaderIcon:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\n\t<circle cx="50" cy="50" fill="none" stroke="#9f9f9f" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\n\t\t<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\n\t</circle>\n\t</svg>',viewAll:{link:"",label:"View All"},triggerButton:{label:"",icon:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.61703 13.1998C8.04294 13.1503 7.46192 13.125 6.875 13.125H6.25C4.17893 13.125 2.5 11.4461 2.5 9.375C2.5 7.30393 4.17893 5.625 6.25 5.625H6.875C7.46192 5.625 8.04294 5.59972 8.61703 5.55018M8.61703 13.1998C8.82774 14.0012 9.1031 14.7764 9.43719 15.5195C9.64341 15.9782 9.48685 16.5273 9.05134 16.7787L8.50441 17.0945C8.04492 17.3598 7.45466 17.1921 7.23201 16.7106C6.70983 15.5811 6.30451 14.3866 6.03155 13.1425M8.61703 13.1998C8.29598 11.9787 8.125 10.6968 8.125 9.375C8.125 8.05316 8.29598 6.77125 8.61703 5.55018M8.61703 13.1998C11.25 13.427 13.737 14.1643 15.9789 15.3124M8.61703 5.55018C11.25 5.323 13.737 4.58569 15.9789 3.43757M15.9789 3.43757C15.8808 3.12162 15.7751 2.80903 15.662 2.5M15.9789 3.43757C16.4247 4.87356 16.7131 6.37885 16.8238 7.93326M15.9789 15.3124C15.8808 15.6284 15.7751 15.941 15.662 16.25M15.9789 15.3124C16.4247 13.8764 16.7131 12.3711 16.8238 10.8167M16.8238 7.93326C17.237 8.2772 17.5 8.79539 17.5 9.375C17.5 9.95461 17.237 10.4728 16.8238 10.8167M16.8238 7.93326C16.8578 8.40942 16.875 8.8902 16.875 9.375C16.875 9.8598 16.8578 10.3406 16.8238 10.8167" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',beforeBtn:"",afterBtn:"",className:"",onClick:function(){}},notification:{setLastPostUnixTime:null,getLastPostUnixTime:null},flyout:{title:"What's New?",innerContent:{titleLink:!0,additionalClasses:[]},excerpt:{wordLimit:500,moreSymbol:"&hellip;",readMore:{label:"Read More",className:""}},className:"",closeOnEsc:!0,closeOnOverlayClick:!0,closeBtnIcon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 18L18 6M6 6L18 18" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',formatDate:null,onOpen:function(){},onClose:function(){},onReady:function(){}}},wN=function(){function e(e){this.rssFeedURLs=[],this.lastPostUnixTime=0,this.multiLastPostUnixTime={},this.notificationsCount=0,this.multiNotificationCount={},this.hasNewFeeds=!1,this.multiHasNewFeeds={},this.validateArgs(e),this.parseDefaults(e),this.setElement(),this.getElement()?(this.setID(),this.setRSSFeedURLs(),xN.setInstanceID(this.getID()),this.RSS_Fetch_Instance=new bN(this),this.RSS_View_Instance=new DN(this),this.setNotificationsCount(),this.setTriggers()):console.warn("WNR: Cannot find element with",this.getArgs().selector)}return e.prototype.validateArgs=function(e){["rssFeedURL","selector","uniqueKey"].forEach((function(t){if(!e[t])throw new Error("".concat(t," is a required argument. It cannot be empty or undefined."));if("rssFeedURL"===t){var a=e[t];Array.isArray(a)&&a.forEach((function(e){if(!(null==e?void 0:e.key))throw new Error('The parameter "key" is required for "'.concat(t,'" parameter in multi-feed mode.'));if(e.key.includes(" "))throw new Error('The parameter "key" cannot have spaces for "'.concat(t,'" parameter in multi-feed mode. Ref Key: "').concat(e.key,'"'))}))}}))},e.prototype.parseDefaults=function(e){var t,a;this.args=MN(MN(MN({},NN),e),{viewAll:MN(MN({},NN.viewAll),null==e?void 0:e.viewAll),triggerButton:MN(MN({},NN.triggerButton),null==e?void 0:e.triggerButton),flyout:MN(MN(MN({},NN.flyout),null==e?void 0:e.flyout),{innerContent:MN(MN({},NN.flyout.innerContent),null===(t=null==e?void 0:e.flyout)||void 0===t?void 0:t.innerContent),excerpt:MN(MN({},NN.flyout.excerpt),null===(a=null==e?void 0:e.flyout)||void 0===a?void 0:a.excerpt)})})},e.prototype.getArgs=function(){return this.args},e.prototype.setElement=function(){this.element=document.querySelector(this.args.selector)},e.prototype.getElement=function(){return this.element},e.prototype.setID=function(){var e=[this.getArgs().selector,this.getArgs().uniqueKey],t=this.getArgs().rssFeedURL;Array.isArray(t)?t.forEach((function(t){e.push(t.key)})):e.push(t),this.ID=btoa(e.join("-")).slice(-12).replace(/=/g,"")+"-"+this.getArgs().uniqueKey},e.prototype.isMultiFeedRSS=function(){return"string"!=typeof this.getArgs().rssFeedURL},e.prototype.setRSSFeedURLs=function(){var e=this,t=this.getArgs().rssFeedURL;this.isMultiFeedRSS()?Array.isArray(t)&&t.forEach((function(t){e.rssFeedURLs.push(t)})):this.rssFeedURLs.push({key:null,label:"",url:t.toString()})},e.prototype.getRSSFeedURLs=function(){return this.rssFeedURLs},e.prototype.getID=function(){return this.ID},e.prototype.setNotificationsCount=function(){return hN(this,void 0,void 0,(function(){var e=this;return yN(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.getRSSFeedURLs().map((function(t){return hN(e,[t],void 0,(function(e){var t,a=e.key;return yN(this,(function(e){switch(e.label){case 0:return t=0,"function"!=typeof this.getArgs().notification.getLastPostUnixTime?[3,2]:[4,this.getArgs().notification.getLastPostUnixTime(a,this)];case 1:return t=e.sent(),[3,3];case 2:t=xN.getLastPostUnixTime(a),e.label=3;case 3:return this.isMultiFeedRSS()?this.multiLastPostUnixTime[a]=+t:this.lastPostUnixTime=+t,[2]}}))}))})))];case 1:return t.sent(),[4,this.RSS_Fetch_Instance.fetchData().then((function(t){Object.keys(t).forEach((function(a){var r=t[a];if(r.length){e.multiNotificationCount[a]=0;var n=+r[0].date,i=e.isMultiFeedRSS()?e.multiLastPostUnixTime[a]:e.lastPostUnixTime;n>i&&(r.forEach((function(t){t.date>i&&(e.isMultiFeedRSS()&&(e.multiNotificationCount[a]++,e.multiHasNewFeeds[a]=!0),e.notificationsCount++,e.hasNewFeeds=!0)})),e.RSS_View_Instance.setNotification(e.notificationsCount))}}))})).catch(console.error)];case 2:return t.sent(),[2]}}))}))},e.prototype.getNotificationsCount=function(){return this.notificationsCount},e.prototype.setTriggers=function(){var e=this,t=document.getElementById(this.RSS_View_Instance.getTriggerButtonID()),a=document.getElementById(this.RSS_View_Instance.getFlyoutID()),r=a.querySelector(".whats-new-rss-flyout-inner-content"),n=document.getElementById(this.RSS_View_Instance.getFlyoutCloseBtnID()),i=document.getElementById(this.RSS_View_Instance.getFlyoutMultiFeedNavID()),s=function(t){e.RSS_Fetch_Instance.fetchData().then((function(n){r.innerHTML="";var i=n[t];if(i.length){var s=+i[0].date,o=e.isMultiFeedRSS()?e.multiLastPostUnixTime[t]:e.lastPostUnixTime;i.forEach((function(a){var n=!!o&&a.date>o,i=e.getArgs().flyout.innerContent.titleLink?'<a href="'.concat(a.postLink,'" target="_blank">\n\t\t\t\t\t\t\t\t<h2>').concat(a.title,"</h2>\n\t\t\t\t\t\t\t</a>"):"<h2>".concat(a.title,"</h2>"),s='\n\t\t\t\t\t\t\t\t<div class="rss-content-header">\n\t\t\t\t\t\t\t\t\t<p>'.concat(e.RSS_View_Instance.formatDate(new Date(a.date)),"</p>\n\t\t\t\t\t\t\t\t\t").concat(i,"\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.createExcerpt(a.description,a.postLink,e.getArgs().flyout.excerpt),"\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.listChildrenPosts(a.children),"\n\t\t\t\t\t\t\t"),l=e.getArgs().flyout.innerContent.additionalClasses;t&&l.push("`inner-content-item-feed-key-${key}`"),r.innerHTML+=e.RSS_View_Instance.innerContentWrapper(s,n,l.join(" "))})),e.getArgs().viewAll.link&&(r.innerHTML+=e.RSS_View_Instance.innerContentWrapper('\n\t\t\t\t\t\t\t<a href="'.concat(e.getArgs().viewAll.link,'" class="button view-all">').concat(e.getArgs().viewAll.label,"</a>\n\t\t\t\t\t\t\t"))),e.RSS_View_Instance.setIsLoading(!1),a.classList.add("ready"),e.getArgs().flyout.onReady(e),a.focus(),e.isMultiFeedRSS()||(e.lastPostUnixTime=s,e.hasNewFeeds&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(s,t):xN.setLastPostUnixTime(s,t)))}})).catch(console.error)};t.addEventListener("click",(function(t){if(t.preventDefault(),e.getArgs().triggerButton.onClick(e),e.RSS_View_Instance.setIsLoading(!0),a.classList.remove("closed"),a.classList.add("open"),document.body.classList.add("whats-new-rss-is-active"),e.getArgs().flyout.onOpen(e),e.isMultiFeedRSS()){var r=i.querySelectorAll("button");r.forEach((function(t){e.RSS_View_Instance.setMultiFeedTabNotificationCount(t.dataset.feedKey,e.multiNotificationCount[t.dataset.feedKey]),t.addEventListener("click",(function(a){a.preventDefault();var n=t.dataset.feedKey;e.multiNotificationCount[n]=0,e.RSS_Fetch_Instance.fetchData().then((function(t){var a=t[n][0].date;e.multiLastPostUnixTime[n]=a,!0===e.multiHasNewFeeds[n]&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(a,n):xN.setLastPostUnixTime(a,n)),e.multiHasNewFeeds[n]=!1})).catch(console.error),r.forEach((function(e){e.classList.remove("selected");var t=e.dataset.feedKey,a=".inner-content-item-feed-key-".concat(t);document.querySelectorAll(a).forEach((function(e){n!==t?e.classList.add("hidden"):e.classList.remove("hidden")}))})),t.classList.add("selected"),s(n)}))})),r[0].click()}else s(null)}));var o=function(){a.classList.add("closed"),a.classList.remove("open"),a.classList.remove("ready"),document.body.classList.remove("whats-new-rss-is-active"),e.isMultiFeedRSS()?e.RSS_View_Instance.setNotification(Object.values(e.multiNotificationCount).filter(Boolean).length):(e.hasNewFeeds=!1,e.RSS_View_Instance.setNotification(!1)),r.innerHTML="",e.getArgs().flyout.onClose(e),t.focus()};this.getArgs().flyout.closeOnEsc&&document.addEventListener("keydown",(function(e){"Escape"===e.key&&a.classList.contains("open")&&o()})),this.getArgs().flyout.closeOnOverlayClick&&a.querySelector(".whats-new-rss-flyout-overlay").addEventListener("click",o),n.addEventListener("click",o)},e}(),xN=function(){function e(){}return e.setInstanceID=function(e){this.instanceID||(this.instanceID=e)},e.prefixer=function(e,t){if(void 0===t&&(t=""),!this.instanceID)throw new Error("Instance ID not set.");return t?"".concat(this.keys[e],"-").concat(this.instanceID,"-").concat(t):"".concat(this.keys[e],"-").concat(this.instanceID)},e._setDataExpiry=function(e){void 0===e&&(e="");var t=(new Date).getTime()+864e5;sessionStorage.setItem(this.prefixer("SESSION_DATA_EXPIRY",e),JSON.stringify(t))},e._isDataExpired=function(e){void 0===e&&(e="");var t=this.prefixer("SESSION_DATA_EXPIRY",e),a=window.sessionStorage.getItem(t);if(!a)return!0;var r=JSON.parse(a);return(new Date).getTime()>r&&(window.sessionStorage.removeItem(t),!0)},e.setSessionData=function(e,t){return void 0===t&&(t=""),this._setDataExpiry(t),window.sessionStorage.setItem(this.prefixer("SESSION",t),e)},e.getSessionData=function(e){return void 0===e&&(e=""),this._isDataExpired(e)?"{}":window.sessionStorage.getItem(this.prefixer("SESSION",e))},e.setLastPostUnixTime=function(e,t){return void 0===t&&(t=""),window.localStorage.setItem(this.prefixer("LAST_LATEST_POST",t),e.toString())},e.getLastPostUnixTime=function(e){return void 0===e&&(e=""),+window.localStorage.getItem(this.prefixer("LAST_LATEST_POST",e))},e.keys={SESSION_DATA_EXPIRY:"whats-new-cache-expiry",LAST_LATEST_POST:"whats-new-last-unixtime",SESSION:"whats-new-cache"},e}(),bN=function(){function e(e){var t=this;this.data={},this.RSS=e,this.RSS.getRSSFeedURLs().forEach((function(e){var a=JSON.parse(xN.getSessionData(e.key));a&&a.length&&(t.data[e.key]=a)}))}return e.prototype.fetchData=function(){return hN(this,void 0,void 0,(function(){var e,t=this;return yN(this,(function(a){switch(a.label){case 0:return Object.keys(this.data).length?[2,this.data]:(e=this.RSS.getRSSFeedURLs().map((function(e){return hN(t,void 0,void 0,(function(){var t,a,r=this;return yN(this,(function(n){switch(n.label){case 0:return this.data[e.key]=[],[4,fetch(e.url)];case 1:return[4,n.sent().text()];case 2:return t=(t=n.sent()).replace(/&raquo;/g,"&amp;raquo;"),a=new DOMParser,a.parseFromString(t,"text/xml").querySelectorAll("item").forEach((function(t){var a,n=t.querySelector("title").textContent,i=t.querySelector("link").textContent,s=t.querySelector("content\\:encoded, encoded"),o=s?s.textContent:"",l=t.querySelector("pubDate").innerHTML;r.data[e.key].push({title:n,date:l?+new Date(l):null,postLink:i,description:o.replace(/<a\b((?:(?!target=)[^>])*)>/g,'<a$1 target="_blank">').replace(/<p>\s*<\/p>/g,""),children:JSON.parse((null===(a=t.querySelector("children"))||void 0===a?void 0:a.innerHTML)||"{}")})})),xN.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return a.sent(),[2,this.data]}}))}))},e}(),DN=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e,t=this.RSS.getArgs().triggerButton.label;e=t?"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t<a class="whats-new-rss-trigger-button has-label" id="').concat(this.getTriggerButtonID(),'">\n\t\t\t\t<div class="icon-badge">\n\t\t\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t\t\t<div class="whats-new-rss-notification-badge hide">0</div>\n\t\t\t\t</div>\n\t\t\t\t').concat(t,"\n\t\t\t</a>\n\t\t\t").concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"):"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t<a class="whats-new-rss-trigger-button" id="').concat(this.getTriggerButtonID(),'">\n\t\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t\t<div class="whats-new-rss-notification-badge hide">0</div>\n\t\t\t</a>\n\t\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"),this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('<nav id="'.concat(this.getFlyoutMultiFeedNavID(),'" class="whats-new-rss-multi-feed-nav">')),this.RSS.getRSSFeedURLs().forEach((function(e){t.push('<button type="button" data-feed-key="'.concat(e.key,'">\n\t\t\t\t\t\t').concat(e.label,'\n\t\t\t\t\t\t<div class="new-notification-count"></div>\n\t\t\t\t\t</button>\n\t\t\t\t\t'))})),t.push("</nav>"));var a=document.createElement("div");a.setAttribute("id",this.getFlyoutID()),a.setAttribute("class",e.join(" ")),a.setAttribute("role","dialog"),a.innerHTML='\n\t\t<div class="whats-new-rss-flyout-contents">\n\n\t\t\t<div class="whats-new-rss-flyout-inner-header">\n\n\t\t\t\t<div class="whats-new-rss-flyout-inner-header__title-icon-wrapper">\n\t\t\t\t\t<h3>'.concat(this.RSS.getArgs().flyout.title,'</h3>\n\n\t\t\t\t\t<span class="whats-new-rss-flyout-inner-header__loading-icon">\n\t\t\t\t\t').concat(this.RSS.getArgs().loaderIcon,'\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\n\t\t\t\t<button type="button" id="').concat(this.getFlyoutCloseBtnID(),'">').concat(this.RSS.getArgs().flyout.closeBtnIcon,"</button>\n\t\t\t</div>\n\n\t\t\t").concat(t.join(""),'\n\n\t\t\t<div class="whats-new-rss-flyout-inner-content">\n\t\t\t\t<div class="skeleton-container">\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\n\t\t<div class="whats-new-rss-flyout-overlay"></div>\n\t\t'),document.body.appendChild(a)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var a=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(a){var r=a.querySelector(".new-notification-count");if(t){var n=t>9?"9+":t;r.innerHTML=n.toString()}else r.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,a){void 0===t&&(t=!1),void 0===a&&(a="");var r=["whats-new-rss-flyout-inner-content-item"];return t&&r.push("rss-new-post"),a&&r.push(a),'\n\t\t<div class="'.concat(r.join(" "),'">\n\t\t\t').concat(t?'<small class="new-post-badge">New ✨</small>':"","\n\t\t\t").concat(e,"\n\t\t</div>\n\t\t")},e.prototype.createExcerpt=function(e,t,a){var r=a.wordLimit,n=a.moreSymbol,i=a.readMore;if(!r)return e;var s=e.replace(/<[^>]*>/g,"").split(/\s+/),o=s.slice(0,r).join(" ");return n&&(o+=n),r>s.length?e:t&&(null==i?void 0:i.label)?"<p>".concat(o,' <a href="').concat(t,'" target="_blank" class="').concat(i.className,'">').concat(i.label,"</a></p>"):"<p>".concat(o,"</p>")},e.prototype.listChildrenPosts=function(e){var t=this,a=Object.values(e);if(!a.length)return"";var r=document.createElement("details"),n=document.createElement("summary"),i=document.createElement("div");return a.forEach((function(e){var a=(new DOMParser).parseFromString(e.post_content,"text/html"),r=document.createElement("div");r.classList.add("sub-version-item"),r.innerHTML='\n\t\t\t\t<div class="sub-version-header">\n\t\t\t\t\t<h4 class="sub-version-title">'.concat(e.post_title,'</h4>\n\t\t\t\t\t<span class="sub-version-date">').concat(t.formatDate(new Date(e.post_date)),'</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="sub-version-content">').concat(a.documentElement.textContent,"</div>\n\t\t\t"),i.appendChild(r)})),n.innerHTML='<p class="text-see-more">See More</p><p class="text-see-less">See Less</p>',r.appendChild(n),r.appendChild(i),i.classList.add("sub-version-items-wrapper"),r.classList.add("whats-new-rss-sub-version-details"),r.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,a=e.getTime(),r=t.getTime()-a,n=36e5,i=24*n,s=7*i,o=30*i;if(r<6e4)return"Just now";if(r<n){var l=Math.floor(r/6e4);return"".concat(l," minute").concat(l>1?"s":""," ago")}if(r<i){var c=Math.floor(r/n);return"".concat(c," hour").concat(c>1?"s":""," ago")}if(r<s){var u=Math.floor(r/i);return"".concat(u," day").concat(u>1?"s":""," ago")}if(r<o){var d=Math.floor(r/s);return"".concat(d," week").concat(d>1?"s":""," ago")}var m=Math.floor(r/o);return"".concat(m," month").concat(m>1?"s":""," ago")},e}();const jN=function(){const a=cartflows_admin?.whats_new_rss_feed;return function({selector:e,...a}){const r=(0,t.useRef)(null);(0,t.useEffect)((()=>{var t;return async function(){const e="whats-new-rss-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=await async function(){return'.whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button.has-label{align-items:end;gap:10px}.whats-new-rss-trigger-button.has-label .icon-badge{position:relative;line-height:1}.whats-new-rss-trigger-button.has-label .icon-badge .whats-new-rss-notification-badge{top:-12px;right:-10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:"⌃";font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}'}(),document.head.appendChild(t)}}(),r.current||(r.current=(t={selector:e,...a},new wN(t))),()=>{r.current&&"function"==typeof r.current.destroy&&r.current.destroy()}}),[e,...Object.values(a)]),r.current}({uniqueKey:"cartflows",rssFeedURL:1<a.length?a:a[0]?.url,selector:"#wcf-whats-new-content",triggerButton:{icon:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 stroke-1 text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-offset-2 cursor-pointer"><path stroke-linecap="round" stroke-linejoin="round" d="M10.34 15.84c-.688-.06-1.386-.09-2.09-.09H7.5a4.5 4.5 0 1 1 0-9h.75c.704 0 1.402-.03 2.09-.09m0 9.18c.253.962.584 1.892.985 2.783.247.55.06 1.21-.463 1.511l-.657.38c-.551.318-1.26.117-1.527-.461a20.845 20.845 0 0 1-1.44-4.282m3.102.069a18.03 18.03 0 0 1-.59-4.59c0-1.586.205-3.124.59-4.59m0 9.18a23.848 23.848 0 0 1 8.835 2.535M10.34 6.66a23.847 23.847 0 0 0 8.835-2.535m0 0A23.74 23.74 0 0 0 18.795 3m.38 1.125a23.91 23.91 0 0 1 1.014 5.395m-1.014 8.855c-.118.38-.245.754-.38 1.125m.38-1.125a23.91 23.91 0 0 0 1.014-5.395m0-3.46c.495.413.811 1.035.811 1.73 0 .695-.316 1.317-.811 1.73m0-3.46a24.347 24.347 0 0 1 0 3.46" /></svg>'},flyout:{title:(0,z.__)("What's New?","cartflows"),formatDate:e=>`${e.toLocaleDateString("en-US",{weekday:"long"})} ${e.toLocaleDateString("en-US",{month:"long"})} ${e.getDate()}, ${e.getFullYear()}`}}),(0,e.createElement)("span",{className:"bg-white lg:p-3 sm:p-2 text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-offset-2 cursor-pointer relative"},(0,e.createElement)("div",{id:"wcf-whats-new-content"}))};function vN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const _N=t.forwardRef(vN),IN=function(){const a=cartflows_admin?.cf_pro_status,r=(0,z.__)("upgrading to PRO","cartflows"),n=!wcfCartflowsPro()&&"inactive"===a,[i,s]=(0,t.useState)(!1),o=getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans);let l="";return n?l=(0,z.__)("activating CartFlows Pro","cartflows"):wcfCartflowsPro()||(l=r),(0,e.createElement)("div",{className:"bg-primary-50 p-3"},(0,e.createElement)("p",{className:"wcf-main-upgrade-pro-notice text-sm flex justify-center"},(0,z.__)("You're using","cartflows")," ",(0,e.createElement)("span",{className:"font-semibold"},(0,z.__)("CartFlows Free","cartflows")," "),(0,z.__)("To unlock more features, consider","cartflows")," ",n?(0,e.createElement)("span",{className:"text-primary-600 hover:text-primary-800 font-semibold flex items-center gap-1 cursor-pointer",onClick:()=>{s(!0),hy({slug:"cartflows-pro",init:"cartflows-pro/cartflows-pro.php",name:"cartflows-pro"}).then((e=>{console.log(e),s(!0)})).catch((e=>{console.log(e),s(!1)}))}},i&&(0,e.createElement)(zr,{className:`w-4 h-4 stroke-2 ${i?"wcf-processing animate-spin":""} `}),i?(0,z.__)("Activating","cartflows"):l):(0,e.createElement)("a",{href:o,target:"_blank",className:"text-primary-600 hover:text-primary-800 font-semibold flex items-center gap-1",rel:"noreferrer"},l,(0,e.createElement)(_N,{className:"w-4 h-[18px] stroke-2 text-primary-500"}))))},EN=function(){const[a,r]=(0,t.useState)(!0),[n,i]=(0,t.useState)({days:0,hours:0,minutes:0,seconds:0}),s="2025-11-17T00:00:00",o="2025-12-04T23:59:59",l=e=>String(e).padStart(2,"0");return(0,t.useEffect)((()=>{if(!(()=>{const e=(new Date).getTime(),t=new Date(s).getTime(),a=new Date(o).getTime();return e>=t&&e<a})()){const e=(new Date).getTime(),t=new Date(s).getTime();if(e<t){const a=t-e,r=Math.floor(a/864e5),n=Math.floor(a%864e5/36e5),s=Math.floor(a%36e5/6e4),o=Math.floor(a%6e4/1e3);i({days:r,hours:n,minutes:s,seconds:o})}else i({days:0,hours:0,minutes:0,seconds:0});return}let e=(()=>{const e=localStorage.getItem("cartflowsSaleEndTime");if(e)return parseInt(e,10);const t=new Date(o).getTime();return localStorage.setItem("cartflowsSaleEndTime",t.toString()),t})();const t=new Date(o).getTime();(!e||e<Date.now()||e>t)&&(e=t,localStorage.setItem("cartflowsSaleEndTime",e.toString()));const a=setInterval((()=>{const t=(new Date).getTime(),r=e-t;if(r<0)return clearInterval(a),i({days:0,hours:0,minutes:0,seconds:0}),void localStorage.removeItem("cartflowsSaleEndTime");const n=Math.floor(r/864e5),s=Math.floor(r%864e5/36e5),o=Math.floor(r%36e5/6e4),l=Math.floor(r%6e4/1e3);i({days:n,hours:s,minutes:o,seconds:l})}),1e3);return()=>clearInterval(a)}),[]),!a||cartflows_admin&&"no"===cartflows_admin?.show_bfcm_sale_notice?null:(0,e.createElement)("div",{className:"w-full bg-gradient-to-r from-primary-600 via-primary-500 to-primary-600 px-8 py-3 relative"},(0,e.createElement)("button",{onClick:()=>{const e=new window.FormData;e.append("action","cartflows_dismiss_sale_notice"),e.append("security",cartflows_notices?.dismiss_sale_notice_nonce),A()({url:ajaxurl,method:"POST",body:e}).then((e=>{e?.success&&(localStorage.removeItem("cartflowsSaleEndTime"),r(!1))})).catch((()=>{localStorage.removeItem("cartflowsSaleEndTime"),r(!1)}))},className:"absolute top-2 right-2 text-white hover:text-gray-200 focus:outline-none","aria-label":(0,z.__)("Dismiss","cartflows")},(0,e.createElement)(Sr,{className:"h-6 w-6"})),(0,e.createElement)("div",{className:"flex items-center justify-between max-w-7xl mx-auto"},(0,e.createElement)("div",{className:"flex items-center gap-6"},(0,e.createElement)("div",{className:"flex flex-col items-center"},(0,e.createElement)("div",{className:"text-lg font-bold text-white leading-4"},l(n.days)),(0,e.createElement)("div",{className:"text-sm text-white font-medium"},(0,z.__)("Days","cartflows"))),(0,e.createElement)("div",{className:"flex flex-col items-center"},(0,e.createElement)("div",{className:"text-lg font-bold text-white leading-4"},l(n.hours)),(0,e.createElement)("div",{className:"text-sm text-white font-medium"},(0,z.__)("Hours","cartflows"))),(0,e.createElement)("div",{className:"flex flex-col items-center"},(0,e.createElement)("div",{className:"text-lg font-bold text-white leading-4"},l(n.minutes)),(0,e.createElement)("div",{className:"text-sm text-white font-medium"},(0,z.__)("Minutes","cartflows"))),(0,e.createElement)("div",{className:"flex flex-col items-center"},(0,e.createElement)("div",{className:"text-lg font-bold text-white leading-4"},l(n.seconds)),(0,e.createElement)("div",{className:"text-sm text-white font-medium"},(0,z.__)("Seconds","cartflows")))),(0,e.createElement)("div",{className:"flex-1 text-center px-8"},(0,e.createElement)("h2",{className:"text-base font-bold text-white"},(0,z.__)("Black Friday Deal: Get CartFlows Pro for up to 40% OFF","cartflows"))),(0,e.createElement)("div",null,(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),target:"_blank",rel:"noopener noreferrer",className:"wcf-button wcf-secondary-button px-8 py-3 rounded-lg transition-colors whitespace-nowrap inline-block"},(0,z.__)("Claim Offer","cartflows")))))},LN=function({finalMenus:t,isEditorApp:a,activePath:r,activePage:n}){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(jt,{className:"wcf-mobile-menu sm:hidden bg-white absolute top-16 w-full left-0"},(0,e.createElement)("div",{className:"space-y-1 pb-3 pt-2 px-8"},t.map((t=>a?(0,e.createElement)(Dt,{as:"div",href:"#",className:"block py-2 pl-3 pr-4",key:t.name},(0,e.createElement)("a",{href:`admin.php?page=${t.slug}${""!==t.path?"&path="+t.path:""}${t.url}`,className:r===t.path?"border-b-2 border-orange-500 text-gray-900 hover:text-gray-900 inline-flex items-center p-2 text-sm font-medium w-full":"border-b-2 border-white hover:border-b-2 hover:border-orange-500 text-gray-500 hover:text-gray-700 inline-flex items-center p-2 text-sm font-medium w-full",key:t.name,"data-app":a?"edditor":""},t.name)):(0,e.createElement)(Dt,{as:"div",href:"#",className:"block py-2 pl-3 pr-4",key:t.name},(0,e.createElement)(I,{id:t.slug,key:`?page=${t.slug}&path=${t.path}`,to:{pathname:"admin.php",search:`?page=${t.slug}${""!==t.path?"&path="+t.path:""}${t.url}`},className:n===t.slug&&r===t.path?"border-b-2 border-orange-500 text-gray-900 hover:text-gray-900 inline-flex items-center p-2 text-sm font-medium w-full":"border-b-2 border-white hover:border-b-2 hover:border-orange-500 text-gray-500 hover:text-gray-700 inline-flex items-center p-2 text-sm font-medium w-full"},t.name)))))))};function TN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const AN=t.forwardRef(TN),zN=function(){const[{license_status:a}]=g(),r=cartflows_admin?.current_user_can_manage_cartflows,[n,i]=(0,t.useState)({isProcessing:!1,buttonText:""}),{isProcessing:s,buttonText:o}=n,l=[{name:(0,z.__)("Dashboard","cartflows"),slug:cartflows_admin.home_slug,path:"",url:"",visible:!0},{name:(0,z.__)("Funnels","cartflows"),slug:cartflows_admin.home_slug,path:"flows",url:"",visible:!0},{name:(0,z.__)("Store Checkout","cartflows"),slug:cartflows_admin.home_slug,path:"store-checkout",url:""!==cartflows_admin.global_checkout_id?"&action=wcf-edit-flow&flow_id="+cartflows_admin.global_checkout_id:"",visible:!0},{name:(0,z.__)("Automations","cartflows"),slug:cartflows_admin.home_slug,path:"automations",url:"",visible:r},{name:(0,z.__)("Modern Cart","cartflows"),slug:cartflows_admin.home_slug,path:"modern-cart",url:"",visible:r&&"active"!==cartflows_admin.moderncart_status},{name:(0,z.__)("Add-ons","cartflows"),slug:cartflows_admin.home_slug,path:"addons",url:"",visible:r&&"1"!==cartflows_admin.is_file_mod_disabled},{name:(0,z.__)("Free vs Pro","cartflows"),slug:cartflows_admin.home_slug,path:"free-vs-pro",url:"",visible:!wcfCartflowsPro()}].filter((e=>e.visible)),c=new URLSearchParams((0,f.useLocation)()?.search),u=c.get("page")?c.get("page"):cartflows_admin.home_slug,d=c.get("settings"),m=c.get("tab");let p=c.get("path")?c.get("path"):"";"store-checkout-library"===p&&(p="store-checkout");const[M,h]=(0,t.useState)(!!d),[y,N]=(0,t.useState)("license"===m?"license":m),w=["wcf-edit-flow","wcf-edit-step"].includes(c.get("action")),x=function(){h(!M)};let b="",D="",j="",v="",_="";const E=cartflows_admin?.cf_pro_status;return wcfCartflowsPro()||"inactive"!==E?wcfCartflowsPro()?wcfCartflowsPro()&&"Activated"!==a?(b=(0,z.__)("Unlicensed","cartflows"),j="text-red-500 active:text-red-500 hover:text-red-500 focus:text-red-500 cursor-pointer",v=cartflows_admin.cf_pro_type):(b=(0,z.__)("Licensed","cartflows"),j="text-green-500 hover:text-green-600 focus:text-green-600 pointer-events-none disabled",v=cartflows_admin.cf_pro_type):(b=(0,z.__)("Upgrade to Pro","cartflows"),j="text-cartflows hover:text-cartflows focus:text-cartflows",D=getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans)):(b=(0,z.__)("Activate CartFlows Pro","cartflows"),j="text-cartflows hover:text-cartflows focus:text-cartflows",_="activate"),(0,e.createElement)(e.Fragment,null,!wcfCartflowsPro()&&(0,e.createElement)(EN,null),!wcfCartflowsPro()&&cartflows_admin?.show_bfcm_sale_notice&&(0,e.createElement)(IN,null),(0,e.createElement)("div",{className:"wcf-main--nav-menu sticky top-0 sm:top-8 z-20"},(0,e.createElement)(vt,{as:"nav",className:"wcf-main-menu-wrapper"},(0,e.createElement)("div",{className:"flex gap-3 sm:gap-3 h-full"},(0,e.createElement)("div",{className:"wcf-main--nav-menu-navbar flex"},(0,e.createElement)("div",{className:"wcf-main--nav-menu__logo flex items-center"},(0,e.createElement)("img",{className:"block h-8 w-auto",src:_t,alt:"CartFlows"})),(0,e.createElement)("div",{className:"wcf-main--nav-menu__items desktop-menu hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8"},l.map((t=>w?(0,e.createElement)("a",{href:`admin.php?page=${t.slug}${""!==t.path?"&path="+t.path:""}${t.url}`,className:p===t.path?"border-b-2 border-primary-500 text-gray-900 hover:text-gray-900 active:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium":"border-b border-gray-200 hover:border-b-2 hover:border-primary-500 text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium",key:t.name},t.name):(0,e.createElement)(I,{id:t.slug,key:`?page=${t.slug}&path=${t.path}`,to:{pathname:"admin.php",search:`?page=${t.slug}${""!==t.path?"&path="+t.path:""}${t.url}`},className:u===t.slug&&p===t.path?"border-b-2 border-orange-500 text-gray-900 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium":"border-b border-gray-200 hover:border-b-2 hover:border-orange-500 text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium"},t.name))))),(0,e.createElement)("div",{className:"wcf-mobile-menu-toggle sm:ml-6 flex items-center sm:hidden"},(0,e.createElement)(Dt,{className:"group relative inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"},(0,e.createElement)("span",{className:"absolute -inset-0.5"}),(0,e.createElement)("span",{className:"sr-only"},"Open main menu"),(0,e.createElement)(AN,{"aria-hidden":"true",className:"block size-6 group-data-[open]:hidden"}),(0,e.createElement)(Sr,{"aria-hidden":"true",className:"hidden size-6 group-data-[open]:block"})))),(0,e.createElement)(LN,{finalMenus:l,isEditorApp:w,activePath:p,activePage:u})),(0,e.createElement)("div",{className:"wcf-main--nav-menu__action-bar md:ml-6 flex flex-wrap items-center justify-center md:justify-start"},b&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("a",{href:D||"#",target:D?"_blank":"#",className:`${j} text-sm cursor-pointer font-normal mr-4 hidden md:block ${s?"md:flex md:items-center md:gap-1":""}`,onClick:D?()=>{}:function(e){if(e.preventDefault(),"activate"===_){const e="cartflows-pro",t="cartflows-pro/cartflows-pro.php",a="cartflows-pro";i({isProcessing:!0,buttonText:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Activating %s","cartflows"),cartflows_admin.cf_pro_type_inactive)}),hy({slug:e,init:t,name:a}).then((e=>{console.log(e),i({isProcessing:!0,buttonText:(0,z.__)("Successfully Activated!","cartflows")}),setTimeout((()=>{i({isProcessing:!1,buttonText:(0,z.__)("Activated!","cartflows")})}),3e3)})).catch((e=>{console.log(e),i({isProcessing:!1,buttonText:(0,z.__)("Failed! Activation!","cartflows")})}))}D||_||(x(),N("license"))},rel:"noreferrer"},s&&(0,e.createElement)(zr,{className:`w-4 h-4 stroke-2 ${s?"wcf-processing animate-spin":""} `}),s?o:b),(0,e.createElement)("div",{className:"border-r border-gray-200 py-2.5"})),""!==v&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-badge bg-primary-25 border border-primary-300 text-primary-600 rounded text-[11px] leading-4 cursor-default font-normal lg:mx-4 sm:mx-0 uppercase"},v),(0,e.createElement)("div",{className:"border-r border-gray-200 py-2.5"})),function(){if(r)return(0,e.createElement)("a",{className:"bg-white p-4 text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-offset-2 cursor-pointer relative wcf-inline-tooltip",id:"wcf-global-settings-popup",onClick:x,"data-tooltip":(0,z.__)("Open Global Settings","cartflows")},(0,e.createElement)(Rl,{className:"w-6 h-6 stroke-1","aria-hidden":"true"}))}(),(0,e.createElement)(I,{to:"//youtube.com/c/CartFlows/",target:"_blank",className:"bg-white lg:p-4 sm:p-3 text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-offset-2 cursor-pointer relative wcf-inline-tooltip","data-tooltip":(0,z.__)("Tutorial Videos","cartflows")},(0,e.createElement)(mN,{className:"w-6 h-6 stroke-1","aria-hidden":"true"})),(0,e.createElement)(fN,null),(0,e.createElement)("div",{className:"wcf-divider border-r border-gray-200 py-2.5"}),0<cartflows_admin?.whats_new_rss_feed.length&&(0,e.createElement)(jN,null))),(0,e.createElement)(By,{isOpen:M,closeCallback:x,current_tab:y}))},kN=function(a){const{showModel:r}=a,[n,i]=(0,t.useState)(r),s=(0,t.useRef)(null);return(0,e.createElement)(Pt.Root,{show:n,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:s,onClose:i},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"wcf-welcome-box--content relative transform overflow-hidden rounded-lg bg-white p-9 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-3xl sm:p-9"},(0,e.createElement)("div",{className:"wcf-welcome-box--header absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>i(!1),title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-welcome-box--title text-base font-medium text-gray-800"},(0,z.__)("Getting Started","cartflows"))),(0,e.createElement)("div",{className:"wcf-welcome-box--body mt-5 text-center"},(0,e.createElement)("iframe",{width:"100%",height:"400",src:"https://www.youtube.com/embed/SlE0moPKjMY",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:"",className:"rounded-md !h-[200px] sm:!h-[400px]",title:(0,z.__)("Introduction to CartFlows","cartflows")}),(0,e.createElement)("p",{className:"text-sm font-normal mt-5"},(0,z.__)("Modernizing WordPress eCommerce!","cartflows"))),(0,e.createElement)("div",{className:"wcf-welcome-box--footer mt-5 flex gap-3 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3"},(0,e.createElement)(I,{key:`?page=${cartflows_admin.home_slug}&path=flows`,to:{pathname:"admin.php",search:`?page=${cartflows_admin.home_slug}&path=library`},className:"wcf-button wcf-welcome--button wcf-primary-button !p-4",title:(0,z.__)("Create Your First Flow","cartflows")},(0,e.createElement)("span",{className:""},(0,z.__)("Create Your First Flow","cartflows"))),(0,e.createElement)("a",{className:"wcf-button wcf-welcome--button wcf-secondary-button !p-4",href:cartflows_admin.admin_base_url+"index.php?page=cartflow-setup"},(0,e.createElement)("span",{className:""},(0,z.__)("Go To Setup Wizard","cartflows"))))))))))},SN=(0,py.compose)((0,fy.withDispatch)((e=>{const{updateWooCommerceStatus:t}=e("wcf/importer");return{updateWooCommerceStatus(e){t(e)}}})))((({title:a,updateWooCommerceStatus:r})=>{const n=a||(0,z.__)("Activate WooCommerce","cartflows"),[i,s]=(0,t.useState)({isProcessing:!1,buttonText:n}),{isProcessing:o,buttonText:l}=i;return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",onClick:e=>{e.preventDefault(),s({isProcessing:!0,buttonText:(0,z.__)("Activating WooCommerce..","cartflows")}),hy({slug:"woocommerce",init:"woocommerce/woocommerce.php",name:"WooCommerce"},!1).then((()=>{s({isProcessing:!1,buttonText:(0,z.__)("Successfully Activated!","cartflows")}),setTimeout((()=>{r("active")}),3e3)})).catch((e=>{console.log(e),s({isProcessing:!1,buttonText:(0,z.__)("Failed! Activation!","cartflows")})}))}},o?(0,e.createElement)(My,null):""," ",l)))})),ON=(0,py.compose)((0,fy.withDispatch)((e=>{const{updateWooCommerceStatus:t}=e("wcf/importer");return{updateWooCommerceStatus(e){t(e)}}})))((({updateWooCommerceStatus:a})=>{const r=(0,z.__)("Install WooCommerce","cartflows"),[n,i]=(0,t.useState)({isProcessing:!1,buttonText:r}),{isProcessing:s,buttonText:o}=n;return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",onClick:e=>{var t;e.preventDefault(),i({isProcessing:!0,buttonText:(0,z.__)("Installing WooCommerce..","cartflows")}),(t={slug:"woocommerce",init:"woocommerce/woocommerce.php",name:"woocommerce"},new Promise(((e,a)=>{console.log("plugin.slug",t.slug),wp.updates.queue.push({action:"install-plugin",data:{slug:t.slug,init:t.init,name:t.name,success(a){console.log("Installed Successfully! Activating plugin ",t.slug),e(a,t)},error(e){a(e,t)}}}),wp.updates.queueChecker()}))).then((()=>{i({isProcessing:!1,buttonText:(0,z.__)("Successfully Installed!","cartflows")}),a("inactive")})).catch((e=>{console.log(e),i({isProcessing:!1,buttonText:(0,z.__)("Installation Failed!","cartflows")}),setTimeout((()=>{i({isProcessing:!1,buttonText:r})}),3e3)}))}},s?(0,e.createElement)(My,null):""," ",o)))})),CN=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getWooCommerceStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),woocommerce_status:r()}})))((({preview:a,cf_pro_status:r,woocommerce_status:n,flowName:i,setInputFieldVisibility:s,setErrorDesc:o})=>{const[l,c]=(0,t.useState)({cta:"",error_msg:""}),[{license_status:u}]=g(),{cta:d,error_msg:m}=l,[p,f]=(0,t.useState)({isProcessing:!1,buttonText:(0,z.__)("Import Funnel","cartflows")}),{isProcessing:M,buttonText:h}=p,[y,N]=(0,t.useState)(!1),w=function(){N(!0),document.addEventListener("click",x)},x=function(){N(!1),document.removeEventListener("click",x)};if(d)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-message wcf-message--error",dangerouslySetInnerHTML:{__html:d}}),y&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("a",{className:"wcf-error-message--toggle",onClick:function(e){e.preventDefault(),y?x():w()}},(0,z.__)("Click for more info","cartflows")),(0,e.createElement)("div",{className:"wcf-error--info",dangerouslySetInnerHTML:{__html:m}})));if("active"!==n)return"inactive"===n?(s("hidden"),o((0,z.__)("You need WooCommerce plugin installed and activated to import this funnel.","cartflows")),(0,e.createElement)(SN,null)):(s("hidden"),o((0,z.__)("You need WooCommerce plugin installed and activated to import this funnel.","cartflows")),(0,e.createElement)(ON,null));if("active"===n&&(s("visible"),o("")),"pro"===a.type){if(!wcfCartflowsTypePro())return"inactive"===r&&"pro"===wcfInactivepluginType()?(s("hidden"),o((0,z.__)("Access all of our pro templates by activating CartFlows Pro.","cartflows")),(0,e.createElement)(yy,{description:(0,z.__)("Access all of our pro templates by activating CartFlows Pro.","cartflows")})):(s("hidden"),o((0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Pro","cartflows"),desc:(0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")}));if(wcfCartflowsTypePro()&&"Activated"!==u)return s("hidden"),o((0,z.__)("Access all of our pro templates when you activate CartFlows Pro license.","cartflows")),(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,null)))}return(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button "+(M?"wcf-disabled":"wcf-primary-button"),onClick:e=>{e.preventDefault(),jQuery(e.target).closest(".wcf-name-your-flow__inner").find(".input-field").attr("disabled","disabled"),M||(f({isProcessing:!0,buttonText:(0,z.__)("Importing Complete Funnel..","cartflows")}),((e,t,a,r)=>{console.log(e);const n=new window.FormData;n.append("action","cartflows_import_flow"),n.append("flow_name",r),n.append("security",cartflows_admin.import_flow_nonce),n.append("flow",JSON.stringify(e)),n.append("creation_method","ready_made_template"),A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((e=>{console.log(e),e.success?(t({isProcessing:!1,buttonText:(0,z.__)("Imported! Redirecting…","cartflows")}),setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${e.data.new_flow_id}`}),3e3)):"call_to_action"in e.data?a({cta:e.data.call_to_action,error_msg:e.data.message}):t({isProcessing:!1,buttonText:e.data.message})}))})(a,f,c,i))}},M?(0,e.createElement)(My,null):""," ",h))})),YN=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r,getWooCommerceStatus:n}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r(),woocommerce_status:n()}})))((({flowName:a,isStoreCheckout:r})=>{const[n,i]=(0,t.useState)((0,z.__)("Design Your Funnel","cartflows")),[s,o]=(0,t.useState)(!1);return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",onClick:e=>{e.preventDefault(),jQuery(e.target).closest(".wcf-name-your-flow__inner").find(".input-field").attr("disabled","disabled"),((e,t,a,r,n)=>{if(a)return;e("Creating Flow.."),r(!0);const i=new window.FormData;i.append("action","cartflows_create_flow"),i.append("security",cartflows_admin.create_flow_nonce),i.append("flow_name",t),i.append("store_checkout",n),i.append("creation_method","scratch"),A()({url:cartflows_admin.ajax_url,method:"POST",body:i}).then((t=>{console.log(t),t.success?(e((0,z.__)("Created! Redirecting…","cartflows")),r(!1),setTimeout((()=>{let e=`admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${t.data.flow_id}`;n&&(e="admin.php?page=cartflows&action=wcf-edit-store-checkout"),window.location=`${cartflows_admin.admin_base_url+e}`}),3e3)):e((0,z.__)("Failed to Create Flow!","cartflows"))}))})(i,a,s,o,r)}},n)))})),UN=({preview:a,type:r,flowName:n,setInputFieldVisibility:i,cancelButtonRef:s,setVisibility:o,setErrorDesc:l})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--footer bg-primary-25 p-4 mt-6 flex justify-end sm:px-6 gap-4"},"import"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(CN,{preview:a,flowName:n,setInputFieldVisibility:i,setErrorDesc:l})),"blank"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(YN,{flowName:n,setInputFieldVisibility:i,isStoreCheckout:!1})))),QN=a=>{const{cf_pro_status:r,setVisibility:n,preview:i,type:s,flowName:o,setFlowName:l,cancelButtonRef:c}=a,[u,d]=(0,t.useState)(""),[m,p]=(0,t.useState)(""),[{flows_limit_over:f}]=g(),[M,h]=(0,t.useState)(0);return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--body fixed inset-0 z-30 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"wcf-name-your-flow--content bg-white px-4 pb-4 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"wcf-name-your-flow--header absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>{n("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-flow--title text-base font-medium text-gray-800"},f?(0,z.__)("Upgrade To CartFlows Pro","cartflows"):(0,z.__)("Name Your Funnel","cartflows")),(0,e.createElement)("div",{className:`mt-5 ${u}`},(0,e.createElement)("div",{className:"flex justify-between py-2"},(0,e.createElement)("div",{className:"wcf-name-your-flow--field-title"},(0,e.createElement)("label",{className:"flex gap-1 text-base font-normal text-gray-800"},(0,z.__)("Funnel Name","cartflows"))),(0,e.createElement)("div",{className:"wcf-name-your-flow--word-count"},(0,e.createElement)("span",{className:"text-xs font-normal "+(40===M?"text-primary-500":"text-gray-400")},M,"/40"))),(0,e.createElement)("input",{type:"text",className:"input-field w-full !px-4 !py-2 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",value:o,onChange:e=>{const{value:t}=e.target;t.length<=40&&(h(t.length),l(t))},placeholder:(0,z.__)("Enter Funnel Name","cartflows")})),""!==m&&(0,e.createElement)("div",{className:"mt-5"},(0,e.createElement)("p",{className:"text-sm font-regular text-gray-600"},m)))),(0,e.createElement)(UN,{cf_pro_status:r,setVisibility:n,preview:i,type:s,flowName:o,setFlowName:l,setInputFieldVisibility:d,cancelButtonRef:c,setErrorDesc:p}))))))},PN=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r()}})))((({visibility:a,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cf_pro_status:l})=>{const c=(0,t.useRef)(null);return(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-flow__inner"},(0,e.createElement)(QN,{cf_pro_status:l,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cancelButtonRef:c}))))})),FN=function(){return(0,e.createElement)("div",{role:"status",className:"wcf-onboarding-stats-loader space-y-4 animate-pulse"},(0,e.createElement)("div",{className:"flex items-center justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"w-32 h-2.5 bg-gray-300 rounded-full mb-2.5"}),(0,e.createElement)("div",{className:"w-44 h-2 bg-gray-200 rounded-full"})),(0,e.createElement)("div",{className:"h-2.5 w-24 bg-gray-300 rounded-full"})),Array(3).fill().map(((t,a)=>(0,e.createElement)("div",{key:a,className:"flex items-center justify-between pt-4"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5"}),(0,e.createElement)("div",{className:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})),(0,e.createElement)("div",{className:"h-2.5 w-24 bg-gray-300 rounded-full dark:bg-gray-700"})))))};function RN({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z",clipRule:"evenodd"}))}const HN=t.forwardRef(RN);function BN(e){const t="undefined"!=typeof cartflows_admin&&"active"===cartflows_admin.woocommerce_status,a=cartflows_admin?.global_checkout_id,r="undefined"!=typeof cartflows_admin&&!!cartflows_admin.is_pro,n=e?.flow_exists,i=e?.flow_have_order_bump,s=e?.flow_have_upsell;return[{woocommerce_setup:{completed:t}},{global_checkout_added:{completed:null!=a&&""!==a}},{funnel_created:{completed:n>0}},{order_bump_created:{completed:i&&r}},{upsell_created:{completed:s&&r}}]}const WN=function({page_builder:a}){const[{setup_checklist_data:r},n]=l(),[i,s]=(0,t.useState)(!1),o=!!cartflows_admin?.is_pro,c=r?.flow_exists,u=r?.checkout_flow_id,d=r?.checkout_step_id,m=[{id:"woocommerce_setup",label:(0,z.__)("Finish Setup","cartflows"),actionLabel:(0,z.__)("Setup CartFlows","cartflows"),url:"index.php?page=cartflow-setup",pro:!1},{id:"global_checkout_added",label:(0,z.__)("Setup Store Checkout","cartflows"),actionLabel:(0,z.__)("Create","cartflows"),url:"index.php?page=cartflows&path=store-checkout",pro:!1},{id:"funnel_created",label:(0,z.__)("Build Your Funnel","cartflows"),actionLabel:"bricks-builder"===a||"other"===a?(0,z.__)("Start From Scratch","cartflows"):(0,z.__)("Go To Library","cartflows"),url:"index.php?page=cartflows&path=library",pro:!1},{id:"order_bump_created",label:(0,z.__)("Offer add-ons with Order Bump.","cartflows"),actionLabel:(0,z.__)("Create","cartflows"),url:c&&u&&d?`admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${u}&step_id=${d}&tab=order_bumps`:"index.php?page=cartflows&path=library",pro:!0},{id:"upsell_created",label:(0,z.__)("Increase Revenue with Upsells.","cartflows"),actionLabel:(0,z.__)("Create","cartflows"),url:c&&u?`admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${u}`:"index.php?page=cartflows&path=library",pro:!0}],g=BN(r);let p=0;return g.forEach((e=>{Object.values(e).forEach((e=>{e.completed&&p++}))})),(0,t.useEffect)((()=>{let e=!0;if(null===r){const t=new window.FormData;(async()=>{s(!0),A()({path:"/cartflows/v1/admin/setup-checklist/",method:"POST",body:t}).then((t=>{e&&(n({type:"SET_SETUP_CHECKLIST_DATA",setup_checklist:t}),s(!1))}))})()}return()=>{e=!1}}),[]),(0,e.createElement)("div",{className:"wcf-onboarding-stats-box p-[24px] border bg-primary-25 border-orange-500 rounded-lg col-span-2"},!r&&i&&(0,e.createElement)(FN,null),r&&!i&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"flex justify-between items-center"},(0,e.createElement)("h4",{className:"text-lg font-semibold text-gray-800"},(0,z.__)("Almost There! Let's Go Live.","cartflows")),(0,e.createElement)("span",{className:"text-sm text-gray-500 text-right"},(0,z.sprintf)(/* translators: %d is the number of completed steps. */ /* translators: %d is the number of completed steps. */
(0,z.__)("%d out of 5 completed","cartflows"),p))),(0,e.createElement)("div",{className:"wcf-col--row flex flex-col w-full mt-3 space-y-3"},(0,e.createElement)("ul",{className:"wcf-steps-checklist list-none p-0 m-0 space-y-2"},m.map((({id:t,label:a,actionLabel:r,url:n,pro:i})=>{const s=(e=>{const t=g.find((t=>t[e]));return!!t&&t[e]?.completed})(t),l=i&&!o,c=`${cartflows_admin?.admin_base_url}${n}`,u="text-primary-500 text-sm font-medium hover:underline hover:text-primary-600 text-right";return(0,e.createElement)("li",{key:t,className:"wcf-checklist-item flex justify-between items-center py-[3px]"},(0,e.createElement)("div",{className:"flex items-center gap-2 cursor-default"},s?(0,e.createElement)(HN,{className:"h-5 w-5 text-primary-500"}):(0,e.createElement)("span",{className:"wcf-setup-step--not-complete border border-gray-300 rounded-full w-[17px] h-[17px] ml-0.5"}),(0,e.createElement)("span",{className:"inline-block text-sm align-middle"},a),i&&!o&&(0,e.createElement)("span",{className:"bg-primary-25 text-[10px] uppercase cursor-default flex items-center rounded-[17px] border border-primary-300 px-[6px] text-primary-500 shadow-[0px_6px_16px_-2px_#F0643466]"},(0,z.__)("PRO","cartflows"))),l&&(0,e.createElement)("a",{href:"https://cartflows.com/pricing?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=pricing",className:u},(0,z.__)("Upgrade to PRO","cartflows")),!l&&!s&&(0,e.createElement)("a",{href:c,className:u},r),!l&&s&&(0,e.createElement)("span",{className:"text-green-600 text-sm cursor-default pointer-events-none text-right"},(0,z.__)("Completed","cartflows")))}))))))},VN=function(){const[{page_builder:a}]=g(),[r,n]=(0,t.useState)(!1),[i,s]=(0,t.useState)("hide"),[o,l]=(0,t.useState)(""),c=e=>{e.preventDefault(),n(!r)};return(0,e.createElement)("div",{className:"wcf-metabox wcf-user-info -mt-8 -mx-8 p-8 bg-white"},(0,e.createElement)("div",{className:"wcf-metabox__header mb-8"},(0,e.createElement)("div",{className:"wcf-metabox__title"},(0,e.createElement)("h1",{className:"text-2xl font-semibold text-gray-800"},(0,z.__)("Welcome to CartFlows ","cartflows"))),(0,e.createElement)("p",{className:"mt-1 text-sm font-regular text-gray-600"},(0,z.__)("Sales funnel builder turns your WordPress website into an optimized selling machine.","cartflows"))),(0,e.createElement)("div",{className:"wcf-metabox__body flex flex-col sm:grid sm:grid-flow-row sm:auto-rows-min gap-6 sm:grid-cols-5 lg:grid-cols-5 pt-6"},(0,e.createElement)("div",{className:"wcf-intro-box flex flex-col-reverse sm:flex-row gap-6 items-center justify-between bg-gray-50 border border-gray-300 rounded-lg p-7 col-span-1 sm:col-span-3 lg:col-span-3"},(0,e.createElement)("div",{className:"wcf-intro-content flex flex-col justify-center"},(0,e.createElement)("h3",{className:"text-xl font-semibold text-gray-800"},(0,z.__)("Create Your First Funnel","cartflows")),(0,e.createElement)("div",{className:"mt-2 lg:mt-5 sm:max-w-sm lg:max-w-[564px]"},(0,e.createElement)("p",{className:"font-regular lg:text-sm xl:text-base text-gray-600"},(0,z.__)("A sales funnel is the sequence of steps a buyer takes to make a purchase. CartFlows helps optimize funnels to turn visitors into customers.","cartflows"))),(0,e.createElement)("div",{className:"mt-5 lg:mt-6"},(0,e.createElement)(I,{key:`?page=${cartflows_admin.home_slug}&path=settings`,to:{pathname:"admin.php",search:"?page=cartflows&path=library"},className:"wcf-button wcf-primary-button",onClick:e=>{"bricks-builder"===a&&(e.preventDefault(),s("show"))}},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2.5,stroke:"currentColor",className:"w-5 h-5 text-white"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})),(0,z.__)("Create New Funnel","cartflows")))),(0,e.createElement)("div",{className:"wcf-intro-video flex justify-center items-center bg-cover bg-center rounded-md shadow-custom cursor-pointer w-full h-48 sm:w-72 lg:w-72 sm:h-full lg:h-full",style:{backgroundImage:"url(https://img.youtube.com/vi/SlE0moPKjMY/maxresdefault.jpg)"},onClick:c},(0,e.createElement)("div",{className:"flex justify-center items-center w-10 h-7 border-0 rounded-md bg-red-600 cursor-pointer",onClick:c},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-8 h-6 fill-white stroke-0 p-1"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"})))),r&&(0,e.createElement)(kN,{showModel:r,setOpenVideoModel:n})),(0,e.createElement)(WN,{page_builder:a}),(0,e.createElement)(PN,{visibility:i,setVisibility:s,type:"blank",flowName:o,setFlowName:l})))};var ZN=n(7242);const GN=({title:t=""})=>(0,e.createElement)("div",{className:"bg-[#1d29390d] bg-opacity-25 absolute z-10 w-full h-full flex border border-gray-200"},(0,e.createElement)("div",{className:"border border-gray-200 shadow-lg p-5 rounded-lg w-1/3 m-auto text-center bg-white"},(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)] mb-5 ml-auto mr-auto block w-max"},(0,z.__)("PRO","cartflows")),(0,e.createElement)("p",{className:"text-base font-medium text-gray-800 mb-1"},t),(0,e.createElement)("p",{className:"mb-5 text-sm font-normal text-gray-600"},(0,z.__)("Upgrade your plan anytime and get more detailed analytics data.","cartflows")),(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),className:"border border-primary-300  bg-primary-25 px-3 py-2 rounded-lg text-sm font-medium !text-primary-600 block w-max m-auto ",target:"_blank",rel:"noreferrer"},(0,z.__)("Upgrade to PRO","cartflows")))),XN=function(t){const[{analyticsData:a}]=l(),r=a&&a.flow_stats.visits_by_date?a.flow_stats.visits_by_date:[],n=[];t.dateRange.map((e=>{const t=r.find((t=>t.OrderDate===e));return n.push(t?t.total_visits:0),null}));const i=[];t.dateRange.map((e=>{const t=new Date(e);return i.push(t.toLocaleDateString("en-US",{month:"short",day:"numeric"})),null}));const s={chart:{id:"wcf-analytics-graphs",type:"area",toolbar:{show:!1}},xaxis:{categories:i},stroke:{curve:"smooth"},tooltip:{x:{format:"dd MMM"}},colors:["#F06434"]},o=[{name:"Total Visits",data:n}];return(0,e.createElement)("section",{className:"block p-6 justify-between"},(0,e.createElement)("div",{className:"mr-16 w-full flex items-center"},(0,e.createElement)("h3",{className:"flex-1 text-xl font-semibold text-gray-800"},(0,z.__)("Total Page Views","cartflows"))),(0,e.createElement)("div",{className:"mt-4 relative"},!wcfCartflowsPro()&&(0,e.createElement)(GN,{title:(0,z.__)("Total Page Views is a Premium Feature","cartflows")}),(0,e.createElement)("div",{className:wcfCartflowsPro()?"":"blur-[2px]"},(0,e.createElement)(ZN.A,{options:s,series:o,type:"area",height:305}))))},JN=function(t){const[{analyticsData:a}]=l(),r=a&&a.flow_stats.revenue_by_date?a.flow_stats.revenue_by_date:[],n=[];t.dateRange.map((e=>{const t=r.find((t=>t.OrderDate===e));return n.push(t?t.Revenue:0),null}));const i=[];t.dateRange.map((e=>{const t=new Date(e);return i.push(t.toLocaleDateString("en-US",{month:"short",day:"numeric"})),null}));const s={chart:{id:"wcf-analytics-graphs",toolbar:{show:!1}},dataLabels:{enabled:!0,formatter:e=>cartflows_admin.woo_currency+e.toLocaleString()},xaxis:{categories:i},yaxis:{labels:{formatter:e=>cartflows_admin.woo_currency+e.toLocaleString()}},stroke:{curve:"smooth"},tooltip:{x:{format:"dd MMM"}},colors:["#F06434"]},o=[{name:"Total Revenue",data:n}];return(0,e.createElement)("section",{className:"block p-6 justify-between"},(0,e.createElement)("div",{className:"mr-16 w-full flex items-center"},(0,e.createElement)("h3",{className:"flex-1 text-xl font-semibold text-gray-800"},(0,z.__)("Total Revenue","cartflows"))),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)(ZN.A,{options:s,series:o,type:"area",height:305})))},qN=function(t){const[{analyticsData:a}]=l(),r=a&&a.flow_stats.orders_by_date?a.flow_stats.orders_by_date:[],n=[];t.dateRange.map((e=>{const t=r.find((t=>t.OrderDate===e));return n.push(t?t.OrderCount:0),null}));const i=[];t.dateRange.map((e=>{const t=new Date(e);return i.push(t.toLocaleDateString("en-US",{month:"short",day:"numeric"})),null}));const s={chart:{id:"wcf-analytics-graphs",type:"area",toolbar:{show:!1}},xaxis:{categories:i},stroke:{curve:"smooth"},tooltip:{x:{format:"dd MMM"}},colors:["#F06434"]},o=[{name:"Total Orders",data:n}];return(0,e.createElement)("section",{className:"block p-6 justify-between"},(0,e.createElement)("div",{className:"mr-16 w-full flex items-center"},(0,e.createElement)("h3",{className:"flex-1 text-xl font-semibold text-gray-800"},(0,z.__)("Total Orders","cartflows"))),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)(ZN.A,{options:s,series:o,type:"area",height:305})))},$N=function(t){const[{analyticsData:a}]=l(),r=a&&a.flow_stats.offer_revenue_by_date?a.flow_stats.offer_revenue_by_date:[],n=[];t.dateRange.map((e=>{const t=r.find((t=>t.OrderDate===e));return n.push(t?t.Revenue:0),null}));const i=[];t.dateRange.map((e=>{const t=new Date(e);return i.push(t.toLocaleDateString("en-US",{month:"short",day:"numeric"})),null}));const s={chart:{id:"wcf-analytics-graphs",type:"area",toolbar:{show:!1}},dataLabels:{enabled:!0,formatter:e=>cartflows_admin.woo_currency+e.toLocaleString()},xaxis:{categories:i},yaxis:{labels:{formatter:e=>cartflows_admin.woo_currency+e.toLocaleString()}},stroke:{curve:"smooth"},tooltip:{x:{format:"dd/MM/yy HH:mm"}},colors:["#F06434"]},o=[{name:"Total Offer Revenue",data:n}];return(0,e.createElement)("section",{className:"block p-6 justify-between"},(0,e.createElement)("div",{className:"mr-16 w-full flex items-center"},(0,e.createElement)("h3",{className:"flex-1 text-xl font-semibold text-gray-800"},(0,z.__)("Offer Revenue","cartflows"))),(0,e.createElement)("div",{className:"mt-4 relative"},!wcfCartflowsPro()&&(0,e.createElement)(GN,{title:(0,z.__)("Offer Revenue is a Premium Feature","cartflows")}),(0,e.createElement)("div",{className:wcfCartflowsPro()?"":"blur-[2px]"},(0,e.createElement)(ZN.A,{options:s,series:o,type:"area",height:305}))))},KN=function(){return(0,e.createElement)("div",{className:"wcf-analytics--tabs-wrapper border border-gray-200 rounded-lg min-h-fit h-full"},(0,e.createElement)("div",{className:"animate-pulse"},(0,e.createElement)("div",{className:"flex justify-center items-baseline p-6 gap-5"},(0,e.createElement)("div",{className:"p-5 h-24 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-36 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-48 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-64 bg-gray-300 rounded"}),(0,e.createElement)("div",{className:"p-5 h-72 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-64 bg-gray-300 rounded"}),(0,e.createElement)("div",{className:"p-5 h-48 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-36 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-72 bg-gray-300 rounded"}),(0,e.createElement)("div",{className:"p-5 h-36 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-48 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-64 bg-gray-300 rounded"}),(0,e.createElement)("div",{className:"p-5 h-72 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-64 bg-gray-300 rounded"}),(0,e.createElement)("div",{className:"p-5 h-48 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-36 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"p-5 h-24 bg-gray-200 rounded"}))))},ew=function(){const[{analyticsData:a},r]=l(),[n,i]=(0,t.useState)("total_revenue"),[s,o]=(0,t.useState)("hide"),[c,u]=(0,t.useState)(""),[{page_builder:d}]=g(),[m,p]=(0,t.useState)(),[f,M]=(0,t.useState)(),[h,y]=(0,t.useState)(),[N,w]=(0,t.useState)(),[x,b]=(0,t.useState)(),[D,j]=(0,t.useState)(!0),v=new Date,_=v.toISOString().slice(0,10);v.setDate(v.getDate()-7);const E=v.toISOString().slice(0,10),L="active"===cartflows_admin.woocommerce_status,T=function(e){p(void 0!==e.total_revenue?e.total_revenue:0),M(void 0!==e.total_offers_revenue?e.total_offers_revenue:0),y(void 0!==e.total_orders?e.total_orders:0),w(void 0!==e.total_visits?e.total_visits:0),j(!1)};function k(e,t){const a=new Date(e.getTime()),r=[];for(;a<=t;)r.push(new Date(a).toISOString().slice(0,10)),a.setDate(a.getDate()+1);return r}(0,t.useEffect)((()=>{let e=!0;return a?T(a.flow_stats):(async()=>{const t=new window.FormData;let a=new Date,n=new Date;n.setDate(n.getDate()-7),b(k(n,a)),n=n.toISOString().slice(0,10),a=a.toISOString().slice(0,10),t.append("date_to",a),t.append("date_from",n),t.append("action","cartflows_get_all_flows_stats"),t.append("security",cartflows_admin.get_all_flows_stats_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{e&&(r({type:"SET_ANALYTICS_DATA",analyticsData:t.data}),T(t?.data.flow_stats))}))})(),()=>{e=!1}}),[]);const S=[{name:(0,z.__)("Total Revenue","cartflows"),tooltip:(0,z.__)("This shows the total amount of money earned from all your funnels combined.","cartflows"),slug:"total_revenue",value:m},{name:(0,z.__)("Total Orders","cartflows"),tooltip:(0,z.__)("This shows the total number of orders placed through your CartFlows checkout pages.","cartflows"),slug:"total_orders",value:h},{name:(0,z.__)("Total Views","cartflows"),tooltip:(0,z.__)("This shows the total number of times people visited any step in your funnel.","cartflows"),slug:"total_views",value:N},{name:(0,z.__)("Offer Revenue","cartflows"),tooltip:(0,z.__)("This shows the total amount of money earned from your Upsell and Downsell offers.","cartflows"),slug:"offer_revenue",value:f}],O=function(e){let t="";return"total_revenue"===e&&(t="rounded-tl-lg "),"total_views"===e&&(t="rounded-bl-lg "),t+function(...e){return e.filter(Boolean).join(" ")}(e===n?"bg-primary-25 border-orange-500 border-r":"bg-white border-r border-white hover:bg-primary-25 hover:border-primary-500 focus:border-primary-500","focus:text-slate-900 hover:text-slate-900 group cursor-pointer p-5 block items-center text-base font-medium")};return(0,e.createElement)("div",{className:"bg-white px-6 py-7 border border-solid border-gray-200 md:rounded-lg mb-5 wcf-analytics"},(0,e.createElement)("div",{className:"wcf-metabox--heading sm:flex sm:items-center mb-7 gap-6"},(0,e.createElement)("div",{className:"wcf-metabox--heading-wrapper sm:flex-auto flex items-center justify-between"},(0,e.createElement)("h1",{className:"wcf-metabox--heading-text text-xl font-semibold text-gray-900"},(0,z.__)("Overview","cartflows")),(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=library"},onClick:e=>{"bricks-builder"===d&&(e.preventDefault(),o("show"))},className:"wcf-button wcf-primary-button sm:hidden visible"},(0,e.createElement)(Tr,{className:"w-5 h-5 text-white stroke-2","aria-hidden":"true"}),(0,z.__)("Create New Funnel","cartflows"))),(0,e.createElement)("div",{className:"wcf-metabox--filters-wrapper flex gap-3 flex-col md:flex-row mt-3"},(0,e.createElement)("div",{className:"flex flex-col sm:flex-row items-start gap-2"},(0,e.createElement)("label",{className:"sm:hidden visible font-medium"},(0,z.__)("Custom Filter:","cartflows")),(0,e.createElement)(oh,{classNames:"wcf-custom-filter-input !w-72 !h-full date-picker-field !pl-4 !px-4 !py-3 !pr-7 text-sm font-normal text-gray-400 !rounded-md !border-gray-200 focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",value:{endDate:_,startDate:E},onChangeCB:function(e){let t=new Date(e.startDate),a=new Date(e.endDate);p(),M(),y(),w(),j(!0),b(k(t,a)),t=t.toISOString().slice(0,10),a=a.toISOString().slice(0,10);const n=new window.FormData;n.append("date_to",a),n.append("date_from",t),n.append("action","cartflows_get_all_flows_stats"),n.append("security",cartflows_admin.get_all_flows_stats_nonce),(async()=>{A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((e=>{r({type:"SET_ANALYTICS_DATA",analyticsData:e.data}),T(e?.data.flow_stats)}))})()}})),(0,e.createElement)("div",{className:"hidden lg:flex sm:mt-0 lg:mt-0 mt-0 ml-0"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=library"},onClick:e=>{"bricks-builder"===d&&(e.preventDefault(),o("show"))},className:"wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-5 h-5 text-white stroke-2","aria-hidden":"true"}),(0,z.__)("Create New Funnel","cartflows"))))),(!a||D)&&(0,e.createElement)(KN,null),a&&!D&&(0,e.createElement)("div",{className:`wcf-analytics--tabs-wrapper border border-gray-200 rounded-lg ${L?"lg:grid lg:grid-cols-12":""}  min-h-fit h-full`},L?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("aside",{className:"wcf-analytics--tabs col-span-3"},(0,e.createElement)("nav",{className:""},S.map((t=>(0,e.createElement)("a",{id:t.slug,key:t.slug,className:O(t.slug),onClick:()=>i(t.slug)},(0,e.createElement)("div",{className:"text-sm font-medium text-gray-600 flex items-center gap-1 mb-2"},(0,e.createElement)("span",{className:"wcf-nav-title"},t.name),t.tooltip&&(0,e.createElement)(fh,{text:t.tooltip}),["total_views","offer_revenue"].includes(t.slug)&&!wcfCartflowsTypePro()&&(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-auto rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,z.__)("PRO","cartflows"))),(0,e.createElement)("div",{className:"wcf-analytics-page-view-count-wrapper flex justify-between items-baseline"},(0,e.createElement)("div",{className:"wcf-analytics-page-view-count"},(0,e.createElement)("span",{className:(0!==parseInt(t.value)?"text-3xl":"")+" font-semibold text-gray-800"},0!==parseInt(t.value)?Nr(t.value.toString()):"-")))))))),(0,e.createElement)("div",{className:"wcf-analytics--tab-content lg:col-span-9 border-l"},function(){let t="";switch(x||function(){const e=new Date,t=new Date;t.setDate(t.getDate()-7),b(k(t,e))}(),n){case"total_views":t=(0,e.createElement)(XN,{dateRange:x});break;case"total_revenue":default:t=(0,e.createElement)(JN,{dateRange:x});break;case"total_orders":t=(0,e.createElement)(qN,{dateRange:x});break;case"offer_revenue":t=(0,e.createElement)($N,{dateRange:x})}return t}())):(0,e.createElement)("div",{className:"text-center px-8 py-12"},(0,e.createElement)("div",{className:"flex justify-center mb-3"},(0,e.createElement)(_y,{className:"h-10 w-10 text-primary-500"})),(0,e.createElement)("h3",{className:"mt-2 text-base font-medium text-gray-900"},(0,z.__)("WooCommerce plugin is required.","cartflows")),(0,e.createElement)("p",{className:"mt-1 text-sm text-gray-500"},(0,z.__)("You need WooCommerce plugin installed and activated to view the overview","cartflows")))),(0,e.createElement)(PN,{visibility:s,setVisibility:o,type:"blank",flowName:c,setFlowName:u}))};function tw({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))}const aw=t.forwardRef(tw),rw=function(){const[{analyticsData:t}]=l(),a=t&&t.recent_orders?t.recent_orders:[],r="active"===cartflows_admin.woocommerce_status;return(0,e.createElement)("div",{className:"wcf-recent-orders bg-white overflow-hidden border border-solid border-gray-200 md:rounded-lg wcf-metabox"},(0,e.createElement)("div",{className:"wcf-metabox--heading"},(0,e.createElement)("div",{className:"wcf-metabox--heading-wrapper p-6 sm:flex-auto border-b border-solid border-gray-200 flex justify-between items-center"},(0,e.createElement)("h1",{className:"wcf-metabox--heading-text text-xl font-semibold text-gray-900"},(0,z.__)("Recent Orders","cartflows")),a.length>0&&(0,e.createElement)("a",{className:"wcf-button wcf-secondary-button hover:text-primary-500 focus:text-primary-500",href:cartflows_admin.woo_order_url,target:"_blank",rel:"noreferrer"},(0,z.__)("View All","cartflows")))),r?(0,e.createElement)(e.Fragment,null,a.length>0&&(0,e.createElement)("div",{className:"flex flex-col"},(0,e.createElement)("div",{className:"overflow-x-auto"},(0,e.createElement)("div",{className:"inline-block min-w-full align-middle"},(0,e.createElement)("div",{className:"overflow-hidden"},(0,e.createElement)("table",{className:"min-w-full divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"},(0,z.__)("Customer","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},(0,z.__)("Date","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},(0,z.__)("Status","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},(0,z.__)("Payment Method","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},(0,z.__)("Value","cartflows")))),(0,e.createElement)("tbody",{className:"divide-y divide-gray-200 bg-white"},a.map((t=>{const a=t.order_id;let r="text-yellow-800",n="bg-yellow-100";switch(t.order_status){case"Processing":case"Completed":r="text-green-800",n="bg-green-100";break;case"Failed":r="text-red-800",n="bg-red-100";break;case"Refunded":r="text-gray-800",n="bg-gray-100"}return(0,e.createElement)("tr",{key:a,"data-order_id":"wcf_order_"+a,className:"group"},(0,e.createElement)("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"font-medium text-gray-900 flex"},t.customer_name,(0,e.createElement)(I,{key:"wcf-quick-action-create-funnel",to:{pathname:"post.php",search:`?post=${a}&action=edit`},target:"_blank",className:"recent_order_view_link ml-3"},(0,e.createElement)(eN,{className:"invisible group-hover:visible h-18 w-18 text-primary-500"}))),(0,e.createElement)("div",{className:"text-gray-500"},t.customer_email))),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500"},(0,e.createElement)("div",{className:"text-gray-500"},(0,e.createElement)("div",{className:"wcf-recent-orders--order-date"},t.order_date),(0,e.createElement)("div",{className:"wcf-recent-orders--order-time"},(0,z.__)("at","cartflows")," ",t.order_time))),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500"},(0,e.createElement)("span",{className:`inline-flex rounded-full ${n} px-2 text-xs font-semibold leading-5 ${r}`},t.order_status)),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500"},t.payment_method),(0,e.createElement)("td",{className:"relative whitespace-nowrap py-4 pl-3 pr-4 text-left text-sm font-medium sm:pr-6"},Nr(t.order_total)))})))))))),0===a.length&&(0,e.createElement)("div",{className:"text-center px-8 py-12"},(0,e.createElement)("div",{className:"flex justify-center mb-3"},(0,e.createElement)(aw,{className:"h-6 w-6 text-primary-500"})),(0,e.createElement)("h3",{className:"mt-2 text-base font-medium text-gray-900"},(0,z.__)("Find recent order here","cartflows")),(0,e.createElement)("p",{className:"mt-1 text-sm text-gray-500"},(0,z.__)("Once you have received orders, come back here to find it again easily","cartflows")))):(0,e.createElement)("div",{className:"text-center px-8 py-12"},(0,e.createElement)("div",{className:"flex justify-center mb-3"},(0,e.createElement)(_y,{className:"h-10 w-10 text-primary-500"})),(0,e.createElement)("h3",{className:"mt-2 text-base font-medium text-gray-900"},(0,z.__)("WooCommerce plugin is required.","cartflows")),(0,e.createElement)("p",{className:"mt-1 text-sm text-gray-500"},(0,z.__)("You need WooCommerce plugin installed and activated to view the recent orders","cartflows"))))},nw=function(){return(0,e.createElement)("div",{className:"wcf-quick-actions bg-white overflow-hidden border border-solid border-gray-200 md:rounded-lg wcf-metabox"},(0,e.createElement)("div",{className:"wcf-metabox--heading sm:flex sm:items-center"},(0,e.createElement)("div",{className:"wcf-metabox--heading-wrapper p-6 sm:flex-auto"},(0,e.createElement)("h1",{className:"wcf-metabox--heading-text text-xl font-semibold text-gray-900"},(0,z.__)("Quick Actions","cartflows")))),(0,e.createElement)("div",{className:"flex flex-col"},(0,e.createElement)("div",{className:"inline-block min-w-full align-middle"},(0,e.createElement)("nav",{className:"","aria-label":"Sidebar"},(0,e.createElement)(I,{key:"wcf-quick-action-create-funnel",to:{pathname:"admin.php",search:`?page=${cartflows_admin.home_slug}&path=library`},className:"wcf-quick-action-nav-item cursor-pointer group bg-primary-25 hover:bg-primary-25 border-primary-25 hover:border-primary-25 group flex items-center px-5 py-4 text-sm border-y border-solid"},(0,e.createElement)("div",{className:"wcf-nav-icon p-4 mr-2.5 rounded-full bg-white shadow-custom"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z"}))),(0,e.createElement)("div",{className:"wcf-nav-title"},(0,e.createElement)("div",{className:"font-medium text-gray-900"},(0,z.__)("Create a Funnel","cartflows")),(0,e.createElement)("div",{className:"text-gray-500"},(0,z.__)("Create a Funnel","cartflows"))),(0,e.createElement)("div",{className:"wcf-nav-icon-link ml-auto"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4 text-gray-400 group-hover:text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})))),"active"===cartflows_admin.woocommerce_status&&(0,e.createElement)("a",{href:cartflows_admin.create_product_src,target:"_blank",className:"wcf-quick-action-nav-item cursor-pointer group hover:bg-primary-25 hover:border-primary-25 group flex items-center px-5 py-4 text-sm border-b border-solid border-gray-200",rel:"noreferrer"},(0,e.createElement)("div",{className:"wcf-nav-icon p-4 mr-2.5 rounded-full bg-white shadow-custom"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))),(0,e.createElement)("div",{className:"wcf-nav-title"},(0,e.createElement)("div",{className:"font-medium text-gray-900"},(0,z.__)("Create a Product","cartflows")),(0,e.createElement)("div",{className:"text-gray-500"},(0,z.__)("Create new Product","cartflows"))),(0,e.createElement)("div",{className:"wcf-nav-icon-link ml-auto"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4 text-gray-400 group-hover:text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})))),(0,e.createElement)(I,{key:"wcf-quick-action-show-funnel",to:{pathname:"admin.php",search:`?page=${cartflows_admin.home_slug}&path=flows`},className:"wcf-quick-action-nav-item cursor-pointer group hover:bg-primary-25 hover:border-primary-25 group flex items-center px-5 py-4 text-sm"},(0,e.createElement)("div",{className:"wcf-nav-icon p-4 mr-2.5 rounded-full bg-white shadow-custom"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))),(0,e.createElement)("div",{className:"wcf-nav-title"},(0,e.createElement)("div",{className:"font-medium text-gray-900"},(0,z.__)("All Funnels","cartflows")),(0,e.createElement)("div",{className:"text-gray-500"},(0,z.__)("View all funnels","cartflows"))),(0,e.createElement)("div",{className:"wcf-nav-icon-link ml-auto"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4 text-gray-400 group-hover:text-primary-500"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))))))))},iw=function(){const[{setup_checklist_data:t}]=l(),a=!function(e){return BN(e).every((e=>Object.values(e).every((e=>e.completed))))}(t);return(0,e.createElement)("div",{className:"wcf-home-page-wrapper"},a&&(0,e.createElement)("div",{className:"wcf-col--row mb-8"},(0,e.createElement)("div",{className:"wcf-col w-full"},(0,e.createElement)(VN,null))),(0,e.createElement)("div",{className:"wcf-col--row mb-8"},(0,e.createElement)("div",{className:"wcf-col w-full"},(0,e.createElement)(ew,null))),(0,e.createElement)("div",{className:"wcf-col--row flex flex-col md:flex-row w-full gap-8 justify-between"},(0,e.createElement)("div",{className:"wcf-col w-full md:w-[70%]"},(0,e.createElement)(rw,null)),(0,e.createElement)("div",{className:"wcf-col w-full md:w-[30%]"},(0,e.createElement)(nw,null))))};function sw({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))}const ow=t.forwardRef(sw),lw=function({currentPage:t,maxPages:a}){const[{},r]=l(),n=new URLSearchParams((0,f.useLocation)().search),i=n.get("post_status"),s=n.get("s"),o=n.get("from"),c=n.get("to");let u="",d="",m="";i&&(u="&post_status="+i),s&&(d="&s="+s),o&&c&&(m="&filter=date&from="+o+"&to="+c);const g=function(){const e=t,r=a,n=[e-2,e-1,e,e+1,e+2].filter((e=>e>1&&e<r)),i=e<r-3;return e>4&&n.unshift("..."),i&&n.push("..."),[1,...n,r]}(),p=function(){r({type:"SET_FLOWS",flows:null})};return 1===a?"":(0,e.createElement)("div",{className:"wcf-flows--pagination-actions bg-white p-5 rounded-b-xl"},(0,e.createElement)("div",{className:"wcf-flows-pagination flex items-center justify-between"},(0,e.createElement)("div",{className:"wcf-next-previous-buttons-mobile flex flex-1 justify-between sm:hidden"},(0,e.createElement)("a",{href:"#",className:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"},(0,z.__)("Previous","cartflows")),(0,e.createElement)("a",{href:"#",className:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"},(0,z.__)("Next","cartflows"))),(0,e.createElement)("div",{className:"wcf-pagination-pages-button hidden sm:flex sm:flex-1 sm:items-center sm:justify-end"},(0,e.createElement)("div",null,(0,e.createElement)("nav",{className:"isolate inline-flex -space-x-px rounded-md shadow-sm gap-3","aria-label":"Pagination"},(0,e.createElement)("div",{className:"wcf-pagination-page-buttons border border-gray-200 rounded"},function(){const a=[];return g&&g.map(((r,n)=>(a.push((0,e.createElement)(I,{key:n,to:{pathname:"admin.php",search:`?page=cartflows&path=flows${u}${d}&paged=${r}${m}`},className:`wcf-flows-pagination__num relative z-10 inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-600 hover:text-primary-500 focus:text-primary-500 focus:z-20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 ${t===r&&"bg-primary-25 border border-primary-300 rounded text-primary-600"}`,onClick:p},r)),""))),a}()),(0,e.createElement)("div",{className:"wcf-pagination-action-buttons flex border border-gray-200 rounded"},(0,e.createElement)(I,{key:"first",to:{pathname:"admin.php",search:`?page=cartflows&path=flows${u}`},className:"relative inline-flex items-center rounded-l-md px-2 py-2 text-gray-400 hover:bg-primary-50 hover:text-primary-500 focus:z-20 focus:outline-offset-0",onClick:p},(0,e.createElement)("span",{className:"sr-only"},(0,z.__)("First","cartflows")),(0,e.createElement)(fh,{text:(0,z.__)("First","cartflows"),classes:"!ml-0",icon:(0,e.createElement)(ow,{className:"h-18 w-18","aria-hidden":"true"})})),(0,e.createElement)(I,{key:"last",to:{pathname:"admin.php",search:`?page=cartflows&path=flows${u}${d}&paged=${a}${m}`},className:"relative inline-flex items-center rounded-r-md px-2 py-2 text-gray-400 hover:bg-primary-50 hover:text-primary-500 focus:z-20 focus:outline-offset-0",onClick:p},(0,e.createElement)("span",{className:"sr-only"},(0,z.__)("Last","cartflows")),(0,e.createElement)(fh,{text:(0,z.__)("Last","cartflows"),classes:"!ml-0",icon:(0,e.createElement)($y,{className:"h-18 w-18","aria-hidden":"true"})}))))))))};function cw({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const uw=t.forwardRef(cw);function dw({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const mw=t.forwardRef(dw),gw=({importBtnString:a=""})=>{const[n,i]=(0,t.useState)(!1),[s,o]=(0,t.useState)(!1),[l,c]=(0,t.useState)(null),u=(0,t.useRef)(null),[d,m]=(0,t.useState)({selectedFile:"",processText:(0,z.__)("Import Funnel","cartflows"),process:!1}),{selectedFile:g,process:p}=d;function f(){m({...d,selectedFile:""}),o(!1),c(null),i(!1)}const[M,h]=r().useState(!1),y=function(e){e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?h(!0):"dragleave"===e.type&&h(!1)};return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("span",{className:"wcf-button wcf-secondary-button wcf-flows-sub-header__import px-3",onClick:()=>{i(!n)}},(0,e.createElement)(uw,{className:"w-18 h-18 stroke-2 stroke-primary-500 fill-none","aria-hidden":"true"}),(0,e.createElement)("span",{className:"wcf-flows-header__text hidden md:inline"},a||(0,z.__)("Import","cartflows"))),(0,e.createElement)(Pt.Root,{show:n,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:u,onClose:i},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"absolute top-0 right-0 hidden pt-4 pr-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:f},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-lg font-medium leading-6 text-gray-900"},(0,z.__)("Import Funnel","cartflows")),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},(0,z.__)("You can specify a file to import by either dragging it into the drag and drop area.(Maximum file size of 5MB; .json file extensions only.)","cartflows")))))),(0,e.createElement)("form",{method:"post",encType:"multipart/form-data",onDragEnter:y},(0,e.createElement)("div",{className:"p-6 pt-0"},(0,e.createElement)("div",{className:"flex items-center justify-center w-full"},(0,e.createElement)("label",{htmlFor:"dropzone-file",className:xr()("flex flex-col items-center justify-center w-full border-2 border-gray-300 border-dashed rounded-lg cursor-pointer hover:border-gray-400",M?"bg-white":"")},(0,e.createElement)("div",{className:"flex flex-col items-center justify-center pt-5 pb-6"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6 text-gray-400","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})),(0,e.createElement)("p",{className:"mt-2 block text-sm font-medium text-gray-800"},(0,e.createElement)("span",{className:"font-semibold"},g?(0,z.__)("Change a file","cartflows"):(0,z.__)("Upload a file","cartflows"))," ",(0,z.__)("or drag and drop","cartflows")),(0,e.createElement)("p",{className:"mt-2 block text-xs font-normal text-gray-600"},(0,z.__)("JSON file up to 5MB","cartflows"))),(0,e.createElement)("input",{id:"dropzone-file",type:"file",className:"hidden",accept:"application/JSON",name:"file",onChange:function(e){m({...d,selectedFile:e.target.files[0]})}}))),g&&(0,e.createElement)("div",{className:"rounded-md bg-green-50 p-4 mt-5"},(0,e.createElement)("div",{className:"flex items-center justify-between"},(0,e.createElement)("div",{className:"wcf-import-flow--file-info flex items-center gap-1"},(0,e.createElement)("div",{className:"flex-shrink-0"},(0,e.createElement)(mw,{className:"w-6 h-6 text-gray-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"wcf-import-flow--message"},(0,e.createElement)("p",{className:"text-sm font-medium text-green-800"},(0,z.sprintf)(/* translators: %s is replaced with the file name. */ /* translators: %s is replaced with the file name. */
(0,z.__)("File Selected: %s","cartflows"),g.name)))),(0,e.createElement)("div",{className:"wcf-import-flow--close-btn"},(0,e.createElement)("div",{className:"-mx-1.5 -my-1.5"},(0,e.createElement)("button",{type:"button",className:"inline-flex rounded-md bg-green-50 p-1.5 text-green-500 hover:bg-green-100 focus:outline-none focus:ring-2 focus:ring-green-600 focus:ring-offset-2 focus:ring-offset-green-50",onClick:()=>{document.getElementById("dropzone-file").value=null,m({...d,selectedFile:null})}},(0,e.createElement)("span",{className:"sr-only"},"Dismiss"),(0,e.createElement)(Sr,{className:"h-5 w-5","aria-hidden":"true"}))))))),s?(0,e.createElement)("div",{className:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)(_y,{className:"h-6 w-6 text-primary-600","aria-hidden":"true"})),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)("h3",{className:"text-lg font-medium leading-6 text-gray-900"},(0,z.__)("Replace Store Checkout Funnel?","cartflows")),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},l?.message||(0,z.__)("A Store Checkout funnel already exists. Importing will replace the current Store Checkout funnel.","cartflows")))))):null,(0,e.createElement)("div",{className:"bg-gray-50 px-4 py-3 flex sm:flex sm:px-6 gap-3 justify-end"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:f},(0,z.__)("Cancel","cartflows")),(0,e.createElement)("button",{type:"button",className:"wcf-button "+(p?"wcf-disabled":"wcf-primary-button"),onClick:s?function(){if(!l)return;m({...d,process:!0,processText:(0,z.__)("Importing..","cartflows")});const e=new window.FormData;e.append("action","cartflows_import_json_flow"),e.append("security",cartflows_admin.import_json_flow_nonce),e.append("flow_data",JSON.stringify(l.flow_data)),e.append("check_store_checkout","yes"),e.append("force_import","yes"),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{console.log(e),m({...d,processText:"Redirecting..",process:!1}),cartflows_admin.admin_base_url?window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=store-checkout`:window.location=e.data.redirect_url}))}:function(){if(!g||p)return;if("application/json"!==g.type)return void alert((0,z.__)("Please select the valid json file.","cartflows"));m({...d,process:!0,processText:(0,z.__)("Importing..","cartflows")}),console.log(g);const e=new FileReader;e.readAsText(g,"UTF-8"),e.onload=e=>{console.log("e.target.result",e.target.result);let t=e.target.result;if("string"==typeof t)try{t=JSON.parse(t),console.log("Data is a valid JSON string:",t)}catch(e){console.error("Error parsing JSON:",e)}const a=function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.error("Error parsing JSON in checkForStoreCheckout:",e),!1}return Array.isArray(e)?e.some((e=>"store-checkout"===e.flow_type)):!(!e||"object"!=typeof e)&&"store-checkout"===e.flow_type}(t),r=new window.FormData;r.append("action","cartflows_import_json_flow"),r.append("security",cartflows_admin.import_json_flow_nonce),r.append("flow_data",t),r.append("check_store_checkout",a?"yes":"no"),A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((e=>{console.log(e),e.data.requires_confirmation?(c(e.data),o(!0),m({...d,process:!1,processText:(0,z.__)("Import Funnel","cartflows")})):(m({...d,processText:"Redirecting..",process:!1}),a&&cartflows_admin.admin_base_url?window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=store-checkout`:window.location=e.data.redirect_url)}))}}},p&&(0,e.createElement)(ay,null),s?(0,z.__)("Replace & Import","cartflows"):d.processText)),M&&(0,e.createElement)("div",{className:"absolute w-full h-full rounded-2xl inset-0",onDragEnter:y,onDragLeave:y,onDragOver:y,onDrop:function(e){e.preventDefault(),e.stopPropagation(),h(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&m({...d,selectedFile:e.dataTransfer.files[0]})}})))))))))};function pw({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9.75v6.75m0 0-3-3m3 3 3-3m-8.25 6a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))}const fw=t.forwardRef(pw),Mw=function(a){const{flows_count:r}=a,[n,i]=(0,t.useState)("hide"),[s,o]=(0,t.useState)(""),[{page_builder:l}]=g(),[c,u]=(0,t.useState)({isProcessing:!1,buttonText:(0,z.__)("Export All","cartflows")}),{isProcessing:d,buttonText:m}=c;return(0,e.createElement)("div",{className:"bg-white px-8 py-6 flex justify-between items-center mb-9 -m-8"},(0,e.createElement)("h2",{className:"text-base md:text-2xl font-bold text-grey-800"},(0,z.__)("Funnels","cartflows")),(0,e.createElement)("div",{className:"wcf-flows-header__action-buttons flex gap-4"},(0,e.createElement)(gw,null),(0,e.createElement)("span",{className:xr()("wcf-button wcf-flows-sub-header__export px-3",r>0?"wcf-secondary-button":"wcf-disabled",d?"wcf-button--processing":""),onClick:r>0?function(e){e.preventDefault(),u({isProcessing:!0,buttonText:(0,z.__)("Exporting…","cartflows")});const t=new window.FormData;t.append("action","cartflows_export_all_flows"),t.append("security",cartflows_admin.export_all_flows_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{if(e.success){const t=new Date,a="cartflows-flows-export-"+t.getDate()+"-"+(t.getMonth()+1)+"-"+t.getFullYear()+".json";if(e.data.export){const t=JSON.stringify(e.data.flows),r=new Blob([t],{type:"application/json"});if(document.documentMode)window.navigator.msSaveOrOpenBlob(r,a);else{const e=document.createElement("a");e.href=URL.createObjectURL(r),e.download=a,e.click()}u({isProcessing:!1,buttonText:(0,z.__)("Export All","cartflows")})}}}))}:()=>{}},(0,e.createElement)(fw,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",{className:"wcf-flows-header__text"},d?m:(0,e.createElement)("span",{className:"hidden md:inline"},(0,z.__)("Export All","cartflows"))," ","("+r+")")),(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=library"},onClick:e=>{"bricks-builder"===l&&(e.preventDefault(),i("show"))},className:"wcf-flows-header__library wcf-button wcf-primary-button px-3"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",{className:"wcf-flows-header__text hidden md:inline"},(0,z.__)("Create New Funnel","cartflows")),(0,e.createElement)("span",{className:"wcf-flows-header__text inline md:hidden text-xs"},(0,z.__)("Add New","cartflows")))),(0,e.createElement)(PN,{visibility:n,setVisibility:i,type:"blank",flowName:s,setFlowName:o}))};function hw(e,a=!1){let[r,n]=(0,t.useReducer)((()=>({})),{}),i=(0,t.useMemo)((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:a}=e.getBoundingClientRect();return{width:t,height:a}}(e)),[e,r]);return De((()=>{if(!e)return;let t=new ResizeObserver(n);return t.observe(e),()=>{t.disconnect()}}),[e]),a?{width:`${i.width}px`,height:`${i.height}px`}:i}let yw=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Nw(e){var t,a;let r=null!=(t=e.innerText)?t:"",n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return r;let i=!1;for(let e of n.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),i=!0;let s=i?null!=(a=n.innerText)?a:"":r;return yw.test(s)&&(s=s.replace(yw,"")),s}function ww(e){return[e.screenX,e.screenY]}var xw="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function bw(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let a,r,n;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(a=e.length,a!==t.length)return!1;for(r=a;0!=r--;)if(!bw(e[r],t[r]))return!1;return!0}if(n=Object.keys(e),a=n.length,a!==Object.keys(t).length)return!1;for(r=a;0!=r--;)if(!{}.hasOwnProperty.call(t,n[r]))return!1;for(r=a;0!=r--;){const a=n[r];if(!("_owner"===a&&e.$$typeof||bw(e[a],t[a])))return!1}return!0}return e!=e&&t!=t}function Dw(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jw(e,t){const a=Dw(e);return Math.round(t*a)/a}function vw(e){const a=t.useRef(e);return xw((()=>{a.current=e})),a}const _w=(e,t)=>({...Ls(e),options:[e,t]}),Iw=(e,t)=>({...As(e),options:[e,t]}),Ew=(e,t)=>({...zs(e),options:[e,t]}),Lw={...a},Tw=Lw.useInsertionEffect||(e=>e());function Aw(e){const a=t.useRef((()=>{}));return Tw((()=>{a.current=e})),t.useCallback((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==a.current?void 0:a.current(...t)}),[])}var zw="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;let kw=!1,Sw=0;const Ow=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Sw++,Cw=Lw.useId||function(){const[e,a]=t.useState((()=>kw?Ow():void 0));return zw((()=>{null==e&&a(Ow())}),[]),t.useEffect((()=>{kw=!0}),[]),e};const Yw=t.createContext(null),Uw=t.createContext(null),Qw="data-floating-ui-focusable";function Pw(e){void 0===e&&(e={});const{nodeId:a}=e,r=function(e){const{open:a=!1,onOpenChange:r,elements:n}=e,i=Cw(),s=t.useRef({}),[o]=t.useState((()=>function(){const e=new Map;return{emit(t,a){var r;null==(r=e.get(t))||r.forEach((e=>e(a)))},on(t,a){e.set(t,[...e.get(t)||[],a])},off(t,a){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==a)))||[])}}}())),l=null!=((null==(p=t.useContext(Yw))?void 0:p.id)||null),[c,u]=t.useState(n.reference),d=Aw(((e,t,a)=>{s.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:a,nested:l}),null==r||r(e,t,a)})),m=t.useMemo((()=>({setPositionReference:u})),[]),g=t.useMemo((()=>({reference:c||n.reference||null,floating:n.floating||null,domReference:n.reference})),[c,n.reference,n.floating]);var p;return t.useMemo((()=>({dataRef:s,open:a,onOpenChange:d,elements:g,events:o,floatingId:i,refs:m})),[a,d,g,o,i,m])}({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[s,o]=t.useState(null),[l,c]=t.useState(null),u=(null==i?void 0:i.domReference)||s,d=t.useRef(null),m=t.useContext(Uw);zw((()=>{u&&(d.current=u)}),[u]);const g=function(e){void 0===e&&(e={});const{placement:a="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:o}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,m]=t.useState({x:0,y:0,strategy:r,placement:a,middlewareData:{},isPositioned:!1}),[g,p]=t.useState(n);bw(g,n)||p(n);const[f,M]=t.useState(null),[h,y]=t.useState(null),N=t.useCallback((e=>{e!==D.current&&(D.current=e,M(e))}),[]),w=t.useCallback((e=>{e!==j.current&&(j.current=e,y(e))}),[]),x=s||f,b=o||h,D=t.useRef(null),j=t.useRef(null),v=t.useRef(d),_=null!=c,I=vw(c),E=vw(i),L=vw(u),T=t.useCallback((()=>{if(!D.current||!j.current)return;const e={placement:a,strategy:r,middleware:g};E.current&&(e.platform=E.current),((e,t,a)=>{const r=new Map,n={platform:vs,...a},i={...n.platform,_c:r};return(async(e,t,a)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:s}=a,o=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:d}=Hi(c,r,l),m=r,g={},p=0;for(let a=0;a<o.length;a++){const{name:i,fn:f}=o[a],{x:M,y:h,data:y,reset:N}=await f({x:u,y:d,initialPlacement:r,placement:m,strategy:n,middlewareData:g,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=M?M:u,d=null!=h?h:d,g={...g,[i]:{...g[i],...y}},N&&p<=50&&(p++,"object"==typeof N&&(N.placement&&(m=N.placement),N.rects&&(c=!0===N.rects?await s.getElementRects({reference:e,floating:t,strategy:n}):N.rects),({x:u,y:d}=Hi(c,m,l))),a=-1)}return{x:u,y:d,placement:m,strategy:n,middlewareData:g}})(e,t,{...n,platform:i})})(D.current,j.current,e).then((e=>{const t={...e,isPositioned:!1!==L.current};A.current&&!bw(v.current,t)&&(v.current=t,Va.flushSync((()=>{m(t)})))}))}),[g,a,r,E,L]);xw((()=>{!1===u&&v.current.isPositioned&&(v.current.isPositioned=!1,m((e=>({...e,isPositioned:!1}))))}),[u]);const A=t.useRef(!1);xw((()=>(A.current=!0,()=>{A.current=!1})),[]),xw((()=>{if(x&&(D.current=x),b&&(j.current=b),x&&b){if(I.current)return I.current(x,b,T);T()}}),[x,b,T,I,_]);const z=t.useMemo((()=>({reference:D,floating:j,setReference:N,setFloating:w})),[N,w]),k=t.useMemo((()=>({reference:x,floating:b})),[x,b]),S=t.useMemo((()=>{const e={position:r,left:0,top:0};if(!k.floating)return e;const t=jw(k.floating,d.x),a=jw(k.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+a+"px)",...Dw(k.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:a}}),[r,l,k.floating,d.x,d.y]);return t.useMemo((()=>({...d,update:T,refs:z,elements:k,floatingStyles:S})),[d,T,z,k,S])}({...e,elements:{...i,...l&&{reference:l}}}),p=t.useCallback((e=>{const t=Ji(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),g.refs.setReference(t)}),[g.refs]),f=t.useCallback((e=>{(Ji(e)||null===e)&&(d.current=e,o(e)),(Ji(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!Ji(e))&&g.refs.setReference(e)}),[g.refs]),M=t.useMemo((()=>({...g.refs,setReference:f,setPositionReference:p,domReference:d})),[g.refs,f,p]),h=t.useMemo((()=>({...g.elements,domReference:u})),[g.elements,u]),y=t.useMemo((()=>({...g,...n,refs:M,elements:h,nodeId:a})),[g,M,h,a,n]);return zw((()=>{n.dataRef.current.floatingContext=y;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===a));e&&(e.context=y)})),t.useMemo((()=>({...g,context:y,refs:M,elements:h})),[g,M,h,y])}const Fw="active",Rw="selected";function Hw(e,t,a){const r=new Map,n="item"===a;let i=e;if(n&&e){const{[Fw]:t,[Rw]:__,...a}=e;i=a}return{..."floating"===a&&{tabIndex:-1,[Qw]:""},...i,...t.map((t=>{const r=t?t[a]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[a,i]=t;var s;n&&[Fw,Rw].includes(a)||(0===a.indexOf("on")?(r.has(a)||r.set(a,[]),"function"==typeof i&&(null==(s=r.get(a))||s.push(i),e[a]=function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return null==(e=r.get(a))?void 0:e.map((e=>e(...n))).find((e=>void 0!==e))})):e[a]=i)})),e):e),{})}}function Bw(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let Ww=(0,t.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Ww.displayName="FloatingContext";let Vw=(0,t.createContext)(null);function Zw({children:e,enabled:a=!0}){let[r,n]=(0,t.useState)(null),[i,s]=(0,t.useState)(0),o=(0,t.useRef)(null),[l,c]=(0,t.useState)(null);!function(e){De((()=>{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,a=parseFloat(t);if(isNaN(a))return;let r=parseInt(t);isNaN(r)||a!==r&&(e.style.maxHeight=`${Math.ceil(a)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(l);let u=a&&null!==r&&null!==l,{to:d="bottom",gap:m=0,offset:g=0,padding:p=0,inner:f}=function(e,t){var a,r,n;let i=Gw(null!=(a=null==e?void 0:e.gap)?a:"var(--anchor-gap, 0)",t),s=Gw(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),o=Gw(null!=(n=null==e?void 0:e.padding)?n:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:s,padding:o}}(r,l),[M,h="center"]=d.split(" ");De((()=>{u&&s(0)}),[u]);let{refs:y,floatingStyles:N,context:w}=Pw({open:u,placement:"selection"===M?"center"===h?"bottom":`bottom-${h}`:"center"===h?`${M}`:`${M}-${h}`,strategy:"absolute",transform:!1,middleware:[_w({mainAxis:"selection"===M?0:m,crossAxis:g}),(j={padding:p},{...Ts(j),options:[j,undefined]}),"selection"!==M&&Iw({padding:p}),"selection"===M&&f?(D={...f,padding:p,overflowRef:o,offset:i,minItemsVisible:4,referenceOverflowThreshold:p,onFallbackChange(e){var t,a;if(!e)return;let r=w.elements.floating;if(!r)return;let n=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,i=Math.min(4,r.childElementCount),o=0,l=0;for(let e of null!=(a=null==(t=w.elements.floating)?void 0:t.childNodes)?a:[])if(e instanceof HTMLElement){let t=e.offsetTop,a=t+e.clientHeight+n,s=r.scrollTop,c=s+r.clientHeight;if(!(t>=s&&a<=c)){l=Math.max(0,Math.min(a,c)-Math.max(t,s)),o=e.clientHeight;break}i--}i>=1&&s((e=>{let t=o*i-l+n;return e>=t?e:t}))}},{name:"inner",options:D,async fn(e){const{listRef:t,overflowRef:a,onFallbackChange:r,offset:n=0,index:i=0,minItemsVisible:s=4,referenceOverflowThreshold:o=0,scrollRef:l,...c}=ki(D,e),{rects:u,elements:{floating:d}}=e,m=t.current[i],g=(null==l?void 0:l.current)||d,p=d.clientTop||g.clientTop,f=0!==d.clientTop,M=0!==g.clientTop,h=d===g;if(!m)return{};const y={...e,...await _w(-m.offsetTop-d.clientTop-u.reference.height/2-m.offsetHeight/2-n).fn(e)},N=await Es(Bw(y,g.scrollHeight+p+d.clientTop),c),w=await Es(y,{...c,elementContext:"reference"}),x=_i(0,N.top),b=y.y+x,j=(g.scrollHeight>g.clientHeight?e=>e:Ii)(_i(0,g.scrollHeight+(f&&h||M?2*p:0)-x-_i(0,N.bottom)));if(g.style.maxHeight=j+"px",g.scrollTop=x,r){const e=g.offsetHeight<m.offsetHeight*vi(s,t.current.length)-1||w.top>=-o||w.bottom>=-o;Va.flushSync((()=>r(e)))}return a&&(a.current=await Es(Bw({...y,y:b},g.offsetHeight+p+d.clientTop),c)),{y:b}}}):null,Ew({padding:p,apply({availableWidth:e,availableHeight:t,elements:a}){Object.assign(a.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:Is}),[x=M,b=h]=w.placement.split("-");var D,j;"selection"===M&&(x="selection");let v=(0,t.useMemo)((()=>({anchor:[x,b].filter(Boolean).join(" ")})),[x,b]),_=function(e,a){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:s,scrollRef:o,onChange:l}=a,c=Aw(l),u=t.useRef(!1),d=t.useRef(null),m=t.useRef(null);t.useEffect((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;const a=e.deltaY,r=s.current.top>=-.5,n=s.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,o=a<0?-1:1,l=a<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&a>0||!n&&a<0?(e.preventDefault(),Va.flushSync((()=>{c((e=>e+Math[l](a,i*o)))}))):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:a}=e;return t+"/"+a})).join(" "):navigator.userAgent}())&&(t.scrollTop+=a))}const t=(null==o?void 0:o.current)||n.floating;return r&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{d.current=t.scrollTop,null!=s.current&&(m.current={...s.current})})),()=>{d.current=null,m.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,r,n.floating,s,o,c]);const g=t.useMemo((()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const e=(null==o?void 0:o.current)||n.floating;if(s.current&&e&&u.current){if(null!==d.current){const t=e.scrollTop-d.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&Va.flushSync((()=>c((e=>e+t))))}requestAnimationFrame((()=>{d.current=e.scrollTop}))}}})),[n.floating,c,s,o]);return t.useMemo((()=>i?{floating:g}:{}),[i,g])}(w,{overflowRef:o,onChange:s}),{getReferenceProps:I,getFloatingProps:E}=function(e){void 0===e&&(e=[]);const a=e.map((e=>null==e?void 0:e.reference)),r=e.map((e=>null==e?void 0:e.floating)),n=e.map((e=>null==e?void 0:e.item)),i=t.useCallback((t=>Hw(t,e,"reference")),a),s=t.useCallback((t=>Hw(t,e,"floating")),r),o=t.useCallback((t=>Hw(t,e,"item")),n);return t.useMemo((()=>({getReferenceProps:i,getFloatingProps:s,getItemProps:o})),[i,s,o])}([_]),L=ve((e=>{c(e),y.setFloating(e)}));return t.createElement(Vw.Provider,{value:n},t.createElement(Ww.Provider,{value:{setFloating:L,setReference:y.setReference,styles:N,getReferenceProps:I,getFloatingProps:E,slot:v}},e))}function Gw(e,a,r=void 0){let n=be(),i=ve(((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let a=Jw(e,t);return[a,r=>{let i=Xw(e);{let s=i.map((e=>window.getComputedStyle(t).getPropertyValue(e)));n.requestAnimationFrame((function o(){n.nextFrame(o);let l=!1;for(let[e,a]of i.entries()){let r=window.getComputedStyle(t).getPropertyValue(a);if(s[e]!==r){s[e]=r,l=!0;break}}if(!l)return;let c=Jw(e,t);a!==c&&(r(c),a=c)}))}return n.dispose}]}return[r,null]})),s=(0,t.useMemo)((()=>i(e,a)[0]),[e,a]),[o=s,l]=(0,t.useState)();return De((()=>{let[t,r]=i(e,a);if(l(t),r)return r(l)}),[e,a]),o}function Xw(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let a=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[a,...Xw(r)]:[a]}return[]}function Jw(e,t){let a=document.createElement("div");t.appendChild(a),a.style.setProperty("margin-top","0px","important"),a.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(a).marginTop)||0;return t.removeChild(a),r}Vw.displayName="PlacementContext";var qw,$w=((qw=$w||{})[qw.First=0]="First",qw[qw.Previous=1]="Previous",qw[qw.Next=2]="Next",qw[qw.Last=3]="Last",qw[qw.Specific=4]="Specific",qw[qw.Nothing=5]="Nothing",qw);function Kw(e,t){let a=t.resolveItems();if(a.length<=0)return null;let r=t.resolveActiveIndex(),n=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 1:-1===n&&(n=a.length);for(let e=n-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 2:for(let e=n+1;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 3:for(let e=a.length-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 4:for(let r=0;r<a.length;++r)if(t.resolveId(a[r],r,a)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}var ex=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ex||{}),tx=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(tx||{}),ax=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(ax||{});function rx(e,t=e=>e){let a=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=ma(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),n=a?r.indexOf(a):null;return-1===n&&(n=null),{items:r,activeItemIndex:n}}let nx={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var a,r,n,i,s;if(1===e.menuState)return e;let o={...e,searchQuery:"",activationTrigger:null!=(a=t.trigger)?a:1,__demoMode:!1};if(t.focus===$w.Nothing)return{...o,activeItemIndex:null};if(t.focus===$w.Specific)return{...o,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===$w.Previous){let a=e.activeItemIndex;if(null!==a){let i=e.items[a].dataRef.current.domRef,s=Kw(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==s){let t=e.items[s].dataRef.current.domRef;if((null==(r=i.current)?void 0:r.previousElementSibling)===t.current||null===(null==(n=t.current)?void 0:n.previousElementSibling))return{...o,activeItemIndex:s}}}}else if(t.focus===$w.Next){let a=e.activeItemIndex;if(null!==a){let r=e.items[a].dataRef.current.domRef,n=Kw(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==n){let t=e.items[n].dataRef.current.domRef;if((null==(i=r.current)?void 0:i.nextElementSibling)===t.current||null===(null==(s=t.current)?void 0:s.nextElementSibling))return{...o,activeItemIndex:n}}}}let l=rx(e),c=Kw(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...o,...l,activeItemIndex:c}},3:(e,t)=>{let a=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),n=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+a).concat(e.items.slice(0,e.activeItemIndex+a)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),i=n?e.items.indexOf(n):-1;return-1===i||i===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:i,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let a=rx(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...a}},6:(e,t)=>{let a=rx(e,(e=>{let a=e.findIndex((e=>e.id===t.id));return-1!==a&&e.splice(a,1),e}));return{...e,...a,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},ix=(0,t.createContext)(null);function sx(e){let a=(0,t.useContext)(ix);if(null===a){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,sx),t}return a}function ox(e,t){return Ve(t.type,nx,e,t)}ix.displayName="MenuContext";let lx=t.Fragment,cx=Je.RenderStrategy|Je.Static,ux=t.Fragment,dx=rt((function(e,a){let{__demoMode:r=!1,...n}=e,i=(0,t.useReducer)(ox,{__demoMode:r,menuState:r?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsElement:o,buttonElement:l},c]=i,u=Te(a);ha(0===s,[l,o],((e,t)=>{c({type:1}),oa(t,sa.Loose)||(e.preventDefault(),null==l||l.focus())}));let d=ve((()=>{c({type:1})})),m=(0,t.useMemo)((()=>({open:0===s,close:d})),[s,d]),g={ref:u},p=$e();return t.createElement(Zw,null,t.createElement(ix.Provider,{value:i},t.createElement(He,{value:Ve(s,{0:Fe.Open,1:Fe.Closed})},p({ourProps:g,theirProps:n,slot:m,defaultTag:lx,name:"Menu"}))))})),mx=rt((function(e,a){var r;let n=(0,t.useId)(),{id:i=`headlessui-menu-button-${n}`,disabled:s=!1,autoFocus:o=!1,...l}=e,[c,u]=sx("Menu.Button"),d=(0,t.useContext)(Ww).getReferenceProps,m=Te(a,(0,t.useContext)(Ww).setReference,ve((e=>u({type:7,element:e})))),g=ve((e=>{switch(e.key){case ut.Space:case ut.Enter:case ut.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,Va.flushSync)((()=>u({type:0}))),u({type:2,focus:$w.First});break;case ut.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,Va.flushSync)((()=>u({type:0}))),u({type:2,focus:$w.Last})}})),p=ve((e=>{e.key===ut.Space&&e.preventDefault()})),f=ve((e=>{var t;if(We(e.currentTarget))return e.preventDefault();s||(0===c.menuState?((0,Va.flushSync)((()=>u({type:1}))),null==(t=c.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),u({type:0})))})),{isFocusVisible:M,focusProps:h}=ce({autoFocus:o}),{isHovered:y,hoverProps:N}=fe({isDisabled:s}),{pressed:w,pressProps:x}=_e({disabled:s}),b=(0,t.useMemo)((()=>({open:0===c.menuState,active:w||0===c.menuState,disabled:s,hover:y,focus:M,autofocus:o})),[c,y,M,w,s,o]),D=at(d(),{ref:m,id:i,type:Ie(e,c.buttonElement),"aria-haspopup":"menu","aria-controls":null==(r=c.itemsElement)?void 0:r.id,"aria-expanded":0===c.menuState,disabled:s||void 0,autoFocus:o,onKeyDown:g,onKeyUp:p,onClick:f},h,N,x);return $e()({ourProps:D,theirProps:l,slot:b,defaultTag:"button",name:"Menu.Button"})})),gx=rt((function(e,a){var r,n;let i=(0,t.useId)(),{id:s=`headlessui-menu-items-${i}`,anchor:o,portal:l=!1,modal:c=!0,transition:u=!1,...d}=e,m=function(e){return(0,t.useMemo)((()=>e?"string"==typeof e?{to:e}:e:null),[e])}(o),[g,p]=sx("Menu.Items"),[f,M]=function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let a=(0,t.useContext)(Vw),r=(0,t.useMemo)((()=>e),[JSON.stringify(e,((e,t)=>{var a;return null!=(a=null==t?void 0:t.outerHTML)?a:t}))]);De((()=>{null==a||a(null!=r?r:null)}),[a,r]);let n=(0,t.useContext)(Ww);return(0,t.useMemo)((()=>[n.setFloating,e?n.styles:{}]),[n.setFloating,e,n.styles])}(m),h=function(){let{getFloatingProps:e,slot:a}=(0,t.useContext)(Ww);return(0,t.useCallback)(((...t)=>Object.assign({},e(...t),{"data-anchor":a.anchor})),[e,a])}(),[y,N]=(0,t.useState)(null),w=Te(a,m?f:null,ve((e=>p({type:8,element:e}))),N),x=ya(g.itemsElement);m&&(l=!0);let b=Re(),[D,j]=Ce(u,y,null!==b?(b&Fe.Open)===Fe.Open:0===g.menuState);qt(D,g.buttonElement,(()=>{p({type:1})})),Ia(!g.__demoMode&&c&&0===g.menuState,x),Jt(!g.__demoMode&&c&&0===g.menuState,{allowed:(0,t.useCallback)((()=>[g.buttonElement,g.itemsElement]),[g.buttonElement,g.itemsElement])});let v=!function(e,a){let r=(0,t.useRef)({left:0,top:0});if(De((()=>{if(!a)return;let e=a.getBoundingClientRect();e&&(r.current=e)}),[e,a]),null==a||!e||a===document.activeElement)return!1;let n=a.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}(0!==g.menuState,g.buttonElement)&&D;(0,t.useEffect)((()=>{let e=g.itemsElement;e&&0===g.menuState&&e!==(null==x?void 0:x.activeElement)&&e.focus({preventScroll:!0})}),[g.menuState,g.itemsElement,x]),function(e,{container:a,accept:r,walk:n}){let i=(0,t.useRef)(r),s=(0,t.useRef)(n);(0,t.useEffect)((()=>{i.current=r,s.current=n}),[r,n]),De((()=>{if(!a||!e)return;let t=Ne(a);if(!t)return;let r=i.current,n=s.current,o=Object.assign((e=>r(e)),{acceptNode:r}),l=t.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,o,!1);for(;l.nextNode();)n(l.currentNode)}),[a,e,i,s])}(0===g.menuState,{container:g.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let _=be(),I=ve((e=>{var t,a,r;switch(_.dispose(),e.key){case ut.Space:if(""!==g.searchQuery)return e.preventDefault(),e.stopPropagation(),p({type:3,value:e.key});case ut.Enter:if(e.preventDefault(),e.stopPropagation(),p({type:1}),null!==g.activeItemIndex){let{dataRef:e}=g.items[g.activeItemIndex];null==(a=null==(t=e.current)?void 0:t.domRef.current)||a.click()}la(g.buttonElement);break;case ut.ArrowDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:$w.Next});case ut.ArrowUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:$w.Previous});case ut.Home:case ut.PageUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:$w.First});case ut.End:case ut.PageDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:$w.Last});case ut.Escape:e.preventDefault(),e.stopPropagation(),(0,Va.flushSync)((()=>p({type:1}))),null==(r=g.buttonElement)||r.focus({preventScroll:!0});break;case ut.Tab:e.preventDefault(),e.stopPropagation(),(0,Va.flushSync)((()=>p({type:1}))),function(e,t){ga(ia(),t,{relativeTo:e})}(g.buttonElement,e.shiftKey?aa.Previous:aa.Next);break;default:1===e.key.length&&(p({type:3,value:e.key}),_.setTimeout((()=>p({type:4})),350))}})),E=ve((e=>{e.key===ut.Space&&e.preventDefault()})),L=(0,t.useMemo)((()=>({open:0===g.menuState})),[g.menuState]),T=at(m?h():{},{"aria-activedescendant":null===g.activeItemIndex||null==(r=g.items[g.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=g.buttonElement)?void 0:n.id,id:s,onKeyDown:I,onKeyUp:E,role:"menu",tabIndex:0===g.menuState?0:void 0,ref:w,style:{...d.style,...M,"--button-width":hw(g.buttonElement,!0).width},...Oe(j)}),A=$e();return t.createElement(er,{enabled:!!l&&(e.static||D)},A({ourProps:T,theirProps:d,slot:L,defaultTag:"div",features:cx,visible:v,name:"Menu.Items"}))})),px=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-menu-item-${r}`,disabled:i=!1,...s}=e,[o,l]=sx("Menu.Item"),c=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===n,u=(0,t.useRef)(null),d=Te(a,u);De((()=>{if(!o.__demoMode&&0===o.menuState&&c&&0!==o.activationTrigger)return xe().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[o.__demoMode,u,c,o.menuState,o.activationTrigger,o.activeItemIndex]);let m=function(e){let a=(0,t.useRef)(""),r=(0,t.useRef)("");return ve((()=>{let t=e.current;if(!t)return"";let n=t.innerText;if(a.current===n)return r.current;let i=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let a=e.getAttribute("aria-labelledby");if(a){let e=a.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():Nw(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Nw(e).trim()}(t).trim().toLowerCase();return a.current=n,r.current=i,i}))}(u),g=(0,t.useRef)({disabled:i,domRef:u,get textValue(){return m()}});De((()=>{g.current.disabled=i}),[g,i]),De((()=>(l({type:5,id:n,dataRef:g}),()=>l({type:6,id:n}))),[g,n]);let p=ve((()=>{l({type:1})})),f=ve((e=>{if(i)return e.preventDefault();l({type:1}),la(o.buttonElement)})),M=ve((()=>{if(i)return l({type:2,focus:$w.Nothing});l({type:2,focus:$w.Specific,id:n})})),h=function(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let a=ww(t);return(e.current[0]!==a[0]||e.current[1]!==a[1])&&(e.current=a,!0)},update(t){e.current=ww(t)}}}(),y=ve((e=>{h.update(e),!i&&(c||l({type:2,focus:$w.Specific,id:n,trigger:0}))})),N=ve((e=>{h.wasMoved(e)&&(i||c||l({type:2,focus:$w.Specific,id:n,trigger:0}))})),w=ve((e=>{h.wasMoved(e)&&(i||c&&l({type:2,focus:$w.Nothing}))})),[x,b]=Ch(),[D,j]=Sa(),v=(0,t.useMemo)((()=>({active:c,focus:c,disabled:i,close:p})),[c,i,p]),_={id:n,ref:d,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":x,"aria-describedby":D,disabled:void 0,onClick:f,onFocus:M,onPointerEnter:y,onMouseEnter:y,onPointerMove:N,onMouseMove:N,onPointerLeave:w,onMouseLeave:w},I=$e();return t.createElement(b,null,t.createElement(j,null,I({ourProps:_,theirProps:s,slot:v,defaultTag:ux,name:"Menu.Item"})))})),fx=rt((function(e,a){let[r,n]=Ch(),i=e,s={ref:a,"aria-labelledby":r,role:"group"},o=$e();return t.createElement(n,null,o({ourProps:s,theirProps:i,slot:{},defaultTag:"div",name:"Menu.Section"}))})),Mx=rt((function(e,a){let r=(0,t.useId)(),{id:n=`headlessui-menu-heading-${r}`,...i}=e,s=Sh();De((()=>s.register(n)),[n,s.register]);let o={id:n,ref:a,role:"presentation",...s.props};return $e()({ourProps:o,theirProps:i,slot:{},defaultTag:"header",name:"Menu.Heading"})})),hx=rt((function(e,t){let a=e,r={ref:t,role:"separator"};return $e()({ourProps:r,theirProps:a,slot:{},defaultTag:"div",name:"Menu.Separator"})})),yx=Object.assign(dx,{Button:mx,Items:gx,Item:px,Section:fx,Heading:Mx,Separator:hx});function Nx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))}const wx=t.forwardRef(Nx),xx=function(){const[{active_flows_count:a,trash_flows_count:r,draft_flows_count:n},i]=l(),s=(0,f.useHistory)(),o=new URLSearchParams((0,f.useLocation)().search);let c=o.get("post_status");const u=o.get("paged"),d=o.get("s"),m=o.get("mode");let g="",p="";o.has("mode")&&o.delete("mode"),c||(c="active_flow"),u&&(g="&paged="+u),d&&(p="&s="+d);const M=function(){i({type:"SET_FLOWS",flows:null})};return(0,e.createElement)("div",{className:"wcf-flows-sub-header bg-white p-5 rounded-t-xl"},(0,e.createElement)("div",{className:"wcf-flows-sub-header__content-right flex justify-between gap-2"},(0,e.createElement)("div",{className:"wcf-flows-sub-header__search md:w-1/5 w-2/5"},(0,e.createElement)("form",{className:"wcf-search__form relative"},(0,e.createElement)(vr,{label:"",placeholder:(0,z.__)("Search Funnels","cartflows"),tooltip:"",class:"input-field !leading-none !pl-10 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none text-ellipsis",id:"wcf-funnel-search-input",inputvalue:"",handleChange:"",desc:"",onChangeCB:function(){const e=document.getElementById("wcf-funnel-search-input").value;0!==e.length&&e.length<3||(0===e.length?s.push(`admin.php?page=cartflows&path=flows${g}`):s.push(`admin.php?page=cartflows&path=flows&s=${e}`),i({type:"SET_FLOWS",flows:null}))}}),(0,e.createElement)("button",{className:"absolute p-2 top-1/2 -translate-y-1/2 left-1 bg-transparent text-gray-400 cursor-pointer hover:text-primary-500 m-0"},(0,e.createElement)(nN,{className:"w-18 h-18 stroke-2"})))),(0,e.createElement)("span",{className:"wcf-flows-sub-header__date_filter flex gap-2 md:gap-4 justify-end items-center"},(0,e.createElement)(oh,{classNames:"wcf-custom-filter-input date-picker-field !w-full !h-full !pl-4 !px-4 !py-3 md:!pr-7 !pr-8 text-sm font-normal text-gray-400 !rounded-md !border-gray-200 focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !text-ellipsis",sectionClass:"",wrapperClass:"",fieldParentWrapperClass:"",value:{endDate:null,startDate:null},onChangeCB:function(e){null===e.startDate?s.push(`admin.php?page=cartflows&path=flows${g}`):s.push(`admin.php?page=cartflows&path=flows${p}${g}&filter=date&from=${e.startDate}&to=${e.endDate}`),i({type:"SET_FLOWS",flows:null})},placeholder:(0,z.__)("Filter Funnels by Date","cartflows")}),(0,e.createElement)("span",{className:"divider w-px bg-gray-200 h-full"}),(0,e.createElement)(yx,{as:"div",className:"wcf-flow-row__actions-menu relative inline-block text-left"},(0,e.createElement)("div",null,(0,e.createElement)(mx,{className:"inline-flex w-full md:px-3 px-2 py-2 text-sm font-semibold text-gray-400 bg-gray-50 rounded-md"},(0,e.createElement)(wx,{className:"h-5 w-5","aria-hidden":"true"}))),(0,e.createElement)(Pt,{as:t.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},(0,e.createElement)(yx.Items,{className:"wcf-actions-menu__dropdown_menu absolute right-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},(({})=>(0,e.createElement)("div",{className:"py-1 "},(0,e.createElement)("div",{className:"py-2 px-4 font-medium bg-gray-50 text-xs"},(0,z.__)("Status","cartflows")),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"published_flows",to:{pathname:"admin.php",search:"?page=cartflows&path=flows"},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:"active_flow"===c?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Publish ","cartflows"),"(",a,")"))),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"draft_flows",to:{pathname:"admin.php",search:"?page=cartflows&path=flows&post_status=draft"},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:"draft"===c?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Draft ","cartflows"),"(",n,")"))),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"trash_flows",to:{pathname:"admin.php",search:"?page=cartflows&path=flows&post_status=trash"},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:"trash"===c?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Trash ","cartflows"),"(",r,")"))),(0,e.createElement)("div",{className:"py-2 px-4 font-medium bg-gray-50 text-xs"},(0,z.__)("Mode","cartflows")),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"Live",to:{pathname:"admin.php",search:`${o}`},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:null===m?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("All","cartflows")))),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"Live",to:{pathname:"admin.php",search:`${o}&mode=live`},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:"live"===m?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Live","cartflows")))),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"sandbox",to:{pathname:"admin.php",search:`${o}&mode=sandbox`},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500"},(0,e.createElement)(Kh,{checked:"sandbox"===m?"checked":""}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("SandBox","cartflows")))),(0,e.createElement)(yx.Item,null,(0,e.createElement)(I,{key:"Reset",to:{pathname:"admin.php",search:"?page=cartflows&path=flows"},onClick:M,className:"wcf-flow-export px-4 py-2 text-gray-700 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500 border-t-2 border-t-gray-100"},(0,e.createElement)("span",{className:"wcf-flow-row__btn-text text-primary-500 "},(0,z.__)("Reset Filters","cartflows"))))))))))))};function bx(a){const r=(0,t.useRef)(null);if(a)return(0,e.createElement)(Pt.Root,{show:a.isOpen,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-[99999] wcf-confirm-popup",initialFocus:r,onClose:()=>{}},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"wcf-confirm-popup-wrapper relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"absolute top-0 right-0 hidden pt-4 pr-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:a.onClose},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)(_y,{className:"h-6 w-6 text-red-600","aria-hidden":"true"})),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-lg font-medium leading-6 text-gray-900 capitalize"},a.title),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},a.description))))),(0,e.createElement)("div",{className:"flex bg-gray-50 px-4 py-3 flex flex-col-reverse sm:flex-row gap-3 sm:justify-end sm:px-6"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:a.onClose},a.cancelBtnText),(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-primary-button",onClick:a.onConfirm,disabled:a.isLoading},a.isLoading?(0,e.createElement)(ay,{className:"border-white border-r-transparent"}):a.actionBtnText))))))))}const Dx=(0,t.createContext)();function jx(){return(0,t.useContext)(Dx)}const vx=function(a){const{bulk_actions:r,selected_flows:n}=a,[{},i]=l(),[s,o]=(0,t.useState)(!1);let c=new URLSearchParams((0,f.useLocation)().search).get("paged");c||(c=1);const u=jx(),d=async function(e){e.preventDefault();const t=e.target.getAttribute("data-action"),r=document.getElementsByName("wcf-flow[]");let n="",s="";const l=[];for(const e of r)"checkbox"===e.type&&!0===e.checked&&l.push(e.getAttribute("id"));if(0===l.length||"-1"===t)return;if(!await u({title:(0,z.sprintf)(
// translators: %s: action name.
// translators: %s: action name.
(0,z.__)("%s This Flow","cartflows"),t.replace("_"," ")),description:(0,z.sprintf)(
// translators: %s: action status name.
// translators: %s: action status name.
(0,z.__)("Do you want to %s this flow? Are you sure?","cartflows"),t.replace("_"," ")),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const c=new window.FormData;switch(o(!0),t){case"trash":n="cartflows_trash_flows_in_bulk",s=cartflows_admin.trash_flows_in_bulk_nonce,c.append("new_status","trash");break;case"restore":case"publish":n="cartflows_update_flow_post_status",s=cartflows_admin.update_flow_post_status_nonce,c.append("new_status","publish");break;case"delete_permanently":n="cartflows_delete_flows_permanently",s=cartflows_admin.delete_flows_permanently_nonce;break;case"draft":n="cartflows_update_flow_post_status",s=cartflows_admin.update_flow_post_status_nonce,c.append("new_status","draft");break;case"export":n="cartflows_export_flows_in_bulk",s=cartflows_admin.export_flows_in_bulk_nonce}c.append("action",n),c.append("security",s),c.append("flow_ids",[l]),A()({url:cartflows_admin.ajax_url,method:"POST",body:c}).then((e=>{if("export"===t&&e.success){const t=new Date,a="cartflows-flows-export-"+t.getDate()+"-"+(t.getMonth()+1)+"-"+t.getFullYear()+".json",r=JSON.stringify(e.data.flows),n=new Blob([r],{type:"application/json"});if(document.documentMode)window.navigator.msSaveOrOpenBlob(n,a);else{const e=document.createElement("a");e.href=URL.createObjectURL(n),e.download=a,e.click()}}o(!1),a.selectedFlowsCall(0),i({type:"SET_FLOWS",flows:null})}))};return(0,e.createElement)(Pt,{as:"div",enter:"transition ease-in duration-1000",enterFrom:"transform opacity-0 scale-100",enterTo:"transform opacity-100 scale-100",leave:"transition ease-out duration-1000",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-100",show:!0},(0,e.createElement)("div",{className:"wcf-flows--bulk-action bg-primary-25 p-4 sm:p-6 flex flex-col sm:flex-row sm:justify-between gap-4 border-b border-primary-200"},(0,e.createElement)("div",{className:"wcf-flows-action-buttons flex flex-wrap gap-3 sm:gap-5 cursor-pointer"},r.map((t=>(0,e.createElement)("a",{key:t.label,className:`wcf-flows--bulk-action-btn wcf-flows--bulk-action__${t.value} flex gap-1.5 text-primary-500 hover:text-primary-600`,onClick:d,"data-action":t.value},t.icon,(0,e.createElement)("span",{"data-action":t.value},t.label)))),(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)("a",{className:"wcf-flows--bulk-action-btn wcf-flows--bulk-action__cancel flex text-primary-500 hover:text-primary-600",onClick:a.closeCallback},(0,z.__)("Cancel","cartflows"))),(0,e.createElement)("div",{className:"wcf-total-flows-found flex flex-col sm:flex-row sm:justify-between gap-2 sm:gap-4"},n," ",(0,z.__)("items selected","cartflows"),s&&(0,e.createElement)("div",{className:"wcf-action flex gap-6"},(0,e.createElement)("div",{className:"flex"},(0,e.createElement)("div",{className:"relative"},(0,e.createElement)("div",{className:"w-18 h-18 rounded-full absolute border-2 border-solid border-primary-200"}),(0,e.createElement)("div",{className:"w-18 h-18 rounded-full animate-spin absolute border-2 border-solid border-primary-500 border-t-transparent"}))),(0,z.__)("Applying changes…","cartflows")))))},Ix=window.moment;var Ex=n.n(Ix),Lx=n(4601);function Tx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"}))}const Ax=t.forwardRef(Tx);function zx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"}))}const kx=t.forwardRef(zx);function Sx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const Ox=t.forwardRef(Sx);function Cx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))}const Yx=t.forwardRef(Cx);function Ux({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 15 6-6m0 0-6-6m6 6H9a6 6 0 0 0 0 12h3"}))}const Qx=t.forwardRef(Ux);function Px({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"}))}const Fx=t.forwardRef(Px);function Rx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"}))}const Hx=t.forwardRef(Rx),Bx=function({flow:a,selected_flows:r,openCallback:n}){const i=a.ID,s=a.post_title,o=a.actions,c="Publish"===a.post_status?(0,z.__)(" Published ","cartflows"):a.post_status,u=a.post_modified_gmt,d=a.flow_test_mode,m=void 0!==a.revenue?a.revenue:cartflows_admin.woo_currency+"0",[{active_flows_count:g},p]=l(),M=new URLSearchParams((0,f.useLocation)().search).get("post_status"),h=jx(),N=async e=>{if(e.preventDefault(),!wcfCartflowsPro()&&g>=3)return null;if(!await h({title:(0,z.__)("Duplicate Funnel","cartflows"),description:(0,z.__)("Do you really want to duplicate this funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_clone_flow"),t.append("security",cartflows_admin.clone_flow_nonce),t.append("id",i),window.wcfAction="cloneFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{p({type:"SET_FLOWS",flows:null})})))},w=async e=>{if(console.log("***** Delete Flow *****"),e.preventDefault(),!await h({title:(0,z.__)("Trash Funnel","cartflows"),description:(0,z.__)("Do you really want to trash this funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_delete_flow"),t.append("security",cartflows_admin.delete_flow_nonce),t.append("flow_id",i),window.wcfAction="deleteFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{p({type:"SET_FLOWS",flows:null})})))},x=e=>{console.log("***** Export Flow *****"),e.preventDefault();const t=new window.FormData;t.append("action","cartflows_export_flow"),t.append("security",cartflows_admin.export_flow_nonce),t.append("flow_id",i),window.wcfAction="exportFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{if(e.success){const t=e.data.flow_name||`flow-${i}.json`,a=JSON.stringify(e.data.flows),r=new Blob([a],{type:"application/json"});if(document.documentMode)window.navigator.msSaveOrOpenBlob(r,t);else{const e=document.createElement("a");e.href=URL.createObjectURL(r),e.download=t,e.click()}}})))},b=async e=>{if(e.preventDefault(),!await h({title:(0,z.__)("Trash Funnel","cartflows"),description:(0,z.__)("Do you really want to trash this Funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_trash_flow"),t.append("security",cartflows_admin.trash_flow_nonce),t.append("flow_id",i),window.wcfAction="deleteFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{e.success&&p({type:"SET_FLOWS",flows:null})})))},D=async e=>{if(console.log("***** Restore Flow *****"),e.preventDefault(),!await h({title:(0,z.__)("Restore Funnel","cartflows"),description:(0,z.__)("Do you really want to restore this funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_restore_flow"),t.append("security",cartflows_admin.restore_flow_nonce),t.append("flow_id",i),window.wcfAction="restoreFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{e.success&&p({type:"SET_FLOWS",flows:null})})))},j=function(){const e=new window.FormData;e.append("new_status","publish"),e.append("action","cartflows_update_flow_post_status"),e.append("security",cartflows_admin.update_flow_post_status_nonce),e.append("flow_ids",[i]),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{p({type:"SET_FLOWS",flows:null})}))};let v=!1;return 0!==r&&(v=r.includes(i.toString())),(0,e.createElement)("tr",{key:i},(0,e.createElement)("td",{className:"whitespace-nowrap py-7 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6"},(0,e.createElement)(br,{class:"wcf-flow_row__checkbox",name:"wcf-flow[]",id:i,value:v?"yes":"no",onClick:e=>{n(e)}})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7"},(0,e.createElement)("a",{className:"wcf-flow-row__link text-sm text-gray-800 hover:text-primary-500",href:o?.edit.link,title:s},(0,e.createElement)("span",{className:"block text-xs sm:text-sm font-semibold"},function(){let t=Mr(s,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length);return""===s&&(t=(0,z.__)("(no title)","cartflows")),"Draft"===c&&(t=(0,e.createElement)("span",{className:"wcf-draft-flow-title"},(0,e.createElement)("span",{className:"flex"},t,(0,e.createElement)(Ax,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-draft-flow-status"},(0,z.__)("Draft","cartflows"))))),t}()),(0,e.createElement)("span",{className:"block text-sm sm:text-sm font-normal text-gray-400",title:(0,z.sprintf)(/* translators: %s date */ /* translators: %s date */
(0,z.__)("Last Modified: %s","cartflows"),u)},(0,z.__)("Updated ","cartflows"),Ex().utc(u).local().startOf("seconds").fromNow()))),(0,e.createElement)("td",{className:"whitespace-nowrap text-center px-3 py-7"},(0,e.createElement)("span",{className:xr()("wcf-badge text-xs sm:text-sm",d?"wcf-badge--warning":"wcf-badge--success")},d?(0,z.__)("Sandbox","cartflows"):(0,z.__)("Live","cartflows"))),(0,e.createElement)("td",{className:"whitespace-nowrap text-base text-center px-3 py-7"},"active"===cartflows_admin.woocommerce_status&&m?(0,e.createElement)("span",{className:"text-xs sm:text-sm"},Nr(m)):(0,e.createElement)(fh,{text:(0,z.__)("WooCommerce Required to display the revenue.","cartflows"),icon:(0,e.createElement)(kx,{className:"w-18 h-18 stroke-2 text-red-400 hover:text-red-600","aria-hidden":"true"})})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7 pr-4 sm:pr-6 text-sm text-gray-400"},(0,e.createElement)("div",{className:"wcf-flow-row__action-btns flex relative"},(0,e.createElement)("div",{className:"wcf-flow-row__basic-action-btns flex"},"trash"!==M&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("a",(0,y.A)({href:o?.view.link},o?.view.attr,{className:"wcf-flow-view wcf-flow-row__action-btn px-3 py-2 cursor-pointer group"}),(0,e.createElement)(fh,{text:(0,z.__)("View Funnel","cartflows"),icon:(0,e.createElement)(Ox,{className:"w-18 h-18 stroke-1 group-hover:text-primary-500","aria-hidden":"true"})})),(0,e.createElement)("a",{href:o?.edit.link,className:"wcf-flow-edit wcf-flow-row__action-btn px-3 py-2 cursor-pointer group"},(0,e.createElement)(fh,{text:(0,z.__)("Edit Funnel","cartflows"),icon:(0,e.createElement)(Yx,{className:"w-18 h-18 stroke-1 group-hover:text-primary-500","aria-hidden":"true"})}))),"trash"===M&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("a",{className:"wcf-flow-view wcf-flow-row__action-btn px-3 py-2 cursor-pointer group",title:(0,z.__)("Restore","cartflows"),onClick:D},(0,e.createElement)(fh,{text:(0,z.__)("Restore Flow","cartflows"),icon:(0,e.createElement)(Qx,{className:"w-18 h-18 stroke-1 group-hover:text-primary-500","aria-hidden":"true"})})),(0,e.createElement)("a",{className:"wcf-flow-view wcf-flow-row__action-btn px-3 py-2 cursor-pointer group",title:(0,z.__)("Delete","cartflows"),onClick:w},(0,e.createElement)(fh,{text:(0,z.__)("Delete Flow","cartflows"),icon:(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-1 group-hover:text-primary-500","aria-hidden":"true"})})))),"trash"!==M&&(0,e.createElement)(yx,{as:"div",id:`flow_more_options_${i}`,className:"wcf-flow-row__actions-menu relative inline-block text-left"},(0,e.createElement)("div",null,(0,e.createElement)(yx.Button,{className:"inline-flex w-full px-3 py-2 text-sm font-semibold cursor-pointer group"},(0,e.createElement)(fh,{text:(0,z.__)("More Options","cartflows"),icon:(0,e.createElement)(Pl,{className:"-mr-1 h-5 w-5 group-hover:text-primary-500","aria-hidden":"true"})}))),(0,e.createElement)(Pt,{as:t.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},(0,e.createElement)(yx.Items,{className:"wcf-actions-menu__dropdown_menu absolute right-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},(({})=>(0,e.createElement)("div",{className:"py-1"},("draft"===M||"Draft"===c)&&(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-publish px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:(0,z.__)("Publish","cartflows"),onClick:j},(0,e.createElement)(by,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Publish","cartflows")))),(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-clone px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:wcfCartflowsPro()||g<3?(0,z.__)("Duplicate Funnel","cartflows"):(0,z.__)("Upgrade to Pro for this feature.","cartflows"),"data-id":i,onClick:N,style:wcfCartflowsPro()||g<3?{}:{cursor:"not-allowed",opacity:" 0.65"}},(0,e.createElement)(Fx,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},wcfCartflowsPro()||g<3?(0,z.__)("Duplicate","cartflows"):(0,z.__)("Duplicate (Pro)","cartflows")))),(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-export px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:(0,z.__)("Export Flow","cartflows"),"data-id":i,onClick:x},(0,e.createElement)(Hx,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Export","cartflows")))),"trash"!==M?(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-trash px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:(0,z.__)("Trash Flow","cartflows"),onClick:b},(0,e.createElement)(Bl,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Trash","cartflows")))):(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-restore px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:(0,z.__)("Restore Flow","cartflows"),onClick:D},(0,e.createElement)(Qx,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Restore","cartflows")))),"trash"===M&&(0,e.createElement)(yx.Item,null,(0,e.createElement)("a",{href:"#",className:"wcf-flow-delete px-4 py-2 text-gray-600 text-sm flex gap-1.5 hover:bg-primary-25 hover:text-primary-500",title:(0,z.__)("Delete Flow","cartflows"),onClick:w},(0,e.createElement)(Bl,{className:"h-5 w-5"}),(0,e.createElement)("span",{className:"wcf-flow-row__btn-text"},(0,z.__)("Delete","cartflows"))))))))))))},Wx=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("table",{className:"min-w-full border-b border-gray-200 animate-pulse"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"w-16 py-3.5 pl-4 pr-3 text-left sm:pl-6"},(0,e.createElement)("input",{type:"checkbox",className:"wcf-select-all__flows !h-5 !w-5 !rounded !border-gray-300 !text-primary-600 focus:!ring-primary-600 !shadow-none before:!content-none !outline-none"})),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-base font-medium text-gray-800"},(0,z.__)("Name","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-center text-base font-medium text-gray-800"},(0,z.__)("Status","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-center text-base font-medium text-gray-800"},(0,z.__)("Sales","cartflows")),(0,e.createElement)("th",{scope:"col",className:"w-36 px-3 py-3.5 pr-4 sm:pr-6 text-left text-base font-medium text-gray-800"}," "))),(0,e.createElement)("tbody",{className:"divide-y divide-gray-200 bg-white"},Array(9).fill().map(((t,a)=>(0,e.createElement)("tr",{key:a},(0,e.createElement)("td",{className:"whitespace-nowrap py-7 pl-4 pr-3 sm:pl-6 text-center"},(0,e.createElement)("div",{className:"h-5 w-5 bg-gray-200 rounded-md"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7"},(0,e.createElement)("div",{className:"h-5 w-full bg-gray-200 rounded-md"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7"},(0,e.createElement)("div",{className:"h-5 w-4/6 bg-gray-200 rounded-md mx-auto"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7"},(0,e.createElement)("div",{className:"h-5 w-3/6 bg-gray-200 rounded-md mx-auto"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 py-7 pr-4 sm:pr-6"},(0,e.createElement)("div",{className:"h-5 w-full bg-gray-200 rounded-md mx-auto"}))))))))};function Vx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))}const Zx=t.forwardRef(Vx);function Gx({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))}const Xx=t.forwardRef(Gx),Jx=function(){const[{flows_data:a,active_flows_count:r,draft_flows_count:n,trash_flows_count:i,flows_pagination:s},o]=l(),c=new URLSearchParams((0,f.useLocation)().search);let u=c.get("paged"),d=0;const m=c.get("post_status"),p=c.get("s"),M=c.get("filter"),h=c.get("mode"),[y,N]=(0,t.useState)(!1),[w,x]=(0,t.useState)(0),[b,D]=(0,t.useState)(!1),[j,v]=(0,t.useState)("hide"),[_,E]=(0,t.useState)(""),[{page_builder:L}]=g();let T=!0;(a||y)&&(T=!1),u||(u=1);const k=[{value:"draft",label:(0,z.__)("Draft","cartflows"),icon:(0,e.createElement)(Zx,{className:"w-18 h-18 stroke-2","data-action":"draft"})},{value:"trash",label:(0,z.__)("Trash","cartflows"),icon:(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2","data-action":"trash"})},{value:"export",label:(0,z.__)("Export","cartflows"),icon:(0,e.createElement)(fw,{className:"w-18 h-18 stroke-2","data-action":"export"})}],S=[{value:"restore",label:(0,z.__)("Restore","cartflows"),icon:(0,e.createElement)(Qx,{className:"w-18 h-18 stroke-2","data-action":"restore"})},{value:"delete_permanently",label:(0,z.__)("Delete","cartflows"),icon:(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2","data-action":"delete_permanently"})}],O=[{value:"export",label:(0,z.__)("Export","cartflows"),icon:(0,e.createElement)(fw,{className:"w-18 h-18 stroke-2","data-action":"export"})},{value:"trash",label:(0,z.__)("Move to Trash","cartflows"),icon:(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2","data-action":"trash"})},{value:"delete_permanently",label:(0,z.__)("Delete","cartflows"),icon:(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2","data-action":"delete_permanently"})}];let C=[];"Publish"===m||null===m?C=k:"trash"===m?C=S:"draft"===m&&(C=O),(0,t.useEffect)((()=>{let e=!0;if(null===a){const t=new window.FormData;t.append("paged",u),m&&t.append("post_status",m),p&&t.append("s",p),h&&t.append("mode",h),"date"===M&&(t.append("start_date",c.get("from")),t.append("end_date",c.get("to"))),N(!1),(async()=>{A()({path:"/cartflows/v1/admin/flows/",method:"POST",body:t}).then((t=>{e&&o({type:"SET_FLOWS_DATA",flows:t.items,pagination:t.pagination,found_posts:t.found_posts,active_flows_count:t.active_flows_count,trash_flows_count:t.trash_flows_count,draft_flows_count:t.draft_flows_count}),!1===t.status?N(!0):N(!1)}))})()}return()=>{e=!1}}),[a]);const Y=function(e){e.target.checked?D(b>0?b+1:1):(D(b>0?b-1:0),0==b-1&&(document.getElementById("wcf-select-all__flows").checked=!1))};return T||0!==r||0!==n||0!==i?(0,e.createElement)("div",{className:"wcf-flows-page-wrapper"},(0,e.createElement)(Mw,{flows_count:r+n}),(0,e.createElement)(xx,null),T&&(0,e.createElement)(Wx,null),a&&0===a.length&&(0,e.createElement)("div",{className:"wcf-no-flows-found text-center bg-white p-20"},(0,e.createElement)("div",{className:"wcf-no-flows--content-block mx-auto max-w-2xl"},null!==p?(0,e.createElement)(nN,{className:"mx-auto w-7 h-7 stroke-2 text-primary-500"}):(0,e.createElement)(Xx,{className:"mx-auto w-7 h-7 stroke-2 text-primary-500"}),(0,e.createElement)("h3",{className:"wcf-no-flows--heading mt-4 text-xl font-medium text-gray-800"},null!==p?(0,z.sprintf)(/* translators: %d Search term */ /* translators: %d Search term */
(0,z.__)('No matching results found for the search term "%s".',"cartflows"),p):(0,z.__)("No flows found for the selected filter.","cartflows")),(0,e.createElement)("p",{className:"wcf-no-flows--message mt-1 text-sm font-normal text-gray-600"},(0,z.__)("Please try using different keywords, date range, or filters to refine your results.","cartflows")),(0,e.createElement)("div",{className:"wcf-no-flows--divider relative mt-6 mx-auto max-w-xs"},(0,e.createElement)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true"},(0,e.createElement)("div",{className:"w-full border-t border-gray-300"})),(0,e.createElement)("div",{className:"relative flex justify-center"},(0,e.createElement)("span",{className:"bg-white px-2 text-sm text-gray-600"},(0,z.__)("OR","cartflows")))),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=library"},className:"wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2 text-white"}),(0,e.createElement)("span",null,(0,z.__)("Create New","cartflows")))))),a&&0<a.length&&(0,e.createElement)(e.Fragment,null,b>0&&(0,e.createElement)(vx,{position:"before_flows",bulk_actions:C,selected_flows:b,selectedFlowsCall:D,closeCallback:function(){document.getElementById("wcf-select-all__flows").checked=!1,x([]),D(0)}}),(0,e.createElement)("div",{className:"wcf-flows-table rounded-b-xl bg-white "+("trash"===m?"wcf-flows-table-trash":"")},!T&&(0,e.createElement)("div",{className:"flex flex-col"},(0,e.createElement)("div",{className:"overflow-x-auto sm:overflow-visible"},(0,e.createElement)("div",{className:"inline-block min-w-full align-middle"},(0,e.createElement)("table",{className:"min-w-full border-b border-gray-200"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"w-16 py-3.5 pl-4 pr-3 text-left sm:pl-6"},(0,e.createElement)("input",{type:"checkbox",id:"wcf-select-all__flows",className:"wcf-select-all__flows !h-5 !w-5 !rounded !border-gray-300 !text-primary-600 focus:!ring-primary-600 !shadow-none before:!content-none !outline-none",title:"Select all",onClick:function(e){const t=e.target.checked,a=document.getElementsByName("wcf-flow[]"),r=[];for(const e of a)if("checkbox"===e.type)if(t)e.checked=!0,r.push(e.id);else{e.checked=!1;const t=r.indexOf(e.id);t>-1&&r.splice(t,1)}x(r),D(r.length)}})),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-base font-medium text-gray-800"},(0,z.__)("Name","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-center text-base font-medium text-gray-800"},(0,z.__)("Sandbox Mode","cartflows")),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-center text-base font-medium text-gray-800"},(0,z.__)("Sales","cartflows")),(0,e.createElement)("th",{scope:"col",className:"w-36 px-3 py-3.5 pr-4 sm:pr-6 text-left text-base font-medium text-gray-800"}," "))),(0,e.createElement)("tbody",{className:"divide-y divide-gray-200 bg-white"},!T&&a&&a.map((t=>(d++,(0,e.createElement)(Bx,{key:t.id,flow:t,loading:T,selected_flows:w,openCallback:Y})))))))))),(0,e.createElement)("div",{className:"wcf-funnel-footer flex justify-between bg-white"},(0,e.createElement)("div",{className:"p-5 align-center block text-sm font-normal text-gray-400 self-center"},(0,z.sprintf)(/* translators: %d flow count */ /* translators: %d flow count */
(0,z.__)(" %d items","cartflows"),d)),(0,e.createElement)(lw,{currentPage:parseInt(u),maxPages:parseInt(s?.max_pages)})))):(0,e.createElement)("main",{className:"wcf-no-flows-found-screen"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 items-start lg:grid-cols-5 lg:gap-10 xl:gap-10 rounded-md bg-white overflow-hidden shadow-sm px-10 py-10"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 lg:col-span-2 h-full"},(0,e.createElement)("div",{className:"wcf-video-container"},(0,e.createElement)("iframe",{className:"wcf-video rounded-md",src:"https://www.youtube.com/embed/SlE0moPKjMY?showinfo=0&autoplay=0&mute=0&rel=0",allow:"autoplay",title:"YouTube video player",frameBorder:"0",allowFullScreen:!0}))),(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 lg:col-span-3 h-full"},(0,e.createElement)("section",{"aria-labelledby":"section-1-title h-full"},(0,e.createElement)("div",{className:"flex flex-col justify-center h-full"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"flex"},(0,e.createElement)("h2",{className:"text-gray-800 text-2xl pb-3 font-semibold text-left"},(0,z.__)("Create your first funnel","cartflows"))),(0,e.createElement)("p",{className:"text-base text-gray-600 pb-7"},(0,z.__)("Build a sales funnel with everything you need to generate leads and grow sales.","cartflows"),(0,e.createElement)("div",{className:"flex mt-3"},(0,e.createElement)("div",null,(0,e.createElement)("li",null,(0,z.__)("One Click Upsells","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Order Bumps","cartflows")),(0,e.createElement)("li",null,(0,z.__)("A/B Split Testing","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Conversion Templates","cartflows"))),(0,e.createElement)("div",{className:"ml-10"},(0,e.createElement)("li",null,(0,z.__)("Checkout Editor","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Dynamic Offers","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Cart Abandonment","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Insights","cartflows"))))),(0,e.createElement)("span",{className:"relative z-0 inline-flex flex-col sm:flex-row justify-start items-center w-full gap-4"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=library"},onClick:e=>{"bricks-builder"===L&&(e.preventDefault(),v("show"))},className:"inline-flex gap-1.5 wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",null,(0,z.__)("Create Funnel","cartflows"))),(0,e.createElement)("span",{className:"divider w-px sm:h-9 bg-gray-200"}),(0,e.createElement)(gw,{importBtnString:(0,z.__)("Import from JSON file","cartflows")}))))))),(0,e.createElement)(PN,{visibility:j,setVisibility:v,type:"blank",flowName:_,setFlowName:E}))},qx=function(){const a=(0,t.useRef)(null),r="not-installed"===cartflows_admin.woocommerce_status?(0,z.__)("Install WooCommerce","cartflows"):(0,z.__)("Activate WooCommerce","cartflows"),[n,i]=(0,t.useState)(r),[s,o]=(0,t.useState)(!1);return setTimeout((function(){!function(){const e=document.getElementById("wpwrap");e&&e.removeAttribute("inert")}()}),1e3),(0,e.createElement)(Pt.Root,{show:!0,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-10",initialFocus:a,onClose:()=>{}},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-x-0 top-24 bottom-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-x-0 top-24 bottom-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"absolute top-0 right-0 hidden pt-4 pr-4 sm:block"}),(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},(0,e.createElement)(_y,{className:"h-6 w-6 text-red-600","aria-hidden":"true"})),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-base font-semibold leading-6 text-gray-900"},(0,z.__)("Plugin Required","cartflows")),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},(0,z.__)("You need WooCommerce plugin installed and activated to access this page.","cartflows")))))),(0,e.createElement)("div",{className:"bg-gray-50 px-4 py-3 sm:flex gap-3 justify-end sm:px-6"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-primary-button",onClick:e=>{if(e.preventDefault(),"not-installed"===cartflows_admin.woocommerce_status)i((0,z.__)("Installing","cartflows")),o(!0),wp.updates.queue.push({action:"install-plugin",data:{slug:"woocommerce"}}),wp.updates.queueChecker();else{i((0,z.__)("Activating","cartflows")),o(!0);const e=new window.FormData;e.append("action","cartflows_activate_plugin"),e.append("init","woocommerce/woocommerce.php"),e.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.data&&e.data.success?i((0,z.__)("Activated","cartflows")):i((0,z.__)("Failed","cartflows")),i((0,z.__)("Redirecting","cartflows")),window.location.reload()}))}}},s&&(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 animate-spin"}),n))))))))},$x=({setVisibility:a})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--footer bg-primary-25 p-4 mt-6 flex justify-end sm:px-6 gap-4"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>a("hide")},(0,z.__)("Close","cartflows")))),Kx=a=>{const{setVisibility:r,errorMessage:n,title:i}=a,s=i||(0,z.__)("Error","cartflows");return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--body fixed inset-0 z-30 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"wcf-name-your-flow--content bg-white px-4 pb-4 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"wcf-name-your-flow--header absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>{r("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-flow--title text-base font-medium text-gray-800"},s),(0,e.createElement)("div",{className:"wcf-name-your-flow__body mt-5"},(0,e.createElement)("p",null,n)))),(0,e.createElement)($x,{setVisibility:r}))))))},eb=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r()}})))((({visibility:a,setVisibility:r,errorMessage:n,title:i})=>(0,Va.createPortal)((0,e.createElement)("div",{className:`wcf-name-your-flow ${a}`},(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"wcf-name-your-flow__overlay fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-flow__inner"},(0,e.createElement)(Kx,{setVisibility:r,errorMessage:n,title:i}))))),document.getElementById("wcf-json-importer")))),tb=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getWooCommerceStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),woocommerce_status:r()}})))((({preview:a,cf_pro_status:r,woocommerce_status:n,flowName:i,isStoreCheckout:s})=>{const[{license_status:o}]=g(),[l,c]=(0,t.useState)({isProcessing:!1,buttonText:"Import Funnel"}),{isProcessing:u,buttonText:d}=l,[m,p]=(0,t.useState)(!1),[f,M]=(0,t.useState)("hide"),[h,y]=(0,t.useState)(""),[N,w]=(0,t.useState)(""),x=function(e){e.preventDefault(),m?D():b()},b=function(){p(!0),document.addEventListener("click",D)},D=function(){p(!1),document.removeEventListener("click",D)};if("pro"===a.type){if(!wcfCartflowsTypePro())return"inactive"===r&&"pro"===wcfInactivepluginType()?(0,e.createElement)(yy,null):(0,e.createElement)(Ny,null);if(wcfCartflowsTypePro()&&"Activated"!==o)return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,null)))}return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(eb,{visibility:f,setVisibility:M,errorMessage:h,title:N}),(0,e.createElement)("div",{className:"wcf-flow-import__button wcf-store-checkout-import__button"},(0,e.createElement)("button",{className:"wcf-button "+(u?"wcf-disabled":"wcf-primary-button"),onClick:t=>{t.preventDefault(),jQuery(t.target).closest(".wcf-name-your-flow__inner").find(".input-field").attr("disabled","disabled"),((t,a,r,n,i,s,o,l,c,u,d)=>{if("active"!==s)return"inactive"===s?(l((0,e.createElement)(SN,null)),void o("show ")):(l((0,e.createElement)(ON,null)),void o("show "));a({isProcessing:!0,buttonText:"Importing Complete Funnel.."});const m=new window.FormData;m.append("action","cartflows_import_flow"),m.append("flow_name",r),m.append("security",cartflows_admin.import_flow_nonce),m.append("flow",JSON.stringify(t)),m.append("store_checkout",n),m.append("creation_method","ready_made_template"),A()({url:cartflows_admin.ajax_url,method:"POST",body:m}).then((t=>{console.log(t),t.success?(a({isProcessing:!1,buttonText:"Imported! Redirecting..."}),setTimeout((()=>{let e=`admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${t.data.new_flow_id}`;n&&(e=`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${t.data.new_flow_id}`),window.location=`${cartflows_admin.admin_base_url+e}`}),3e3)):"call_to_action"in t.data?(l((0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-message wcf-message--error",dangerouslySetInnerHTML:{__html:t.data.call_to_action}}),d&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("a",{className:"wcf-error-message--toggle",onClick:u},(0,z.__)("Click for more info","cartflows")),(0,e.createElement)("div",{className:"wcf-error--info",dangerouslySetInnerHTML:{__html:t.data.message}})))),o("show ")):a({isProcessing:!1,buttonText:t.data.message})}))})(a,c,i,s,0,n,M,y,0,x,m)}},u?(0,e.createElement)(ay,null):""," ",d)))})),ab=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r,getWooCommerceStatus:n}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r(),woocommerce_status:n()}})))((({flowName:a,isStoreCheckout:r})=>{const[n,i]=(0,t.useState)((0,z.__)("Create Store Checkout","cartflows")),[s,o]=(0,t.useState)(!1);return(0,e.createElement)("div",{className:"wcf-name-your-flow__actions"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",onClick:e=>{e.preventDefault(),jQuery(e.target).closest(".wcf-name-your-flow__inner").find(".input-field").attr("disabled","disabled"),((e,t,a,r,n)=>{if(a)return;e("Creating Flow.."),r(!0);const i=new window.FormData;i.append("action","cartflows_create_flow"),i.append("security",cartflows_admin.create_flow_nonce),i.append("flow_name",t),i.append("store_checkout",n),i.append("creation_method","scratch"),A()({url:cartflows_admin.ajax_url,method:"POST",body:i}).then((t=>{console.log(t),t.success?(e((0,z.__)("Created! Redirecting…","cartflows")),r(!1),setTimeout((()=>{let e=`admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${t.data.flow_id}`;n&&(e=`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${t.data.flow_id}`),window.location=`${cartflows_admin.admin_base_url+e}`}),3e3)):e((0,z.__)("Failed to Create Flow!","cartflows"))}))})(i,a,s,o,r)}},n)))})),rb=({preview:a,type:r,flowName:n,setInputFieldVisibility:i,cancelButtonRef:s,setErrorDesc:o,setVisibility:l})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--footer bg-primary-25 p-4 mt-6 flex justify-end sm:px-6 gap-4"},"import"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>l("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(tb,{preview:a,flowName:n,setInputFieldVisibility:i,setErrorDesc:o})),"blank"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>l("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(ab,{flowName:n,setInputFieldVisibility:i,isStoreCheckout:!0})))),nb=a=>{const{cf_pro_status:r,setVisibility:n,preview:i,type:s,flowName:o,setFlowName:l,cancelButtonRef:c}=a,[u,d]=(0,t.useState)(""),[{flows_limit_over:m}]=g(),[p,f]=(0,t.useState)(""),[M,h]=(0,t.useState)(0);return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--body fixed inset-0 z-30 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"wcf-name-your-flow--content bg-white px-4 pb-4 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"wcf-name-your-flow--header absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>{n("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-flow--title text-base font-medium text-gray-800"},m?(0,z.__)("Upgrade To CartFlows Pro","cartflows"):(0,z.__)("Name Your Store Checkout","cartflows"))),m?(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow__footer"},(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required wcf-upgrade-pro"},(0,e.createElement)("div",{className:"wcf-flow-import__message"},(0,e.createElement)("p",null,(0,z.__)("You can't create more than 3 flows in free version. Upgrade to CartFlows Pro for adding more flows and other features.","cartflows"))),(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)("a",{href:"https://cartflows.com/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs",target:"_blank",className:"wcf-button wcf-button--primary",rel:"noreferrer"},(0,z.__)("Upgrade To Cartflows Pro","cartflows")))))))):(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:`mt-5 ${u}`},(0,e.createElement)("div",{className:"flex justify-between py-2"},(0,e.createElement)("div",{className:"wcf-name-your-flow--field-title"},(0,e.createElement)("label",{className:"flex gap-1 text-base font-normal text-gray-800"},(0,z.__)("Store Checkout Name","cartflows"))),(0,e.createElement)("div",{className:"wcf-name-your-flow--word-count"},(0,e.createElement)("span",{className:"text-xs font-normal "+(40===M?"text-primary-500":"text-gray-400")},M,"/40"))),(0,e.createElement)("input",{type:"text",className:"input-field w-full !px-4 !py-2 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",value:o,onChange:e=>{const{value:t}=e.target;t.length<=40&&(h(t.length),l(t))},placeholder:(0,z.__)("Enter Store Checkout Name","cartflows")})),""!==p&&(0,e.createElement)("div",{className:"mt-5"},(0,e.createElement)("p",{className:"text-sm font-regular text-gray-600"},p)))),(0,e.createElement)(rb,{cf_pro_status:r,setVisibility:n,preview:i,type:s,flowName:o,setFlowName:l,setInputFieldVisibility:d,setErrorDesc:f,cancelButtonRef:c}))))))},ib=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r()}})))((({visibility:a,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cf_pro_status:l})=>{const c=(0,t.useRef)(null);return(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-flow__inner"},(0,e.createElement)(nb,{cf_pro_status:l,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cancelButtonRef:c}))))})),sb=function(){const[a,r]=(0,t.useState)("hide"),[n,i]=(0,t.useState)(""),[{page_builder:s}]=g();return(0,e.createElement)("main",{className:"wcf-no-flows-found-screen"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 items-start lg:grid-cols-5 lg:gap-10 xl:gap-10 rounded-md bg-white overflow-hidden shadow-sm px-10 py-10"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 lg:col-span-2 h-full"},(0,e.createElement)("div",{className:"wcf-video-container"},(0,e.createElement)("iframe",{className:"wcf-video rounded-md",src:"https://www.youtube.com/embed/SlE0moPKjMY?showinfo=0&autoplay=0&mute=0&rel=0",allow:"autoplay",title:"YouTube video player",frameBorder:"0",allowFullScreen:!0}))),(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 lg:col-span-3 h-full"},(0,e.createElement)("section",{"aria-labelledby":"section-1-title h-full"},(0,e.createElement)("div",{className:"flex flex-col justify-center h-full"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"flex"},(0,e.createElement)("h2",{className:"text-gray-800 text-2xl pb-3 font-semibold text-left"},(0,z.__)("Create a global store checkout","cartflows"))),(0,e.createElement)("p",{className:"text-base text-gray-600 pb-7"},(0,z.__)("A well-designed checkout page can help streamline the checkout process, reduce cart abandonment rates and increase conversions.","cartflows"),(0,e.createElement)("div",{className:"flex mt-3"},(0,e.createElement)("div",null,(0,e.createElement)("li",null,(0,z.__)("Improved user experience","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Brand consistency","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Increased trust and credibility","cartflows"))),(0,e.createElement)("div",{className:"ml-10"},(0,e.createElement)("li",null,(0,z.__)("Flexibility and customization","cartflows")),(0,e.createElement)("li",null,(0,z.__)("Competitive advantage","cartflows"))))),(0,e.createElement)("span",{className:"relative z-0 inline-flex flex-col sm:flex-row justify-start w-full"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"?page=cartflows&path=store-checkout-library"},onClick:e=>{"bricks-builder"===s&&(e.preventDefault(),r("show"))},className:"inline-flex gap-1.5 wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",null,(0,z.__)("Create Store Checkout","cartflows"))))))))),(0,e.createElement)(ib,{visibility:a,setVisibility:r,type:"blank",flowName:n,setFlowName:i}))},ob=function(){return(0,e.createElement)("div",{className:"wcf-flows-page-wrapper"},(0,e.createElement)(sb,null))};function lb({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))}const cb=t.forwardRef(lb);function ub({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))}const db=t.forwardRef(ub);function mb({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}const gb=t.forwardRef(mb),pb=function(){const t={storeCheckout:{name:(0,z.__)("Store Checkout","cartflows"),desc:(0,z.__)("By setting up the store checkout, your default checkout page will be replaced by the CartFlows modern checkout which will lead to more conversion and leads.","cartflows"),icon:(0,e.createElement)(cb,{className:"h-6 w-6 stroke-1 text-primary-500 hover:text-primary-600"}),btnText:(0,z.__)("Get Started","cartflows"),redirectURL:cartflows_admin.admin_base_url+"admin.php?page=cartflows&path=store-checkout",isComplete:""!==cartflows_admin.global_checkout_id,onClickCall:e=>{e.preventDefault(),window.location.replace(cartflows_admin.admin_base_url+"admin.php?page=cartflows&path=store-checkout")}},connectStripe:{name:(0,z.__)("Connect a Payment Gateway","cartflows"),desc:(0,z.__)("WooCommerce Payments made simple, with no monthly fees - designed exclusively for WooCommerce stores.","cartflows"),icon:(0,e.createElement)(ky,{className:"h-6 w-6 stroke-1 text-primary-500 hover:text-primary-600"}),btnText:(0,z.__)("Connect WooPayments","cartflows"),redirectURL:cartflows_admin.admin_base_url+"admin.php?page=cartflows&path=store-checkout",isComplete:"active"===cartflows_admin.woopayments_status,onClickCall:e=>{if(e.preventDefault(),e.target.innerText=(0,z.__)("Setting up…","cartflows"),"not-installed"===cartflows_admin.woopayments_status)wp.updates.queue.push({action:"install-plugin",data:{slug:"woocommerce-payments"}}),wp.updates.queueChecker();else{const e=new window.FormData;e.append("action","cartflows_activate_plugin"),e.append("init","woocommerce-payments/woocommerce-payments.php"),e.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.data&&e.data.success&&window.location.replace(cartflows_admin.admin_base_url+"admin.php?page=wc-admin&path=/payments/connect")}))}}},cartAbandonment:{name:(0,z.__)("Recover Abandoned Carts","cartflows"),desc:(0,z.__)("Use our cart abandonment plugin and automatically recover your lost revenue absolutely free.","cartflows"),icon:(0,e.createElement)(db,{className:"h-6 w-6 stroke-1 text-primary-500 hover:text-primary-600"}),btnText:(0,z.__)("Get Started","cartflows"),redirectURL:cartflows_admin.admin_base_url+"admin.php?page=cartflows&path=store-checkout",isComplete:"active"===cartflows_admin.ca_status,onClickCall:e=>{if(e.preventDefault(),e.target.innerText=(0,z.__)("Setting up…","cartflows"),"not-installed"===cartflows_admin.ca_status)wp.updates.queue.push({action:"install-plugin",data:{slug:"woo-cart-abandonment-recovery"}}),wp.updates.queueChecker();else{const t=new window.FormData;t.append("action","cartflows_activate_plugin"),t.append("init","woo-cart-abandonment-recovery/woo-cart-abandonment-recovery.php"),t.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{t.data&&t.data.success&&(e.target.innerText=(0,z.__)("Finishing…","cartflows")),window.location.reload()}))}}},storeEmails:{name:(0,z.__)("Setup Email Reports","cartflows"),desc:(0,z.__)("Let CartFlows take the guesswork out of your checkout results. Each week your store will send you an email report with key metrics and insights.","cartflows"),icon:(0,e.createElement)(gb,{className:"h-6 w-6 stroke-1 text-primary-500 hover:text-primary-600"}),btnText:(0,z.__)("Add Email Address","cartflows"),redirectURL:cartflows_admin.admin_base_url+"admin.php?page=cartflows&path=store-checkout",isComplete:""!==cartflows_admin.is_set_report_email_ids,onClickCall:()=>{window.location.replace(cartflows_admin.admin_base_url+"admin.php?page=cartflows&settings=1")}}},a=Object.keys(t).map(((a,r)=>{const n=t[a];return(0,e.createElement)("div",{key:r,className:"bg-white box-border relative border rounded-md p-5 flex justify-between gap-8"},(0,e.createElement)("div",{className:"flex gap-6"},(0,e.createElement)("div",{className:"flex"},(0,e.createElement)("div",{className:"p-4 bg-white rounded-full shadow-custom h-fit"},n.icon)),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("div",{className:"text-base leading-[1.625rem] font-medium text-slate-800"},n.name),(0,e.createElement)("p",{className:"text-sm text-slate-400 mt-2"},n.desc),(0,e.createElement)("button",{"data-redirection":n.redirection,onClick:e=>{n.onClickCall(e)},className:xr()("wcf-button wcf-secondary-button mt-3",n.isComplete?"bg-gray-200 text-gray-400 pointer-events-none border-gray-200":"")},n.isComplete?(0,e.createElement)(eN,{className:"h-18 w-18 text-gray-400"}):(0,e.createElement)(eN,{className:"h-18 w-18 text-primary-500 hover:text-primary-600"}),n.btnText))),(0,e.createElement)("div",null,n.isComplete?(0,e.createElement)(HN,{className:"h-7 w-7 text-primary-500"}):(0,e.createElement)(HN,{className:"h-7 w-7 text-gray-200"})))}));return(0,e.createElement)("section",{"aria-labelledby":"section-1-title h-full"},(0,e.createElement)("div",{className:"p-8 rounded-md bg-white overflow-hidden shadow-sm flex flex-col justify-center h-full"},(0,e.createElement)("div",{className:"relative flex w-full lg:flex lg:items-center justify-between"},(0,e.createElement)("span",{className:"font-semibold text-xl leading-6 text-slate-800"},(0,z.__)("Complete Setup","cartflows")),(0,e.createElement)("span",{className:"text-gray-400 text-sm font-medium cursor-pointer",onClick:e=>{e.preventDefault();const t=new window.FormData;t.append("action","cartflows_dismiss_setup_page"),t.append("security",cartflows_admin.dismiss_setup_page_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{window.location.replace(cartflows_admin.admin_base_url+"admin.php?page=cartflows")}))}},(0,z.__)("Dismiss Setup","cartflows"))),(0,e.createElement)("div",{className:"grid grid-flow-row auto-rows-min grid-cols-1 gap-8 sm:grid-cols-2 pt-6"},a)))},fb=function(){const[a,r]=(0,t.useState)({errorFor:!1,errorMsg:!1}),{errorFor:n,errorMsg:i}=a,s=(e,t="plugin")=>"activated"===e?"":"installed"===e||"inactive"===e?"cartflows_recommended_"+t+"_activate":"cartflows_recommended_"+t+"_install",o=function(e){let t="";switch(e){case"active":t=(0,z.__)("Active","cartflows");break;case"inactive":t=(0,z.__)("Activate","cartflows");break;default:t=(0,z.__)("Install","cartflows")}return t},l=e=>{e.preventDefault();const t=e.target.dataset.action,a=e.target.dataset.is_pro,r=e.target.dataset.page_link,n=e.target.dataset.status;if("true"!==a.toLowerCase()||"not-installed"!==n)switch(t){case"cartflows_recommended_plugin_activate":d(e);break;case"cartflows_recommended_plugin_install":e.target.innerText=(0,z.__)("Installing…","cartflows"),u(e,"install-plugin")}else window.open(r,"_blank","noopener,noreferrer")},c=e=>{switch(e.target.dataset.action){case"cartflows_recommended_theme_activate":m(e);break;case"cartflows_recommended_theme_install":e.target.innerText=(0,z.__)("Installing…","cartflows"),u(e,"install-theme"),m(e)}},u=(e,t)=>new Promise(((a,n)=>{wp.updates.queue.push({action:t,data:{slug:e.target.dataset.slug,success(t){e.target.innerText=(0,z.__)("Installed","cartflows"),a(t,e.target.dataset),d(e)},error(t){n(t,e.target.dataset),e.target.innerText=(0,z.__)("Failed","cartflows"),r({errorFor:`${e.target.dataset.slug}_error`,errorMsg:t?.errorMessage}),setTimeout((function(){e.target.innerText=(0,z.__)("Install","cartflows"),r({errorFor:!1,errorMsg:!1})}),1500)}}}),wp.updates.queueChecker()})),d=e=>{const t=new window.FormData;t.append("action","cartflows_activate_plugin"),t.append("init",e.target.dataset.init),t.append("security",cartflows_admin.activate_plugin_nonce),e.target.innerText=(0,z.__)("Activating…","cartflows"),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{e.target.className="",e.target.className="text-green-600 pointer-events-none capitalize text-sm leading-[0.875rem] font-medium rounded-md py-[0.5625rem]",e.target.innerText=(0,z.__)("Activated","cartflows"),e.target.dataset.redirection&&(window.location=e.target.dataset.redirection)}))},m=e=>{const t=new window.FormData;t.append("action","cartflows_activate_theme"),t.append("theme_slug",e.target.dataset.slug),t.append("security",cartflows_admin.activate_theme_nonce),e.target.innerText=(0,z.__)("Activating…","cartflows"),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{e.target.classList.add("wcf-activated-theme","text-green-600","pointer-events-none","!px-0"),e.target.classList.remove("wcf-button","wcf-secondary-button"),e.target.innerText=(0,z.__)("Activated","cartflows");const t=document.querySelectorAll(".recommended-themes-wrapper .wcf-activated-theme");Array.from(t).forEach((function(t){t!==e.target&&(t.innerText=(0,z.__)("Activate","cartflows"),t.classList.remove("wcf-activated-theme","text-green-600","pointer-events-none"),t.classList.remove("!px-0"),t.classList.add("wcf-button","wcf-secondary-button"))}))}))},g=cartflows_admin.integrations.plugins.map(((t,a)=>(0,e.createElement)("div",{key:a,className:"box-border bg-white relative border rounded-md px-4 py-4 flex items-start gap-x-4 snap-start"},(0,e.createElement)("div",{className:"flex w-full justify-start gap-1.5"},(0,e.createElement)("div",{className:""},t.logoPath&&(0,e.createElement)("img",{src:t.logoPath.icon_path,className:"w-10 h-10 min-w-[40px] min-h-[40px]",alt:t.title})),(0,e.createElement)("div",{className:"w-full sm:ml-3 ml-0"},(0,e.createElement)("div",{className:"text-base flex justify-between gap-2 font-semibold text-gray-900"},t.title,t.hot_badge&&(0,e.createElement)("span",{className:"bg-[#faeddb] py-[4px] px-[10px] self-center text-xs text-primary-600 rounded-3xl"},(0,e.createElement)("span",null,(0,z.__)("Hot","cartflows")))),(0,e.createElement)("p",{className:"text-sm whitespace-break-spaces font-normal text-gray-600 flex mt-2"},t.subtitle),(0,e.createElement)("div",{className:"mt-4 flex items-center gap-3"},(0,e.createElement)("button",{"data-slug":t.slug,"data-redirection":t.redirection,"data-action":s(t.status,"plugin"),"data-status":t.status,"data-is_pro":t.isPro,"data-page_link":t.link,"data-init":t.path,onClick:l,className:xr()("active"===t.status?"text-green-600 pointer-events-none !px-0":"wcf-button wcf-secondary-button px-[0.8125rem]","text-sm  py-1.5")},t.isPro&&"not-installed"===t.status?(0,z.__)("Let's Go","cartflows"):o(t.status)),n===`${t.slug}_error`&&i&&(0,e.createElement)("p",{id:`${t.slug}_error`,className:"text-xs text-primary-500"},i))))))),p=cartflows_admin.integrations.themes.map(((t,a)=>(0,e.createElement)("div",{key:a,className:xr()(t.isPro?"bg-slate-50":"bg-white","box-border relative border rounded-md px-5 py-4 flex items-start gap-x-4 snap-start")},(0,e.createElement)("div",{className:"flex justify-between gap-1.5"},(0,e.createElement)("div",{className:""},t.logoPath&&(0,e.createElement)("img",{src:t.logoPath.icon_path,className:"w-10 h-10 min-w-[40px] min-h-[40px]",alt:t.title})),(0,e.createElement)("div",{className:"ml-3"},(0,e.createElement)("div",{className:"text-base font-semibold text-gray-900"},t.title),(0,e.createElement)("p",{className:"text-sm font-normal text-gray-600 flex mt-2"},t.subtitle),(0,e.createElement)("div",{className:"mt-4 flex items-center gap-3"},(0,e.createElement)("button",{"data-slug":t.slug,"data-redirection":t.redirection,"data-action":s(t.status,"theme"),onClick:c,className:xr()("active"===t.status?"wcf-activated-theme text-green-600 pointer-events-none !px-0":"wcf-button wcf-secondary-button px-[0.8125rem]","text-sm py-1.5")},o(t.status)),n===`${t.slug}_error`&&i&&(0,e.createElement)("p",{id:`${t.slug}_error`,className:"text-xs text-primary-500"},i)))))));return(0,e.createElement)("section",{"aria-labelledby":"section-1-title h-full"},(0,e.createElement)("div",{className:"p-8 rounded-md bg-white overflow-hidden shadow-sm flex flex-col justify-center h-full"},(0,e.createElement)("div",{className:"recommended-plugins-block"},(0,e.createElement)("div",{className:"relative w-full lg:flex lg:items-center lg:justify-between"},(0,e.createElement)("span",{className:"font-semibold text-xl leading-6 text-slate-800"},(0,z.__)("Recommended Plugins","cartflows"))),(0,e.createElement)("div",{className:"grid grid-flow-row auto-rows-min grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3 py-6"},g)),(0,e.createElement)("div",{className:"recommended-themes-block mt-8"},(0,e.createElement)("div",{className:"relative w-full lg:flex lg:items-center lg:justify-between"},(0,e.createElement)("span",{className:"font-semibold text-xl leading-6 text-slate-800"},(0,z.__)("Recommended Themes","cartflows"))),(0,e.createElement)("div",{className:"grid grid-flow-row auto-rows-min grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3 py-6"},p))))},Mb=function(){return(0,e.createElement)("div",{className:"wcf-setup-page-wrapper flex flex-col space-y-8"},(0,e.createElement)(pb,null),(0,e.createElement)(fb,null))},hb=function(){return(0,e.createElement)("div",{className:"wcf-recommended-plugins-wrapper"},(0,e.createElement)(fb,null))},yb=cartflows_admin.default_page_builder,Nb=cartflows_admin.required_plugins,wb=cartflows_admin.required_plugins[yb],xb={};xb[yb]=Object.values(cartflows_admin.flows_and_steps);const bb={};bb[yb]=Object.values(cartflows_admin.store_checkout_flows_and_steps);const Db={default_page_builder:yb,page_builder_group_data:Nb,page_builder_group:wb,preview:{},woocommerce_status:cartflows_admin.woocommerce_status,requiredPluginsData:cartflows_admin.required_plugins_data,missingPlugins:cartflows_admin.is_any_required_plugins_missing,flow_count:4,cf_pro_status:cartflows_admin.cf_pro_status,all_flows:{...xb},store_checkout_flows:{...bb},all_step_templates:(()=>{const e=[],t=cartflows_admin.flows_and_steps;return t&&t.forEach((t=>{t.steps.forEach((a=>{a.template_ID=t.ID,a.template_type=t.type,e.push(a)}))})),e})(),currentFlowSteps:Object.values(cartflows_admin.currentFlowSteps).length?cartflows_admin.currentFlowSteps["wcf-steps"]:[],flowsCount:(()=>{if(!Object.values(cartflows_admin.flows_count).length)return 0;let e=0;for(status in cartflows_admin.flows_count)"publish"===status&&(e+=parseInt(cartflows_admin.flows_count[status]));return e})(),currentFlowId:cartflows_admin.flow_id,selectedStep:"",license_status:cartflows_admin.license_status,stepTypes:{landing:"Landing",checkout:"Checkout",upsell:"Upsell",downsell:"Downsell",thankyou:"Thank You",optin:"Optin"},storeStepTypes:{upsell:"Upsell",downsell:"Downsell",thankyou:"Thank You"}},{registerStore:jb}=wp.data;jb("wcf/importer",{reducer:(e=Db,t)=>"SET_MISSING_PLUGINS"===t.type?(console.log("SET_MISSING_PLUGINS",t),{...e,missingPlugins:t.missingPlugins}):"UPDATE_WOOCOMMERCE_STATUS"===t.type?(console.log("UPDATE_WOOCOMMERCE_STATUS",t),{...e,woocommerce_status:t.woocommerce_status}):"UPDATE_CF_PRO_STATUS"===t.type?(console.log("UPDATE_CF_PRO_STATUS",t),{...e,cf_pro_status:t.cf_pro_status}):"SET_SELECTED_STEP"===t.type?(console.log("SET_SELECTED_STEP",t),{...e,selectedStep:t.selectedStep}):"SET_PREVIEW"===t.type?(console.log("SET_PREVIEW",t),{...e,preview:t.preview}):"SET_REQUIRED_PLUGINS"===t.type?(e.requiredPluginsData[t.page_builder]=t.value,{...e}):"SET_ALL_FLOWS"===t.type?(e.all_flows[t.page_builder]=t.flows,{...e}):e,actions:{updateWooCommerceStatus:e=>({type:"UPDATE_WOOCOMMERCE_STATUS",woocommerce_status:e}),updateCFProStatus:e=>({type:"UPDATE_CF_PRO_STATUS",cf_pro_status:e}),setMissingPlugins:e=>({type:"SET_MISSING_PLUGINS",missingPlugins:e}),setPreview:e=>({type:"SET_PREVIEW",preview:e}),setSelectedStep:e=>({type:"SET_SELECTED_STEP",selectedStep:e}),setRequiredPlugins:(e,t)=>({type:"SET_REQUIRED_PLUGINS",page_builder:e,value:t}),setAllFlows:(e,t)=>({type:"SET_ALL_FLOWS",flows:e,page_builder:t})},selectors:{getCount:({age:e})=>e,getAllFlows:({all_flows:e})=>e,getStoreCheckoutFlows:({store_checkout_flows:e})=>e,getFlowsList:({all_flows:e},t)=>e[t]?e[t]:[],getStoreCheckoutFlowsList:({store_checkout_flows:e},t)=>e[t]?e[t]:[],getAllStepTemplates:({all_step_templates:e})=>e,isLimitReached:({cf_pro_status:e,flow_count:t})=>("not-installed"===e||"inactive"===e)&&t>=3,getFlowsCount:({})=>0,getcurrentFlowId:({currentFlowId:e})=>e,getLicenseStatus:({license_status:e})=>e,getselectedStepTitle:({stepTypes:e,selectedStep:t})=>e[t]||"",getselectedStep:({selectedStep:e})=>e,getstepTypes:({stepTypes:e})=>e,getStoreStepTypes:({storeStepTypes:e})=>e,getcurrentFlowSteps:({currentFlowSteps:e})=>e,getMissingPlugins:({missingPlugins:e})=>e,getPreview:({preview:e})=>e,getWooCommerceStatus:({woocommerce_status:e})=>e,getDefaultPageBuilder:({default_page_builder:e})=>e,getPageBuilderGroup:({page_builder_group:e})=>e,getFlowCount:({flow_count:e})=>e,getCFProStatus:({cf_pro_status:e})=>e,getCurrentPageBuilderData:({page_builder_group_data:e},t)=>e[t],getRequiredPluginsData:({requiredPluginsData:e})=>e}});const vb=(0,py.compose)((0,fy.withDispatch)((e=>{const{setPreview:t}=e("wcf/importer");return{setPreview(e){t(e)}}})))((function({item:t,setPreview:a}){const{thumbnail_image_url:r,title:n,type:i}=t;return(0,e.createElement)("div",{className:"wcf-flow-template--item group relative cursor-pointer transition ease-in-out delay-150",onClick:()=>a(t)},"pro"===i?(0,e.createElement)("div",{className:`z-10 wcf-badge wcf-badge--info absolute top-5 right-5 text-xs uppercase font-medium py-px px-2 shadow-custom-2 wcf-item__type--${i}`},(0,e.createElement)("span",null,i," ")):"",(0,e.createElement)("div",{className:"wcf-item__inner bg-white border border-gray-200 rounded-lg"},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap sm:max-h-96 max-h-56 overflow-hidden relative"},(0,e.createElement)("div",{className:"wcf-item__thumbnail overflow-hidden"},(0,e.createElement)("img",{className:"wcf-flow-template--thumbnail-image",src:r,title:n,alt:n})),(0,e.createElement)("div",{className:"wcf-item__view invisible group-hover:visible absolute backdrop-brightness-50 top-0 w-full h-full transition ease-in-out delay-150"},(0,e.createElement)("div",{className:"mx-auto my-0 text-center flex flex-col gap-4 relative top-1/2"},(0,e.createElement)("div",{className:"wcf-item__btn"},(0,e.createElement)("span",{className:"wcf-button wcf-primary-button"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-2"}),(0,z.__)("View All Steps","cartflows")))))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},n))))}));function _b({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15m0 0 6.75 6.75M4.5 12l6.75-6.75"}))}const Ib=t.forwardRef(_b);function Eb({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15M9 12l3 3m0 0 3-3m-3 3V2.25"}))}const Lb=t.forwardRef(Eb),Tb=function({item:t,setPreviewImageURL:a,currentPreviewID:r,setCurrentPreviewID:n}){const{ID:i,title:s,type:o,thumbnail_image_url:l,featured_image_url:c}=t,u="wcf-item__inner rounded-lg cursor-pointer "+(r===i?"wcf-item__inner--active border border-primary-500":"");return(0,e.createElement)("div",{className:"wcf-item wcf-item--preview mb-8"},"pro"===o?(0,e.createElement)("span",{className:`wcf-item__type wcf-item__type--${o}`},o):"",(0,e.createElement)("div",{className:u,onClick:()=>{a(c),n(i)}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail max-h-[200px] overflow-hidden"},(0,e.createElement)("img",{className:"wcf-item__thumbnail-image rounded-lg",src:`${l}`,alt:(0,z.__)("Funnel thumbnail image","cartflows")}))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap p-4 bg-white border-t border-gray-200 rounded-bl-lg rounded-br-lg"},(0,e.createElement)("div",{className:"wcf-item__heading text-gray-800 text-sm font-medium"},s))))},Ab=(0,py.compose)((0,fy.withSelect)((e=>{const{getPreview:t}=e("wcf/importer");return{preview:t()}})),(0,fy.withDispatch)((e=>{const{setPreview:t}=e("wcf/importer");return{setPreview:t}})))((function({preview:a,setPreview:r}){const{featured_image_url:n,steps:i}=a,s=cartflows_admin.template_library_url+"preview/?flow="+a.ID,o=Object.values(i),l=o.length?o[0].ID:"",[c,u]=(0,t.useState)(n),[d,m]=(0,t.useState)(l),[g,p]=(0,t.useState)("hide"),[f,M]=(0,t.useState)("");return window.scrollTo(0,0),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-preview-wrap sm:mx-24 mx-0"},(0,e.createElement)("div",{className:"wcf-flow-preview--header flex justify-between items-center mb-8 sm:px-6 p-0 sm:flex-row flex-col gap-4"},(0,e.createElement)("div",{className:"wcf-flow-preview--left-section flex justify-between items-center gap-4"},(0,e.createElement)("span",{className:"wcf-button--back cursor-pointer",onClick:()=>r({})},(0,e.createElement)(Ib,{className:"w-6 h-6 stroke-2 text-gray-400"}),(0,e.createElement)("span",{className:"wcf-flows-header__text sr-only"},(0,z.__)("Back","cartflows"))),(0,e.createElement)("h3",{className:"text-2xl text-gray-800 font-semibold"},(0,z.__)("Funnel Preview","cartflows"))),(0,e.createElement)("div",{className:"wcf-flow-preview--right-section"},(0,e.createElement)("div",{className:"wcf-flow-preview__actions flex justify-between items-center gap-4"},(0,e.createElement)("a",{className:"wcf-button wcf-secondary-button",href:s,target:"_blank",rel:"noreferrer"},(0,e.createElement)(eN,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Live Preview","cartflows")),(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-primary-button",onClick:()=>{p("hide"===g?"show":"hide")}},(0,e.createElement)(Lb,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Import Funnel","cartflows")),(0,e.createElement)(PN,{visibility:g,setVisibility:p,preview:a,type:"import",flowName:f,setFlowName:M})))),(0,e.createElement)("div",{className:"wcf-flow-preview flex sm:flex-row flex-col-reverse"},(0,e.createElement)("div",{className:"wcf-flow-preview__item w-full sm:w-4/5 sm:px-6 p-0"},(0,e.createElement)("div",{className:"wcf-window--header bg-white p-2 flex items-center rounded-tl-lg rounded-tr-lg"},(0,e.createElement)("div",{className:"wcf-window--buttons flex justify-start gap-1 items-center w-2/4"},(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"}),(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"}),(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"})),(0,e.createElement)("div",{className:"wcf-window--title capitalize text-xs font-medium text-gray-600 w-2/4 -ml-12"},`${o.find((e=>e.ID===d)).type} Page`)),(0,e.createElement)("div",{className:"wcf-flow-preview__inner max-h-screen overflow-y-scroll"},(0,e.createElement)("div",{className:"wcf-flow-preview__thumbnail-wrap"},(0,e.createElement)("img",{className:"wcf-flow-preview__thumbnail w-full",src:c,alt:(0,z.__)("Funnel Preview","cartflows")})))),(0,e.createElement)("div",{className:"wcf-flow-preview__list w-full sm:w-[20%] sm:px-6 p-0"},o.map((t=>(0,e.createElement)(Tb,{key:t.ID,item:t,setPreviewImageURL:u,currentPreviewID:d,setCurrentPreviewID:m})))))))})),zb=(0,py.compose)((0,fy.withSelect)((()=>({page_builder_group:cartflows_admin.required_plugins[cartflows_admin?.page_builder],default_page_builder:cartflows_admin?.page_builder}))),(0,fy.withDispatch)((e=>{const{setRequiredPlugins:t,setAllFlows:a}=e("wcf/importer");return{setRequiredPlugins:t,setAllFlows:a}})))((({setRequiredPlugins:a,setAllFlows:r,default_page_builder:n,page_builder_group:i})=>{const[{page_builder:s}]=g(),[o,l]=(0,t.useState)(!1),c=new URLSearchParams((0,f.useLocation)()?.search);let u=c.get("path")?c.get("path"):"";"store-checkout-library"===u&&(u="store-checkout");const d=i.title;let m=`Please click here and activate ${d}`,p="";if("divi"===n){p=i["theme-status"];const e=i["plugin-status"];"deactivate"===p||"install"===e?m=`Please activate ${d}`:"deactivate"!==p&&"not-installed"!==p||"install"!==e||(m=`Please install and activate ${d}`)}function M(e){const t=new window.FormData;t.append("action","cartflows_activate_plugin"),t.append("init",e.init),t.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{l(!1),a(s,"no"),r([]),window.location.reload()}))}const[h,y]=(0,t.useState)("hide"),[N,w]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-flow-importer wcf-flow-library--other"},(0,e.createElement)("div",{className:"wcf-flow-library-importer__header bg-white px-8 py-6 flex justify-between items-center border-b border-gray-200"},(0,e.createElement)("h3",{className:"wcf-flow-importer__header-title text-2xl font-semibold text-gray-800"},(0,z.__)("Funnel Templates","cartflows"))),(0,e.createElement)("div",{className:"wcf-flow-library-importer__list bg-white px-10 py-14"},(0,e.createElement)(PN,{visibility:h,setVisibility:y,type:"blank",flowName:N,setFlowName:w}),(0,e.createElement)("div",{className:"wcf-item wcf-item--start-from-blank flex gap-6 mx-auto max-w-4xl"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer group bg-gray-25 p-5 text-center flex flex-col border border-gray-200 hover:border-primary-300 rounded-md items-center justify-center h-72 w-2/3",onClick:()=>{y("hide"===h?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"wcf-icon-start-from-blank w-7 h-7 stroke-1 text-gray-400 group-hover:text-primary-300"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info flex flex-col gap-6 justify-center w-3/4"},(0,e.createElement)("h3",{className:"wcf_item__info--title text-2xl text-gray-800 font-semibold"},(0,z.__)("It seems that the page builder you selected is inactive.","cartflows")),(0,e.createElement)("p",{className:"wcf_item__info--notice text-base text-gray-600 font-normal"},o?(0,e.createElement)(My,null):"",(0,e.createElement)("a",{href:"#",onClick:function(e){e.preventDefault(),console.log("clicked"),l(!0);const t=cartflows_admin.required_plugins[n].plugins;let a=0,r=0;for(const e of t)"install"===e.status&&a++,"activate"===e.status&&r++;a?function(e){console.log("Installing all plugins",e);for(const t of e)"install"===t.status&&(console.log("plugin.slug",t.slug),wp.updates.queue.push({action:"install-plugin",data:{slug:t.slug,init:t.init,name:t.name,success(){console.log("Installed Successfully! Activating plugin ",t.slug),M(t)},error(){}}}));wp.updates.queueChecker()}(t):r&&(console.log("remaining_active_plugins",r),function(e){for(const t of e)"activate"===t.status&&M(t)}(t))},className:"text-primary-500 hover:text-primary-600"},m),(0,z.__)(" to see CartFlows templates. If you prefer another page builder tool, you can ","cartflows"),(0,e.createElement)(I,{key:`?page=${cartflows_admin.home_slug}&path=${u}&settings=1`,to:{pathname:"admin.php",search:`?page=${cartflows_admin.home_slug}&path=${u}&settings=1`},onClick:function(e){e.preventDefault(),window.location=e.target.href},className:"text-primary-500 hover:text-primary-600"},(0,z.__)("select it here","cartflows")),"."),(0,e.createElement)("span",{className:"wcf_item__info--desc text-base text-gray-600 font-normal"},(0,z.__)("Are you using any other page builder? No worries. CartFlows works well with every other page builder. Right now we do not have ready templates for every page builder but we are planning to add it very soon.","cartflows")),(0,e.createElement)("a",{className:"wcf_item__info--doc text-gray-600 hover:text-primary-500 flex items-center gap-2 text-sm",href:"https://cartflows.com/docs/how-to-use-cartflows-with-your-own-template/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs",target:"_blank",rel:"noreferrer"},(0,z.__)("Learn How ","cartflows"),(0,e.createElement)("i",{className:"dashicons dashicons-external"}))))))})),kb=({text:t})=>(0,e.createElement)("span",{className:"wcf-sync__title"}," ",t),Sb=(0,t.memo)((a=>{const r=(0,z.__)("Sync Library","cartflows"),{template:n}=a,i=n||"",[s,o]=(0,t.useState)({isProcessing:!1,buttonText:r}),{isProcessing:l,buttonText:c}=s,u=async(e,t)=>{const a=new window.FormData;a.append("action","cartflows_import_sites"),a.append("page_no",e),a.append("template",i),a.append("security",cartflows_admin.import_sites_nonce),await A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((a=>{console.log(a),a.success?(console.log("SUCCESS: processImportSites"),o({isProcessing:!0,buttonText:(0,z.sprintf)(/* translators: %d is replaced with the condition number */ /* translators: %d is replaced with the condition number */
(0,z.__)("Importing page %d","cartflows"),e)}),console.log("i === total"),console.log(`${e} === ${t}`),console.log(e===t),e===t&&(async()=>{const e=new window.FormData;e.append("action","cartflows_update_library_complete"),e.append("template",i),e.append("security",cartflows_admin.update_library_complete_nonce),o({isProcessing:!0,buttonText:(0,z.__)("Sync Complete","cartflows")}),await A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{console.log(e),e.success?(console.log("SUCCESS: processupdateLibraryComplete"),console.log("=== SYNC COMPLETE ==="),o({isProcessing:!1,buttonText:(0,z.__)("Sync Complete","cartflows")})):console.log("FAILED: processupdateLibraryComplete")})).catch((e=>{console.log(e),console.log("ERROR: processupdateLibraryComplete")}))})()):console.log("FAILED: processImportSites")})).catch((e=>{console.log(e),console.log("ERROR: processImportSites")}))};return(0,e.createElement)("span",{className:"wcf-sync wcf-button wcf-secondary-button whitespace-nowrap sm:whitespace-normal",onClick:e=>{e.preventDefault(),o({isProcessing:!0,buttonText:(0,z.__)("Syncing Library…","cartflows")}),(async()=>{console.log("Started");try{console.log("=== SYNC STARTED ===");const e=new window.FormData;e.append("action","cartflows_sync_library"),e.append("template",i),e.append("security",cartflows_admin.sync_library_nonce),await A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{console.log(e),e.success?(console.log("SUCCESS: processSyncLibrary"),"updated"===e.data?(o({isProcessing:!1,buttonText:(0,z.__)("Library Synced","cartflows")}),setTimeout((()=>{o({isProcessing:!1,buttonText:r})}),5e3)):(async()=>{const e=new window.FormData;e.append("action","cartflows_request_count"),e.append("template",i),e.append("security",cartflows_admin.request_count_nonce),await A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((async e=>{if(console.log(e),e.success){console.log("SUCCESS: processRequestCount"),console.log(e),o({isProcessing:!0,buttonText:"Importing Pages.."});const t=e.data.count;console.log("total",t);for(let e=1;e<=t;e++)console.log("i",e),u(e,t)}else console.log("FAILED: processRequestCount"),o({isProcessing:!1,buttonText:r})})).catch((e=>{console.log(e),console.log("ERROR: processRequestCount")}))})()):(console.log(e),console.log("FAILED: processSyncLibrary"))})).catch((e=>{console.log(e),console.log("ERROR: processSyncLibrary")}))}catch(e){console.log("Complete: Failed"),console.log(e)}})()}},l?(0,e.createElement)(My,null):(0,e.createElement)(zr,{className:"w-18 h-18 stroke-1"}),(0,e.createElement)(kb,{text:c}))})),Ob=()=>{const[a,r]=(0,t.useState)("hide"),[n,i]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-flow-library-importer wcf-flow-library--other"},(0,e.createElement)("div",{className:"wcf-flow-library-importer__list bg-white px-10 py-14"},(0,e.createElement)(PN,{visibility:a,setVisibility:r,type:"blank",flowName:n,setFlowName:i}),(0,e.createElement)("div",{className:"wcf-item wcf-item--start-from-blank flex gap-6 mx-auto max-w-4xl"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer group bg-gray-25 p-5 text-center flex flex-col border border-gray-200 hover:border-primary-300 rounded-md items-center justify-center h-72 w-2/3",onClick:()=>{r("hide"===a?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-1 text-gray-400 group-hover:text-primary-300"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info flex flex-col gap-6 justify-center w-3/4"},(0,e.createElement)("h3",{className:"wcf_item__info--title text-2xl text-gray-800 font-semibold"},(0,e.createElement)("h3",{className:"wcf_item__info--title"},(0,z.__)("No Results Found.","cartflows"))),(0,e.createElement)("span",{className:"wcf_item__info--desc text-base text-gray-600 font-normal mt-2"},(0,z.__)("Don't see a funnel that you would like to import?","cartflows")),(0,e.createElement)("a",{className:"wcf_item__info--doc text-sm text-gray-600 font-normal hover:text-primary-300 flex gap-1",href:"https://cartflows.com/funnel-suggestions/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=suggestions",target:"_blank",rel:"noreferrer"},(0,z.__)("Please suggest us ","cartflows"),(0,e.createElement)(eN,{className:"w-5 h-5 stroke-1 text-gray-400 hover:text-primary-300"}))))))},Cb=function(){return(0,e.createElement)("div",{className:"wcf-flow-importer__list wcf-items-list grid grid-cols-2 sm:grid-cols-4 gap-6 is-placeholder"},(()=>{const t=[];for(let a=0;a<12;a++)t.push((0,e.createElement)("div",{className:"wcf-item"},(0,e.createElement)("div",{className:"relative p-4 w-full bg-white overflow-hidden shadow hover:shadow-md rounded-lg"},(0,e.createElement)("div",{className:"animate-pulse flex flex-col"},(0,e.createElement)("div",{className:"rounded w-full h-52 bg-gray-200"}),(0,e.createElement)("div",{className:"flex flex-col mt-5"},(0,e.createElement)("div",{className:"w-full h-5 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"mt-2 w-10/12 h-3 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"mt-2 w-8/12 h-3 bg-gray-200 rounded"})),(0,e.createElement)("div",{className:"grid grid-cols-2 mt-5 gap-x-2 gap-y-1"},(0,e.createElement)("div",{className:"mt-2 w-full h-3 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"mt-2 w-full h-3 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"mt-2 w-full h-3 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"mt-2 w-full h-3 bg-gray-200 rounded"})),(0,e.createElement)("div",{className:"flex items-center mt-5"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"rounded-full bg-gray-200 w-10 h-10"})),(0,e.createElement)("div",{className:"flex justify-between w-full ml-3"},(0,e.createElement)("div",{className:"w-5/12 h-3 bg-gray-200 rounded"}),(0,e.createElement)("div",{className:"w-2/12 h-3 bg-gray-200 rounded"})))))));return t})())},Yb=(0,py.compose)((0,fy.withDispatch)((e=>{const{setAllFlows:t}=e("wcf/importer");return{setAllFlows:t}})))((function({setAllFlows:a}){let r="no";const[{page_builder:n}]=g(),[i,s]=(0,t.useState)(""),[o,l]=(0,t.useState)(!1),{currentPageBuilderData:c,requiredPluginsData:u,preview:d,all_flows:m,flows_list:p}=(0,fy.useSelect)((e=>({currentPageBuilderData:e("wcf/importer").getCurrentPageBuilderData(n),requiredPluginsData:e("wcf/importer").getRequiredPluginsData(),preview:e("wcf/importer").getPreview(),all_flows:e("wcf/importer").getAllFlows(),flows_list:e("wcf/importer").getFlowsList(n)})));if("yes"===u[n]&&c&&c?.plugins&&c?.plugins.map((function(e){return"install"!==e.status&&"activate"!==e.status||(r="yes"),""})),"yes"===r)return(0,e.createElement)(zb,null);(0,t.useEffect)((()=>{let e=!0;if(!m[n]){const t=new window.FormData;t.append("action","cartflows_get_flows_list"),t.append("security",cartflows_admin.get_flows_list_nonce),l(!0),(async()=>{A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{if(l(!1),e&&t?.data?.flows){const e=Object.values(t.data.flows);h(e),a(e,n)}}))})()}return()=>{e=!1}}),[m]);const f=(0,t.createRef)(),[M,h]=(0,t.useState)(p),[y,N]=(0,t.useState)("search"),w=function(e){if(e&&e.length>=3){N("cancel");const t=e.toLowerCase(),a=p.filter((function(e){return(e.title&&e.title.toLowerCase()||"").includes(t)}));s(e),h(a)}else N("search"),h(p)},[x,b]=(0,t.useState)("hide"),[D,j]=(0,t.useState)("");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-importer"},Object.keys(d).length?(0,e.createElement)(Ab,null):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-importer__header bg-white px-8 py-6 flex justify-between items-start sm:items-center mb-9 -m-8 sm:flex-row flex-col gap-3"},(0,e.createElement)("h3",{className:"wcf-flow-importer__header-title text-2xl font-semibold text-gray-800"},(0,z.__)("Choose a Funnel Templates","cartflows")),(0,e.createElement)("div",{className:"wcf-flow-importer__actions gap-4 flex justify-between items-center"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-content-left"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-search"},(0,e.createElement)("form",{className:"wcf-search-flows--form relative",onSubmit:function(e){e.preventDefault(),"cancel"===y&&(f.current.value="",w(""),s(""))}},(0,e.createElement)(vr,{attr:{ref:f},label:"",placeholder:(0,z.__)("Search Templates","cartflows"),class:"input-field !pl-8 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",id:"s",value:i,onChangeCB:w}),(0,e.createElement)("button",{className:"wcf-search__button absolute inset-y-0 left-0 flex items-center pl-3 bg-transparent cursor-pointer m-0 "+("cancel"===y?"top-1":"top-px")},"search"===y&&(0,e.createElement)(nN,{className:"w-18 h-18 stroke-2 text-gray-400"}),"cancel"===y&&(0,e.createElement)(Sr,{className:"w-18 h-18 stroke-2 text-gray-400"}))))),(0,e.createElement)("div",{className:"divider w-px bg-gray-200 h-7"}),(0,e.createElement)("div",{className:"wcf-flow-importer__actions-content-right"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-buttons"},(0,e.createElement)(Sb,null))))),o&&(0,e.createElement)(Cb,null),p.length>0&&0===M.length&&(0,e.createElement)(Ob,null),(0,e.createElement)("div",{className:"wcf-flow-importer__list wcf-items-list grid grid-cols-1 sm:grid-cols-4 gap-6"},(0,e.createElement)(PN,{visibility:x,setVisibility:b,type:"blank",flowName:D,setFlowName:j}),(0,e.createElement)("div",{className:"wcf-item wcf-item__start-from-blank sm:h-full lg:h-full sm:min-h-full lg:min-h-full min-h-72 bg-white rounded-lg relative start-scratch"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer bg-gray-50 text-center h-full flex flex-col gap-4 items-center justify-center",onClick:()=>{b("hide"===x?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-2 text-gray-400"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows"))))),p.length>0&&0<M.length&&M.map((t=>(0,e.createElement)(vb,{key:t.ID,item:t})))))))})),Ub=a=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)(""),o=a.page_builder;return(0,e.createElement)("div",{className:"wcf-flow-library-importer wcf-flow-library--other"},(0,e.createElement)("div",{className:"wcf-flow-library-importer__header bg-white px-8 py-6 flex justify-between items-center border-b border-gray-200"},(0,e.createElement)("h3",{className:"wcf-flow-importer__header-title text-2xl font-semibold text-gray-800"},(0,z.__)("Start from Scratch","cartflows"))),(0,e.createElement)("div",{className:"wcf-flow-library-importer__list bg-white px-10 py-14"},(0,e.createElement)(PN,{visibility:r,setVisibility:n,type:"blank",flowName:i,setFlowName:s}),(0,e.createElement)("div",{className:"wcf-item wcf-item--start-from-blank flex gap-6 mx-auto max-w-4xl"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer group bg-gray-25 p-5 text-center flex flex-col border border-gray-200 hover:border-primary-300 rounded-md items-center justify-center h-72 w-2/3",onClick:()=>{n("hide"===r?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-1 text-gray-400 group-hover:text-primary-300"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info flex flex-col gap-6 justify-center w-3/4"},(0,e.createElement)("h3",{className:"wcf_item__info--title text-2xl text-gray-800 font-semibold"},"bricks-builder"===o&&(0,z.__)("It seems that you are using the Bricks Builder.","cartflows"),"other"===o&&(0,z.__)("It seems that you are using the page builder other than Elementor, Beaver Builder, Block Builder.","cartflows")),(0,e.createElement)("span",{className:"wcf_item__info--desc text-base text-gray-600 font-normal mt-2"},"bricks-builder"===o&&(0,z.__)("Are you using Bricks Builder? No worries. CartFlows works well with Bricks Builder. Right now we do not have ready templates for Bricks Builder but we are planning to add it very soon.","cartflows"),"other"===o&&(0,z.__)("Are you using any other page builder? No worries. CartFlows works well with every other page builder. Right now we do not have ready templates for every page builder but we are planning to add it very soon.","cartflows")),(0,e.createElement)("span",{className:"mt-2"},(0,e.createElement)("a",{className:"wcf_item__info--doc text-gray-600 hover:text-primary-500 flex items-center gap-2 text-sm",href:"https://cartflows.com/docs/how-to-use-cartflows-with-your-own-template/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs",target:"_blank",rel:"noreferrer"},(0,z.__)("Learn How ","cartflows"),(0,e.createElement)(eN,{className:"w-18 h-18 stroke-1"})))))))},Qb=()=>{const[{page_builder:t}]=g();return"bricks-builder"!==t&&"other"!==t?(0,e.createElement)(Yb,null):(0,e.createElement)(Ub,{page_builder:t})},Pb=function({item:t,setPreviewImageURL:a,currentPreviewID:r,setCurrentPreviewID:n}){const{ID:i,title:s,type:o,thumbnail_image_url:l,featured_image_url:c}=t,u="wcf-item__inner rounded-lg cursor-pointer "+(r===i?"wcf-item__inner--active border border-primary-500":"");return(0,e.createElement)("div",{className:"wcf-item wcf-item--preview mb-8"},"pro"===o?(0,e.createElement)("span",{className:`wcf-item__type wcf-item__type--${o}`},o):"",(0,e.createElement)("div",{className:u,onClick:()=>{a(c),n(i)}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail max-h-[200px] overflow-hidden"},(0,e.createElement)("img",{className:"wcf-item__thumbnail-image rounded-lg",src:`${l}`,alt:(0,z.__)("Funnel thumbnail image","cartflows")}))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap p-4 bg-white border-t border-gray-200 rounded-bl-lg rounded-br-lg"},(0,e.createElement)("div",{className:"wcf-item__heading text-gray-800 text-sm font-medium"},s))))},Fb=(0,py.compose)((0,fy.withSelect)((e=>{const{getPreview:t}=e("wcf/importer");return{preview:t()}})),(0,fy.withDispatch)((e=>{const{setPreview:t}=e("wcf/importer");return{setPreview:t}})))((function({preview:a,setPreview:r}){const{featured_image_url:n,steps:i}=a,s=cartflows_admin.template_library_url+"preview/?flow="+a.ID,o=[];Object.values(i).forEach((function(e){["checkout","thankyou"].includes(e.type)&&o.push(e)}));const l=o.length?o[0].ID:"",[c,u]=(0,t.useState)(n),[d,m]=(0,t.useState)(l),[g,p]=(0,t.useState)("");return window.scrollTo(0,0),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-preview-wrap sm:mx-24 mx-0"},(0,e.createElement)("div",{className:"wcf-flow-preview--header flex justify-between items-center mb-8 sm:px-6 p-0 sm:flex-row flex-col gap-4"},(0,e.createElement)("div",{className:"wcf-flow-preview--left-section flex justify-between items-center gap-4"},(0,e.createElement)("span",{className:"wcf-button--back cursor-pointer",onClick:()=>r({})},(0,e.createElement)(Ib,{className:"w-6 h-6 stroke-2 text-gray-400"}),(0,e.createElement)("span",{className:"wcf-flows-header__text sr-only"}," ",(0,z.__)("Back","cartflows")," ")),(0,e.createElement)("h3",{className:"text-2xl text-gray-800 font-semibold"},(0,z.__)("Funnel Preview","cartflows"))),(0,e.createElement)("div",{className:"wcf-flow-preview--right-section"},(0,e.createElement)("div",{className:"wcf-flow-preview__actions flex justify-between items-center gap-4"},(0,e.createElement)("a",{className:"wcf-button wcf-secondary-button",href:s,target:"_blank",rel:"noreferrer"},(0,e.createElement)(eN,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Live Preview","cartflows")),(0,e.createElement)(tb,{preview:a,flowName:(0,z.__)("Store Checkout","cartflows"),inputFieldVisibility:g,setInputFieldVisibility:p,isStoreCheckout:!0})))),(0,e.createElement)("div",{className:"wcf-flow-preview flex sm:flex-row flex-col-reverse"},(0,e.createElement)("div",{className:"wcf-flow-preview__item w-full sm:w-4/5 sm:px-6 p-0"},(0,e.createElement)("div",{className:"wcf-window--header bg-white p-2 flex items-center rounded-tl-lg rounded-tr-lg"},(0,e.createElement)("div",{className:"wcf-window--buttons flex justify-start gap-1 items-center w-2/4"},(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"}),(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"}),(0,e.createElement)("span",{className:"bg-gray-200 rounded-full p-1"})),(0,e.createElement)("div",{className:"wcf-window--title capitalize text-xs font-medium text-gray-600 w-2/4"},`${o.find((e=>e.ID===d)).type} Page`)),(0,e.createElement)("div",{className:"wcf-flow-preview__inner max-h-screen overflow-y-scroll"},(0,e.createElement)("div",{className:"wcf-flow-preview__thumbnail-wrap"},(0,e.createElement)("img",{className:"wcf-flow-preview__thumbnail",src:c,alt:(0,z.__)("Funnel Preview","cartflows")})))),(0,e.createElement)("div",{className:"wcf-flow-preview__list w-full sm:w-[20%] sm:px-6 p-0"},o.map((t=>(0,e.createElement)(Pb,{key:t.ID,item:t,setPreviewImageURL:u,currentPreviewID:d,setCurrentPreviewID:m})))))))})),Rb=({preview:a,type:r,flowName:n,setInputFieldVisibility:i,cancelButtonRef:s,setVisibility:o})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--footer bg-primary-25 p-4 flex justify-end sm:px-4 gap-4"},"import"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(tb,{preview:a,flowName:n,setInputFieldVisibility:i})),"blank"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(ab,{flowName:n,setInputFieldVisibility:i,isStoreCheckout:!0})))),Hb=a=>{const{cf_pro_status:r,setVisibility:n,preview:i,type:s,setFlowName:o,cancelButtonRef:l}=a,[c,u]=(0,t.useState)("");return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-flow--body fixed inset-0 z-30 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:"wcf-name-your-flow--content bg-white px-4 pb-4 pt-5 sm:pt-4 sm:px-5 sm:pb-5"},(0,e.createElement)("div",{className:"wcf-name-your-flow--header absolute right-0 top-0 hidden pr-5 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>{n("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-flow--title text-base font-medium text-gray-800"},(0,z.__)("Create Store Checkout","cartflows")),(0,e.createElement)("div",{className:"mt-4"},(0,e.createElement)("div",{className:"wcf-name-your-store-flow--content"},(0,e.createElement)("p",{className:"text-sm font-medium leading-6 text-gray-800 mb-4"},(0,z.__)("Set up a Store Checkout in just one click:","cartflows")),(0,e.createElement)("ul",{className:"text-sm text-gray-600 mb-4 list-inside"},(0,e.createElement)("li",{className:"flex gap-2 items-center"},(0,e.createElement)(by,{className:"h-18 w-18 text-primary-600","aria-hidden":"true"}),(0,z.__)("Checkout Page","cartflows")),(0,e.createElement)("li",{className:"flex gap-2 items-center"},(0,e.createElement)(by,{className:"h-18 w-18 text-primary-600","aria-hidden":"true"}),(0,z.__)("Thank You Page","cartflows"))),(0,e.createElement)("p",{className:"text-sm text-gray-500"},(0,z.__)("Use ready-made templates from the CartFlows Library, our custom widget, or shortcodes on each page to set this up easily—no coding needed!","cartflows")))))),(0,e.createElement)(Rb,{cf_pro_status:r,setVisibility:n,preview:i,type:s,flowName:"Store Checkout",setFlowName:o,inputFieldVisibility:c,setInputFieldVisibility:u,cancelButtonRef:l}))))))},Bb=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getCFProStatus:a,getLicenseStatus:r}=e("wcf/importer");return{flowsCount:t(),cf_pro_status:a(),license_status:r()}})))((({visibility:a,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cf_pro_status:l})=>{const c=(0,t.useRef)(null);return"show"!==a?"":(0,Va.createPortal)((0,e.createElement)("div",{className:`wcf-name-your-store-flow ${a}`},(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-flow__inner"},(0,e.createElement)(Hb,{cf_pro_status:l,setVisibility:r,preview:n,type:i,flowName:s,setFlowName:o,cancelButtonRef:c}))))),document.getElementById("wcf-json-importer"))})),Wb=()=>{const[a,r]=(0,t.useState)("hide"),[n,i]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-flow-library-importer wcf-flow-library--other"},(0,e.createElement)("div",{className:"wcf-flow-library-importer__list bg-white px-10 py-14"},(0,e.createElement)(Bb,{visibility:a,setVisibility:r,type:"blank",flowName:n,setFlowName:i}),(0,e.createElement)("div",{className:"wcf-item wcf-item--start-from-blank flex gap-6 mx-auto max-w-4xl"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer group bg-gray-25 p-5 text-center flex flex-col border border-gray-200 hover:border-primary-300 rounded-md items-center justify-center h-72 w-2/3",onClick:()=>{r("hide"===a?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-1 text-gray-400 group-hover:text-primary-300"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info flex flex-col gap-6 justify-center w-3/4"},(0,e.createElement)("h3",{className:"wcf_item__info--title text-2xl text-gray-800 font-semibold"},(0,e.createElement)("h3",{className:"wcf_item__info--title"},(0,z.__)("No Results Found.","cartflows"))),(0,e.createElement)("span",{className:"wcf_item__info--desc text-base text-gray-600 font-normal mt-2"},(0,z.__)("Don't see a funnel that you would like to import?","cartflows")),(0,e.createElement)("a",{className:"wcf_item__info--doc text-sm text-gray-600 font-normal hover:text-primary-300 flex gap-1",href:"https://cartflows.com/funnel-suggestions/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=suggestions",target:"_blank",rel:"noreferrer"},(0,z.__)("Please suggest us ","cartflows"),(0,e.createElement)(eN,{className:"w-5 h-5 stroke-1 text-gray-400 hover:text-primary-300"}))))))},Vb=()=>{const[a,r]=(0,t.useState)("hide"),[n,i]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-flow-importer wcf-search-404"},(0,e.createElement)("div",{className:"wcf-flow-importer__list wcf-items-list wcf-row wcf-flow-row"},(0,e.createElement)(Bb,{visibility:a,setVisibility:r,type:"blank",flowName:n,setFlowName:i}),(0,e.createElement)("div",{className:"wcf-item wcf-item__start-from-blank"},(0,e.createElement)("div",{className:"wcf-item__inner",onClick:()=>{r("hide"===a?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon"},(0,e.createElement)("span",{className:"wcf-icon dashicons dashicons-plus wcf-icon-start-from-blank"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap"},(0,e.createElement)("div",{className:"wcf-item__heading"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info"},(0,e.createElement)("h3",{className:"wcf_item__info--title"},(0,z.__)("Oops!!! No template Found.","cartflows")),(0,e.createElement)("span",{className:"wcf_item__info--desc"},(0,z.__)("Seems like no template is available for chosen editor.","cartflows"))))))},Zb=(0,py.compose)((0,fy.withDispatch)((e=>{const{setAllFlows:t}=e("wcf/importer");return{setAllFlows:t}})))((function({setAllFlows:a}){let r="no";const[{page_builder:n}]=l(),[i,s]=(0,t.useState)(""),{currentPageBuilderData:o,requiredPluginsData:c,preview:u,store_checkout_flows:d,flows_list:m}=(0,fy.useSelect)((e=>({currentPageBuilderData:e("wcf/importer").getCurrentPageBuilderData(n),requiredPluginsData:e("wcf/importer").getRequiredPluginsData(),preview:e("wcf/importer").getPreview(),store_checkout_flows:e("wcf/importer").getStoreCheckoutFlows(),flows_list:e("wcf/importer").getFlowsList(n)})));"yes"===c[n]&&o&&o?.plugins&&o?.plugins.map((function(e){return"install"!==e.status&&"activate"!==e.status||(r="yes"),""}));const[g,p]=(0,t.useState)(!0);if("yes"===r)return(0,e.createElement)(zb,null);(0,t.useEffect)((()=>{let e=!0;if(!d[n]){const t=new window.FormData;t.append("action","cartflows_get_flows_list"),t.append("security",cartflows_admin.get_flows_list_nonce),(async()=>{A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{if(e&&t?.data?.flows){const e=Object.values(t.data.flows);h(e),a(e,n)}}))})()}return p(!1),()=>{e=!1}}),[d]);const f=(0,t.createRef)(),[M,h]=(0,t.useState)(m),[y,N]=(0,t.useState)("search"),w=function(e){if(e&&e.length>=3){N("cancel");const t=e.toLowerCase(),a=m.filter((function(e){return(e.title&&e.title.toLowerCase()||"").includes(t)}));s(e),h(a)}else N("search"),h(m)},[x,b]=(0,t.useState)("hide"),[D,j]=(0,t.useState)("");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-importer"},Object.keys(u).length?(0,e.createElement)(Fb,null):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-importer__header bg-white px-8 py-6 flex justify-between items-start sm:items-center mb-9 -m-8 sm:flex-row flex-col gap-3"},(0,e.createElement)("h3",{className:"wcf-flow-importer__header-title text-2xl font-semibold text-gray-800"},(0,z.__)("Store Checkout Templates","cartflows")),(0,e.createElement)("div",{className:"wcf-flow-importer__actions gap-4 flex justify-between items-center"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-content-left"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-search"},(0,e.createElement)("form",{className:"wcf-search-flows--form relative",onSubmit:function(e){e.preventDefault(),"cancel"===y&&(f.current.value="",w(""),s(""))}},(0,e.createElement)(vr,{attr:{ref:f},label:"",placeholder:(0,z.__)("Search Templates","cartflows"),class:"input-field !pl-8 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",id:"s",value:i,onChangeCB:w}),(0,e.createElement)("button",{className:"wcf-search__button absolute inset-y-0 left-0 flex items-center pl-3 bg-transparent cursor-pointer m-0 "+("cancel"===y?"top-1":"top-px")},"search"===y&&(0,e.createElement)(nN,{className:"w-18 h-18 stroke-2 text-gray-400"}),"cancel"===y&&(0,e.createElement)(Sr,{className:"w-18 h-18 stroke-2 text-gray-400"}))))),(0,e.createElement)("div",{className:"divider w-px bg-gray-200 h-7"}),(0,e.createElement)("div",{className:"wcf-flow-importer__actions-content-right"},(0,e.createElement)("div",{className:"wcf-flow-importer__actions-buttons"},(0,e.createElement)(Sb,{template:"store-checkout"}))))),m.length<1&&M.length<1&&(g?(0,e.createElement)(Cb,null):(0,e.createElement)(Vb,null)),m.length>0&&0===M.length&&(0,e.createElement)(Wb,null),m.length>0&&0<M.length&&(0,e.createElement)("div",{className:"wcf-flow-importer__list wcf-items-list grid grid-cols-1 sm:grid-cols-4 gap-6"},(0,e.createElement)(Bb,{visibility:x,setVisibility:b,type:"blank",flowName:D,setFlowName:j}),(0,e.createElement)("div",{className:"wcf-item wcf-item__start-from-blank sm:h-full lg:h-full sm:min-h-full lg:min-h-full min-h-72 bg-white rounded-lg relative"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer bg-gray-50 text-center h-full flex flex-col gap-4 items-center justify-center",onClick:()=>{b("hide"===x?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-flow-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-2 text-gray-400"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows"))))),M.map((t=>(0,e.createElement)(vb,{key:t.ID,item:t})))))))})),Gb=a=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)(""),o=a.page_builder;return(0,e.createElement)("div",{className:"wcf-store-library-importer wcf-store-library--other"},(0,e.createElement)("div",{className:"wcf-store-library-importer__header bg-white px-8 py-6 flex justify-between items-center border-b border-gray-200"},(0,e.createElement)("div",{className:"wcf-store-importer__header-title text-2xl font-semibold text-gray-800"},(0,z.__)("Start from Scratch","cartflows"))),(0,e.createElement)("div",{className:"wcf-store-library-importer__list bg-white px-10 py-14"},(0,e.createElement)(ib,{visibility:r,setVisibility:n,type:"blank",flowName:i,setFlowName:s}),(0,e.createElement)("div",{className:"wcf-item wcf-item--start-from-blank flex gap-6 mx-auto max-w-4xl"},(0,e.createElement)("div",{className:"wcf-item__inner relative cursor-pointer group bg-gray-25 p-5 text-center flex flex-col border border-gray-200 hover:border-primary-300 rounded-md items-center justify-center h-72 w-2/3",onClick:()=>{n("hide"===r?"show":"hide")}},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap"},(0,e.createElement)("div",{className:"wcf-item__thumbnail"},(0,e.createElement)("div",{className:"wcf-store-importer__start-from-blank-icon bg-white p-6 rounded-full"},(0,e.createElement)(Tr,{className:"w-7 h-7 stroke-1 text-gray-400 group-hover:text-primary-300"})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Start from scratch","cartflows")))),(0,e.createElement)("div",{className:"wcf_item__info flex flex-col gap-6 justify-center w-3/4"},(0,e.createElement)("h3",{className:"wcf_item__info--title text-2xl text-gray-800 font-semibold"},"bricks-builder"===o&&(0,z.__)("It seems that you are using the Bricks Builder.","cartflows"),"other"===o&&(0,z.__)("It seems that you are using the page builder other than Elementor, Beaver Builder, Block Builder.","cartflows")),(0,e.createElement)("span",{className:"wcf_item__info--desc text-base text-gray-600 font-normal mt-2"},"bricks-builder"===o&&(0,z.__)("Are you using Bricks Builder? No worries. CartFlows works well with Bricks Builder. Right now we do not have ready templates for Bricks Builder but we are planning to add it very soon.","cartflows"),"other"===o&&(0,z.__)("Are you using any other page builder? No worries. CartFlows works well with every other page builder. Right now we do not have ready templates for every page builder but we are planning to add it very soon.","cartflows")),(0,e.createElement)("span",{className:"mt-2"},(0,e.createElement)("a",{className:"wcf_item__info--doc text-gray-600 hover:text-primary-500 flex items-center gap-2 text-sm",href:"https://cartflows.com/docs/how-to-use-cartflows-with-your-own-template/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs",target:"_blank",rel:"noreferrer"},(0,z.__)("Learn How ","cartflows"),(0,e.createElement)(eN,{className:"w-18 h-18 stroke-1"})))))))},Xb=()=>{const[{page_builder:t}]=l();return"other"!==t&&"bricks-builder"!==t?(0,e.createElement)(Zb,null):(0,e.createElement)(Gb,{page_builder:t})},Jb={flow_id:cartflows_admin?.flow_id?cartflows_admin?.flow_id:0,is_cf_pro:!!cartflows_admin?.is_pro&&cartflows_admin.is_pro,page_slug:cartflows_admin?.home_slug?cartflows_admin.home_slug:"cartflows",page_builder:cartflows_admin?.page_builder?cartflows_admin.page_builder:"other",global_checkout:parseInt(cartflows_admin.global_checkout),flows:[],flow_analytics:{},flow_settings:{},title:!1,flow_title:"",flow_slug:"",flow_link:"#",is_flow_instant_checkout:!1,emptySteps:!1,steps:[],options:null,current_step:null,flow_type:"flows",status:null,step_id:0,admin_url:"test_url",page_builder_name:cartflows_admin?.page_builder_name?cartflows_admin.page_builder_name:"",step_data:{},view_url:"#",edit_url:"#",edit_builder_url:"#",settings_data:{},step_title:!1,step_slug:"",design_settings:null,page_settings:null,billing_fields:null,shipping_fields:null,ob_id:null,current_ob:null,suretriggers_config:[]},qb=(e,t)=>{switch(t.type){case"SET_FLOW_DATA":return t.data.options.post_title=t.data.title,t.data.options.post_name=t.data.slug,{...e,title:t.data.title,flow_title:t.data.title,flow_slug:t.data.slug,flow_link:t.data.link,status:t.data.status,steps:t.data.steps,flow_settings:t.data.settings_data,emptySteps:t.data.steps.length<1,options:{...e.options,...t.data.options},flow_analytics:t.data.flow_analytics,is_flow_instant_checkout:t?.data?.options["instant-layout-style"]||!1};case"SET_FLOW_ANALYTICS":return{...e,flow_analytics:t.flow_analytics.data};case"SET_OPTION":const a=e.options;return a[t.name]=t.value,{...e,options:a};case"SET_FLOW_TITLE":return e.options.post_title=t.title,{...e,title:t.title};case"SET_STEPS":return{...e,steps:t.steps};case"SET_GLOBAL_CHECKOUT":return{...e,global_checkout:t.global_checkout};case"SET_STORE_STEPS":const r=[],n=[];e.steps.map((function(e){return"checkout"===e.type&&r.push(e),"landing"===e.type&&n.push(e),""}));let i=[];return i=i.concat(r,n),t.steps.map((function(e){return void 0!==e.type&&i.push(e),""})),i=[...new Map(i.map((e=>[e.id,e]))).values()],{...e,steps:i};case"SET_STEP_DATA":return t.data.options.post_title=t.data.title,t.data.options.post_name=t.data.step_post_name,{...e,flow_title:t.data.flow_title,view_url:t.data.view,edit_url:t.data.edit?t.data.edit.replace(/&amp;/g,"&"):"",edit_builder_url:t.data.page_builder_edit?t.data.page_builder_edit.replace(/&amp;/g,"&"):"",step_data:t.data,settings_data:t.data.settings_data,design_settings:t.data.design_settings,page_settings:t.data.page_settings,custom_fields:t.data.custom_fields,billing_fields:t.data.billing_fields,shipping_fields:t.data.shipping_fields,options:{...e.options,...t.data.options},step_title:t.data.title,step_slug:t.data.step_post_name,step_id:t.data.id};case"SET_STEP_TITLE":return e.options.post_title=t.title,{...e,step_title:t.title};case"SET_OB_TITLE":const s=e.options[t.name].findIndex((e=>e.id===t.ob_id));return e.options[t.name][s].title=t.title,{...e};case"SET_OB_STATUS":const o=e.options[t.name].findIndex((e=>e.id===t.ob_id));return e.options[t.name][o].status=t.newStatus,{...e};case"SET_STEP_VIEW_URL":return{...e,view_url:t.step_view_url};case"SET_FIELDS":return"billing"===t.field_type?{...e,billing_fields:t.fields}:{...e,shipping_fields:t.fields};case"SET_OB_OPTION":const l=e.current_ob;return l[t.name]=t.value,{...e,current_ob:l};case"UPDATE_OPTIONS":return{...e,options:t.options};case"ADD_CHECKOUT_PRODUCT":const c=e.options[t.field_name];return c&&(c.push(t.product_data),e.options[t.field_name]=c),{...e};case"ADD_OPTIN_PRODUCT":case"ADD_OFFER_PRODUCT":return e.options[t.field_name]=t.product_data,{...e};case"ADD_OB_PRODUCT":return{...e,current_ob:{...e.current_ob,product:t.product.product,product_image:t.product.product_image,desc_text:t.product.desc_text}};case"REMOVE_OB_PRODUCT":const u=e.current_ob;return u.product="",u.product_image=cartflows_admin.image_placeholder,u.desc_text="Lorem Ipsum has been the industry standard dummy text ever since the 1500s when an unknown printer took a galley of type and scrambled it to make a type specimen book.",e.current_ob=u,{...e};case"REMOVE_OFFER_PRODUCT":case"REMOVE_OPTIN_PRODUCT":return e.options[t.field_name]&&(e.options[t.field_name]=""),{...e};case"REMOVE_CHECKOUT_PRODUCT":const d=t.unique_id,m=e.options[t.field_name];return d&&m&&(e.options[t.field_name]=m.filter((function(e){return e.unique_id!==d}))),{...e};case"UPDATE_CHECKOUT_PRODUCTS":return e.options[t.field_name]=t.products,{...e};case"UPDATE_ORDER_BUMP":return e.options[t.name]=t.order_bumps,{...e};case"REMOVE_ORDER_BUMP":const g=t.ob_id,p=e.options[t.name];return e.options[t.name]=p.filter((function(e){return e.id!==g})),{...e};case"SET_CURRENT_OB":const f=e.options["wcf-order-bumps"].findIndex((e=>e.id===t.ob_id));return e.options["wcf-order-bumps"][f]=t.current_ob,{...e,ob_id:t.ob_id,current_ob:t.current_ob};case"ADD_NEW_OB_GROUP":const M=e.current_ob[t.name];return M&&(M.push(t.newGroup),e.current_ob[t.name]=M),{...e};case"ADD_NEW_GROUP":const h=e.options[t.name];return h&&(h.push(t.newGroup),e.options[t.name]=h),{...e};case"ADD_NEW_OB_RULE":const y=e.current_ob[t.name],N=t.group_id;if(y&&N){for(const e of y)if(N===e.group_id){e.rules.push(t.newRule);break}e.current_ob[t.name]=y}return{...e};case"ADD_NEW_RULE":const w=e.options[t.name],x=t.group_id;if(w&&x){for(const e of w)if(x===e.group_id){e.rules.push(t.newRule);break}e.options[t.name]=w}return{...e};case"REMOVE_OB_RULE":const b=e.current_ob[t.name];for(let e=0;e<b.length;e++)if(t.group_id===b[e].group_id){const a=b[e].rules;for(let r=0;r<a.length;r++)if(a[r].rule_id===t.rule_id){b[e].rules.splice(r,1);break}0===b[e].rules.length&&b.splice(e,1)}return e.current_ob[t.name]=b,{...e};case"REMOVE_RULE":const D=e.options[t.name];for(let e=0;e<D.length;e++)if(t.group_id===D[e].group_id){const a=D[e].rules;for(let r=0;r<a.length;r++)if(a[r].rule_id===t.rule_id){D[e].rules.splice(r,1);break}0===D[e].rules.length&&D.splice(e,1)}return e.options[t.name]=D,{...e};case"RESET_OB_RULE_VALUE":const j=e.current_ob[t.name];for(const e of j)if(t.group_id===e.group_id){const a=e.rules;for(const e of a)if(t.rule_id===e.rule_id){e.value="";break}break}return e.current_ob[t.name]=j,{...e};case"RESET_RULE_VALUE":const v=e.options[t.name];for(const e of v)if(t.group_id===e.group_id){const a=e.rules;for(const e of a)if(t.rule_id===e.rule_id){e.value="";break}break}return e.options[t.name]=v,{...e};case"SET_RULES_GROUPS":return e.options[t.fieldName]=t.groups,{...e};case"SET_OB_RULES_GROUPS":return e.current_ob[t.fieldName]=t.groups,{...e};case"SET_OB":return e.options[t.fieldName]=t.obs,{...e};case"SET_SURETRIGGERS_CONFIG":return t.config&&setSureTriggersConfig(t.config),{...e,suretriggers_config:t};default:return e}};function $b({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"}))}const Kb=t.forwardRef($b);function eD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const tD=t.forwardRef(eD);function aD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 18.75h-9m9 0a3 3 0 0 1 3 3h-15a3 3 0 0 1 3-3m9 0v-3.375c0-.621-.503-1.125-1.125-1.125h-.871M7.5 18.75v-3.375c0-.621.504-1.125 1.125-1.125h.872m5.007 0H9.497m5.007 0a7.454 7.454 0 0 1-.982-3.172M9.497 14.25a7.454 7.454 0 0 0 .981-3.172M5.25 4.236c-.982.143-1.954.317-2.916.52A6.003 6.003 0 0 0 7.73 9.728M5.25 4.236V4.5c0 2.108.966 3.99 2.48 5.228M5.25 4.236V2.721C7.456 2.41 9.71 2.25 12 2.25c2.291 0 4.545.16 6.75.47v1.516M7.73 9.728a6.726 6.726 0 0 0 2.748 1.35m8.272-6.842V4.5c0 2.108-.966 3.99-2.48 5.228m2.48-5.492a46.32 46.32 0 0 1 2.916.52 6.003 6.003 0 0 1-5.395 4.972m0 0a6.726 6.726 0 0 1-2.749 1.35m0 0a6.772 6.772 0 0 1-3.044 0"}))}const rD=t.forwardRef(aD);function nD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"}))}const iD=t.forwardRef(nD);function sD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15 11.25-3-3m0 0-3 3m3-3v7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const oD=t.forwardRef(sD),lD=function(a){const{id:r,control_id:n,onClickEvents:i,actions:s,type:o,setShowAbtestUpgradePopup:l=()=>{}}=a,[{license_status:c}]=g();return(0,e.createElement)(t.Fragment,null,(0,e.createElement)(yx,{as:"div",id:`step_more_options_${r}`,className:"wcf-step-row__actions-menu relative inline-block text-left"},(0,e.createElement)("div",null,(0,e.createElement)(yx.Button,{className:"inline-flex w-full p-1 text-sm font-semibold text-gray-900 hover:text-primary-500"},(0,e.createElement)(fh,{text:(0,z.__)("More Options","cartflows"),classes:"!ml-0",descClass:"!z-20",icon:(0,e.createElement)(Pl,{className:"-mr-1 h-5 w-5","aria-hidden":"true"})}))),(0,e.createElement)(Pt,{as:t.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},(0,e.createElement)(yx.Items,{className:"wcf-step-actions-menu__dropdown_menu absolute right-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},(0,e.createElement)("div",{className:"py-1"},s.map((t=>{const a=t.class,s=t.text;let u=!1,d=!1;if((!wcfCartflowsPro()&&t?.pro||"abtest"===t.slug&&!wcfCartflowsTypePro())&&(u=!0),wcfCartflowsPro()&&t?.pro&&"Activated"!==c&&(d=!0),"automation"===t.slug&&"downsell"!==o&&"upsell"!==o&&"checkout"!==o)return null;let m="";return m=u||d?"abtest"===t.slug?"wcf-pro hover:!bg-gray-100 hover:!text-gray-700":"wcf-pro pointer-events-none":"text-gray-700",(0,e.createElement)(yx.Item,{key:t?.text},(0,e.createElement)("a",{href:t?.link,className:`wcf-step__action-btn ${a} ${m} px-4 py-2 text-sm flex gap-1.5 hover:text-primary-500`,title:t?.text,"data-id":r,"data-control-id":n,onClick:e=>{u&&"abtest"===t.slug?l("show"):"#"===t?.link&&i[t.slug]&&i[t.slug](e)},"data-action":t.ajaxcall,key:t.slug},function(t){let a="";switch(t){case"clone":a=(0,e.createElement)(Fx,{className:"h-5 w-5"});break;case"delete":a=(0,e.createElement)(Bl,{className:"h-5 w-5"});break;case"abtest":a=(0,e.createElement)(Kb,{className:"h-5 w-5"});break;case"archived":a=(0,e.createElement)(tD,{className:"h-5 w-5"});break;case"winner":a=(0,e.createElement)(rD,{className:"h-5 w-5"});break;case"automation":a=(0,e.createElement)(iD,{className:"h-5 w-5"});break;default:a=(0,e.createElement)(oD,{className:"h-5 w-5"})}return a}(t.slug),(0,e.createElement)("span",{className:"wcf-step-row__btn-text "+(u?" w-full flex justify-between ":""),"data-action":t.ajaxcall},s," ",u||d?(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-auto rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows"))):"",t?.tag&&(0,e.createElement)("span",{className:"wcf-step-row__btn-text--tag text-primary-500"}," ",t?.tag," "))))})))))))},cD="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmlld0JveD0iMCAwIDEyOCAxMjgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiBmaWxsPSIjRDFENURCIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfNzI3XzIzNzEpIj4KPHJlY3QgeD0iOCIgeT0iOCIgd2lkdGg9IjExMiIgaGVpZ2h0PSIxMTIiIHJ4PSI2IiBmaWxsPSIjRjlGQUZCIi8+CjwvZz4KPGNpcmNsZSBjeD0iMTciIGN5PSIxNiIgcj0iMyIgZmlsbD0iI0QxRDVEQiIvPgo8cGF0aCBkPSJNMTQgMjkuNEMxNCAyNy4xNTk4IDE0IDI2LjAzOTcgMTQuNDM2IDI1LjE4NEMxNC44MTk1IDI0LjQzMTQgMTUuNDMxNCAyMy44MTk1IDE2LjE4NCAyMy40MzZDMTcuMDM5NyAyMyAxOC4xNTk4IDIzIDIwLjQgMjNIMTA3LjZDMTA5Ljg0IDIzIDExMC45NiAyMyAxMTEuODE2IDIzLjQzNkMxMTIuNTY5IDIzLjgxOTUgMTEzLjE4MSAyNC40MzE0IDExMy41NjQgMjUuMTg0QzExNCAyNi4wMzk3IDExNCAyNy4xNTk4IDExNCAyOS40VjU0LjZDMTE0IDU2Ljg0MDIgMTE0IDU3Ljk2MDMgMTEzLjU2NCA1OC44MTZDMTEzLjE4MSA1OS41Njg2IDExMi41NjkgNjAuMTgwNSAxMTEuODE2IDYwLjU2NEMxMTAuOTYgNjEgMTA5Ljg0IDYxIDEwNy42IDYxSDIwLjRDMTguMTU5OCA2MSAxNy4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DAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjE2IDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMTAzM18xMDE2MiIvPgo8ZmVCbGVuZCBtb2RlPSJub3JtYWwiIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd18xMDMzXzEwMTYyIiByZXN1bHQ9InNoYXBlIi8+CjwvZmlsdGVyPgo8L2RlZnM+Cjwvc3ZnPgo=";function fD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const MD=t.forwardRef(fD);var hD=n(9296);const yD=function(a){const{is_cf_pro:r,global_checkout:n,flow_id:i,control_id:s,step_id:o,title:l,type:c,actions:u,menu_actions:d,ab_test_ui:m,offer_no_next_step:p,offer_yes_next_step:f,setShowAbtestUpgradePopup:M=()=>{}}=a,h=o;let{has_product_assigned:y,is_variation:N}=a;const[{flow_type:w,flow_analytics:x,is_flow_instant_checkout:b}]=zl(),[{license_status:D}]=g(),[j,v]=(0,t.useState)(!1),_=(0,t.useRef)(),E=x?x.all_steps:"",L=N?a.control_id:o,T=E?E.find((e=>e.id===L)):[],k=jx(),S=(0,hD.W6)();"landing"!==c&&"thankyou"!==c||(y=!0);const O="yes"===b&&["checkout","thankyou","upsell","downsell"].includes(c);return(0,e.createElement)("div",{className:"wcf-step-wrap--container w-full p-4 flex items-center gap-2 "+(m?"border-b border-gray-200":"")},!m&&(0,e.createElement)("div",{className:"wcf-steps--sortable-toggle flex cursor-move text-gray-400"},(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1 -ml-3.5","aria-hidden":"true"})),(0,e.createElement)("div",{className:xr()("wcf-step flex gap-6 items-start flex-col sm:items-center sm:flex-row w-full",m?"ml-8":"",j?"step-overlay":"",y||h===n?"":"wcf-step__no-product")},(0,e.createElement)("div",{className:"wcf-step--content flex items-center gap-4 w-full sm:w-[50%]"},(0,e.createElement)("img",{src:function(){let e="";switch(c){case"landing":e=cD;break;case"checkout":e=uD;break;case"optin":e=gD;break;case"thankyou":e=pD;break;case"upsell":e=dD;break;case"downsell":e=mD}return e}(),alt:c,className:"sm:block lg:block hidden rounded-lg sm:w-[72px] sm:h-[72px] w-[62px] h-[62px]"}),(0,e.createElement)("div",{className:"wcf-steps--title-wrap flex flex-col gap-1"},(0,e.createElement)("div",{className:"wcf-step__col-tags sm:flex items-center gap-2 grid grid-cols-2"},(0,e.createElement)("span",{className:"sm:text-base text-sm font-normal text-gray-400 capitalize"},"thankyou"===c?(0,z.__)("Thank You","cartflows"):c),function(){let t="";if(m)if(s===o)t=(0,e.createElement)("span",{className:"wcf-step-badge bg-primary-500 text-white text-xs px-2.5 py-1 rounded-full"},(0,z.__)("Control","cartflows"));else{const{var_badge_count:r}=a;t=(0,e.createElement)("span",{className:"wcf-step-badge bg-gray-800 text-white text-xs px-2.5 py-1 rounded-full"},(0,z.sprintf)(/* translators: %d is replaced with the count */ /* translators: %d is replaced with the count */
(0,z.__)("Variation-%d","cartflows"),r))}return t}(),!y&&"storeCheckout"!==w&&(0,e.createElement)("span",{className:"wcf-badge wcf-badge--error !text-[10px] !px-2 !py-px wcf-no-product-badge"},(0,e.createElement)(kx,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("No Product Assigned","cartflows")),!y&&"storeCheckout"===w&&"checkout"!==c&&(0,e.createElement)("span",{className:"wcf-badge wcf-badge--error !text-[10px] !px-2 !py-px wcf-no-product-badge"},(0,e.createElement)(kx,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("No Product Assigned","cartflows")),y&&"storeCheckout"===w&&"checkout"===c&&(0,e.createElement)("span",{className:"wcf-global-checkout-error-badge wcf-flow-badge wcf-badge wcf-badge--error !text-[10px] !px-2 !py-px"},(0,e.createElement)(kx,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("Store Checkout - Remove selected checkout product","cartflows")),function(){let t="";return!wcfCartflowsTypePlusPro()||"upsell"!==c&&"downsell"!==c?wcfCartflowsTypePlusPro()||"upsell"!==c&&"downsell"!==c||(t=(0,e.createElement)("span",null,(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs !text-primary-600 ml-auto rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)] !opacity-100"},(0,z.__)("PRO","cartflows")))):t=f&&p?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-flow-badge wcf-badge wcf-badge--success !text-[10px] !px-2 !py-px wcf-yes-offer-badge relative wcf-inline-tooltip after:top-8 cursor-pointer","data-tooltip":Mr(f,35,25)},(0,e.createElement)(by,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("Offer Accepted","cartflows")),(0,e.createElement)("span",{className:"wcf-flow-badge wcf-badge wcf-badge--warning !text-[10px] !px-2 !py-px wcf-no-offer-badge relative wcf-inline-tooltip after:top-8 cursor-pointer","data-tooltip":Mr(p,35,25)},(0,e.createElement)(MD,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("Offer Rejected","cartflows"))):(0,e.createElement)("span",{className:"wcf-flow-badge wcf-badge wcf-badge--error !text-[10px] !px-2 !py-px wcf-invalid-sequence-badge"},(0,e.createElement)(kx,{className:"w-3.5 h-3.5 stroke-2","aria-hidden":"true"}),(0,z.__)("Invalid Position","cartflows")),t}()),(0,e.createElement)("div",{className:"wcf-step__title"},(0,e.createElement)("a",{className:"font-semibold text-base sm:text-lg text-gray-800 hover:text-primary-500",href:u[1].link},Mr(l,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length))))),(0,e.createElement)("div",{className:"wcf-divider border-l border-gray-100 h-12 hidden sm:visible"}),(0,e.createElement)("div",{className:"wcf-step--stats-content w-full sm:w-2/3 relative"},(0,e.createElement)("div",{className:"wcf-step--stats-content__info flex text-center justify-around items-center "+(x?"":"blur-sm relative")},(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"text-sm text-gray-400 capitalize"},(0,z.__)("Views","cartflows")),(0,e.createElement)("div",{className:"font-semibold text-base text-gray-800"},function(){let e=0;return x&&T&&(e=N?T["visits-ab"][o].total_visits:T.visits.total_visits),e}())),(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"text-sm text-gray-400 capitalize"},(0,z.__)("Conversions","cartflows")),(0,e.createElement)("div",{className:"font-semibold text-base text-gray-800"},"thankyou"!==c?function(){let e=0;return x&&T&&(e=N?T["visits-ab"][o].conversions:T.visits.conversions),e}():"-")),(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"text-sm text-gray-400 capitalize"},(0,z.__)("Revenue","cartflows")),(0,e.createElement)("div",{className:"font-semibold text-base text-gray-800"},"thankyou"!==c&&"landing"!==c?function(){let e=0;return x&&T&&(e=N?T["visits-ab"][o].revenue:T.visits.revenue),0!==e?Nr(e):e}():"-"))),!x&&(wcfCartflowsPro()?wcfCartflowsPro()&&"Activated"!==D?(0,e.createElement)("a",{href:cartflows_admin?.license_popup_url,target:"_blank",className:"wcf-step--stats-content__upgrade-to-pro--badge absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",rel:"noreferrer"},(0,e.createElement)("span",{className:"wcf-badge wcf-badge--error hover:text-red-600 focus:text-red-600 rounded text-xs cursor-pointer font-normal mr-4"},(0,z.__)("Activate License","cartflows"))):void 0:(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),target:"_blank",className:"wcf-step--stats-content__upgrade-to-pro--badge absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",rel:"noreferrer"},(0,e.createElement)("span",{className:"wcf-badge wcf-badge--warning hover:text-amber-600 focus:text-amber-600 rounded text-xs cursor-pointer font-normal mr-4"},(0,z.__)("Upgrade to Pro","cartflows"))))),(0,e.createElement)("div",{className:"wcf-divider border-l border-gray-100 h-12 hidden sm:visible"}),(0,e.createElement)("div",{className:"wcf-step--actions-col w-full sm:w-[15%]"},(0,e.createElement)("div",{className:"wcf-step--actions",ref:_},(0,e.createElement)("div",{className:"wcf-step--action-btns"},(0,e.createElement)("div",{className:"wcf-step--action__basic-btns flex items-center sm:justify-evenly justify-between"},u.map((t=>{var a;return(0,e.createElement)("a",{href:!O&&"edit"===t.slug||"view"===t.slug?t?.link:"#!",className:`wcf-step__action-btn group flex relative hover:text-primary-500 group p-1 ${null!==(a=t.class)&&void 0!==a?a:""} ${O&&"edit"===t.slug?"disabled !text-gray-300":"text-gray-400"}`,target:"view"===t?.slug?"_blank":"",rel:"noreferrer",key:t?.link},t.slug&&"view"===t.slug&&(0,e.createElement)(fh,{classes:"capitalize",text:(0,z.sprintf)(
// translators: %s: step slug
// translators: %s: step slug
(0,z.__)("%s Step","cartflows"),t?.slug),icon:(0,e.createElement)(Ox,{className:"w-5 h-5 stroke-1","aria-hidden":"true"})}),t.slug&&"edit"===t.slug&&(0,e.createElement)(fh,{classes:"capitalize",text:O?(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"wcf-tooltip-heading text-xs font-semibold mb-1 block"},(0,z.__)("Step Editing is Disabled","cartflows")),(0,e.createElement)("div",{className:"wcf-tooltip-desc text-xs font-normal normal-case"},(0,z.__)("You can't edit this step directly because Instant Layout is turned on in the funnel settings. To make design changes, go to the Design tab inside this step's settings.","cartflows"))):(0,z.sprintf)(
// translators: %s: step slug
// translators: %s: step slug
(0,z.__)("%s Step","cartflows"),t?.slug),icon:(0,e.createElement)(Yx,{className:"w-5 h-5 stroke-1","aria-hidden":"true"})}))})),(0,e.createElement)(I,{to:{pathname:"admin.php",search:"storeCheckout"===w?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${i}&step_id=${o}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${i}&step_id=${o}`},className:"wcf-step__action-btn group flex relative text-gray-400 hover:text-primary-500 p-1"},(0,e.createElement)(fh,{classes:"capitalize",text:(0,z.__)("Open Settings","cartflows"),icon:(0,e.createElement)(Rl,{className:"w-5 h-5 stroke-1","aria-hidden":"true"})})),(0,e.createElement)(lD,{id:h,control_id:s,onClickEvents:{clone:async function(e){if(e.preventDefault(),!wcfCartflowsPro())return null;if(await k({title:(0,z.__)("Duplicate Step","cartflows"),description:(0,z.__)("Do you want to duplicate this step? Are you sure?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){v(!0);const t=e.target.getAttribute("data-action");let a=cartflows_admin.clone_step_nonce;const r=new window.FormData;"cartflows_clone_ab_test_step"===t&&(a=cartflows_admin.wcf_clone_ab_test_step_nonce,r.append("control_id",s)),r.append("action",t),r.append("security",a),r.append("step_id",h),r.append("post_id",i),window.wcfAction="cloneStep",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((()=>{window.location.reload(),v(!1)})))}},delete:async function(e){if(e.preventDefault(),await k({title:(0,z.__)("Delete Step","cartflows"),description:(0,z.__)("Do you want to delete this step? Are you sure?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){v(!0);const t=e.target.getAttribute("data-action");let a=cartflows_admin.delete_step_nonce;const r=new window.FormData;"cartflows_delete_ab_test_step"===t&&(a=cartflows_admin.wcf_delete_ab_test_step_nonce,r.append("control_id",s)),r.append("action",t),r.append("security",a),r.append("step_id",h),r.append("post_id",i),window.wcfAction="deleteStep",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((()=>{window.location.reload(),v(!1)})))}},abtest:function(e){if(e.preventDefault(),!wcfCartflowsTypePro())return null;v(!0);const t=new window.FormData;t.append("action","cartflows_create_ab_test_variation"),t.append("security",cartflows_admin.wcf_create_ab_test_variation_nonce),t.append("step_id",h),t.append("flow_id",i),window.wcfAction="abtestStep",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{window.location.reload(),v(!1)})))},winner:async function(e){if(e.preventDefault(),await k({title:(0,z.__)("Declare Winner","cartflows"),description:(0,z.__)("Do you want to declare this step as winner? Are you sure?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){v(!0);const e=new window.FormData;e.append("action","cartflows_declare_ab_test_winner"),e.append("security",cartflows_admin.wcf_declare_ab_test_winner_nonce),e.append("step_id",h),e.append("flow_id",i),window.wcfAction="winnerStep",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),v(!1)})))}},archived:async function(e){if(e.preventDefault(),await k({title:(0,z.__)("Archive Step","cartflows"),description:(0,z.__)("Do you want to archive this step? Are you sure?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){v(!0);const e=new window.FormData;e.append("action","cartflows_archive_ab_test_step"),e.append("security",cartflows_admin.wcf_archive_ab_test_step_nonce),e.append("step_id",h),e.append("post_id",i),window.wcfAction="archiveStep",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),v(!1)})))}},automation:()=>{S.push({pathname:"admin.php",search:"storeCheckout"===w?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${i}&automation=${o}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${i}&automation=${o}`})}},is_cf_pro:r,actions:d,type:c,setShowAbtestUpgradePopup:M})))))))},ND=function(a){const{abVariations:r}=a,n={};r.map((e=>(n[e.id]=parseInt(e.traffic),"")));const[i,s]=(0,t.useState)(n),o=function(e,t){e=parseInt(e),t=parseInt(t);let a=i[e]-t;const n={};r.map((r=>{const s=parseInt(r.id);if(e===s)n[s]=t;else{let e=i[s]+a;e<0?(a=e,e=0):e>100?(a=e-100,e=100):a=0,n[s]=e}return""})),s(n)};return(0,e.createElement)(e.Fragment,null,r&&r.map((t=>{const a=t.id,r=t.title;return(0,e.createElement)("div",{className:"wcf-traffic-field border-b border-b-gray-300 last:border-b-0 px-4 py-5","data-id":t.id,key:t.id},(0,e.createElement)("div",{className:"wcf-step-name",title:r},Mr(r,20,15)),(0,e.createElement)("div",{className:"wcf-traffic-slider-wrap","data-variation-id":t.id},(0,e.createElement)("div",{className:`wcf-traffic-range wcf-traffic-range-${t.id}`},(0,e.createElement)("input",{type:"range",value:i[a],onChange:e=>{o(a,e.target.value)}})),(0,e.createElement)("div",{className:`wcf-traffic-value wcf-traffic-value-${t.id}`},(0,e.createElement)("input",{type:"number",name:`wcf_ab_settings[traffic][${t.id}][value]`,value:i[a],className:"wcf-traffic-input-field",onChange:e=>{o(a,e.target.value)}}),(0,e.createElement)("span",{className:"ml-2"},"%"))))})))};function wD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"}))}const xD=t.forwardRef(wD),bD=function(a){const{flow_id:r,step_id:n,abvariations:i,closeCallback:s}=a,[o,l]=(0,t.useState)((0,z.__)("Save Settings","cartflows")),c=(0,t.useRef)(null);return(0,e.createElement)(Pt.Root,{show:!0,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:c,onClose:s},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 sm:p-0 text-center"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full max-w-xl"},(0,e.createElement)("div",{className:"absolute top-0 right-0 hidden pt-4 pr-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:s},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(xD,{className:"h-6 w-6","aria-hidden":"true"}))),(0,e.createElement)("form",{onSubmit:function(e){e.preventDefault(),l((0,z.__)("Saving..","cartflows"));const t=new window.FormData(e.target),a={};t.forEach((function(e,t){a[t]=e}));const i=JSON.stringify(a);t.append("formdata",i),t.append("action","cartflows_save_ab_test_setting"),t.append("security",cartflows_admin.save_ab_test_setting_nonce),t.append("step_id",n),t.append("flow_id",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{l((0,z.__)("Saved","cartflows")),l((0,z.__)("Reloading..","cartflows")),window.location.reload()}))}},(0,e.createElement)("div",{className:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"sm:items-start"},(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-lg font-medium leading-6 text-gray-900 mb-4"},(0,z.__)("Split Test Testing","cartflows")),(0,e.createElement)("div",{className:"text-sm text-gray-900 mb-4"},"Traffic"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},(0,e.createElement)("div",{className:"relative items-center rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 sm:rounded-md"},(0,e.createElement)(ND,{abVariations:i}))))))),(0,e.createElement)("div",{className:"bg-gray-50 px-4 py-3 sm:flex gap-3 justify-end sm:px-6"},(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button"},o)))))))))},DD=function(a){const{flow_id:r,control_id:n,step_id:i,abvariations:s,ab_test_start:o}=a,[l,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)(o?(0,z.__)("Stop Split Test","cartflows"):(0,z.__)("Start Split Test","cartflows")),[m,g]=(0,t.useState)(o?"wcf-stop-split-test text-primary-500 hover:text-primary-700 cursor-pointer":"wcf-start-split-test text-green-600 hover:text-green-700"),[p,f]=(0,t.useState)(!1);return(0,e.createElement)("div",{className:"wcf-ab-test-head w-full p-4 bg-white flex justify-between items-center border-b border-gray-200 rounded-t-lg"},(0,e.createElement)("div",{className:"wcf-step-left-content flex items-center gap-3"},(0,e.createElement)("div",{className:"wcf-steps--sortable-toggle flex cursor-move text-gray-400"},(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1 -ml-3.5","aria-hidden":"true"})),(0,e.createElement)("span",{className:"wcf-ab-test-title font-bold text-base"},(0,z.__)("Split Test","cartflows"))),(0,e.createElement)("div",{className:"wcf-steps-action-buttons flex gap-3 items-center"},(0,e.createElement)("a",{href:"#",className:`wcf-action-button font-normal ${m}`,title:u,"data-id":n,onClick:function(e){if(e.preventDefault(),p)return void console.log("One process of A/B split test is ongoing.");o?(g("wcf-start-split-test"),d((0,z.__)("Stopping…","cartflows"))):(g("wcf-stop-split-test"),d((0,z.__)("Starting…","cartflows"))),f(!0);const t=new window.FormData;t.append("action","cartflows_start_ab_test"),t.append("security",cartflows_admin.wcf_start_ab_test_nonce),t.append("step_id",i),t.append("flow_id",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{f(!1),d((0,z.__)("Reloading…","cartflows")),window.location.reload()}))}},(0,e.createElement)("span",null,u)),(0,e.createElement)("a",{href:"#",className:"wcf-settings-split-test wcf-action-button text-gray-400 hover:text-primary-500",title:`${(0,z.__)("Split Test Settings","cartflows")}`,onClick:function(e){e.preventDefault(),c(!l)}},(0,e.createElement)(Rl,{className:"w-5 h-5 stroke-1 "+(p?"animate-spin text-primary-500":""),"aria-hidden":"true"}))),l&&(0,e.createElement)(bD,{abvariations:s,flow_id:r,step_id:i,control_id:n,closeCallback:function(){c(!1)}}))};function jD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const vD=t.forwardRef(jD),_D=function(a){const{step_id:r,flow_id:n,control_id:i,title:s,deleted:o,hide:l,date:c,actions:u,type:d}=a,[m,g]=(0,t.useState)(!1),p=jx(),f=async function(e){if(e.preventDefault(),await p({title:(0,z.__)("Restore Archived Variation","cartflows"),description:(0,z.__)("Do you want to restore this archived variation? Are you sure?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){g(!0);const e=new window.FormData;e.append("action","cartflows_restore_archive_ab_test_variation"),e.append("security",cartflows_admin.wcf_restore_archive_ab_test_variation_nonce),e.append("step_id",r),e.append("flow_id",n),e.append("control_id",i),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),g(!1)}))}},M=async function(e){if(e.preventDefault(),await p({title:(0,z.__)("Trash Archived Variation","cartflows"),description:(0,z.sprintf)(/* translators: %1$s is replaced with the HTML tag */ /* translators: %1$s is replaced with the HTML tag */
(0,z.__)("This action will trash this archived variation and its analytics data permanently. %1$s Do you want to delete this archived variation?","cartflows"),"\n"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){g(!0);const e=new window.FormData;e.append("action","cartflows_delete_archive_ab_test_variation"),e.append("security",cartflows_admin.wcf_delete_archive_ab_test_variation_nonce),e.append("step_id",r),e.append("flow_id",n),e.append("control_id",i),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),g(!1)}))}},h=async function(e){if(e.preventDefault(),await p({title:(0,z.__)("Hide Archived Variation","cartflows"),description:(0,z.sprintf)(/* translators: %1$s is replaced with the HTML tag */ /* translators: %1$s is replaced with the HTML tag */
(0,z.__)("This action will hide this archived variation from the list of steps, but its analytics will be visible. %1$s Do you want to hide this archived variation?","cartflows"),"\n"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){g(!0);const e=new window.FormData;e.append("action","cartflows_hide_archive_ab_test_variation"),e.append("security",cartflows_admin.hide_archive_ab_test_variation_nonce),e.append("step_id",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),g(!1)}))}},y=async function(e){if(e.preventDefault(),await p({title:(0,z.__)("Trash Archived Variation","cartflows"),description:(0,z.sprintf)(/* translators: %1$s is replaced with the HTML tag */ /* translators: %1$s is replaced with the HTML tag */
(0,z.__)("This action will delete this archived variation and its analytics data permanently. %1$s Do you want to delete this archived variation?","cartflows"),"\n"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})){g(!0);const e=new window.FormData;e.append("action","cartflows_permanent_delete_archive_ab_test_variation"),e.append("security",cartflows_admin.permanent_delete_archive_ab_test_variation_nonce),e.append("step_id",r),e.append("flow_id",n),e.append("control_id",i),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{window.location.reload(),g(!1)}))}};return"1"===l?null:(0,e.createElement)("div",{className:"wcf-archived-step flex items-center gap-2 py-4","data-id":r},(0,e.createElement)("div",{className:"wcf-archive-step--sortable-toggle flex text-gray-300 disabled pointer-events-none"},(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1 -ml-3.5","aria-hidden":"true"})),(0,e.createElement)("div",{className:"wcf-step flex justify-between items-center w-full "+(m?"step-overlay":"")},(0,e.createElement)("div",{className:"wcf-archive-step--content flex items-center gap-4 w-[55%]"},(0,e.createElement)("img",{src:function(){let e="";switch(d){case"landing":e=cD;break;case"checkout":e=uD;break;case"optin":e=gD;break;case"thankyou":e=pD;break;case"upsell":e=dD;break;case"downsell":e=mD}return e}(),alt:d,className:"rounded-lg  w-[72px] h-[72px]"}),(0,e.createElement)("div",{className:"wcf-archive-step--title-wrap flex flex-col gap-1"},(0,e.createElement)("div",{className:"wcf-archive-step--col-tags flex items-center gap-2"},(0,e.createElement)("span",{className:"text-base font-normal text-gray-400 capitalize mr-2"},"thankyou"===d?(0,z.__)("Thank You","cartflows"):d),function(){let t="",a="";return o?(t=(0,z.__)("Deleted On: ","cartflows"),a="bg-red-500"):(t=(0,z.__)("Archived On: ","cartflows"),a="bg-gray-800"),(0,e.createElement)("span",{className:`wcf-step-badge text-white text-xs px-2.5 py-1 rounded-full ${a}`},t+c)}()),(0,e.createElement)("div",{className:"wcf-archive-step--title"},(0,e.createElement)("span",{className:"font-semibold text-lg text-gray-800 cursor-default"},Mr(s,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length))))),(0,e.createElement)("div",{className:"wcf-archive-step--col"},(0,e.createElement)("div",{className:"wcf-archive-step--actions"},(0,e.createElement)("div",{className:"wcf-archive-step--action__btns-wrapper"},(0,e.createElement)("div",{className:"wcf-archive-step--basic-action__btns flex items-center gap-3"},u.map((t=>{let a,r;switch(t.slug){case"restore":a=f,r=(0,e.createElement)(Qx,{className:"w-18 h-18 stroke-2"});break;case"delete":a=M,r=(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2"});break;case"hide":a=h,r=(0,e.createElement)(vD,{className:"w-18 h-18 stroke-2"});break;case"deleteArch":a=y,r=(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-2"})}return(0,e.createElement)(e.Fragment,null,t?.before_text&&(0,e.createElement)("span",{className:"wcf-step__action-before-text"},t?.before_text),(0,e.createElement)("a",{href:t?.link,className:`wcf-step__action-btn text-gray-400 hover:text-primary-500 p-1 flex gap-2 ${t?.class}`,title:t?.text,onClick:a},r,t?.text))}))))))))},ID=function(a){const{flow_id:r,control_id:n,archived_variations:i,type:s}=a,[o,l]=(0,t.useState)(!1);return(0,e.createElement)("div",{className:"wcf-archived-wrapper p-4 bg-white w-full rounded-b-lg"},(0,e.createElement)("span",{id:"wcf-archived-button",onClick:function(){l(!o)},className:`text-gray-800 text-sm flex items-center gap-1 cursor-pointer p-1 ${o?"is-active":""} `},(0,z.__)("Archived Steps","cartflows"),o?(0,e.createElement)(Jy,{className:"w-4 h-4 stroke-1 mt-0.5","aria-hidden":"true"}):(0,e.createElement)($y,{className:"w-4 h-4 stroke-1 mt-0.5","aria-hidden":"true"})),o&&(0,e.createElement)("div",{className:"wcf-archived-steps divide-y divide-gray-200"},i.map((t=>{const a={step_id:t.id,flow_id:r,control_id:n,title:t.title,note:t.note,deleted:t.deleted,hide:t.hide,date:t.date,type:s,actions:Object.values(t.actions)};return(0,e.createElement)(_D,(0,y.A)({},a,{key:t.id}))}))))},ED=function(t){const[{is_cf_pro:a,global_checkout:r,flow_id:n,flow_type:i}]=zl(),{id:s,title:o,type:l,actions:c,menu_actions:u,ajaxcall:d,offer_yes_next_step:m,offer_no_next_step:g,invalid:p=!1,setShowAbtestUpgradePopup:f=()=>{}}=t,M=!!p,h=s;"storeCheckout"===i&&(["checkout"].includes(l)&&(delete u.clone,M||delete u.delete),M&&(delete u.clone,delete u.abtest));let N=!1,w=!1,x=[],b=[],D=0;wcfCartflowsTypePro()&&(N=!!t["ab-test-ui"]&&t["ab-test-ui"],w=!!t["ab-test-start"]&&t["ab-test-start"],x=t["ab-test-variations"]?t["ab-test-variations"]:[],b=t["ab-test-archived-variations"]?t["ab-test-archived-variations"]:[],D=x.length,D<2&&(N=!1));let j="";"storeCheckout"===i&&M&&(j+=" invalid-step wcf-store-checkout pointer-events-none touch-none"),N&&(j+=" wcf-ab-test flex flex-col items-center"),wcfCartflowsTypePlusPro()||"upsell"!==l&&"downsell"!==l||(j+=" invalid-step pro-inactive pointer-events-none touch-none !bg-gray-50 !text-gray-300 !border-0");const v={is_cf_pro:a,global_checkout:r,flow_id:n,ab_test_ui:N,control_id:h,step_id:s,type:l,title:o,actions:Object.values(c),menu_actions:Object.values(u),has_product_assigned:t.is_product_assigned,offer_yes_next_step:m,offer_no_next_step:g,ab_test_archived_variations:b,invalidStep:M,setShowAbtestUpgradePopup:f};return(0,e.createElement)("div",{className:"wcf-step-wrap bg-white border shadow-sm rounded-lg mb-4"+j,id:s,onDragEnd:d},N&&(0,e.createElement)(DD,{flow_id:n,control_id:h,step_id:s,abvariations:x,ab_test_start:w}),function(){let t="";if(v.step_id=s,N&&D>1){let a=0;t=x.map((t=>(h!==t.id&&++a,v.is_variation=!0,v.control_id=h,v.step_id=t.id,v.title=t.title,v.actions=Object.values(t.actions),v.menu_actions=Object.values(t.menu_actions),v.has_product_assigned=t.is_product_assigned,v.var_badge_count=a,(0,e.createElement)(yD,(0,y.A)({},v,{key:t.id})))))}else t=(0,e.createElement)(yD,v);return t}(),function(){if(N&&b.length>0){const t={flow_id:n,control_id:h,type:l,archived_variations:b};return(0,e.createElement)(ID,t)}}())},LD=function(){return(0,e.createElement)("div",{className:"w-11/12"},Array(3).fill().map(((t,a)=>(0,e.createElement)("div",{key:a,className:"wcf-step-wrap animate-pulse bg-white border shadow-sm rounded-lg mb-4 p-4 flex items-center gap-2"},(0,e.createElement)("div",{className:"wcf-steps--sortable-toggle flex cursor-move text-gray-400"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",className:"w-5 h-5 stroke-1"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"})),(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",className:"w-5 h-5 stroke-1 -ml-3.5"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"}))),(0,e.createElement)("div",{className:"wcf-step flex justify-between items-center w-full wcf-step__no-product"},(0,e.createElement)("div",{className:"wcf-step--content flex items-center gap-4 w-[55%]"},(0,e.createElement)("div",{className:"image bg-gray-200 p-11 rounded-md"}),(0,e.createElement)("div",{className:"wcf-steps--title-wrap flex flex-col gap-4 w-full"},(0,e.createElement)("div",{className:"wcf-step__col-tags flex items-center gap-2"},(0,e.createElement)("span",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block mr-2"}),(0,e.createElement)("span",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block"})),(0,e.createElement)("div",{className:"wcf-step__title"},(0,e.createElement)("span",{className:"h-3 w-4/5 bg-gray-200 rounded-md px-10 block mr-2"})))),(0,e.createElement)("div",{className:"wcf-step--stats-content flex text-center justify-between items-center w-1/4 "},(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block"}),(0,e.createElement)("div",{className:"h-3 w-8 bg-gray-200 rounded-md px-4 block mx-auto mt-2"})),(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block"}),(0,e.createElement)("div",{className:"h-3 w-8 bg-gray-200 rounded-md px-4 block mx-auto mt-2"})),(0,e.createElement)("div",{className:"wcf-step--stats-content__stat"},(0,e.createElement)("div",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block"}),(0,e.createElement)("div",{className:"h-3 w-8 bg-gray-200 rounded-md px-4 block mx-auto mt-2"}))),(0,e.createElement)("div",{className:"wcf-step--actions-col"},(0,e.createElement)("div",{className:"wcf-step--actions"},(0,e.createElement)("div",{className:"wcf-step--action-btns flex items-center"},(0,e.createElement)("div",{className:"wcf-step--action__basic-btns flex items-center gap-3"},(0,e.createElement)("span",{className:"wcf-step__action-btn h-3 w-full bg-gray-200 rounded-md p-3 block"}),(0,e.createElement)("span",{className:"wcf-step__action-btn h-3 w-full bg-gray-200 rounded-md p-3 block"}),(0,e.createElement)("span",{className:"wcf-step__action-btn h-3 w-full bg-gray-200 rounded-md p-3 block"}),(0,e.createElement)("span",{className:"wcf-step__action-btn h-3 w-full bg-gray-200 rounded-md p-3 block"}))))))))))};function TD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))}const AD=t.forwardRef(TD);function zD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))}const kD=t.forwardRef(zD);function SD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))}const OD=t.forwardRef(SD);function CD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))}const YD=t.forwardRef(CD);function UD({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"}))}const QD=t.forwardRef(UD),PD=function(){const[{step_id:a,flow_id:r},n]=zl();let[{step_title:i}]=zl();(0,t.useEffect)((()=>{let e=!0;return e&&A()({path:`/cartflows/v1/admin/flow-data/${r}`}).then((t=>{e&&n({type:"SET_FLOW_DATA",data:t})})),()=>{e=!1}}),[i]);const[s,o]=(0,t.useState)(!1),[l,c]=(0,t.useState)(""),u=(0,t.createRef)(),d=function(e){e.preventDefault(),o(!0)},m=function(e){e.preventDefault(),c("wcf-button-loading");const t=u.current.value,r=new window.FormData;r.append("action","cartflows_update_step_title"),r.append("security",cartflows_admin.update_step_title_nonce),r.append("step_id",a),r.append("new_step_title",t),A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((()=>{n({type:"SET_STEP_TITLE",title:t}),c(""),o(!1)}))},g=function(e){e.preventDefault(),o(!1)};return!1===i?"":(0,e.createElement)("div",{className:"wcf-edit-step__title-wrap"},(0,e.createElement)("div",{className:"wcf-steps-header--title wcf-step__title--editable flex justify-between items-center gap-2.5"},function(){""===i&&(i=(0,z.__)("(no title)","cartflows"));let t=Mr(i,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length),a=(0,e.createElement)("a",{href:"#",className:"wcf-steps-header__title--edit",title:(0,z.__)("Edit Step Name","cartflows"),onClick:d},(0,e.createElement)(QD,{className:"w-5 h-5 stroke-1 text-gray-400 hover:text-primary-500"}));return s&&(t=(0,e.createElement)(cg,{attr:{ref:u},id:"new-step-title",value:i,autocomplete:"off",class:"new-step-title input-field !px-4 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !w-full !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0"}),a=(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+(l?"wcf-disabled":""),type:"button",onClick:m},l&&(0,e.createElement)("svg",{"aria-hidden":"true",className:"w-18 h-18 mr-2 text-gray-400 animate-spin fill-primary-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,e.createElement)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),(0,z.__)("Save","cartflows")),(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",href:"#",onClick:g},(0,z.__)("Cancel","cartflows")))),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-steps-header__title--text",title:i},t),(0,e.createElement)("span",{className:"wcf-steps-header__title--buttons flex gap-2"},a))}()))},FD=function(){return(0,e.createElement)("div",{className:"wcf-design-page is-placeholder"},(0,e.createElement)("div",{className:"wcf-design-page__content"},(0,e.createElement)("div",{className:"wcf-design-header--title wcf-step__title--editable"},(0,e.createElement)("div",{className:"title wcf-placeholder__width--30"})),(0,e.createElement)("div",{className:"wcf-design-page__customize"},(0,e.createElement)("div",{className:"wcf-design-page__button"}),(0,e.createElement)("div",{className:"wcf-design-page__button"})),(0,e.createElement)("div",{className:"wcf-design-page__text"},(0,e.createElement)("div",{className:"title wcf-placeholder__width--60"})),(0,e.createElement)("div",{className:"wcf-design-page__WPeditor"},(0,e.createElement)("div",{className:"title wcf-placeholder__width--80"}))),(0,e.createElement)("div",{className:"wcf-design-page__settings"},(0,e.createElement)("div",{className:"title"}),(0,e.createElement)("div",{className:"wcf-field wcf-checkbox-field"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("div",{className:"wcf-settings"},(0,e.createElement)("form",null,(0,e.createElement)("div",{className:"wcf-vertical-nav"},(0,e.createElement)("div",{className:"wcf-vertical-nav__menu"},Array(5).fill().map((t=>(0,e.createElement)("div",{className:"wcf-settings-nav__tab",key:t},(0,e.createElement)(Ty,{height:"45px"}))))),(0,e.createElement)("div",{className:"wcf-vertical-nav__content"},(0,e.createElement)(Ey,{fontSize:"35px",width:"225px"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"65%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"300px"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"45%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"300px"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"45%"})))))))},RD=function({settings:t},a="tr"){const[{options:r}]=zl();return(0,e.createElement)("div",{className:"wcf-list-options"},(0,e.createElement)("div",{className:"wcf-list-options-wrapper"},"tr"===a?(0,e.createElement)("table",{className:"w-full"},(0,e.createElement)("tbody",null,Object.keys(t.fields).map((a=>{const n=t.fields[a],i=r[n.name]?r[n.name]:"",s=hr.isActiveControl(n,r);return(0,e.createElement)(Nh,{key:a,data:n,value:i,isActive:s,field:a})})))):(0,e.createElement)("div",{className:"wcf-list-options-container"},Object.keys(t.fields).map((n=>{const i=t.fields[n],s=r[i.name]?r[i.name]:"",o=hr.isActiveControl(i,r);return(0,e.createElement)(Nh,{key:n,data:i,value:s,isActive:o,field:n,tabName:"list-options",displayAs:a})})))))},HD=function(a){const[r,n]=(0,t.useState)(a.isOpen?"":"collapsed"),i=a.settings.title.replace(/ /g,"_").toLowerCase(),s=a.settings.title.replace(/ /g,"-").toLowerCase();return(0,e.createElement)("div",{className:`wcf-${s} accordion-item bg-white -mx-8 border-b border-gray-200 ${!1===a?.isActive?"hidden":""}`},(0,e.createElement)("h2",{className:"accordion-header mb-0 "+("landing"===a?.settings?.step_type&&"general"===a?.settings?.slug?"hidden":""),id:`wcf_${i}_toggler`.toLowerCase()},(0,e.createElement)("button",{className:`wcf-accordion-button relative flex justify-between items-center w-full py-4 px-8 text-base font-semibold text-gray-800 text-left transition focus:outline-none ${r}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#wcf_collapse_${i}`,"aria-expanded":"false","aria-controls":`wcf_collapse_${i}`,onClick:function(){n("collapsed"===r?"":"collapsed")}},(0,e.createElement)("span",null,a.settings.title),""===r?(0,e.createElement)(Gy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}):(0,e.createElement)(Jy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)("div",{id:`wcf_collapse_${i}`,className:`accordion-collapse px-8 pt-4 pb-8 ${r}`,"aria-labelledby":`wcf_${i}_toggler`},(0,e.createElement)("div",{className:"accordion-body"},(0,e.createElement)(RD,{settings:a.settings,displayAs:a.displayAs?a.displayAs:"tr"}))))},BD=function(){const[{step_id:a,design_settings:r,options:n,flow_type:i,flow_id:s,step_data:o,is_flow_instant_checkout:l}]=zl(),c=r.settings,u=c?Object.values(c).sort((function(e,t){return e.priority-t.priority})):"",[{step_title:d}]=zl(),m=(0,f.useHistory)(),g=jx();return(0,t.useEffect)((()=>{let e=!0;return()=>{e=!1}}),[]),""===a?(0,e.createElement)(FD,null):(0,e.createElement)("div",{className:"wcf-design-page"},"storeCheckout"===i&&d&&"yes"!==l&&(0,e.createElement)("div",{className:"mb-3"},(0,e.createElement)("div",{className:"wcf-change-step wcf-button wcf-secondary-button",onClick:async function(){await g({title:(0,z.__)("Update Template","cartflows"),description:(0,z.__)("Changing the template will permanently delete the current design in this step. Would you still like to proceed?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})&&m.push(`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&step_id=${a}&flow_id=${s}&tab=update-template`)}},(0,e.createElement)("span",{className:""},(0,z.__)("Change Template","cartflows")))),(0,e.createElement)("div",{className:"wcf-step-notices-wrapper rounded-md bg-yellow-50 border border-yellow-200 p-4 mb-3"},(0,e.createElement)("div",{className:"flex"},(0,e.createElement)("div",{className:"text-sm text-yellow-700"},"yes"===l&&["checkout","upsell","downsell","thankyou"].includes(o?.type)?(0,e.createElement)(e.Fragment,null,(0,z.sprintf)(
// translators: %s: The current step type.
// translators: %s: The current step type.
(0,z.__)("Use this setting to customize the style of the Instant %s Layout.","cartflows"),"thankyou"===o?.type?(0,z.__)("Thank You","cartflows"):o?.type.charAt(0).toUpperCase()+o?.type.slice(1))):(0,e.createElement)(e.Fragment,null,(0,z.__)("If you are using shortcodes, enable this design settings to apply styles.","cartflows"))))),u&&(0,e.createElement)("div",{className:"wcf-design-page__settings"},(0,e.createElement)("div",{className:"mb-4"},(0,e.createElement)(bh,{id:"wcf-enable-design-settings",name:"wcf-enable-design-settings",value:n["wcf-enable-design-settings"],label:(0,z.__)("Enable Design Settings","cartflows"),fullWidth:!0})),"yes"===n["wcf-enable-design-settings"]&&Object.keys(u).map(((t,a)=>(0,e.createElement)(HD,{settings:u[t],key:t,isOpen:0===a,isActive:hr.isActiveControl(u[t],n)})))))},WD=function(){return(0,e.createElement)("div",{className:"wcf-settings-nav"},(0,e.createElement)("div",{className:"wcf-settings-nav__tabs"},Array(5).fill().map((t=>(0,e.createElement)("div",{className:"wcf-settings-nav__tab",key:t},(0,e.createElement)(Ty,{height:"45px"}))))),(0,e.createElement)("div",{className:"wcf-settings-nav__content"},(0,e.createElement)(Ey,{fontSize:"35px",width:"225px"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"65%"}),(0,e.createElement)(Ly,null),(0,e.createElement)(Ey,{fontSize:"35px",width:"300px"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"60%"}),(0,e.createElement)(Ey,{width:"45%"})))},VD=function(){const[{step_id:a,flow_id:r,step_data:n}]=zl(),[i,s]=(0,t.useState)("collapsed"),o=(0,f.useHistory)(),l=jx();return(0,e.createElement)("div",{className:"wcf-change-step-template accordion-item bg-white -mx-8 border-b border-gray-200"},(0,e.createElement)("h2",{className:"accordion-header mb-0",id:"wcf_change_step_template_toggler"},(0,e.createElement)("button",{className:`wcf-accordion-button relative flex justify-between items-center w-full py-4 px-8 text-base font-semibold text-gray-800 text-left transition focus:outline-none ${i}`,type:"button","data-bs-toggle":"collapse","data-bs-target":"#wcf_collapse_change_step_template","aria-expanded":"false","aria-controls":"wcf_collapse_change_step_template",onClick:function(){s("collapsed"===i?"":"collapsed")}},(0,e.createElement)("span",null,(0,z.__)("Change Template","cartflows")),""===i?(0,e.createElement)(Gy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}):(0,e.createElement)(Jy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"wcf_collapse_change_step_template",className:`accordion-collapse px-8 pt-4 pb-8 ${i}`,"aria-labelledby":"wcf_change_step_template_toggler"},(0,e.createElement)("div",{className:"accordion-body"},(0,e.createElement)("div",{className:"mb-3 flex items-center gap-4"},(0,e.createElement)("img",{src:function(){let e="";switch(n.type){case"landing":e=cD;break;case"checkout":e=uD;break;case"optin":e=gD;break;case"thankyou":e=pD;break;case"upsell":e=dD;break;case"downsell":e=mD}return e}(),alt:n.type,className:"rounded-lg  w-[85px] h-[85px]"}),(0,e.createElement)("div",{className:"wcf-template-content"},(0,e.createElement)("div",{className:"wcf-step-template-type mb-3"},(0,e.createElement)("span",{className:"text-sm font-medium"},(0,z.__)("Step Type: ","cartflows")),(0,e.createElement)("span",{className:"text-sm font-normal text-gray-500 capitalize"},n.type)),(0,e.createElement)("div",{className:"wcf-change-step wcf-button wcf-secondary-button",onClick:async function(){await l({title:(0,z.__)("Update Template","cartflows"),description:(0,z.__)("Changing the template will permanently delete the current design in this step. Would you still like to proceed?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})&&o.push(`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${r}step_id=${a}&tab=update-template`)}},(0,e.createElement)("span",{className:""},(0,z.__)("Update Template","cartflows"))))))))},ZD=function(){const[{step_data:t,settings_data:a,page_builder:r,flow_type:n,step_title:i,options:s}]=zl(),[{license_status:o}]=g();let l=!0;void 0!==t.id&&(l=!1);const c=a.settings,u=Object.values(c).sort((function(e,t){return e.priority-t.priority}));return l?(0,e.createElement)(WD,null):["upsell","downsell"].includes(t.type)&&wcfCartflowsPro()&&"Activated"!==o?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-multiple-order-bumps wcf-multiple-order-bumps-cta"},(0,e.createElement)(Dy,{heading:(0,z.__)("License is required!","cartflows"),subHeading:(0,z.__)("Activate the license to modify this offer step's settings","cartflows")}))):(0,e.createElement)("div",{className:"wcf-settings-page"},c&&Object.keys(u).map(((a,n)=>"other"!==r&&"shortcode"===u[a].slug?null:(u[a].step_type=t?.type||"",(0,e.createElement)(HD,{settings:u[a],key:a,displayAs:"div",isOpen:0===n,isActive:hr.isActiveControl(u[a],s)})))),"storeCheckout"===n&&i&&(0,e.createElement)(VD,null))},GD=function({settings:t},a="tr"){const[{options:r}]=zl(),n=e=>{let t="";const a=e.name;if(a&&a.includes("[")){const n=a.split("["),i=[];for(let e=1;e<n.length;e++)i.push(n[e].split("]")[0]);const s=a.substr(0,a.indexOf("[")),o=r[s],l=r["wcf-offer-product"];if((null==l||""===l||l.length<=0)&&("wcf-offer-product[original_price]"===a||"wcf-offer-product[sell_price]"===a))return(0,z.__)("No product Selected","cartflows");const c=Array.isArray(l)?parseFloat(l[0].original_price):parseFloat(l.original_price);if("wcf-offer-product[sell_price]"===a&&c){const t=r["wcf-offer-discount"],a=parseFloat(r["wcf-offer-discount-value"]);let n=c;return"discount_percent"===t?a>0&&(n=(c-c*a/100).toFixed(2)):"discount_price"===t&&a>0&&(n=(c-a).toFixed(2)),e.class=n<0?"error_field":"",n}t=o[i[0]]}else t=r[e.name]?r[e.name]:"";return t};return(0,e.createElement)("div",{className:"wcf-list-options wcf-offer-list-options"},(0,e.createElement)("div",{className:"wcf-list-options-wrapper"},"tr"===a?(0,e.createElement)("table",{className:"w-full"},(0,e.createElement)("tbody",null,Object.keys(t.fields).map((a=>{const i=t.fields[a],s=n(i),o=hr.isActiveControl(i,r);return(0,e.createElement)(Nh,{key:a,data:i,value:s,isActive:o,field:a})})))):(0,e.createElement)("div",{className:"wcf-list-options-container"},Object.keys(t.fields).map((i=>{const s=t.fields[i],o=n(s),l=hr.isActiveControl(s,r);return(0,e.createElement)(Nh,{key:i,data:s,value:o,isActive:l,field:i,tabName:"list-options",displayAs:a})})))),(0,e.createElement)("table",null,(0,e.createElement)("tbody",null)))},XD=function(){return(0,e.createElement)("div",{className:"wcf-checkout-products is-placeholder"},(0,e.createElement)("div",{className:"wcf-checkout-products--selection wcf-checkout__section"},(0,e.createElement)("div",{className:"wcf-product-selection-wrapper"},(0,e.createElement)("div",{className:"wcf-list-options"},(0,e.createElement)("div",{className:"wcf-list-options__title"},(0,e.createElement)("div",{className:"title wcf-placeholder__width--30"})),(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",null,(0,e.createElement)("div",{className:"wcf-checkout-product-selection-field"},(0,e.createElement)("div",{className:"wcf-checkout-product-selection-field__add-new"},(0,e.createElement)("div",{className:"wcf-checkout-products__button"}),(0,e.createElement)("div",{className:"wcf-checkout-products__button"})))))))))),(0,e.createElement)("div",{className:"wcf-checkout-products__pro-options"},(0,e.createElement)("div",{className:"wcf-checkout-products--coupon"},(0,e.createElement)("div",{className:"wcf-coupon-selection-wrapper"},(0,e.createElement)("div",{className:"wcf-list-options"},(0,e.createElement)("div",{className:"wcf-list-options__title"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"wcf-select2-field"},(0,e.createElement)("div",{className:"title"}))))))))))),(0,e.createElement)("div",{className:"wcf-field wcf-submit"},(0,e.createElement)("div",{className:"wcf-checkout-products__button"})))},JD=function(){const[{settings_data:a,page_settings:r,options:n,step_data:i},s]=zl(),[{license_status:o}]=g(),l=n["wcf-offer-product"]?n["wcf-offer-product"]:"",c=[{value:"",label:"No Discount",icon:(0,e.createElement)(Sl,{className:"w-5 h-5"})},{value:"discount_percent",label:"Discount Percentage",icon:(0,e.createElement)(Cl,{className:"w-5 h-5"})},{value:"discount_price",label:"Discount Price",icon:(0,e.createElement)(Ul,{className:"w-5 h-5"})}],[u,d]=(0,t.useState)(),[m,p]=(0,t.useState)(""),f=(0,z.__)("Add","cartflows"),M=void 0===l.discount_type||""===l.discount_type?"disable":"enable",[h,y]=(0,t.useState)(M);(0,t.useEffect)((()=>{y(l?.discount_type?"enable":"disable")}),[l]);const[N,w]=(0,t.useState)({isInProcessing:!1,buttonText:f}),{isInProcessing:x,buttonText:b}=N;return void 0===a.settings?(0,e.createElement)(XD,null):["upsell","downsell"].includes(i.type)&&wcfCartflowsPro()&&"Activated"!==o?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-multiple-order-bumps wcf-multiple-order-bumps-cta"},(0,e.createElement)(Dy,{heading:(0,z.__)("License is required!","cartflows"),subHeading:(0,z.__)("Activate the license to modify this offer step's settings","cartflows")}))):(0!==l.length&&function(){const e=n["wcf-offer-discount"],t=parseFloat(n["wcf-offer-discount-value"]),a=parseFloat(l.original_price);let r=0;"discount_percent"===e?t>0&&(r=a-a*t/100):"discount_price"===e&&t>0&&(r=a-t),l.sell_price=r.toFixed(2)}(),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-offer-product--wrapper"},(0,e.createElement)("div",{className:"wcf-offer-products--selection wcf-products__section"},0===l.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("input",{name:"wcf-offer-product[]",type:"hidden",value:""}),(0,e.createElement)("div",{className:"wcf-offer-no-product--notice border border-gray-200 bg-gray-25 text-center text-sm font-normal rounded-md p-5"},(0,z.__)("Once you select the product, they will be displayed here.","cartflows")),(0,e.createElement)("div",{className:"wcf-offer-product-selection-field__add-new flex justify-between gap-5 mt-5"},(0,e.createElement)(dh,{name:"",desc:"",field:"product",value:m,allowed_products:"",include_products:"braintree-subscription, braintree-variable-subscription",excluded_products:"grouped",placeholder:(0,z.__)("Search for a Product","cartflows"),onChangeCB:d}),(0,e.createElement)("div",{className:"wcf-select-product-button inline-flex"},(0,e.createElement)("button",{type:"button",className:xr()("wcf-button",x?"wcf-disabled":"wcf-secondary-button"),onClick:function(){const e=u?.value;p(u),e&&(w({isInProcessing:!0,buttonText:(0,z.__)("Adding…","cartflows")}),A()({path:`/cartflows/v1/admin/product-data/${e}`}).then((t=>{console.log(t),s({type:"ADD_OFFER_PRODUCT",field_name:"wcf-offer-product",product_data:{value:e,quantity:"1",label:u?.label,img_url:t?.img_url,original_price:t?.regular_price}}),p(null),w({isInProcessing:!1,buttonText:f})})),d(null))}},!x&&(0,e.createElement)(Tr,{className:"w-4 h-4 stroke-2","aria-hidden":"true"}),x&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin","aria-hidden":"true"}),b)))):(0,e.createElement)("div",{className:"overflow-visible shadow border border-gray-200 rounded-md"},(0,e.createElement)("div",{className:"wcf-offer-product-selection--header border-b border-gray-200 flex gap-6 p-3"},(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-1/2"},(0,z.__)("Items","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-[10%]"},(0,z.__)("Quantity","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-1/5"},(0,z.__)("Discount","cartflows")),(0,e.createElement)("div",{className:"text-left text-sm font-semibold text-gray-900 w-1/6"},(0,z.__)("Shipping Rate","cartflows")),(0,e.createElement)("div",{className:"relative w-[5%]"},(0,e.createElement)("span",{className:"sr-only"},(0,z.__)("Delete","cartflows")))),(0,e.createElement)("div",{className:"wcf-offer-product-selection--selected-product flex items-center p-3 gap-4"},(0,e.createElement)("div",{className:"wcf-offer-product-selection--product-title whitespace-nowrap text-sm font-medium text-gray-900 w-1/2"},(0,e.createElement)("div",{className:"flex gap-3 items-center"},(0,e.createElement)("div",{className:"wcf-offer-product-selection--product-image flex w-24 h-24"},(0,e.createElement)("img",{src:l.img_url?l.img_url:cartflows_admin.image_placeholder,className:"product-image rounded-md w-full h-full aspect-{3/2} object-contain",alt:Nr(l.label)})),(0,e.createElement)("div",{className:"wcf-offer-product-selection--product-title_text"},(0,e.createElement)("div",{className:"wcf-offer-product-repeater-field__title whitespace-normal text-left","data-product_id":l.value},Nr(l.label)),(0,e.createElement)("div",{className:"wcf-offer-product-repeater-field__reg-price mt-1"},(0,e.createElement)("div",{className:"flex gap-2"},(0,e.createElement)("span",{className:"wcf-offer-product--reg-price "+(0<l.sell_price?"line-through text-gray-400":"")},cartflows_admin.woo_currency+l.original_price),0<l.sell_price&&(0,e.createElement)("span",{className:"wcf-offer-product--sale-price"},cartflows_admin.woo_currency+l.sell_price)))))),(0,e.createElement)("div",{className:"wcf-offer-product-selection--product-qty whitespace-nowrap text-sm text-gray-500 w-[10%]"},(0,e.createElement)(ug,{id:"",name:"wcf-offer-quantity",class:"input-field !w-20 !min-h-[43px] !text-sm font-normal !rounded-md text-gray-400 !border !border-gray-200 focus:!ring-0 focus:!ring-transparent focus:!shadow-none !outline-0 !outline-none !m-0",value:n["wcf-offer-quantity"],min:"1"})),(0,e.createElement)("div",{className:"wcf-offer-product-selection--product-discount flex whitespace-nowrap text-sm text-gray-500 w-1/5"},(0,e.createElement)(ty,{name:"wcf-offer-discount",value:n["wcf-offer-discount"],class:"!block !w-20 !m-0",options:c,callback:function(e,t,a){y(""===a?"disable":"enable")}}),(0,e.createElement)(ug,{id:"",class:"input-field !w-20 !min-h-[43px] !leading-[3] !text-sm font-normal !rounded-r-md !rounded-l-none text-gray-400 !border !border-l-0 !border-gray-200 focus:!ring-0 focus:!ring-transparent focus:!shadow-none !outline-0 !outline-none !m-0",name:"wcf-offer-discount-value",value:"disable"===h?"":n["wcf-offer-discount-value"],readonly:"disable"===h?"readonly":"",placeholder:"disable"===h?"":"0",min:"1",step:"any"})),(0,e.createElement)("div",{className:"wcf-offer-product-selection--flat-rate flex whitespace-nowrap text-sm text-gray-500 w-1/6"},(0,e.createElement)(ug,{id:"",class:"input-field !w-20 !min-h-[43px] !leading-[3] !text-sm font-normal !rounded-md text-gray-400 !border !border-gray-200 focus:!ring-0 focus:!ring-transparent focus:!shadow-none !outline-0 !outline-none !m-0",name:"wcf-offer-flat-shipping-value",placeholder:"0",value:n["wcf-offer-flat-shipping-value"],min:"0"})),(0,e.createElement)("div",{className:"wcf-offer-product-selection-actions flex gap-2 relative whitespace-nowrap text-right text-sm font-medium w-[5%] justify-center"},(0,e.createElement)("div",{className:"wcf-delete-product-item py-2 text-primary-500 hover:text-primary-700 cursor-pointer text-right flex justify-end",onClick:function(){s({type:"REMOVE_OFFER_PRODUCT",field_name:"wcf-offer-product"})}},(0,e.createElement)(Bl,{className:"h-18 w-18"}))),(0,e.createElement)("input",{name:"wcf-offer-product[]",type:"hidden",className:"wcf-checkout-product-id",value:l.value})))),(0,e.createElement)("div",{className:"wcf-offer-product--common-settings pt-8"},(0,e.createElement)(GD,{settings:r?.settings.product,displayAs:"div"})))))},qD=function(){return(0,e.createElement)("div",{className:"wcf-order-bump-product-tab p-6 is-placeholder"},(0,e.createElement)("div",{role:"status",className:"space-y-8 animate-pulse md:space-y-0 md:space-x-8 md:flex md:items-center"},(0,e.createElement)("div",{className:"flex items-center justify-center w-full h-48 bg-gray-300 rounded sm:w-96"},(0,e.createElement)("svg",{className:"w-12 h-12 text-gray-200",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 640 512"},(0,e.createElement)("path",{d:"M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"}))),(0,e.createElement)("div",{className:"w-full"},(0,e.createElement)("div",{className:"wcf-accordion-loader mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"})))),(0,e.createElement)("div",{className:"flex gap-4 mt-6"},(0,e.createElement)("span",{className:"w-20 h-4 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-4 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-4 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-4 bg-gray-200 rounded-md"})),(0,e.createElement)("div",{className:"w-full"},(0,e.createElement)("div",{className:"mt-6 mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"}))))},$D=function(){return(0,e.createElement)("div",{className:"wcf-order-bump-design-tab is-placeholder"},(0,e.createElement)("div",{className:"wcf-order-bump-design-tab__settings"},(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field wcf-section-heading-field"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",null))))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"wcf-select2-field wcf-product-field"},(0,e.createElement)("div",{className:"wcf-selection-field"},(0,e.createElement)("label",null)))))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"wcf-select2-field wcf-product-field"},(0,e.createElement)("div",{className:"wcf-selection-field"},(0,e.createElement)("label",null)))))))),(0,e.createElement)("div",{className:"wcf-order-bump-save-settings"},(0,e.createElement)("span",null))),(0,e.createElement)("div",{className:"wcf-order-bump-design-tab__preview"},(0,e.createElement)("div",{className:"wcf-order-bump-design-tab__preview--title"},(0,e.createElement)("label",null)),(0,e.createElement)("div",{className:"wcf-bump-order-wrap wcf-bump-order-style-1 wcf-after-order"},(0,e.createElement)("div",{className:"wcf-bump-order-content"},(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap"},(0,e.createElement)("span",null)),(0,e.createElement)("div",{className:"wcf-content-container"},(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-right"},(0,e.createElement)("div",{className:"wcf-bump-order-offer"},(0,e.createElement)("span",{className:"wcf-bump-order-bump-highlight"})),(0,e.createElement)("div",{className:"wcf-bump-order-desc"})))))))},KD=function(){return(0,e.createElement)("div",{className:"wcf-order-bump-setting-tab is-placeholder"},(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field wcf-section-heading-field"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",null))))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",{className:"wcf-field-one"})))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",{className:"wcf-field-two"})))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field wcf-section-heading-field"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",null))))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",{className:"wcf-field-one"})))),(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"row"},(0,e.createElement)("div",{className:"wcf-field__data--label"},(0,e.createElement)("label",{className:"wcf-field-two"})))))),(0,e.createElement)("div",{className:"wcf-order-bump-save-settings"},(0,e.createElement)("span",null)))},ej=function(){return(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page"},(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page--enable_option"},(0,e.createElement)(Ey,{width:"65%"})),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group"},Array(3).fill().map(((t,a)=>(0,e.createElement)("div",{className:"wcf-order-bumps-rule",key:t},(0,e.createElement)("div",{className:"wcf-order-bumps-rule--select-box"},(0,e.createElement)(Ty,{height:"35px",width:"30%"}),(0,e.createElement)(Ty,{height:"35px",width:"30%"}),(0,e.createElement)(Ty,{height:"35px",width:"30%"})),2!==a&&(0,e.createElement)("div",{className:"wcf-order-bumps-rule__and"},(0,e.createElement)(Ty,{height:"25px",width:"5%"})))))),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--or"},(0,e.createElement)(Ty,{height:"35px",width:"5%"}),(0,e.createElement)(Ty,{height:"45px",width:"12%"})),(0,e.createElement)("div",{className:"wcf-order-bumps-rules-save-settings"},(0,e.createElement)(Ty,{height:"45px",width:"12%"})))},tj=new function(){const e=this;this.compare=function(e,t,a){switch(a){case"==":return e==t;case"!=":return e!=t;case"!==":return e!==t;case"in":return-1!==t.indexOf(e);case"!in":return-1===t.indexOf(e);case"contains":return-1!==e.indexOf(t);case"!contains":return-1===e.indexOf(t);case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;default:return e===t}},this.check=function(t,a){const r="or"===t.relation;let n=!r;return t.fields.map((function(t){let i;return i=t.fields?e.check(t,a):e.compare(a[t.name],t.value,t.operator),r?(i&&(n=!0),!i):i?"":n=!1})),n},this.isActiveControl=function(t,a){const r=!!t?.conditions&&t?.conditions;return!(r&&!e.check(r,a))}},aj=function(){const[{page_settings:t,current_ob:a}]=zl();if(null===t||"undefined"===t)return(0,e.createElement)($D,null);const r=t?.settings["multiple-order-bump-design"];return(0,e.createElement)("div",{className:"wcf-order-bump-design-tab"},(0,e.createElement)("div",{className:"wcf-order-bump-design-tab__settings"},r&&Object.keys(r.fields).map((t=>{const n=r.fields[t];let i="";return"borders"===n.id&&(i="grid grid-cols-4 gap-x-4"),"shadow"===n.id&&(i="grid grid-cols-5 gap-x-2"),n.section_fields?(0,e.createElement)("div",{key:t,className:`wcf-order-bump-design-tab--${n.id}-section ${i} p-5 border border-gray-200 rounded-md mb-5`},(0,e.createElement)("div",{className:"wcf-order-bump-deign-tab--heading-section col-span-full"},(0,e.createElement)(ch,{label:n.title,labelClass:"block text-base font-semibold text-gray-800 mb-5"})),Object.keys(n.section_fields).map((t=>{const r=n.section_fields[t],i=a[r.name],s=tj.isActiveControl(r,a);return(0,e.createElement)(Nh,{key:t,data:r,value:i,isActive:s,field:t,displayAs:"div",tabName:"ob-design"})}))):(0,e.createElement)("div",{key:t,className:"wcf-order-bump-design-tab--section mb-5"},(0,e.createElement)(Nh,{key:n.name,data:n,value:a[n.name],isActive:tj.isActiveControl(n,a),field:n.name,displayAs:"div",tabName:"ob-design"}))}))))};function rj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125H3.375Z"}))}const nj=t.forwardRef(rj),ij=function(){const[{page_settings:a,current_ob:r},n]=zl(),[i,s]=(0,t.useState)(r?.product[0]?r?.product[0]:""),[o,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)(),d=(0,z.__)("Add","cartflows"),[m,g]=(0,t.useState)({isInProcessing:!1,buttonText:d}),{isInProcessing:p,buttonText:f}=m,M=a?.settings["multiple-order-bump-product"],h=[{value:"",label:"Original",icon:(0,e.createElement)(Sl,{className:"w-5 h-5"})},{value:"discount_percent",label:"Percentage",icon:(0,e.createElement)(Cl,{className:"w-5 h-5"})},{value:"discount_price",label:"Price",icon:(0,e.createElement)(Ul,{className:"w-5 h-5"})},{value:"coupon",label:"Coupon",icon:(0,e.createElement)(nj,{className:"w-5 h-5"})}];return""!==i&&function(){const e=r.discount_type,t=parseFloat(r.discount_value),a=parseFloat(i.original_price);let n=0;"discount_percent"===e?t>0&&(n=a-a*t/100):"discount_price"===e&&t>0&&(n=a-t),i.sell_price=n.toFixed(2)}(),(0,t.useEffect)((()=>{const e=r?.product?.[0];s(e||""),l(!(e&&!e?.is_deleted))}),[r]),null===a||"undefined"===a?(0,e.createElement)(qD,null):(0,e.createElement)("div",{className:"wcf-order-bump-product-tab"},""===i&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"border border-gray-200 bg-gray-25 text-center text-sm font-normal rounded-md p-5"},(0,z.__)("Once you have add product, it will be displayed here.","cartflows")),(0,e.createElement)("input",{type:"hidden",name:"product"}),(0,e.createElement)("div",{className:"wcf-ob-product-selection-field__add-new flex justify-between gap-5 mt-5"},(0,e.createElement)(dh,{name:"",desc:"",field:"product",value:"",allowed_products:"",include_products:"braintree-subscription, braintree-variable-subscription",excluded_products:"grouped",placeholder:(0,z.__)("Search for a Product","cartflows"),onChangeCB:u}),(0,e.createElement)("div",{className:"wcf-select-product-button inline-flex"},(0,e.createElement)("button",{type:"button",className:xr()("wcf-button",p?"wcf-disabled":"wcf-secondary-button"),onClick:function(e){e.preventDefault();const t=c?.value;"active"===cartflows_admin.woocommerce_status&&t&&(g({isInProcessing:!0,buttonText:(0,z.__)("Adding…","cartflows")}),A()({path:`/cartflows-pro/v1/admin/ob-product-data/${t}`}).then((e=>{n({type:"ADD_OB_PRODUCT",product:e}),g({isInProcessing:!1,buttonText:d})})),u())}},!p&&(0,e.createElement)(Tr,{className:"w-4 h-4 stroke-2","aria-hidden":"true"}),p&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin","aria-hidden":"true"}),f)))),""!==i&&(0,e.createElement)(e.Fragment,null,o&&(0,e.createElement)("div",{className:"border border-primary-500 bg-primary-25 text-center text-primary-500 text-xs font-normal rounded-md p-5 mb-5"},(0,z.__)("The product previously added as an Order Bump has been deleted. Please add a new product.","cartflows")),(0,e.createElement)("div",{className:"wcf-ob-product-selection--selected-product flex items-center gap-3 p-3 border border-gray-200 rounded-md"},(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-title whitespace-nowrap text-sm font-medium text-gray-900 w-2/4"},(0,e.createElement)("div",{className:"flex gap-3 items-center"},(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-image w-20 h-20"},(0,e.createElement)("img",{src:i.product_image?i.product_image:cartflows_admin.image_placeholder,className:"wcf-ob-product-image rounded-md w-full h-full aspect-{3/2} object-contain",alt:i.label})),(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-title_text"},(0,e.createElement)("div",{className:"wcf-ob-product-repeater-field__title whitespace-normal text-left","data-product_id":i.value},Nr(String(i?.label))),(0,e.createElement)("input",{type:"hidden",name:"product",value:i.value?i.value:""}),(0,e.createElement)("div",{className:"wcf-ob-product-repeater-field__reg-price mt-1 "},(0,e.createElement)("div",{className:"flex gap-2"},(0,e.createElement)("span",{className:`wcf-ob-product--reg-price ${0<r.discount_value?"line-through text-gray-400":""} `},cartflows_admin.woo_currency+i.original_price),0<r.discount_value&&(0,e.createElement)("span",{className:"wcf-ob-product--sale-price"},cartflows_admin.woo_currency+i.sell_price))),"coupon"===r.discount_type&&(0,e.createElement)("span",{className:"coupon-message text-xs mt-0.5 text-gray-500"},(0,z.__)("Coupon will apply on checkout page","cartflows"))))),(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-discount__wrapper flex items-center gap-3 justify-start w-[45%]"},(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-qty whitespace-nowrap text-sm text-gray-500"},(0,e.createElement)(ug,{id:"",name:"quantity",class:"!w-16 !h-11 input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 "+("no"===r.display_quantity_field?"disabled":""),value:r.quantity,min:"1",readonly:"no"===r.display_quantity_field})),(0,e.createElement)("div",{className:"wcf-ob-product-selection--product-discount flex whitespace-nowrap text-sm text-gray-500"},(0,e.createElement)(ty,{name:"discount_type",value:r.discount_type,class:"!block !w-16 !m-0",options:h}),"coupon"!==r.discount_type?(0,e.createElement)(ug,{id:"",class:"input-field !w-16 !min-h-[44px] !text-sm font-normal !rounded-tr-md !rounded-tb-md !rounded-tl-none text-gray-400 !border !border-l-0 !border-gray-200 focus:!ring-0 focus:!ring-transparent focus:!shadow-none !outline-0 !outline-none !m-0",name:"discount_value",value:""===r.discount_type?"":r.discount_value,readonly:""===r.discount_type?"readonly":"",placeholder:""===r.discount_type?"":"0",min:"1",step:"any"}):(0,e.createElement)(mh,{wrapperClass:"w-[200px] bg-white",fieldClass:"!border-l-0 !rounded-r-md !rounded-l-none",name:"discount_coupon",placeholder:(0,z.__)("Search for a coupon","cartflows"),multiple:!1,allow_clear:!0,value:""===r.discount_type?"":r.discount_coupon}))),(0,e.createElement)("div",{className:"wcf-product-selection-actions whitespace-nowrap text-right text-sm font-medium w-[5%]"},(0,e.createElement)("div",{className:"wcf-delete-product-item p-2 text-gray-400 hover:text-primary-500 cursor-pointer flex justify-center items-center",onClick:function(){n({type:"REMOVE_OB_PRODUCT",product:""}),s("")}},(0,e.createElement)(Bl,{className:"h-18 w-18"})))),(0,e.createElement)("div",{className:"flex mt-5"},(0,e.createElement)("table",{className:"w-full"},(0,e.createElement)("tbody",null,M&&M.fields&&Object.keys(M.fields).map((t=>{const a=M.fields[t],n=a.name,i=r[n],s=tj.isActiveControl(a,r);return(0,e.createElement)(Nh,{key:t,data:a,value:i,isActive:s,field:t})})))))))},sj=function(){const[{page_settings:t,current_ob:a}]=zl();if(null===t||"undefined"===t)return(0,e.createElement)($D,null);const r=t?.settings["multiple-order-bump-content"];return(0,e.createElement)("div",{className:"wcf-order-bump-content-tab"},(0,e.createElement)("div",{className:"wcf-order-bump-content-tab__settings"},Object.keys(r.fields).map((t=>{const n=r.fields[t],i=a[n.name],s=tj.isActiveControl(n,a);return(0,e.createElement)(Nh,{key:t,data:n,value:i,isActive:s,field:t,options:a,displayAs:"div",tabName:"order-bump-content"})}))))},oj=function({rules:t,group_id:a,g_index:r,groups_length:n}){const[{page_settings:i},s]=zl(),o=i?.settings["multiple-order-bump-rules"],l=o.conditions,c=e=>{const t=e.target.getAttribute("rule_id");a&&t&&s({type:"REMOVE_OB_RULE",name:"rules",rule_id:t,group_id:a})};return(0,e.createElement)(e.Fragment,null,t.map(((i,u)=>{const d=i?.rule_id,m=t[u],g=o.field_data[m.condition];return(0,e.createElement)(e.Fragment,null,0!==u&&(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group_rules__condition-label"},(0,e.createElement)("div",{className:"wcf--condition-label__and_group relative"},(0,e.createElement)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true"},(0,e.createElement)("div",{className:"w-full border-t border-gray-300 border-dashed"})),(0,e.createElement)("div",{className:"relative flex justify-center"},(0,e.createElement)("span",{className:"wcf--condition-label__and_group__text bg-gray-50 px-2 text-xs text-gray-400"},(0,z.__)("AND","cartflows"))))),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group_rules flex gap-3 items-center","data-rule-id":d,key:d},(0,e.createElement)("input",{type:"hidden",name:`rules[${r}][rules][${u}][rule_id]`,value:d}),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--rule_fields grid gap-3 items-center w-full \n\t\t\t\t\t\t\t\t\t"+(g?.fields?.some((e=>"product"===e.type))?"grid-cols-2":"grid-cols-3")},(0,e.createElement)(jr,{name:`rules[${r}][rules][${u}][condition]`,wrapperClass:"block",options:l,onSelect:()=>{s({type:"RESET_OB_RULE_VALUE",name:"rules",group_id:a,rule_id:d})},value:m.condition}),(0,e.createElement)(jr,{name:`rules[${r}][rules][${u}][operator]`,wrapperClass:"block",options:g.operator,value:Nr(m.operator)}),function(t,a,n){const i=n.value;let s="";const o=`rules[${r}][rules][${a}][value]`;return t.map((t=>{switch(t.type){case"select2":s=(0,e.createElement)(El,{name:`${o}[]`,value:i,placeholder:t.placeholder,tooltip:t.tooltip,options:t.options,isMulti:t.isMulti,isSearchable:t?.enable_search});break;case"number":s=(0,e.createElement)(ug,{name:o,value:i,min:0,placeholder:t.placeholder,tooltip:t.tooltip});break;case"coupon":s="exist"===n.operator||"not_exist"===n.operator?(0,e.createElement)(jr,{name:o,options:[{label:"in parent order",value:"parent_order"}]}):(0,e.createElement)(mh,{name:o,placeholder:t.placeholder,tooltip:t.tooltip,value:i,isMulti:t.isMulti});break;case"product":s=(0,e.createElement)(dh,{name:o,placeholder:t.placeholder,tooltip:t.tooltip,value:i,isMulti:t.isMulti,sectionClass:"col-span-full",showLabelOnly:!0})}return s}))}(g.fields,u,m)),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--rule_actions"},function(t,r){return 1===t&&1===n?"":(0,e.createElement)(Bl,{className:"w-5 h-6 stroke-2 p-0.5 text-gray-400 cursor-pointer hover:text-primary-700 focus:text-primary-700",onClick:c,group_id:a,rule_id:r})}(t.length,d))))})))},lj=function(){const[{options:a,current_ob:r},n]=zl(),[i,s]=(0,t.useState)({ruleGroupId:"",isOpen:!1}),{ruleGroupId:o,isOpen:l}=i;if(null===a||"undefined"===r)return(0,e.createElement)(ej,null);const c=r.rules;if(void 0===c)return(0,e.createElement)(lh,{content:(0,z.__)("Please Update the CartFlows Pro to the latest version to use the conditional order bump feature.","cartflows")});const u=()=>{const e={group_id:Math.random().toString(36).substring(2,5),rules:[{rule_id:Math.random().toString(36).substring(2,5),condition:"cart_item",operator:"",value:""}]};n({type:"ADD_NEW_OB_GROUP",name:"rules",newGroup:e})},d=e=>{const t=e.target.getAttribute("data-group_id"),a={rule_id:Math.random().toString(36).substring(2,5),condition:"cart_item",operator:"",value:""};n({type:"ADD_NEW_OB_RULE",name:"rules",newRule:a,group_id:t})},m=function(e){const t=e.target.getAttribute("data-group_id");s({ruleGroupId:t,isOpen:o!==t||!l})};return(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page"},(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page--enable_option"},(0,e.createElement)(bh,{name:"is_rule",value:r.is_rule,label:(0,z.__)("Enable conditional order bump ","cartflows"),tooltip:(0,z.__)("By enabling this option, you can create the conditions to display the order bump.","cartflows")})),"yes"===r.is_rule&&c&&(0,e.createElement)("div",{className:"mt-8"},(0,e.createElement)(Ll.ReactSortable,{id:"wcf-order-bump-sortable-wrapper",className:"wcf-order-bump--sortable-wrapper flex flex-col gap-4",list:c,setList:e=>n({type:"SET_OB_RULES_GROUPS",groups:e,fieldName:"rules"}),swapThreshold:.8,direction:"vertical",animation:150,handle:".wcf-order-bumps-rules-page--group_wrapper",filter:".wcf-order-bumps-rules--rule_fields, .wcf-order-bumps-rules--rule_actions, .wcf-field wcf-select-option, .wcf-order-bumps-rules--add-rule__repeater .wcf-button.wcf-button--secondary, .wcf-field__data--content, .wcf-order-bumps-rules-page--group_wrapper__footer, .wcf-checkout-rules--group_header__right",preventOnFilter:!1,onStart:function(){document.getElementsByClassName("wcf-order-bumps-rules--or_group__button")[0].setAttribute("style","display:none")},onEnd:function(){document.getElementsByClassName("wcf-order-bumps-rules--or_group__button")[0].setAttribute("style","display:inline-block")}},c.map(((t,a)=>{const r=t.group_id,n=t.rules;return(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page--group_wrapper",key:r},(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group border border-gray-200 rounded-lg mb-6","data-group-id":r},(0,e.createElement)("input",{type:"hidden",name:`rules[${a}][group_id]`,value:r}),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group-header bg-white p-4 rounded-lg flex items-center justify-between"},(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group_header__left flex gap-2 items-center"},(0,e.createElement)("div",{className:"wcf-order-bumps-rule--sortable-toggle flex cursor-move text-gray-500"},(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1 -ml-2","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1 -ml-4","aria-hidden":"true"})),(0,e.createElement)("span",{className:"wcf-group-header--text font-sm font-normal text-gray-400"},(0,z.__)("Show this order bump if following conditions are true","cartflows"))),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group_header__right flex gap-2 items-center"},o===r&&l?(0,e.createElement)(Gy,{className:"w-4 h-4 stroke-1 text-gray-400 hover:text-gray-500 cursor-pointer","aria-hidden":"true",onClick:m,"data-group_id":r}):(0,e.createElement)(Jy,{className:"w-4 h-4 stroke-1 text-gray-400 hover:text-gray-500 cursor-pointer","aria-hidden":"true",onClick:m,"data-group_id":r}))),(0,e.createElement)("div",{id:`wcf-order-bumps-rules--group-${r}`,className:"pt-7 px-7 pb-4 border-t border-gray-200 "+(o===r&&l?"visible":"hidden")},(0,e.createElement)("div",{className:"wcf-order-bumps-rules--group_rules--wrapper flex flex-col gap-4"},0!==n.length&&(0,e.createElement)(oj,{rules:n,group_id:r,g_index:a,groups_length:c.length})),(0,e.createElement)("div",{className:"wcf-order-bumps-rules--add-rule__repeater flex"},(0,e.createElement)("div",{className:"wcf-order-bumps-rules--add-rule__button text-sm font-medium flex gap-1.5 items-center cursor-pointer text-primary-500 hover:text-primary-600 focus:text-primary-600 mt-5","data-group_id":r,onClick:d},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Add Condition","cartflows"))))),(0,e.createElement)("div",{className:"wcf-order-bumps-rules-page--group_wrapper__footer"},(0,e.createElement)("div",{className:"wcf-order-bumps-rules--or_group relative"},(0,e.createElement)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true"},(0,e.createElement)("div",{className:"w-full border-t border-gray-300 border-dashed"})),(0,e.createElement)("div",{className:"relative flex justify-center"},(0,e.createElement)("span",{className:"wcf-order-bumps-rules--or_group__text bg-gray-50 px-2 text-xs text-gray-400"},(0,z.__)("OR","cartflows")))),parseInt(a)+1===c.length&&(0,e.createElement)("div",{className:"wcf-order-bumps-rules--or_group__button mt-4"},(0,e.createElement)("span",{className:"wcf-order-bumps-rules--or_group_button or-button wcf-button wcf-secondary-button",onClick:u},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Add Conditions Group","cartflows")))))})))))},cj=function(){const[{current_ob:a}]=zl(),[r,n]=(0,t.useState)(!1),i=()=>{n(!0)},s=()=>{n(!1)},o=a,l=e=>{let t=o?.product;return e&&t&&(Array.isArray(t)&&(t=o?.product[0]),e=(e=(e=(e=e.replace("{{product_name}}",t?.product_name)).replace("{{product_price}}",t?.display_price?t?.display_price:t?.original_price)).replace("{{product_desc}}",t?.product_desc)).replace("{{quantity}}",o?.quantity)),e},c=o?.position,u=Nr(l(o?.checkbox_label)||""),d=Nr(l(o?.hl_text)||""),m=Nr(l(o?.desc_text)||""),g=o?.show_arrow,p=o?.style,f=Nr(l(o?.title_text)||""),M=o?.action_element,h=o?.show_animation,y=o?.enable_show_image,N=o?.display_quantity_field,w="yes"===h?"wcf-blink":"",x=(0,e.createElement)("svg",{version:"1.1",className:`wcf-pointing-arrow ${w}`,id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20px",height:"15px",fill:"red",viewBox:"310 253 90 70",enableBackground:"new 310 253 90 70"},(0,e.createElement)("g",null,(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M364.348,253.174c-0.623,0.26-1.029,0.867-1.029,1.54v18.257h-51.653c-0.919,0-1.666,0.747-1.666,1.666v26.658c0,0.92,0.747,1.666,1.666,1.666h51.653v18.327c0,0.673,0.406,1.28,1.026,1.54c0.623,0.257,1.34,0.116,1.816-0.36l33.349-33.238 c0.313-0.313,0.49-0.737,0.49-1.18c0-0.443-0.177-0.866-0.487-1.179l-33.349-33.335 C365.688,253.058,364.971,252.915,364.348,253.174z"})))),b=o?.bg_color,D=o?.border_style,j=o?.border_color,v=o?.box_border_width,_=o?.box_border_radius,I=o?.box_shadow_color,E=""!==o?.box_shadow_horizontal?o?.box_shadow_horizontal:0,L=""!==o?.box_shadow_vertical?o?.box_shadow_vertical:0,T=""!==o?.box_shadow_blur?o?.box_shadow_blur:0,A=""!==o?.box_shadow_spread?o?.box_shadow_spread:0,k=o?.label_color?o?.label_color:"#7a7a7a",S=o?.label_bg_color,O=o?.desc_text_color,C=o?.hl_text_color,Y=o?.button_text_color,U=o?.button_text_hover_color,Q=o?.button_color,P=o?.button_border_width,F=o?.button_border_style,R=o?.button_border_color,H=o?.button_border_radius,B=o?.button_hover_color,W=o?.title_text_color,V=o?.label_border_style,Z=o?.label_border_width,G=o?.label_border_radius,X=o?.label_border_color,J={background:b,borderStyle:D,borderColor:j,borderRadius:""!==_?_+"px":"4px",borderWidth:""!==v?v+"px":"1px",boxShadow:E+"px "+L+"px "+T+"px "+A+"px "+I};let q={},$={},K={};"style-1"===p?(q={borderColor:j,borderBottomStyle:"inherit"!==D?D:"solid",background:S,borderWidth:v+"px"},J.borderStyle="inherit"!==D?D:"solid"):"style-2"===p?(q={borderColor:j,borderTopStyle:"inherit"!==D?D:"solid",background:S,borderWidth:v+"px"},J.borderStyle="inherit"!==D?D:"solid"):"style-3"===p?J.borderStyle="inherit"!==D?D:"solid":"style-4"===p?(J.borderStyle="inherit"!==D?D:"solid",K={color:r?U:Y,background:r?B:Q,borderWidth:""!==P?P+"px":"1px",borderStyle:"inherit"!==F?F:"none",borderColor:R,borderRadius:""!==H?H+"px":"3px"}):"style-5"===p&&(J.borderStyle="inherit"!==D?D:"",$={borderStyle:"inherit"!==V?V:"",borderWidth:Z+"px",borderRadius:G+"px",borderColor:X,background:S,padding:S?"5px 10px":"5px 0"},K={color:r?U:Y,background:r?B:Q,borderWidth:""!==P?P+"px":"1px",borderStyle:"inherit"!==F?F:"solid",borderColor:R,borderRadius:""!==H?H+"px":"3px"});let ee="",te="left",ae="auto";"yes"===y&&(ee=o?.product_image,te=o?.ob_image_position,ae=""!==o?.ob_image_width?o?.ob_image_width+"px":"auto"),(0,t.useEffect)((()=>{const e=document.getElementById("wcf-order-bump-preview-wrapper"),t=e.offsetTop-25,a=window.addEventListener("scroll",(()=>{window.pageYOffset>t?e.classList.add("sticky"):e.classList.remove("sticky")}));return()=>{window.removeEventListener("scroll",a)}}),[]);const re=function(){let t="";return"yes"===N&&(t=(0,e.createElement)("div",{className:"wcf-ob-qty-selection-wrap"},(0,e.createElement)("span",{className:"wcf-ob-qty-selection-btn wcf-ob-qty-decrement wcf-ob-qty-change-icon"},"-"),(0,e.createElement)("input",{type:"number",className:"wcf-order-bump-quantity-updater",name:"wcf_order_bump_quantity",placeholder:"1",defaultValue:o?.quantity,min:"1"}),(0,e.createElement)("span",{className:"wcf-ob-qty-selection-btn wcf-ob-qty-increment wcf-ob-qty-change-icon"},"+"))),t};return(0,e.createElement)("div",{id:"wcf-order-bump-preview-wrapper",className:"wcf-order-bump-preview-wrapper"},(0,e.createElement)("div",{className:`wcf-bump-order-wrap wcf-bump-order-${p} wcf-${c}`,style:J},function(){let t="";return"style-1"===p?t=(0,e.createElement)("div",{className:`wcf-bump-order-content wcf-bump-order-image-${te} `},(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap",style:q},"right"!==te&&(0,e.createElement)("label",{style:{color:k}},"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),(0,e.createElement)("span",{className:"wcf-bump-order-label"},u)),"right"===te&&(0,e.createElement)("label",{style:{color:k}},(0,e.createElement)("span",{className:"wcf-bump-order-label"},u),(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),"yes"===g&&x)),(0,e.createElement)("div",{className:"wcf-content-container"},""!==ee&&"right"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-left",style:{width:"auto"!==ae?ae:""}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")})),(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-right"},(0,e.createElement)("div",{className:"wcf-bump-order-offer"},(0,e.createElement)("span",{className:"wcf-bump-order-bump-highlight",style:{color:C}},d)),(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re()),""!==ee&&"right"===te&&(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-left",style:{width:"auto"!==ae?ae:""}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")})))):"style-2"===p?t=(0,e.createElement)("div",{className:`wcf-bump-order-content wcf-bump-order-image-${te} `},(0,e.createElement)("div",{className:"wcf-bump-order-offer"},(0,e.createElement)("span",{className:"wcf-bump-order-bump-highlight",style:{color:C}},d)),(0,e.createElement)("div",{className:"wcf-content-container"},""!==ee&&"right"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-left",style:{width:"auto"===ae?"":ae}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")})),(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-right"},(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re()),""!==ee&&"right"===te&&(0,e.createElement)("div",{className:"wcf-bump-order-offer-content-left",style:{width:"auto"===ae?"":ae}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")}))),(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap",style:q},"right"!==te&&(0,e.createElement)("label",{style:{color:k}},"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),(0,e.createElement)("span",{className:"wcf-bump-order-label"},u)),"right"===te&&(0,e.createElement)("label",{style:{color:k}},(0,e.createElement)("span",{className:"wcf-bump-order-label"},u),(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),"yes"===g&&x))):"style-3"===p?t=(0,e.createElement)("div",{className:`wcf-bump-order-content wcf-bump-order-image-${te} `},"right"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap"},""!==ee&&"top"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-action"},"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""})),""!==ee&&(0,e.createElement)("div",{className:"wcf-bump-order-image",style:{maxWidth:"auto"!==ae?ae:""}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")})),(0,e.createElement)("div",{className:"wcf-bump-order-text"},(0,e.createElement)("div",{className:"wcf-bump-order-label"},""===ee&&(0,e.createElement)(e.Fragment,null,"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""})),""!==ee&&"top"===te&&(0,e.createElement)(e.Fragment,null,"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""})),(0,e.createElement)("label",{style:{color:W}},f)),(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re())),"right"===te&&(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap"},(0,e.createElement)("div",{className:"wcf-bump-order-text"},(0,e.createElement)("div",{className:"wcf-bump-order-label"},(0,e.createElement)("label",{style:{color:W}},f),""===ee&&(0,e.createElement)(e.Fragment,null,"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}))),(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re()),""!==ee&&(0,e.createElement)("div",{className:"wcf-bump-order-image",style:{maxWidth:"auto"!==ae?ae:""}},(0,e.createElement)("img",{src:ee,className:"wcf-image",alt:(0,z.__)("Order Bump Product Image","cartflows")})),""!==ee&&(0,e.createElement)("div",{className:"wcf-bump-order-action"},(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),"yes"===g&&x))):"style-4"===p?t=(0,e.createElement)("div",{className:`wcf-bump-order-content wcf-bump-order-image-${te} `},(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap"},""!==ee&&"right"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-image"},(0,e.createElement)("img",{src:ee,className:"wcf-image",style:{width:"auto"===ae?"100px":ae},alt:(0,z.__)("Order Bump Product Image","cartflows")})),"right"!==te&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-bump-order-text"},(0,e.createElement)("div",{className:"wcf-bump-order-info"},(0,e.createElement)("div",{className:"wcf-bump-order-label"},(0,e.createElement)("label",{style:{color:W}},f)),(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re())),(0,e.createElement)("div",{className:"wcf-bump-order-action"},(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),(0,e.createElement)("a",{className:"wcf-bump-order-cb-button wcf-bump-add-to-cart",style:K,onMouseEnter:i,onMouseLeave:s},(0,z.__)("Add","cartflows")))),"right"===te&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-bump-order-action"},(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),(0,e.createElement)("a",{className:"wcf-bump-order-cb-button wcf-bump-add-to-cart",style:K,onMouseEnter:i,onMouseLeave:s},(0,z.__)("Add","cartflows"))),(0,e.createElement)("div",{className:"wcf-bump-order-text"},(0,e.createElement)("div",{className:"wcf-bump-order-info"},(0,e.createElement)("div",{className:"wcf-bump-order-label"},(0,e.createElement)("label",{style:{color:W}},f)),(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re()))),""!==ee&&"right"===te&&(0,e.createElement)("div",{className:"wcf-bump-order-image"},(0,e.createElement)("img",{src:ee,className:"wcf-image",style:{width:"auto"===ae?"100px":ae},alt:(0,z.__)("Order Bump Product Image","cartflows")})))):"style-5"===p&&(t=(0,e.createElement)("div",{className:"wcf-bump-order-content"},(0,e.createElement)("div",{className:"wcf-bump-order-field-wrap"},(0,e.createElement)("div",{className:`wcf-bump-order-info wcf-bump-order-image-${te} `},""!==ee&&"right"!==te&&(0,e.createElement)("div",{className:"wcf-bump-order-image"},(0,e.createElement)("img",{src:ee,className:"wcf-image",style:{width:ae},alt:(0,z.__)("Order Bump Product Image","cartflows")})),(0,e.createElement)("div",{className:"wcf-bump-order-text"},""!==f&&(0,e.createElement)("div",{className:"wcf-bump-order-label",style:{color:W}},(0,e.createElement)("span",null,f)),""!==m&&(0,e.createElement)("div",{className:"wcf-bump-order-desc",style:{color:O}},m),re(),"checkbox"===M&&(0,e.createElement)("div",{className:"wcf-bump-order-action",style:$},"yes"===g&&x,(0,e.createElement)("input",{type:"checkbox",id:"wcf-bump-order-cb",className:"wcf-bump-order-cb",name:"wcf-bump-order-cb",value:""}),(0,e.createElement)("label",{style:{color:k}},u)),"button"===M&&(0,e.createElement)("div",{className:"wcf-bump-order-action wcf-ob-action-button"},(0,e.createElement)("a",{className:"wcf-bump-order-cb-button wcf-bump-add-to-cart",style:K,onMouseEnter:i,onMouseLeave:s},(0,z.__)("Add","cartflows")))),""!==ee&&"right"===te&&(0,e.createElement)("div",{className:"wcf-bump-order-image"},(0,e.createElement)("img",{src:ee,className:"wcf-image",style:{width:ae},alt:(0,z.__)("Order Bump Product Image","cartflows")})))))),t}()))};function uj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const dj=t.forwardRef(uj);function mj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const gj=t.forwardRef(mj),pj=()=>{const[{flow_id:e,step_id:a,current_ob:r},n]=zl(),[,i]=g();return{saveOrderBump:(0,t.useCallback)((()=>{i({status:"PROCESSING"});const t=document.querySelector(".wcf-slide-out-panel--form");if(!t)return i({status:"RESET"}),Promise.resolve(!1);if(null===r)return i({status:"SAVED"}),Promise.resolve(!0);const s=new window.FormData(t),o=r.id;return s.append("action","cartflows_pro_save_order_bump_settings"),s.append("security",cartflows_admin.save_order_bump_settings_nonce),s.append("post_id",e),s.append("step_id",a),s.append("ob_id",o),A()({url:cartflows_admin.ajax_url,method:"POST",body:s}).then((e=>{if(e.data&&e.data.success){const e=new window.FormData;return e.append("action","cartflows_pro_get_current_order_bump"),e.append("security",cartflows_admin.get_current_order_bump_nonce),e.append("ob_id",o),e.append("step_id",a),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>(e.data&&e.data.success&&e.data.current_ob&&n({type:"SET_CURRENT_OB",current_ob:e.data.current_ob,ob_id:o}),i({status:"SAVED"}),window.wcfUnsavedChanges=!1,!0)))}return i({status:"RESET"}),!1})).catch((e=>(console.error(e),i({status:"RESET"}),!1)))}),[e,a,r,n,i])}},fj=function(a){const[{step_id:r,options:n,current_ob:i},s]=zl(),[o,l]=(0,t.useState)("product"),c=new URLSearchParams((0,f.useLocation)().search),u=a.ob_id,d=c.get("obtab"),m=jx(),{saveOrderBump:g}=pj();!function(){const[{current_ob:e},a]=zl(),r=function(t){const{name:r,value:n}=t.detail;if(r.includes("[")){const t=r.split("["),i=[];for(let e=1;e<t.length;e++)i.push(t[e].split("]")[0]);const s=r.substr(0,r.indexOf("[")),o=e[s];switch(i.length){case 2:o[i[0]][i[1]]=n;break;case 4:o[i[0]][i[1]][i[2]][i[3]]=n}a({type:"SET_OB_OPTION",name:s,value:o})}void 0!==e&&(window.wcfUnsavedChanges=!0,a({type:"SET_OB_OPTION",name:r,value:n}))},n=[{type:"select"},{type:"select2"},{type:"checkbox"},{type:"text"},{type:"textarea"},{type:"number"},{type:"radio"},{type:"color"},{type:"font"},{type:"product"},{type:"coupon"},{type:"image-selector"},{type:"wpeditor"},{type:"toggle"},{type:"selectioncard"}];(0,t.useEffect)((()=>(e&&n.map((function(e){return document.addEventListener(`wcf:${e.type}:change`,r),""})),()=>{n.map((function(e){return document.removeEventListener(`wcf:${e.type}:change`,r),""}))})),[e])}();const p=[{name:(0,z.__)("Product","cartflows"),slug:"product",icon:(0,e.createElement)(AD,{className:"w-18 h-18 stroke-2"})},{name:(0,z.__)("Content","cartflows"),slug:"content",icon:(0,e.createElement)(dj,{className:"w-18 h-18 stroke-2"})},{name:(0,z.__)("Styles","cartflows"),slug:"styles",icon:(0,e.createElement)(YD,{className:"w-18 h-18 stroke-2"})},{name:(0,z.__)("Conditions","cartflows"),slug:"conditions",icon:(0,e.createElement)(gj,{className:"w-18 h-18 stroke-2"})}];if((0,t.useEffect)((()=>((async()=>{!function(){const e=new window.FormData;e.append("action","cartflows_pro_get_current_order_bump"),e.append("security",cartflows_admin.get_current_order_bump_nonce),e.append("ob_id",u),e.append("step_id",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.data.success&&s({type:"SET_CURRENT_OB",current_ob:e.data.current_ob,ob_id:u})}))}(),null!==n&&"undefined"!==n||A()({path:`/cartflows/v1/admin/step-data/${r}`}).then((e=>{if(e.billing_fields){const t=Object.entries(e.billing_fields.fields).map((([e,t])=>({...t,key:e})));e.billing_fields=t}if(e.shipping_fields){const t=Object.entries(e.shipping_fields.fields).map((([e,t])=>({...t,key:e})));e.shipping_fields=t}s({type:"SET_STEP_DATA",data:e})}))})(),()=>{})),[]),null===i||"undefined"===i){let t="";switch(d){case"design":case"content":t=(0,e.createElement)($D,null);break;case"product":default:t=(0,e.createElement)(qD,null);break;case"settings":t=(0,e.createElement)(KD,null);break;case"conditions":t=(0,e.createElement)(ej,null)}return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-page-wrapper wcf-order-bump-page-wrapper"},t))}if(i&&u!==i.id)return"";return(0,e.createElement)("div",{className:"wcf-order-bump-page-wrapper p-6 bg-gray-50 rounded-b-lg"},(0,e.createElement)("div",{className:"wcf-order-bump-content-tab__preview"},(0,e.createElement)(cj,null)),(0,e.createElement)("div",{className:"wcf-order-bump--tabs-wrapper border border-gray-200 isolate inline-flex rounded-md shadow-sm w-full mt-8 mb-8 gap-0.5"},p.map((t=>{const a=t.slug===o?"z-10 text-primary-600 bg-primary-25 outline-none ring-1 ring-primary-300 rounded-lg shadow shadow-primary-lg":"";return(0,e.createElement)("button",{type:"button",className:xr()("wcf-order-bump--tab flex justify-center gap-2 relative text-center w-1/3 items-center px-4 py-2 text-sm font-medium text-gray-400 hover:bg-primary-25 hover:ring-1 hover:ring-primary-300 hover:rounded-lg hover:text-primary-600",a),onClick:()=>{!async function(e){e!==o?(await async function(){return!!window.wcfUnsavedChanges&&await m({title:(0,z.__)("Save Changes","cartflows"),description:(0,z.__)("You have made changes. Do you want to save the changes?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows"),onConfirm:g})}()||l(e),window.wcfUnsavedChanges=!1):l(e)}(t.slug)},key:t.slug},t.icon?t.icon:"",(0,e.createElement)("span",{className:"text-center"},t.name))}))),function(){let t=(0,e.createElement)("h1",null,"404 Not Found");switch(o){case"styles":t=(0,e.createElement)(aj,null);break;case"product":default:t=(0,e.createElement)(ij,null);break;case"content":t=(0,e.createElement)(sj,null);break;case"conditions":t=(0,e.createElement)(lj,null)}return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",null,t))}())},Mj=function(a){const{flow_id:r,step_id:n,data:i,callback:s}=a,[{},o]=zl(),[l,c]=(0,t.useState)(i.status),[u,d]=(0,t.useState)(!1),[m,g]=(0,t.useState)(""),[p,f]=(0,t.useState)(!1),[M,h]=(0,t.useState)(!1),y=(0,t.createRef)(),[N,w]=(0,t.useState)(""),x=jx();(0,t.useEffect)((()=>{c(l)}),[l,N]);let b=i.title;const D=function(e){e.preventDefault(),f(!0)},j=function(e){e.preventDefault(),f(!1)},v=function(e){e.preventDefault(),h(!0);const t=e.target.getAttribute("data-ob_id"),a=y.current.value,r=new window.FormData;r.append("action","cartflows_pro_update_order_bump_title"),r.append("security",cartflows_admin.update_order_bump_title_nonce),r.append("step_id",n),r.append("new_title",a),r.append("ob_id",t),A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((()=>{o({type:"SET_OB_TITLE",title:a,name:"wcf-order-bumps",ob_id:t}),h(!1),f(!1)}))},_=function(e){event.preventDefault();const t=e.target.getAttribute("data-ob_id");w(!N&&t?t:"")};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-order-bump border-b border-gray-200 last:border-0",onDragEnd:s},(0,e.createElement)("div",{className:"wcf-order-bump__content-wrapper flex items-center relative p-6 text-sm gap-2"},(0,e.createElement)("div",{className:"wcf-order-bump__data wcf-column--product w-3/4"},(0,e.createElement)("div",{className:"wcf-order-bump__data-title flex items-center gap-2"},(0,e.createElement)("span",{className:"text-sm font-medium text-gray-800 flex gap-2 justify-center items-center"},function(){""===b&&(b=(0,z.__)("(no title)","cartflows"));let t=Mr(b,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length),a=(0,e.createElement)("a",{href:"#",className:"wcf-ob-header__title--edit flex p-1 cursor-pointer text-gray-500 hover:text-primary-500 hover:bg-gray-100 focus:bg-gray-100 relative wcf-inline-tooltip","data-tooltip":(0,z.__)("Edit Step Name","cartflows"),onClick:D},(0,e.createElement)(Yx,{className:"w-4 h-4 stroke-1"}));return p&&(t=(0,e.createElement)(cg,{attr:{ref:y},id:"new-step-title",value:b,autocomplete:"off",class:"new-step-title text-sm font-medium text-gray-800 !border-gray-200 !outline-none !shadow-none !px-3 !py-1"}),a=(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{className:"wcf-button--small wcf-button wcf-primary-button "+(M?"wcf-disabled":""),href:"#",onClick:v,"data-ob_id":i.id},M&&(0,e.createElement)(ay,null),(0,z.__)("Save","cartflows")),(0,e.createElement)("button",{className:"wcf-button--small wcf-button wcf-secondary-button",href:"#",onClick:j},(0,z.__)("Cancel","cartflows")))),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-ob-header__title--text"},t),(0,e.createElement)("span",{className:"wcf-ob-header__title--buttons flex gap-2"},a))}()),""===i.product&&(0,e.createElement)("span",{className:"wcf-badge wcf-badge--warning text-xs border-0"},(0,e.createElement)(kx,{className:"w-4 h-4 stroke-2"}),(0,z.__)("No product","cartflows")))),(0,e.createElement)("div",{className:"wcf_order_bump__status w-[12%] flex gap-2"},(0,e.createElement)("button",{type:"button",className:xr()("bg-gray-200 relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-600 focus:ring-offset-2",l?"bg-primary-600":"bg-gray-200"),role:"switch",onClick:function(e){d(!0);const t=e.target.getAttribute("data-ob_id"),a=new window.FormData;a.append("action","cartflows_pro_update_order_bump_status"),a.append("security",cartflows_admin.update_order_bump_status_nonce),a.append("ob_id",t),a.append("post_id",r),a.append("step_id",n),a.append("ob_status",!l),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((()=>{o({type:"SET_OB_STATUS",name:"wcf-order-bumps",newStatus:!l,ob_id:t}),c(!l),d(!1)}))},"data-wcf-order-bump-switch":l,"data-ob_id":i.id},(0,e.createElement)("span",{"aria-hidden":"true",className:xr()(l?"translate-x-5":"translate-x-0","translate-x-0 pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})),u&&(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 text-primary-500 animate-spin"})),(0,e.createElement)("div",{className:"wcf-order-bump__action wcf-column--actions flex justify-between w-[12%]"},(0,e.createElement)("span",{className:"wcf-clone-bump-button cursor-pointer text-gray-500 hover:text-primary-500 p-1 hover:bg-gray-100 focus:bg-gray-100 rounded relative wcf-inline-tooltip",id:i.id,onClick:e=>{e.preventDefault();const t=new window.FormData,a=e.target.closest(".wcf-clone-bump-button").getAttribute("id");g("clone"),t.append("action","cartflows_pro_clone_order_bump"),t.append("security",cartflows_admin.clone_order_bump_nonce),t.append("ob_id",a),t.append("step_id",n),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{e.success&&(o({type:"UPDATE_ORDER_BUMP",name:"wcf-order-bumps",order_bumps:e.data.order_bumps}),g(""))}))},"data-tooltip":(0,z.__)("Duplicate Order Bump","cartflows")},"clone"===m?(0,e.createElement)(zr,{className:"w-18 h-18 stroke-1 animate-spin"}):(0,e.createElement)(Fx,{className:"w-18 h-18 stroke-1"})),(0,e.createElement)("a",{className:"wcf-setting-bump-button cursor-pointer text-gray-500 p-1 hover:bg-primary-50 hover:text-primary-500 focus:bg-primary-50 rounded relative wcf-inline-tooltip "+(N===i.id?"bg-primary-50 text-primary-500":""),"data-ob_id":i.id,"data-tooltip":(0,z.__)("Edit Order Bump","cartflows"),onClick:_},(0,e.createElement)(gj,{className:"w-18 h-18 stroke-1","data-ob_id":i.id,onClick:_})),(0,e.createElement)("span",{className:"wcf-remove-order-bump-button cursor-pointer text-gray-500 hover:text-primary-500 p-1 hover:bg-gray-100 focus:bg-gray-100 rounded relative wcf-inline-tooltip after:-left-16",id:i.id,onClick:async function(e){if(e.preventDefault(),!await x({title:(0,z.__)("Trash Order Bump","cartflows"),description:(0,z.__)("Do you really want to trash this order bump permanently?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=e.target.closest(".wcf-remove-order-bump-button").getAttribute("id");g("delete");const a=new window.FormData;a.append("action","cartflows_pro_delete_order_bump"),a.append("security",cartflows_admin.delete_order_bump_nonce),a.append("ob_id",t),a.append("post_id",r),a.append("step_id",n),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((e=>{e.success&&(o({type:"REMOVE_ORDER_BUMP",name:"wcf-order-bumps",ob_id:t}),g(""))}))},"data-tooltip":(0,z.__)("Delete Order Bump","cartflows")},"delete"===m?(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 animate-spin"}):(0,e.createElement)(Bl,{className:"w-18 h-18 stroke-1"}))))),N&&(0,e.createElement)(fj,{ob_id:N}))},hj=function(){return(0,e.createElement)("div",{className:"wcf-multiple-order-bumps is-placeholder"},(0,e.createElement)("div",{className:"wcf-multiple-order-bumps__add-new"},(0,e.createElement)("span",{className:"wcf-add-new-order-bump wcf-button--primary"})),(0,e.createElement)("div",{className:"wcf-multiple-order-bumps__header"},(0,e.createElement)("div",{className:"wcf-column wcf-column--title"},"Title"),(0,e.createElement)("div",{className:"wcf-column wcf-column--status"},"Status"),(0,e.createElement)("div",{className:"wcf-column wcf-column--actions"},"Actions")),(0,e.createElement)("div",{className:"wcf-multiple-order-bumps__content"},(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-order-bump"},(0,e.createElement)("div",{className:"wcf-order-bump__content-wrapper"},(0,e.createElement)("div",{className:"wcf-order-bump__data wcf-column--product"},(0,e.createElement)("div",{className:"wcf-order-bump__data-title"},(0,e.createElement)("span",{title:"ob"}))),(0,e.createElement)("div",{className:"wcf_order_bump__status"},(0,e.createElement)("span",{className:"wcf-ob-status"})),(0,e.createElement)("div",{className:"wcf-order-bump__action wcf-column--actions"},(0,e.createElement)("span",{title:"Edit Order Bump"}))))),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-order-bump"},(0,e.createElement)("div",{className:"wcf-order-bump__content-wrapper"},(0,e.createElement)("div",{className:"wcf-order-bump__data wcf-column--product"},(0,e.createElement)("div",{className:"wcf-order-bump__data-title"},(0,e.createElement)("span",{title:"ob"}))),(0,e.createElement)("div",{className:"wcf_order_bump__status"},(0,e.createElement)("span",{className:"wcf-ob-status"})),(0,e.createElement)("div",{className:"wcf-order-bump__action wcf-column--actions"},(0,e.createElement)("span",{title:"Edit Order Bump"})))))))},yj=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-multiple-order-bumps wcf-multiple-order-bumps-cta"},(0,e.createElement)("span",{className:"wcf-accordion-button relative flex justify-between items-center w-full py-4 px-0 text-base font-semibold text-gray-800 text-left transition focus:outline-none"},(0,e.createElement)("span",{className:"flex gap-2 items-center"},(0,e.createElement)("span",null,(0,z.__)("Order Bumps","cartflows")),(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-auto rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows"))))),(0,e.createElement)(Dy,{heading:(0,z.__)("Increase Your Revenue with Smart Order Bumps","cartflows"),subHeading:(0,z.__)("Boost sales with CartFlows’ Order Bump! Offer personalized add-ons at checkout to increase revenue effortlessly. Quick to set up, no coding needed!","cartflows")})))},Nj=function(){const[{options:a,step_id:r,flow_id:n,page_settings:i},s]=zl(),[{license_status:o}]=g(),[l,c]=(0,t.useState)(),[u,d]=(0,t.useState)(""),m=(0,z.__)("Add","cartflows"),[p,f]=(0,t.useState)({button_text:m,is_processing:!1}),{button_text:M,is_processing:h}=p;if(!wcfCartflowsTypePlusPro()||"Activated"!==o)return(0,e.createElement)(yj,null);if(null===a||"undefined"===i)return(0,e.createElement)(hj,null);const y=i,N=a["wcf-order-bumps"],w=Object.keys(N).length,x=i?.settings["multiple-order-bump-design"],b=()=>{const e=a["wcf-order-bumps"],t=[];Object.keys(e).map((a=>(t.push(e[a].id),"")));const n=new window.FormData;n.append("action","cartflows_pro_reorder_order_bumps"),n.append("security",cartflows_admin.reorder_order_bumps_nonce),n.append("step_id",r),n.append("sorted_obs",t),A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((()=>{}))};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h2",{className:"text-base font-semibold text-gray-800 py-4"},(0,z.__)("Order Bumps","cartflows")),(0,e.createElement)("div",{className:"wcf-multiple-order-bumps--wrapper py-2"},w>0&&(0,e.createElement)("div",{className:"wcf-multiple-order-bumps -mx-4 mt-4 ring-1 ring-gray-200 sm:mx-0 sm:rounded-lg"},(0,e.createElement)("div",{className:"wcf-multiple-order-bumps__header flex items-center border-b border-gray-200 px-6 py-4 text-left text-sm font-medium text-gray-800"},(0,e.createElement)("span",{className:"wcf-column wcf-column--title w-3/4"},(0,z.__)("Title","cartflows")),(0,e.createElement)("span",{className:"wcf-column wcf-column--status w-[13%]"},(0,z.__)("Status","cartflows")),(0,e.createElement)("span",{className:"wcf-column wcf-column--actions w-[12%]"},(0,e.createElement)("span",{className:"sr-only"},(0,z.__)("Actions","cartflows")))),(0,e.createElement)("div",{className:"wcf-multiple-order-bumps__content"},N&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ll.ReactSortable,{list:N,setList:e=>s({type:"SET_OB",obs:e,fieldName:"wcf-order-bumps",step_id:r,flow_id:n}),swapThreshold:.8,direction:"vertical",animation:150,handle:".wcf-order-bump",filter:".wcf-order-bump__action, .wcf_order_bump__status, .wcf-order-bump__data-title a",preventOnFilter:!1},N.map((t=>(0,e.createElement)(Mj,{key:t.id,flow_id:n,step_id:r,data:t,title:t.title,settings:y.settings["multiple-order-bump"],design_settings:x,callback:b}))))))),0===w&&(0,e.createElement)("div",{className:"border border-gray-200 bg-gray-25 rounded-md px-5 py-7 text-sm text-gray-600 text-center"},(0,z.__)("Create an order bump.","cartflows")),(0,e.createElement)("div",{className:"flex wcf-multiple-order-bumps__add-new mt-5 gap-3"},(0,e.createElement)(vr,{name:"",value:l,sectionClass:"block text-left w-full",wrapperClass:"block",class:"!w-full !h-auto input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",placeholder:(0,z.__)("Enter order bump name","cartflows"),onChangeCB:c,desc:u,descClass:"absolute text-sm font-normal text-primary-500 mt-2"}),(0,e.createElement)("a",{className:"wcf-add-new-order-bump wcf-button "+(h?"wcf-disabled":"wcf-secondary-button"),onClick:function(e){if(e.preventDefault(),void 0!==l){d(""),f({button_text:(0,z.__)("Adding…","cartflows"),is_processing:!0});const t={title:l,id:Math.random().toString(36).substring(2,5)},a=new window.FormData;a.append("action","cartflows_pro_add_order_bump"),a.append("security",cartflows_admin.add_order_bump_nonce),a.append("ob_id",t.id),a.append("post_id",n),a.append("step_id",r),a.append("title",l),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((t=>{t.success&&(s({type:"UPDATE_ORDER_BUMP",name:"wcf-order-bumps",order_bumps:t.data.order_bumps}),c(""),f({button_text:m,is_processing:!1})),e.target.blur()}))}else d((0,z.__)("Please enter the order bump title","cartflows")),e.target.blur()}},h?(0,e.createElement)(ay,null):(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",null,M)))),(0,e.createElement)(lh,{content:(0,z.sprintf)(
// translators: %1$s: link html start, %2$s: link html end
// translators: %1$s: link html start, %2$s: link html end
(0,z.__)("For more information about order bump settings please %1$sClick here.%2$s","cartflows"),'<a href="https://cartflows.com/docs/how-to-add-order-bumps-to-woocommerce-sales-funnel" class="text-gray-600 hover:text-[#F06434]" target="_blank">',"</a>")}))},wj=function(){return(0,e.createElement)("div",{className:"wcf-checkout-offer-settings wcf-checkout__section is-placeholder"},(0,e.createElement)("div",{className:"wcf-list-options"},(0,e.createElement)("div",{className:"wcf-list-options__title"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"checkbox-title"})),(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"title"})))),(0,e.createElement)("div",{className:"wcf-order-bump-save-settings"},(0,e.createElement)("div",{className:"wcf-field wcf-submit"},(0,e.createElement)("div",{className:"wcf-checkout-offer__button"})))))},xj=function(t){const[{page_settings:a,options:r}]=zl(),n=e=>{let t="";const a=e.name;if(a&&a.includes("[")){const n=a.split("["),i=[];for(let e=1;e<n.length;e++)i.push(n[e].split("]")[0]);const s=a.substr(0,a.indexOf("[")),o=r[s];if("wcf-pre-checkout-offer-product[original_price]"===a||"wcf-pre-checkout-offer-product[sell_price]"===a){const t=r["wcf-pre-checkout-offer-product"];if(""===t||null==t||t.length<=0)return(0,z.__)("No product Selected","cartflows");const n=Array.isArray(t)?parseFloat(t[0].original_price):parseFloat(t.original_price);if("wcf-pre-checkout-offer-product[original_price]"===a)return n;if("wcf-pre-checkout-offer-product[sell_price]"===a&&n){const t=r["wcf-pre-checkout-offer-discount"],a=parseFloat(r["wcf-pre-checkout-offer-discount-value"]);let i=n;return"discount_percent"===t?a>0&&(i=(n-n*a/100).toFixed(2)):"discount_price"===t&&a>0&&(i=(n-a).toFixed(2)),e.class=i<0?"error_field":"",i}}t=o[i[0]]}else t=r[e.name]?r[e.name]:"";return t};let i=[];switch(t.tab){case"product":default:i=a?.settings["checkout-offer-product"];break;case"content":i=a?.settings["checkout-offer-content"];break;case"styles":i=a?.settings["checkout-offer-styles"]}const s=function(a){return Object.keys(a.section_fields).map((i=>{const s=a.section_fields[i],o=n(s),l=hr.isActiveControl(s,r);return(0,e.createElement)(Nh,{key:i,data:s,value:o,isActive:l,field:i,tabName:t.tab?t.tab:"",displayAs:t.displayAs?t.displayAs:""})}))};return(0,e.createElement)("div",{className:"wcf-list-options wcf-co-list-options"},(0,e.createElement)("div",{className:"wcf-co-options-wrapper",id:"wcf-co-options-wrapper"},i&&Object.keys(i.fields).map((a=>{const o=i.fields[a];return o.section_fields?(0,e.createElement)("div",{key:a,className:`wcf-${t.tab?t.tab:"setting"}-tab--${o.id}-section p-5 border border-gray-200 rounded-md mb-5`},(0,e.createElement)("div",{className:`wcf-${t.tab?t.tab:"setting"}-tab--heading-section col-span-full`},(0,e.createElement)(ch,{label:o.title,labelClass:"block text-base font-semibold text-gray-800 mb-5"})),t.displayAs&&"tr"===t.displayAs?(0,e.createElement)("table",{className:"w-full"},(0,e.createElement)("tbody",null,s(o))):(0,e.createElement)("div",{className:"wcf-co-list-options-container"},s(o))):(0,e.createElement)("div",{key:a,className:`wcf-${t.tab?t.tab:"setting"}-tab--section mb-5`},t.displayAs&&"tr"===t.displayAs?(0,e.createElement)("table",{className:"wcf-full"},(0,e.createElement)("tbody",null,(0,e.createElement)(Nh,{key:a,data:o,value:n(o),isActive:hr.isActiveControl(o,r),field:o,tabName:t.tab?t.tab:"",displayAs:t.displayAs?t.displayAs:""}))):(0,e.createElement)("div",{className:"wcf-co-list-options-container"},(0,e.createElement)(Nh,{key:a,data:o,value:n(o),isActive:hr.isActiveControl(o,r),field:o,tabName:t.tab?t.tab:"",displayAs:t.displayAs?t.displayAs:""})))}))))};function bj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"}))}const Dj=t.forwardRef(bj);function jj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"}))}const vj=t.forwardRef(jj),_j=function(){const[{options:a}]=zl(),[r,n]=(0,t.useState)("");(0,t.useEffect)((()=>{const e=document.getElementById("wcf-checkout-offer-preview-wrapper"),t=e.offsetTop-25,a=window.addEventListener("scroll",(()=>{window.pageYOffset>t?e.classList.add("sticky"):e.classList.remove("sticky")}));return()=>{window.removeEventListener("scroll",a)}}),[]);let i=a["wcf-pre-checkout-offer-product"];null!==i&&Array.isArray(i)&&(i=i[0]);const s=a["wcf-pre-checkout-offer-discount"],o=parseFloat(a["wcf-pre-checkout-offer-discount-value"]);let l="";const c=i?parseFloat(i.original_price).toFixed(2):0;"discount_percent"===s?o>0&&(l=(c-c*o/100).toFixed(2)):"discount_price"===s&&o>0&&(l=(c-o).toFixed(2));const u=i&&i.product_image?i.product_image:cartflows_admin.image_placeholder;return(0,e.createElement)("div",{id:"wcf-checkout-offer-preview-wrapper",className:"fullscreen"===r?"wcf-checkout-offer-preview-wrapper fullscreen":"wcf-checkout-offer-preview-wrapper"},(0,e.createElement)("div",{className:"mt-8 bg-gray-50 p-6 -mx-6"},(0,e.createElement)("div",{className:"wcf-pre-checkout-offer--header flex justify-between items-center mb-5 p-2.5"},(0,e.createElement)(ch,{label:(0,z.__)("Preview","cartflows"),labelClass:"block text-base font-semibold text-gray-800"}),""===r&&(0,e.createElement)("div",{className:"wcf-co-preview-mode wcf-full-screen-preview-button p-2.5 text-gray-400 hover:text-gray-500 cursor-pointer",onClick:()=>{n("fullscreen"),document.getElementById("wcf-co-options-wrapper").classList.add("full-screen"),document.body.classList.add("wcf-co-full-screen-preview")}},(0,e.createElement)(Dj,{className:"w-5 h-5 stroke-2",title:(0,z.__)("View in Full Screen","cartflows")}))),"fullscreen"===r&&(0,e.createElement)("div",{className:"wcf-co-preview-mode wcf-full-screen-preview-exit-button p-2.5 text-gray-400 hover:text-gray-500",onClick:()=>{n(""),document.getElementById("wcf-co-options-wrapper").classList.remove("full-screen"),document.body.classList.remove("wcf-co-full-screen-preview")}},(0,e.createElement)(vj,{className:"w-5 h-5 stroke-2",title:(0,z.__)("Exit Full Screen","cartflows")})),(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-wrapper wcf-pre-checkout-full-width"},(0,e.createElement)("div",{id:"wcf-pre-checkout-offer-modal",style:{backgroundColor:a["wcf-pre-checkout-offer-model-bg-color"]},className:"bg-white border border-gray-200 rounded-md"},(0,e.createElement)("div",{className:"wcf-content-main-wrapper"},(0,e.createElement)("div",{className:"wcf-lightbox-content p-6",style:{backgroundColor:a["wcf-pre-checkout-offer-model-bg-color"]}},(0,e.createElement)("div",{className:"wcf-content-modal-progress-bar mb-8"},(0,e.createElement)("div",{className:"wcf-progress-bar-nav",style:{color:a["wcf-pre-checkout-offer-desc-color"]}},(0,e.createElement)("div",{className:"wcf-pre-checkout-progress grid grid-cols-3 text-center text-sm font-normal text-gray-600 max-w-2xl mx-auto"},(0,e.createElement)("div",{className:"wcf-nav-bar-step active"},(0,e.createElement)("div",{className:"wcf-nav-bar-title mb-3",style:{color:a["wcf-pre-checkout-offer-desc-color"]}},(0,z.__)("Order Submitted","cartflows")),(0,e.createElement)("div",{className:"wcf-nav-bar-step-line relative"},(0,e.createElement)("div",{className:"wcf-progress-nav-step",style:{backgroundColor:a["wcf-pre-checkout-offer-navbar-color"]}},(0,e.createElement)("span",{className:"before"})),(0,e.createElement)("span",{className:"order-after",style:{backgroundColor:a["wcf-pre-checkout-offer-navbar-color"]}}))),(0,e.createElement)("div",{className:"wcf-nav-bar-step active inprogress"},(0,e.createElement)("div",{className:"wcf-nav-bar-title mb-3",style:{color:a["wcf-pre-checkout-offer-desc-color"]}},(0,z.__)("Special Offer","cartflows")),(0,e.createElement)("div",{className:"wcf-nav-bar-step-line relative"},(0,e.createElement)("span",{className:"before",style:{backgroundColor:a["wcf-pre-checkout-offer-navbar-color"]}}),(0,e.createElement)("div",{className:"wcf-progress-nav-step",style:{backgroundColor:a["wcf-pre-checkout-offer-navbar-color"]}},(0,e.createElement)("span",{className:"before"})),(0,e.createElement)("span",{className:"after"}))),(0,e.createElement)("div",{className:"wcf-nav-bar-step"},(0,e.createElement)("div",{className:"wcf-nav-bar-title mb-3"},(0,z.__)("Order Receipt","cartflows")),(0,e.createElement)("div",{className:"wcf-nav-bar-step-line relative"},(0,e.createElement)("span",{className:"before"}),(0,e.createElement)("div",{className:"wcf-progress-nav-step"})))))),(0,e.createElement)("div",{className:"wcf-content-main-head text-center mb-8"},(0,e.createElement)("div",{className:"wcf-content-modal-title"},(0,e.createElement)("h1",{style:{color:a["wcf-pre-checkout-offer-title-color"]},className:"text-xl font-semibold text-gray-800 mb-2.5"},a["wcf-pre-checkout-offer-popup-title"])),(0,e.createElement)("div",{className:"wcf-content-modal-sub-title"},(0,e.createElement)("span",{style:{color:a["wcf-pre-checkout-offer-subtitle-color"]},className:"text-sm font-normal text-600"},a["wcf-pre-checkout-offer-popup-sub-title"]))),(0,e.createElement)("div",{id:"wcf-pre-checkout-offer-content",className:"woocommerce border-2 border-gray-200 border-dashed rounded items-center",style:{backgroundColor:a["wcf-pre-checkout-offer-model-bg-color"]}},(0,e.createElement)("div",{className:"flex gap-4 p-5 items-center"},(0,e.createElement)("div",{className:"wcf-pre-checkout-info wcf-pre-checkout-img w-2/5"},(0,e.createElement)("img",{src:u,alt:"Checkout Offer Product",className:"border border-gray-200"})),(0,e.createElement)("div",{className:"wcf-pre-checkout-info wcf-pre-checkout-offer-product-details w-3/5"},(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-product-title"},(0,e.createElement)("h1",{style:{color:a["wcf-pre-checkout-offer-title-color"]}},a["wcf-pre-checkout-offer-product-title"])),(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-price",style:{color:a["wcf-pre-checkout-offer-desc-color"],fontWeight:500}},cartflows_admin.woo_currency,""!==l&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("del",{className:"wcf-regular-price"},isNaN(c)?0:c),(0,e.createElement)("span",{className:"wcf-discount-price"}," ",l)),""===l&&(0,e.createElement)("span",{className:"wcf-regular-price"},isNaN(c)?0:c)),(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-desc"},(0,e.createElement)("span",{style:{color:a["wcf-pre-checkout-offer-desc-color"],lineHeight:"0"}},Nr((a["wcf-pre-checkout-offer-desc"]||"").toString()))),(0,e.createElement)("input",{type:"hidden",value:"add",className:"wcf-pre-checkout-offer-action"}))),(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-actions flex flex-col gap-3 p-5"},(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-btn-action wcf-pre-checkout-add-cart-btn"},(0,e.createElement)("button",{className:"wcf-pre-checkout-offer-btn alt !w-full text-base !bg-primary-500 !rounded !text-white !font-semibold px-4 py-3 !text-center",style:{backgroundColor:a["wcf-pre-checkout-offer-button-color"],borderColor:a["wcf-pre-checkout-offer-button-color"]}},a["wcf-pre-checkout-offer-popup-btn-text"])),(0,e.createElement)("div",{className:"wcf-pre-checkout-offer-btn-action wcf-pre-checkout-skip-btn text-center"},(0,e.createElement)("a",{className:"wcf-pre-checkout-skip text-gray-400",href:"#",style:{color:a["wcf-pre-checkout-offer-desc-color"]}},a["wcf-pre-checkout-offer-popup-skip-btn-text"]))))))))))},Ij=function(){const[{settings_data:a,options:r}]=zl(),[n,i]=(0,t.useState)("product"),s=jx();if(!wcfCartflowsPro())return(0,e.createElement)(uh,{feature:"Checkout Offer",plan_required:"starter"});const o=[{name:(0,z.__)("Product","cartflows"),slug:"product",icon:(0,e.createElement)(AD,{className:"w-18 h-18 stroke-2"})},{name:(0,z.__)("Content","cartflows"),slug:"content",icon:(0,e.createElement)(dj,{className:"w-18 h-18 stroke-2"})},{name:(0,z.__)("Styles","cartflows"),slug:"styles",icon:(0,e.createElement)(YD,{className:"w-18 h-18 stroke-2"})}];if(void 0===a.settings)return(0,e.createElement)(wj,null);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bh,{name:"wcf-pre-checkout-offer",value:r["wcf-pre-checkout-offer"],label:(0,z.__)("Enable Checkout Offer","cartflows"),fullWidth:!0}),"yes"===r["wcf-pre-checkout-offer"]&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-co-preview"},(0,e.createElement)(_j,null)),(0,e.createElement)("span",{className:"border border-gray-200 isolate inline-flex rounded-md shadow-sm w-full mt-8 mb-8 gap-0.5"},o.map((t=>{const a=t.slug===n?"z-10 text-primary-600 bg-primary-25 outline-none ring-1 ring-primary-300 rounded-lg shadow shadow-primary-lg":"";return(0,e.createElement)("button",{type:"button",className:xr()("flex justify-center gap-2 relative text-center w-1/3 items-center px-4 py-2 text-sm font-medium text-gray-400 hover:bg-primary-25 hover:ring-1 hover:ring-primary-300 hover:rounded-lg hover:text-primary-600",a),onClick:()=>{!async function(e){e!==n?(await async function(){return!!window.wcfUnsavedChanges&&await s({title:(0,z.__)("Save Changes","cartflows"),description:(0,z.__)("You have made changes. Do you want to save the changes?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")})}()||i(e),window.wcfUnsavedChanges=!1):i(e)}(t.slug)},key:t.slug},t.icon?t.icon:"",(0,e.createElement)("span",{className:"text-center"},t.name))}))),(0,e.createElement)("div",{className:"wcf-checkout-offer-settings wcf-checkout__section"},(0,e.createElement)(xj,{tab:n,displayAs:"div"}))))},Ej=function(){return(0,e.createElement)("div",{className:"wcf-checkout-rules-page"},(0,e.createElement)("div",{className:"wcf-checkout-rules-page--enable_option"},(0,e.createElement)(Ey,{width:"65%"})),(0,e.createElement)("div",{className:"wcf-checkout-rules--group_wrapper"},(0,e.createElement)("div",{className:"wcf-checkout-rules--text"},(0,e.createElement)(Ey,{width:"10%"}),(0,e.createElement)(Ty,{width:"25%",height:"35px"}),(0,e.createElement)(Ey,{width:"20%"})),(0,e.createElement)("div",{className:"wcf-checkout-rules"},Array(3).fill().map(((t,a)=>(0,e.createElement)("div",{className:"wcf-checkout-rule",key:a},(0,e.createElement)("div",{className:"wcf-checkout-rule--select-box"},(0,e.createElement)(Ty,{height:"35px",width:"30%"}),(0,e.createElement)(Ty,{height:"35px",width:"30%"}),(0,e.createElement)(Ty,{height:"35px",width:"30%"})),2!==a&&(0,e.createElement)("div",{className:"wcf-checkout-rule__and"},(0,e.createElement)(Ty,{height:"25px",width:"5%"})))))),(0,e.createElement)(Ty,{height:"40px",width:"9%"})),(0,e.createElement)("div",{className:"wcf-checkout-rules--or"},(0,e.createElement)(Ty,{height:"35px",width:"5%"}),(0,e.createElement)(Ty,{height:"45px",width:"12%"})),(0,e.createElement)("div",{className:"wcf-checkout-rules--default-step"},(0,e.createElement)(Ey,{width:"10%"}),(0,e.createElement)(Ty,{width:"25%",height:"35px"}),(0,e.createElement)(Ey,{width:"20%"})))},Lj=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-checkout-rules-page-cta"},(0,e.createElement)("div",{className:"wcf-checkout-rules-page"},(0,e.createElement)("span",{className:"wcf-accordion-button relative flex justify-between items-center w-full py-4 px-0 text-base font-semibold text-gray-800 text-left transition focus:outline-none"},(0,e.createElement)("span",{className:"flex gap-2 items-center"},(0,e.createElement)("span",null,(0,z.__)("Dynamic Conditions","cartflows")),(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-auto rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows"))))),(0,e.createElement)(Dy,{buttonLink:getUpgradeToProUrl("utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=dynamic-offers-cta"),heading:(0,z.__)("Show the Right Offer to the Right People – Automatically!","cartflows"),subHeading:(0,z.__)("Personalize deals based on location, cart details, and more. Upgrade to CartFlows PRO and unlock this smart feature today!","cartflows")}))))},Tj=function({rules:t,group_id:a,g_index:r,groups_length:n}){const[{page_settings:i},s]=zl(),o=i?.settings.rules,l=o.conditions,c=e=>{const t=e.target.getAttribute("rule_id");a&&t&&s({type:"REMOVE_RULE",name:"wcf-checkout-rules",rule_id:t,group_id:a})};return(0,e.createElement)(e.Fragment,null,t.map(((i,u)=>{const d=i?.rule_id,m=t[u],g=o.field_data[m.condition],p=m.operator.replace(/</g,"&lt;").replace(/>/g,"&gt;");return(0,e.createElement)(e.Fragment,null,0!==u&&(0,e.createElement)("div",{className:"wcf-checkout-rules--group_rules__condition-label"},(0,e.createElement)("div",{className:"wcf--condition-label__and_group relative"},(0,e.createElement)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true"},(0,e.createElement)("div",{className:"w-full border-t border-gray-300 border-dashed"})),(0,e.createElement)("div",{className:"relative flex justify-center"},(0,e.createElement)("span",{className:"wcf--condition-label__and_group__text bg-gray-50 px-2 text-xs text-gray-400"},(0,z.__)("AND","cartflows"))))),(0,e.createElement)("div",{className:"wcf-checkout-rules--group_rules flex gap-3 items-center","data-rule-id":d,key:d},(0,e.createElement)("input",{type:"hidden",name:`wcf-checkout-rules[${r}][rules][${u}][rule_id]`,value:d}),(0,e.createElement)("div",{className:"wcf-checkout-rules--rule_fields flex flex-col justify-center items-center sm:grid sm:grid-cols-3 gap-3 items-center w-full"},(0,e.createElement)(jr,{name:`wcf-checkout-rules[${r}][rules][${u}][condition]`,wrapperClass:"block",options:l,onSelect:()=>{s({type:"RESET_RULE_VALUE",name:"wcf-checkout-rules",group_id:a,rule_id:d})},value:m.condition,sectionClass:"w-full sm:!w-auto"}),(0,e.createElement)(jr,{name:`wcf-checkout-rules[${r}][rules][${u}][operator]`,wrapperClass:"block",options:g.operator,value:Nr(p),sectionClass:"w-full sm:!w-auto"}),function(t,a,n){const i=n.value;let s="";const o=`wcf-checkout-rules[${r}][rules][${a}][value]`;return t.map((t=>{switch(t.type){case"multitext":s=(0,e.createElement)(xh,{name:`${o}`,value:i,fields:t.fields});break;case"text":s=(0,e.createElement)(vr,{name:`${o}`,value:i,placeholder:t.placeholder,tooltip:t.tooltip});break;case"select2":s=(0,e.createElement)(El,{name:`${o}[]`,value:i,placeholder:t.placeholder,tooltip:t.tooltip,options:t.options,isMulti:t.isMulti,isSearchable:t?.enable_search});break;case"number":s=(0,e.createElement)(ug,{name:o,value:i,min:0,placeholder:t.placeholder,tooltip:t.tooltip});break;case"coupon":s="exist"===n.operator||"not_exist"===n.operator?(0,e.createElement)(jr,{name:o,options:[{label:"in parent order",value:"parent_order"}]}):(0,e.createElement)(mh,{name:o,placeholder:t.placeholder,tooltip:t.tooltip,value:i,isMulti:t.isMulti});break;case"product":s=(0,e.createElement)(dh,{name:o,placeholder:t.placeholder,tooltip:t.tooltip,value:i,isMulti:t.isMulti})}return s}))}(g.fields,u,m)),(0,e.createElement)("div",{className:"wcf-checkout-rules--rule_actions"},function(t,r){return 1===t&&1===n?"":(0,e.createElement)(Bl,{className:"w-5 h-6 stroke-2 p-0.5 text-gray-400 cursor-pointer hover:text-primary-700 focus:text-primary-700",onClick:c,group_id:a,rule_id:r})}(t.length,d))))})))},Aj=function(){const[{step_data:a,step_id:r,options:n},i]=zl(),[s,o]=(0,t.useState)({ruleGroupId:"",isOpen:!1}),[{license_status:l}]=g(),{ruleGroupId:c,isOpen:u}=s;if(!wcfCartflowsPro()||"Activated"!==l)return(0,e.createElement)(Lj,null);if(null===n)return(0,e.createElement)(Ej,null);const d=n["wcf-checkout-rules"];if(void 0===d)return(0,e.createElement)(lh,{content:(0,z.__)("Please Update the CartFlows Pro to the latest version to use the dynamic offers feature.","cartflows")});const m=()=>{const e={group_id:Math.random().toString(36).substring(2,5),rules:[{rule_id:Math.random().toString(36).substring(2,5),condition:"cart_item",operator:"",value:""}]};i({type:"ADD_NEW_GROUP",name:"wcf-checkout-rules",newGroup:e})},p=e=>{const t=e.target.getAttribute("data-group_id"),a={rule_id:Math.random().toString(36).substring(2,5),condition:"cart_item",operator:"",value:""};i({type:"ADD_NEW_RULE",name:"wcf-checkout-rules",newRule:a,group_id:t})},f=function(e){const t=e.target.getAttribute("data-group_id");o({ruleGroupId:t,isOpen:c!==t||!u})};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-checkout-rules-page"},(0,e.createElement)("div",{className:"wcf-checkout-rules-page--enable_option"},(0,e.createElement)(bh,{name:"wcf-checkout-rules-option",value:n["wcf-checkout-rules-option"],label:(0,z.__)("Enable Dynamic Offers","cartflows"),tooltip:(0,z.__)("Turn this on to set up rules that decide when visitors should be redirected to a special offer or the next step.","cartflows"),fullWidth:!0})),"yes"===n["wcf-checkout-rules-option"]&&d&&(0,e.createElement)("div",{className:"mt-8"},(0,e.createElement)(Ll.ReactSortable,{id:"wcf-checkout-rules-sortable-wrapper",className:"wcf-checkout-rules--sortable-wrapper flex flex-col gap-4",list:d,setList:e=>i({type:"SET_RULES_GROUPS",groups:e,fieldName:"wcf-checkout-rules",step_id:r}),swapThreshold:.8,direction:"vertical",animation:150,handle:".wcf-checkout-rules--group",filter:".wcf-checkout-rules--rule_fields, .wcf-checkout-rules--rule_actions, .wcf-field.wcf-select-option, .wcf-checkout-rules--add-rule__repeater .wcf-button.wcf-button--secondary, .wcf-field__data--content, .wcf-checkout-rules-page--group_wrapper__footer, .wcf-checkout-rules--group_header",preventOnFilter:!1,onStart:function(){document.getElementsByClassName("wcf-checkout-rules--or_group__button")[0].setAttribute("style","display:none")},onEnd:function(){document.getElementsByClassName("wcf-checkout-rules--or_group__button")[0].setAttribute("style","display:inline-block")}},d.map(((t,r)=>{const n=t.group_id,i=t.rules;return(0,e.createElement)("div",{className:"wcf-checkout-rules-page--group_wrapper",key:n},(0,e.createElement)("div",{className:"wcf-checkout-rules--group border border-gray-200 rounded-lg mb-6","data-group-id":n},(0,e.createElement)("input",{type:"hidden",name:`wcf-checkout-rules[${r}][group_id]`,value:n}),(0,e.createElement)("div",{className:"wcf-checkout-rules--group-header wcf-redirection-step bg-white p-4 rounded-lg flex items-center justify-between"},(0,e.createElement)("div",{className:"wcf-checkout-rules--group-header__left flex gap-2 items-center"},(0,e.createElement)("div",{className:"wcf-checkout-rule--sortable-toggle flex cursor-move text-gray-500"},(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1 -ml-2","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-6 h-6 stroke-1 -ml-4","aria-hidden":"true"})),(0,e.createElement)("div",{className:"border border-gray-200 rounded-md flex items-center gap-3 px-2.5 py-2"},(0,e.createElement)("div",{className:"text-sm font-normal text-gray-400"},(0,z.__)("Redirect to: ","cartflows")),(0,e.createElement)(jr,{name:`wcf-checkout-rules[${r}][step_id]`,class:"w-full !max-w-full h-auto input-field !text-sm font-normal !rounded-none text-gray-400 !border-none focus:ring-0 focus:!border-none focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",value:t.step_id,placeholder:(0,z.__)("Search for step…","cartflows"),options:a.step_lists,overrideCss:!0})),(0,e.createElement)("div",{className:"text-sm font-normal text-gray-400"},(0,z.__)("If the following conditions are true","cartflows"))),(0,e.createElement)("div",{className:"wcf-checkout-rules--group-header__right flex gap-2 items-center"},c===n&&u?(0,e.createElement)(Gy,{className:"w-4 h-4 stroke-1 text-gray-400 hover:text-gray-500 cursor-pointer","aria-hidden":"true",onClick:f,"data-group_id":n}):(0,e.createElement)(Jy,{className:"w-4 h-4 stroke-1 text-gray-400 hover:text-gray-500 cursor-pointer","aria-hidden":"true",onClick:f,"data-group_id":n}))),(0,e.createElement)("div",{id:`wcf-checkout-rules--group-${n}`,className:"pt-7 px-7 pb-4 bg-gray-50 border-t border-gray-200 "+(c===n&&u?"visible":"hidden")},(0,e.createElement)("div",{className:"wcf-checkout-rules--group-rules__wrapper flex flex-col gap-4"},0!==i.length&&(0,e.createElement)(Tj,{rules:i,group_id:n,g_index:r,groups_length:d.length})),(0,e.createElement)("div",{className:"wcf-checkout-rules--add-rule__repeater flex"},(0,e.createElement)("div",{className:"wcf-checkout-rules--add-rule__button text-sm font-medium flex gap-1.5 items-center cursor-pointer text-primary-500 hover:text-primary-600 focus:text-primary-600 mt-5","data-group_id":n,onClick:p},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Add Condition","cartflows"))))),(0,e.createElement)("div",{className:"wcf-checkout-rules-page--group_wrapper__footer"},(0,e.createElement)("div",{className:"wcf-checkout-rules--or-group relative"},(0,e.createElement)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true"},(0,e.createElement)("div",{className:"w-full border-t border-gray-300 border-dashed"})),(0,e.createElement)("div",{className:"relative flex justify-center"},(0,e.createElement)("span",{className:"wcf-checkout-rules--or_group__text bg-gray-50 px-2 text-xs text-gray-400"},(0,z.__)("OR","cartflows")))),parseInt(r)+1===d.length&&(0,e.createElement)("div",{className:"wcf-checkout-rules--or_group__button mt-4"},(0,e.createElement)("span",{className:"wcf-checkout-rules--or_group_button or-button wcf-button wcf-secondary-button",onClick:m},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,z.__)("Add Dynamic Offer","cartflows")))))})))),"yes"===n["wcf-checkout-rules-option"]&&(0,e.createElement)("div",{className:"wcf-checkout-rules--default-step border border-gray-200 rounded-lg p-4 flex items-center justify-between mt-8"},(0,e.createElement)("div",{className:"wcf-checkout-rules--default-step__left border border-gray-200 rounded-md flex items-center gap-3 px-2.5 py-2"},(0,e.createElement)("div",{className:"text-sm font-normal text-gray-400"},(0,z.__)("Redirect to: ","cartflows")),(0,e.createElement)(jr,{name:"wcf-checkout-rules-default-step",class:"w-full !max-w-full h-auto input-field !text-sm font-normal !rounded-none text-gray-400 !border-none focus:ring-0 focus:!border-none focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",value:n["wcf-checkout-rules-default-step"],placeholder:(0,z.__)("Search for default step…","cartflows"),options:a.step_lists,overrideCss:!0})),(0,e.createElement)("div",{className:"text-sm font-normal text-gray-400"},(0,z.__)("If all of the above conditions failed.","cartflows")))))};function zj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a2.25 2.25 0 0 0-2.25-2.25H15a3 3 0 1 1-6 0H5.25A2.25 2.25 0 0 0 3 12m18 0v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6m18 0V9M3 12V9m18 0a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 9m18 0V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v3"}))}const kj=t.forwardRef(zj),Sj=function(t){const{innerField:a,innerFieldData:r}=t,[{options:n}]=zl();return(0,e.createElement)("div",{className:"wcf-field-item--fields-settings__wrapper bg-gray-50 hidden p-5 border-x border-gray-200 last:border-b",id:`wcf-field-setting-${a}`},r&&Object.keys(r.field_options).map((t=>{const a=r.field_options[t];let i="";const s=function(e){const t=e.name;let a="";if(t.includes("[")){const e=t.split("["),r=[];for(let t=1;t<e.length;t++)r.push(e[t].split("]")[0]);const i=t.substr(0,t.indexOf("["));switch(r.length){case 2:a=n[i][r[0]][r[1]];break;case 3:a=n[i][r[0]][r[1]][r[2]];break;case 4:a=n[i][r[0]][r[1]][r[2]][r[3]];break;default:a=n[i][r[0]]}}else a=n[e.name]?n[e.name]:e.value;return a}(a);switch(a.type){case"text":i=(0,e.createElement)(vr,{class:"w-full max-w-full input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0",name:a.name,value:s,label:a.label,placeholder:a.placeholder,readonly:a.readonly,tooltip:a.tooltip,displayAlign:"vertical"});break;case"number":i=(0,e.createElement)(ug,{class:"w-full max-w-full input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0",name:a.name,value:s,label:a.label,readonly:a.readonly,tooltip:a.tooltip,displayAlign:"vertical"});break;case"checkbox":i=(0,e.createElement)(br,{class:a.class,name:a.name,value:s,label:a.label,desc:a.desc,child_className:a.child_class});break;case"select":i=(0,e.createElement)(jr,{class:a.class,name:a.name,value:s,label:a.label,options:a.options,tooltip:a.tooltip,displayAlign:"vertical"});break;case"doc":i=(0,e.createElement)(lh,{content:a.content})}return(0,e.createElement)("div",{key:a.name,className:`wcf-cfe-field-setting__panel wcf-cfe-field-${t} mb-5 ${"enable-field"===t||"required-field"===t?"hidden":""}`},i)})))},Oj=function(a){const[{billing_fields:r,shipping_fields:n},i]=zl(),{step:s,type:o,removeCallback:l}=a,[c,u]=(0,t.useState)(""),[d,m]=(0,t.useState)("");let g=[];g="billing"===o?r:n;const p=function(e){const t=e.target.getAttribute("data-name"),a=document.getElementById(`wcf-field-setting-${t}`);a.classList.contains("hidden")?(a.classList.remove("hidden"),u(t)):(a.classList.add("hidden"),u(""))},f=function(e){l(e,m)},M=({name:e,value:t,fieldName:a})=>{const s=("billing"===o?r:n).map((r=>r.field_options[a].name===e?{...r,field_options:{...r.field_options,[a]:{...r.field_options[a],value:t}}}:r));i({type:"SET_FIELDS",field_type:o,fields:s})};return(0,e.createElement)("div",{className:"py-5"},(0,e.createElement)("div",{className:`wcf-${o}-fields--header flex items-center p-3 border gap-4 bg-gray-50`},(0,e.createElement)("div",{className:"w-3/12"},(0,z.__)("Label","cartflows")),(0,e.createElement)("div",{className:"w-3/12"},(0,z.__)("ID","cartflows")),(0,e.createElement)("div",{className:"w-1/5"},(0,z.__)("Enable","cartflows")),(0,e.createElement)("div",{className:"w-1/5"},(0,z.__)("Required","cartflows")),(0,e.createElement)("div",{className:"w-1/12"},(0,z.__)("Edit","cartflows"))),(0,e.createElement)(Ll.ReactSortable,{list:[...g],setList:e=>i({type:"SET_FIELDS",field_type:o,fields:e}),direction:"vertical",animation:150,handle:".wcf-field-item-handle",filter:".wcf-field-settings-icon, .wcf-toggle-field"},g&&g.map((t=>{const a=t.key,r=t.field_options["enable-field"],n=t.field_options["required-field"];return(0,e.createElement)("div",{key:a,className:"wcf-field-item-handle "+("yes"!==r.value?"!text-gray-400":""),"data-key":a},(0,e.createElement)("div",{className:"wcf-fields-wrapper flex items-center p-3 border justify-evenly"},(0,e.createElement)("div",{className:"wcf-field--label whitespace-nowrap w-3/12 flex items-center mr-auto"},(0,e.createElement)("div",{className:"wcf-cpf--sortable-toggle flex cursor-move text-gray-400"},(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1","aria-hidden":"true"}),(0,e.createElement)(Pl,{className:"w-5 h-5 stroke-1 -ml-3.5","aria-hidden":"true"})),(0,e.createElement)("span",{className:"text-ellipsis overflow-hidden cursor-default"},t.label?t.label:t.placeholder," "),("billing_email"===a||"shipping_email"===a)&&"checkout"===s&&(0,e.createElement)(fh,{text:(0,z.__)("Your email address can't be edited when using the Modern Checkout Style.","cartflows")}),"billing_company"===a&&"checkout"===s&&(0,e.createElement)(fh,{text:(0,z.__)("The Company field won't be visible if you're using the Instant Layout Style.","cartflows")})),(0,e.createElement)("div",{className:"wcf-field--key whitespace-nowrap w-3/12 text-ellipsis overflow-hidden mr-auto cursor-default"},t.key),(0,e.createElement)("div",{className:"wcf-field--is-enable w-1/5"},(0,e.createElement)(bh,{name:r.name,value:r.value,onChange:({name:e,value:t})=>M({name:e,value:t,fieldName:"enable-field"})})),(0,e.createElement)("div",{className:"wcf-field--is-required w-1/5"},(0,e.createElement)(bh,{name:n.name,value:"yes"!==r.value?"no":n.value,isDisabled:"yes"!==r.value?"true":"",class:"yes"!==r.value?"disabled:!bg-gray-200":"",onChange:({name:e,value:t})=>M({name:e,value:t,fieldName:"required-field"})})),(0,e.createElement)("div",{className:"wcf-field-settings-icon flex gap-2 w-1/12 "},(0,e.createElement)("div",{onClick:p,"data-name":a},(0,e.createElement)(Rl,{className:"p-1 h-7 w-7 cursor-pointer "+(c===a?"rounded bg-primary-50 text-primary-500":"text-gray-400 hover:text-primary-500 focus:bg-primary-50"),"data-name":a})),t.custom&&(0,e.createElement)("div",{"data-key":a,"data-type":o,onClick:f},a===d?(0,e.createElement)(zr,{className:"wcf-delete-cpf--button-processing p-1 h-7 w-7 text-primary-500 pointer-events-none animate-spin","data-key":a,"data-type":o}):(0,e.createElement)(Bl,{className:"wcf-delete-cpf--button-delete p-1 h-7 w-7 text-primary-500 cursor-pointer","data-key":a,"data-type":o})))),(0,e.createElement)(Sj,{innerField:a,innerFieldData:t,removecustomField:f,type:o}))}))))},Cj=function(a){const{addNewField:r,step_type:n}=a,i=(0,z.__)("Add New Field","cartflows"),s=(0,z.__)("Date & Time","cartflows"),[o,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),[d,m]=(0,t.useState)(i),[g,p]=(0,t.useState)(),f=function(){l(!1),u(!1),x(!1),m(i)},M=function(e){e.preventDefault(),l(!1)},h=function(e){e.preventDefault(),m((0,z.__)("Adding…","cartflows")),u(!0),c||r(e,f,m)||u(!1)},[y,N]=(0,t.useState)(!1),[w,x]=(0,t.useState)(!1),[b,D]=(0,t.useState)(!0),[j,v]=(0,t.useState)(!1),[_,I]=(0,t.useState)(!1),[E,L]=(0,t.useState)(!1),[T,A]=(0,t.useState)("datetime-local"),[k,S]=(0,t.useState)(s),O=function(){x(!w)},C=function(){const e=document.getElementById("wcf-checkout-custom-fields[0][type]").value;v(!1),I(!1),L(!1),D(!1),"text"===e||"textarea"===e?D(!0):"select"===e?L(!0):"checkbox"===e?v(!0):"radio"===e&&I(!0),N(e)},Y=function(e){let t=e.replace(/[^a-zA-Z\d ]/g," ");t=t.replace(/\s/g,"_").toLowerCase(),p(t)},U=function(e){A(e.target.value),"datetime-local"===e.target.value?S(s):S(e.target.value)},Q=function(){let e="";if("datetime"!==y)return e;switch(T){case"date":e="yyyy-mm-dd";break;case"time":e="hh:mm";break;case"datetime-local":e="yyyy-mm-dd hh.mm";break;default:e=""}return e};return(0,e.createElement)("div",{className:"wcf-custom-field-box"},(0,e.createElement)("div",{className:"text-right"},(0,e.createElement)("button",{className:"wcf-add-custom-field wcf-button wcf-secondary-button focus:ring-0",onClick:function(e){e.preventDefault(),p(""),l(!o)}},(0,e.createElement)(Tr,{className:"h-18 w-18 ease-in-out duration-300 text-primary-500 "+(o?"rotate-45":"")}),o?(0,z.__)("Cancel","cartflows"):(0,z.__)("Add Custom Field","cartflows"))),(0,e.createElement)(Pt,{show:o,enter:"transition-all ease duration-700 transform",enterFrom:"opacity-0 translate-y-0",enterTo:"opacity-100 translate-y-5",leave:"transition-all ease duration-500 transform",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-0"},(0,e.createElement)("div",{className:"wcf-cfe-content mt-5"},function(){const t=[{value:"billing",label:(0,z.__)("Billing","cartflows")},{value:"shipping",label:(0,z.__)("Shipping","cartflows")}],a=[{value:"text",label:(0,z.__)("Text","cartflows")},{value:"textarea",label:(0,z.__)("TextArea","cartflows")},{value:"number",label:(0,z.__)("Number","cartflows")},{value:"datetime",label:(0,z.__)("Date & Time","cartflows")},{value:"checkbox",label:(0,z.__)("Checkbox","cartflows")},{value:"radio",label:(0,z.__)("Radio","cartflows")},{value:"select",label:(0,z.__)("Select","cartflows")},{value:"hidden",label:(0,z.__)("Hidden","cartflows")}],r=[{value:"33",label:(0,z.__)("33%","cartflows")},{value:"50",label:(0,z.__)("50%","cartflows")},{value:"100",label:(0,z.__)("100%","cartflows")}],i="w-full max-wi-full input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0";return(0,e.createElement)("form",{className:"wcf-custom-field-form--wrapper bg-white border border-gray-200 rounded-md text-left p-5"},(0,e.createElement)("h2",{className:"wcf-custom-field-form--header text-base font-semibold text-gray-800 text-left pb-5 flex justify-between items-center"},(0,z.__)("Add Custom Field","cartflows")),"checkout"===n&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(jr,{class:"wcf-cpf-add_to",name:"wcf-checkout-custom-fields[0][add_to]",options:t,label:(0,z.__)("Add To","cartflows"),displayAlign:"vertical"})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(jr,{class:"wcf-cpf-type",id:"wcf-checkout-custom-fields[0][type]",name:"wcf-checkout-custom-fields[0][type]",options:a,label:(0,z.__)("Type","cartflows"),onSelect:C,displayAlign:"vertical"})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-label ${i}`,name:"wcf-checkout-custom-fields[0][label]",label:Nr((0,z.sprintf)(/* translators: %$s is replaced with the HTML tag */ /* translators: %$s is replaced with the HTML tag */
(0,z.__)("Label %1$s*%2$s","cartflows"),'<span class="text-primary-300">',"</span>")),onChangeCB:Y,displayAlign:"vertical"})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-name ${i}`,name:"wcf-checkout-custom-fields[0][key]",value:g,label:(0,z.__)("Field ID","cartflows"),tooltip:(0,z.sprintf)(/* translators: %$s is replaced with the HTML tag */ /* translators: %$s is replaced with the HTML tag */
(0,z.__)('Field value will store in this meta key. Add field id without prefix like "billing_" or "shipping_". %s Use "_" instead of spaces.',"cartflows"),"<br>"),displayAlign:"vertical"})),"number"===y&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(ug,{class:`wcf-cpf-min ${i}`,name:"wcf-checkout-custom-fields[0][min]",label:(0,z.__)("Min Value","cartflows"),displayAlign:"vertical",min:0})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(ug,{class:`wcf-cpf-max ${i}`,name:"wcf-checkout-custom-fields[0][max]",label:(0,z.__)("Max Value","cartflows"),displayAlign:"vertical",min:0}))),(E||_)&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(_r,{class:`wcf-cpf-options ${i}`,name:"wcf-checkout-custom-fields[0][options]",label:(0,z.__)("Options","cartflows"),placeholder:(0,z.__)("Enter your options separated by (|).","cartflows"),displayAlign:"vertical"})),j&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(jr,{class:"wcf-cpf-default",name:"wcf-checkout-custom-fields[0][default]",label:(0,z.__)("Default","cartflows"),options:[{value:"1",label:(0,z.__)("Checked","cartflows")},{value:"0",label:(0,z.__)("UnChecked","cartflows")}],displayAlign:"vertical"})),"datetime"===y&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(jr,{class:`wcf-cpf-date-input ${i}`,name:"wcf-checkout-custom-fields[0][date_input]",label:(0,z.__)("Field Input Type","cartflows"),options:[{label:(0,z.__)("Date & Time","cartflows"),value:"datetime-local"},{label:(0,z.__)("Date","cartflows"),value:"date"},{label:(0,z.__)("Time","cartflows"),value:"time"}],displayAlign:"vertical",value:T,onSelect:U})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-min-date ${i}`,labelClass:"text-sm font-medium text-left capitalize",textFieldType:T,name:"wcf-checkout-custom-fields[0][default]",label:(0,z.__)("Min ","cartflows")+k,displayAlign:"vertical",placeholder:Q()})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-max-date ${i}`,labelClass:"text-sm font-medium text-left capitalize",textFieldType:T,name:"wcf-checkout-custom-fields[0][default]",label:(0,z.__)("Max ","cartflows")+k,displayAlign:"vertical",placeholder:Q()}))),!j&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-default ${i}`,textFieldType:"datetime"===y&&T?T:"text",name:"wcf-checkout-custom-fields[0][default]",label:(0,z.__)("Default","cartflows"),displayAlign:"vertical",placeholder:Q()})),b&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(vr,{class:`wcf-cpf-placeholder ${i}`,name:"wcf-checkout-custom-fields[0][placeholder]",label:(0,z.__)("Placeholder","cartflows"),displayAlign:"vertical"})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(jr,{class:"wcf-cpf-width",name:"wcf-checkout-custom-fields[0][width]",options:r,value:"100",label:(0,z.__)("Width","cartflows"),displayAlign:"vertical"})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(br,{class:"wcf-cpf-show-in-email",name:"wcf-checkout-custom-fields[0][show_in_email]",label:(0,z.__)("Show in Email","cartflows")})),(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(br,{class:"wcf-cpf-required",name:"wcf-checkout-custom-fields[0][required]",label:(0,z.__)("Required","cartflows"),onClick:O})),!w&&"optin"!==n&&(0,e.createElement)("div",{className:"wcf-custom-field-form--field-row pb-5"},(0,e.createElement)(br,{class:"wcf-cpf-optimized",name:"wcf-checkout-custom-fields[0][optimized]",label:(0,z.__)("Collapsible","cartflows")})),(0,e.createElement)("div",{className:"flex items-center gap-x-6 border-t border-gray-200 py-4"},(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",onClick:h},d),(0,e.createElement)("button",{type:"button",className:"wcf-button bg-gray-50",onClick:M},(0,z.__)("Cancel","cartflows"))))}())))},Yj=function(){return(0,e.createElement)("div",{className:"wcf-custom-field-editor wcf-checkout__section is-placeholder"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__content"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__title"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("form",null,(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("tr",null,(0,e.createElement)("td",null,(0,e.createElement)("div",{className:"title"}))))),(0,e.createElement)("div",{className:"wcf-field wcf-submit"},(0,e.createElement)("div",{className:"wcf-checkout-custom-fields__button"})))),(0,e.createElement)(Ey,{fontSize:"35px",width:"400px"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"80%"}),(0,e.createElement)(Ey,{width:"65%"}))},Uj=function(){const[{custom_fields:a,step_id:r,options:n,billing_fields:i,shipping_fields:s},o]=zl(),[l,c]=(0,t.useState)("collapsed"),[u,d]=(0,t.useState)("billing"),m=jx();if(void 0===a)return(0,e.createElement)(Yj,null);const g=[{name:(0,z.__)("Billing Fields","cartflows"),slug:"billing",icon:(0,e.createElement)(kj,{className:"w-5 h-5","aria-hidden":"true"})},{name:(0,z.__)("Shipping Fields","cartflows"),slug:"shipping",icon:(0,e.createElement)(OD,{className:"w-5 h-5","aria-hidden":"true"})}],p=async function(e,t){if(e.preventDefault(),!await m({title:(0,z.__)("Delete Field","cartflows"),description:(0,z.__)("Are you really want to delete field?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const a=new FormData,n=e.target.getAttribute("data-key"),l=e.target.getAttribute("data-type");t(n),a.append("action","cartflows_pro_delete_custom_field"),a.append("security",cartflows_admin.delete_custom_field_nonce),a.append("post_id",r),a.append("key",n),a.append("type",l),a.append("step","checkout"),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((e=>{if(e.status){const e=i.filter((function(e){return e.key!==n}));o({type:"SET_FIELDS",field_type:"billing",fields:e});const a=s.filter((function(e){return e.key!==n}));o({type:"SET_FIELDS",field_type:"shipping",fields:a}),t("")}}))};return(0,e.createElement)("div",{className:"wcf-custom-field-editor wcf-checkout__section"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__content"},(0,e.createElement)(HD,{settings:a.extra_fields,isOpen:!0}),(0,e.createElement)("div",{className:"wcf-field-editor accordion-item bg-white -mx-8 border-b border-gray-200"},(0,e.createElement)("h2",{className:"accordion-header mb-0",id:"wcf_field_editor_toggler"},(0,e.createElement)("button",{className:`wcf-accordion-button relative flex justify-between items-center w-full py-4 px-8 text-base font-semibold text-gray-800 text-left transition focus:outline-none ${l}`,type:"button","data-bs-toggle":"collapse","data-bs-target":"#wcf_collapse_field_editor_toggler","aria-expanded":"false","aria-controls":"wcf_collapse_field_editor_toggler",onClick:function(){c("collapsed"===l?"":"collapsed")}},(0,e.createElement)("span",null,(0,z.__)("Field Editor","cartflows")),""===l?(0,e.createElement)(Gy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}):(0,e.createElement)(Jy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)("div",{id:"wcf_collapse_field_editor_toggler",className:`accordion-collapse px-8 pt-4 pb-8 ${l}`,"aria-labelledby":"wcf_field_editor_toggler"},(0,e.createElement)("div",{className:"accordion-body"},(0,e.createElement)(bh,{name:"wcf-custom-checkout-fields",value:n["wcf-custom-checkout-fields"],label:(0,z.__)("Enable Custom Field Editor","cartflows"),classes:"wcf-enable-custom-field-editor",fullWidth:!0}),"yes"===n["wcf-custom-checkout-fields"]&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-checkout-fields-tabs isolate inline-flex h-11 rounded-md shadow-sm w-full mt-4 mb-0"},g.map((t=>{const a=t.slug===u,r=a?"z-10 bg-[#FEF8F5] border-[#F6A285] hover:bg-[#FEF8F5] outline-none text-[#E64E1A]":"bg-white border-gray-300 hover:bg-[#FEF8F5] hover:border-[#E64E1A]";return(0,e.createElement)("button",{type:"button",className:xr()("relative text-center w-3/6 items-center border px-4 py-2 text-sm font-medium text-gray-700 hover:text-[#E64E1A]",r),onClick:()=>d(t.slug),key:t.slug},(0,e.createElement)("span",{className:(a?"text-[#E64E1A]":"")+" text-sm font-medium text-center flex justify-center items-center gap-1"},t.icon,t.name))}))),"billing"===u&&(0,e.createElement)("div",{id:"wcf-billing-fields",className:"wcf-billing-fields billing-field-sortable wcf-field-row w-full"},i&&(0,e.createElement)(Oj,{data:i,step:"checkout",type:"billing",removeCallback:p})),"shipping"===u&&(0,e.createElement)("div",{id:"wcf-shipping-fields",className:"wcf-shipping-fields shipping-field-sortable wcf-field-row w-full"},s&&(0,e.createElement)(Oj,{data:s,step:"checkout",type:"shipping",removeCallback:p})),(0,e.createElement)("div",{className:"text-end"},wcfCartflowsPro()&&(0,e.createElement)("div",{className:""},(0,e.createElement)(Cj,{addNewField:function(e,t,a){e.preventDefault();const l=document.getElementsByClassName("wcf-cpf-add_to")[0],c=document.getElementsByClassName("wcf-cpf-type")[0],u=document.getElementsByClassName("wcf-cpf-label")[0],d=document.getElementsByClassName("wcf-cpf-name")[0],m=document.getElementsByClassName("wcf-cpf-min")[0],g=document.getElementsByClassName("wcf-cpf-max")[0],p=document.getElementsByClassName("wcf-cpf-default")[0],f=document.getElementsByClassName("wcf-cpf-placeholder")[0],M=document.getElementsByClassName("wcf-cpf-options")[0],h=document.getElementsByClassName("wcf-cpf-min-date")[0],y=document.getElementsByClassName("wcf-cpf-max-date")[0],N=document.getElementsByClassName("wcf-cpf-width")[0],w=document.getElementsByClassName("wcf-cpf-show-in-email")[0],x=document.getElementsByClassName("wcf-cpf-required")[0],b=document.getElementsByClassName("wcf-cpf-optimized")[0],D=document.getElementsByClassName("wcf-cpf-date-input")[0],j=D?D.options[D.selectedIndex].value:"";if(""===u.value){const e=document.createElement("span");return e.className="text-xs text-primary-500",e.textContent=(0,z.__)("Label is required field","cartflows"),document.querySelector(".wcf-cpf-label").insertAdjacentElement("afterend",e),u.focus(),a((0,z.__)("Add New Field","cartflows")),""}const v=new FormData;v.append("add_to",l?l.value:""),v.append("type",c?c.value:""),v.append("label",u?u.value:""),v.append("name",d?d.value:""),v.append("default",p?p.value:""),v.append("min",m?m.value:""),v.append("max",g?g.value:""),v.append("placeholder",f?f.value:""),v.append("min_date",h?h.value:""),v.append("max_date",y?y.value:""),v.append("options",M?M.value:""),v.append("date_input",j||"datetime-local"),v.append("width",N?N.value:""),v.append("required",x?x.value:""),v.append("show_in_email",w?w.value:""),v.append("optimized",b?b.value:""),v.append("action","cartflows_pro_prepare_custom_field"),v.append("security",cartflows_admin.prepare_custom_field_nonce),v.append("post_id",r),v.append("save_field_name","wcf_field_order_"),A()({url:cartflows_admin.ajax_url,method:"POST",body:v}).then((e=>{if(e.success){const t=e.data,a=t.field_data;if("billing"===t.add_to){i.push(a);const e=n.wcf_field_order_billing;e[t.new_field.key]=t.new_field,o({type:"SET_OPTION",name:"wcf_field_order_billing",value:e}),o({type:"SET_FIELDS",field_type:"billing",fields:i})}if("shipping"===t.add_to){s.push(a);const e=n.wcf_field_order_shipping;e[t.new_field.key]=t.new_field,o({type:"SET_OPTION",name:"wcf_field_order_shipping",value:e}),o({type:"SET_FIELDS",field_type:"shipping",fields:s})}}t()}))},step_type:"checkout"}))))))),(0,e.createElement)(HD,{settings:a.checkout_settings}),(0,e.createElement)(HD,{settings:a.button_settings})))},Qj=function(){return(0,e.createElement)("div",{className:"wcf-custom-field-editor is-placeholder"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__content"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__title"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("form",null,(0,e.createElement)("table",null,(0,e.createElement)("tbody",null,(0,e.createElement)("tr",null,(0,e.createElement)("div",{className:"checkbox-title"})))),(0,e.createElement)("div",{className:"wcf-optin-fields-section-section"},(0,e.createElement)("div",{className:"wcf-custom-field-editor-title-section"},(0,e.createElement)("div",{className:"title"})),(0,e.createElement)("div",{className:"wcf-optin-fields"},(0,e.createElement)("div",{className:"title"}),(0,e.createElement)("div",{className:"title"}),(0,e.createElement)("div",{className:"title"}))),(0,e.createElement)("div",{className:"wcf-field wcf-submit"},(0,e.createElement)("div",{className:"wcf-optin-form-field__button"})))))},Pj=function(){const[{custom_fields:t,step_id:a,options:r,billing_fields:n},i]=zl();if(void 0===t)return(0,e.createElement)(Qj,null);const s=t.extra_fields;return(0,e.createElement)("div",{className:"wcf-custom-field-editor"},(0,e.createElement)("div",{className:"wcf-custom-field-editor__content"},(0,e.createElement)("h3",{className:"wcf-custom-field-editor__title hidden relative justify-between items-center w-full py-4 px-8 text-base font-semibold text-gray-800 text-left transition focus:outline-none"},(0,z.__)("Field Editor","cartflows")),(0,e.createElement)("div",{className:"wcf-optin-fields--enable_option px-8 py-4 -mx-6 pt-0"},s&&Object.keys(s.fields).map((t=>{const a=s.fields[t],n=r[a.name]?r[a.name]:"";return(0,e.createElement)("div",{key:t,className:"w-full"},(0,e.createElement)(bh,{name:a.name,value:n,label:a.label,desc:a.desc,fullWidth:!0}))}))),"yes"===r["wcf-optin-enable-custom-fields"]&&(0,e.createElement)("div",{className:"wcf-optin-fields-section-section"},(0,e.createElement)("div",{id:"wcf-optin-fields",className:"billing-field-sortable wcf-field-row"},(0,e.createElement)(Oj,{data:n,step:"optin",type:"billing",removeCallback:function(e){e.preventDefault();const t=new FormData,r=e.target.getAttribute("data-key"),s=e.target.getAttribute("data-type");t.append("action","cartflows_pro_delete_custom_field"),t.append("security",cartflows_admin.delete_custom_field_nonce),t.append("post_id",a),t.append("key",r),t.append("type",s),t.append("step","optin"),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{if(console.log(e),e.status){const e=n.filter((function(e){return e.key!==r}));i({type:"SET_FIELDS",field_type:"billing",fields:e})}}))}})),(0,e.createElement)("div",{className:"wcf-custom-field-editor-title-section"},wcfCartflowsPro()&&(0,e.createElement)("div",{className:"wcf-custom-field-editor-buttons"},(0,e.createElement)(Cj,{addNewField:function(e,t,s){e.preventDefault();const o=document.getElementsByClassName("wcf-cpf-type")[0],l=document.getElementsByClassName("wcf-cpf-label")[0],c=document.getElementsByClassName("wcf-cpf-name")[0],u=document.getElementsByClassName("wcf-cpf-default")[0],d=document.getElementsByClassName("wcf-cpf-placeholder")[0],m=document.getElementsByClassName("wcf-cpf-min")[0],g=document.getElementsByClassName("wcf-cpf-max")[0],p=document.getElementsByClassName("wcf-cpf-options")[0],f=document.getElementsByClassName("wcf-cpf-min-date")[0],M=document.getElementsByClassName("wcf-cpf-max-date")[0],h=document.getElementsByClassName("wcf-cpf-width")[0],y=document.getElementsByClassName("wcf-cpf-show-in-email")[1],N=document.getElementsByClassName("wcf-cpf-required")[1],w=document.getElementsByClassName("wcf-cpf-date-input")[0],x=w?w.options[w.selectedIndex].value:"";if(""===l.value){const e=document.createElement("span");return e.className="text-xs text-primary-500",e.textContent=(0,z.__)("Label is required field","cartflows"),document.querySelector(".wcf-cpf-label").insertAdjacentElement("afterend",e),l.focus(),s((0,z.__)("Add New Field","cartflows")),!1}const b=new FormData;b.append("add_to","billing"),b.append("type",o?o.value:""),b.append("label",l?l.value:""),b.append("name",c?c.value:""),b.append("default",u?u.value:""),b.append("placeholder",d?d.value:""),b.append("options",p?p.value:""),b.append("min",m?m.value:""),b.append("max",g?g.value:""),b.append("width",h?h.value:""),b.append("min_date",f?f.value:""),b.append("max_date",M?M.value:""),b.append("show_in_email",y?y.value:""),b.append("date_input",x||"datetime-local"),b.append("required",N?N.value:""),b.append("action","cartflows_pro_prepare_custom_field"),b.append("security",cartflows_admin.prepare_custom_field_nonce),b.append("post_id",a),b.append("save_field_name","wcf-optin-fields-"),A()({url:cartflows_admin.ajax_url,method:"POST",body:b}).then((e=>{if(e.success){const t=e.data,a=t.field_data;if("billing"===t.add_to){n.push(a);const e=r["wcf-optin-fields-billing"];e[t.new_field.key]=t.new_field,i({type:"SET_OPTION",name:"wcf-optin-fields-billing",value:e}),i({type:"SET_FIELDS",field_type:"billing",fields:n})}}t()}))},step_type:"optin"}))))))},Fj=function(a){const[r,n]=(0,t.useState)({}),[{license_status:i}]=g(),s=a.btnText||(0,z.__)("Upgrade to CartFlows Pro","cartflows"),o=function(t){const o=t.title.toLowerCase().replace(/ /g,"_"),l=o+"-field-wrapper",c="wcf-field--"+o,u=r[l]?"":"collapsed";return(0,e.createElement)("div",{className:`wcf-${c} accordion-item bg-white -mx-8 border-b border-gray-200`},(0,e.createElement)("h2",{className:"accordion-header mb-0",id:`wcf_${l}_toggler`.toLowerCase()},(0,e.createElement)("button",{className:`wcf-accordion-button flex justify-between items-center w-full py-4 px-8 text-base font-semibold text-gray-800 text-left transition focus:outline-none ${u}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#wcf_collapse_${l}`,"aria-expanded":"false","aria-controls":`wcf_collapse_${l}`,onClick:()=>function(e){n((t=>({...t,[e]:!t[e]})))}(l)},(0,e.createElement)("div",null,(0,e.createElement)("span",null,t.title),(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)] ml-2"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows")))),u?(0,e.createElement)(Gy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}):(0,e.createElement)(Jy,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)("div",{id:`wcf_collapse_${l}`,className:`accordion-collapse px-8 pt-4 pb-8 ${u}`,"aria-labelledby":`wcf_${l}_toggler`},(0,e.createElement)("div",{className:"accordion-body"},(0,e.createElement)("div",{className:"p-5 border border-gray-200 rounded-md bg-primary-25"},(0,e.createElement)("div",{className:"mx-auto lg:flex lg:items-center lg:justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("h2",{className:"text-base font-medium tracking-tight text-gray-800 sm:text-base mb-2"},t.noticeTitle),(0,e.createElement)("span",{className:"text-sm font-normal text-gray-600"},t.noticeDesc)),(0,e.createElement)("div",{className:"mt-10 flex items-center gap-x-6 lg:mt-0 lg:flex-shrink-0"},function(){const t=cartflows_admin.cf_pro_status;return wcfCartflowsTypePro()||"inactive"!==t||"pro"!==wcfInactivepluginType()?wcfCartflowsTypePlusPro()?"Activated"!==i?(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:(0,z.__)("Activate the License","cartflows")}))):void 0:wcfInactiveProPlus()?(0,e.createElement)(yy,null):(0,e.createElement)(Ny,{buttonLink:a.buttonLink,title:s,buttonStyle:"secondary"}):(0,e.createElement)(yy,null)}()))))))};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-checkout-products--coupon"},(0,e.createElement)("div",{className:"wcf-product-coupon-wrapper"},o({title:(0,z.__)("Auto Apply Coupon","cartflows"),noticeTitle:(0,z.__)("Boost Sales Instantly with Auto-Applied Coupons!","cartflows"),noticeDesc:(0,z.__)("No codes, no hassle—discounts apply instantly at checkout. Upgrade to CartFlows PRO and start converting more customers today!","cartflows")}))),(0,e.createElement)("div",{className:"wcf-checkout-products--options"},(0,e.createElement)("div",{className:"wcf-product-options-wrapper"},o({title:(0,z.__)("Product Options","cartflows"),noticeTitle:(0,z.__)("Give Your Customers More Choices, Boost Your Sales","cartflows"),noticeDesc:(0,z.__)("Make buying easier with flexible product options. Let customers make the right choices from your checkout. Upgrade to CartFlows PRO and start customizing today!","cartflows")}))))},Rj=function(){const[{step_data:t,settings_data:a,page_settings:r,options:n}]=zl(),[{license_status:i}]=g(),s=r;if(void 0===a.settings)return(0,e.createElement)(XD,null);const o=n["wcf-checkout-products"];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-checkout-products"},(0,e.createElement)("div",{className:"wcf-checkout-products--selection wcf-checkout__section"},(0,e.createElement)("div",{className:"wcf-product-selection-wrapper"},(0,e.createElement)(HD,{settings:s.settings.product,isOpen:!0}))),"checkout"===t.type&&(!wcfCartflowsPro()||"Activated"!==i)&&(0,e.createElement)("div",{className:"wcf-checkout-products__pro-options-cta-wrapper"},(0,e.createElement)(Fj,null)),"checkout"===t.type&&wcfCartflowsPro()&&"Activated"===i&&(0,e.createElement)("div",{className:"wcf-checkout-products__pro-options"},(0,e.createElement)("div",{className:"wcf-checkout-products--coupon"},(0,e.createElement)("div",{className:"wcf-coupon-selection-wrapper"},(0,e.createElement)(HD,{settings:s.settings.coupon}))),o&&(0,e.createElement)(HD,{settings:s.settings["product-options"]}))))},Hj=function(){const[{settings_data:a,page_settings:r,options:n},i]=zl(),s=n["wcf-optin-product"]?n["wcf-optin-product"]:[],[o,l]=(0,t.useState)(),[c,u]=(0,t.useState)(""),[d,m]=(0,t.useState)(!1),g=(0,z.__)("Add","cartflows"),[p,f]=(0,t.useState)({isInProcessing:!1,buttonText:g}),{isInProcessing:M,buttonText:h}=p;return void 0===a.settings?(0,e.createElement)(XD,null):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-optin-product--wrapper"},(0,e.createElement)("h2",{className:"text-base font-semibold text-gray-800 py-4"},(0,z.__)("Optin Product","cartflows")),(0,e.createElement)("div",{className:"wcf-optin-products--selection wcf-products__section"},0===s.length||""===s[0]?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("input",{name:"wcf-optin-product[]",type:"hidden",value:""}),(0,e.createElement)("div",{className:"wcf-optin-no-product--notice border border-gray-200 bg-gray-25 text-center text-sm font-normal rounded-md p-5"},(0,z.__)("Select free & virtual product only. Once you select a product, it will be displayed here.","cartflows")),(0,e.createElement)("div",{className:"wcf-optin-product-selection-field__add-new flex justify-between gap-5 mt-5"},(0,e.createElement)(dh,{name:"",desc:"",field:"product",value:c,allowed_products:"simple",include_products:"braintree-subscription, braintree-variable-subscription",excluded_products:"grouped",placeholder:(0,z.__)("Search for a Free & Virtual Product","cartflows"),onChangeCB:e=>{l(e),m(!1)},class:d?"border border-red-600":""}),(0,e.createElement)("div",{className:"wcf-select-product-button inline-flex"},(0,e.createElement)("button",{type:"button",className:xr()("wcf-button",M?"wcf-disabled":"wcf-secondary-button"),onClick:function(){const e=o?.value;u(o),e&&(f({isInProcessing:!0,buttonText:(0,z.__)("Adding…","cartflows")}),A()({path:`/cartflows/v1/admin/product-data/${e}`}).then((t=>{t.regular_price>0||!t.is_virtual?m(!0):(m(!1),i({type:"ADD_OPTIN_PRODUCT",field_name:"wcf-optin-product",product_data:{value:e,label:o?.label,img_url:t?.img_url}})),u(null),f({isInProcessing:!1,buttonText:g})})),l(null))}},!M&&(0,e.createElement)(Tr,{className:"w-4 h-4 stroke-2","aria-hidden":"true"}),M&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin","aria-hidden":"true"}),h))),d&&(0,e.createElement)("span",{className:"text-sm mt-2 text-red-600 wcf-field-required-error inline-block"},(0,z.__)("Please select a free & virtual product only.","cartflows")),(0,e.createElement)(Vl,null)):(0,e.createElement)("div",{className:"overflow-visible shadow border border-gray-200 rounded-md"},(0,e.createElement)("div",{className:"wcf-optin-product-selection--selected-product flex items-center p-3 gap-4"},(0,e.createElement)("div",{className:"wcf-optin-product-selection--product-title whitespace-nowrap text-sm font-medium text-gray-900 w-1/2"},(0,e.createElement)("div",{className:"flex gap-3 items-center"},(0,e.createElement)("div",{className:"wcf-optin-product-selection--product-image flex w-20 h-20"},(0,e.createElement)("img",{src:s.img_url?s.img_url:cartflows_admin.image_placeholder,className:"product-image rounded-md w-full h-full aspect-{3/2} object-contain",alt:Nr(s.label)})),(0,e.createElement)("div",{className:"wcf-optin-product-selection--product-title_text"},(0,e.createElement)("div",{className:"wcf-offer-product-repeater-field__title whitespace-normal text-left","data-product_id":s.value},Nr(s.label)),(0,e.createElement)("div",{className:"wcf-optin-product-repeater-field__reg-price mt-1"},(0,e.createElement)("div",{className:"flex gap-2"},(0,e.createElement)("span",{className:"wcf-offer-product--reg-price"},(0,z.__)("Free","cartflows"))))))),(0,e.createElement)("div",{className:"wcf-optin-product-selection-actions flex gap-2 relative whitespace-nowrap text-right text-sm font-medium w-[5%] justify-center ml-auto"},(0,e.createElement)("div",{className:"wcf-delete-product-item cursor-pointer text-gray-500 hover:text-primary-500 p-1 hover:bg-gray-100 focus:bg-gray-100 rounded relative justify-end",onClick:function(){i({type:"REMOVE_OPTIN_PRODUCT",field_name:"wcf-optin-product"})}},(0,e.createElement)(Bl,{className:"h-18 w-18"}))),(0,e.createElement)("input",{name:"wcf-optin-product[]",type:"hidden",className:"wcf-checkout-product-id",value:s.value})))),(0,e.createElement)("div",{className:"wcf-offer-product--common-settings pt-2"},(0,e.createElement)(GD,{settings:r?.settings.product,displayAs:"div"}))))};function Bj(){return(0,e.createElement)("div",{className:"wcf-slide-out-panel--loader-wrapper animate-pulse"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--header flex items-center px-6 py-5"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--step-title w-full"},(0,e.createElement)("span",{className:"h-4 w-2/4 bg-gray-200 rounded-md block"})),(0,e.createElement)("div",{className:"wcf-slide-out-panel--submit-button w-full flex justify-end"},(0,e.createElement)("span",{className:"h-10 w-40 bg-gray-200 rounded-md block"}))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--body px-6 py-5 w-full bg-white overflow-hidden"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--tabs flex gap-4 mb-4"},(0,e.createElement)("span",{className:"w-20 h-3 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-3 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-3 bg-gray-200 rounded-md"}),(0,e.createElement)("span",{className:"w-20 h-3 bg-gray-200 rounded-md"})),(0,e.createElement)("div",{className:"w-full border-b border-gray-200 mb-4"}),(0,e.createElement)("div",{className:"wcf-accordion-loader mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"})),(0,e.createElement)("div",{className:"w-full border-b border-gray-200 mb-4"}),(0,e.createElement)("div",{className:"wcf-accordion-loader mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"})),(0,e.createElement)("div",{className:"w-full border-b border-gray-200 mb-4"}),(0,e.createElement)("div",{className:"wcf-accordion-loader mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"})),(0,e.createElement)("div",{className:"w-full border-b border-gray-200 mb-4"}),(0,e.createElement)("div",{className:"wcf-accordion-loader mb-3.5"},(0,e.createElement)("span",{className:"block h-4 w-28 bg-gray-200 rounded-md mb-4"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-10/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md mb-4 w-8/12"}),(0,e.createElement)("span",{className:"block h-4 bg-gray-200 rounded-md w-1/2 mb-4"})),(0,e.createElement)("div",{className:"w-full border-b border-gray-200 mb-4"})))}function Wj(...e){return e.filter(Boolean).join(" ")}function Vj(a){var r,n;const[{flow_id:i,step_data:s,flow_type:o,options:l,page_builder:c,is_flow_instant_checkout:u},d]=zl(),m=(0,t.useRef)(null),p=jx(),[{},M]=g(),h=(0,f.useHistory)(),y=new URLSearchParams((0,f.useLocation)()?.search);let N=null!==(r=y.get("step_id"))&&void 0!==r?r:"";const w=null!==(n=y.get("tab"))&&void 0!==n?n:"",{saveOrderBump:x}=pj(),[b,D]=(0,t.useState)(w||"products"),j="active"===cartflows_admin.woocommerce_status;let v=j;j||"landing"!==s.type||(v=!0);let _=""!==N;0!==Object.keys(s).length&&s.id.toString()===N&&(_=!1),(0,t.useEffect)((()=>{let e=!0;return""!==N&&(async()=>{A()({path:`/cartflows/v1/admin/step-data/${N}`}).then((t=>{if(e){if(t.billing_fields){const e=Object.entries(t.billing_fields.fields).map((([e,t])=>({...t,key:e})));t.billing_fields=e}if(t.shipping_fields){const e=Object.entries(t.shipping_fields.fields).map((([e,t])=>({...t,key:e})));t.shipping_fields=e}d({type:"SET_STEP_DATA",data:t})}}))})(),()=>{e=!1}}),[N]);let E=[];if(s?.tabs){const e=s.tabs;E=[];const t=Object.values(e).sort((function(e,t){return e.priority-t.priority}));Object.keys(t).map((e=>{const a=t[e],r={name:a.title,id:a.id};return E.push(r),""})),"other"!==c&&"yes"!==u&&(E=E.filter((function(e){return"design"!==e.id})))}const L=function(){N="",h.push("storeCheckout"===o?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${i}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${i}`)};return(0,e.createElement)(Pt,{show:""!==N,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-[99999] sm:z-20 md:z-20 lg:z-20 wcf-funnel-step-setting--slide-out",onClose:()=>{L()}},(0,e.createElement)(Qt,{as:t.Fragment,enter:"transition-opacity ease-linear duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-linear duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-900 bg-opacity-75 transition-opacity z-10",onClick:L})),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden z-20"},(0,e.createElement)("div",{className:"wcf-slide-out-panel absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--content !pl-10 pointer-events-none fixed inset-y-0 top-0 sm:top-7 md:top-7 lg:top-7 right-0 flex max-w-full z-20"},(0,e.createElement)(Qt,{as:t.Fragment,enter:"transition-transform ease-in-out duration-700 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform ease-in-out duration-700 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(dr,{className:"pointer-events-auto w-screen max-w-4.5xl relative top-1"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--close bg-white absolute -left-10"},(0,e.createElement)(I,{key:"close",to:{pathname:"admin.php",search:"storeCheckout"===o?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${i}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${i}`},className:"flex justify-center items-center p-2.5 text-gray-400 hover:text-gray-500 outline-none focus:outline-none shadow-none focus:shadow-none"},(0,e.createElement)("button",{type:"button",onClick:()=>{D("products"),setTimeout((()=>M({status:"RESET"})),500)}},(0,e.createElement)(Sr,{className:"w-5 h-5","aria-hidden":"true"})))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--content-body flex h-full flex-col overflow-y-scroll bg-white shadow-xl"},_&&(0,e.createElement)(Bj,null),!_&&(0,e.createElement)("form",{className:"wcf-slide-out-panel--form",onSubmit:function(e){e.preventDefault();const t=new window.FormData(e.target);if("yes"===l["wcf-enable-product-options"]&&Object.entries(l["wcf-product-options-data"]).forEach((([e,a])=>{Object.entries(a).forEach((([a,r])=>{t.append(`wcf-product-options-data[${e}][${a}]`,r)}))})),"order_bumps"===b)x();else{if(t.append("action","cartflows_save_meta_settings"),t.append("security",cartflows_admin.save_meta_settings_nonce),t.append("post_id",i),t.append("step_id",N),console.log(b),"products"===b&&"checkout"===s.type&&"single-selection"===l["wcf-product-options"]){const e=t.get("wcf_default_add_to_cart[]");t.set(`wcf-product-options-data[${e}][add_to_cart]`,"yes")}A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{M({status:"SAVED"}),["products"].includes(b)&&a.renderCb()}))}}},(0,e.createElement)("div",{className:"wcf-slide-out-panel--header flex items-center justify-between px-6 py-5 gap-4"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--step-title"},(0,e.createElement)(gr.Title,{className:"text-lg font-medium text-gray-900"},(0,e.createElement)(PD,{type:"flow",action:"wcf-edit-flow"}))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--submit-button "+(!j&&["checkout","upsell","downsell","thankyou"].includes(s.type)?"hidden":"")},(0,e.createElement)(Cr,{id:"wcf-save-step-meta",ref:m}))),v?(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-slide-out-panel--nav-menu border-b border-gray-200 px-6"},(0,e.createElement)("nav",{className:"-mb-px flex gap-6"},E.map((t=>(0,e.createElement)("a",{key:t.id,onClick:()=>{!async function(e){e!==b?(await async function(){return!!window.wcfUnsavedChanges&&await p({title:"Save Changes",description:"You have made changes. Do you want to save the changes?",actionBtnText:"Yes",cancelBtnText:"No"})}()&&m.current?.click(),D(e),window.wcfUnsavedChanges=!1):D(e)}(t.id)},className:Wj(b===t.id?"border-orange-500 text-orange-600 hover:text-orange-600 focus:text-orange-600":"border-transparent text-gray-500 hover:text-orange-600 hover:border-orange-600","transition ease-linear duration-300 whitespace-nowrap py-4 cursor-pointer border-b-2 font-medium text-sm inline-flex items-center pl-0 gap-1.5")},function(t){let a="";switch(t){case"products":a=(0,e.createElement)(AD,{className:"w-4 h-4"});break;case"order_bumps":a=(0,e.createElement)(db,{className:"w-4 h-4"});break;case"checkout_form_fields":a=(0,e.createElement)(AN,{className:"w-4 h-4"});break;case"dynamic-offers":a=(0,e.createElement)(kD,{className:"w-4 h-4"});break;case"checkout_offer":case"optin_form_fields":a=(0,e.createElement)(OD,{className:"w-4 h-4"});break;case"settings":a=(0,e.createElement)(Rl,{className:"w-4 h-4"});break;default:a=(0,e.createElement)(YD,{className:"w-4 h-4"})}return a}(t.id),t.name))))),(0,e.createElement)("div",{role:"list",className:"wcf-slide-out-panel--settings flex-1 p-8"},function(){let t=(0,e.createElement)("h1",null,"404 Not Found");if(N)switch(b){case"design":default:t=(0,e.createElement)(BD,null);break;case"settings":t=(0,e.createElement)(ZD,null);break;case"products":"checkout"===s.type?"storeCheckout"!==o||cartflows_admin.store_checkout_show_product_tab?t=(0,e.createElement)(Rj,null):(t=(0,e.createElement)(Nj,null),D("order_bumps")):["upsell","downsell"].includes(s.type)?t=(0,e.createElement)(JD,null):"optin"===s.type&&(t=(0,e.createElement)(Hj,null)),"landing"!==s.type&&"thankyou"!==s.type||(t=(0,e.createElement)(ZD,null),D("settings"));break;case"checkout_form_fields":t=(0,e.createElement)(Uj,null);break;case"order_bumps":t=(0,e.createElement)(Nj,null);break;case"checkout_offer":t=(0,e.createElement)(Ij,null);break;case"optin_form_fields":t=(0,e.createElement)(Pj,null);break;case"dynamic-offers":t=(0,e.createElement)(Aj,null)}return(0,e.createElement)("div",{className:"wcf-page-wrapper"},t)}())):(0,e.createElement)("div",{className:"wcf-woo-notice-wrapper flex-1 p-6"},(0,e.createElement)("div",{className:"bg-primary-25 border border-gray-200 rounded-lg px-5 py-4 lg:px-7 sm:py-6 flex justify-between gap-6 "},(0,e.createElement)("div",{className:"max-w-full"},(0,e.createElement)("h2",{className:"text-base font-medium tracking-tight text-gray-800 sm:text-base"},(0,z.__)("WooCommerce is Required!","cartflows")),(0,e.createElement)("p",{className:"wcf-upgrade-to-pro-cta--text text-base font-normal text-gray-600 mt-2"},(0,z.sprintf)(
// translators: %s: step type
// translators: %s: step type
(0,z.__)("To modify the %s step options, please install and activate the WooCommerce plugin.","cartflows"),s.type))),(0,e.createElement)("div",{className:"mt-10 flex items-center gap-x-6 lg:mt-0 lg:flex-shrink-0"},(0,e.createElement)("a",{className:"wcf-button wcf-primary-button focus:text-white","data-init":"woocommerce/woocommerce.php",onClick:e=>{const t=new window.FormData;t.append("action","cartflows_activate_plugin"),t.append("init",e.target.dataset.init),t.append("security",cartflows_admin.activate_plugin_nonce),e.target.innerText=(0,z.__)("Activating…","cartflows"),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{e.target.innerText=(0,z.__)("Activated","cartflows"),window.location.reload()}))}},(0,z.__)("Activate WooCommerce","cartflows"))))))))))))))}const Zj=function(){return(0,e.createElement)("div",{className:"wcf-flow-analytics--loader my-6 mx-0"},(0,e.createElement)("div",{className:"gap-5 sm:grid-cols-3 flex w-full"},Array(4).fill().map(((t,a)=>(0,e.createElement)("div",{key:a,className:"wcf-analytics--stats-tab animate-pulse gap-3 flex justify-between items-center overflow-hidden bg-white border border-primary-100 rounded-lg px-4 py-5 shadow-none sm:p-6 w-1/4"},(0,e.createElement)("div",{className:"wcf-analytics--tabs-stats-text w-full"},(0,e.createElement)("dt",{className:"text-sm font-normal text-gray-600"},(0,e.createElement)("span",{className:"h-3 w-4/5 bg-gray-200 rounded-md px-10 block"}),(0,e.createElement)("span",{className:"h-3 w-3/6 bg-gray-200 rounded-md px-10 block mt-2"})),(0,e.createElement)("dd",{className:"wcf-analytics--stats-count mt-2 h-3 bg-gray-200 rounded-md px-10 block w-1/5"})),(0,e.createElement)("div",{className:"wcf-analytics--tabs-stats-icon"},(0,e.createElement)("div",{className:"rounded-full bg-slate-200 p-7"})))))))};function Gj(a){const[{flow_id:r,flow_settings:n}]=zl(),[{},i]=g();let s=!0;return void 0!==n.settings&&(s=!1),s?"":(0,e.createElement)(Pt,{show:a.isOpen,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-[99999] sm:z-20 md:z-20 lg:z-20 wcf-funnel-settings--slide-out",onClose:()=>{}},(0,e.createElement)(Qt,{as:t.Fragment,enter:"transition-opacity ease-linear duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-linear duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-900 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"wcf-slide-out-panel fixed inset-0 overflow-hidden",onClick:e=>{a.onClose(e)}},(0,e.createElement)("div",{className:"wcf-slide-out-panel--wrapper absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--content !pl-10 pointer-events-none fixed inset-y-0 top-0 sm:top-7 md:top-7 lg:top-7 right-0 flex max-w-full z-20"},(0,e.createElement)(Qt,{as:t.Fragment,enter:"transition-transform ease-in-out duration-700 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform ease-in-out duration-700 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(dr,{className:"pointer-events-auto w-screen max-w-4.5xl relative top-1"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--close bg-white absolute -left-10"},(0,e.createElement)("button",{type:"button",className:"flex justify-center items-center p-2.5 text-gray-400 hover:text-gray-500 outline-none focus:outline-none shadow-none focus:shadow-none",onClick:e=>{a.onClose(e),setTimeout((()=>i({status:"RESET"})),500)}},(0,e.createElement)(Sr,{className:"h-6 w-6","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--content-body flex h-full flex-col overflow-y-scroll bg-white shadow-xl"},(0,e.createElement)("form",{onSubmit:function(e){e.preventDefault();const t=new window.FormData(e.target);t.append("action","cartflows_save_flow_meta_settings"),t.append("security",cartflows_admin.save_flow_meta_settings_nonce),t.append("flow_id",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{i({status:"SAVED"})}))}},(0,e.createElement)("div",{className:"wcf-slide-out-panel--header flex justify-between items-center px-6 py-5"},(0,e.createElement)(gr.Title,{className:"text-lg font-medium text-gray-900"},(0,z.__)("Funnel Settings","cartflows")),(0,e.createElement)(Cr,{label:(0,z.__)("Save Setting","cartflows")})),(0,e.createElement)("div",{className:"wcf-slide-out-panel--nav-menu px-6"},n&&Object.keys(n.settings).map(((t,a)=>{const r=n.settings[t];return(0,e.createElement)(HD,{key:a,settings:r,isOpen:0===a})}))))))))))))}const Xj=window.wp.components,Jj=function(a){const{type:r}=a,[{flow_id:n,title:i,steps:s,global_checkout:o,status:l},c]=zl(),[u,d]=(0,t.useState)(!1),m=(0,z.__)("Save","cartflows"),[g,p]=(0,t.useState)({saveBtnString:m,saveBtnProcess:!1}),{saveBtnString:f,saveBtnProcess:M}=g,h=!!Number.isInteger(o),y=Number.isInteger(o)?"disable":"enable",N={disable:(0,z.__)("Disable Store Checkout","cartflows"),enable:(0,z.__)("Enable Store Checkout","cartflows")},[w,x]=(0,t.useState)(l),[b,D]=(0,t.useState)(h),[j,v]=(0,t.useState)(!1),[_,I]=(0,t.useState)(y),E=(0,t.createRef)(),L=jx();let T="";if("storeCheckout"===r)for(let e=0;e<s.length;e++)if("checkout"===s[e].type){T=s[e].id;break}(0,t.useEffect)((()=>{x(l)}),[l]);const k=function(e){e.preventDefault(),d(!0)},S=function(e){e.preventDefault(),p({saveBtnString:(0,z.__)("Saving…","cartflows"),saveBtnProcess:"processing"});const t=E.current.value,a=new window.FormData;a.append("action","cartflows_update_flow_title"),a.append("security",cartflows_admin.update_flow_title_nonce),a.append("flow_id",n),a.append("new_flow_title",t),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((()=>{c({type:"SET_FLOW_TITLE",title:t}),p({saveBtnString:(0,z.__)("Saved","cartflows"),saveBtnProcess:"saved"}),setTimeout((()=>{p({saveBtnString:m,saveBtnProcess:!1}),d(!1)}),3e3)}))},O=function(e){e.preventDefault(),d(!1)},C=async function(e){e.preventDefault();let t=!1,a="";switch(w){case"draft":case"private":t=await L({title:"Publish Funnel",description:(0,z.__)("Do you really want to publish this funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}),a="publish",window.wcfAction="restoreFlow";break;case"publish":t=await L({title:(0,z.__)("Draft Funnel","cartflows"),description:(0,z.__)("Do you really want to draft this funnel?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}),a="draft",window.wcfAction="draftFlow"}if(!t)return;const r=new window.FormData;r.append("action","cartflows_update_status"),r.append("security",cartflows_admin.update_status_nonce),r.append("flow_id",n),r.append("new_status",a),(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:r}).then((e=>{e.success&&x(a)})))};if(!1===i)return(0,e.createElement)("div",{className:"wcf-edit-flow__title-wrap w-2/3 animate-pulse"},(0,e.createElement)("div",{className:"wcf-flows-header--title wcf-step__title--editable flex gap-2.5 items-center"},(0,e.createElement)("span",{className:"h-3 w-full bg-gray-200 rounded-md px-10 block"})));const Y=[{value:"draft",label:(0,z.__)("Draft","cartflows")},{value:"publish",label:(0,z.__)("Publish","cartflows")}];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-edit-flow__title-wrap w-full sm:w-3/4"},(0,e.createElement)("div",{className:"wcf-flows-header--title wcf-step__title--editable flex gap-2.5 items-center"},function(){let t=i;""===i&&(t=(0,z.__)("(no title)","cartflows"));let a=Mr(t,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length),r=(0,e.createElement)("a",{href:"#",className:"wcf-flows-header__title--edit",onClick:k},(0,e.createElement)(fh,{text:(0,z.__)("Edit Title","cartflows"),icon:(0,e.createElement)(QD,{className:"w-6 h-6 stroke-1 text-gray-400 hover:text-primary-500","aria-hidden":"true"})}));return u&&(a=(0,e.createElement)(cg,{attr:{ref:E},id:"new-flow-title",value:i,autocomplete:"off",class:"new-flow-title input-field !px-4 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !w-full !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0"}),r=(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+("processing"===M?"wcf-disabled":""),type:"button",onClick:S},"processing"===M&&(0,e.createElement)(ay,null),"saved"===M&&(0,e.createElement)(Er,{className:"w-4 h-4 stroke-2 inline-block"}),f),(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",href:"#",onClick:O},(0,z.__)("Cancel","cartflows")))),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-flows-header__title--text text-gray-800 text-lg sm:text-2xl font-semibold",title:t},a),(0,e.createElement)("span",{className:"wcf-flows-header__title--buttons flex gap-3"},r))}(),"flows"===r&&!u&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"divider h-10 w-px bg-gray-200"}),(0,e.createElement)(Xj.ButtonGroup,{className:"flex flex-row border border-gray-300 rounded-md bg-white"},Y.map((t=>(0,e.createElement)(Xj.Button,{key:`option-${t.value}`,value:t.value,isLarge:!0,className:xr()("w-full sm:w-auto rounded-md p-2.5 text-xs",w===t.value?"text-primary-600 font-medium bg-primary-25 outline-none ring-1 ring-primary-300 rounded-lg shadow shadow-primary-lg":"text-gray-700 font-normal"),onClick:w!==t.value?C:null,"aria-label":t.label,label:t.label},t.label))))),"storeCheckout"===r&&!u&&(0,e.createElement)("div",{className:"wcf-store-checkout_status--container flex gap-4"},(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)("span",{className:"wcf_store_checkout_status_label text-gray-600"},(0,z.__)("Enable Store Checkout","cartflows")),(0,e.createElement)("div",{className:"wcf_store_checkout__status flex justify-between gap-3"},(0,e.createElement)("button",{type:"button",className:xr()(a.class,"bg-gray-200 group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none focus:ring-2 focus:ring-primary-600 focus:ring-offset-2",b?"bg-primary-600":"bg-gray-200"),title:N[_],"data-wcf-order-bump-switch":b,"data-checkout-id":T,onClick:()=>{const e=new window.FormData;v(!0),e.append("action","cartflows_update_store_checkout_status"),e.append("security",cartflows_admin.update_store_checkout_status_nonce),e.append("checkout_id",T),e.append("enable_store_checkout",!b),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.success&&(D(!b),v(!1),c({type:"SET_GLOBAL_CHECKOUT",global_checkout:e.data.checkout_id}),I("enable"===_?"disable":"enable"))}))}}," ",(0,e.createElement)("span",{"aria-hidden":"true",className:"pointer-events-none absolute h-full w-full rounded-md bg-white"}),(0,e.createElement)("span",{"aria-hidden":"true",className:xr()(b?"bg-primary-600":"bg-gray-200","bg-gray-200 pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out")}),(0,e.createElement)("span",{"aria-hidden":"true",className:xr()(b?"translate-x-5":"translate-x-0","translate-x-0 pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})),j&&(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 text-primary-500 animate-spin"}))))))};function qj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"}))}const $j=t.forwardRef(qj);function Kj({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 0 0-2.25 2.25v9a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25H15m0-3-3-3m0 0-3 3m3-3V15"}))}const ev=t.forwardRef(Kj);function tv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}const av=t.forwardRef(tv);function rv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}const nv=t.forwardRef(rv);function iv(...e){return e.filter(Boolean).join(" ")}const sv=function({isShowFlowSettings:a,setIsShowFlowSettings:r}){const[{options:n,flow_analytics:i,flow_type:s,flow_link:o,page_slug:l,flow_id:c},u]=zl(),d=[(0,z.__)("Total Visits","cartflows"),(0,z.__)("Unique Visits","cartflows"),(0,z.__)("Conversions","cartflows"),(0,z.__)("Conversion Rate","cartflows"),(0,z.__)("Revenue","cartflows")],[m,g]=(0,t.useState)(!1),[p,f]=(0,t.useState)(!0),[M,h]=(0,t.useState)(),y=new Date,[N,w]=(0,t.useState)(y.toISOString().slice(0,10));y.setDate(y.getDate()-7);const[x,b]=(0,t.useState)(y.toISOString().slice(0,10)),[D,j]=(0,t.useState)(),[v,_]=(0,t.useState)(!1),[I,E]=(0,t.useState)("no"),[L,T]=(0,t.useState)(!1),k=jx(),S=i?.revenue,O=i?.all_steps,C=new URLSearchParams(window.location.search).get("flow_id"),Y=e=>{const t=e.target.getAttribute("id");g((e=>!e)),h(parseInt(t))},U=[{name:"Total Orders",stat:S&&S.order_count?S.order_count:0,tooltip:(0,z.__)("Total number of orders.","cartflows"),icon:(0,e.createElement)(db,{className:"w-6 h-6 sm:w-8 sm:h-8 stroke-1 text-primary-500 hover:text-primary-600"})},{name:"Total Revenue",stat:S&&S.gross_sale?S.gross_sale:0,tooltip:(0,z.__)("Grand total of all orders.","cartflows"),icon:(0,e.createElement)(Ul,{className:"w-6 h-6 sm:w-8 sm:h-8 stroke-1 text-primary-500 hover:text-primary-600"})},{name:"Avg. Order Value",stat:S&&S.avg_order_value?S.avg_order_value:0,tooltip:(0,z.__)("Average total of every order.","cartflows"),icon:(0,e.createElement)($j,{className:"w-6 h-6 sm:w-8 sm:h-8 stroke-1 text-primary-500 hover:text-primary-600"})},{name:"Bump Offer Revenue",stat:S&&S.bump_offer?S.bump_offer:0,tooltip:(0,z.__)("Grand total of all order bumps.","cartflows"),icon:(0,e.createElement)(ev,{className:"w-6 h-6 sm:w-8 sm:h-8 stroke-1 text-primary-500 hover:text-primary-600"})}];(0,t.useEffect)((()=>{E(n&&n["wcf-testing"]?n["wcf-testing"]:"no")}),[n]);const Q=[{value:"yes",label:(0,e.createElement)("div",{className:"flex items-center gap-2"},(0,e.createElement)(av,{className:"h-4 w-4 stroke-2 text-amber-500"}),(0,z.__)("Sandbox Mode","cartflows"))},{value:"no",label:(0,e.createElement)("div",{className:"flex items-center gap-2"},(0,e.createElement)(nv,{className:"h-4 w-4 stroke-2 text-green-700"}),(0,z.__)("Live Mode","cartflows"))}],P=(0,e.createElement)(e.Fragment,null,L&&(0,e.createElement)(zr,{className:"w-4 h-4 stroke-2 animate-spin text-primary-500"}),(0,e.createElement)(ey,{value:Q.find((e=>e.value===I)),onChange:e=>(e=>{T(!0);const t=e,a=new window.FormData;a.append("action","cartflows_save_flow_meta_settings"),a.append("security",cartflows_admin.save_flow_meta_settings_nonce),a.append("flow_id",c),a.append("wcf-testing",t),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((()=>{u({type:"UPDATE_OPTIONS",options:{...n,"wcf-testing":t}}),T(!1),window.onbeforeunload=null})).catch((e=>{console.error(e),T(!1)}))})(e.value),options:Q,className:"wcf-analytics-sandbox-mode-select",isSearchable:!1,styles:{control:(e,t)=>({...e,border:t.menuIsOpen?"1px solid #f06434":"1px solid #e5e7eb",borderRadius:"6px",boxShadow:"none",outline:"none","&:hover":{border:t.menuIsOpen?"1px solid #f06434":"1px solid #e5e7eb"}}),valueContainer:e=>({...e,padding:"10px 16px"}),indicatorSeparator:()=>({display:"none"})}}));return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-flow-analytics bg-white p-8 -mx-8 "+(0===cartflows_admin?.cartflows_admin_notices.length?"-mt-8":"")},(0,e.createElement)("div",{className:"wcf-flow-header flex gap-3 xl:gap-0 justify-between flex-col xl:flex-row w-full"},(0,e.createElement)(Jj,{type:s}),(0,e.createElement)("div",{className:"wcf-flow-header--actions w-full flex gap-2.5 items-center xl:justify-end"},(0,e.createElement)("div",{className:"wcf-flow-header--actions-mode-and-filter-container flex flex-col sm:flex-row gap-2.5 w-auto xl:w-auto"},(0,e.createElement)("div",{className:"wcf-flow-header--action-sandbox-mode-select flex items-center gap-2"},P),(0,e.createElement)("div",{className:"wcf-flow-header--action-filter"},wcfCartflowsTypePro()&&(0,e.createElement)(oh,{classNames:"wcf-custom-filter-input !w-full !h-full date-picker-field !pl-4 !px-4 !py-3 !pr-7 text-sm font-normal text-gray-400 !rounded-md !border-gray-200 focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !text-ellipsis",value:{endDate:N,startDate:x},onChangeCB:function(e){j(!0),function(e,t){const a=new window.FormData;e&&t&&(b(e),w(t),a.append("action","cartflows_pro_set_visit_data"),a.append("security",cartflows_admin.set_visit_data_nonce),a.append("flow_id",C),a.append("date_to",t.toISOString().split("T")[0]),a.append("date_from",e.toISOString().split("T")[0]),A()({url:cartflows_admin.ajax_url,method:"POST",body:a}).then((e=>{u({type:"SET_FLOW_ANALYTICS",flow_analytics:e}),j(!1)})))}(e.startDate,e.endDate)},sectionClass:"",wrapperClass:"",fieldParentWrapperClass:""}))),(0,e.createElement)("div",{className:"wcf-flow-header--action-settings flex gap-2.5"},(0,e.createElement)("a",{className:"wcf-flow-export wcf-button-animate p-2.5 wcf-secondary-button cursor-pointer rounded-md text-primary-500 hover:text-primary-600 focus:text-primary-600 focus:ring-2 focus:ring-primary-600 relative wcf-inline-tooltip",href:"#!","data-tooltip":(0,z.__)("Export Flow","cartflows"),onClick:e=>{console.log("***** Exporting the Current Flow *****"),e.preventDefault();const t=new window.FormData;t.append("action","cartflows_export_flow"),t.append("security",cartflows_admin.export_flow_nonce),t.append("flow_id",C),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{if(e.success){const t=e.data.flow_name||`flow-${C}.json`,a=JSON.stringify(e.data.flows),r=new Blob([a],{type:"application/json"});if(document.documentMode)window.navigator.msSaveOrOpenBlob(r,t);else{const e=document.createElement("a");e.href=URL.createObjectURL(r),e.download=t,e.click()}}}))}},(0,e.createElement)(fw,{className:"w-18 h-18 stroke-1"})),(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)("a",{className:"wcf-flow-view-toggler wcf-button-animate p-2.5 wcf-secondary-button cursor-pointer rounded-md text-primary-500 hover:text-primary-600 focus:text-primary-600 focus:ring-2 focus:ring-primary-600 relative wcf-inline-tooltip",href:o,target:"_blank",rel:"noreferrer","data-tooltip":(0,z.__)("View Funnel","cartflows")},(0,e.createElement)(Ox,{className:"w-18 h-18 stroke-1"})),(0,e.createElement)("a",{className:"wcf-flow-settings-toggler wcf-button-animate p-2.5 wcf-secondary-button cursor-pointer rounded-md text-primary-500 hover:text-primary-600 focus:text-primary-600 focus:ring-2 focus:ring-primary-600 relative wcf-inline-tooltip after:-left-16",onClick:()=>{r(!a)},"data-tooltip":(0,z.__)("Open Funnel Settings","cartflows"),href:"#!"},(0,e.createElement)(Rl,{className:"w-18 h-18 stroke-1"})),(0,e.createElement)(Gj,{isOpen:a,onClose:function(e){e.target.classList.contains("wcf-remove-image")||document.body.classList.contains("modal-open")||r(!a)}}),"storeCheckout"===s&&(0,e.createElement)("a",{className:"wcf-button-animate flex items-center cursor-pointer relative wcf-inline-tooltip after:-left-24","data-tooltip":(0,z.__)("Delete Store Checkout","cartflows"),onClick:async e=>{if(e.preventDefault(),!await k({title:(0,z.__)("Delete Store Checkout","cartflows"),description:(0,z.sprintf)(/* translators: %s new line break */ /* translators: %s new line break */
(0,z.__)("Do you really want to delete store checkout?%1$1sNOTE: This action cannot be reversed.","cartflows"),"\r\n"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_delete_flow"),t.append("security",cartflows_admin.delete_flow_nonce),t.append("flow_id",c),window.wcfAction="deleteFlow",(0,Lx.$h)(A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{u({type:"SET_FLOWS",flows:null}),window.location.replace(cartflows_admin.admin_base_url+`admin.php?page=${l}&path=store-checkout`)})))}},(0,e.createElement)(Bl,{className:"h-4 w-4 stroke-2 text-gray-400 hover:text-primary-500"}))))),D?(0,e.createElement)(Zj,null):(0,e.createElement)("div",{className:"wcf-analytics--stats-tabs my-6 mx-0"},(0,e.createElement)("dl",{className:"gap-5 grid sm:grid-cols-4 grid-cols-2 w-full"},U.map((t=>{let a="-";return 0!==t.stat?a=Nr(t.stat.toString()):wcfCartflowsPro()&&(a=t.stat),(0,e.createElement)("div",{key:t.name,className:"wcf-analytics--stats-tab flex justify-between items-center bg-white border border-primary-100 rounded-lg px-4 py-5 shadow-none sm:p-6 w-full"},(0,e.createElement)("div",{className:"wcf-analytics--tabs-stats-text"},(0,e.createElement)("dt",{className:"text-sm font-normal text-gray-600"},t.name,(0,e.createElement)(fh,{text:t.tooltip,classes:"text-gray-400 sm:block lg:block !hidden"}),!wcfCartflowsPro()&&(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-2 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows")))),(0,e.createElement)("dd",{className:"mt-1 text-2xl font-semibold tracking-tight text-gray-400"},a)),(0,e.createElement)("div",{className:"wcf-analytics--tabs-stats-icon"},(0,e.createElement)("div",{className:"p-2 sm:p-4 rounded-full bg-white shadow-custom"},t.icon)))})))),wcfCartflowsTypePro()&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:iv("wcf-flow-analytics__report mt-9",p?"hidden":"block")},(0,e.createElement)("div",{className:"wcf-flow-analytics__report-table overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg w-full md:w-11/12 mx-auto"},(0,e.createElement)("table",{className:"min-w-full"},(0,e.createElement)("thead",{className:"table-header bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"header__item py-3.5 pl-4 pr-3 sm:pl-6 text-left text-base font-medium text-gray-800"},(0,z.__)("Step","cartflows")),d.map(((t,a)=>(0,e.createElement)("th",{key:a,scope:"col",className:"header__item px-3 py-3.5 text-center text-base font-medium text-gray-800"},t))))),(0,e.createElement)("tbody",{className:"divide-y divide-gray-200 bg-white"},O&&O.map(((t,a)=>{const r=t.visits,n=[r.total_visits,r.unique_visits,"thankyou"!==t.type?r.conversions:"-","thankyou"!==t.type?r.conversion_rate+" %":"-",["thankyou","optin","landing"].includes(t.type)?"-":Nr(r.revenue)];let i=!1,s=[],o=[];return void 0!==t["visits-ab"]&&(s=t["visits-ab"]),void 0!==t["visits-ab-archived"]&&(i=!0,o=t["visits-ab-archived"]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("tr",{key:a},(0,e.createElement)("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3 "+(m?"cursor-pointer":""),title:t.visits.title},t["visits-ab"]&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"dashicons "+(m&&t.id===M?"dashicons-arrow-down":"dashicons-arrow-right"),id:t.id,onClick:Y}),(0,e.createElement)("span",{className:"ab-test-step-name",id:t.id,onClick:Y},Mr(t.visits.title,cartflows_admin.title_length.max,cartflows_admin.title_length.display_length))),!t["visits-ab"]&&(0,e.createElement)("span",{id:t.id},Mr(t.visits.title,30,20)),""!==r?.note&&!t["ab-test"]&&(0,e.createElement)("span",{className:"dashicons dashicons-editor-help",title:r.note})),n.map(((t,a)=>(0,e.createElement)("td",{className:"whitespace-nowrap text-base text-center px-3 py-7 text-gray-600",key:a},t)))),m&&t.id===M&&(0,e.createElement)(e.Fragment,null,t["ab-test"]&&Object.keys(s).map((function(a){const r=s[a],n=[r.total_visits,r.unique_visits,"thankyou"!==t.type?r.conversions:"-","thankyou"!==t.type?r.conversion_rate+" %":"-",["thankyou","optin","landing"].includes(t.type)?"-":cartflows_admin.woo_currency+r.revenue];return(0,e.createElement)("tr",{className:"table-row bg-gray-50",key:a},(0,e.createElement)("td",{className:"step-name whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3 cursor-pointer"},(0,e.createElement)("div",{className:"flex items-center gap-1"},(0,e.createElement)(lN,{className:"w-3.5 h-3.5 stroke-2 text-gray-500"}),(0,e.createElement)("span",null," ",r.title," "),""!==r?.note&&(0,e.createElement)("span",{className:"dashicons dashicons-editor-help",title:r.note}))),n.map((a=>(0,e.createElement)("td",{className:"whitespace-nowrap text-base text-center px-3 py-7 text-gray-600",key:t.id},a))))})),i&&Object.keys(o).map((function(a){const r=o[a],n=[r.total_visits,r.unique_visits,"thankyou"!==t.type?r.conversions:"-","thankyou"!==t.type?r.conversion_rate+" %":"-",["thankyou","optin","landing"].includes(t.type)?"-":cartflows_admin.woo_currency+r.revenue];return(0,e.createElement)("tr",{className:"table-row bg-gray-50",key:r.step_id+a},(0,e.createElement)("td",{className:"step-name whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-3"},(0,e.createElement)("div",{className:"flex items-center gap-1"},(0,e.createElement)(lN,{className:"w-3.5 h-3.5 stroke-2 text-gray-500"}),r.title,""!==r?.note&&(0,e.createElement)("span",{className:"dashicons dashicons-editor-help",title:r?.note})),(0,e.createElement)("div",{className:"wcf-archived-date text-gray-600 italic text-xs ml-4"},r[(0,z.__)("archived_date","cartflows")])),n.map((t=>(0,e.createElement)("td",{className:"whitespace-nowrap text-base text-center px-3 py-7 text-gray-600",key:r.step_id},t))))}))))}))))),wcfCartflowsTypePro()&&(0,e.createElement)("div",{className:"wcf-flow-analytics__reset-button flex gap-3 justify-between items-center mt-4 md:mt-9 w-full md:w-11/12 mx-auto"},(0,e.createElement)(lh,{content:(0,z.sprintf)(/* translators: %1$s: html tag, %2$s: html tag*/ /* translators: %1$s: html tag, %2$s: html tag*/
(0,z.__)("%1$sNote:%2$s The orders which are placed by the admins are not considered while calculating the analytics.","cartflows"),'<strong class="text-primary-500">',"</strong>")}),(0,e.createElement)("button",{className:"wcf-analytics-reset wcf-button "+(v?"wcf-disabled":"wcf-secondary-button"),onClick:async function(e){if(e.preventDefault(),!await k({title:(0,z.__)("Reset Analytics","cartflows"),description:(0,z.__)("Are you really want to reset funnel analytics?","cartflows"),actionBtnText:(0,z.__)("Yes","cartflows"),cancelBtnText:(0,z.__)("No","cartflows")}))return;const t=new window.FormData;t.append("action","cartflows_pro_reset_flow_analytics"),t.append("flow_id",C),t.append("security",cartflows_admin.reset_flow_analytics_nonce),_(!0),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{_(!1),e.target.blur(),window.location.reload()}))}},(0,e.createElement)(zr,{className:"w-18 h-18 stroke-2 "+(v?"animate-spin":"")}),v?(0,z.__)("Resetting","cartflows"):(0,z.__)("Reset Analytics","cartflows")))),(0,e.createElement)("div",{className:"wcf-show-more-toggler wcf-button-animate absolute group bg-white border border-gray-200 cursor-pointer rounded-full left-2/4 transform -translate-x-2/4 mt-3.5 px-1.5 py-1.5 group hover:bg-primary-25 hover:text-primary-300 hover:border-primary-300",onClick:()=>f(!p),"data-collapsed":p},p&&(0,e.createElement)(Jy,{className:"w-18 h-18 stroke-1 text-gray-400 group-hover:text-primary-500 group-hover:animate-bounce"}),!p&&(0,e.createElement)(Gy,{className:"w-18 h-18 stroke-1 text-gray-400 group-hover:text-primary-500 group-hover:animate-bounce"})))))},ov=a=>{var r;const{steps:n}=a,[i,s]=(0,t.useState)(""),[o,l]=(0,t.useState)(""),[{flow_id:c,flow_title:u,flow_type:d},m]=zl(),g=(0,f.useHistory)(),p=null!==(r=new URLSearchParams((0,f.useLocation)()?.search).get("automation"))&&void 0!==r?r:"";(0,t.useEffect)((()=>{const e=n.find((e=>e.id===parseInt(p)));e&&(s(e.title),l(e.type))}),[p,n]);return(0,t.useEffect)((()=>{i&&(()=>{const e=new window.FormData;e.append("action","cartflows_get_suretriggers_data"),e.append("security",cartflows_admin.get_suretriggers_data_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e&&e?.success&&e?.data?.connected&&(e=>{if(e&&u){let t=[];switch(o){case"upsell":t=["cartflows_upsell_offer_accepted","cartflows_upsell_offer_rejected","cartflows_upsell_offer_skipped"];break;case"checkout":t=["wcf_order_bump_item_added","wcf_order_bump_item_removed","wcf_pre_checkout_offer_item_added","wcf_order_bump_item_replaced"];break;case"downsell":t=["cartflows_downsell_offer_accepted","cartflows_downsell_offer_rejected","cartflows_downsell_offer_skipped"]}e.embedded_identifier=p,t&&t.length>0&&(e.allowed_events={CartFlows:{triggers:t}}),e.selected_options={funnel_id:{value:c,label:u},funnel_step_id:{value:p,label:i}},m({type:"SET_SURETRIGGERS_CONFIG",config:e})}})(e?.data?.data)}))})()}),[i]),(0,e.createElement)(Pt.Root,{show:""!==p,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20 wcf-funnel-step-setting--slide-out",onClose:()=>{}},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"transition-opacity ease-linear duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-linear duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-900 bg-opacity-75 transition-opacity z-10",onClick:function(){g.push("storeCheckout"===d?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${c}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${c}`)}})),(0,e.createElement)("div",{className:"wcf-slide-out-panel inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--content pointer-events-none fixed inset-y-0 top-7 right-0 flex max-w-full z-20"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"transition-transform ease-in-out duration-700 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform ease-in-out duration-700 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(gr.Panel,{className:"pointer-events-auto w-screen max-w-4.5xl relative top-1"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--close bg-white absolute -left-10"},(0,e.createElement)(I,{key:"close",to:{pathname:"admin.php",search:"storeCheckout"===d?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${c}`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${c}`},className:"flex justify-center items-center p-2.5 text-gray-400 hover:text-gray-500 outline-none focus:outline-none shadow-none focus:shadow-none"},(0,e.createElement)("button",{type:"button",onClick:()=>{s("")}},(0,e.createElement)(Sr,{className:"w-5 h-5","aria-hidden":"true"})))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--content-body flex h-full flex-col overflow-y-scroll bg-white shadow-xl"},!1,(0,e.createElement)("form",null,(0,e.createElement)("div",{className:"wcf-slide-out-panel--header flex justify-between px-6 py-5"},(0,e.createElement)("div",{className:"wcf-slide-out-panel--step-title"},(0,e.createElement)(gr.Title,{className:"text-lg font-medium text-gray-900"},(0,z.__)("Automation for","cartflows"),": ",i))),(0,e.createElement)("div",{className:"wcf-slide-out-panel--settings flex-1 p-8 border-t border-gray-200 px-6"},(0,e.createElement)("div",{id:"suretriggers-iframe-wrapper",style:{width:"100%",height:"80vh"}}))))))))))},lv=n.p+"images/abtest_bg.b54fd7f7.png",cv=({visibility:a,setVisibility:r})=>(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"fixed inset-0 z-20 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg"},(0,e.createElement)("div",{className:" bg-white px-4 pb-5 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:()=>{r("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-base font-medium text-gray-800 mb-4"},(0,z.__)("A/B Testing","cartflows"),(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 ml-2 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows")))),(0,e.createElement)("img",{src:lv,alt:"Abtest",className:"w-full p-5 bg-cartflows-light rounded-lg"}),(0,e.createElement)("div",{className:"mt-5 text-sm"},(0,z.__)("Optimize your sales with A/B testing in CartFlows! Experiment with product pricing, page layouts, messaging, and design. Create variants, analyze results, and discover new ways to boost revenue.","cartflows")))),(0,e.createElement)("div",{className:"bg-primary-25 p-4 sm:px-6 "},(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),target:"blank",className:"wcf-button wcf-primary-button focus:text-white w-full text-sm "},(0,z.__)("Upgrade to Pro","cartflows"))))))))),uv=function(){const[{flow_id:a,steps:r,emptySteps:n,flow_type:i,is_flow_instant_checkout:s},o]=zl(),[l,c]=(0,t.useState)(!1),[u,d]=(0,t.useState)(!1),[m,g]=(0,t.useState)("hide"),[p,f]=(0,t.useState)("yes"!==cartflows_admin?.instant_checkout_notice_status);let M=!0;r.length>0&&(M=!1);const h=function(){c(!l)};(0,t.useEffect)((()=>{let e=!0;return(async()=>{A()({path:`/cartflows/v1/admin/flow-data/${a}`}).then((t=>{e&&o({type:"SET_FLOW_DATA",data:t})}))})(),()=>{e=!1}}),[l]);const N=()=>{const e=a,t=[];r.map((e=>(t.push(e.id),"")));const n=new window.FormData;n.append("action","cartflows_reorder_flow_steps"),n.append("security",cartflows_admin.reorder_flow_steps_nonce),n.append("step_ids",t),n.append("post_id",e),A()({url:cartflows_admin.ajax_url,method:"POST",body:n}).then((e=>{o({type:"SET_STEPS",steps:e.steps})}))};(0,t.useEffect)((()=>{"yes"===s&&f(!1)}),[s]);let w=!1,x=!1;const b=[],D=[];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-steps-page-wrapper"},!n&&(0,e.createElement)(sv,{isShowFlowSettings:u,setIsShowFlowSettings:d}),p&&(0,e.createElement)("div",{className:"wcf-instant-checkout--notice flex justify-center my-8"},(0,e.createElement)("div",{className:"wcf-instant-checkout--notice-columns flex items-center justify-between w-11/12 border border-primary-200 p-3 rounded-lg bg-white"},(0,e.createElement)("div",{className:"wcf-instant-checkout--notice-column-left flex items-center gap-3"},(0,e.createElement)(db,{className:"h-5 w-5 text-primary-500 hover:text-primary-600","aria-hidden":"true"}),(0,e.createElement)("span",{className:"text-gray-800 text-sm font-medium"},(0,z.__)("Create a distraction free, high-converting checkout experience without needing a page builder.","cartflows"))),(0,e.createElement)("div",{className:"wcf-instant-checkout--notice-column-right flex items-center gap-4"},(0,e.createElement)("span",{className:"text-primary-600 text-xs font-medium cursor-pointer",onClick:()=>{d(!u)}},(0,z.__)("Enable Instant Layout","cartflows")),(0,e.createElement)(Sr,{className:"h-5 w-5 hover:text-primary-600 cursor-pointer","aria-hidden":"true",onClick:e=>{e.preventDefault(),(()=>{const e=new window.FormData;e.append("action","cartflows_hide_instant_checkout_notice"),e.append("security",cartflows_admin.hide_instant_checkout_notice_nonce),e.append("flow_id",a),f(!1),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{console.log(e),e?.status&&f(!1)}))})()}})))),(0,e.createElement)("div",{className:"wcf-steps-header flex justify-center my-8"},(0,e.createElement)("div",{className:"flex justify-between items-center sm:w-11/12 md:w-11/12 lg:w-11/12 w-full"},(0,e.createElement)("div",{className:"wcf-steps-header--title text-xl font-semibold text-gray-800"},(0,z.__)("Funnel Steps","cartflows")),(0,e.createElement)("div",{className:"wcf-steps-header--actions"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"storeCheckout"===i?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${a}&tab=library`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${a}&tab=library`},className:"wcf-create-step wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",{className:"wcf-create-step--text"},(0,z.__)("Add New Step","cartflows")))))),(0,e.createElement)("div",{className:"wcf-list-steps flex justify-center"},n&&function(){if(0===r.length)return(0,e.createElement)("div",{className:"wcf-analytics-no-step-notice text-center mb-8 bg-white p-20 rounded-xl w-11/12"},(0,e.createElement)("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},(0,e.createElement)("path",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"})),(0,e.createElement)("h3",{className:"mt-2 text-sm font-semibold text-gray-900"},(0,z.__)("No Steps Added.","cartflows")),(0,e.createElement)("p",{className:"mt-1 text-sm text-gray-500"},(0,z.__)("Seems like there are no steps created or added in this flow","cartflows")),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"storeCheckout"===i?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${a}&tab=library`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${a}&tab=library`},className:"wcf-create-step wcf-button wcf-primary-button"},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}),(0,e.createElement)("span",{className:"wcf-create-step--text"},(0,z.__)("Add New Step","cartflows")))))}(),!n&&M&&(0,e.createElement)(LD,null),!M&&(0,e.createElement)("div",{className:"sm:w-11/12 md:w-11/12 lg:w-11/12 w-full"},"storeCheckout"===i?(r.length>0&&r.map(((e,t)=>{if("checkout"===e.type){if(!cartflows_admin.old_global_checkout)return w=t,"";if(e.id===parseInt(cartflows_admin.old_global_checkout))return w=t,"";b.push(e)}else"landing"===e.type?b.push(e):D.push(e);return""})),D.length>0&&(x=!0),(0,e.createElement)(e.Fragment,null,!n&&!M&&(0,e.createElement)(e.Fragment,null,b.map((t=>(0,e.createElement)(ED,(0,y.A)({},t,{key:t.id,invalid:!0,setShowAbtestUpgradePopup:g})))),(0,e.createElement)(ED,(0,y.A)({},r[w],{key:r[w].id,setShowAbtestUpgradePopup:g})),x&&(0,e.createElement)(Ll.ReactSortable,{list:D,setList:e=>o({type:"SET_STORE_STEPS",steps:e}),swapThreshold:.8,direction:"vertical",animation:150,handle:".wcf-step-wrap",filter:".wcf-step__col-actions, .wcf-step__title-text, .wcf-ab-test-popup-content, .wcf-steps-action-buttons, .wcf-archived-wrapper",preventOnFilter:!1},D.map((t=>"checkout"!==t.type?(0,e.createElement)(ED,(0,y.A)({},t,{ajaxcall:N,key:t.id,setShowAbtestUpgradePopup:g})):(0,e.createElement)(e.Fragment,null))))))):(0,e.createElement)(e.Fragment,null,!n&&!M&&(0,e.createElement)(Ll.ReactSortable,{list:r,setList:e=>o({type:"SET_STEPS",steps:e}),swapThreshold:.8,direction:"vertical",animation:150,handle:".wcf-step-wrap",filter:".wcf-step__col-actions, .wcf-step__title-text, .wcf-ab-test-popup-content",preventOnFilter:!1},r.map((t=>(0,e.createElement)(ED,(0,y.A)({},t,{ajaxcall:N,key:t.id,setShowAbtestUpgradePopup:g})))))))),(0,e.createElement)("div",{className:"wcf-step-footer flex justify-center"},(0,e.createElement)("div",{className:"w-11/12 text-center"},(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:"storeCheckout"===i?`?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${a}&tab=library`:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${a}&tab=library`},className:"wcf-create-step wcf-button !p-6 rounded-full !border-none !shadow-none bg-white text-primary-500 hover:text-primary-600 hover:!shadow-custom cursor-pointer relative wcf-inline-tooltip after:-top-8 before:-top-2 before:absolute before:invisible before:rotate-180 before:border-4 before:border-transparent before:border-b-gray-700 hover:before:visible group-hover:before:block","data-tooltip":(0,z.__)("Add new step","cartflows")},(0,e.createElement)(Tr,{className:"w-18 h-18 stroke-2"}))))),(0,e.createElement)(Vj,{renderCb:h}),(0,e.createElement)(ov,{renderCb:h,steps:r}),(0,e.createElement)(cv,{visibility:m,setVisibility:g}))},dv=(0,py.compose)((0,fy.withSelect)((e=>{const{getstepTypes:t}=e("wcf/importer");return{stepTypes:t()}})),(0,fy.withDispatch)((e=>{const{setSelectedStep:t}=e("wcf/importer");return{setSelectedStep(e){t(e)}}})))((({stepTypes:t,setSelectedStep:a})=>(0,e.createElement)("div",{className:"wcf-create-step__dropdown-list wcf-select-option w-full"},(0,e.createElement)("select",{onChange:e=>{console.log(e.target.value),a(e.target.value)},className:"!w-full !max-w-full !h-auto input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400"},(0,e.createElement)("option",{value:"",className:"",key:"all"},(0,z.__)("Select Step Type","cartflows")),Object.keys(t).map((a=>(0,e.createElement)("option",{className:a,value:a,key:a},t[a]))))))),mv=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getcurrentFlowId:a,getselectedStep:r,getstepTypes:n,getcurrentFlowSteps:i,getCFProStatus:s,getWooCommerceStatus:o,getselectedStepTitle:l,getLicenseStatus:c}=e("wcf/importer");return{flowsCount:t(),currentFlowId:a(),selectedStep:r(),stepTypes:n(),currentFlowSteps:i(),cf_pro_status:s(),woocommerce_status:o(),selectedStepTitle:l(),license_status:c()}})))((({currentStep:a,stepName:r,currentFlowId:n,currentFlowSteps:i,cf_pro_status:s,woocommerce_status:o,stepTypes:l,license_status:c,setInputFieldVisibility:u,setErrorDesc:d})=>{const m=a.type||"",g=a.title||l[m]||"",[p,f]=(0,t.useState)((0,z.__)("Import Step","cartflows")),[M,h]=(0,t.useState)(!1);if(""===a.type)return(0,e.createElement)("button",{className:"button disabled"},p);if(1<=(i?i.filter((e=>m===e.type)):[]).length&&!wcfCartflowsPro())return u("hidden"),d((0,z.__)("Add multiple steps to your flows today with an upgraded CartFlows plan.","cartflows")),"not-installed"===s?(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows"),desc:(0,z.__)("Add multiple steps to your flows today with an upgraded CartFlows plan.","cartflows")}):(d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)}));if("upsell"===m||"downsell"===m){if(u("hidden"),!wcfCartflowsTypePlusPro())return wcfInactiveProPlus()?(d((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating %2$s.","cartflows"),m,cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating %2$s.","cartflows"),m,cartflows_admin.cf_pro_type_inactive)})):(d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click %s to your flows when you upgrade to our CartFlows Higher plan today.","cartflows"),m)),(0,e.createElement)(Ny,{desc:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click %s to your flows when you upgrade to our CartFlows Higher plan today.","cartflows"),m),title:"Get CartFlows Higher Plan"}));if("Activated"!==c)return d((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flow by activating CartFlows license.","cartflows"),m)),u("hidden"),(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:"Activate License"})))}if("pro"===a.template_type){if(!wcfCartflowsTypePro())return"inactive"===s&&"pro"===wcfInactivepluginType()?(u("hidden"),d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Access all of our pro templates by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Access all of our pro templates by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)})):(u("hidden"),d((0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Pro","cartflows"),desc:(0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")}));if(wcfCartflowsTypePro()&&"Activated"!==c)return u("hidden"),d((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating license.","cartflows"),m)),(0,e.createElement)(wy,{title:"Activate License"})}return"landing"!==m&&"active"!==o?(u("hidden"),d((0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")),"inactive"===o?(0,e.createElement)(SN,{title:`Activate WooCommerce to Import ${g}`,description:(0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")}):(0,e.createElement)(ON,null)):(u(""),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+(M?"wcf-disabled":""),onClick:e=>{"submit"===e.target.type&&(e.preventDefault(),((e,t,a,r,n,i,s)=>{if(console.log(e,t,a),i)return;a("Importing Step.."),n(!0);const o=new window.FormData;o.append("action","cartflows_import_step"),o.append("security",cartflows_admin.import_step_nonce),o.append("remote_flow_id",e.template_ID),o.append("flow_id",t),o.append("step",JSON.stringify(e)),o.append("step_name",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:o}).then((e=>{if(console.log(e),e.success)a((0,z.__)("Imported! Redirecting…","cartflows")),n(!1),setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${t}`}),3e3);else{let t=e.data.message;e.data.error_code&&404===e.data.error_code&&(t+=(0,z.__)(" Please sync the library and try importing the template again.","cartflows")),s(Nr(t)),a((0,z.__)("Import Failed! Try again.","cartflows")),setTimeout((()=>{a((0,z.__)("Import Step","cartflows"))}),3e3),n(!1)}}))})(a,n,f,r,h,M,d))}},M?(0,e.createElement)(ay,null):(0,e.createElement)(Hx,{className:"h-4 w-4 stroke-2"}),p))})),gv=(0,py.compose)((0,fy.withSelect)((e=>{const{getcurrentFlowId:t,getselectedStep:a,getselectedStepTitle:r}=e("wcf/importer");return{currentFlowId:t(),selectedStep:a(),selectedStepTitle:r()}})))((({currentFlowId:a,selectedStep:r,selectedStepTitle:n,stepName:i})=>{const[s,o]=(0,t.useState)({isProcessing:!1,buttonText:(0,z.__)("Create Step","cartflows")}),{isProcessing:l,buttonText:c}=s;return(0,e.createElement)("button",{className:"wcf-button "+(l?"wcf-disabled":"wcf-primary-button"),onClick:e=>{e.preventDefault(),l||(o({isProcessing:!0,buttonText:(0,z.__)("Creating Step..","cartflows")}),((e,t,a,r,n)=>{console.log(e,t,a);const i=new window.FormData;i.append("action","cartflows_create_step"),i.append("flow_id",e),i.append("step_type",t),i.append("step_title",a),i.append("security",cartflows_admin.create_step_nonce),i.append("step_name",n),A()({url:cartflows_admin.ajax_url,method:"POST",body:i}).then((t=>{console.log(t),r({isProcessing:!1,buttonText:(0,z.__)("Step Created! Redirecting…","cartflows")}),t.success?setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${e}`}),3e3):r({isProcessing:!1,buttonText:(0,z.__)("Failed to Create Step!","cartflows")})}))})(a,r,n,o,i))}},l?(0,e.createElement)(My,null):""," ",c)})),pv=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getselectedStep:a,getstepTypes:r,getcurrentFlowSteps:n,getCFProStatus:i,getWooCommerceStatus:s,getLicenseStatus:o}=e("wcf/importer");return{flowsCount:t(),selectedStep:a(),stepTypes:r(),currentFlowSteps:n(),cf_pro_status:i(),woocommerce_status:s(),license_status:o()}})))((({selectedStep:t,currentFlowSteps:a,cf_pro_status:r,woocommerce_status:n,license_status:i,stepName:s,setInputFieldVisibility:o,setErrorDesc:l})=>{if(""===t)return(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",disabled:!0},(0,z.__)("Create Step","cartflows"));if(1<=(a?a.filter((e=>t===e.type)):[]).length&&!wcfCartflowsPro())return o("hidden"),l((0,z.__)("Add multiple steps to your flows today with an upgraded CartFlows plan.","cartflows")),"not-installed"===r?(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows")}):(l((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)}));if("upsell"===t||"downsell"===t){if(!wcfCartflowsTypePlusPro())return wcfInactiveProPlus()?(o("hidden"),l((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating %2$s.","cartflows"),t,cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,null)):(o("hidden"),l((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click %s to your flows when you upgrade to our CartFlows Higher plan today.","cartflows"),t)),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows")}));if(wcfCartflowsTypePlusPro()&&"Activated"!==i)return o("hidden"),l((0,z.__)("Activate license for adding more steps and other features.","cartflows")),(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:(0,z.__)("Activate License","cartflows")})))}return"landing"!==t&&"active"!==n?(o("hidden"),l((0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")),"inactive"===n?(0,e.createElement)(SN,null):(0,e.createElement)(ON,null)):(o(""),(0,e.createElement)(gv,{stepName:s}))})),fv=({stepName:t,setInputFieldVisibility:a,setErrorDesc:r})=>(0,e.createElement)("div",{className:"wcf-create-step__button-wrap"},(0,e.createElement)(pv,{stepName:t,setInputFieldVisibility:a,setErrorDesc:r})),Mv=({item:a,type:r,stepName:n,setInputFieldVisibility:i,cancelButtonRef:s,setVisibility:o,setErrorDesc:l})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-step__footer bg-primary-25 p-4 mt-6 flex sm:px-6 gap-4 justify-end"},"ready-templates"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(mv,{currentStep:a,stepName:n,setInputFieldVisibility:i,setErrorDesc:l})),"create-your-own"===r&&(0,e.createElement)(fv,{stepName:n,setInputFieldVisibility:i,setErrorDesc:l}))),hv=({setVisibility:a,item:r,type:n,stepName:i,setStepName:s,inputFieldVisibility:o,setInputFieldVisibility:l,cancelButtonRef:c})=>{const[u,d]=(0,t.useState)(0),[m,g]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-name-your-step--body fixed inset-0 z-20 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full lg:w-full sm:max-w-lg w-full"},(0,e.createElement)("div",{className:"wcf-name-your-step--content bg-white px-4 pb-4 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"wcf-name-your-step--header absolute right-0 top-0 pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",onClick:()=>{a("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-step--title text-base font-medium text-gray-800"},(0,z.__)("Name Your Step","cartflows")),(0,e.createElement)("div",{className:`mt-5 ${o}`},(0,e.createElement)("div",{className:"flex justify-between py-2"},(0,e.createElement)("div",{className:"wcf-name-your-step--field-title"},(0,e.createElement)("label",{className:"flex gap-1 text-base font-normal text-gray-800"},(0,z.__)("Step Name","cartflows"))),(0,e.createElement)("div",{className:"wcf-name-your-step--word-count"},(0,e.createElement)("span",{className:"text-xs font-normal "+(40===u?"text-primary-500":"text-gray-400")},u,"/40"))),(0,e.createElement)("input",{type:"text",className:"input-field w-full !px-4 !py-2 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",value:i,onChange:e=>{const{value:t}=e.target;t.length<=40&&(d(t.length),s(t))},placeholder:(0,z.__)("Enter Step Name","cartflows")})),""!==m&&(0,e.createElement)("div",{className:"mt-5"},(0,e.createElement)("p",{className:"text-sm font-regular text-primary-400"},m)))),(0,e.createElement)(Mv,{setVisibility:a,type:n,stepName:i,setStepName:s,item:r,setInputFieldVisibility:l,cancelButtonRef:c,setErrorDesc:g})))))},yv=({visibility:a,setVisibility:r,item:n,type:i,stepName:s,setStepName:o})=>{const[l,c]=(0,t.useState)(""),u=(0,t.useRef)(null);return"show"!==a?"":(0,Va.createPortal)((0,e.createElement)("div",{className:`wcf-name-your-step ${a}`},(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-step__inner"},(0,e.createElement)(hv,{setVisibility:r,type:i,stepName:s,setStepName:o,item:n,inputFieldVisibility:l,setInputFieldVisibility:c,cancelButtonRef:u}))))),document.getElementById("wcf-json-importer"))},Nv=(0,py.compose)((0,fy.withSelect)((e=>{const{getselectedStep:t}=e("wcf/importer");return{selectedStep:t()}})))((({selectedStep:a})=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-step-library--item wcf-step-library--item__start-scratch h-full bg-white rounded-lg relative p-5"},(0,e.createElement)("div",{className:"wcf-step-library--item--scratch-select text-center w-full h-full min-h-[400px] max-h-[400px] flex flex-col gap-4 items-center justify-center"},(0,e.createElement)("h3",{className:"text-base text-gray-800 p-4 text-center font-medium"},(0,z.__)("Select Step Type","cartflows")),(0,e.createElement)(dv,null),(0,e.createElement)(yv,{visibility:r,setVisibility:n,type:"create-your-own",stepName:i,setStepName:s}),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+(""===a?"disabled opacity-50 pointer-events-none":""),onClick:()=>{n("hide"===r?"show":"hide")},disabled:""===a},(0,e.createElement)(Tr,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Create Step","cartflows")),(0,e.createElement)("div",{className:"wcf-learn-how"},(0,e.createElement)("a",{href:`${cartflows_admin.cf_domain_url}/docs/cartflows-step-types/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs`,target:"_blank",rel:"noreferrer",className:"flex gap-2 text-gray-400 hover:text-primary-500"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-1"}),(0,z.__)("Learn How","cartflows")))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 left-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Create from Scratch","cartflows"))))})),wv=function({item:a}){const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)("");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{key:a.id,className:"wcf-template-item group relative transition ease-in-out delay-150"},"pro"===a.template_type?(0,e.createElement)("div",{className:`wcf-item__type wcf-item__type--${a.template_type} border border-primary-500 text-primary-500 rounded-full bg-white font-medium py-px px-2 text-xs z-10 uppercase absolute top-5 right-5 shadow-custom-2`},(0,e.createElement)("span",null,a.template_type)):"",(0,e.createElement)("div",{className:"wcf-item__inner bg-white border border-gray-200 rounded-lg"},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap relative"},(0,e.createElement)("div",{className:"wcf-item__thumbnail overflow-hidden "+("upsell"===a.type||"downsell"===a.type?"max-h-[345px] min-h-[345px]":"min-h-[400px] max-h-[400px]")},(0,e.createElement)("img",{className:"wcf-item__thumbnail-image",src:a.featured_image_url,alt:(0,z.__)("Step thumbnail image","cartflows")})),(0,e.createElement)("div",{className:"wcf-item__view invisible group-hover:visible absolute backdrop-brightness-50 top-0 w-full h-full transition ease-in-out delay-150"},(0,e.createElement)("div",{className:"mx-auto my-0 text-center flex flex-col gap-4 relative top-[35%]"},(0,e.createElement)(yv,{visibility:r,setVisibility:n,type:"ready-templates",stepName:i,setStepName:s,item:a}),(0,e.createElement)("span",{className:"wcf-step-preview-wrap"},(0,e.createElement)("a",{className:"wcf-step-preview wcf-button wcf-secondary-button hover:text-primary-600 !border-none",href:a.link,target:"_blank",rel:"noreferrer"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Preview","cartflows"))),(0,e.createElement)("span",{className:"wcf-item__btn",onClick:()=>{n("hide"===r?"show":"hide")}},(0,e.createElement)("span",{className:"wcf-button wcf-primary-button"},(0,e.createElement)(Lb,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Import","cartflows")))))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},a.title)))))},xv=function(a){const{templates:r,currentStep:n,setcurrentStepCB:i}=a,[{page_slug:s,flow_id:o}]=zl(),l=r,{step_types:c}=(0,fy.useSelect)((e=>({step_types:e("wcf/importer").getstepTypes()}))),u=Object.entries(c);return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-remote-steps-filters flex gap-4 items-center mb-8"},(0,e.createElement)("div",{className:"wcf-back-button"},(0,e.createElement)(I,{to:{pathname:"admin.php",search:`?page=${s}&path=flows&action=wcf-edit-flow&flow_id=${o}'&tab=steps`},className:"block sm:mb-1.5 lg:mb-1.5 mb-0"},(0,e.createElement)(Ib,{className:"w-6 h-6 stroke-2 text-gray-400 hover:text-primary-500"}),(0,e.createElement)("span",{className:"wcf-flows-header__text sr-only"},(0,z.__)("Back","cartflows")))),(0,e.createElement)("div",{className:"wcf-categories w-full"},(0,e.createElement)("ul",{className:"wcf-step-type-filter--links sm:flex lg:flex hidden items-center gap-4"},u.map((t=>(0,e.createElement)("li",{key:t[0],className:"!mb-0"},(0,e.createElement)("a",{href:"#",className:"step-type-filter-item text-sm font-medium text-slate-800 bg-transparent py-1 px-3 rounded-md hover:bg-white hover:text-slate-800 focus:text-slate-800 "+(t[0]===n?"bg-white":""),onClick:()=>{i(t[0])}},t[1]))))),(0,e.createElement)("select",{className:"sm:hidden lg:hidden block w-full !max-w-full h-auto input-field !pl-3 !pr-6 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",onChange:e=>{i(e.target.value)}},u.map((t=>(0,e.createElement)("option",{key:t[0],value:t[0]},t[1])))))),(0,e.createElement)("div",{className:"wcf-step-importer__list wcf-items-list wcf-row wcf-step-row grid grid-cols-1 sm:grid-cols-4 gap-6"},(0,e.createElement)("div",{className:"wcf-start-from-scratch"},(0,e.createElement)(Nv,null)),l.map((t=>(0,e.createElement)(wv,{item:t,key:t.id})))))},bv=(0,py.compose)((0,fy.withSelect)((e=>{const{getselectedStep:t}=e("wcf/importer");return{selectedStep:t()}})))((({selectedStep:a})=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-step-library--item wcf-step-library--item__start-scratch h-full bg-white rounded-lg relative"},(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-b border-gray-200 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-xl text-gray-800 font-semibold p-[18px] text-center"},(0,z.__)("Create from Scratch","cartflows"))),(0,e.createElement)("div",{className:"wcf-step-library--item--scratch-select text-center w-full flex flex-col gap-4 items-center justify-center px-5 py-10"},(0,e.createElement)("h3",{className:"text-lg text-gray-800 p-2 text-center font-semibold"},(0,z.__)("Select Step Type","cartflows")),(0,e.createElement)("div",{className:"lg:w-3/4 md:w-1/2 w-full mb-3"},(0,e.createElement)(dv,null)),(0,e.createElement)(yv,{visibility:r,setVisibility:n,type:"create-your-own",stepName:i,setStepName:s}),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button mb-2 "+(""===a?"disabled opacity-50 pointer-events-none":""),onClick:()=>{n("hide"===r?"show":"hide")},disabled:""===a},(0,e.createElement)(Tr,{className:"h-5 w-5 stroke-2"}),(0,z.__)("Create Step","cartflows")),(0,e.createElement)("div",{className:"wcf-learn-how"},(0,e.createElement)("a",{href:`${cartflows_admin.cf_domain_url}/docs/cartflows-step-types/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs`,target:"_blank",rel:"noreferrer",className:"flex gap-2 text-gray-400 hover:text-primary-500 text-sm"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-1"}),(0,z.__)("Learn How","cartflows")))))})),Dv=function(){const[{page_builder:a}]=zl(),[r,n]=(0,t.useState)("search"),[i,s]=(0,t.useState)("landing"),[o,l]=(0,t.useState)(""),c=(0,t.createRef)(),{all_step_templates:u}=(0,fy.useSelect)((e=>({all_step_templates:e("wcf/importer").getAllStepTemplates()}))),d=[];u.forEach((e=>{i===e.type&&d.push(e)}));const[m,g]=(0,t.useState)(d);(0,t.useEffect)((()=>{g(d)}),[i]);const p=function(e){if(e&&e.length>=3){n("cancel");const t=e.toLowerCase(),a=m.filter((function(e){return(e.title&&e.title.toLowerCase()||"").includes(t)}));l(e),g(a)}else n("search"),g(d)};return(0,e.createElement)("div",{className:`wcf-step-library wcf-step-library-${a}`},(0,e.createElement)("div",{className:"wcf-step-library__header bg-white px-8 py-6 flex justify-between items-center sm:items-center mb-9 -m-8 sm:flex-row flex-col gap-3"},(0,e.createElement)("h3",{className:"text-2xl font-semibold text-gray-800"},(0,z.__)("Steps Library","cartflows")),"other"!==a&&"bricks-builder"!==a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"gap-4 flex justify-between"},(0,e.createElement)("form",{className:"wcf-search-steps--form relative",onSubmit:function(e){e.preventDefault(),"cancel"===r&&(c.current.value="",p(""),l(""))}},(0,e.createElement)(vr,{attr:{ref:c},label:"",placeholder:(0,z.__)("Search Steps","cartflows"),id:"s",value:o,class:"input-field !pl-8 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",onChangeCB:p}),(0,e.createElement)("button",{className:"wcf-search__button absolute inset-y-0 left-0 flex items-center pl-3 bg-transparent cursor-pointer m-0"},"search"===r&&(0,e.createElement)(nN,{className:"w-18 h-18 stroke-2 text-gray-400"}),"cancel"===r&&(0,e.createElement)(Sr,{className:"w-18 h-18 stroke-2 text-gray-400"}))),(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)(Sb,null)))),(0,e.createElement)("div",{className:"wcf-step-library__body"},(0,e.createElement)("div",{className:"wcf-remote-content"},"other"!==a&&"bricks-builder"!==a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-ready-templates"},(0,e.createElement)(xv,{templates:m,currentStep:i,setcurrentStepCB:s}))),("other"===a||"bricks-builder"===a)&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-start-from-scratch current mx-auto md:w-3/6"},(0,e.createElement)(bv,null))))))},jv=(0,py.compose)((0,fy.withSelect)((e=>{const{getDefaultPageBuilder:t}=e("wcf/importer");return{default_page_builder:t()}})))((({default_page_builder:t})=>{const[{flow_id:a}]=zl();return"library"===new URLSearchParams((0,f.useLocation)().search).get("tab")?(0,e.createElement)(Dv,null):(0,e.createElement)("div",{className:"wcf-flow-library wcf-flex"},"bricks-builder"!==t&&"other"!==t?(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:`?page=cartflows&path=flows&action=wcf-edit-flow&flow_id=${a}&tab=library&sub=library`},className:"wcf-flow-library__item wcf-flow-library__item--readymade"},"Import from Library"):"",(0,e.createElement)(Nv,{page_builder:t}))})),vv=(0,py.compose)((0,fy.withSelect)((e=>{const{getStoreStepTypes:t}=e("wcf/importer");return{stepTypes:t()}})),(0,fy.withDispatch)((e=>{const{setSelectedStep:t}=e("wcf/importer");return{setSelectedStep(e){t(e)}}})))((({stepTypes:t,setSelectedStep:a})=>(0,e.createElement)("div",{className:"wcf-create-step__dropdown-list wcf-select-option w-full"},(0,e.createElement)("select",{onChange:e=>{a(e.target.value)},className:"!w-full !max-w-full !h-auto input-field !px-3 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400"},(0,e.createElement)("option",{value:"",className:"",key:"all"},(0,z.__)("Select Step Type","cartflows")),Object.keys(t).map((a=>(0,e.createElement)("option",{className:a,value:a,key:a},t[a]))))))),_v=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getcurrentFlowId:a,getselectedStep:r,getstepTypes:n,getcurrentFlowSteps:i,getCFProStatus:s,getWooCommerceStatus:o,getselectedStepTitle:l,getLicenseStatus:c}=e("wcf/importer");return{flowsCount:t(),currentFlowId:a(),selectedStep:r(),stepTypes:n(),currentFlowSteps:i(),cf_pro_status:s(),woocommerce_status:o(),selectedStepTitle:l(),license_status:c()}})))((({currentStep:a,stepName:r,currentFlowId:n,currentFlowSteps:i,cf_pro_status:s,woocommerce_status:o,stepTypes:l,license_status:c,setInputFieldVisibility:u,setErrorDesc:d})=>{const m=a.type||"",g=a.title||l[m]||"",[p,f]=(0,t.useState)("Import Step"),[M,h]=(0,t.useState)(!1),[y,N]=(0,t.useState)({cta:"",error_msg:""}),{cta:w}=y;if(w)return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:"wcf-message wcf-message--error",dangerouslySetInnerHTML:{__html:w}}));if(""===a.type)return(0,e.createElement)("button",{className:"button disabled"},p);const x=i?i.filter((e=>m===e.type)):[];if(console.log("selectedExistSteps.length",x.length),1<=x.length&&!wcfCartflowsPro())return u("hidden"),d((0,z.__)("Add multiple steps to your flows today with an upgraded CartFlows plan.","cartflows")),"not-installed"===s?(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher plan","cartflows")}):(d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,null));if("upsell"===m||"downsell"===m){if(u("hidden"),!wcfCartflowsTypePlusPro())return wcfInactiveProPlus()?(d((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating %2$s.","cartflows"),m,cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,null)):(d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click %s to your flows when you upgrade to our CartFlows Higher plan today.","cartflows"),m)),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows")}));if("Activated"!==c)return u("hidden"),d((0,z.__)("Activate license for adding more flows and other features.","cartflows")),(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:`Activate License and ${p}`})))}return"pro"!==a.template_type||wcfCartflowsTypePro()?"landing"!==m&&"active"!==o?(u("hidden"),"inactive"===o?(d((0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")),(0,e.createElement)(SN,{title:`Activate WooCommerce to Import ${g}`})):(0,e.createElement)(ON,null)):(u(""),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+(M?"wcf-disabled":""),onClick:e=>{"submit"===e.target.type&&(e.preventDefault(),((e,t,a,r,n,i,s,o)=>{if(console.log(e,t,a),i)return;a((0,z.__)("Importing Step..","cartflows")),n(!0);const l=new window.FormData;l.append("action","cartflows_import_step"),l.append("security",cartflows_admin.import_step_nonce),l.append("remote_flow_id",e.template_ID),l.append("flow_id",t),l.append("step",JSON.stringify(e)),l.append("step_name",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:l}).then((e=>{if(console.log(e),e.success)n(!1),a((0,z.__)("Imported! Redirecting…","cartflows")),setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${t}`}),3e3);else if("call_to_action"in e.data)s({cta:e.data.call_to_action}),o(e.data.message);else{let t=e.data.message;e.data.error_code&&404===e.data.error_code&&(t+=(0,z.__)(" Please sync the library and try importing the template again.","cartflows")),o(Nr(t)),a((0,z.__)("Import Failed! Try again.","cartflows")),setTimeout((()=>{a((0,z.__)("Import Step","cartflows"))}),3e3),n(!1)}}))})(a,n,f,r,h,M,N,d))}},M?(0,e.createElement)(ay,null):(0,e.createElement)(Hx,{className:"h-4 w-4 stroke-2"}),p)):(u("hidden"),"inactive"===s&&"pro"===wcfInactivepluginType()?(u("hidden"),d((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Access all of our pro templates by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,null)):(u("hidden"),d((0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Pro","cartflows")})))})),Iv=(0,py.compose)((0,fy.withSelect)((e=>{const{getcurrentFlowId:t,getselectedStep:a,getselectedStepTitle:r}=e("wcf/importer");return{currentFlowId:t(),selectedStep:a(),selectedStepTitle:r()}})))((({currentFlowId:a,selectedStep:r,selectedStepTitle:n,stepName:i})=>{const[s,o]=(0,t.useState)({isProcessing:!1,buttonText:"Create Step"}),{isProcessing:l,buttonText:c}=s;return(0,e.createElement)("button",{className:"wcf-button "+(l?"wcf-disabled":"wcf-primary-button"),onClick:e=>{e.preventDefault(),l||(o({isProcessing:!0,buttonText:(0,z.__)("Creating Step..","cartflows")}),((e,t,a,r,n)=>{console.log(e,t,a);const i=new window.FormData;i.append("action","cartflows_create_step"),i.append("flow_id",e),i.append("step_type",t),i.append("step_title",a),i.append("security",cartflows_admin.create_step_nonce),i.append("step_name",n),A()({url:cartflows_admin.ajax_url,method:"POST",body:i}).then((t=>{console.log(t),r({isProcessing:!1,buttonText:(0,z.__)("Step Created! Redirecting…","cartflows")}),t.success?setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${e}`}),3e3):r({isProcessing:!1,buttonText:"Failed to Create Step!"})}))})(a,r,n,o,i))}},l?(0,e.createElement)(ay,null):""," ",c)})),Ev=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getselectedStep:a,getstepTypes:r,getcurrentFlowSteps:n,getCFProStatus:i,getWooCommerceStatus:s,getLicenseStatus:o}=e("wcf/importer");return{flowsCount:t(),selectedStep:a(),stepTypes:r(),currentFlowSteps:n(),cf_pro_status:i(),woocommerce_status:s(),license_status:o()}})))((({selectedStep:t,currentFlowSteps:a,cf_pro_status:r,woocommerce_status:n,license_status:i,stepName:s,setInputFieldVisibility:o,setErrorDesc:l})=>{if(""===t)return(0,e.createElement)("button",{className:"wcf-button wcf-primary-button",disabled:!0},(0,z.__)("Create Step","cartflows"));if(1<=(a?a.filter((e=>t===e.type)):[]).length&&!wcfCartflowsPro())return o("hidden"),l((0,z.__)("Add multiple steps to your flows today with an upgraded CartFlows plan.","cartflows")),"not-installed"===r?(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows")}):(l((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add multiple steps to your flows by activating %s.","cartflows"),cartflows_admin.cf_pro_type_inactive)}));if("upsell"===t||"downsell"===t){if(!wcfCartflowsTypePlusPro())return wcfInactiveProPlus()?(o("hidden"),l((0,z.sprintf)(/* translators: %1$s, %2$s are variables */ /* translators: %1$s, %2$s are variables */
(0,z.__)("Add %1$s step to your flows by activating %2$s.","cartflows"),t,cartflows_admin.cf_pro_type_inactive)),(0,e.createElement)(yy,null)):(o("hidden"),l((0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click %s to your flows when you upgrade to our CartFlows Higher plan today.","cartflows"),t)),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Higher Plan","cartflows")}));if(wcfCartflowsTypePlusPro()&&"Activated"!==i)return o("hidden"),l((0,z.__)("Activate license for adding more steps and other features.","cartflows")),(0,e.createElement)("div",{className:"wcf-name-your-flow__actions wcf-pro--required"},(0,e.createElement)("div",{className:"wcf-flow-import__button"},(0,e.createElement)(wy,{title:(0,z.__)("Activate License","cartflows")})))}return"landing"!==t&&"active"!==n?(o("hidden"),"inactive"===n?(l((0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")),(0,e.createElement)(SN,null)):(0,e.createElement)(ON,null)):(o(""),(0,e.createElement)(Iv,{stepName:s}))})),Lv=({stepName:t,setInputFieldVisibility:a,setErrorDesc:r})=>(0,e.createElement)("div",{className:"wcf-create-step__button-wrap"},(0,e.createElement)(Ev,{stepName:t,setInputFieldVisibility:a,setErrorDesc:r})),Tv=({item:a,type:r,stepName:n,setInputFieldVisibility:i,cancelButtonRef:s,setVisibility:o,setErrorDesc:l})=>(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"wcf-name-your-step__footer bg-primary-25 p-4 mt-6 flex sm:px-6 gap-4 justify-end"},"ready-templates"===r&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("button",{type:"button",className:"wcf-button wcf-secondary-button",onClick:()=>o("hide"),ref:s},(0,z.__)("Cancel","cartflows")),(0,e.createElement)(_v,{currentStep:a,stepName:n,setInputFieldVisibility:i,setErrorDesc:l})),"create-your-own"===r&&(0,e.createElement)(Lv,{stepName:n,setInputFieldVisibility:i,setErrorDesc:l}))),Av=({setVisibility:a,item:r,type:n,stepName:i,setStepName:s,inputFieldVisibility:o,setInputFieldVisibility:l,cancelButtonRef:c})=>{const[u,d]=(0,t.useState)(0),[m,g]=(0,t.useState)("");return(0,e.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:w-lg sm:max-w-lg w-full"},(0,e.createElement)("div",{className:"bg-white px-4 pb-4 pt-5 sm:p-6 sm:pb-4"},(0,e.createElement)("div",{className:"absolute right-0 top-0 pr-4 pt-4 sm:block"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none ",onClick:()=>{a("hide")},title:(0,z.__)("Close the window","cartflows")},(0,e.createElement)(Sr,{className:"h-18 w-18 stroke-2","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:text-left"},(0,e.createElement)(gr.Title,{as:"h3",className:"wcf-name-your-step--title text-base font-medium text-gray-800"},(0,z.__)("Name Your Step","cartflows")),(0,e.createElement)("div",{className:`mt-5 ${o}`},(0,e.createElement)("div",{className:"flex justify-between py-2"},(0,e.createElement)("div",{className:"wcf-name-your-step--field-title"},(0,e.createElement)("label",{className:"flex gap-1 text-base font-normal text-gray-800"},(0,z.__)("Step Name","cartflows"))),(0,e.createElement)("div",{className:"wcf-name-your-step--word-count"},(0,e.createElement)("span",{className:"text-xs font-normal "+(40===u?"text-primary-500":"text-gray-400")},u,"/40"))),(0,e.createElement)("input",{type:"text",className:"input-field w-full !px-4 !py-2 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",value:i,onChange:e=>{const{value:t}=e.target;t.length<=40&&(d(t.length),s(t))},placeholder:(0,z.__)("Enter Step Name","cartflows")})),""!==m&&(0,e.createElement)("div",{className:"mt-5"},(0,e.createElement)("p",{className:"text-sm font-regular text-primary-400"},m)))),(0,e.createElement)(Tv,{setVisibility:a,type:n,stepName:i,setStepName:s,item:r,setInputFieldVisibility:l,cancelButtonRef:c,setErrorDesc:g})))))},zv=({visibility:a,setVisibility:r,item:n,type:i,stepName:s,setStepName:o})=>{const[l,c]=(0,t.useState)(""),u=(0,t.useRef)(null);return"show"!==a?"":(0,Va.createPortal)((0,e.createElement)("div",{className:`wcf-name-your-step ${a}`},(0,e.createElement)(Pt.Root,{show:"show"===a,as:t.Fragment},(0,e.createElement)(gr,{as:"div",className:"relative z-20",initialFocus:"",onClose:r},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",onClick:()=>{r("hide")}})),(0,e.createElement)("div",{className:"wcf-name-your-step__inner"},(0,e.createElement)(Av,{setVisibility:r,type:i,stepName:s,setStepName:o,item:n,inputFieldVisibility:l,setInputFieldVisibility:c,cancelButtonRef:u}))))),document.getElementById("wcf-json-importer"))},kv=(0,py.compose)((0,fy.withSelect)((e=>{const{getselectedStep:t}=e("wcf/importer");return{selectedStep:t()}})))((({selectedStep:a})=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-step-library--item wcf-step-library--item__start-scratch h-full bg-white rounded-lg relative p-5"},(0,e.createElement)("div",{className:"wcf-step-library--item--scratch-select text-center w-full h-full min-h-[400px] max-h-[400px] flex flex-col gap-4 items-center justify-center"},(0,e.createElement)("h3",{className:"text-base text-gray-800 p-4 text-center font-medium"},(0,z.__)("Select Step Type","cartflows")),(0,e.createElement)(vv,null),(0,e.createElement)(zv,{visibility:r,setVisibility:n,type:"create-your-own",stepName:i,setStepName:s}),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button "+(""===a?"disabled opacity-50 pointer-events-none":""),onClick:()=>{n("hide"===r?"show":"hide")},disabled:""===a},(0,e.createElement)(Tr,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Create Step","cartflows")),(0,e.createElement)("div",{className:"wcf-learn-how"},(0,e.createElement)("a",{href:`${cartflows_admin.cf_domain_url}/docs/cartflows-step-types/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs`,target:"_blank",rel:"noreferrer",className:"flex gap-2 text-gray-600 hover:text-primary-500"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-1"}),(0,z.__)("Learn How","cartflows")))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200 absolute bottom-0 left-0 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-base text-gray-800 font-medium p-4 text-center"},(0,z.__)("Create from Scratch","cartflows"))))})),Sv=(0,py.compose)((0,fy.withSelect)((e=>{const{getFlowsCount:t,getcurrentFlowId:a,getselectedStep:r,getstepTypes:n,getcurrentFlowSteps:i,getCFProStatus:s,getWooCommerceStatus:o,getselectedStepTitle:l,getLicenseStatus:c}=e("wcf/importer");return{flowsCount:t(),currentFlowId:a(),selectedStep:r(),stepTypes:n(),currentFlowSteps:i(),cf_pro_status:s(),woocommerce_status:o(),selectedStepTitle:l(),license_status:c()}})))((({currentStep:a,stepName:r,currentFlowId:n,currentFlowSteps:i,cf_pro_status:s,woocommerce_status:o,stepTypes:l,license_status:c,setInputFieldVisibility:u,step_id:d})=>{const m=a.type||"",g=a.title||l[m]||"",[p,f]=(0,t.useState)("Choose"),[M,h]=(0,t.useState)(!1),[y,N]=(0,t.useState)("hide"),[w,x]=(0,t.useState)("");if(""===a.type)return(0,e.createElement)("button",{className:"button disabled"},p);const b=i?i.filter((e=>m===e.type)):[];if(console.log("selectedExistSteps.length",b.length),("upsell"===m||"downsell"===m)&&!wcfCartflowsPro()){if(u("hidden"),!wcfCartflowsTypePlusPro())return"not-installed"!==s||"pro"===cartflows_admin.cf_pro_type&&"plus"===cartflows_admin.cf_pro_type?(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Add unlimited income boosting one-click upsells to your flows by activating %s","cartflows"),cartflows_admin.cf_pro_type_inactive)}):(0,e.createElement)(Ny,{desc:(0,z.__)("Add unlimited income boosting one-click upsells to your flows when you upgrade to our CartFlows Plus or Pro plan today.","cartflows"),title:"Get CartFlows Higher plan"});if("Activated"!==c)return u("hidden"),(0,e.createElement)(wy,{title:`Activate License and ${p}`})}return"pro"!==a.template_type||wcfCartflowsTypePro()?"landing"!==m&&"active"!==o?(u("hidden"),"inactive"===o?(0,e.createElement)(SN,{title:`Activate WooCommerce to Import ${g}`,description:(0,z.__)("You need WooCommerce plugin installed and activated to import this step.","cartflows")}):(0,e.createElement)(ON,null)):(u(""),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("button",{className:"wcf-button wcf-primary-button focus:!ring-0 focus:!outline-none",onClick:e=>{"submit"===e.target.type&&(e.preventDefault(),((e,t,a,r,n,i,s,o,l)=>{if(i)return;a("Changing Template.."),n(!0);const c=new window.FormData;c.append("action","cartflows_update_step"),c.append("security",cartflows_admin.update_step_nonce),c.append("remote_flow_id",e.template_ID),c.append("flow_id",t),c.append("step_id",s),c.append("step",JSON.stringify(e)),c.append("step_name",r),A()({url:cartflows_admin.ajax_url,method:"POST",body:c}).then((e=>{console.log(e),e.success?(n(!1),a("Changed! Redirecting..."),setTimeout((()=>{window.location=`${cartflows_admin.admin_base_url}admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${t}`}),3e3)):"call_to_action"in e.data&&(a("Choose"),l(e.data.call_to_action),o("show"))}))})(a,n,f,r,h,M,d,N,x))}},p),(0,e.createElement)(eb,{visibility:y,setVisibility:N,errorMessage:w}))):(u("hidden"),"not-installed"===s||"pro"!==cartflows_admin.cf_pro_type?(u("hidden"),(0,e.createElement)(Ny,{title:(0,z.__)("Get CartFlows Pro","cartflows"),desc:(0,z.__)("Access all of our pro templates when you upgrade your plan to CartFlows Pro today.","cartflows")})):(u("hidden"),(0,e.createElement)(yy,{description:(0,z.sprintf)(/* translators: %s is replaced with plugin name */ /* translators: %s is replaced with plugin name */
(0,z.__)("Access all of our pro templates by activating %s","cartflows"),cartflows_admin.cf_pro_type_inactive)})))})),Ov=function({item:a,mode:r,step_id:n}){void 0===r&&(r="");const[i,s]=(0,t.useState)("hide"),[o,l]=(0,t.useState)("");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{key:a.id,className:"wcf-template-item group cursor-pointer relative transition ease-in-out delay-150"},"pro"===a.template_type?(0,e.createElement)("div",{className:`wcf-item__type wcf-item__type--${a.template_type} border border-primary-500 text-primary-500 rounded-lg bg-white font-normal py-px px-2 text-xs z-10 uppercase absolute top-5 right-5 shadow-custom-2`},(0,e.createElement)("div",{className:"bg-primary-25 rounded-lg text-primary-600"},a.template_type)):"",(0,e.createElement)("div",{className:"wcf-item__inner bg-white border border-gray-200 rounded-lg"},(0,e.createElement)("div",{className:"wcf-item__thumbnail-wrap relative"},(0,e.createElement)("div",{className:"wcf-item__thumbnail overflow-hidden "+("upsell"===a.type||"downsell"===a.type?"max-h-[345px] min-h-[345px]":"min-h-[400px] max-h-[400px]")},(0,e.createElement)("img",{className:"wcf-item__thumbnail-image",src:a.featured_image_url,alt:(0,z.__)("Step thumbnail image","cartflows")})),(0,e.createElement)("div",{className:"wcf-item__view invisible group-hover:visible absolute backdrop-brightness-50 top-0 w-full h-full transition ease-in-out delay-150"},"default"===r&&(0,e.createElement)("div",{className:"mx-auto my-0 text-center flex flex-col gap-4 relative top-[35%]"},(0,e.createElement)(zv,{visibility:i,setVisibility:s,type:"ready-templates",stepName:o,setStepName:l,item:a}),(0,e.createElement)("span",{className:"wcf-step-preview-wrap"},(0,e.createElement)("a",{className:"wcf-step-preview wcf-button wcf-secondary-button hover:text-primary-600 !border-none",href:a.link,target:"_blank",rel:"noreferrer"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Preview","cartflows"))),(0,e.createElement)("span",{className:"wcf-item__btn",onClick:()=>{s("hide"===i?"show":"hide")}},(0,e.createElement)("span",{className:"wcf-button wcf-primary-button"},(0,e.createElement)(Lb,{className:"h-18 w-18 stroke-2"}),(0,z.__)("Import","cartflows")))),"dynamic"===r&&(0,e.createElement)("div",{className:"mx-auto my-0 text-center relative top-1/2"},(0,e.createElement)(Sv,{currentStep:a,stepName:"StepName",setInputFieldVisibility:s,step_id:n})))),(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-t border-gray-200"},(0,e.createElement)("span",{className:"wcf-item__heading block text-base text-gray-800 font-medium p-4 text-center"},a.title)))))},Cv=function(a){const{templates:r,currentStep:n,required_step_type:i,currentStepId:s,setcurrentStepCB:o}=a,l=r,[{page_slug:c,flow_id:u}]=zl(),{step_types:d}=(0,fy.useSelect)((e=>({step_types:e("wcf/importer").getStoreStepTypes()}))),m=void 0===i?"default":"dynamic",g=void 0===i?d:i;let p=0;void 0!==s&&(p=s);const f=Object.entries(g);return(0,e.createElement)(t.Fragment,null,"default"===m&&(0,e.createElement)("div",{className:"wcf-remote-steps-filters flex gap-4 items-center mb-8"},(0,e.createElement)("div",{className:"wcf-back-button"},(0,e.createElement)(I,{to:{pathname:"admin.php",search:`?page=${c}&path=store-checkout&action=wcf-edit-flow&flow_id=${u}'&tab=steps`},className:"block sm:mb-1.5 lg:mb-1.5 mb-0"},(0,e.createElement)(Ib,{className:"w-6 h-6 stroke-2 text-gray-400 hover:text-primary-500"}),(0,e.createElement)("span",{className:"wcf-flows-header__text sr-only"},(0,z.__)("Back","cartflows")))),(0,e.createElement)("div",{className:"wcf-categories w-full"},(0,e.createElement)("ul",{className:"wcf-step-type-filter--links sm:flex lg:flex hidden items-center gap-4"},f.map((t=>(0,e.createElement)("li",{key:t[0]},(0,e.createElement)("a",{href:"#",className:"step-type-filter-item text-sm font-medium text-slate-800 bg-transparent py-1 px-3 rounded-md hover:bg-white hover:text-slate-800 focus:text-slate-800 "+(t[0]===n?"bg-white":""),onClick:()=>{o(t[0])}},t[1]))))),(0,e.createElement)("select",{className:"sm:hidden lg:hidden block w-full !max-w-full h-auto input-field !pl-3 !pr-6 !py-2.5 !text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none !m-0 !placeholder-gray-400",onChange:e=>{o(e.target.value)}},f.map((t=>(0,e.createElement)("option",{key:t[0],value:t[0]},t[1])))))),(0,e.createElement)("div",{className:"wcf-step-importer__list wcf-items-list wcf-row wcf-step-row grid grid-cols-1 sm:grid-cols-4 gap-6"},(0,e.createElement)("div",{className:"wcf-start-from-scratch"},(0,e.createElement)(kv,null)),l.map((t=>(0,e.createElement)(Ov,{item:t,key:t.id,mode:m,step_id:p})))))},Yv=(0,py.compose)((0,fy.withSelect)((e=>{const{getselectedStep:t}=e("wcf/importer");return{selectedStep:t()}})))((({selectedStep:a})=>{const[r,n]=(0,t.useState)("hide"),[i,s]=(0,t.useState)("");return(0,e.createElement)("div",{className:"wcf-step-library--item wcf-step-library--item__start-scratch h-full bg-white rounded-lg relative"},(0,e.createElement)("div",{className:"wcf-item__heading-wrap border-b border-gray-200 w-full"},(0,e.createElement)("div",{className:"wcf-item__heading text-xl text-gray-800 font-semibold p-[18px] text-center"},(0,z.__)("Create from Scratch","cartflows"))),(0,e.createElement)("div",{className:"wcf-step-library--item--scratch-select text-center w-full flex flex-col gap-4 items-center justify-center px-5 py-10"},(0,e.createElement)("h3",{className:"text-lg text-gray-800 p-2 text-center font-semibold"},(0,z.__)("Select Step Type","cartflows")),(0,e.createElement)("div",{className:"lg:w-3/4 md:w-1/2 w-full mb-3"},(0,e.createElement)(vv,null)),(0,e.createElement)(zv,{visibility:r,setVisibility:n,type:"create-your-own",stepName:i,setStepName:s}),(0,e.createElement)("button",{className:"wcf-button wcf-primary-button mb-2 "+(""===a?"disabled opacity-50 pointer-events-none":""),onClick:()=>{n("hide"===r?"show":"hide")},disabled:""===a},(0,e.createElement)(Tr,{className:"h-5 w-5 stroke-2"}),(0,z.__)("Create Step","cartflows")),(0,e.createElement)("div",{className:"wcf-learn-how"},(0,e.createElement)("a",{href:`${cartflows_admin.cf_domain_url}/docs/cartflows-step-types/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs`,target:"_blank",rel:"noreferrer",className:"flex gap-2 text-gray-400 hover:text-primary-500 text-sm"},(0,e.createElement)(eN,{className:"h-18 w-18 stroke-1"}),(0,z.__)("Learn How","cartflows")))))})),Uv=function(){const[{page_builder:a}]=zl(),[r,n]=(0,t.useState)("search"),[i,s]=(0,t.useState)("upsell"),[o,l]=(0,t.useState)(""),c=(0,t.createRef)(),{all_step_templates:u}=(0,fy.useSelect)((e=>({all_step_templates:e("wcf/importer").getAllStepTemplates()}))),d=[];u.forEach((e=>{i===e.type&&d.push(e)}));const[m,g]=(0,t.useState)(d);(0,t.useEffect)((()=>{g(d)}),[i]);const p=function(e){if(e&&e.length>=3){n("cancel");const t=e.toLowerCase(),a=m.filter((function(e){return(e.title&&e.title.toLowerCase()||"").includes(t)}));l(e),g(a)}else n("search"),g(d)};return(0,e.createElement)("div",{className:`wcf-step-library wcf-step-library-${a}`},(0,e.createElement)("div",{className:"wcf-step-library__header bg-white px-8 py-6 flex justify-between items-center sm:items-center mb-9 -m-8 sm:flex-row flex-col gap-3"},(0,e.createElement)("h3",{className:"text-2xl font-semibold text-gray-800"},(0,z.__)("Steps Library","cartflows")),"other"!==a&&"bricks-builder"!==a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"gap-4 flex justify-between"},(0,e.createElement)("form",{className:"wcf-search-steps--form relative",onSubmit:function(e){e.preventDefault(),"cancel"===r&&(c.current.value="",p(""),l(""))}},(0,e.createElement)(vr,{attr:{ref:c},label:"",placeholder:(0,z.__)("Search Steps","cartflows"),id:"s",value:o,class:"input-field !pl-8 !px-4 !py-3 text-sm font-normal !rounded-md text-gray-400 !border-gray-200 focus:ring focus:!ring-primary-100 focus:!border-primary-500 focus:!shadow-none !outline-0 !outline-none",onChangeCB:p}),(0,e.createElement)("button",{className:"wcf-search__button absolute inset-y-0 left-0 flex items-center pl-3 bg-transparent cursor-pointer m-0"},"search"===r&&(0,e.createElement)(nN,{className:"w-18 h-18 stroke-2 text-gray-400"}),"cancel"===r&&(0,e.createElement)(Sr,{className:"w-18 h-18 stroke-2 text-gray-400"}))),(0,e.createElement)("span",{className:"divider w-px bg-gray-200"}),(0,e.createElement)(Sb,{template:"store-checkout"})))),(0,e.createElement)("div",{className:"wcf-step-library__body"},(0,e.createElement)("div",{className:"wcf-remote-content"},"other"!==a&&"bricks-builder"!==a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-ready-templates"},(0,e.createElement)(Cv,{templates:m,currentStep:i,setcurrentStepCB:s}))),("other"===a||"bricks-builder"===a)&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-start-from-scratch current mx-auto md:w-3/6"},(0,e.createElement)(Yv,null))))))},Qv=(0,py.compose)((0,fy.withSelect)((e=>{const{getDefaultPageBuilder:t}=e("wcf/importer");return{default_page_builder:t()}})))((({default_page_builder:t})=>{const[{flow_id:a}]=zl();return"library"===new URLSearchParams((0,f.useLocation)().search).get("tab")?(0,e.createElement)(Uv,null):(0,e.createElement)("div",{className:"wcf-flow-library wcf-flex"},"other"!==t?(0,e.createElement)(I,{key:"importer",to:{pathname:"admin.php",search:`?page=cartflows&action=wcf-edit-flow&flow_id=${a}&tab=library&sub=library`},className:"wcf-flow-library__item wcf-flow-library__item--readymade"},"Import from Library"):"",(0,e.createElement)(kv,null))}));function Pv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const Fv=t.forwardRef(Pv),Rv=function(){const[{step_data:a,page_builder:r,flow_id:n,step_id:i}]=zl(),s=(0,f.useHistory)(),o={[a.type]:""},[l,c]=(0,t.useState)(a.type),{all_step_templates:u}=(0,fy.useSelect)((e=>({all_step_templates:e("wcf/importer").getAllStepTemplates()}))),d=[];u.forEach((e=>{a.type===e.type&&d.push(e)}));const m=async function(){i?s.push(`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${n}&step_id=${i}`):s.push(`admin.php?page=cartflows&path=store-checkout&action=wcf-edit-flow&flow_id=${n}`)};return 0===Object.keys(a).length&&m(),(0,e.createElement)("div",{className:`wcf-step-library wcf-step-library-${r}`},(0,e.createElement)("div",{className:"wcf-step-library__header bg-white px-8 py-6 flex justify-between items-center sm:items-center mb-9 -m-8 sm:flex-row flex-col gap-3"},"other"!==r&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("h3",{className:"flex items-center gap-2 text-2xl font-semibold text-gray-800"},(0,e.createElement)(Fv,{className:"w-6 h-6 stroke-1 cursor-pointer",onClick:m}),(0,z.sprintf)(/* translators: %s is replaced with the step title */ /* translators: %s is replaced with the step title */
(0,z.__)("Templates for %s","cartflows"),a.title)),(0,e.createElement)("div",{className:"wcf-step-library__step-actions"},(0,e.createElement)("div",{className:"wcf-tab-wrapper"},(0,e.createElement)("div",{className:"wcf-get-started-steps"}))))),(0,e.createElement)("div",{className:"wcf-step-library__body"},(0,e.createElement)("div",{className:"wcf-remote-content"},"other"!==r&&a&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-ready-templates current"},(0,e.createElement)(Cv,{templates:d,currentStep:l,required_step_type:o,currentStepId:a.id,setcurrentStepCB:c}))),"other"===r&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wcf-start-from-scratch current"},(0,e.createElement)(kv,null))))))};function Hv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495ZM10 5a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 10 5Zm0 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))}const Bv=t.forwardRef(Hv);function Wv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}const Vv=t.forwardRef(Wv);function Zv({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Gv=t.forwardRef(Zv),Xv=({slides:a})=>{const[r,n]=(0,t.useState)(0),[i,s]=(0,t.useState)(!1);return(0,e.createElement)("div",{className:"slider-container"},(0,e.createElement)("div",{className:"slide-wrapper gap-2 border-l-4 border border-yellow-400 rounded-lg bg-yellow-50 p-3"},(0,e.createElement)("div",{className:"slide "+(i?"fade-out":"fade-in")},(0,e.createElement)("div",{className:"wcf-payment-gateway-notice--icon"},(0,e.createElement)(Bv,{className:"h-5 w-5 text-yellow-400","aria-hidden":"true"})),(0,e.createElement)("div",{dangerouslySetInnerHTML:{__html:a[r]}})),a.length>1&&(0,e.createElement)("div",{className:"slider-dots"},(0,e.createElement)("button",{onClick:()=>{i||(s(!0),setTimeout((()=>{n(0===r?a.length-1:r-1),s(!1)}),400))},className:"slider-button "+(0===r?"disabled":""),disabled:0===r},(0,e.createElement)(Vv,{className:"h-8 w-8","aria-hidden":"true"})),(0,e.createElement)("button",{onClick:()=>{i||(s(!0),setTimeout((()=>{n(r===a.length-1?0:r+1),s(!1)}),400))},className:"slider-button "+(r===a.length-1?"disabled":""),disabled:r===a.length-1},(0,e.createElement)(Gv,{className:"h-8 w-8","aria-hidden":"true"})))))},Jv=function(){const t=new URLSearchParams((0,f.useLocation)().search),[{flow_type:a}]=zl(),r=t.get("tab"),n=cartflows_admin.cartflows_admin_notices;return(0,e.createElement)(e.Fragment,null,n.length>0&&(0,e.createElement)("div",{className:"wcf-notices-wrapper"},(0,e.createElement)(Xv,{slides:n})),function(){let t="";switch(r){case"library":t="flows"===a?(0,e.createElement)(jv,null):(0,e.createElement)(Qv,null);break;case"update-template":t=(0,e.createElement)(Rv,null);break;default:t=(0,e.createElement)(uv,null)}return t}())},qv=function(){const[{flow_id:a},r]=zl();return function(){const[{options:e},a]=zl(),r=function(t){const{name:r,value:n}=t.detail;if(r&&r.includes("[")){const t=r.split("["),i=[];for(let e=1;e<t.length;e++)i.push(t[e].split("]")[0]);const s=r.substr(0,r.indexOf("["));if("wcf-checkout-custom-fields"===s)return"";const o=e[s];switch(i.length){case 2:o[i[0]][i[1]]=n;break;case 4:o[i[0]][i[1]][i[2]][i[3]]=n}a({type:"SET_OPTION",name:s,value:o})}void 0!==e[r]&&(window.wcfUnsavedChanges=!0,a({type:"SET_OPTION",name:r,value:n})),"wcf-pre-checkout-offer-product"===r&&(a({type:"SET_OPTION",name:"wcf-pre-checkout-offer-desc",value:null!==e["wcf-pre-checkout-offer-product"]?e["wcf-pre-checkout-offer-product"].product_desc:""}),a({type:"SET_OPTION",name:"wcf-pre-checkout-offer-product-title",value:null!==e["wcf-pre-checkout-offer-product"]?e["wcf-pre-checkout-offer-product"].product_name:""}))},n=[{type:"select"},{type:"select2"},{type:"checkbox"},{type:"text"},{type:"textarea"},{type:"number"},{type:"radio"},{type:"color"},{type:"font"},{type:"product"},{type:"coupon"},{type:"image-selector"},{type:"toggle"},{type:"selectioncard"},{type:"select-with-logo"}];(0,t.useEffect)((()=>(e&&n.map((function(e){return document.addEventListener(`wcf:${e.type}:change`,r),""})),()=>{n.map((function(e){return document.removeEventListener(`wcf:${e.type}:change`,r),""}))})),[e])}(),(0,t.useEffect)((()=>{let e=!0;return(async()=>{A()({path:`/cartflows/v1/admin/flow-data/${a}`}).then((t=>{e&&r({type:"SET_FLOW_DATA",data:t})}))})(),()=>{e=!1}}),[]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Jv,null))},$v=function(t){const a=new URLSearchParams((0,f.useLocation)()?.search).get("flow_id");return"flows"===t.flowType?(Jb.flow_id=a,Jb.flow_type="flows"):(Jb.flow_id=cartflows_admin.global_checkout_id,Jb.flow_type="storeCheckout"),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Al,{reducer:qb,initialState:Jb},(0,e.createElement)(qv,{type:t.flowType})))},Kv=function(){const a=cartflows_admin?.logs,[r,n]=(0,t.useState)(cartflows_admin.file_content),[i,s]=(0,t.useState)(cartflows_admin.log_key);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"h-full"},(0,e.createElement)("main",{className:"mx-auto"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"space-y-6 sm:px-6 lg:col-span-9 lg:px-0"},(0,e.createElement)("section",{"aria-labelledby":"payment-details-heading"},(0,e.createElement)("div",{className:"shadow sm:overflow-hidden sm:rounded-md"},(0,e.createElement)("div",{className:"bg-white px-4 py-6 sm:p-6"},0===Object.keys(a).length&&(0,e.createElement)("h2",{className:"text-lg font-medium leading-6 text-gray-900 ml-0 my-auto"},(0,z.__)("No CartFlows Logs Found.","cartflows")),Object.keys(a).length>0&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"flex justify-between pb-6 border-b-2"},(0,e.createElement)("h2",{id:"payment-details-heading",className:"text-lg font-medium leading-6 text-gray-900 ml-0 my-auto"},(0,z.__)("CartFlows Logs","cartflows")),(0,e.createElement)("form",{onSubmit:function(e){e.preventDefault();const t=new window.FormData;t.append("action","cartflows_show_cf_log"),t.append("security",cartflows_admin.show_cf_log_nonce),t.append("log_key",i),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{n(e.log_content)}))}},(0,e.createElement)("select",{name:"log_file",className:"px-4 !py-1 !max-w-lg",onChange:function(e){s(e.target.value)}},Object.keys(a).map((t=>(0,e.createElement)("option",{value:t,key:t},a[t])))),(0,e.createElement)("button",{type:"submit",className:"wcf-button wcf-secondary-button ml-3",value:"__( 'View', 'cartflows' )"},(0,z.__)("View","cartflows")," "))),(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"py-5 flex justify-end gap-x-3"},(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",onClick:async e=>{try{await async function(e){if(navigator.clipboard&&window.isSecureContext)await navigator.clipboard.writeText(e);else{const t=document.createElement("textarea");t.value=e,t.style.position="absolute",t.style.left="-999999px",document.body.prepend(t),t.select();try{document.execCommand("copy")}catch(e){console.error(e)}finally{t.remove()}}}(r),console.log("Text copied to the clipboard!"),e.target.innerText=(0,z.__)("Copied","cartflows"),setTimeout((function(){e.target.innerText=(0,z.__)("Copy","cartflows")}),1e3)}catch(e){console.error(e)}}},(0,z.__)("Copy","cartflows")),(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",onClick:function(e){e.preventDefault();const t=new window.FormData;e.target.innerText=(0,z.__)("Downloading","cartflows"),t.append("action","cartflows_download_cf_log"),t.append("security",cartflows_admin.download_cf_log_nonce),t.append("log_key",a[i]),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((t=>{const r=t.data.file_content,n=a[i],s=new Blob([r],{type:"text/log"});if(document.documentMode)window.navigator.msSaveOrOpenBlob(s,n);else{const e=document.createElement("a");e.href=URL.createObjectURL(s),e.download=n,e.click()}e.target.innerText=(0,z.__)("Download","cartflows")}))}},(0,z.__)("Download","cartflows")),(0,e.createElement)("button",{className:"wcf-button wcf-secondary-button",onClick:function(e){e.preventDefault();const t=new window.FormData;e.target.innerText=(0,z.__)("Deleting","cartflows"),t.append("action","cartflows_delete_cf_log"),t.append("security",cartflows_admin.delete_cf_log_nonce),t.append("log_key",a[i]),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((()=>{e.target.innerText=(0,z.__)("Deleted","cartflows"),window.location.reload()}))}},(0,z.__)("Delete","cartflows"))),(0,e.createElement)("div",{className:"break-all leading-normal text-left bg-white p-4 rounded-sm overflow-y-auto max-h-96 my-5 mx-auto"},(0,e.createElement)("pre",{id:"wcf-log--text",className:"wcf-log--text contents whitespace-pre-wrap"},r))))))))))))},e_=()=>(0,e.createElement)("div",{className:"bg-gray-50 rounded w-full flex justify-center items-center mb-4 border border-gray-200 h-[70vh]"},(0,e.createElement)("div",{className:"flex items-center justify-center flex-col w-3/4"},(0,e.createElement)(Ey,{fontSize:"25px",width:"300px",style:{marginBottom:"10px"}}),(0,e.createElement)(Ey,{width:"80%",fontSize:"15px",style:{marginBottom:"5px"}}),(0,e.createElement)(Ey,{width:"80%",fontSize:"15px",style:{marginBottom:"5px"}}),(0,e.createElement)(Ey,{width:"65%",fontSize:"15px",style:{marginBottom:"5px"}}),(0,e.createElement)(Ly,{height:"10px"}),(0,e.createElement)(Ey,{width:"60%",fontSize:"15px",style:{marginBottom:"5px"}}),(0,e.createElement)(Ey,{width:"50%",fontSize:"15px",style:{marginBottom:"5px"}}),(0,e.createElement)(Ey,{width:"35%",fontSize:"15px",style:{marginBottom:"5px"}}))),t_=n.p+"images/marketingBanner.2ebf1f0e.png",a_=n.p+"images/OttokitFooterBanner.b942f0ba.jpg",r_=n.p+"images/videoThumbnail.54e3b6e1.jpg",n_="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIxIiBoZWlnaHQ9IjI1IiB2aWV3Qm94PSIwIDAgMTIxIDI1IiBmaWxsPSJub25lIiB4bWxucz0i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zUxNSAxMi4yNjI2Qzg1Ljc1MTUgMTQuOTQ3MiA4NC4wMjkzIDE2Ljg3MjEgODEuMzk1MyAxNi44NzIxWiIgZmlsbD0iIzRCNTU2MyIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzY4MTNfNTEzMjQiPgo8cmVjdCB3aWR0aD0iOTMiIGhlaWdodD0iMjQuMDYwNSIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNSAwLjIwNzAzMSkiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K";function c_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8.25v-1.5m0 1.5c-1.355 0-2.697.056-4.024.166C6.845 8.51 6 9.473 6 10.608v2.513m6-4.871c1.355 0 2.697.056 4.024.166C17.155 8.51 18 9.473 18 10.608v2.513M15 8.25v-1.5m-6 1.5v-1.5m12 9.75-1.5.75a3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0 3.354 3.354 0 0 0-3 0 3.354 3.354 0 0 1-3 0L3 16.5m15-3.379a48.474 48.474 0 0 0-6-.371c-2.032 0-4.034.126-6 .371m12 0c.39.049.777.102 1.163.16 1.07.16 1.837 1.094 1.837 2.175v5.169c0 .621-.504 1.125-1.125 1.125H4.125A1.125 1.125 0 0 1 3 20.625v-5.17c0-1.08.768-2.014 1.837-2.174A47.78 47.78 0 0 1 6 13.12M12.265 3.11a.375.375 0 1 1-.53 0L12 2.845l.265.265Zm-3 0a.375.375 0 1 1-.53 0L9 2.845l.265.265Zm6 0a.375.375 0 1 1-.53 0L15 2.845l.265.265Z"}))}const u_=t.forwardRef(c_);function d_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"}))}const m_=t.forwardRef(d_),g_=({sureTriggersStatus:a,setSureTriggersStatus:r,sureTriggersConnected:n,setSureTriggersConnected:i})=>{const[{globaldata:s},o]=l(),[c,u]=(0,t.useState)(!0),[d,m]=(0,t.useState)(!1),[g,p]=(0,t.useState)(!1),f=[{title:(0,z.__)("Email Marketing Automation","cartflows"),description:(0,z.__)("Automate email marketing campaigns based on customer actions, such as abandoned carts or completed purchases in WooCommerce.","cartflows"),icon:(0,e.createElement)(gb,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})},{title:(0,z.__)("Customer Birthday Campaigns","cartflows"),description:(0,z.__)("Automatically send personalized birthday offers or discounts to customers based on their birthdate stored in WooCommerce.","cartflows"),icon:(0,e.createElement)(u_,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})},{title:(0,z.__)("Order Notification","cartflows"),description:(0,z.__)("Receive instant notifications via SMS, Slack, WhatsApp, or messaging apps when new orders are placed in your WooCommerce store.","cartflows"),icon:(0,e.createElement)(db,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})},{title:(0,z.__)("Payment and Accounting Integration","cartflows"),description:(0,z.__)("Sync WooCommerce sales data with your accounting software for streamlined financial management.","cartflows"),icon:(0,e.createElement)(ky,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})},{title:(0,z.__)("Coupon Code Marketing","cartflows"),description:(0,z.__)("Automate the creation and distribution of coupon codes based on specific conditions or customer actions in WooCommerce.","cartflows"),icon:(0,e.createElement)(nj,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})},{title:(0,z.__)("Upsell and Cross-sell Campaigns","cartflows"),description:(0,z.__)("Automate targeted upsell and cross-sell offers based on customers' purchase history or product interactions in WooCommerce.","cartflows"),icon:(0,e.createElement)(m_,{className:"mr-3 h-6 w-6 flex-shrink-0 text-[#15A34A]"})}],M={ConvertKit:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGNsaXAtcGF0aD0idXJsKCNhKSIgZmlsbD0iIzRCNTU2MyI+PHBhdGggZD0iTTEyLjQ1MSAxOC45NDdjNC40ODEgMCA3Ljk0NS0zLjM5MyA3Ljk0NS03LjU3OSAwLTMuOTIxLTMuMjU0LTYuMzE1LTUuNDEtNi4zMTUtMyAwLTUuNDA2IDIuMTEtNS43NDggNS4yNDQtLjA2NC41OC0uNTIzIDEuMDY3LTEuMTA1IDEuMDYzYTM2NS43OSAzNjUuNzkgMCAwIDAtMy4yNjUtLjAxMi42NzEuNjcxIDAgMCAxLS42ODItLjY5NWMuMTM1LTIuNzE4IDEuMDQxLTUuMjU5IDIuNzctNy4yMUM4Ljg3NyAxLjI3MiAxMS42NzUgMCAxNC45ODYgMGM1LjU2NiAwIDEwLjgxOSA1LjA2OCAxMC44MTkgMTEuMzY4QzI1LjgwNSAxOC4zNDUgMjAuMDM4IDI0IDEyLjU3IDI0IDcuMjQ0IDI0IDEuODggMjAuNTExLjAwNyAxNS42MzRhLjEwNS4xMDUgMCAwIDEtLjAwNS0uMDU3IDIuMjIgMi4yMiAwIDAgMSAuMTIzLS40MDZjLjA3MS0uMTg4LjE0LS4zNzMuMTMtLjU4NmwtLjAzMi0uNjhhLjgyOC44MjggMCAwIDEgLjQ3OC0uNzg4bC4yN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(!1))};(0,t.useEffect)((()=>{const e=s?.settings?.automations;if(e){const t=e?.suretriggers;if(t){const e=t.connected;n||i(e),n&&t.data&&h(t.data)}u(!1)}}),[s,n]);const y=function(e){let t="";switch(e){case"active":t=n?(0,z.__)("Activated","cartflows"):(0,z.__)("Connect Your Website","cartflows");break;case"inactive":t=(0,z.__)("Activate","cartflows");break;case"not-installed":t=(0,z.__)("Install OttoKit for Free","cartflows");break;case"installing":t=(0,z.__)("Installing…","cartflows");break;case"activating":t=(0,z.__)("Activating…","cartflows");break;case"fail":t=(0,z.__)("Failed","cartflows");break;case"reload":t=(0,z.__)("Reloading","cartflows");break;case"connect":t=(0,z.__)("Connect Your Website","cartflows");break;case"connecting":t=(0,z.__)("Connecting","cartflows");break;default:t=(0,z.__)("Install","cartflows")}return t},N=function(e){if(e.preventDefault(),"not-installed"===a){r("installing"),m(!0);const e=new window.FormData;e.append("action","cartflows_install_plugin"),e.append("slug","suretriggers"),e.append("_ajax_nonce",cartflows_admin.plugin_installer_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.success?w("suretriggers/suretriggers.php"):(m(!1),r("fail"))}))}else"active"!==a?w("suretriggers/suretriggers.php"):"active"!==a||n||x()},w=e=>{r("activating"),m(!0);const t=new window.FormData;t.append("action","cartflows_activate_plugin"),t.append("init",e),t.append("security",cartflows_admin.activate_plugin_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:t}).then((e=>{m(!1),e.data&&e.data.success?r("active"):r("fail")}))},x=()=>{const e=new window.FormData;e.append("action","cartflows_get_suretriggers_data"),e.append("security",cartflows_admin.get_suretriggers_data_nonce),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((t=>{if(t&&t?.success)if(r("active"),m(!1),t?.data?.connected)h(t?.data?.data);else{const a={width:800,height:720},i={left:(screen.width-a.width)/2,top:(screen.height-a.height)/2},s=window.open(t?.data?.redirection,"",`width=${a.width},height=${a.height},top=${i.top},left=${i.left},scrollbars=0`);let o=0;const l=setInterval((()=>{r("connecting"),m(!0),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((e=>{e.success?e?.data?.connected&&(s.close(),clearInterval(l),n||(r("active"),h(e?.data?.data)),m(!1)):o++})),(o>=240||s.closed)&&(s.closed||s.close(),clearInterval(l),r("active"),m(!1))}),500)}else r("fail")}))};let b;return c?b=(0,e.createElement)(e_,null):n?!c&&s?.settings?.automations&&(b=(0,e.createElement)("div",{className:"p-8 rounded-md bg-white overflow-hidden shadow-sm flex flex-col justify-center h-full"},(0,e.createElement)("div",{className:"wcf-automation-wrapper h-full"},(0,e.createElement)("div",{id:"suretriggers-iframe-wrapper",style:{width:"100%",height:"70vh"}})))):b=(0,e.createElement)("div",{className:"relative min-h-screen -m-8"},(0,e.createElement)("div",{className:"flex flex-col items-center justify-center overflow-hidden p-0 rounded shadow-overlay"},(0,e.createElement)("header",{className:"px-4 pt-10 pb-64 w-full",style:{backgroundImage:`url(${t_})`,backgroundRepeat:"no-repeat",backgroundColor:"#ffffff",backgroundPosition:"center 70%"}},(0,e.createElement)("div",{className:"text-center space-y-8 max-w-3xl mx-auto"},(0,e.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTUyIiBoZWlnaHQ9IjE0NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWx0ZXI9InVybCgjYSkiPjxnIGNsaXAtcGF0aD0idXJsKCNiKSI+PHJlY3QgeD0iNC4wNjEiIHk9IjQiIHdpZHRoPSIxMzYiIGhlaWdodD0iMTM2IiByeD0iMzYuNjE1IiBmaWxsPSIjRDJGMDU5Ii8+PGcgZmlsdGVyPSJ1cmwoI2MpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcyLjA1IDk5LjQyYzE1LjE0NCAwIDI3LjQxOC0xMi4yNzYgMjcuNDE4LTI3LjQx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vcj0ib3V0Ii8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjA4IDAiLz48ZmVCbGVuZCBpbjI9ImVmZmVjdDNfZHJvcFNoYWRvd185NF80IiByZXN1bHQ9ImVmZmVjdDRfZHJvcFNoYWRvd185NF80Ii8+PGZlQmxlbmQgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0NF9kcm9wU2hhZG93Xzk0XzQiIHJlc3VsdD0ic2hhcGUiLz48L2ZpbHRlcj48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgxPSI3Mi4wNDkiIHkxPSIxMjAuMzg3IiB4Mj0iNzIuMDQ5IiB5Mj0iMjMuNjE1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzA3MkY1MCIgc3RvcC1vcGFjaXR5PSIuOTUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMxNzJBMzkiIHN0b3Atb3BhY2l0eT0iLjc1Ii8+PC9saW5lYXJHcmFkaWVudD48Y2xpcFBhdGggaWQ9ImIiPjxyZWN0IHg9IjQuMDYxIiB5PSI0IiB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgcng9IjM2LjYxNSIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",alt:"OttoKit",className:"mx-auto w-48 h-auto"}),(0,e.createElement)("h1",{className:"text-3xl sm:text-[40px] leading-[38px] sm:leading-[48px] font-bold mt-4"},(0,z.__)("Integrate WooCommerce and CartFlows with Anything","cartflows")),(0,e.createElement)("p",{className:"text-base leading-[26px] text-gray-600"},(0,z.__)("Integrate all your apps, plugins, and services to automate repetitive tasks.","cartflows")),(0,e.createElement)("button",{className:"wcf-button gap-1.5 py-3 px-5 text-base font-medium "+(d?"ring-2 ring-offset-2 ring-[#D2F059] bg-[#E8F89E] text-[#1F2937]":"bg-[#D2F059] text-[#172A39] hover:bg-[#C2DF30]"),onClick:N},d&&(0,e.createElement)(ay,{className:"!border-[#172A39] !border-r-transparent"}),y(a),!d&&"active"===a&&!n&&(0,e.createElement)(_N,{className:"w-4 h-4 stroke-2"})),(0,e.createElement)("a",{href:"https://ottokit.com/",target:"_blank",className:"block text-base font-normal text-gray-400 hover:text-[#172A39] underline",rel:"noreferrer"},(0,z.__)("Visit OttoKit Website","cartflows")))),(0,e.createElement)("section",{className:"pt-16 pb-0 w-full -mt-64 px-4"},(0,e.createElement)("div",{className:"text-center space-y-8 max-w-3xl mx-auto flex justify-center"},(0,e.createElement)("div",{className:"relative w-[720px] h-[300px] sm:h-[350px] md:h-[380px] lg:h-[400px] rounded-lg overflow-hidden bg-black"},g?(0,e.createElement)("iframe",{className:"absolute top-0 left-0 w-full h-full rounded-lg",width:"720",height:"400",src:"https://www.youtube.com/embed/im1AS07locA?autoplay=1&controls=0&showinfo=0&modestbranding=1",title:"Introducing WordPress Automation With OttoKit",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):(0,e.createElement)("div",{className:"w-full h-full cursor-pointer bg-black relative",onClick:()=>p(!0)},(0,e.createElement)("img",{src:r_,alt:"Video Thumbnail",className:"w-full h-full"}),(0,e.createElement)("div",{className:"bg-white rounded-full flex items-center justify-center w-16 h-16 bg-opacity-95 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-play size-7 hover:fill-red-500 hover:text-red-500 text-[#94a3b8] fill-[#94a3b8]"},(0,e.createElement)("polygon",{points:"6 3 20 12 6 21 6 3"}))))))),(0,e.createElement)("section",{className:"pt-16 pb-0 w-full"},(0,e.createElement)("div",{className:"text-center max-w-3xl mx-auto"},(0,e.createElement)("h2",{className:"text-xl text-gray-800 font-semibold -tracking-[0.2px] px-4 lg:px-5 md:px-5"},(0,z.__)("Here are a few simple examples of what OttoKit can do on your WooCommerce store:","cartflows")),(0,e.createElement)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-6 mt-8 px-4"},f.map(((t,a)=>(0,e.createElement)("div",{key:a,className:"p-6 bg-white rounded-lg text-left"},t?.icon,(0,e.createElement)("h3",{className:"mt-4 text-base leading-7 font-medium"},t.title),(0,e.createElement)("p",{className:"mt-2 text-sm leading-6 text-gray-600"},t.description))))),(0,e.createElement)("p",{className:"mt-8 mb-0 text-sm leading-6 font-medium text-black"},(0,z.__)("These are just some examples. The possibilities are truly endless!","cartflows")),(0,e.createElement)("span",{className:"wcf-spacer block w-9 border-t border-gray-300 mx-auto my-12"}))),(0,e.createElement)("section",{className:"pb-16 w-full"},(0,e.createElement)("div",{className:"text-center max-w-3xl mx-auto"},(0,e.createElement)("h2",{className:"text-xl font-semibold text-gray-800 -tracking-[0.2px]"},(0,z.__)("Trusted by World's Top Brands to Connect Their Apps","cartflows")),(0,e.createElement)("div",{className:"flex justify-center flex-wrap gap-8 mt-8"},Object.entries(M).map((([t,a],r)=>(0,e.createElement)("img",{key:r,src:a,alt:t,className:"object-contain"})))))),(0,e.createElement)("footer",{className:"w-full px-4 pb-9"},(0,e.createElement)("div",{className:"p-8 space-y-8 max-w-3xl mx-auto text-white rounded-lg",style:{backgroundImage:`url(${a_})`,backgroundRepeat:"no-repeat",backgroundColor:"#ffffff",backgroundPosition:"center",backgroundSize:"cover"}},(0,e.createElement)("div",{className:"flex gap-4 sm:gap-16 items-center sm:flex-row flex-col"},(0,e.createElement)("div",{className:"flex flex-col gap-2"},(0,e.createElement)("h2",{className:"text-xl font-semibold text-white text-center sm:text-left"},(0,z.__)("Join Thousands of Entrepreneurs Already Using OttoKit.","cartflows")),(0,e.createElement)("span",{className:"text-sm leading-6 font-normal text-center sm:text-left"},(0,z.__)("Connect your apps and automate your business.","cartflows"))),(0,e.createElement)("button",{className:"flex items-center gap-2 bg-white text-base font-semibold text-[#172A39] py-3 px-5 rounded-md whitespace-nowrap "+(d?"wcf-disabled":""),onClick:N},d&&(0,e.createElement)(ay,{className:"!border-[#172A39] !border-r-transparent"}),y(a),(0,e.createElement)(_N,{className:"w-4 h-4 stroke-2"}))))))),(0,e.createElement)("section",{"aria-labelledby":(0,z.__)("Automations","cartflows")},b)},p_=function(){const[{globaldata:a},{}]=l(),[r,n]=(0,t.useState)(a?.settings?.automations?.suretriggers?.status||cartflows_admin?.suretriggers_status),[i,s]=(0,t.useState)(a?.settings?.automations?.suretriggers?.connected||!1);return(0,e.createElement)("div",{className:"wcf-automation-page-wrapper"},"active"===r&&i&&(0,e.createElement)("div",{className:"bg-white px-8 py-6 flex justify-between items-center mb-9 -m-8"},(0,e.createElement)("h2",{className:"text-2xl font-bold text-grey-800"},(0,z.__)("Automations","cartflows"))),(0,e.createElement)(g_,{sureTriggersStatus:r,setSureTriggersStatus:n,sureTriggersConnected:i,setSureTriggersConnected:s}))};function f_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))}const M_=t.forwardRef(f_);function h_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))}const y_=t.forwardRef(h_),N_=function(){const a=(0,f.useHistory)(),[r,n]=(0,t.useState)(1);(0,t.useEffect)((()=>{if(wcfCartflowsTypePro()){const e=new URLSearchParams(window.location.search);if(e.has("path")&&"free-vs-pro"===e.get("path")){e.delete("path");const t=`${window.location.pathname}${e.toString()?"?"+e.toString():""}`;a.push(t)}}}),[]);const i=[{title:(0,z.__)("Checkout Features","cartflows"),features:[{feature:(0,z.__)("Modern Checkout Styles","cartflows"),description:(0,z.__)("Optimized replacement for the standard WooCommerce checkout page designed for higher conversion","cartflows"),free:!0,pro:!0},{feature:(0,z.__)("Custom Checkout Fields","cartflows"),description:(0,z.__)("Have complete control over the field editor to manage the fields as required","cartflows"),free:!0,pro:!0}]},{title:(0,z.__)("One-Click Upsells / Downsells","cartflows"),features:[{feature:(0,z.__)("Dynamic One-Click Upsells","cartflows"),description:(0,z.__)("Use cart contents or customer data to display relevant upsells for maximum conversion","cartflows"),free:!1,pro:!0},{feature:(0,z.__)("Dynamic Upsell Templates","cartflows"),description:(0,z.__)("Professional templates to help you sell more even if you’re not a designer","cartflows"),free:!1,pro:!0}]},{title:(0,z.__)("Order Bump Features","cartflows"),features:[{feature:(0,z.__)("Dynamic Order Bumps","cartflows"),description:(0,z.__)("Smart order bumps using customer data to display most relevant products or offers","cartflows"),free:!1,pro:!0}]},{title:(0,z.__)("Advanced Funnel Features","cartflows"),features:[{feature:(0,z.__)("A / B Split Testing","cartflows"),description:(0,z.__)("Increase conversions and sales with CartFlows A/B Testing by running simple tests","cartflows"),free:!1,pro:!0},{feature:(0,z.__)("Analytics","cartflows"),description:(0,z.__)("Analyze transactions and user behavior to refine conversions and make more profit","cartflows"),free:!1,pro:!0}]},{title:(0,z.__)("Bonus ($200 Value)","cartflows"),features:[{feature:(0,z.__)("Access to OttoKit Pro Plan","cartflows"),description:(0,z.__)("Cloud-based automation tools that intelligently links your websites, stores, plugins and apps","cartflows"),free:!1,pro:!0},{feature:(0,z.__)("SkillJet Academy Access","cartflows"),description:(0,z.__)("CartFlows offers full training to help you make more profit with SkillJet academy","cartflows"),free:!1,pro:!0}]},{title:(0,z.__)("Others Benefits","cartflows"),features:[{feature:(0,z.__)("Premium Support","cartflows"),description:(0,z.__)("Professional Support, Professional Support Team or Dedicated Support Team","cartflows"),free:!1,pro:!0},{feature:(0,z.__)("Amazing User Community","cartflows"),description:(0,z.__)("Amazing User Community is already a great message unless you’re looking for a different meaning","cartflows"),free:!0,pro:!0},{feature:(0,z.__)("Great Documentation & Video Tutorials","cartflows"),description:(0,z.__)("Comprehensive Documentation and Video Tutorials or Comprehensive Documentation and Video Guides","cartflows"),free:!0,pro:!0}]},{title:(0,z.__)("Free Plugins","cartflows"),features:[{feature:(0,z.__)("Variation Swatches","cartflows"),description:(0,z.__)("Give customers choice by including relevant product variations including size, color and more","cartflows"),free:!0,pro:!0},{feature:(0,z.__)("Stripe Payment Gateway","cartflows"),description:(0,z.__)("Accepting multiple payment methods gives customers choice and can significantly increase conversion","cartflows"),free:!0,pro:!0}]}],s=[{value:"plus-annual",label:(0,z.__)("Plus - Annual","cartflows"),price:189,term:(0,z.__)("/ year","cartflows"),utmParam:cartflows_admin?.utm_param_pro_plans},{value:"pro-annual",label:(0,z.__)("Pro - Annual","cartflows"),price:299,term:(0,z.__)("/ year","cartflows"),utmParam:cartflows_admin?.utm_param_pro_plans},{value:"pro-lifetime",label:(0,z.__)("Pro - Lifetime (One Time Pay)","cartflows"),price:999,term:(0,z.__)("for Lifetime","cartflows"),utmParam:cartflows_admin?.utm_param_pro_plans},{value:"pro-lifetime-11-splitpay",label:(0,z.__)("Pro - Lifetime (11 x Split Pay)","cartflows"),price:99,term:(0,z.__)("x 11 Months","cartflows"),utmParam:cartflows_admin?.utm_param_pro_plans}],o=t=>"boolean"==typeof t?t?(0,e.createElement)(M_,{className:"w-6 h-6 stroke-2 text-green-500"}):(0,e.createElement)(Sr,{className:"w-6 h-6 stroke-2 text-primary-500"}):t,l=()=>{const t=cartflows_admin?.cf_pro_status;return wcfCartflowsTypePro()?(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),target:"blank",className:"wcf-button wcf-primary-button focus:text-white text-sm "},(0,z.__)("Upgrade to Pro","cartflows")):"inactive"===t?(0,e.createElement)(yy,null):void 0};return(0,e.createElement)("div",{className:"wcf-freevspro-page-wrapper grid grid-cols-12 gap-8 w-full"},(0,e.createElement)("div",{className:"wcf-free-vs-pro-table flex flex-col gap-8 lg:col-span-8 md:col-span-12 col-span-12"},(0,e.createElement)("div",{className:"w-full"},(0,e.createElement)("div",{className:"bg-white shadow-sm rounded-md border border-gray-100"},(0,e.createElement)("div",{className:"flex justify-between items-center w-full py-6 px-5 pr-6"},(0,e.createElement)("div",null,(0,e.createElement)("h2",{className:"text-xl font-bold text-grey-800"},(0,z.__)("Free vs Pro","cartflows")),(0,e.createElement)("p",{className:"m-0 text-sm font-normal pt-1 text-gray-600"},(0,z.__)("Explore the key differences between Plus and Pro to find the perfect fit for your needs.","cartflows"))),l()),(0,e.createElement)("div",{className:"grid grid-cols-9 sm:grid-cols-12 lg:grid-cols-12 font-medium text-base py-4 px-5 border-b border-gray-200"},(0,e.createElement)("div",{className:"text-sm text-gray-800 font-medium text-left col-span-6"},(0,z.__)("Features","cartflows")),(0,e.createElement)("div",{className:"text-sm text-gray-800 font-medium text-center col-start-7 col-span-3"},(0,z.__)("Free","cartflows")),(0,e.createElement)("div",{className:"text-sm text-gray-800 font-medium text-center col-start-10 col-span-3"},(0,z.__)("PRO","cartflows"))),(0,e.createElement)("div",{className:"divide-y text-base divide-gray-200 text-gray-600"},i.map(((t,a)=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{key:`cat-${a}`,className:"grid grid-cols-9 sm:grid-cols-12 lg:grid-cols-12 py-4 px-5 text-sm text-gray-700 font-medium bg-gray-25"},(0,e.createElement)("div",{className:"col-span-12"},t.title)),t.features.map(((t,a)=>(0,e.createElement)("div",{key:a,className:"grid grid-cols-9 sm:grid-cols-12 lg:grid-cols-12 py-4 px-5 "},(0,e.createElement)("div",{className:"text-sm font-normal text-gray-600 text-left col-span-6 sm:flex sm:items-center lg:flex lg:items-center"},t.feature,(0,e.createElement)(fh,{text:t.description,icon:(0,e.createElement)(Xx,{className:"w-[18px] h-[18px] stroke-1.5 text-primary-500"})})),(0,e.createElement)("div",{className:"text-sm font-normal text-gray-600 text-center col-start-7 col-span-3 m-auto"},o(t.free)),(0,e.createElement)("div",{className:"text-sm font-normal text-gray-600 text-center col-start-10 col-span-3 m-auto"},o(t.pro))))))))),(0,e.createElement)("div",{className:"border-t text-base border-gray-200 text-primary-500"},(0,e.createElement)("a",{href:"https://cartflows.com/features/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=features",className:"text-center py-4 px-5 flex justify-center hover:text-primary-500",target:"blank"},(0,z.__)("See all CartFlows Pro features","cartflows"),(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 ml-2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))))),(0,e.createElement)("div",{className:"bg-white shadow-sm rounded-md border border-gray-100 p-10 mt-6"},(0,e.createElement)("div",{className:"mb-7 text-center"},(0,e.createElement)("span",{className:"wcf-pro-badge px-2 py-0.5 text-xs text-primary-600 rounded-[14px] shadow-[0px_6px_16px_-2px_rgba(240,100,52,0.4)]"},(0,e.createElement)("span",null,(0,z.__)("PRO","cartflows"))),(0,e.createElement)("p",{className:"text-2xl font-semibold my-5"},(0,z.__)("Sell More with CartFlows Pro","cartflows")),(0,e.createElement)("p",{className:"w-2/4 mx-auto"},(0,z.__)("Get access to powerful features for painless WordPress designing, without the high costs. With all the time you will save, it’s a product that pays for itself!","cartflows"))),(0,e.createElement)("div",{className:"text-center"},l())))),(0,e.createElement)("div",{className:"wcf-pricing-plans--wrapper lg:col-span-4 md:col-span-12 col-span-12 flex flex-col gap-8"},(0,e.createElement)("div",{className:"unlock-pro-features bg-white p-6 shadow-sm rounded-lg border border-solid border-border-subtle flex items-center gap-6 md:flex-col flex-col-reverse sticky top-32"},(0,e.createElement)("div",{className:"flex flex-1"},(0,e.createElement)("img",{className:"md:w-72 w-full",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzEzIiBoZWlnaHQ9IjI2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxtYXNrIGlkPSJiIiBzdHlsZT0ibWFzay10eXBlOmx1bWluYW5jZSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjMxMyIgaGVpZ2h0PSIyNjQiPjxwYXRoIGQ9Ik0zMTIuNDgzIDBILjUydjI2NGgzMTEuOTYzVjBaIiBmaWxsPSIjZmZmIi8+PC9tYXNrPjxnIG1hc2s9InVybCgjYikiPjxwYXRoIGQ9Ik0yNTAuNjg1IDEyMy40OTdjMzQuMTM0IDAgNjEuODAyLTI3LjY0NiA2MS44MDItNjEuNzQ5QzMxMi40ODcgMjcuNjQ2IDI4NC44MTkgMCAyNTAuNjg1IDBzLTYxLjgwNiAyNy42NDYtNjEuODA2IDYxLjc0OGMwIDM0LjEwMyAyNy42NzIgNjEuNzQ5IDYxLjgwNiA2MS43NDlaIiBmaWxsPSIjRjlDMUFFIi8+PHBhdGggZD0iTTI1Ni4xOCA0Ni4wMjNIMzEuM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(0,z.__)("CartFlows Free vs Pro Image","cartflows"),title:(0,z.__)("CartFlows Free vs Pro Image","cartflows")})),(0,e.createElement)("div",{className:"flex flex-1 flex-col gap-2"},(0,e.createElement)("div",{className:" text-primary-600 flex space-x-1"},(0,e.createElement)(y_,{className:"w-4 h-4 stroke-2 text-primary-600"}),(0,e.createElement)("div",{className:"font-semibold text-xs"},(0,z.__)("Unlock Pro Features","cartflows"))),(0,e.createElement)("div",null,(0,e.createElement)("h1",{className:"font-semibold p-0 m-0 text-lg [&>*]:text-lg gap-1"},(0,z.__)("Generate More Sales With CartFlows Pro!","cartflows")),(0,e.createElement)("p",{className:"text-sm text-text-secondary mt-1"},(0,z.__)("Build a sales funnel with everything you need to generate leads and grow sales.","cartflows"))),(0,e.createElement)("div",{className:"grid grid-cols-2 gap-3"},(0,e.createElement)("ul",{className:"list-none pl-0"},(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("One Click Upsells","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("Order Bumps","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("A/B Split Testing","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("Conversion Templates","cartflows")))),(0,e.createElement)("ul",{className:"list-none pl-0"},(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("Checkout Editor","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("Dynamic Offers","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("Cart Abandonment","cartflows"))),(0,e.createElement)("li",{className:"flex items-center space-x-2 text-field-label text-sm"},(0,e.createElement)(M_,{className:"w-4 h-4 stroke-2 text-primary-500 mt-0.5"}),(0,e.createElement)("span",null,(0,z.__)("And More…","cartflows"))))),(0,e.createElement)("div",{className:"grid grid-cols-6 gap-3 items-center unlock-pro-features-dropdown-container mt-3"},(0,e.createElement)("div",{className:"dropdown-container col-span-3"},(0,e.createElement)(El,{name:"wcf-upgrade-to-pro--plans",value:"pro-annual",placeholder:(0,z.__)("Pro - Annual","cartflows"),isSearchable:!1,options:s,onChangeCB:e=>{var t;t=e.value,n(s.findIndex((e=>e.value===t)))}})),(0,e.createElement)("div",{className:"flex items-center justify-center gap-3 col-span-3"},(0,e.createElement)("div",{className:"wcf-plan--pricing text-sm"},(0,e.createElement)("span",{className:"text-gray-800 font-semibold text-base"},"$"+s[r]?.price)," ",(0,e.createElement)("span",{className:"text-gray-400"},s[r]?.term)))),(0,e.createElement)("div",{className:"flex gap-2 flex-col mt-2"},(0,e.createElement)("a",{href:"https://my.cartflows.com/checkout-cartflows-"+s[r]?.value+"/"+s[r]?.utmParam,target:"blank",className:"wcf-button wcf-primary-button font-semibold"},(0,z.__)("Buy Now","cartflows")),(0,e.createElement)("a",{href:getUpgradeToProUrl(cartflows_admin?.utm_param_pro_plans),target:"_blank",rel:"noreferrer",className:"text-xs font-semibold text-primary-500 hover:text-primary-600 w-full flex justify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MgMTY1LjY3OCAxNC40MjQ0TDE2OC4xMDMgMTUuNTk3M0MxNjYuODQ1IDE3Ljc3MDggMTY0Ljk5NiAxOC44NTc2IDE2Mi41NTcgMTguODU3NlpNMTgxLjEzNiAxOC42MTlIMTc3LjY1NkwxNzMuNjQxIDEzLjMxMTJMMTcyLjYwNyAxNC41NDM3VjE4LjYxOUgxNjkuNzg0VjUuMzU5M0gxNzIuNjA3VjExLjI4MzRMMTc3LjI5OSA1LjM1OTNIMTgwLjc3N0wxNzUuNTA5IDExLjU4MTZMMTgxLjEzNiAxOC42MTlaIiBmaWxsPSIjNEI1NTYzIi8+Cjwvc3ZnPgo=",l_,n_,s_,o_],[r,n]=(0,t.useState)(!1),[i,s]=(0,t.useState)(cartflows_admin?.moderncart_status||"not-installed"),o=function(e){let t="";switch(e){case"active":t=(0,z.__)("Activated","cartflows");break;case"inactive":t=(0,z.__)("Activate","cartflows");break;case"not-installed":t=(0,z.__)("Get ModernCart Now","cartflows");break;case"installing":t=(0,z.__)("Installing…","cartflows");break;case"activating":t=(0,z.__)("Activating…","cartflows");break;case"fail":t=(0,z.__)("Failed","cartflows");break;case"reload":t=(0,z.__)("Reloading","cartflows");break;case"redirect":t=(0,z.__)("Redirecting","cartflows");break;default:t=(0,z.__)("Install","cartflows")}return t},l=e=>{e.preventDefault();const t=e.currentTarget;if("not-installed"===cartflows_admin.moderncart_status)window.open("https://cartflows.com/modern-cart-for-woocommerce/#pricing-section?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=moderncart-promo","_blank","noopener,noreferrer");else{const e=new window.FormData;e.append("action","cartflows_activate_plugin"),e.append("init","modern-cart/modern-cart.php"),e.append("security",cartflows_admin.activate_plugin_nonce),s("activating"),n(!0),a=!0,t.classList.toggle("pointer-events-none",a),t.classList.toggle("opacity-50",a),A()({url:cartflows_admin.ajax_url,method:"POST",body:e}).then((()=>{n(!1),s("redirect"),window.location="admin.php?page=moderncart_settings"}))}var a};return(0,e.createElement)("main",{className:" bg-gray-50 -m-8"},(0,e.createElement)("header",{className:"text-center bg-white px-4 pt-10 pb-16 text-base rounded-lg w-full flex flex-col justify-center items-center gap-8 bg-no-repeat bg-bottom bg-contain",style:{backgroundImage:`url(${w_})`}},(0,e.createElement)("div",{className:"text-center space-y-8 max-w-3xl mx-auto"},(0,e.createElement)("img",{className:"mx-auto w-48 h-auto",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzE5IiBoZWlnaHQ9IjU0IiB2aWV3Qm94PSIwIDAgMzE5IDU0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTIyMV8zMjU0NCkiPgo8bWFzayBpZD0ibWFzazBfMTIyMV8zMjU0NCIgc3R5bGU9Im1hc2stdHlwZTpsdW1pbmFuY2UiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMTkiIGhlaWdodD0iNTQiPgo8cGF0aCBkPSJNMzE4LjUzMyAwSDBWNTRIMzE4LjUzM1YwWiIgZmlsbD0id2hpdGUiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzEyMjFfMzI1NDQpIj4KPHBhdGggZD0iTTkuMjU5MjcgMjAuMDg5MUgwVjIyLjYwNjlINi4wNDc5OEM2LjYwNDU3IDM0LjE3ODUgMTQuNTkzNyA0MS40Mjg1IDE4LjUxODUgNDMuNjA3MUMyMi41MDA2IDQyLjIzNTcgMjQuODE2MiA0NS4xMDcxIDI1LjQ3NjQgNDYuNzE0M0MyNy43NDU4IDQ3LjgyODUgMzIuNDUyMSA0Ny43NSAzNC41MjE2IDQ3LjU3MTRDMzYuOTMwMSA0My4yMzIxIDQxLjA1MTMgNDQuMzU3MSA0Mi4zMzU4IDQ1LjMyMTVDNDcuNzczNSA0Mi43MDcxIDUwLjkxNzEgMzkuMDE3OCA1MS44MDkxIDM3LjVMND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ading-[48px] mt-4"},Nr((0,z.sprintf)(/* translators: %s: line break */ /* translators: %s: line break */
(0,z.__)("Your WooCommerce Cart, Reinvented %sto Sell More.","cartflows"),"<br/>"))),(0,e.createElement)("p",{className:"text-base font-normal leading-[26px] text-gray-600 mt-2 "},(0,z.__)("ModernCart replaces redirects and reloads with a smooth slide-out cart — fewer steps, fewer drop-offs, more conversions.","cartflows")),(0,e.createElement)("button",{onClick:l,className:"wcf-button gap-1.5 py-3 px-5 text-base font-medium "+(r?"ring-2 ring-offset-2 ring-primary-500 bg-primary-400 text-white":"bg-primary-500 text-white hover:bg-primary-600")},r&&(0,e.createElement)(ay,{className:"!border-white !border-r-transparent"}),o(i)),(0,e.createElement)("a",{href:"https://cartflows.com/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=moderncart-promo",className:"block text-base mt-2 text-gray-400 font-normal text-center underline hover:underline",target:"_blank",rel:"noreferrer"},(0,z.__)("See Plans & Pricing →","cartflows")))),(0,e.createElement)("section",{className:"pt-16 pb-9 px-4 text-center bg-[#FEF8F5]"},(0,e.createElement)("div",{className:"text-center max-w-3xl w-full mx-auto"},(0,e.createElement)("h2",{className:"text-xl text-cfvswheadingcolor font-semibold text-center m-auto"},(0,z.__)("Here's What ModernCart Does for Your Store","cartflows")),(0,e.createElement)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-6 mt-8 px-4"},[{title:(0,z.__)("Slide-Out Cart","cartflows"),description:(0,z.__)("Keep shoppers on the same page while adding or editing items, reducing steps and boosting completed purchases.","cartflows"),icon:(0,e.createElement)("svg",{"data-slot":"icon",fill:"none",strokeWidth:"1.5",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))},{title:(0,z.__)("Smart Product Recommendations","cartflows"),description:(0,z.__)("Show relevant product suggestions inside the cart, automatically increasing order value with simple, effective upsells.","cartflows"),icon:(0,e.createElement)("svg",{"data-slot":"icon",fill:"none",strokeWidth:"1.5",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"}))},{title:(0,z.__)("Free Shipping Progress Bar","cartflows"),description:(0,z.__)("Motivate customers to spend more by clearly showing how close they are to unlocking free shipping.","cartflows"),icon:(0,e.createElement)("svg",{"data-slot":"icon",fill:"none",strokeWidth:"1.5",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))},{title:(0,z.__)("Smooth Coupon Management","cartflows"),description:(0,z.__)("Make discounts effortless — shoppers can quickly apply or remove coupon codes without page reloads or confusion.","cartflows"),icon:(0,e.createElement)("svg",{"data-slot":"icon",fill:"none",strokeWidth:"1.5",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"}))},{title:(0,z.__)("Instant Updates, No Reloads","cartflows"),description:(0,z.__)("Deliver a seamless, app-like cart experience with real-time updates that keep customers engaged without interruptions.","cartflows"),icon:(0,e.createElement)("svg",{"data-slot":"icon",fill:"none",strokeWidth:"1.5",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))},{title:(0,z.__)("Customize Everything","cartflows"),description:(0,z.__)("Easily change cart icons, labels, colors, and texts to perfectly match your brand and store's style.","cartflows"),icon:(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M4 4V9H4.58152M19.9381 11C19.446 7.05369 16.0796 4 12 4C8.64262 4 5.76829 6.06817 4.58152 9M4.58152 9H9M20 20V15H19.4185M19.4185 15C18.2317 17.9318 15.3574 20 12 20C7.92038 20 4.55399 16.9463 4.06189 13M19.4185 15H15",stroke:"#F06434",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}].map(((t,a)=>(0,e.createElement)("div",{key:a,className:"flex flex-col gap-4 p-6 rounded-lg text-left bg-white"},(0,e.createElement)("span",{className:"w-6 h-6 block text-primary-500"},t.icon),(0,e.createElement)("h3",{className:"text-base font-medium text-cfvswheadingcolor"},t.title),(0,e.createElement)("p",{className:"text-gray-600 text-sm"},t.description)))))),(0,e.createElement)("hr",{className:"block w-9 border-t border-gray-600 border-b-0 m-auto my-12"}),(0,e.createElement)("div",{className:"max-w-[688px] mx-auto"},(0,e.createElement)("h2",{className:"text-xl font-semibold text-gray-800 mb-10"},(0,z.__)("Trusted by Top Brands to Boost Conversions Instantly","cartflows")),(0,e.createElement)("div",{className:"flex flex-wrap justify-center gap-9 "},a.map(((t,a)=>(0,e.createElement)("div",{key:a,className:" h-6"},(0,e.createElement)("img",{className:"m-auto h-full",src:t,alt:(0,z.__)("Brand logo","cartflows")}))))),(0,e.createElement)("div",{className:"mt-12 bg-cartflows text-white p-8 rounded-lg mx-auto flex items-center"},(0,e.createElement)("div",{className:"w-3/5 text-left"},(0,e.createElement)("h2",{className:"text-xl font-semibold text-white mb-2"},(0,z.__)("Stop Losing Sales at the Cart — Fix It in Minutes!","cartflows")),(0,e.createElement)("p",{className:"text-sm text-white"},(0,z.__)("Modern Cart is your instant upgrade for more sales, bigger orders, and smoother checkouts.","cartflows"))),(0,e.createElement)("button",{onClick:l,className:"flex gap-3 items-center rounded-md ml-auto h-max py-3 px-5 bg-white box-shadow-0px-1px-2px-0px-#0000000D text-primary-500 font-semibold w-max text-base "+(r?"wcf-disabled !border-none":"")},r&&(0,e.createElement)(ay,{className:"!border-primary-500 !border-r-transparent"}),o(i))))))},b_=function(){const t=new URLSearchParams((0,f.useLocation)().search),a=t.get("page"),r=t.get("path");let n=(0,e.createElement)("p",null,"Default route fallback");if(cartflows_admin.home_slug===a){switch(r){case"flows":n=(0,e.createElement)(Jx,null);break;case"store-checkout":n="inactive"===cartflows_admin.woocommerce_status||"not-installed"===cartflows_admin.woocommerce_status?(0,e.createElement)(qx,null):""===cartflows_admin.global_checkout_id?(0,e.createElement)(ob,null):(0,e.createElement)($v,{flowType:"storeCheckout"});break;case"store-checkout-library":n=(0,e.createElement)(Xb,null);break;case"setup":n=(0,e.createElement)(Mb,null);break;case"addons":n=(0,e.createElement)(hb,null);break;case"automations":n=(0,e.createElement)(p_,null);break;case"library":n=(0,e.createElement)(Qb,null);break;case"wcf-log":n=(0,e.createElement)(Kv,null);break;case"free-vs-pro":n=(0,e.createElement)(N_,null);break;case"modern-cart":n=(0,e.createElement)(x_,null);break;default:n=(0,e.createElement)(iw,null)}wcfWpNavMenuChange(r)}return(0,e.createElement)(e.Fragment,null,n)};function D_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 9v.906a2.25 2.25 0 0 1-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 0 0 1.183 1.981l6.478 3.488m8.839 2.51-4.66-2.51m0 0-1.023-.55a2.25 2.25 0 0 0-2.134 0l-1.022.55m0 0-4.661 2.51m16.5 1.615a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V8.844a2.25 2.25 0 0 1 1.183-1.981l7.5-4.039a2.25 2.25 0 0 1 2.134 0l7.5 4.039a2.25 2.25 0 0 1 1.183 1.98V19.5Z"}))}const j_=t.forwardRef(D_);function v_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"}))}const I_=t.forwardRef(v_);function E_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12 3 3m0 0 3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const L_=t.forwardRef(E_);function T_({title:e,titleId:a,...r},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":a},r),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0-3-3m3 3 3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))}const A_=t.forwardRef(T_);(0,i.H)(document.getElementById("wcf-settings-app")).render((0,e.createElement)(r().StrictMode,null,(0,e.createElement)(o,{initialState:u,reducer:d},(0,e.createElement)((({reducer:a,initialState:r,children:n})=>(0,e.createElement)(m.Provider,{value:(0,t.useReducer)(a,r)},n)),{initialState:p,reducer:(e,t)=>{switch(t.status){case"SAVED":return window.wcfUnsavedChanges=!1,{...e,settingsProcess:"saved"};case"PROCESSING":return{...e,settingsProcess:"processing"};case"RESET":return{...e,settingsProcess:!1};case"UNSAVED_CHANGES":return"change"===t.trigger?{...e,unsavedChanges:!0}:{...e,unsavedChanges:!1};case"UPDATE_LICENSE_STATUS":return{...e,license_status:t.license_status};default:return e}}},(0,e.createElement)((function({children:a}){const[r,n]=(0,t.useState)({isOpen:!1}),[i,s]=(0,t.useState)(!1),o=(0,t.useRef)(),l=(0,t.useRef)(),c=(0,t.useCallback)((e=>new Promise((t=>{n({...e,isOpen:!0}),l.current=e.onConfirm,o.current=a=>{t(a),n({...e,isOpen:!1})}}))),[n]);return(0,e.createElement)(Dx.Provider,{value:c},a,(0,e.createElement)(bx,(0,y.A)({isOpen:r.isOpen,isLoading:i},r,{onClose:()=>o.current(!1),onConfirm:()=>(async()=>{try{s(!0),l.current&&await l.current(),o.current&&o.current(!0)}catch(e){o.current&&o.current(!1)}finally{s(!1)}})()})))}),null,(0,e.createElement)((function(){const[{globaldata:a},r]=l();return pr(),(0,t.useEffect)((()=>{let e=!0;return a.length<1&&(async()=>{A()({path:"/cartflows/v1/admin/commonsettings/"}).then((t=>{e&&(r({type:"SET_SETTINGS",commondata:t}),r({type:"SET_PAGE_BUILDER",pagebuilder:t.options["_cartflows_common[default_page_builder]"]}))}))})(),()=>{e=!1}}),[]),(0,e.createElement)(x,null,(0,e.createElement)(zN,null),(0,e.createElement)("div",{className:"wcf-app-content-wrapper wcf-app-wrapper--settings-app p-8"},(0,e.createElement)(f.Switch,null,(0,e.createElement)(f.Route,{path:"/"},(0,e.createElement)(b_,null)))))}),null),(0,e.createElement)((function(){const{promiseInProgress:a}=(0,Lx.H8)();let r=(0,z.__)("Please wait…","cartflows"),n="";if(a)switch(window.wcfAction){case"cloneFlow":r=(0,z.__)("Please wait. Duplicating funnel…","cartflows"),n=(0,e.createElement)(Fx,{className:"w-18 h-18 text-primary-500"});break;case"draftFlow":r=(0,z.__)("Please wait. Drafting funnel…","cartflows"),n=(0,e.createElement)(j_,{className:"w-18 h-18 text-primary-500"});break;case"deleteFlow":r=(0,z.__)("Please wait. Deleting funnel…","cartflows"),n=(0,e.createElement)(Bl,{className:"w-18 h-18 text-primary-500"});break;case"restoreFlow":r=(0,z.__)("Please wait. Restoring funnel…","cartflows"),n=(0,e.createElement)(I_,{className:"w-18 h-18 text-primary-500"});break;case"exportFlow":r=(0,z.__)("Please wait. Exporting…","cartflows"),n=(0,e.createElement)(L_,{className:"w-18 h-18 text-primary-500"});break;case"cloneStep":r=(0,z.__)("Please wait. Duplicating step…","cartflows"),n=(0,e.createElement)(Fx,{className:"w-18 h-18 text-primary-500"});break;case"deleteStep":r=(0,z.__)("Please wait. Deleting step…","cartflows"),n=(0,e.createElement)(Bl,{className:"w-18 h-18 text-primary-500"});break;case"abtestStep":r=(0,z.__)("Please wait. Creating variation…","cartflows"),n=(0,e.createElement)(Fx,{className:"w-18 h-18 text-primary-500"});break;case"archiveStep":r=(0,z.__)("Please wait. Archiving variation…","cartflows"),n=(0,e.createElement)(A_,{className:"w-18 h-18 text-primary-500"});break;case"winnerStep":r=(0,z.__)("Please wait. Declaring winner…","cartflows"),n=(0,e.createElement)(I_,{className:"w-18 h-18 text-primary-500"});break;default:r=(0,z.__)("Please wait…","cartflows"),n=""}return(0,e.createElement)(Pt.Root,{show:!!a,as:t.Fragment,afterLeave:()=>{document.documentElement.style.overflow=""}},(0,e.createElement)(gr,{as:"div",className:"relative z-20",onClose:()=>{}},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0 z-20 overflow-y-auto"},(0,e.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,e.createElement)(Pt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(gr.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-sm sm:p-6"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"flex justify-center"},(0,e.createElement)("div",{className:"relative"},(0,e.createElement)("div",{className:"w-16 h-16 border-primary-200 border-2 rounded-full"}),(0,e.createElement)("div",{className:"w-16 h-16 border-primary-500 border-t-2 animate-spin rounded-full absolute left-0 top-0"}),(0,e.createElement)("div",{className:"w-16 h-16 absolute left-0 top-0 flex justify-center items-center"},n))),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-5"},(0,e.createElement)(gr.Title,{as:"h3",className:"text-sm font-normal leading-6 text-gray-600"},r)))))))))}),null))))))})()})();