apxor-rtm 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apxor.rtm.min.js +6 -6
- package/package.json +1 -1
package/dist/apxor.rtm.min.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("apxor"),require("apxor-qe")):"function"==typeof define&&define.amd?define(["exports","apxor","apxor-qe"],t):t((e=e||self)["apxor-rtm"]={},e.Apxor,e.CE)}(this,(function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}(e,t)||u(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 p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var f="https://server.apxor.com",m=f+"/v2/api/survey-response?appId=<app_id>",v=1,g=2,y=3,b=4,x=function(e){return"InApp".concat(e,"Clicked")},w=["😡","😠","😖","😣","🙁","😐","🙂","😄","😃","😍"],C=["😡","🙁","😐","😃","😍"],_=["#E5510A","#EA731D","#F8C94F","#A3CF6A","#7BB65C"],E=["#E5510A","#EA731D","#EA8F4D","#EA8F4D","#F1B052","#F8C94F","#F6DE4F","#D7D55A","#B7CF6A","#A3CF6A","#7BB65C"],k=function(e){return void 0!==e&&!function(e){return null===e}(e)},A=function(e){var t=e.indexOf("svg");-1!==t&&(e=e.substring(0,t)+"svg:svg");try{return document.evaluate(e,document,(function(e){return"svg"===e?"http://www.w3.org/2000/svg":null}),XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(e){}return null},L=function(e){switch(e){case"center":return"center";case"left":return"flex-start";default:return"flex-end"}},T=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="";if(e.length>0){var o=e[0],r=o.bg_color,a=o.text_color,s=o.size,l=o.font_family,c=o.borders,d=c.stroke_color,p=c.radius;i="\n ".concat(n," footer .shepherd-button.button-o {\n background-color: ").concat("#"===r?"transparent":r,";\n color: ").concat(a,";font-size: ").concat(s,"px;font-family: ").concat(l,";\n font-weight: ").concat("bold"!==l?"normal":l,";\n font-style: ").concat("italic"===l?"italic":"unset",";\n border: 0px solid ").concat(d,";border-radius: ").concat(p,"px;\n margin-right:").concat("#"===r?0:"12px","\n }\n ")}if(e.length>1){var u=e[1],h=u.bg_color,f=u.text_color,m=u.size,v=u.font_family,g=u.borders,y=g.stroke_color,b=g.radius;i+="\n ".concat(n," footer .shepherd-button.button-t {\n background-color: ").concat("#"===h?"transparent":h,";\n color: ").concat(f,";font-size: ").concat(m,"px;font-family: ").concat(v,";\n font-weight: ").concat("bold"!==v?"normal":v,";\n font-style: ").concat("italic"===v?"italic":"unset",";\n border: 0px solid ").concat(y,";border-radius: ").concat(b,"px;\n }\n ")}return"\n ".concat(n," footer .shepherd-button {\n display: inline-block;\n *display: inline;\n vertical-align: middle;\n *vertical-align: auto;\n *zoom: 1;\n border: 0;border-radius: 3px;cursor: pointer;display: inline;font-family: inherit;\n font-size: .8em;letter-spacing: .01em;line-height: 18px;margin-right: 12px;\n padding: 8px 16px;text-transform: none;transition: all .5s ease\n }\n ").concat(i,"\n ").concat(n," footer .shepherd-button:last-child {\n margin-right: 0\n }\n\n ").concat(n," footer {\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n display: flex;\n justify-content: ").concat(L(t),";\n padding: 0 .8em .8em\n }\n ")},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=window.ApxorRTM,r=[],a=[];return e.forEach((function(e,s){var l,c,d,p,u,h,f,m,v,g=null!==(l=null==e||null===(c=e.action_config)||void 0===c?void 0:c.action)&&void 0!==l?l:"end",y=null!==(d=null==e||null===(p=e.action_config)||void 0===p?void 0:p.url)&&void 0!==d?d:"",b=null===(u=null==e||null===(h=e.action_config)||void 0===h?void 0:h.is_external)||void 0===u||u,x=null!==(f=null==e||null===(m=e.action_config)||void 0===m?void 0:m.is_within)&&void 0!==f&&f,w=e.borders,C=e.color,_=e.text_config,E=_.text,k=_.segments,A=_.color,L=_.size,T=_.style,M=_.font_family;try{switch(g){case"done":case"dismiss":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t.complete()};break;case"next":v=t.next;break;case"redirect":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),x||b?window.open(y,x?"_self":"_blank"):o.logClientEvent("REDIRECT",{url:y}),t.next()};break;case"cancel":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t._isCancelled=!0,t.cancel()};break;default:v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t.cancel()}}}catch(e){}a.push({borders:w,bg_color:C,text_color:A,size:L,style:T,font_family:M}),r.push({classes:0===s?"button-o":"button-t",text:N(E,k),action:v})})),{buttons_array:r,buttons_css:a}};var O=function(e,t,n){var i=n.dim_background,o=void 0===i||i,r=n.dim_bg_color,a=void 0===r?"#000000":r,s=n.dim_bg_opacity,l=void 0===s?.87:s,c=n.position,d=document.createElement("div");d.setAttribute("id","apx-oly");var p=document.createElement("style"),u="center",h="center";switch(c){case"bottom-left":u="flex-start",h="flex-end";break;case"bottom-right":u="flex-end",h="flex-end";break;case"top-left":u="flex-start",h="flex-start";break;case"top-right":u="flex-end",h="flex-start"}var f="none";if(o){var m=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(a);f="rgb(".concat(m.r,", ").concat(m.g,", ").concat(m.b,", ").concat(l,")")}p.innerHTML="\n#apx-oly {\n width:100%;height:100%;position:fixed;top:0;left:0;background-color:".concat(f,";\n display:flex;justify-content:").concat(u,";align-items:").concat(h,";border-radius:3px;z-index:2147483647\n}\n#apx-oly > * {font-family: inherit;box-sizing:unset}\n.apx-dlg-c {\n width:").concat(e,"px;min-height:").concat(t,"%;background:white;z-index:99999999;opacity:0;position:relative;visibility:hidden;\n transition:all 500ms cubic-bezier(0, -0.37, 0, 2.06);top:-15px;border-radius:3px;margin:20px\n}\n.apx-dlg-c.open {opacity:1;visibility:visible;top:0}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var v=document.createElement("div");return v.setAttribute("id","apx-dlg-c"),v.classList.add("apx-dlg-c"),d.appendChild(v),d.appendChild(p),document.body.appendChild(d),d},S=function(e){var t=e.offsetHeight,n=e.offsetWidth,i=e.getBoundingClientRect();return i.left>=-n&&i.top>=-t&&i.right<=(window.innerWidth||document.documentElement.clientWidth)+n&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)+t},D=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},I=function(e){var n=t.getController().getUserAttributes(),i=t.getController().getSessionAttributes(),o=e.script.vmap,r=e.script.src,a=r.indexOf("{"),s=r.indexOf("}"),l=t.getController().getMasterEvents();try{for(;-1!=a&&-1!=s&&a<s;){var c=r.substring(a+1,s),d=o[c].t,p=o[c].n,u=o[c].def,h="";if("s"===d)h=i[p]?i[p]:u;else if("u"===d)h=n[p]?n[p]:u;else if("v"===d){var f=document.getElementById(p);(h=null==f?void 0:f.textContent)||(h=(null==f?void 0:f.value)||"")}else if("ev"===d){var m=o[c].n,v=o[c].prop;l[m]&&l[m][v]&&(h=l[m][v])}a=(r=D(r,a,s+1,h)).indexOf("{"),s=r.indexOf("}")}e.text=r}catch(e){console.log("Can't evaluate the dynamic text")}},B=function(e){var n=t.getController().getUserAttributes(),i=t.getController().getSessionAttributes(),o=e.script.vmap,r="",a=e.script.src,s=t.getController().getMasterEvents();Object.entries(o).forEach((function(e,t){var a=d(e,2),l=a[0],c=a[1],p=c.t,u=c.n,h=c.def,f="";if("s"===p)f=i[u]?i[u]:h;else if("u"===p)f=n[u]?n[u]:h;else if("v"===p){var m=document.getElementById(u);(f=null==m?void 0:m.textContent)||(f=(null==m?void 0:m.value)||"")}else if("ev"===p){var v=o[l].n,g=o[l].prop;s[v]&&s[v][g]&&(f=s[v][g])}r="".concat(r," \n let ").concat(l,' = "').concat(f,'";')}));var l="".concat(r," \n ").concat(a),c=new Function(l);e.text=c()},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(0==t.length)return e;var n="";return t.forEach((function(t){var i=parseInt(t.start),o=parseInt(t.end)+1,r=e.substring(i,o),a="";t.color&&(a="".concat(a,"color:").concat(t.color,";")),t.font_family&&(a="".concat(a,"font-family:").concat(t.font_family,";")),t.size&&(a="".concat(a,"font-size:").concat(t.size,"px;")),"italic"===t.style&&(a="".concat(a,"font-style:").concat(t.style,";")),"bold"===t.style&&(a="".concat(a,"font-weight:").concat(t.style,";")),1==t.underline&&(a="".concat(a,"text-decoration:underline;")),1==t.strike_through&&(a="".concat(a,"text-decoration:line-through;")),"super"==t.script&&(a="".concat(a,"vertical-align:super;")),"sub"==t.script&&(a="".concat(a,"vertical-align:sub;")),t.bg_color&&(a="".concat(a,"background-color:").concat(t.bg_color,";"));var s="<span style='".concat(a,"'>").concat(r,"</span>");n="".concat(n," ").concat(s)})),n};
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("apxor"),require("apxor-qe")):"function"==typeof define&&define.amd?define(["exports","apxor","apxor-qe"],t):t((e=e||self)["apxor-rtm"]={},e.Apxor,e.CE)}(this,(function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}(e,t)||u(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 p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var f="https://server.apxor.com",m=f+"/v2/api/survey-response?appId=<app_id>",v=1,g=2,b=3,y=4,x=function(e){return"InApp".concat(e,"Clicked")},w=["😡","😠","😖","😣","🙁","😐","🙂","😄","😃","😍"],C=["😡","🙁","😐","😃","😍"],_=["#E5510A","#EA731D","#F8C94F","#A3CF6A","#7BB65C"],E=["#E5510A","#EA731D","#EA8F4D","#EA8F4D","#F1B052","#F8C94F","#F6DE4F","#D7D55A","#B7CF6A","#A3CF6A","#7BB65C"],k=function(e){return void 0!==e&&!function(e){return null===e}(e)},A=function(e){var t=e.indexOf("svg");-1!==t&&(e=e.substring(0,t)+"svg:svg");try{return document.evaluate(e,document,(function(e){return"svg"===e?"http://www.w3.org/2000/svg":null}),XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(e){}return null},L=function(e){switch(e){case"center":return"center";case"left":return"flex-start";default:return"flex-end"}},T=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="";if(e.length>0){var o=e[0],r=o.bg_color,a=o.text_color,s=o.size,l=o.font_family,c=o.borders,d=c.stroke_color,p=c.radius;i="\n ".concat(n," footer .shepherd-button.button-o {\n background-color: ").concat("#"===r?"transparent":r,";\n color: ").concat(a,";font-size: ").concat(s,"px;font-family: ").concat(l,";\n font-weight: ").concat("bold"!==l?"normal":l,";\n font-style: ").concat("italic"===l?"italic":"unset",";\n border: 0px solid ").concat(d,";border-radius: ").concat(p,"px;\n margin-right:").concat("#"===r?0:"12px","\n }\n ")}if(e.length>1){var u=e[1],h=u.bg_color,f=u.text_color,m=u.size,v=u.font_family,g=u.borders,b=g.stroke_color,y=g.radius;i+="\n ".concat(n," footer .shepherd-button.button-t {\n background-color: ").concat("#"===h?"transparent":h,";\n color: ").concat(f,";font-size: ").concat(m,"px;font-family: ").concat(v,";\n font-weight: ").concat("bold"!==v?"normal":v,";\n font-style: ").concat("italic"===v?"italic":"unset",";\n border: 0px solid ").concat(b,";border-radius: ").concat(y,"px;\n }\n ")}return"\n ".concat(n," footer .shepherd-button {\n display: inline-block;\n *display: inline;\n vertical-align: middle;\n *vertical-align: auto;\n *zoom: 1;\n border: 0;border-radius: 3px;cursor: pointer;display: inline;font-family: inherit;\n font-size: .8em;letter-spacing: .01em;line-height: 18px;margin-right: 12px;\n padding: 8px 16px;text-transform: none;transition: all .5s ease\n }\n ").concat(i,"\n ").concat(n," footer .shepherd-button:last-child {\n margin-right: 0\n }\n\n ").concat(n," footer {\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n display: flex;\n justify-content: ").concat(L(t),";\n padding: 0 .8em .8em\n }\n ")},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=window.ApxorRTM,r=[],a=[];return e.forEach((function(e,s){var l,c,d,p,u,h,f,m,v,g=null!==(l=null==e||null===(c=e.action_config)||void 0===c?void 0:c.action)&&void 0!==l?l:"end",b=null!==(d=null==e||null===(p=e.action_config)||void 0===p?void 0:p.url)&&void 0!==d?d:"",y=null===(u=null==e||null===(h=e.action_config)||void 0===h?void 0:h.is_external)||void 0===u||u,x=null!==(f=null==e||null===(m=e.action_config)||void 0===m?void 0:m.is_within)&&void 0!==f&&f,w=e.borders,C=e.color,_=e.text_config,E=_.text,k=_.segments,A=_.color,L=_.size,T=_.style,M=_.font_family;try{switch(g){case"done":case"dismiss":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t.complete()};break;case"next":v=t.next;break;case"redirect":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),x||y?window.open(b,x?"_self":"_blank"):o.logClientEvent("REDIRECT",{url:b}),t.next()};break;case"cancel":v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t._isCancelled=!0,t.cancel()};break;default:v=function(){o.logActionEvent("Inline_"+E+"_Clicked",n,i),t.cancel()}}}catch(e){}a.push({borders:w,bg_color:C,text_color:A,size:L,style:T,font_family:M}),r.push({classes:0===s?"button-o":"button-t",text:B(E,k),action:v})})),{buttons_array:r,buttons_css:a}};var O=function(e,t,n){var i=n.dim_background,o=void 0===i||i,r=n.dim_bg_color,a=void 0===r?"#000000":r,s=n.dim_bg_opacity,l=void 0===s?.87:s,c=n.position,d=document.createElement("div");d.setAttribute("id","apx-oly");var p=document.createElement("style"),u="center",h="center";switch(c){case"bottom-left":u="flex-start",h="flex-end";break;case"bottom-right":u="flex-end",h="flex-end";break;case"top-left":u="flex-start",h="flex-start";break;case"top-right":u="flex-end",h="flex-start"}var f="none";if(o){var m=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(a);f="rgb(".concat(m.r,", ").concat(m.g,", ").concat(m.b,", ").concat(l,")")}p.innerHTML="\n#apx-oly {\n width:100%;height:100%;position:fixed;top:0;left:0;background-color:".concat(f,";\n display:flex;justify-content:").concat(u,";align-items:").concat(h,";border-radius:3px;z-index:2147483647\n}\n#apx-oly > * {font-family: inherit;box-sizing:unset}\n.apx-dlg-c {\n width:").concat(e,"px;min-height:").concat(t,"%;background:white;z-index:99999999;opacity:0;position:relative;visibility:hidden;\n transition:all 500ms cubic-bezier(0, -0.37, 0, 2.06);top:-15px;border-radius:3px;margin:20px\n}\n.apx-dlg-c.open {opacity:1;visibility:visible;top:0}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var v=document.createElement("div");return v.setAttribute("id","apx-dlg-c"),v.classList.add("apx-dlg-c"),d.appendChild(v),d.appendChild(p),document.body.appendChild(d),d},S=function(e){var t=e.offsetHeight,n=e.offsetWidth,i=e.getBoundingClientRect();return i.left>=-n&&i.top>=-t&&i.right<=(window.innerWidth||document.documentElement.clientWidth)+n&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)+t},D=function(e,t,n,i){return e.substring(0,t)+i+e.substring(n)},I=function(e){var n=t.getController().getUserAttributes(),i=t.getController().getSessionAttributes(),o=e.script.vmap,r=e.script.src,a=r.indexOf("{"),s=r.indexOf("}"),l=t.getController().getMasterEvents();try{for(;-1!=a&&-1!=s&&a<s;){var c=r.substring(a+1,s),d=o[c].t,p=o[c].n,u=o[c].def,h="";if("s"===d)h=i[p]?i[p]:u;else if("u"===d)h=n[p]?n[p]:u;else if("v"===d){var f=document.getElementById(p);(h=null==f?void 0:f.textContent)||(h=(null==f?void 0:f.value)||"")}else if("ev"===d){var m=o[c].n,v=o[c].prop;l[m]&&l[m][v]&&(h=l[m][v])}a=(r=D(r,a,s+1,h)).indexOf("{"),s=r.indexOf("}")}e.text=r}catch(e){console.log("Can't evaluate the dynamic text")}},N=function(e){var n=t.getController().getUserAttributes(),i=t.getController().getSessionAttributes(),o=e.script.vmap,r="",a=e.script.src,s=t.getController().getMasterEvents();Object.entries(o).forEach((function(e,t){var a=d(e,2),l=a[0],c=a[1],p=c.t,u=c.n,h=c.def,f="";if("s"===p)f=i[u]?i[u]:h;else if("u"===p)f=n[u]?n[u]:h;else if("v"===p){var m=document.getElementById(u);(f=null==m?void 0:m.textContent)||(f=(null==m?void 0:m.value)||"")}else if("ev"===p){var v=o[l].n,g=o[l].prop;s[v]&&s[v][g]&&(f=s[v][g])}r="".concat(r," \n let ").concat(l,' = "').concat(f,'";')}));var l="".concat(r," \n ").concat(a),c=new Function(l);e.text=c()},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(0==t.length)return e;var n="";return t.forEach((function(t){var i=parseInt(t.start),o=parseInt(t.end)+1,r=e.substring(i,o),a="";t.color&&(a="".concat(a,"color:").concat(t.color,";")),t.font_family&&(a="".concat(a,"font-family:").concat(t.font_family,";")),t.size&&(a="".concat(a,"font-size:").concat(t.size,"px;")),"italic"===t.style&&(a="".concat(a,"font-style:").concat(t.style,";")),"bold"===t.style&&(a="".concat(a,"font-weight:").concat(t.style,";")),1==t.underline&&(a="".concat(a,"text-decoration:underline;")),1==t.strike_through&&(a="".concat(a,"text-decoration:line-through;")),"super"==t.script&&(a="".concat(a,"vertical-align:super;")),"sub"==t.script&&(a="".concat(a,"vertical-align:sub;")),t.bg_color&&(a="".concat(a,"background-color:").concat(t.bg_color,";"));var s="<span style='".concat(a,"'>").concat(r,"</span>");n="".concat(n," ").concat(s)})),n};
|
|
2
2
|
/*! shepherd.js 4.0.0-beta.1 */
|
|
3
|
-
function
|
|
3
|
+
function P(e){return(P="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function z(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function j(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}}),t&&R(e,t)}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?U(e):t}function X(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Y(e){return e instanceof HTMLElement}function G(e){return"function"==typeof e}function J(e){return"string"==typeof e}function K(e){return void 0===e}
|
|
4
4
|
/**!
|
|
5
5
|
* tippy.js v5.0.0-alpha.2
|
|
6
6
|
* (c) 2017-2019 atomiks
|
|
7
7
|
* MIT License
|
|
8
|
-
*/function
|
|
8
|
+
*/function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var $="undefined"!=typeof window&&"undefined"!=typeof document,ee=$?navigator.userAgent:"",te=/MSIE |Trident\//.test(ee),ne=/UCBrowser\//.test(ee),ie=$&&/iPhone|iPad|iPod/.test(navigator.platform),oe={allowHTML:!0,animateFill:!1,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onCreate:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,sticky:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,wait:null,zIndex:9999},re=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],ae={passive:!0},se={isTouch:!1},le=0;function ce(){se.isTouch||(se.isTouch=!0,ie&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",de))}function de(){var e=performance.now();e-le<20&&(se.isTouch=!1,document.removeEventListener("mousemove",de),ie||document.body.classList.remove("tippy-iOS")),le=e}function pe(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var ue=Object.keys(oe);function he(e,t){return{}.hasOwnProperty.call(e,t)}function fe(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?n:i}return e}function me(e,t){return e&&e.modifiers&&e.modifiers[t]}function ve(e){return e instanceof Element}function ge(e,t){return"function"==typeof e?e.apply(null,t):e}function be(e,t){e.filter((function(e){return"flip"===e.name}))[0].enabled=t}function ye(){return document.createElement("div")}function xe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function we(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ce(e,t){var n=Q({},t,{content:ge(t.content,[e])},t.ignoreAttributes?{}:function(e){return ue.reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e));return n.animateFill&&(n.arrow=!1),(n.arrow||ne)&&(n.animateFill=!1),n}function _e(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function Ee(e,t,n){e&&e!==t&&e.apply(null,n)}function ke(e){return[].slice.call(e)}function Ae(e,t){return e.indexOf(t)>-1}function Le(e,t){e.innerHTML=ve(t)?t.innerHTML:t}function Te(e,t){if(ve(t.content))Le(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function Me(e){return{tooltip:e.querySelector(".tippy-tooltip"),backdrop:e.querySelector(".tippy-backdrop"),content:e.querySelector(".tippy-content"),arrow:e.querySelector(".tippy-arrow")||e.querySelector(".tippy-svg-arrow")}}function Oe(e){e.setAttribute("data-inertia","")}function Se(e){var t=ye();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",ve(e)?t.appendChild(e):Le(t,"round"===e?'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>':e)),t}function De(e){var t=ye();return t.className="tippy-backdrop",t.setAttribute("data-state",e?"visible":"hidden"),t}function Ie(e){e.setAttribute("data-interactive","")}function Ne(e,t,n){var i=ne&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](i,n)}function Be(e){return e.split("-")[0]}function Pe(e,t,n){n.split(" ").forEach((function(n){n&&e.classList[t](n+"-theme")}))}function Fe(e,t){var n=ye();n.className="tippy-popper",n.style.position="absolute",n.style.top="0",n.style.left="0";var i=ye();i.className="tippy-tooltip",i.id="tippy-"+e,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1"),Pe(i,"add",t.theme);var o=ye();return o.className="tippy-content",o.setAttribute("data-state","hidden"),t.interactive&&Ie(i),t.arrow&&(i.setAttribute("data-arrow",""),i.appendChild(Se(t.arrow))),t.animateFill&&(i.appendChild(De(!1)),i.setAttribute("data-animatefill","")),t.inertia&&Oe(i),Te(o,t),i.appendChild(o),n.appendChild(i),He(n,t,t,!1),n}function He(e,t,n,i){var o=Me(e),r=o.tooltip,a=o.content,s=o.backdrop,l=o.arrow;e.style.zIndex=""+n.zIndex,r.setAttribute("data-animation",n.animation),r.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?r.setAttribute("role",n.role):r.removeAttribute("role"),t.content!==n.content&&Te(a,n),!t.animateFill&&n.animateFill?(r.appendChild(De(i)),r.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(r.removeChild(s),r.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?(r.appendChild(Se(n.arrow)),r.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(r.removeChild(l),r.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(r.removeChild(l),r.appendChild(Se(n.arrow))),!t.interactive&&n.interactive?Ie(r):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(r),!t.inertia&&n.inertia?Oe(r):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(r),t.theme!==n.theme&&(Pe(r,"remove",t.theme),Pe(r,"add",n.theme))}for(
|
|
9
9
|
/**!
|
|
10
10
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
11
11
|
* @version 1.15.0
|
|
@@ -30,15 +30,15 @@ function F(e){return(F="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?
|
|
|
30
30
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
31
|
* SOFTWARE.
|
|
32
32
|
*/
|
|
33
|
-
var ze="undefined"!=typeof window&&"undefined"!=typeof document,Ze=["Edge","Trident","Firefox"],je=0,qe=0;qe<Ze.length;qe+=1)if(ze&&navigator.userAgent.indexOf(Ze[qe])>=0){je=1;break}var Ve=ze&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),je))}};function Re(e){return e&&"[object Function]"==={}.toString.call(e)}function Ue(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function We(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Ye(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ue(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:Ye(We(e))}var Xe=ze&&!(!window.MSInputMethodContext||!document.documentMode),Je=ze&&/MSIE 10/.test(navigator.userAgent);function Qe(e){return 11===e?Xe:10===e?Je:Xe||Je}function Ge(e){if(!e)return document.documentElement;for(var t=Qe(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ue(n,"position")?Ge(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Ke(e){return null!==e.parentNode?Ke(e.parentNode):e}function $e(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Ge(a.firstElementChild)!==a?Ge(l):l;var c=Ke(e);return c.host?$e(c.host,t):$e(e,Ke(t).host)}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var o=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||o;return r[n]}return e[n]}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=et(t,"top"),o=et(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}function nt(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function it(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Qe(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function ot(e){var t=e.body,n=e.documentElement,i=Qe(10)&&getComputedStyle(n);return{height:it("Height",t,n,i),width:it("Width",t,n,i)}}var rt=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},at=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),st=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function ct(e){return lt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function dt(e){var t={};try{if(Qe(10)){t=e.getBoundingClientRect();var n=et(e,"top"),i=et(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?ot(e.ownerDocument):{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var d=Ue(e);l-=nt(d,"x"),c-=nt(d,"y"),o.width-=l,o.height-=c}return ct(o)}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Qe(10),o="HTML"===t.nodeName,r=dt(e),a=dt(t),s=Ye(e),l=Ue(t),c=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=ct({top:r.top-a.top-c,left:r.left-a.left-d,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!i&&o){var u=parseFloat(l.marginTop,10),h=parseFloat(l.marginLeft,10);p.top-=c-u,p.bottom-=c-u,p.left-=d-h,p.right-=d-h,p.marginTop=u,p.marginLeft=h}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=tt(p,t)),p}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=pt(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:et(n),s=t?0:et(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r};return ct(l)}function ht(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ue(e,"position"))return!0;var n=We(e);return!!n&&ht(n)}function ft(e){if(!e||!e.parentElement||Qe())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ue(t,"transform");)t=t.parentElement;return t||document.documentElement}function mt(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?ft(e):$e(e,t);if("viewport"===i)r=ut(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=Ye(We(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=pt(s,a,o);if("HTML"!==s.nodeName||ht(a))r=l;else{var c=ot(e.ownerDocument),d=c.height,p=c.width;r.top+=l.top-l.marginTop,r.bottom=d+l.top,r.left+=l.left-l.marginLeft,r.right=p+l.left}}var u="number"==typeof(n=n||0);return r.left+=u?n:n.left||0,r.top+=u?n:n.top||0,r.right-=u?n:n.right||0,r.bottom-=u?n:n.bottom||0,r}function vt(e){return e.width*e.height}function gt(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=mt(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return lt({key:e},s[e],{area:vt(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),d=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return d+(p?"-"+p:"")}function yt(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?ft(t):$e(t,n);return pt(n,o,i)}function bt(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function xt(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function wt(e,t,n){n=n.split("-")[0];var i=bt(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[xt(s)],o}function Ct(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function _t(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=Ct(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Re(n)&&(t.offsets.popper=ct(t.offsets.popper),t.offsets.reference=ct(t.offsets.reference),t=n(t,e))})),t}function Et(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=yt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=gt(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=wt(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=_t(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function kt(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function At(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function Lt(){return this.state.isDestroyed=!0,kt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[At("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Tt(e){var t=e.ownerDocument;return t?t.defaultView:window}function Mt(e,t,n,i){n.updateBound=i,Tt(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Ye(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(Ye(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Ot(){this.state.eventsEnabled||(this.state=Mt(this.reference,this.options,this.state,this.scheduleUpdate))}function St(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Tt(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Dt(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function It(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Dt(t[n])&&(i="px"),e.style[n]=t[n]+i}))}var Bt=ze&&/Firefox/i.test(navigator.userAgent);function Nt(e,t,n){var i=Ct(e,(function(e){return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Ft=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Pt=Ft.slice(3);function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Pt.indexOf(e),i=Pt.slice(n+1).concat(Pt.slice(0,n));return t?i.reverse():i}var zt="flip",Zt="clockwise",jt="counterclockwise";function qt(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Ct(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return ct(s)[t]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){Dt(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}var Vt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",d={start:st({},l,r[l]),end:st({},l,r[l]+r[c]-a[c])};e.offsets.popper=lt({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=Dt(+n)?[+n,0]:qt(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Ge(e.instance.popper);e.instance.reference===n&&(n=Ge(n));var i=At("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=mt(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,p={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),st({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),st({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=lt({},d,p[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Nt(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),u=l?"left":"top",h=l?"bottom":"right",f=bt(i)[c];s[h]-f<a[p]&&(e.offsets.popper[p]-=a[p]-(s[h]-f)),s[p]+f>a[h]&&(e.offsets.popper[p]+=s[p]+f-a[h]),e.offsets.popper=ct(e.offsets.popper);var m=s[p]+s[c]/2-f/2,v=Ue(e.instance.popper),g=parseFloat(v["margin"+d],10),y=parseFloat(v["border"+d+"Width"],10),b=m-e.offsets.popper[p]-g-y;return b=Math.max(Math.min(a[c]-f,b),0),e.arrowElement=i,e.offsets.arrow=(st(n={},p,Math.round(b)),st(n,u,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(kt(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=mt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=xt(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case zt:a=[i,o];break;case Zt:a=Ht(i);break;case jt:a=Ht(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=xt(i);var c=e.offsets.popper,d=e.offsets.reference,p=Math.floor,u="left"===i&&p(c.right)>p(d.left)||"right"===i&&p(c.left)<p(d.right)||"top"===i&&p(c.bottom)>p(d.top)||"bottom"===i&&p(c.top)<p(d.bottom),h=p(c.left)<p(n.left),f=p(c.right)>p(n.right),m=p(c.top)<p(n.top),v=p(c.bottom)>p(n.bottom),g="left"===i&&h||"right"===i&&f||"top"===i&&m||"bottom"===i&&v,y=-1!==["top","bottom"].indexOf(i),b=!!t.flipVariations&&(y&&"start"===r&&h||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&v),x=!!t.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&h||!y&&"start"===r&&v||!y&&"end"===r&&m),w=b||x;(u||g||w)&&(e.flipped=!0,(u||g)&&(i=a[l+1]),w&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=lt({},e.offsets.popper,wt(e.instance.popper,e.offsets.reference,e.placement)),e=_t(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=xt(t),e.offsets.popper=ct(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Nt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Ct(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=Ct(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=Ge(e.instance.popper),l=dt(s),c={position:o.position},d=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),c=r(i.width),d=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),u=t?d||p||l%2==c%2?r:a:s,h=t?r:s;return{left:u(l%2==1&&c%2==1&&!p&&t?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:u(i.right)}}(e,window.devicePixelRatio<2||!Bt),p="bottom"===n?"top":"bottom",u="right"===i?"left":"right",h=At("transform"),f=void 0,m=void 0;if(m="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,f="right"===u?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&h)c[h]="translate3d("+f+"px, "+m+"px, 0)",c[p]=0,c[u]=0,c.willChange="transform";else{var v="bottom"===p?-1:1,g="right"===u?-1:1;c[p]=m*v,c[u]=f*g,c.willChange=p+", "+u}var y={"x-placement":e.placement};return e.attributes=lt({},y,e.attributes),e.styles=lt({},c,e.styles),e.arrowStyles=lt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return It(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&It(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=yt(o,t,e,n.positionFixed),a=gt(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),It(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Rt=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};rt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Ve(this.update.bind(this)),this.options=lt({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(lt({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){i.options.modifiers[t]=lt({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return lt({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Re(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return at(e,[{key:"update",value:function(){return Et.call(this)}},{key:"destroy",value:function(){return Lt.call(this)}},{key:"enableEventListeners",value:function(){return Ot.call(this)}},{key:"disableEventListeners",value:function(){return St.call(this)}}]),e}();Rt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Rt.placements=Ft,Rt.Defaults=Vt;
|
|
33
|
+
var ze="undefined"!=typeof window&&"undefined"!=typeof document,qe=["Edge","Trident","Firefox"],Ze=0,je=0;je<qe.length;je+=1)if(ze&&navigator.userAgent.indexOf(qe[je])>=0){Ze=1;break}var Ve=ze&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Ze))}};function Re(e){return e&&"[object Function]"==={}.toString.call(e)}function Ue(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function We(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Xe(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ue(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:Xe(We(e))}var Ye=ze&&!(!window.MSInputMethodContext||!document.documentMode),Ge=ze&&/MSIE 10/.test(navigator.userAgent);function Je(e){return 11===e?Ye:10===e?Ge:Ye||Ge}function Ke(e){if(!e)return document.documentElement;for(var t=Je(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ue(n,"position")?Ke(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Qe(e){return null!==e.parentNode?Qe(e.parentNode):e}function $e(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Ke(a.firstElementChild)!==a?Ke(l):l;var c=Qe(e);return c.host?$e(c.host,t):$e(e,Qe(t).host)}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var o=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||o;return r[n]}return e[n]}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=et(t,"top"),o=et(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}function nt(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function it(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Je(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function ot(e){var t=e.body,n=e.documentElement,i=Je(10)&&getComputedStyle(n);return{height:it("Height",t,n,i),width:it("Width",t,n,i)}}var rt=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},at=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),st=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function ct(e){return lt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function dt(e){var t={};try{if(Je(10)){t=e.getBoundingClientRect();var n=et(e,"top"),i=et(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?ot(e.ownerDocument):{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var d=Ue(e);l-=nt(d,"x"),c-=nt(d,"y"),o.width-=l,o.height-=c}return ct(o)}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Je(10),o="HTML"===t.nodeName,r=dt(e),a=dt(t),s=Xe(e),l=Ue(t),c=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=ct({top:r.top-a.top-c,left:r.left-a.left-d,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!i&&o){var u=parseFloat(l.marginTop,10),h=parseFloat(l.marginLeft,10);p.top-=c-u,p.bottom-=c-u,p.left-=d-h,p.right-=d-h,p.marginTop=u,p.marginLeft=h}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=tt(p,t)),p}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=pt(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:et(n),s=t?0:et(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r};return ct(l)}function ht(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ue(e,"position"))return!0;var n=We(e);return!!n&&ht(n)}function ft(e){if(!e||!e.parentElement||Je())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ue(t,"transform");)t=t.parentElement;return t||document.documentElement}function mt(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?ft(e):$e(e,t);if("viewport"===i)r=ut(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=Xe(We(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=pt(s,a,o);if("HTML"!==s.nodeName||ht(a))r=l;else{var c=ot(e.ownerDocument),d=c.height,p=c.width;r.top+=l.top-l.marginTop,r.bottom=d+l.top,r.left+=l.left-l.marginLeft,r.right=p+l.left}}var u="number"==typeof(n=n||0);return r.left+=u?n:n.left||0,r.top+=u?n:n.top||0,r.right-=u?n:n.right||0,r.bottom-=u?n:n.bottom||0,r}function vt(e){return e.width*e.height}function gt(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=mt(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return lt({key:e},s[e],{area:vt(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),d=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return d+(p?"-"+p:"")}function bt(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?ft(t):$e(t,n);return pt(n,o,i)}function yt(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function xt(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function wt(e,t,n){n=n.split("-")[0];var i=yt(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[xt(s)],o}function Ct(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function _t(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=Ct(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Re(n)&&(t.offsets.popper=ct(t.offsets.popper),t.offsets.reference=ct(t.offsets.reference),t=n(t,e))})),t}function Et(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=bt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=gt(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=wt(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=_t(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function kt(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function At(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function Lt(){return this.state.isDestroyed=!0,kt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[At("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Tt(e){var t=e.ownerDocument;return t?t.defaultView:window}function Mt(e,t,n,i){n.updateBound=i,Tt(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Xe(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(Xe(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Ot(){this.state.eventsEnabled||(this.state=Mt(this.reference,this.options,this.state,this.scheduleUpdate))}function St(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Tt(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Dt(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function It(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Dt(t[n])&&(i="px"),e.style[n]=t[n]+i}))}var Nt=ze&&/Firefox/i.test(navigator.userAgent);function Bt(e,t,n){var i=Ct(e,(function(e){return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Pt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ft=Pt.slice(3);function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Ft.indexOf(e),i=Ft.slice(n+1).concat(Ft.slice(0,n));return t?i.reverse():i}var zt="flip",qt="clockwise",Zt="counterclockwise";function jt(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Ct(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return ct(s)[t]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){Dt(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}var Vt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",d={start:st({},l,r[l]),end:st({},l,r[l]+r[c]-a[c])};e.offsets.popper=lt({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=Dt(+n)?[+n,0]:jt(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Ke(e.instance.popper);e.instance.reference===n&&(n=Ke(n));var i=At("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=mt(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,p={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),st({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),st({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=lt({},d,p[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Bt(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),u=l?"left":"top",h=l?"bottom":"right",f=yt(i)[c];s[h]-f<a[p]&&(e.offsets.popper[p]-=a[p]-(s[h]-f)),s[p]+f>a[h]&&(e.offsets.popper[p]+=s[p]+f-a[h]),e.offsets.popper=ct(e.offsets.popper);var m=s[p]+s[c]/2-f/2,v=Ue(e.instance.popper),g=parseFloat(v["margin"+d],10),b=parseFloat(v["border"+d+"Width"],10),y=m-e.offsets.popper[p]-g-b;return y=Math.max(Math.min(a[c]-f,y),0),e.arrowElement=i,e.offsets.arrow=(st(n={},p,Math.round(y)),st(n,u,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(kt(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=mt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=xt(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case zt:a=[i,o];break;case qt:a=Ht(i);break;case Zt:a=Ht(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=xt(i);var c=e.offsets.popper,d=e.offsets.reference,p=Math.floor,u="left"===i&&p(c.right)>p(d.left)||"right"===i&&p(c.left)<p(d.right)||"top"===i&&p(c.bottom)>p(d.top)||"bottom"===i&&p(c.top)<p(d.bottom),h=p(c.left)<p(n.left),f=p(c.right)>p(n.right),m=p(c.top)<p(n.top),v=p(c.bottom)>p(n.bottom),g="left"===i&&h||"right"===i&&f||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===r&&h||b&&"end"===r&&f||!b&&"start"===r&&m||!b&&"end"===r&&v),x=!!t.flipVariationsByContent&&(b&&"start"===r&&f||b&&"end"===r&&h||!b&&"start"===r&&v||!b&&"end"===r&&m),w=y||x;(u||g||w)&&(e.flipped=!0,(u||g)&&(i=a[l+1]),w&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=lt({},e.offsets.popper,wt(e.instance.popper,e.offsets.reference,e.placement)),e=_t(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=xt(t),e.offsets.popper=ct(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Bt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Ct(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=Ct(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=Ke(e.instance.popper),l=dt(s),c={position:o.position},d=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),c=r(i.width),d=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),u=t?d||p||l%2==c%2?r:a:s,h=t?r:s;return{left:u(l%2==1&&c%2==1&&!p&&t?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:u(i.right)}}(e,window.devicePixelRatio<2||!Nt),p="bottom"===n?"top":"bottom",u="right"===i?"left":"right",h=At("transform"),f=void 0,m=void 0;if(m="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,f="right"===u?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&h)c[h]="translate3d("+f+"px, "+m+"px, 0)",c[p]=0,c[u]=0,c.willChange="transform";else{var v="bottom"===p?-1:1,g="right"===u?-1:1;c[p]=m*v,c[u]=f*g,c.willChange=p+", "+u}var b={"x-placement":e.placement};return e.attributes=lt({},b,e.attributes),e.styles=lt({},c,e.styles),e.arrowStyles=lt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return It(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&It(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=bt(o,t,e,n.positionFixed),a=gt(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),It(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Rt=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};rt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Ve(this.update.bind(this)),this.options=lt({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(lt({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){i.options.modifiers[t]=lt({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return lt({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Re(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return at(e,[{key:"update",value:function(){return Et.call(this)}},{key:"destroy",value:function(){return Lt.call(this)}},{key:"enableEventListeners",value:function(){return Ot.call(this)}},{key:"disableEventListeners",value:function(){return St.call(this)}}]),e}();Rt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Rt.placements=Pt,Rt.Defaults=Vt;
|
|
34
34
|
/**!
|
|
35
35
|
* tippy.js v5.0.0-alpha.2
|
|
36
36
|
* (c) 2017-2019 atomiks
|
|
37
37
|
* MIT License
|
|
38
38
|
*/
|
|
39
|
-
var Ut=1,Wt=[];function
|
|
39
|
+
var Ut=1,Wt=[];function Xt(e,t){var n,i,o,r,a=Ce(e,t);if(!a.multiple&&e._tippy)return null;var s,l,c,d=!1,p=!1,u=!1,h=[],f=_e(B,a.interactiveDebounce),m=Ut++,v=Fe(m,a),g=Me(v),b=g.tooltip,y=g.content,x={currentPlacement:a.placement,isScheduledToShow:!1,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:m,reference:e,popper:v,popperChildren:g,popperInstance:null,props:a,state:x,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){if(w.state.isDestroyed)return;I();var n=w.props,i=Ce(e,Q({},w.props,t,{ignoreAttributes:!0}));i.ignoreAttributes=he(t,"ignoreAttributes")?t.ignoreAttributes||!1:n.ignoreAttributes,w.props=i,D(),A(),f=_e(B,i.interactiveDebounce),He(v,n,i,w.state.isVisible),w.popperChildren=Me(v),w.popperInstance&&(re.some((function(e){return he(t,e)&&t[e]!==n[e]}))?(w.popperInstance.destroy(),z(),w.state.isVisible&&w.popperInstance.enableEventListeners()):w.popperInstance.update())},setContent:function(e){w.setProps({content:e})},show:function(t,n){void 0===t&&(t=fe(w.props.duration,0,oe.duration[1]));void 0===n&&(n=!0);var i=w.state.isVisible,o=w.state.isDestroyed,r=!w.state.isEnabled,a=se.isTouch&&!w.props.touch;if(i||o||r||a)return;if(k().hasAttribute("disabled"))return;if(!1===w.props.onShow(w))return;T(),v.style.visibility="visible",w.state.isVisible=!0;var s=E();xe(n?s.concat(v):s,0),l=function(){w.state.isVisible&&(w.popperInstance.update(),w.props.onMount(w),w.state.isMounted=!0,y.style.transitionDelay=w.popperChildren.backdrop?Math.round(t/12)+"ms":"",w.props.sticky&&(xe([v],te?0:w.props.updateDuration),function e(){w.popperInstance.scheduleUpdate(),w.state.isMounted?requestAnimationFrame(e):xe([v],0)}()),xe([v],w.props.updateDuration),xe(s,t),we(s,"visible"),function(e,t){O(e,t)}(t,(function(){w.props.aria&&k().setAttribute("aria-"+w.props.aria,b.id),w.props.onShown(w),w.state.isShown=!0})))},function(){p=!1;var t=w.props.appendTo,n="parent"===t?e.parentNode:ge(t,[e]);n.contains(v)||n.appendChild(v);w.popperInstance?(be(w.popperInstance.modifiers,w.props.flip),w.popperInstance.enableEventListeners(),w.popperInstance.scheduleUpdate()):(z(),w.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=fe(w.props.duration,1,oe.duration[1]));var t=!w.state.isVisible&&!d,n=w.state.isDestroyed,i=!w.state.isEnabled&&!d;if(t||n||i)return;if(!1===w.props.onHide(w)&&!d)return;M(),v.style.visibility="hidden",w.state.isVisible=!1,w.state.isShown=!1;var o=E();xe(o,e),we(o,"hidden"),function(e,t){O(e,(function(){!w.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&t()}))}(e,(function(){w.props.aria&&k().removeAttribute("aria-"+w.props.aria),w.popperInstance.disableEventListeners(),w.popperInstance.options.placement=s,v.parentNode.removeChild(v),w.props.onHidden(w),w.state.isMounted=!1}))},enable:function(){w.state.isEnabled=!0},disable:function(){w.state.isEnabled=!1},destroy:function(){if(w.state.isDestroyed)return;d=!0,w.hide(0),I(),delete e._tippy,w.popperInstance&&w.popperInstance.destroy();d=!1,w.state.isDestroyed=!0}};return e._tippy=w,v._tippy=w,D(),a.lazy||z(),a.showOnCreate&&Z(),v.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&"mouseenter"===n&&w.clearDelayTimeouts()})),v.addEventListener("mouseleave",(function(){w.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",f)})),a.onCreate(w),w;function C(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function _(){return"hold"===C()[0]}function E(){return[b,y,w.popperChildren.backdrop]}function k(){return w.props.triggerTarget||e}function A(){document.body.removeEventListener("mouseleave",j),document.removeEventListener("mousemove",f),Wt=Wt.filter((function(e){return e!==f}))}function L(e){if(!w.props.interactive||!v.contains(e.target)){if(k().contains(e.target)){if(se.isTouch)return;if(w.state.isVisible&&Ae(w.props.trigger,"click"))return}!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),u=!0,setTimeout((function(){u=!1})),w.state.isMounted||M())}}function T(){document.addEventListener("mousedown",L,!0)}function M(){document.removeEventListener("mousedown",L,!0)}function O(e,t){function n(e){e.target===b&&(Ne(b,"remove",n),t())}if(0===e)return t();Ne(b,"remove",c),Ne(b,"add",n),c=n}function S(e,t,n){void 0===n&&(n=!1),k().addEventListener(e,t,n),h.push({eventType:e,handler:t,options:n})}function D(){_()&&(S("touchstart",N,ae),S("touchend",P,ae)),Ae(w.props.trigger,"click")||S("click",(function(){se.isTouch||!0!==w.props.hideOnClick||w.hide()})),w.props.trigger.trim().split(" ").forEach((function(e){if("manual"!==e)switch(S(e,N),e){case"mouseenter":S("mouseleave",P);break;case"focus":S(te?"focusout":"blur",F)}}))}function I(){h.forEach((function(e){var t=e.eventType,n=e.handler,i=e.options;k().removeEventListener(t,n,i)})),h=[]}function N(e){if(!u&&w.state.isEnabled&&!H(e))if(w.state.isVisible||(n=e.type,e instanceof MouseEvent&&Wt.forEach((function(t){return t(e)}))),"click"===e.type&&!1!==w.props.hideOnClick&&w.state.isVisible)j(e);else{var t=C(),o=t[0],r=t[1];se.isTouch&&"hold"===o&&r?i=setTimeout((function(){Z(e)}),r):Z(e)}}function B(t){(function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null})(t.target,(function(t){return t===e||t===v}))||function(e,t,n,i){if(!e)return!0;var o=n.clientX,r=n.clientY,a=i.interactiveBorder,s=i.distance,l=t.top-r>("top"===e?a+s:a),c=r-t.bottom>("bottom"===e?a+s:a),d=t.left-o>("left"===e?a+s:a),p=o-t.right>("right"===e?a+s:a);return l||c||d||p}(Be(w.state.currentPlacement),v.getBoundingClientRect(),t,w.props)&&(A(),j(t))}function P(e){if(!H(e))return w.props.interactive?(document.body.addEventListener("mouseleave",j),document.addEventListener("mousemove",f),void Wt.push(f)):void j(e)}function F(e){e.target===k()&&(w.props.interactive&&e.relatedTarget&&v.contains(e.relatedTarget)||j(e))}function H(e){var t="ontouchstart"in window,n=Ae(e.type,"touch"),i=_();return t&&se.isTouch&&i&&!n||se.isTouch&&!i&&n}function z(){var t=w.props,n=t.popperOptions,i=t.placement,o=w.popperChildren.arrow,r=me(n,"preventOverflow"),a=w.state.currentPlacement.split("-")[1];function l(e){w.state.currentPlacement=e.placement,w.props.flip&&!w.props.flipOnUpdate&&(e.flipped&&(w.popperInstance.options.placement=e.placement),be(w.popperInstance.modifiers,!1)),b.setAttribute("data-placement",w.state.currentPlacement),!1!==e.attributes["x-out-of-boundaries"]?b.setAttribute("data-out-of-boundaries",""):b.removeAttribute("data-out-of-boundaries");var t=Be(w.state.currentPlacement),n=b.style;n.top="0",n.left="0",n[Ae(["top","bottom"],Be(w.state.currentPlacement))?"top":"left"]=(Ae(["bottom","right"],Be(w.state.currentPlacement))?1:-1)*w.props.distance+"px";var i=r&&void 0!==r.padding?r.padding:5,o="number"==typeof i,a=Q({top:o?i:i.top,bottom:o?i:i.bottom,left:o?i:i.left,right:o?i:i.right},!o&&i);a[t]=o?i+w.props.distance:(i[t]||0)+w.props.distance,w.popperInstance.modifiers.filter((function(e){return"preventOverflow"===e.name}))[0].padding=a}var c=Q({eventsEnabled:!1,placement:s=w.props.followCursor&&a?i.replace(a,"start"===a?"end":"start"):i},n,{modifiers:Q({},n?n.modifiers:{},{preventOverflow:Q({boundariesElement:w.props.boundary,padding:5},r),arrow:Q({element:o,enabled:!!o},me(n,"arrow")),flip:Q({enabled:w.props.flip,padding:w.props.distance+5,behavior:w.props.flipBehavior},me(n,"flip")),offset:Q({offset:w.props.offset},me(n,"offset"))}),onCreate:function(e){l(e),Ee(n&&n.onCreate,c.onCreate,[e]),q()},onUpdate:function(e){l(e),Ee(n&&n.onUpdate,c.onUpdate,[e]),q()}});w.popperInstance=new Rt(e,v,c)}function q(){!p&&l&&(p=!0,function(e){e.offsetHeight}(v),l())}function Z(e){if(w.clearDelayTimeouts(),w.state.isScheduledToShow=!0,w.popperInstance||z(),e&&w.props.onTrigger(w,e),w.props.wait)return w.props.wait(w,e);T();var t=fe(w.props.delay,0,oe.delay);t?i=setTimeout((function(){w.show()}),t):w.show()}function j(e){if(w.clearDelayTimeouts(),w.props.onUntrigger(w,e),w.state.isVisible){w.state.isScheduledToShow=!1;var t=fe(w.props.delay,1,oe.delay);t?o=setTimeout((function(){w.state.isVisible&&w.hide()}),t):r=requestAnimationFrame((function(){w.hide()}))}else M()}}function Yt(e,t){document.addEventListener("touchstart",ce,Q({},ae,{capture:!0})),window.addEventListener("blur",pe);var n=Q({},oe,t),i=function(e){if(ve(e))return[e];if(e instanceof NodeList)return ke(e);if(Array.isArray(e))return e;try{return ke(document.querySelectorAll(e))}catch(e){return[]}}(e).reduce((function(e,t){var i=t&&Xt(t,n);return i&&e.push(i),e}),[]);return ve(e)?i[0]:i}Yt.version="5.0.0-alpha.2",Yt.defaultProps=oe,Yt.currentInput=se,Yt.setDefaultProps=function(e){Object.keys(e).forEach((function(t){oe[t]=e[t]}))},Yt.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,i=t.duration;ke(document.querySelectorAll(".tippy-popper")).forEach((function(e){var t,o=e._tippy;if(o){var r=!1;n&&(r=(t=n)&&t._tippy&&!t.classList.contains("tippy-popper")?o.reference===n:e===n.popper),r||o.hide(i)}}))},$&&setTimeout((function(){ke(document.querySelectorAll("[data-tippy]")).forEach((function(e){var t=e.getAttribute("data-tippy");t&&Yt(e,{content:t})}))}))
|
|
40
40
|
/**!
|
|
41
41
|
* tippy.js v5.0.0-alpha.2
|
|
42
42
|
* (c) 2017-2019 atomiks
|
|
43
43
|
* MIT License
|
|
44
|
-
*/;!function(e){if($){var t=document.createElement("style");t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,i=n.querySelector("style,link");i?n.insertBefore(t,i):n.appendChild(t)}}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 8px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-8px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-8px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-8px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-8px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-animatefill]{background-color:transparent!important}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow{border-color:transparent;border-style:solid;position:absolute}.tippy-arrow[data-state=hidden]{opacity:0}.tippy-content{padding:.3125rem .5625rem}");var Jt=on("shepherd"),Qt=on("shepherd-has-title"),Gt={computeStyle:{enabled:!0,fn:function(e){return e.styles=j({},e.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),e}},addShepherdClass:Jt},Kt={positionFixed:!0,modifiers:{addShepherdClass:Jt}};function $t(e){var t=document.createElement("div");return t.innerHTML=e,t.children[0]}function en(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.isArray(e)?e.slice(t):[]}function tn(){if(G(Xt))throw new Error("Using the attachment feature of Shepherd requires the Tippy.js library");this.tooltip&&this.tooltip.destroy();var e=this.parseAttachTo();this.tooltip=rn.call(this,e),this.target=e.element||document.body,this.el.classList.add("shepherd-element")}function nn(){var e=this.options.attachTo||{},t=j({},e);if(Q(e.element)){try{t.element=document.querySelector(e.element)}catch(e){}t.element||console.error("The element for this Shepherd step was not found ".concat(e.element))}return t}function on(e){return{enabled:!0,fn:function(t){return t.instance.popper.classList.add(e),t}}}function rn(e){if(!e.element)return sn.call(this);var t=an.call(this,e);return Xt(e.element,t)}function an(e){var t={content:this.el,flipOnUpdate:!0,placement:e.on||"right"};return j(t,this.options.tippyOptions),this.options.title&&j(Kt.modifiers,{addHasTitleClass:Qt}),this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&j(Kt,this.options.tippyOptions.popperOptions),t.popperOptions=Kt,t}function sn(){var e=function(e){for(var t=1;t<arguments.length;t++)if(t%2){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){Z(e,t,n[t])}))}else Object.defineProperties(e,Object.getOwnPropertyDescriptors(arguments[t]));return e}({content:this.el,placement:"top"},this.options.tippyOptions);e.arrow=!1,e.popperOptions=e.popperOptions||{},this.options.title&&j(Kt.modifiers,{addHasTitleClass:Qt});var t=j({},Kt,e.popperOptions,{modifiers:j(Gt,e.popperOptions.modifiers)});return e.popperOptions=t,Xt(document.body,e)}var ln=function(){function e(){P(this,e)}return z(e,[{key:"on",value:function(e,t,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];G(this.bindings)&&(this.bindings={}),G(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){var n=this;if(G(this.bindings)||G(this.bindings[e]))return!1;G(t)?delete this.bindings[e]:this.bindings[e].forEach((function(i,o){i.handler===t&&n.bindings[e].splice(o,1)}))}},{key:"trigger",value:function(e){var t=this;if(!G(this.bindings)&&this.bindings[e]){var n=en(Array.prototype.slice.call(arguments));this.bindings[e].forEach((function(i,o){var r=i.ctx,a=i.handler,s=i.once,l=r||t;a.apply(l,n),s&&t.bindings[e].splice(o,1)}))}}}]),e}();function cn(e){var t=this;return function(n){if(t.isOpen()){var i=t.el&&n.target===t.el;(!G(e)&&n.target.matches(e)||i)&&t.tour.next()}}}function dn(){var e=this.options.advanceOn||{},t=e.event,n=e.selector;if(!t)return console.error("advanceOn was defined, but no event name was passed.");var i,o=cn.call(this,n);try{i=document.querySelector(n)}catch(e){}if(!G(n)&&!i)return console.error("No element was found for the selector supplied to advanceOn: ".concat(n));i?(i.addEventListener(t,o),this.on("destroy",(function(){return i.removeEventListener(t,o)}))):(document.body.addEventListener(t,o,!0),this.on("destroy",(function(){return document.body.removeEventListener(t,o,!0)})))}function pn(e,t){var n=this;e.events=e.events||{},G(e.action)||(e.events.click=e.action),e.events&&Object.entries(e.events).forEach((function(e){var i=Y(e,2),o=i[0],r=i[1];if(Q(r)){var a=r;r=function(){return n.tour.show(a)}}t.dataset.buttonEvent=!0,t.addEventListener(o,r),n.on("destroy",(function(){t.removeAttribute("data-button-event"),t.removeEventListener(o,r)}))}))}function un(e){var t=this;e.addEventListener("click",(function(e){e.preventDefault(),t.cancel()}))}function hn(e){var t=this;e.map((function(e){t[e]=t[e].bind(t)}))}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var fn=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,i=e.HTMLElement||e.Element,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:i.prototype.scroll||l,scrollIntoView:i.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},i.prototype.scroll=i.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==r(arguments[0])?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},i.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},i.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=h(this),i=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==t.body?(m.call(this,n,n.scrollLeft+r.left-i.left,n.scrollTop+r.top-i.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})):e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||"object"!==r(e)||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===r(e)&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function d(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function p(t,n){var i=e.getComputedStyle(t,null)["overflow"+n];return"auto"===i||"scroll"===i}function u(e){var t=d(e,"Y")&&p(e,"Y"),n=d(e,"X")&&p(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===u(e);)e=e.parentNode||e.host;return e}function f(t){var n,i,o,r,s=(a()-t.startTime)/468;r=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*r)),i=t.startX+(t.x-t.startX)*n,o=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,i,o),i===t.x&&o===t.y||e.requestAnimationFrame(f.bind(e,t))}function m(n,i,r){var s,c,d,p,u=a();n===t.body?(s=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,p=o.scroll):(s=n,c=n.scrollLeft,d=n.scrollTop,p=l),f({scrollable:s,method:p,startTime:u,startX:c,startY:d,x:i,y:r})}}}}));fn.polyfill;fn.polyfill();var mn,vn=(mn=0,function(){return++mn}),gn=function(e){function t(e,n){var i;return P(this,t),(i=W(this,V(t).call(this,e,n))).tour=e,hn.call(U(i),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),i.setOptions(n),i.bindAdvance=dn.bind(U(i)),i.bindButtonEvents=pn.bind(U(i)),i.bindCancelLink=un.bind(U(i)),i.setupTooltip=tn.bind(U(i)),i.parseAttachTo=nn.bind(U(i)),W(i,U(i))}return q(t,e),z(t,[{key:"_addButtons",value:function(e){var t=this;if(Array.isArray(this.options.buttons)&&this.options.buttons.length){var n=document.createElement("footer");n.classList.add("shepherd-footer"),this.options.buttons.map((function(e){var i=$t('<button class="shepherd-button '.concat(e.classes||"",'" tabindex="0">').concat(e.text,"</button>"));n.appendChild(i),t.bindButtonEvents(e,i)})),e.appendChild(n)}}},{key:"_addCancelLink",value:function(e,t){if(this.options.showCancelLink){var n=$t('<a href class="shepherd-cancel-link"></a>');t.appendChild(n),e.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(e,t){var n=$t('<div class="shepherd-text"\n id="'.concat(t,'"\n ></div>')),i=this.options.text;J(i)&&(i=i.call(this,n)),i instanceof HTMLElement?n.appendChild(i):(Q(i)&&(i=[i]),i.map((function(e){n.innerHTML+="<p>".concat(e,"</p>")}))),e.appendChild(n)}},{key:"_addKeyDownHandler",value:function(e){var t=this,n=e.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),i=Y(n,1)[0],o=n[n.length-1];e.addEventListener("keydown",(function(e){switch(e.keyCode){case 9:if(1===n.length){e.preventDefault();break}e.shiftKey?document.activeElement===i&&(e.preventDefault(),o.focus()):document.activeElement===o&&(e.preventDefault(),i.focus());break;case 27:t.cancel();break;case 37:t.tour.back();break;case 39:t.tour.next()}}))}},{key:"_createTooltipContent",value:function(){var e=document.createElement("div"),t=this.options.classes||"",n="".concat(this.id,"-description"),i="".concat(this.id,"-label"),o=$t('<div class="'.concat(t,'"\n data-shepherd-step-id="').concat(this.id,'"\n role="dialog"\n tabindex="0">')),r=document.createElement("header");if(this.options.title){var a=document.createElement("h3");a.classList.add("shepherd-title"),a.innerHTML="".concat(this.options.title),a.id=i,o.setAttribute("aria-labeledby",i),r.appendChild(a)}return e.classList.add("shepherd-content"),r.classList.add("shepherd-header"),o.appendChild(e),e.appendChild(r),G(this.options.text)||(this._addContent(e,n),o.setAttribute("aria-describedby",n)),this._addButtons(e),this._addCancelLink(o,r),o}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){try{this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),X(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}catch(e){}}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){G(this.el)||this.destroy(),this.el=this._createTooltipContent(),this._addKeyDownHandler(this.el),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(e){var t=this.parseAttachTo().element;J(this.options.scrollToHandler)?this.options.scrollToHandler(t):X(t)&&t.scrollIntoView(e)}},{key:"setOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var n=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(vn()),n&&Object.entries(n).forEach((function(t){var n=Y(t,2),i=n[0],o=n[1];e.on(i,o,e)}))}},{key:"show",value:function(){var e=this;if(J(this.options.beforeShowPromise)){var t=this.options.beforeShowPromise();if(!G(t))return t.then((function(){return e._show()}))}this._show()}},{key:"_show",value:function(){var e=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout((function(){e.scrollTo(e.options.scrollTo)})),this.tooltip.show(),this.trigger("show"),this.el.focus()}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}]),t}(ln),yn="http://www.w3.org/2000/svg",bn="shepherdModalOverlayContainer",xn="shepherdModalMask",wn="shepherdModalMaskRect",Cn="shepherdModalMaskOpening",_n="shepherd-modal-is-visible",En="shepherd-modal-target";function kn(){var e,t=((e=document.createElementNS(yn,"svg")).setAttributeNS(null,"id",bn),e),n=document.createElementNS(yn,"defs"),i=function(){var e=document.createElementNS(yn,"mask");return Mn(e,{height:"100%",id:xn,width:"100%",x:"0",y:"0"}),e}(),o=function(){var e=document.createElementNS(yn,"rect");return Mn(e,{fill:"#FFFFFF",height:"100%",id:wn,width:"100%",x:"0",y:"0"}),e}(),r=function(){var e=document.createElementNS(yn,"rect");return Mn(e,{fill:"#000000",id:Cn}),e}(),a=function(){var e=document.createElementNS(yn,"rect");return Mn(e,{height:"100%",width:"100%",x:"0",y:"0"}),e.setAttribute("mask","url(#".concat(xn,")")),e}();return i.appendChild(o),i.appendChild(r),n.appendChild(i),t.appendChild(n),t.appendChild(a),t}function An(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e.getBoundingClientRect&&t instanceof SVGElement){var i=e.getBoundingClientRect(),o=i.x,r=i.y,a=i.width,s=i.height,l=i.left,c=i.top;Mn(t,{x:(o||l)-n,y:(r||c)-n,width:a+2*n,height:s+2*n})}}function Ln(e){e.preventDefault()}function Tn(e){e.stopPropagation()}function Mn(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function On(e){var t=e.options.attachTo;if(!t)return null;var n=F(t);return"string"===n?function(e){var t=Y(e.split(" "),1)[0];return document.querySelector(t)}(t):"object"===n?function(e){var t=e.element;if(t instanceof HTMLElement)return t;if(t instanceof SVGElement)return t;try{return document.querySelector(t)}catch(e){}return null}(t):null}function Sn(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!0);var e=document.querySelector("#".concat(bn));window.addEventListener("touchmove",Ln,{passive:!1}),e&&e.addEventListener("touchmove",Tn,!1)}var Dn=function(){function e(t){return P(this,e),this.createModalOverlay(),this.options=t,this}return z(e,[{key:"cleanup",value:function(){try{var e=this._modalOverlayElem;e&&e instanceof SVGElement&&e.parentNode.removeChild(e),this._modalOverlayElem=null,document.body.classList.remove(_n)}catch(e){}}},{key:"createModalOverlay",value:function(){if(!this._modalOverlayElem){var e=document.getElementById("shepherdModalOverlayContainer");this._modalOverlayElem=e||kn(),this._modalOverlayOpening=this._modalOverlayElem.querySelector("#".concat(Cn)),this.hide(),e||document.body.appendChild(this._modalOverlayElem)}}},{key:"hide",value:function(){document.body.classList.remove(_n),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(e){this.options.useModalOverlay?(this._styleForStep(e),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(_n),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(e){var t,n,i,o,r,a=this._modalOverlayOpening,s=On(e),l=e.options.modalOverlayOpeningPadding;s?(An(s,a,l),this._onScreenChange=(n=An.bind(this,s,a,l),i=0,function(){var e=this,t=arguments,a=function(){r=null,o||n.apply(e,t)},s=o&&!r;clearTimeout(r),r=setTimeout(a,i),s&&n.apply(e,t)}),Sn.call(this)):(t=this._modalOverlayOpening)&&t instanceof SVGElement&&Mn(t,{height:"0",x:"0",y:"0",width:"0"})}}]),e}(),In=!1;if("undefined"!=typeof window){var Bn={get passive(){In=!0}};window.addEventListener("testPassive",null,Bn),window.removeEventListener("testPassive",null,Bn)}var Nn,Fn,Pn="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),Hn=[],zn=!1,Zn=-1,jn=function(e){return Hn.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},qn=function(e){var t=e||window.event;return!!jn(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Vn=function(e,t){if(Pn){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!Hn.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Hn=[].concat(p(Hn),[n]),e.ontouchstart=function(e){1===e.targetTouches.length&&(Zn=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Zn;!jn(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?qn(e):e.stopPropagation())}(t,e)},zn||(document.addEventListener("touchmove",qn,In?{passive:!1}:void 0),zn=!0)}}else{!function(e){setTimeout((function(){if(void 0===Fn){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Fn=document.body.style.paddingRight,document.body.style.paddingRight="".concat(n,"px"))}void 0===Nn&&(Nn=document.body.style.overflow,document.body.style.overflow="hidden")}))}(t);var i={targetElement:e,options:t||{}};Hn=[].concat(p(Hn),[i])}},Rn=function(){Pn?(Hn.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),zn&&(document.removeEventListener("touchmove",qn,In?{passive:!1}:void 0),zn=!1),Hn=[],Zn=-1):(setTimeout((function(){void 0!==Fn&&(document.body.style.paddingRight=Fn,Fn=void 0),void 0!==Nn&&(document.body.style.overflow=Nn,Nn=void 0)})),Hn=[])},Un={trigger:"manual",arrow:!0,animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0};function Wn(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null),window.removeEventListener("touchmove",Ln,{passive:!1})}var Yn,Xn=function(){var e=0;return function(){return++e}}(),Jn=new ln,Qn=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};P(this,t),e=W(this,V(t).call(this,n)),hn.call(U(e),["back","cancel","complete","hide","next"]),e.options=n,e.steps=e.options.steps||[];var i=["active","cancel","complete","inactive","show","start"];return i.map((function(t){var n;n=t,e.on(n,(function(t){(t=t||{}).tour=U(e),Jn.trigger(n,t)}))})),e.modal=new Dn(n),e._setTooltipDefaults(),e._setTourID(),W(e,U(e))}return q(t,e),z(t,[{key:"addStep",value:function(e,t){var n,i;return G(t)?i=e:(n=e,i=t),i instanceof gn?i.tour=this:i=this.setupStep(i,n),this.steps.push(i),i}},{key:"back",value:function(){var e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var e=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(e)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(e){var t;Array.isArray(this.steps)&&this.steps.forEach((function(e){return e.destroy()})),Wn.call(this),(t=this.tourObject)&&t.steps.forEach((function(e){if(e.options&&!1===e.options.canClickTarget&&e.options.attachTo){var t=On(e);t instanceof HTMLElement&&(t.style.pointerEvents="auto")}})),this.trigger(e),Jn.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this}),this.options.disableScroll&&Rn(),this.modal.cleanup()}},{key:"getById",value:function(e){return this.steps.find((function(t){return t.id===e}))}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var e=this.getCurrentStep();if(e)return e.hide()}},{key:"isActive",value:function(){return Jn.activeTour===this}},{key:"next",value:function(){var e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)}},{key:"removeStep",value:function(e){var t=this,n=this.getCurrentStep();this.steps.some((function(n,i){if(n.id===e)return n.isOpen()&&n.hide(),n.destroy(),t.steps.splice(i,1),!0})),n&&n.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(e,t){return(Q(t)||"number"==typeof t)&&(e.id=t.toString()),e=j({},this.options.defaultStepOptions,e),new gn(this,e)}},{key:"beforeShowStep",value:function(e){this.modal.setupForStep(e),this._styleTargetElementForStep(e)}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Q(e)?this.getById(e):this.steps[e];if(n){this._updateStateBeforeShow();var i=J(n.options.showOn)&&!n.options.showOn();i?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show())}}},{key:"start",value:function(){this.trigger("start"),this.options.disableScroll&&Vn(),this.currentStep=null,this._setupActiveTour(),this.next()}},{key:"_setupActiveTour",value:function(){this.modal.createModalOverlay(),this._addBodyAttrs(),this.trigger("active",{tour:this}),Jn.activeTour=this}},{key:"_styleTargetElementForStep",value:function(e){var t,n,i=On(e);i&&(t=i,(n=document.querySelector("".concat(En)))&&n.classList.remove(En),t.classList.add(En),e.options.highlightClass&&i.classList.add(e.options.highlightClass),!1===e.options.canClickTarget&&(i.style.pointerEvents="none"))}},{key:"_skipStep",value:function(e,t){var n=this.steps.indexOf(e),i=t?n+1:n-1;this.show(i,t)}},{key:"_setTooltipDefaults",value:function(){Xt.setDefaultProps(Un)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var e=this.options.tourName||"tour",t=Xn();this.id="".concat(e,"--").concat(t)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}]),t}(ln);j(Jn,{Tour:Qn,Step:gn,Evented:ln});var Gn=function(e){return 50===e?10:16},Kn=function(e,t){switch(e.toLowerCase()){case"top":return"translateY(".concat(Gn(t)-26,"px)");case"right":return"translateX(".concat(Gn(t),"px)");case"bottom":return"translateY(".concat(Gn(t),"px)");case"left":return"translateX(".concat(Gn(t)-26,"px)")}},$n=function(e,t,n,i,o){var r,a=e.animation,s=void 0===a?{}:a,l=e.bg_color,c=void 0===l?"black":l,d=e.border,p=void 0===d?{}:d,u=e.buttons_config,h=void 0===u?[]:u,f=e.button_position,m=void 0===f?"right":f,v=e.corners,g=void 0===v?{}:v,y=e.shadow,b=void 0===y?"0 8px 16px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)":y,x=e.opacity,w=void 0===x?1:x,C=e.dismiss_outside_touch,_=void 0!==C&&C,E=e.dismiss_target_touch,k=void 0===E||E,L=e.position,O=void 0===L?"TOP":L,D=e.text_config,I=void 0===D?{}:D,B=e.title_config,F=void 0===B?{}:B,P=e.view_id,H=e.show_shadow,z=void 0!==H&&H,Z=e.show_close_icon,j=void 0!==Z&&Z,q=e.dim_background_color,V=void 0===q?"#0a0a0a":q,R=e.dim_background_opacity,U=void 0===R?.5:R,W=e.layout_type,Y=void 0===W?"default":W,X=e.pb_color,J=void 0===X?"orange":X,Q=e.index,G=void 0===Q?0:Q,K=e.total,$=void 0===K?1:K,ee=t.configId,te=t.configName,ne=M(h,Yn,ee,te),ie=ne.buttons_array,oe=ne.buttons_css,re={color:I.color,fontSize:I.size,fontFamily:I.font_family,fontStyle:I.style};if(I.margin_config&&Object.keys(I.margin_config).length>0){var ae=I.margin_config;re.margin="".concat(ae.top,"px ").concat(ae.right,"px ").concat(ae.bottom,"px ").concat(ae.left,"px")}var se=I.style;"bold"===se&&(re.fontWeight=se);var le,ce={color:F.color,fontSize:F.size,fontFamily:F.font_family,fontStyle:F.style};if(F.margin_config&&Object.keys(F.margin_config).length>0){var de=F.margin_config;ce.margin="".concat(de.top,"px ").concat(de.right,"px ").concat(de.bottom,"px ").concat(de.left,"px")}switch("bold"===(se=F.style)&&(re.fontWeight=se),Y){case"with_progress":le='\n<div>\n <div style="height: 6px;background: '.concat(J,";width: ").concat((G+1)/$*100,"%;border-radius: ").concat(g.enabled?g.width:0,'px;"></div>\n <header class="shepherd-header" style="').concat(F?"padding: 10px 10px 0 10px":"",'">\n ').concat(F?'<h3 class="shepherd-title" id="apxor-step-'.concat(G,'-label" style="padding: 0 !important;padding-right: 0.7em;">').concat(N(null==F?void 0:F.text,null==F?void 0:F.segments),"</h3>"):"",'\n </header>\n <p style="padding: 8px 10px">').concat(N(null==I?void 0:I.text,null==I?void 0:I.segments),"</p>\n</div>\n "),le=(new DOMParser).parseFromString(le,"text/html").body.children[0];break;default:le=(null==I||null===(r=I.segments)||void 0===r?void 0:r.length)>0?N(null==I?void 0:I.text,null==I?void 0:I.segments):[I&&I.text?I.text:"Tap here"]}var pe={"border-radius":g.enabled?g.width:0,background:c,"border-color":p.color,"border-width":p.width},ue=null;try{ue=document.querySelector("#"+P)}catch(e){}if(!ue)try{ue=document.querySelector(P)}catch(e){}if(ue||(ue=A(P)),ue){var he=document.createElement("span");he.setAttribute("id","apxor-style-"+ee+"-step-"+G);var fe=document.createElement("style");fe.innerHTML='\n#shepherdModalOverlayContainer {\n -ms-filter: "progid:dximagetransform.microsoft.gradient.alpha(Opacity=50)";\n filter: alpha(opacity=50);height: 100vh;left: 0;opacity: '.concat(null!=U?U:.5,";position: fixed;\n top: 0;transition: all .3s ease-out;width: 100vw;z-index: 9997;fill: ").concat(null!=V?V:"transparent","\n}\n#shepherdModalOverlayContainer #shepherdModalMask, #shepherdModalOverlayContainer #shepherdModalMaskRect {\n height: 100vh;width: 100vw\n}\n.shepherd-modal.shepherd-enabled {\n position: relative;z-index: 9998\n}\n.shepherd-active.shepherd-modal-is-visible :not(.shepherd-target) {\n pointer-events: none\n}\n.shepherd-active.shepherd-modal-is-visible .shepherd-button, .shepherd-active.shepherd-modal-is-visible .shepherd-button *, .shepherd-active.shepherd-modal-is-visible .shepherd-cancel-link, .shepherd-active.shepherd-modal-is-visible .shepherd-cancel-link *, .shepherd-active.shepherd-modal-is-visible .shepherd-element, .shepherd-active.shepherd-modal-is-visible .shepherd-element *, .shepherd-active.shepherd-modal-is-visible .shepherd-target, .shepherd-active.shepherd-modal-is-visible .shepherd-target * {\n pointer-events: auto\n}\n.tippy-popper.shepherd {\n z-index: 999999\n}\n.tippy-popper.shepherd[x-placement^=top] {\n margin-top: 0px\n}\n.tippy-popper.shepherd[x-placement^=bottom] {\n margin-top: 8px\n}\n.tippy-popper.shepherd[x-placement^=left] {\n margin-right: 0px\n}\n.tippy-popper.shepherd[x-placement^=right] {\n margin-left: 0px\n}\n.tippy-popper.shepherd .tippy-tooltip .tippy-content {\n max-height: 100%;padding: 0;text-align: left;max-width: 400px;\n}\n.shepherd-element, .shepherd-element *, .shepherd-element:after, .shepherd-element :after, .shepherd-element:before, .shepherd-element :before {\n box-sizing: border-box\n}\n.shepherd-element {\n outline: none;\n}\n.shepherd-element .shepherd-content header {\n *zoom: 1;align-items: left;border-top-left-radius: 5px;border-top-right-radius: 5px;\n display: flex;justify-content: left;line-height: 2em;").concat(j?"padding: .75em;":"",'\n}\n.shepherd-element .shepherd-content header:after {\n clear: both;content: "";display: table\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link, .shepherd-element .shepherd-content header .shepherd-title {\n margin: 0;padding: 0;position: relative;vertical-align: middle\n}\n.shepherd-element .shepherd-content header .shepherd-title {\n color: ').concat(ce.color,";display: flex;flex: 1 0 auto;\n font-size: ").concat(ce.fontSize,"px;font-family: ").concat(ce.fontFamily,";\n font-weight: ").concat("bold"!==ce.fontStyle?"normal":ce.fontStyle,";font-style: ").concat("italic"===ce.fontStyle?"italic":"unset",";\n line-height: ").concat("default"===Y?"26":"20",'px;letter-spacing:0.01em;padding: .7em;padding-bottom: 0px;max-width: 400px;\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link {\n color: hsla(0, 0%, 70.2%, .75);font-size: 2em;margin-left: auto;\n text-decoration: none;transition: color .5s ease\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link:before {\n mix-blend-mode: screen;content: "×"\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link:hover {\n mix-blend-mode: difference;\n}\n.shepherd-element .shepherd-content .shepherd-text {\n line-height: 1em;').concat("default"===Y?"padding:14px;padding-top:4px":"","\n}\n.shepherd-element .shepherd-content .shepherd-text a,\n.shepherd-element .shepherd-content .shepherd-text a:active,\n.shepherd-element .shepherd-content .shepherd-text a:visited {\n border-bottom: 1px dotted rgba(0, 0, 0, .75);color: ").concat(re.color,";\n opacity: 0.75;text-decoration: none\n}\n.shepherd-element .shepherd-content .shepherd-text a:active:hover, \n.shepherd-element .shepherd-content .shepherd-text a:hover,\n.shepherd-element .shepherd-content .shepherd-text a:visited:hover {\n border-bottom-style: solid\n}\n.shepherd-element .shepherd-content .shepherd-text p {\n margin-top: 0\n}\n.shepherd-element .shepherd-content .shepherd-text p:last-child {\n margin-bottom: 0\n}\n.shepherd-content > .shepherd-text p {\n font-size: ").concat(re.fontSize,"px;font-family: ").concat(re.fontFamily,"; \n font-weight: ").concat("bold"!==re.fontStyle?"normal":re.fontStyle,";\n font-style: ").concat("italic"===re.fontStyle?"italic":"unset",";\n color: ").concat(re.color,";line-height: ").concat("default"===Y?"26":"20","px;letter-spacing:0.01em;\n}\n").concat(T(oe,m,".shepherd-element .shepherd-content "),"\n@-webkit-keyframes cycle {\n 0% { transform: ").concat(Kn(O,0),"; }\n 50% { transform: ").concat(Kn(O,50),"; }\n 100% { transform: ").concat(Kn(O,100),"; }\n}\n@keyframes cycle {\n 0% { transform: ").concat(Kn(O,0),"; }\n 50% { transform: ").concat(Kn(O,50),"; }\n 100% { transform: ").concat(Kn(O,100),"; }\n}\n.tippy-tooltip.apxor-").concat(ee,"-step-").concat(G,"-theme {\n animation: ").concat(s.enabled?s.type+" 1000ms":"none",";\n animation-timing-function: ease-in-out;animation-iteration-count: infinite;\n box-shadow: ").concat(z?b:"none",";color: ").concat(re.color,";\n opacity: ").concat(w,";border-radius: ").concat(pe["border-radius"]+"px",";\n background-color: ").concat(pe.background,";").concat(function(e){switch(e.toUpperCase()){case"TOP":return"top: -8px !important";case"LEFT":return"left: 0px !important";case"RIGHT":return"left: -0px !important";case"BOTTOM":return"top: 0px !important"}}(O),";\n}\n.apxor-").concat(ee,"-step-").concat(G,"-theme .tippy-roundarrow {\n fill: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='top'] .tippy-arrow {\n border-top-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='bottom'] .tippy-arrow {\n border-bottom-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='left'] .tippy-arrow {\n border-left-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='right'] .tippy-arrow {\n border-right-color: ").concat(pe.background,";\n}\n "),he.appendChild(fe),ue.parentNode.insertBefore(he,ue);var me=function(e){return function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(o)try{Yn.complete(),i&&e.logActionEvent("InlineTargetViewClicked",t,n)}catch(t){e.isShowingAction=!1,e.currentAction=null,console.error(t)}}(n,ee,te,!0,k)},ve=function(){var e;try{var t;null===(t=Yn)||void 0===t||t.complete()}catch(e){console.error(e)}ye.disconnect(),be.disconnect();try{var n,i=document.getElementById("apxor-style-"+ee+"-step-"+G);null==i||null===(n=i.parentNode)||void 0===n||n.removeChild(i)}catch(e){}try{var r,a=document.getElementById("shepherdModalOverlayContainer");null==a||null===(r=a.parentNode)||void 0===r||r.removeChild(a)}catch(e){}o&&o(null===(e=Yn)||void 0===e?void 0:e._isCancelled),ue.removeEventListener("click",me)},ge=!1,ye=new MutationObserver((function(){if(!document.body.contains(ue)){document.getElementById("shepherdModalOverlayContainer").remove();var e=document.getElementsByClassName("apxor-".concat(ee,"-step-").concat(G,"-theme"));e.length>0&&e[0]&&e[0].parentNode&&e[0].parentNode.remove(),ve()}})),be=new IntersectionObserver((function(){var e=S(ue);if(!e&&ge){document.getElementById("shepherdModalOverlayContainer").remove();var t=document.getElementsByClassName("apxor-".concat(ee,"-step-").concat(G,"-theme"));t.length>0&&t[0]&&t[0].parentNode&&t[0].parentNode.remove(),ve()}e&&(ge=!0)})),xe=N(null==F?void 0:F.text,null==F?void 0:F.segments);Yn.addStep("apxor-step-"+G,{title:"default"===Y?""===xe?null:xe:null,text:le,classes:"apxor-".concat(ee,"-step-").concat(G,"-theme"),attachTo:{element:ue,on:O.toLowerCase()},showCancelLink:j,buttons:ie,tippyOptions:{allowHTML:!0,arrow:!0,flipOnUpdate:!0,interactive:!0,maxWidth:"100%",hideOnClick:_,theme:"apxor-".concat(ee,"-step-").concat(G),onShow:function(){i&&i(),ue.addEventListener("click",me),ye.observe(document.body,{childList:!0,subtree:!0}),be.observe(ue)},onHidden:ve}})}else console.warn("Element not found with id or path")},ei=function(e,t,n,i,o,r,a){var s,l,c=Array.isArray(t)&&t.length>0,d=e.delay,p=e.dim_background,u=e.view_id,h=e.find_interval,f=void 0===h?0:h,m=e.scrollToView,v=void 0!==m&&m;"Script"===(null===(s=e.title_config)||void 0===s?void 0:s.text)&&(e.title_config.isDynamicText?I(e.title_config):B(e.title_config)),"Script"===(null===(l=e.text_config)||void 0===l?void 0:l.text)&&(e.text_config.isDynamicText?I(e.text_config):B(e.text_config));var g=!1;v&&(g={behavior:"smooth",block:"center"}),Yn=new Jn.Tour({defaultStepOptions:{scrollTo:g},useModalOverlay:c||p});var y=function(){var e=document.getElementById(u);if(!e)try{e=document.querySelector(u)}catch(e){}return e||(e=A(u)),e},b=function(n){try{var s=n.getBoundingClientRect();if(0===s.width||0===s.height)return console.warn("Width and height are 0 for: ",u,". Can't show"),void(o.currentAction=null)}catch(e){return o.isShowingAction=!1,void(o.currentAction=null)}if(c?t.forEach((function(e,t){var n=e.ui;$n(n,i,o,r,a)})):$n(e,i,o,r,a),o.isShowingAction)window.ApxorLogger.error("An action already being shown");else try{Yn.start(),o.isShowingAction=!0}catch(e){o.isShowingAction=!1,o.currentAction=null,console.error(e)}};return setTimeout((function(){var e=y();e?b(e):(console.warn("Element with id:".concat(u," not found.")),f?(console.warn("Rechecking"),function(e){var t=new Date,n=setInterval((function(){var i=y();i?(clearInterval(n),b(i)):(new Date-t)/1e3>10&&(clearInterval(n),console.warn("Element with id:".concat(e," not found.")),o.currentAction=null)}),f)}(u)):o.currentAction=null)}),d),!0===n.auto_dismiss&&setTimeout((function(){try{Yn.complete()}catch(e){o.isShowingAction=!1,o.currentAction=null,console.error(e)}}),d+n.duration),Yn.complete};function ti(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=n.length,o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*i));return t}var ni=ti(10);function ii(){return[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((function(e){return navigator.userAgent.match(e)}))}function oi(e){var t=e.color,n=void 0===t?"#000":t,i=e.font_family,o=void 0===i?"cursive":i,r=e.margin_config,a=void 0===r?{}:r,s=e.size,l=void 0===s?14:s,c=e.style,d=void 0===c?"bold":c,p=e.text,u=e.segments,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desc",f=document.createElement("span");f.setAttribute("id",ni+"-"+h),f.className="apx-class-".concat(ni,"-").concat(h);var m=document.createElement("style");return m.innerHTML="\n.apx-class-".concat(ni,"-").concat(h," {\n z-index:99999;text-align:initial;color:").concat(n," !important;\n font-family:").concat(o," !important;font-size:").concat(l,"px !important;font-weight:").concat(d," !important;\n font-style:").concat("normal"===d||"italic"===d?d+" !important":"unset",";max-width:400px;\n}\n "),Object.keys(a).length>0&&(f.style.margin="".concat(a.top,"px ").concat(a.right,"px ").concat(a.bottom,"px ").concat(a.left,"px")),f.appendChild(m),f.innerHTML=f.innerHTML+N(p,u),f}function ri(e,t,n,i,o,r){var a=Math.sqrt(Math.pow(e,2)+Math.pow(t,2)),s=a,l=n-(a-e)/2,c=i-(a-t)/2;"circle"!=o&&(a=e,s=t,l=n,c=i);var d=document.createElement("div");return d.setAttribute("id",ni+"-ripple-div"),r&&(d.innerHTML=function(e,t,n){return"\n<style>\n.ripple-animator {\n position: relative;display: -webkit-box;display: flex;-webkit-box-orient: horizontal;\n -webkit-box-direction: normal;flex-direction: row;-webkit-box-pack: center;\n justify-content: center;-webkit-box-align: center;align-items: center;\n height: ".concat(n,"px !important;width: ").concat(t,"px !important;\n border-radius: ").concat("circle"===e?"100%":"0",";\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);\n}\n.ripple-animator span {\n position: relative;font-size: 72px;top: 5px;left: -5px;\n}\n.ripple-animator::before {\n opacity: 0;display: -webkit-box;display: flex;-webkit-box-orient: horizontal;\n -webkit-box-direction: normal;flex-direction: row;-webkit-box-pack: center;\n justify-content: center;-webkit-box-align: center;align-items: center;\n position: ").concat(ii()?"unset":"absolute",";\n top: 0;left: 0;right: 0;bottom: 0;content: '';\n height: ").concat(ii()?n-9:n,"px !important;width: ").concat(t,"px !important;\n border: 5px solid rgba(255, 255, 255, 0.7);border-radius: ").concat("circle"===e?"100%":"0",";\n -webkit-animation-name: ripple;animation-name: ripple;-webkit-animation-duration: 1.5s;\n animation-duration: 1.5s;-webkit-animation-delay: 0.3s;animation-delay: 0.3s;\n -webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;\n -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);\n animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);\n z-index: 99999;\n}\n@-webkit-keyframes ripple {\n from {opacity: 1;-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);}\n to {opacity: 0;-webkit-transform: scale3d(1.25, 1.25, 1);transform: scale3d(1.25, 1.25, 1);}\n}\n@keyframes ripple {\n from {opacity: 1;-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);}\n to {opacity: 0;-webkit-transform: scale3d(1.25, 1.25, 1);transform: scale3d(1.25, 1.25, 1);}\n}\n</style>")}(o,a,s)),d.style.position="absolute",d.style.width="".concat(a,"px"),d.style.height="".concat(s,"px"),d.style.left="".concat(l,"px"),d.style.top="".concat(c,"px"),d.classList.add("ripple-animator"),d.style.borderRadius="".concat("circle"===o?"50%":"0"),d.style.visibility="hidden",document.body.appendChild(d),d}function ai(e,t){return'\n <svg\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'"\n class="apx-fade-in">\n <defs>\n <mask\n id="apx-mask"\n x="0"\n y="0"\n height="').concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'">\n ').concat(e,"\n </mask>\n </defs>\n ").concat(t,"\n </svg>\n ")}function si(e){var t=e.opacity,n=e.type,i=document.createElement("div");i.setAttribute("id",ni+"-svg"),i.style.position="absolute",i.style.left=0,i.style.top=0,i.style.zIndex=99998,i.style.width="100%",i.style.height="99%";var o="";return o="circle"===n?function(e){var t=e.bg_color,n=e.opacity,i=e.innerRadius,o=e.innerCenterX,r=e.innerCenterY,a=e.outerRadius,s=e.outerCircleCenterX,l=e.outerCircleCenterY;return ai('\n <rect\n x="'.concat(s-a,'"\n y="').concat(l-a<0?0:l-a,'"\n height="').concat(2*a,'"\n width="').concat(2*a,'"\n fill="#fff" />\n <circle\n cx="').concat(o,'"\n cy="').concat(r,'"\n r="').concat(i,'" />\n '),'\n <circle\n cx="'.concat(s,'" \n cy="').concat(l,'" \n r="').concat(a,'" \n fill="').concat(t,'" \n fill-opacity="').concat(n,'"\n mask="url(#apx-mask)" />\n '))}(e):function(e){var t=e.bg_color,n=e.opacity,i=e.targetElementLeft,o=e.targetElementTop,r=e.targetElementWidth,a=e.targetElementHeight;return ai('\n <rect\n x="0" y="0"\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'" \n fill="#fff" />\n <rect\n x="').concat(i,'" \n y="').concat(o,'" \n width="').concat(r,'" \n height="').concat(a,'" />\n '),'\n <rect\n x="0" y="0"\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'" \n mask="url(#apx-mask)"\n fill="').concat(t,'" \n fill-opacity="').concat(n,'" />\n '))}(e),i.innerHTML="\n <style>\n @keyframes apx-anim {\n from {\n opacity: 0;\n }\n\n to {\n opacity: ".concat(t,";\n }\n }\n .apx-fade-in {\n animation: apx-anim 0.4s linear;\n }\n </style>\n ").concat(o),document.body.appendChild(i),i}function li(e,t,n,i,o){var r,a,s=e.bg_color,l=e.buttons_config,c=void 0===l?[]:l,d=e.button_position,p=e.coach_mark_details,u=p.has_ripple,h=void 0!==u&&u,f=p.type,m=void 0===f?"circle":f,v=e.delay,g=e.dismiss_outside_touch,y=void 0!==g&&g,b=e.opacity,x=void 0===b?.8:b,w=e.position,C=void 0===w?"TOP":w,_=e.text_config,E=e.title_config,L=void 0===E?null:E,O=e.view_id,D=e.scroll_to_view,N=void 0!==D&&D,F=t.configId,P=t.configName;"Script"===(null===(r=e.title_config)||void 0===r?void 0:r.text)&&(e.title_config.isDynamicText?I(e.title_config):B(e.title_config)),"Script"===(null===(a=e.text_config)||void 0===a?void 0:a.text)&&(e.text_config.isDynamicText?I(e.text_config):B(e.text_config));var H=document.getElementById(O);if(!H)try{H=document.querySelector(O)}catch(e){}if(H||(H=A(O)),H)if(ni=ti(10),N||S(H)){var z=!1,Z=new MutationObserver((function(){document.body.contains(H)||K()})),j=new IntersectionObserver((function(){var e=S(H);!e&&z&&K(),e&&(z=!0)})),q=function(e){var t=e.getBoundingClientRect(),n=t.left+window.scrollX,i=t.top+window.scrollY;return{left:n,top:i,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY,x:k(t.x)?t.x+window.scrollX:n,y:k(t.y)?t.y+window.scrollY:i,width:t.width,height:t.height}}(H),V=q.left,R=void 0===V?0:V,U=q.top,W=void 0===U?0:U,Y=q.width,X=void 0===Y?0:Y,J=q.height,Q=void 0===J?0:J,G=q.left<window.innerWidth/2;if(0!==Q&&0!==X){var K=function(){Z.disconnect(),j.disconnect(),ve.parentNode.removeChild(ve),$.parentNode.removeChild($),oe.parentNode.removeChild(oe),o&&o(),ge&&clearTimeout(ge)},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=null;if(!t&&e?s=oi(e):t&&e&&((s=document.createElement("div")).style.display="inline-flex",s.style.flexDirection="column",s.style.visibility="hidden",s.style.textAlign="center",s.style.lineHeight="26px",s.style.letterSpacing="0.01em",s.appendChild(oi(t)),s.appendChild(oi(e))),n&&n.length>0){var l=document.createElement("footer");l.className="shepherd-footer",l.style.zIndex=99999,l.style.margin="8px",l.style.padding="0";var c=function(){a&&a()},d=M(n,{next:c,complete:c,cancel:c},o,r),p=d.buttons_array,u=d.buttons_css,h=document.createElement("style");h.innerHTML=T(u,i),l.appendChild(h),p.forEach((function(e){var t=e.classes,n=e.text,i=e.action,o=(e.segments,document.createElement("button"));o.className="shepherd-button "+t,o.innerHTML=n,o.onclick=function(){return i()},l.appendChild(o)}));var f=document.createElement("div");f.style.display="inline-flex",f.style.flexDirection="column",f.style.visibility="hidden",f.appendChild(s),f.appendChild(l),s=f}return s.style.position="absolute",document.body.appendChild(s),s}(_,L,c,d,F,P,K),ee=$.offsetWidth,te=$.offsetHeight,ne=0,ie=0;_&&_.margin_config&&(ne=Number(_.margin_config.left)||0,ie=Number(_.margin_config.right)||0);var oe=ri(X,Q,R,W,m,h),re=R+X/2,ae=W+Q/2,se=Math.sqrt(Math.pow(X,2)+Math.pow(Q,2))/2,le=se+Math.max(ee,X)/2+10,ce=-1,de=-1,pe=-1,ue=-1,he=ae-se,fe=ae+se;switch(C){case"TOP":de=(pe=re-ee/2)<0?5:pe,ce="circle"===m?ae-se-te-25:W-te-25,ue=fe-Math.abs(fe-ce)/2;break;case"BOTTOM":case"RIGHT":case"LEFT":de=(pe=re-ee/2)<0?5:pe,ue=he+((ce="circle"===m?ae+se+25:W+Q+25)+te-he)/2}if(-1!==de&&-1!==ce&&-1!==ue){!G&&de+ee>window.innerWidth&&(de=window.innerWidth-ee-ne-ie-10),$.style.left="".concat(de,"px"),$.style.top="".concat(ce,"px");var me=((pe=Math.min(R,de))+Math.max(R+X,de+ee))/2;(me=Math.min(me,document.scrollingElement.scrollWidth))<0&&(me=0),(ue=Math.min(ue,document.scrollingElement.scrollHeight))<0&&(ue=0);var ve=si({bg_color:s,opacity:x,innerRadius:se,innerCenterX:re,innerCenterY:ae,outerRadius:le,outerCircleCenterX:me,outerCircleCenterY:ue,targetElementLeft:R,targetElementTop:W,targetElementWidth:X,targetElementHeight:Q,type:m});ve.style.visibility="hidden",oe.style.visibility="hidden",$.style.visibility="hidden";var ge=null,ye=function(e){var t=!e,n=H.getBoundingClientRect();e&&e.clientX>=n.left&&e.clientX<=n.left+n.width&&e.clientY>=n.top&&e.clientY<=n.top+n.height&&(t=!0),(y||t)&&K()};return n&&!0===n.auto_dismiss&&(ge=setTimeout((function(){return ye()}),v+n.duration)),ve.style.visibility="visible",oe.style.visibility="visible",$.style.visibility="visible",$.childElementCount>0&&($.children[0].style.visibility="visible"),y&&ve.addEventListener("click",ye),oe.addEventListener("click",ye),N&&("TOP"===C?window.scrollTo({top:ue-le,behavior:"smooth"}):"BOTTOM"===C&&window.scrollTo({top:Math.min(document.scrollingElement.scrollHeight,ue+le),behavior:"smooth"})),Z.observe(document.body,{childList:!0,subtree:!0}),j.observe(H),i&&i(),ye}console.warn("Failed to identify the right place for text")}else console.warn("Can't show on an invisible element: ",O)}else console.warn("Element ",O," not in viewport. Can't show");else console.warn("Element not found with id or path: ",O)}var ci=['<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9046C0 4.88216 4.88188 3.24249e-05 10.9049 3.24249e-05C16.9267 3.24249e-05 21.8085 4.88216 21.8085 10.9046C21.8085 16.9269 16.9267 21.809 10.9049 21.809C4.88188 21.809 0 16.9269 0 10.9046Z" fill="#E5510A"/>\n <path d="M7.6916 8.87557C7.6916 9.62346 7.33083 10.2299 6.88691 10.2299C6.44426 10.2299 6.0835 9.62346 6.0835 8.87557C6.0835 8.12768 6.44426 7.52116 6.88691 7.52116C7.33083 7.52116 7.6916 8.12768 7.6916 8.87557Z" fill="black"/>\n <path d="M15.7255 8.87557C15.7255 9.62346 15.366 10.2299 14.9221 10.2299C14.4782 10.2299 14.1187 9.62346 14.1187 8.87557C14.1187 8.12768 14.4782 7.52116 14.9221 7.52116C15.366 7.52116 15.7255 8.12768 15.7255 8.87557Z" fill="black"/>\n <path d="M9.15239 6.99092L8.42062 7.72205L5.98096 5.28226L6.71273 4.55126L9.15239 6.99092Z" fill="black"/>\n <path d="M13.3882 7.72205L12.6577 6.99092L15.0974 4.55126L15.8279 5.28226L13.3882 7.72205Z" fill="black"/>\n <path d="M7 16.4995C8 12.4995 13 10.4995 15 16.4998" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.808594 10.9046C0.808594 4.88216 5.69048 3.24249e-05 11.7135 3.24249e-05C17.7353 3.24249e-05 22.6171 4.88216 22.6171 10.9046C22.6171 16.9269 17.7353 21.809 11.7135 21.809C5.69048 21.809 0.808594 16.9269 0.808594 10.9046Z" fill="#EA731D"/>\n <path d="M8.5002 8.87557C8.5002 9.62346 8.13942 10.2299 7.6955 10.2299C7.25286 10.2299 6.89209 9.62346 6.89209 8.87557C6.89209 8.12768 7.25286 7.52116 7.6955 7.52116C8.13942 7.52116 8.5002 8.12768 8.5002 8.87557Z" fill="black"/>\n <path d="M16.5341 8.87557C16.5341 9.62346 16.1746 10.2299 15.7307 10.2299C15.2867 10.2299 14.9272 9.62346 14.9272 8.87557C14.9272 8.12768 15.2867 7.52116 15.7307 7.52116C16.1746 7.52116 16.5341 8.12768 16.5341 8.87557Z" fill="black"/>\n <path d="M7.80859 16.4998C8.80859 12.4998 13.8086 10.4997 15.8086 16.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.617188 10.9046C0.617188 4.88216 5.49907 3.24249e-05 11.5221 3.24249e-05C17.5439 3.24249e-05 22.4257 4.88216 22.4257 10.9046C22.4257 16.9269 17.5439 21.809 11.5221 21.809C5.49907 21.809 0.617188 16.9269 0.617188 10.9046Z" fill="#EA8F4D"/>\n <path d="M8.30879 8.87557C8.30879 9.62346 7.94802 10.2299 7.50409 10.2299C7.06145 10.2299 6.70068 9.62346 6.70068 8.87557C6.70068 8.12768 7.06145 7.52116 7.50409 7.52116C7.94802 7.52116 8.30879 8.12768 8.30879 8.87557Z" fill="black"/>\n <path d="M16.3427 8.87557C16.3427 9.62346 15.9832 10.2299 15.5393 10.2299C15.0953 10.2299 14.7358 9.62346 14.7358 8.87557C14.7358 8.12768 15.0953 7.52116 15.5393 7.52116C15.9832 7.52116 16.3427 8.12768 16.3427 8.87557Z" fill="black"/>\n <path d="M7.61719 15.4999C8.95052 13.0405 13.1172 11.9999 15.6172 15.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.425781 10.9046C0.425781 4.88216 5.30767 3.24249e-05 11.3307 3.24249e-05C17.3524 3.24249e-05 22.2343 4.88216 22.2343 10.9046C22.2343 16.9269 17.3524 21.809 11.3307 21.809C5.30767 21.809 0.425781 16.9269 0.425781 10.9046Z" fill="#F1B052"/>\n <path d="M8.11738 8.87557C8.11738 9.62346 7.75661 10.2299 7.31269 10.2299C6.87004 10.2299 6.50928 9.62346 6.50928 8.87557C6.50928 8.12768 6.87004 7.52116 7.31269 7.52116C7.75661 7.52116 8.11738 8.12768 8.11738 8.87557Z" fill="black"/>\n <path d="M16.1513 8.87557C16.1513 9.62346 15.7918 10.2299 15.3479 10.2299C14.9039 10.2299 14.5444 9.62346 14.5444 8.87557C14.5444 8.12768 14.9039 7.52116 15.3479 7.52116C15.7918 7.52116 16.1513 8.12768 16.1513 8.87557Z" fill="black"/>\n <path d="M8.42578 15.5002C9.92578 14.0001 12.4258 14.0001 13.9258 15.5001" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9046C0.234375 4.88216 5.11626 3.24249e-05 11.1393 3.24249e-05C17.161 3.24249e-05 22.0429 4.88216 22.0429 10.9046C22.0429 16.9269 17.161 21.809 11.1393 21.809C5.11626 21.809 0.234375 16.9269 0.234375 10.9046Z" fill="#F8C94F"/>\n <path d="M7.92598 8.87557C7.92598 9.62346 7.5652 10.2299 7.12128 10.2299C6.67864 10.2299 6.31787 9.62346 6.31787 8.87557C6.31787 8.12768 6.67864 7.52116 7.12128 7.52116C7.5652 7.52116 7.92598 8.12768 7.92598 8.87557Z" fill="black"/>\n <path d="M15.9599 8.87557C15.9599 9.62346 15.6004 10.2299 15.1564 10.2299C14.7125 10.2299 14.353 9.62346 14.353 8.87557C14.353 8.12768 14.7125 7.52116 15.1564 7.52116C15.6004 7.52116 15.9599 8.12768 15.9599 8.87557Z" fill="black"/>\n <path d="M7.73438 15.5002C9.73438 15.4999 11.7344 15.4997 14.7344 15.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9046C0 4.88216 4.88188 3.20353e-05 10.9049 3.20353e-05C16.9267 3.20353e-05 21.8085 4.88216 21.8085 10.9046C21.8085 16.9269 16.9267 21.809 10.9049 21.809C4.88188 21.809 0 16.9269 0 10.9046Z" fill="#F8C94F"/>\n <path d="M7.6916 8.87557C7.6916 9.62346 7.33083 10.2299 6.88691 10.2299C6.44426 10.2299 6.0835 9.62346 6.0835 8.87557C6.0835 8.12768 6.44426 7.52116 6.88691 7.52116C7.33083 7.52116 7.6916 8.12768 7.6916 8.87557Z" fill="black"/>\n <path d="M15.7255 8.87557C15.7255 9.62346 15.366 10.2299 14.9221 10.2299C14.4782 10.2299 14.1187 9.62346 14.1187 8.87557C14.1187 8.12768 14.4782 7.52116 14.9221 7.52116C15.366 7.52116 15.7255 8.12768 15.7255 8.87557Z" fill="black"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.0429688 10.9046C0.0429688 4.88216 4.92485 3.24249e-05 10.9479 3.24249e-05C16.9696 3.24249e-05 21.8515 4.88216 21.8515 10.9046C21.8515 16.9269 16.9696 21.809 10.9479 21.809C4.92485 21.809 0.0429688 16.9269 0.0429688 10.9046Z" fill="#F6DE4F"/>\n <path d="M7.73457 8.87557C7.73457 9.62346 7.3738 10.2299 6.92987 10.2299C6.48723 10.2299 6.12646 9.62346 6.12646 8.87557C6.12646 8.12768 6.48723 7.52116 6.92987 7.52116C7.3738 7.52116 7.73457 8.12768 7.73457 8.87557Z" fill="black"/>\n <path d="M15.7685 8.87557C15.7685 9.62346 15.409 10.2299 14.965 10.2299C14.5211 10.2299 14.1616 9.62346 14.1616 8.87557C14.1616 8.12768 14.5211 7.52116 14.965 7.52116C15.409 7.52116 15.7685 8.12768 15.7685 8.87557Z" fill="black"/>\n <path d="M13.543 14.3751C12.043 15.8751 9.54297 15.8751 8.04297 14.3751" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.851562 10.9046C0.851562 4.88216 5.73345 3.24249e-05 11.7565 3.24249e-05C17.7782 3.24249e-05 22.6601 4.88216 22.6601 10.9046C22.6601 16.9269 17.7782 21.809 11.7565 21.809C5.73345 21.809 0.851562 16.9269 0.851562 10.9046Z" fill="#D7D55A"/>\n <path d="M8.54316 8.87557C8.54316 9.62346 8.18239 10.2299 7.73847 10.2299C7.29582 10.2299 6.93506 9.62346 6.93506 8.87557C6.93506 8.12768 7.29582 7.52116 7.73847 7.52116C8.18239 7.52116 8.54316 8.12768 8.54316 8.87557Z" fill="black"/>\n <path d="M16.577 8.87557C16.577 9.62346 16.2176 10.2299 15.7736 10.2299C15.3297 10.2299 14.9702 9.62346 14.9702 8.87557C14.9702 8.12768 15.3297 7.52116 15.7736 7.52116C16.2176 7.52116 16.577 8.12768 16.577 8.87557Z" fill="black"/>\n <path d="M15.3516 14.3749C13.8516 17.0001 9.85156 17.0002 7.85156 14.375" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.660156 10.9046C0.660156 4.88216 5.54204 3.24249e-05 11.5651 3.24249e-05C17.5868 3.24249e-05 22.4687 4.88216 22.4687 10.9046C22.4687 16.9269 17.5868 21.809 11.5651 21.809C5.54204 21.809 0.660156 16.9269 0.660156 10.9046Z" fill="#B7CF6A"/>\n <path d="M8.35176 8.87557C8.35176 9.62346 7.99099 10.2299 7.54706 10.2299C7.10442 10.2299 6.74365 9.62346 6.74365 8.87557C6.74365 8.12768 7.10442 7.52116 7.54706 7.52116C7.99099 7.52116 8.35176 8.12768 8.35176 8.87557Z" fill="black"/>\n <path d="M16.3856 8.87557C16.3856 9.62346 16.0262 10.2299 15.5822 10.2299C15.1383 10.2299 14.7788 9.62346 14.7788 8.87557C14.7788 8.12768 15.1383 7.52116 15.5822 7.52116C16.0262 7.52116 16.3856 8.12768 16.3856 8.87557Z" fill="black"/>\n <path d="M15.1602 13.375C14.6602 17.5002 8.16016 17.5003 7.66016 13.3751" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.46875 10.9046C0.46875 4.88216 5.35063 3.24249e-05 11.3737 3.24249e-05C17.3954 3.24249e-05 22.2773 4.88216 22.2773 10.9046C22.2773 16.9269 17.3954 21.809 11.3737 21.809C5.35063 21.809 0.46875 16.9269 0.46875 10.9046Z" fill="#A3CF6A"/>\n <path d="M8.16035 8.87557C8.16035 9.62346 7.79958 10.2299 7.35566 10.2299C6.91301 10.2299 6.55225 9.62346 6.55225 8.87557C6.55225 8.12768 6.91301 7.52116 7.35566 7.52116C7.79958 7.52116 8.16035 8.12768 8.16035 8.87557Z" fill="black"/>\n <path d="M16.1942 8.87557C16.1942 9.62346 15.8347 10.2299 15.3908 10.2299C14.9469 10.2299 14.5874 9.62346 14.5874 8.87557C14.5874 8.12768 14.9469 7.52116 15.3908 7.52116C15.8347 7.52116 16.1942 8.12768 16.1942 8.87557Z" fill="black"/>\n <path d="M14.9688 13.375C14.4688 17.5002 7.96875 17.5003 7.46875 13.3751L14.9688 13.375Z" fill="black" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 26 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g filter="url(#filter0_d_5652_8965)">\n <path d="M2.23438 12.9046C2.23438 6.88216 7.11626 2.00003 13.1393 2.00003C19.161 2.00003 24.0429 6.88216 24.0429 12.9046C24.0429 18.9269 19.161 23.809 13.1393 23.809C7.11626 23.809 2.23438 18.9269 2.23438 12.9046Z" fill="#7BB65C"/>\n </g>\n <path d="M16.7344 15.375C16.2344 19.5002 9.73438 19.5003 9.23438 15.3751L16.7344 15.375Z" fill="black" stroke="black" stroke-linecap="round"/>\n <path d="M11.636 10.1074L11.6368 10.0965C11.6368 9.41374 11.1424 8.78855 10.3998 8.78855C9.80994 8.78855 9.46817 9.21257 9.35106 9.60952C9.23482 9.21257 8.89217 8.78855 8.3023 8.78855C7.55975 8.78855 7.06616 9.41374 7.06616 10.0965V10.1074C7.06269 10.256 7.06616 11.7676 9.35019 12.9997V13L9.35106 12.9998V13L9.35193 12.9998V13V12.9997C11.6368 11.7676 11.6403 10.256 11.636 10.1074Z" fill="black"/>\n <path d="M19.3357 10.1074V10.0965C19.3357 9.41374 18.8421 8.78855 18.0995 8.78855C17.5097 8.78855 17.1679 9.21257 17.0508 9.60952C16.9345 9.21257 16.5919 8.78855 16.002 8.78855C15.2595 8.78855 14.7659 9.41374 14.7659 10.0965V10.1074C14.7624 10.256 14.7659 11.7676 17.0499 12.9997V13L17.0508 12.9998V13L17.0516 12.9998V13V12.9997C19.3365 11.7676 19.34 10.256 19.3357 10.1074Z" fill="black"/>\n <defs>\n <filter id="filter0_d_5652_8965" x="0.34469" y="0.582736" width="25.588" height="25.5883" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n <feMorphology radius="0.472421" operator="dilate" in="SourceAlpha" result="effect1_dropShadow_5652_8965"/>\n <feOffset dy="0.472421"/>\n <feGaussianBlur stdDeviation="0.708632"/>\n <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>\n <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_5652_8965"/>\n <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_5652_8965" result="shape"/>\n </filter>\n </defs>\n </svg>'],di=['<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9042C0 4.8818 4.88188 -0.000334176 10.9049 -0.000334176C16.9267 -0.000334176 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.69209 8.87521C7.69209 9.6231 7.33132 10.2295 6.88739 10.2295C6.44475 10.2295 6.08398 9.6231 6.08398 8.87521C6.08398 8.12732 6.44475 7.52079 6.88739 7.52079C7.33132 7.52079 7.69209 8.12732 7.69209 8.87521Z" fill="#646A6F"/>\n <path d="M15.726 8.87521C15.726 9.6231 15.3665 10.2295 14.9226 10.2295C14.4786 10.2295 14.1191 9.6231 14.1191 8.87521C14.1191 8.12732 14.4786 7.52079 14.9226 7.52079C15.3665 7.52079 15.726 8.12732 15.726 8.87521Z" fill="#646A6F"/>\n <path d="M9.1519 6.99055L8.42013 7.72168L5.98047 5.28189L6.71224 4.55089L9.1519 6.99055Z" fill="#646A6F"/>\n <path d="M13.3887 7.72168L12.6582 6.99055L15.0979 4.55089L15.8284 5.28189L13.3887 7.72168Z" fill="#646A6F"/>\n <path d="M7 16.4997C8 12.4996 13 10.4996 15 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.808594 10.9042C0.808594 4.8818 5.69048 -0.000334176 11.7135 -0.000334176C17.7353 -0.000334176 22.6171 4.8818 22.6171 10.9042C22.6171 16.9266 17.7353 21.8086 11.7135 21.8086C5.69048 21.8086 0.808594 16.9266 0.808594 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.50068 8.87521C8.50068 9.6231 8.13991 10.2295 7.69599 10.2295C7.25334 10.2295 6.89258 9.6231 6.89258 8.87521C6.89258 8.12732 7.25334 7.52079 7.69599 7.52079C8.13991 7.52079 8.50068 8.12732 8.50068 8.87521Z" fill="#646A6F"/>\n <path d="M16.5346 8.87521C16.5346 9.6231 16.1751 10.2295 15.7312 10.2295C15.2872 10.2295 14.9277 9.6231 14.9277 8.87521C14.9277 8.12732 15.2872 7.52079 15.7312 7.52079C16.1751 7.52079 16.5346 8.12732 16.5346 8.87521Z" fill="#646A6F"/>\n <path d="M7.80859 16.4997C8.80859 12.4996 13.8086 10.4996 15.8086 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.617188 10.9042C0.617188 4.8818 5.49907 -0.000334176 11.5221 -0.000334176C17.5439 -0.000334176 22.4257 4.8818 22.4257 10.9042C22.4257 16.9266 17.5439 21.8086 11.5221 21.8086C5.49907 21.8086 0.617188 16.9266 0.617188 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.30928 8.87521C8.30928 9.6231 7.9485 10.2295 7.50458 10.2295C7.06194 10.2295 6.70117 9.6231 6.70117 8.87521C6.70117 8.12732 7.06194 7.52079 7.50458 7.52079C7.9485 7.52079 8.30928 8.12732 8.30928 8.87521Z" fill="#646A6F"/>\n <path d="M16.3432 8.87521C16.3432 9.6231 15.9837 10.2295 15.5398 10.2295C15.0958 10.2295 14.7363 9.6231 14.7363 8.87521C14.7363 8.12732 15.0958 7.52079 15.5398 7.52079C15.9837 7.52079 16.3432 8.12732 16.3432 8.87521Z" fill="#646A6F"/>\n <path d="M7.61719 15.4995C8.95052 13.0401 13.1172 11.9996 15.6172 15.4996" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.425781 10.9042C0.425781 4.8818 5.30767 -0.000333786 11.3307 -0.000333786C17.3524 -0.000333786 22.2343 4.8818 22.2343 10.9042C22.2343 16.9266 17.3524 21.8086 11.3307 21.8086C5.30767 21.8086 0.425781 16.9266 0.425781 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.11787 8.87521C8.11787 9.6231 7.7571 10.2295 7.31318 10.2295C6.87053 10.2295 6.50977 9.6231 6.50977 8.87521C6.50977 8.12732 6.87053 7.52079 7.31318 7.52079C7.7571 7.52079 8.11787 8.12732 8.11787 8.87521Z" fill="#646A6F"/>\n <path d="M16.1518 8.87521C16.1518 9.6231 15.7923 10.2295 15.3483 10.2295C14.9044 10.2295 14.5449 9.6231 14.5449 8.87521C14.5449 8.12732 14.9044 7.52079 15.3483 7.52079C15.7923 7.52079 16.1518 8.12732 16.1518 8.87521Z" fill="#646A6F"/>\n <path d="M8.42578 15.5001C9.92578 14 12.4258 14 13.9258 15.5" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.92647 8.87521C7.92647 9.6231 7.56569 10.2295 7.12177 10.2295C6.67912 10.2295 6.31836 9.6231 6.31836 8.87521C6.31836 8.12732 6.67912 7.52079 7.12177 7.52079C7.56569 7.52079 7.92647 8.12732 7.92647 8.87521Z" fill="#646A6F"/>\n <path d="M15.9603 8.87521C15.9603 9.6231 15.6009 10.2295 15.1569 10.2295C14.713 10.2295 14.3535 9.6231 14.3535 8.87521C14.3535 8.12732 14.713 7.52079 15.1569 7.52079C15.6009 7.52079 15.9603 8.12732 15.9603 8.87521Z" fill="#646A6F"/>\n <path d="M7.73438 15.5003C9.73438 15.5 11.7344 15.4998 14.7344 15.5001" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.92647 8.87521C7.92647 9.6231 7.56569 10.2295 7.12177 10.2295C6.67912 10.2295 6.31836 9.6231 6.31836 8.87521C6.31836 8.12732 6.67912 7.52079 7.12177 7.52079C7.56569 7.52079 7.92647 8.12732 7.92647 8.87521Z" fill="#646A6F"/>\n <path d="M15.9603 8.87521C15.9603 9.6231 15.6009 10.2295 15.1569 10.2295C14.713 10.2295 14.3535 9.6231 14.3535 8.87521C14.3535 8.12732 14.713 7.52079 15.1569 7.52079C15.6009 7.52079 15.9603 8.12732 15.9603 8.87521Z" fill="#646A6F"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.0429688 10.9042C0.0429688 4.8818 4.92485 -0.000333786 10.9479 -0.000333786C16.9696 -0.000333786 21.8515 4.8818 21.8515 10.9042C21.8515 16.9266 16.9696 21.8086 10.9479 21.8086C4.92485 21.8086 0.0429688 16.9266 0.0429688 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.73506 8.87521C7.73506 9.6231 7.37429 10.2295 6.93036 10.2295C6.48772 10.2295 6.12695 9.6231 6.12695 8.87521C6.12695 8.12732 6.48772 7.52079 6.93036 7.52079C7.37429 7.52079 7.73506 8.12732 7.73506 8.87521Z" fill="#646A6F"/>\n <path d="M15.7689 8.87521C15.7689 9.6231 15.4095 10.2295 14.9655 10.2295C14.5216 10.2295 14.1621 9.6231 14.1621 8.87521C14.1621 8.12732 14.5216 7.52079 14.9655 7.52079C15.4095 7.52079 15.7689 8.12732 15.7689 8.87521Z" fill="#646A6F"/>\n <path d="M13.543 14.3749C12.043 15.875 9.54297 15.875 8.04297 14.375" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.851562 10.9042C0.851562 4.8818 5.73345 -0.000333786 11.7565 -0.000333786C17.7782 -0.000333786 22.6601 4.8818 22.6601 10.9042C22.6601 16.9266 17.7782 21.8086 11.7565 21.8086C5.73345 21.8086 0.851562 16.9266 0.851562 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.54365 8.87521C8.54365 9.6231 8.18288 10.2295 7.73896 10.2295C7.29631 10.2295 6.93555 9.6231 6.93555 8.87521C6.93555 8.12732 7.29631 7.52079 7.73896 7.52079C8.18288 7.52079 8.54365 8.12732 8.54365 8.87521Z" fill="#646A6F"/>\n <path d="M16.5775 8.87521C16.5775 9.6231 16.218 10.2295 15.7741 10.2295C15.3302 10.2295 14.9707 9.6231 14.9707 8.87521C14.9707 8.12732 15.3302 7.52079 15.7741 7.52079C16.218 7.52079 16.5775 8.12732 16.5775 8.87521Z" fill="#646A6F"/>\n <path d="M15.3516 14.3748C13.8516 17 9.85156 17 7.85156 14.3749" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.660156 10.9042C0.660156 4.8818 5.54204 -0.000333786 11.5651 -0.000333786C17.5868 -0.000333786 22.4687 4.8818 22.4687 10.9042C22.4687 16.9266 17.5868 21.8086 11.5651 21.8086C5.54204 21.8086 0.660156 16.9266 0.660156 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.35225 8.87521C8.35225 9.6231 7.99147 10.2295 7.54755 10.2295C7.10491 10.2295 6.74414 9.6231 6.74414 8.87521C6.74414 8.12732 7.10491 7.52079 7.54755 7.52079C7.99147 7.52079 8.35225 8.12732 8.35225 8.87521Z" fill="#646A6F"/>\n <path d="M16.3861 8.87521C16.3861 9.6231 16.0266 10.2295 15.5827 10.2295C15.1388 10.2295 14.7793 9.6231 14.7793 8.87521C14.7793 8.12732 15.1388 7.52079 15.5827 7.52079C16.0266 7.52079 16.3861 8.12732 16.3861 8.87521Z" fill="#646A6F"/>\n <path d="M15.1602 13.3748C14.6602 17.5 8.16016 17.5 7.66016 13.3749" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.46875 10.9042C0.46875 4.8818 5.35063 -0.000333786 11.3737 -0.000333786C17.3954 -0.000333786 22.2773 4.8818 22.2773 10.9042C22.2773 16.9266 17.3954 21.8086 11.3737 21.8086C5.35063 21.8086 0.46875 16.9266 0.46875 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.16084 8.87521C8.16084 9.6231 7.80007 10.2295 7.35614 10.2295C6.9135 10.2295 6.55273 9.6231 6.55273 8.87521C6.55273 8.12732 6.9135 7.52079 7.35614 7.52079C7.80007 7.52079 8.16084 8.12732 8.16084 8.87521Z" fill="#646A6F"/>\n <path d="M16.1947 8.87521C16.1947 9.6231 15.8352 10.2295 15.3913 10.2295C14.9474 10.2295 14.5879 9.6231 14.5879 8.87521C14.5879 8.12732 14.9474 7.52079 15.3913 7.52079C15.8352 7.52079 16.1947 8.12732 16.1947 8.87521Z" fill="#646A6F"/>\n <path d="M14.9688 13.3748C14.4688 17.5 7.96875 17.5 7.46875 13.3749L14.9688 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9042C0 4.8818 4.88188 -0.000333786 10.9049 -0.000333786C16.9267 -0.000333786 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n <path d="M14.5 13.3748C14 17.5 7.5 17.5 7 13.3749L14.5 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n <path d="M9.40207 8.10736L9.40294 8.09652C9.40294 7.41374 8.90848 6.78855 8.16593 6.78855C7.57606 6.78855 7.23428 7.21257 7.11718 7.60952C7.00094 7.21257 6.65828 6.78855 6.06841 6.78855C5.32586 6.78855 4.83227 7.41374 4.83227 8.09652V8.10736C4.8288 8.25596 4.83227 9.76759 7.1163 10.9997V11L7.11718 10.9998V11L7.11804 10.9998V11V10.9997C9.40294 9.76759 9.40641 8.25596 9.40207 8.10736Z" fill="#646A6E"/>\n <path d="M17.1013 8.10736V8.09652C17.1013 7.41374 16.6077 6.78855 15.8652 6.78855C15.2753 6.78855 14.9335 7.21257 14.8164 7.60952C14.7001 7.21257 14.3575 6.78855 13.7676 6.78855C13.0251 6.78855 12.5315 7.41374 12.5315 8.09652V8.10736C12.528 8.25596 12.5315 9.76759 14.8155 10.9997V11L14.8164 10.9998V11L14.8173 10.9998V11V10.9997C17.1022 9.76759 17.1056 8.25596 17.1013 8.10736Z" fill="#646A6E"/>\n </svg>'],pi=['<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0 10.9042C0 4.8818 4.88188 -0.000334176 10.9049 -0.000334176C16.9267 -0.000334176 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n<path d="M7.69209 8.87521C7.69209 9.6231 7.33132 10.2295 6.88739 10.2295C6.44475 10.2295 6.08398 9.6231 6.08398 8.87521C6.08398 8.12732 6.44475 7.52079 6.88739 7.52079C7.33132 7.52079 7.69209 8.12732 7.69209 8.87521Z" fill="#646A6F"/>\n<path d="M15.726 8.87521C15.726 9.6231 15.3665 10.2295 14.9226 10.2295C14.4786 10.2295 14.1191 9.6231 14.1191 8.87521C14.1191 8.12732 14.4786 7.52079 14.9226 7.52079C15.3665 7.52079 15.726 8.12732 15.726 8.87521Z" fill="#646A6F"/>\n<path d="M9.1519 6.99055L8.42013 7.72168L5.98047 5.28189L6.71224 4.55089L9.1519 6.99055" fill="#646A6F"/>\n<path d="M13.3887 7.72168L12.6582 6.99055L15.0979 4.55089L15.8284 5.28189L13.3887 7.72168" fill="#646A6F"/>\n<path d="M7 16.4997C8 12.4996 13 10.4996 15 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.808594 10.9042C0.808594 4.8818 5.69048 -0.000333786 11.7135 -0.000333786C17.7353 -0.000333786 22.6171 4.8818 22.6171 10.9042C22.6171 16.9266 17.7353 21.8086 11.7135 21.8086C5.69048 21.8086 0.808594 16.9266 0.808594 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.50068 8.87521C8.50068 9.6231 8.13991 10.2295 7.69599 10.2295C7.25334 10.2295 6.89258 9.6231 6.89258 8.87521C6.89258 8.12732 7.25334 7.52079 7.69599 7.52079C8.13991 7.52079 8.50068 8.12732 8.50068 8.87521Z" fill="#646A6F"/>\n<path d="M16.5346 8.87521C16.5346 9.6231 16.1751 10.2295 15.7312 10.2295C15.2872 10.2295 14.9277 9.6231 14.9277 8.87521C14.9277 8.12732 15.2872 7.52079 15.7312 7.52079C16.1751 7.52079 16.5346 8.12732 16.5346 8.87521Z" fill="#646A6F"/>\n<path d="M7.80859 15.4995C9.14193 13.0401 13.3086 11.9996 15.8086 15.4996" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.617188 10.9042C0.617188 4.8818 5.49907 -0.000333786 11.5221 -0.000333786C17.5439 -0.000333786 22.4257 4.8818 22.4257 10.9042C22.4257 16.9266 17.5439 21.8086 11.5221 21.8086C5.49907 21.8086 0.617188 16.9266 0.617188 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.30928 8.87521C8.30928 9.6231 7.9485 10.2295 7.50458 10.2295C7.06194 10.2295 6.70117 9.6231 6.70117 8.87521C6.70117 8.12732 7.06194 7.52079 7.50458 7.52079C7.9485 7.52079 8.30928 8.12732 8.30928 8.87521Z" fill="#646A6F"/>\n<path d="M16.3432 8.87521C16.3432 9.6231 15.9837 10.2295 15.5398 10.2295C15.0958 10.2295 14.7363 9.6231 14.7363 8.87521C14.7363 8.12732 15.0958 7.52079 15.5398 7.52079C15.9837 7.52079 16.3432 8.12732 16.3432 8.87521Z" fill="#646A6F"/>\n<path d="M8.11719 15.5003C10.1172 15.5 12.1172 15.4998 15.1172 15.5001" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.425781 10.9042C0.425781 4.8818 5.30767 -0.000333786 11.3307 -0.000333786C17.3524 -0.000333786 22.2343 4.8818 22.2343 10.9042C22.2343 16.9266 17.3524 21.8086 11.3307 21.8086C5.30767 21.8086 0.425781 16.9266 0.425781 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.11787 8.87521C8.11787 9.6231 7.7571 10.2295 7.31318 10.2295C6.87053 10.2295 6.50977 9.6231 6.50977 8.87521C6.50977 8.12732 6.87053 7.52079 7.31318 7.52079C7.7571 7.52079 8.11787 8.12732 8.11787 8.87521Z" fill="#646A6F"/>\n<path d="M16.1518 8.87521C16.1518 9.6231 15.7923 10.2295 15.3483 10.2295C14.9044 10.2295 14.5449 9.6231 14.5449 8.87521C14.5449 8.12732 14.9044 7.52079 15.3483 7.52079C15.7923 7.52079 16.1518 8.12732 16.1518 8.87521Z" fill="#646A6F"/>\n<path d="M14.9258 13.3748C14.4258 17.5 7.92578 17.5 7.42578 13.3749L14.9258 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n<path d="M14.7344 13.3748C14.2344 17.5 7.73438 17.5 7.23438 13.3749L14.7344 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n<path d="M9.63644 8.10736L9.63732 8.09652C9.63732 7.41374 9.14286 6.78855 8.40031 6.78855C7.81043 6.78855 7.46866 7.21257 7.35155 7.60952C7.23531 7.21257 6.89266 6.78855 6.30278 6.78855C5.56023 6.78855 5.06665 7.41374 5.06665 8.09652V8.10736C5.06318 8.25596 5.06665 9.76759 7.35068 10.9997V11L7.35155 10.9998V11L7.35241 10.9998V11V10.9997C9.63731 9.76759 9.64078 8.25596 9.63644 8.10736Z" fill="#646A6E"/>\n<path d="M17.3357 8.10736V8.09652C17.3357 7.41374 16.8421 6.78855 16.0995 6.78855C15.5097 6.78855 15.1679 7.21257 15.0508 7.60952C14.9345 7.21257 14.5919 6.78855 14.002 6.78855C13.2595 6.78855 12.7659 7.41374 12.7659 8.09652V8.10736C12.7624 8.25596 12.7659 9.76759 15.0499 10.9997V11L15.0508 10.9998V11L15.0516 10.9998V11V10.9997C17.3365 9.76759 17.34 8.25596 17.3357 8.10736Z" fill="#646A6E"/>\n</svg>'];var ui=function(e,t,n,i){var o=i.dim_background,r=i.dim_bg_color,a=i.dim_bg_opacity,s=i.position,l=document.createElement("div");l.setAttribute("id","apx-oly");var c=document.createElement("style"),d="center",p="center";switch(s){case"bottom-left":d="flex-start",p="flex-end";break;case"bottom-right":d="flex-end",p="flex-end";break;case"top-left":d="flex-start",p="flex-start";break;case"top-right":d="flex-end",p="flex-start"}var u="none";if(o){var h=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(r);u="rgb(".concat(h.r,", ").concat(h.g,", ").concat(h.b,", ").concat(a,")")}c.innerHTML="\n#apx-oly {\n width:100%;height:100%;position:fixed;top:0;left:0;background-color:".concat(u,";\n display:flex;justify-content:").concat(d,";align-items:").concat(p,";border-radius:3px;z-index:99999999\n}\n#apx-oly > * {font-family: inherit;box-sizing:unset}\n.apx-dlg-c {\n width:").concat(e,"px;min-height:").concat(t,"%;background:white;z-index:99999999;opacity:0;position:relative;visibility:hidden;\n transition:all 500ms cubic-bezier(0, -0.37, 0, 2.06);top:-15px;border-radius:3px;margin:20px\n}\n.apx-dlg-c.open {opacity:1;visibility:visible;top:0}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var f=document.createElement("div");return f.setAttribute("id","apx-dlg-c"),f.classList.add("apx-dlg-c"),l.appendChild(f),l.appendChild(c),l.on_dismiss=n,document.body.appendChild(l),l},hi=function(e){return"\n .apx-ta:focus {\n border: none;\n outline: none;\n }\n .apx-ta::placeholder {\n color: ".concat(e,";\n opacity: 0.5;\n }\n ")},fi=function(e,t){var n=e.answerMode,i=e.choices,o=void 0===i?[]:i,r=e.text_answer,a=void 0===r?"":r,s=e.selected_rating,l=void 0===s?-1:s,c=!0;n===g||n===v?c=-1!==o.findIndex((function(e){return!0===e.is_selected})):n===b?c=a.length>0:n===y&&(c=l>0);c?(t.className="apx-ba",t.disabled=!1):(t.className="apx-bi",t.disabled=!0)},mi=function(e){var t=e.maximum_characters,n=e.background_color,i=e.placeholder,o=e.text_color,r=document.createElement("textarea");return r.style="padding-top:4px;padding-left:4px;font-zie:14px;width:98%;height:100px;margin-top:8px;border:none;resize:none;background:".concat(n,";color:").concat(o),r.className="apx-ta",r.setAttribute("placeholder",i),r.setAttribute("maxlength",t),r},vi=function(e,t,n){var i=t.question_text_color,o=t.question_background_color,r=t.option_bg_color_active,a=t.option_bg_color_inactive,s=t.option_text_color_active,l=t.option_text_color_inactive,c=t.option_bg_type,d=e.rating_style,p=e.answerMode,u=e.choices,h=void 0===u?[]:u,f=e.rating,m=void 0===f?{rating_style:d,bg_color:"#D9DCDE",selected_bg_color:"#109B15"}:f,x=e.rating_scale,k=void 0===x?5:x,A=e.selected_rating,L=void 0===A?-1:A,T=e.text_answer,M=void 0===T?"":T,O=e.text_config?e.text_config:{maximum_characters:150,background_color:"#ccc",placeholder:"",text_color:"#000",placeholder_text_color:"#00000087"},S=!1,D=[];if(p===v||p===g){var I=mi(O);I.style.visibility="hidden";var B=function(e,t){e.style.color=t?s:l},N=function(e,t){var n=t?r:a;"filled"===c?e.style.background=n:"outline"===c&&(e.style.borderColor=n)};h.forEach((function(t,i){var o=document.createElement("label");o.className="apx-lc",o.innerText=t.value;var r=document.createElement("input");r.name=r.type=p===v?"radio":"checkbox",r.checked=t.is_selected;var a=document.createElement("span");a.className="apx-i",o.appendChild(r),o.appendChild(a),N(o,t.is_selected),B(o,t.is_selected),t.is_other&&(S=!0,I.addEventListener("input",(function(e){t.other_answer=e.target.value}))),t.is_selected&&t.is_other&&(I.style.visibility="visible",t.other_answer&&(I.value=t.other_answer)),p===g?r.onchange=function(i){var r=i.target.checked;t.is_selected=r,B(o,r),N(o,r),t.is_other&&(I.style.visibility=r?"visible":"hidden"),fi(e,n)}:(r.setAttribute("apx-key","radio"),r.setAttribute("apx-ci",i+""),r.onchange=function(){document.querySelectorAll('input[apx-key="radio"]').forEach((function(e,n){var i=e.checked;h[n].is_selected=i,B(e.parentNode,i),N(e.parentNode,i),t.is_other&&(I.style.visibility=i?"visible":"hidden")})),fi(e,n)}),D.push(o)})),S&&D.push(I)}else if(p===b&&null!==O){var F=O.example,P=O.example_text_color;if(""!==F&&""!==F.trim()){var H=document.createElement("span");H.innerHTML="Example: "+F,H.style.color=P,H.style.marginTop="12px",H.style.fontFamily="inherit",H.style.fontSize="15px",D.push(H)}var z=mi(O);z.addEventListener("input",(function(t){e.text_answer=t.target.value,t.target.value&&t.target.value.length>0&&(e.is_answered=!0),fi(e,n)})),""!==M&&""!==M.trim()&&(z.innerText=M),D.push(z)}else if(p===y){var Z=m.rating_style,j=m.bg_color,q=m.selected_bg_color,V=document.createElement("div");V.style="display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:5px;padding-top:8px;padding-bottom:8px;overflow:hidden";var R="",U=[],W="",Y="cursor:pointer;font-size:30px;width:auto;height:auto;";if("stylized"===Z)U=5==Z?pi:di,R="opacity:1 !important;",W="".concat(Y,"padding-right:7px;padding-top:4px;padding-bottom:2px;border-radius:50%;background:transparent;opacity:0.5;filter:drop-shadow(0px 0.586957px 1.76087px rgba(0, 0, 0, 0.11));width:40px");else if("classic"===Z)U=5===k?C:w,R="opacity:1 !important;border:1.06px solid #017DFD; background-color:rgba(1, 125, 253, 0.1);\n ",W="".concat(Y,"padding-right:7px;padding-top:4px;padding-bottom:2px;opacity:0.5;filter:drop-shadow(0px 0.586957px 1.76087px rgba(0, 0, 0, 0.11))");else if("star"===Z){for(var X=0;X<k;X++)U.push("⭐");R="filter:grayscale(0%) !important",W="".concat(Y,"filter:grayscale(100%)")}else"numbers"===Z&&(U=5==k?["1","2","3","4","5"]:["0","1","2","3","4","5","6","7","8","9","10"],R="background:".concat(q," !important;color:white !important;"),W="display:flex;justify-content:center;align-items:center;color:#646A6E;font-size:15px;width:40px;height:40px;background-color:".concat(j,";box-shadow:0px 0.54801px 1.64403px 0.54801px rgba(0, 0, 0, 0.11);border-radius:50%"),V.style.marginTop="12px",V.style="display:flex;align-text:center;flex-wrap:wrap;justify-content:space-evenly;gap:15px;padding-top:8px;padding-bottom:8px;overflow:hidden");var J=document.createElement("style"),Q="";(5==k?_:E).forEach((function(e,t){Q+=".apx-rsel-".concat(t,"{\n background:").concat(e,"!important;\n color:white !important;\n }")})),J.innerHTML=".apx-rsel{".concat(R,"}")+Q+".apx-r{".concat(W,"}\n "),V.appendChild(J);for(var G=function(e){return"star"!==Z?e+1===L:e+1<=L},K=[],$=0;$<U.length;$++){var ee=document.createElement("div");ee.innerHTML="".concat("numbers"===Z?"":" ").concat(U[$]);var te=document.createElement("div");"classic"===Z&&("".concat(te.innerHTML=$+1),te.style.fontSize="12.83px",te.style.marginLeft="8px",te.style.display="flex",te.style.fontWeight="500",te.style.justifyContent="center",te.style.alignItems="center",ee.appendChild(te),ee.style.display="flex",ee.style.justifyContent="center",ee.style.alignItems="center",ee.style.flexDirection="column",ee.style.width="46px",ee.style.height="70px"),G($)&&ee.classList.add("apx-rsel"),ee.classList.add("apx-r"),K.push(ee)}K.forEach((function(t,i){e.selected_rating=i+1,t.addEventListener("click",(function(){if("stylized"===Z&&K.forEach((function(e,t){e.innerHTML=t===i?" "+ci[i]:" "+di[t]})),"numbers"===Z?t.classList.add("apx-rsel-".concat(i)):t.classList.add("apx-rsel"),e.is_answered=!0,fi(e,n),"numbers"===Z){for(var o=0;o<i;o++)K[o].classList.remove("apx-rsel-".concat(o));for(var r=i+1;r<U.length;r++)K[r].classList.remove("apx-rsel-".concat(r))}else if("star"===Z){for(var a=0;a<i+1;a++)K[a].classList.add("apx-rsel");for(var s=i+1;s<U.length;s++)K[s].classList.remove("apx-rsel")}else{for(var l=0;l<i;l++)K[l].classList.remove("apx-rsel");for(var c=i+1;c<U.length;c++)K[c].classList.remove("apx-rsel")}e.rulesArray.forEach((function(t){if(e.selected_rating>=t.min&&e.selected_rating<=t.max){var i,o=document.createElement("span");o.setAttribute("id","nps_advanced"),o.innerHTML=null===(i=t.question)||void 0===i?void 0:i.question;var r=mi(O);r.addEventListener("input",(function(t){e.text_answer=t.target.value,t.target.value&&t.target.value.length>0&&(e.is_answered=!0),fi(e,n)})),o.appendChild(r),V.appendChild(o);var a=document.getElementById("nps_advanced");a&&V.removeChild(a),o.appendChild(r),V.appendChild(o)}else{var s=document.getElementById("nps_advanced");s&&V.removeChild(s)}}))})),V.appendChild(t)})),D.push(V)}var ne=document.createElement("div");ne.style.padding="14px",ne.style.display="flex",ne.style.flexDirection="column",ne.style.minHeight="340px";var ie=document.createElement("style"),oe="";p===b?oe=hi(O.placeholder_text_color):p!==v&&p!==g||(oe=function(e,t,n,i,o,r){return"\n .apx-lc {\n display: block;\n position: relative;\n background: ".concat("outline"===r?"unset":"filled"===r?n:"unset",";\n border: ").concat("outline"===r?"1px solid "+n:"filled"===r?n:"unset",";\n padding: ").concat("none"!==r?"10px 10px 10px 35px":"0px 0px 0px 35px",";\n margin-bottom: 12px;\n font-family: inherit;\n top: 10px;\n cursor: pointer;\n font-size: 18px;\n color: ").concat(o,";\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .apx-lc input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n width: 0;\n height: 0;\n }\n\n .apx-i {\n position: absolute;\n left: 6px;\n height: 14px;\n width: 14px;\n border: 1px solid ").concat(o,";\n background-color: white;\n border-radius: ").concat(e===v?"50%":0,";\n }\n\n .apx-lc:hover input ~ .apx-i {\n border: 1px solid ").concat(i,";\n }\n\n .apx-lc input:checked ~ .apx-i {\n background-color: ").concat(t,";\n border: 1px solid ").concat(i,';\n }\n\n .apx-i:after {\n content: "";\n position: absolute;\n display: none;\n }\n\n .apx-lc input:checked ~ .apx-i:after {\n display: block;\n }\n\n .apx-lc .apx-i:after {\n top: ').concat(e===v?2:1,"px;\n left: ").concat(e===v?2:4,"px;\n width: ").concat(e===v?10:4,"px;\n height: ").concat(e===v?10:8,"px;\n border-radius: ").concat(e===v?"50%":"0",";\n background: ").concat(e===v?i:"transparent",";\n border: ").concat(e===v?"none":"solid white",";\n border-width: ").concat(e===v?"unset":"0 3px 3px 0",";\n -webkit-transform: ").concat(e===v?"unset":"rotate(45deg)",";\n -ms-transform: ").concat(e===v?"unset":"rotate(45deg)",";\n transform: ").concat(e===v?"unset":"rotate(45deg)",";\n }\n ")}(p,r,a,s,l,c),S&&(oe+=hi(O.placeholder_text_color))),ie.innerHTML=oe.replaceAll("\n","").replace(/[\s]{2,999}/g,""),ne.appendChild(ie);var re=document.createElement("span");return re.innerText=e.title,re.style="margin-bottom:12px;color:".concat(i,";background-color:").concat(o,";font-size:16px;font-weight:600"),ne.appendChild(re),D.forEach((function(e){return ne.appendChild(e)})),ne},gi=function(e,t,n,i,o,r){var a=function(e,t,n,i){var o=e.cancel_button_color,r=e.previous_button_color,a=document.createElement("button"),s=document.createElement("button");a.disabled=0===t,a.setAttribute("type","button"),a.className="apx-b apx-pr",a.innerHTML="<style>.apx-pr::before{content:'\\2190';font-size:22px;color:".concat(r).concat(0===t?"54":"",";}.apx-pr{cursor:").concat(0===t?"no-drop":"pointer",";margin-top:-6px}</style>"),s.className="apx-b apx-cb",s.setAttribute("type","button"),s.innerHTML="<style>.apx-cb::before{content:'\\0000d7';font-size:26px;color:".concat(o,";}</style>");var l=document.createElement("div");l.style="display:flex;justify-content:space-between;align-items:center;padding:8px;padding-bottom:0";var c=document.createElement("span");return c.style="font-size:14px;color:#000;opacity:0.3;letter-spacing:0.005em;line-height:12px",c.innerText=i?"":"".concat(t+1,"/").concat(n),l.appendChild(a),l.appendChild(c),l.appendChild(s),{prevButton:a,closeButton:s,headerNode:l}}(e,i,o,r),s=a.headerNode,l=a.prevButton,c=a.closeButton,d=function(e,t,n,i,o){var r=e.skip_text_color,a=e.submit_text_color,s=e.submit_active_color,l=e.submit_inactive_color,c=n===i-1||o?null:document.createElement("button");c&&(c.innerText="Skip",c.className="apx-b",c.style="font-size:14px;font-weight:600;opacity:1;font-style:inherit;color:".concat(r,";background-color:transparent;margin:0px 12px"));var d=document.createElement("button");d.innerHTML="".concat(n===i-1?"Submit":"Next >","<style>.apx-ba{background-color:").concat(s,";cursor:pointer}.apx-bi{background-color:").concat(l,";cursor:no-drop}</style>"),d.style="border:none;border-radius:2px;color:".concat(a,";padding:8px 15px;font-family:inherit"),fi(t,d);var p=document.createElement("div");return p.style="padding:14px;display:flex;justify-content:flex-end",c&&p.appendChild(c),p.appendChild(d),{footerNode:p,skipButton:c,submitButton:d}}(e,n,i,o,n.is_required),p=d.skipButton,u=d.submitButton,h=d.footerNode,f=vi(n,t,u),m=document.createElement("div");m.className="apx-sq";var v=document.createElement("style");return v.innerHTML=".apx-sq > * {font-family:inherit;}.apx-sq {height:100%;width:100%;display:flex;flex-direction:column}.apx-b{border:none;background:none;opacity:1;cursor:pointer;font-family:inherit}",m.appendChild(v),m.appendChild(s),m.appendChild(f),{questionRoot:m,footerNode:h,prevButton:l,closeButton:c,skipButton:p,submitButton:u}},yi=window.ApxorLogger,bi=l((function e(t){var n=this;a(this,e),c(this,"roLP",(function(){n.is_selected=!1,n.other_answer=null}));var i=t.id,o=t.value,r=t.is_other,s=t.next_question_id;if(!i||!o)throw new Error("Invalid Choice");this.id=i,this.value=o,this.is_other=r,this.next_question_id=s,this.is_selected=!1,this.other_answer=null})),xi=l((function e(t){var n=this;a(this,e),c(this,"roLP",(function(){n.is_answered=!1,n.text_answer="",n.selected_rating=-1,n.choices.forEach((function(e){return e.roLP()}))}));var i=t.id,o=t.answer_mode,r=t.title,s=t.is_required,l=t.submit_text,d=t.rating_style,u=t.rating_scale,h=t.choices,f=void 0===h?[]:h,m=t.text_config,x=void 0===m?null:m,w=t.randomize_choices,C=void 0!==w&&w,_=t.response_cfg,E=void 0===_?{}:_,k=t.advanced_options,A=t.rules,L=void 0===A?[]:A;if(!i||!o)throw new Error("Invalid question");var T=-1;switch(o){case"single_choice":T=v;break;case"multi_choice":T=g;break;case"text":T=b;break;case"rating":T=y;break;default:T=-1}if(this.answerMode=T,this.id=i,this.is_required=s,this.submit_text=l,this.randomize_choices=C,this.response_cfg=E,this.text_config=x,this.title=r,this.rating_style=d,this.rating_scale=u,this.is_answered=!1,this.selected_rating=-1,this.rules=L,this.rulesArray=[],k&&this.rules.forEach((function(e){if(t.hasOwnProperty(e.qid)){var i={max:e.max,min:e.min,question:t[e.qid]};n.rulesArray.push(i)}})),this.choices=[],this.answerMode===v||this.answerMode===g){for(var M,O=[],S=0;S<f.length;S++){var D=new bi(f[S]);D.is_other?O.push(D):this.choices.push(D)}C&&(this.choices=p(this.choices).map((function(e,t,n){var i=t+Math.floor(Math.random()*(n.length-t)),o=[n[t],n[i]];return n[i]=o[0],n[t]=o[1],n[t]}))),(M=this.choices).push.apply(M,O)}})),wi=l((function e(){var n=this;a(this,e),c(this,"initialize",(function(e,t,i){var o=i.delay,r=i.dialog_config,a=void 0===r?null:r,s=i.show_progress_bar,l=void 0===s||s,c=i.is_response_based_survey,d=void 0!==c&&c,p=i.questions,u=void 0===p?[]:p,h=i.show_success_message,f=void 0===h||h,m=i.auto_hide_message,v=void 0===m?2e3:m,g=i.success_message,y=void 0===g?"":g,b=i.question_text_color,x=void 0===b?"#002845":b,w=i.submit_active_color,C=void 0===w?"#017DFD":w,_=i.submit_inactive_color,E=void 0===_?"#017DFD65":_,k=i.option_bg_type,A=void 0===k?"filled":k,L=i.option_text_color_active,T=void 0===L?"#002845":L,M=i.option_text_color_inactive,O=void 0===M?"#002845":M,S=i.option_bg_color_active,D=void 0===S?"#FFF":S,I=i.option_bg_color_inactive,B=void 0===I?"#FFF":I,N=i.question_background_color,F=void 0===N?"#FFF":N,P=i.success_message_bg_color,H=void 0===P?"#109B15":P,z=i.success_message_icon_color,Z=void 0===z?"#109B15":z,j=i.success_message_text_color,q=void 0===j?"#002845":j,V=i.skip_text_color,R=void 0===V?"#017DFD":V,U=i.cancel_button_color,W=void 0===U?"#000":U,Y=i.previous_button_color,X=void 0===Y?"#000":Y,J=i.progress_bar_color,Q=void 0===J?"#017DFD":J,G=i.submit_text_color,K=void 0===G?"#FFF":G,$=i.width,ee=void 0===$?350:$,te=i.min_height,ne=void 0===te?40:te,ie=i.position,oe=void 0===ie?"center":ie,re=i.dim_background,ae=void 0===re||re,se=i.dim_bg_color,le=void 0===se?"#313131":se,ce=i.dim_bg_opacity,de=void 0===ce?.54:ce;n.configId=e,n.name=t,n.delay=o,n.is_response_based_survey=d,n.show_success_message=f,n.success_message=y,n.auto_hide_message=v,n.questions=[],n.displayedQuestionIndeces=[],n.answered_questions=[],n.width=ee,n.min_height=ne,n.layoutConfig={show_progress_bar:l,skip_text_color:R,cancel_button_color:W,previous_button_color:X,progress_bar_color:Q,submit_text_color:K,submit_active_color:C,submit_inactive_color:E,success_message_bg_color:H,success_message_icon_color:Z,success_message_text_color:q,position:oe,dim_background:ae,dim_bg_color:le,dim_bg_opacity:de},n.questionConfig={question_text_color:x,question_background_color:F,option_bg_color_active:D,option_bg_color_inactive:B,option_text_color_active:T,option_text_color_inactive:O,option_bg_type:A},a&&(n.dialog_config=a);for(var pe=0;pe<u.length;pe++)try{if("request_survey"===u[pe].answer_mode||"success_message"===u[pe].answer_mode)continue;n.questions.push(new xi(u[pe])),n.answered_questions.push(-1)}catch(e){return yi.error("Failed to parse Q",pe,e),!1}return!(n.questions.length<1)||(n.isValid=!1,!1)})),c(this,"aMzh",(function(e,t){n.isValid&&setTimeout((function(){try{var i=window.ApxorRTM;if(null!==i.currentAction&&void 0!==i.currentAction)return void yi.error("An action is already being shown.");n.startTime=Date.now();var o=ui(n.width,n.min_height,t,n.layoutConfig);if(n.bodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",n.QQJy("apx_survey_launched"),n.dialog_config){var r=n.dialog_config,a=r.icon_name,s=void 0===a?"":a,l=r.icon_width,c=r.icon_height,d=o.children[0];o.style.visibility="hidden",d.style.visibility="hidden",setTimeout((function(){d.innerHTML=function(e){var t,n,i,o=e.icon_name,r=void 0===o?"":o,a=e.title,s=void 0===a?"Some dummy title":a,l=e.yes_text,c=void 0===l?"Yes":l,d=e.icon_width,p=void 0===d?180:d,u=e.icon_height,h=void 0===u?100:u,f=e.no_text,m=void 0===f?"No, thanks":f,v=e.dialog_background_color,g=void 0===v?"#FFF":v,y=e.title_color,b=void 0===y?"#3C3C3C":y,x=e.yes_button_bg_color,w=void 0===x?"#017DFD":x,C=(e.no_button_bg_color,e.yes_button_text_color),_=void 0===C?"#FFF":C,E=e.no_button_text_color,k=void 0===E?"#017DFD":E,A=(e.hide_close_button,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return"line-height:20px;letter-spacing:0.005em;font-size:".concat(e,"px;font-weight:").concat(t,";")});return'\n <div style="display:flex;flex-direction:column;height:100%;width:100%;background-color:'.concat(g,';align-items:center;margin-top:20px;border-radius:3px">\n ').concat((t=r,n=p,i=h,t&&""!==t&&0!==n&&0!==i?'<img id="apx_icon" src="'.concat(t,'" style="width:').concat(n,"px;height:").concat(i,'px;">'):""),'<span style="').concat(A(16,600),"text-align:center;color:").concat(b,';margin:12px 0px;">').concat(s,'</span>\n <button id="').concat("apx-dy",'" style="').concat(A(14,500),"color:").concat(_,";background-color:").concat(w,';border-radius:2px;border:none;padding:8px 20px;margin-bottom:10px;cursor:pointer">').concat(c,'</button>\n <button id="').concat("apx-dn",'" style="').concat(A(14,500),"color:").concat(k,';background:none;border:none;cursor:pointer;margin-bottom:20px">').concat(m,"</button>\n </div>\n ")}(n.dialog_config),document.getElementById("apx-dy").onclick=function(){n.QQJy("apx_survey_dialog_yes_clicked"),d.style.minHeight=n.min_height+"%",n.CnkA(o,!0)},document.getElementById("apx-dn").onclick=function(){n.QQJy("apx_survey_dialog_no_clicked"),n.IBLA(o)};var e=function(){o.style.visibility="visible",d.style.visibility="visible",d.style.minHeight=""===s||0===l||0===c?"13%":"25%",d.classList.toggle("open"),n.QQJy("apx_survey_dialog_launched")};if(""!==s&&l>0&&c>0){var t=document.getElementById("apx_icon");t.onload=function(){e()},t.onerror=function(){n.QQJy("apx_survey_dialog_icon_failed"),n.IBLA(o)}}else e()}),100)}else n.CnkA(o);e&&e((function(){return n.IBLA(o)}))}catch(e){yi.error(e)}}),n.delay)})),c(this,"CnkA",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=n.layoutConfig,o=i.show_progress_bar,r=i.progress_bar_color,a=document.createElement("div");a.style="height:4px;overflow:hidden;position:relative;margin-bottom:10px;";var s=document.createElement("div");s.setAttribute("id","apx-pb"),s.style="border-radius:10px;top:0;left:0;width:100%;bottom:0;position:absolute;transition:transform 0.4s linear;transform-origin:left;background-color:".concat(r),a.appendChild(s),o||(a.style.visibility="hidden");var l=e.children[0];(t||l&&l.childElementCount>1)&&l.removeChild(l.children[l.childElementCount-1]),l.appendChild(a),n.ZfOU(e,0),t||setTimeout((function(){e.children[0].classList.toggle("open")}),100)})),c(this,"XOxF",(function(e){if(-1==e||!e)return-1;var t=n.questions.length;if(t>0)for(var i=0;i<t;i++)if(n.questions[i].id==e)return i;return-1})),c(this,"Cygn",(function(e,t){var i=e.answerMode,o=e.choices,r=void 0===o?[]:o;switch(i){case y:var a=null==e?void 0:e.response_cfg[(null==e?void 0:e.selected_rating)||11];a?t=n.XOxF(a):t+=1;break;case v:var s;if(r.forEach((function(e){e.is_selected&&(s=e)})),s){var l=s.next_question_id;t=n.XOxF(l)}else t+=1;break;case g:case b:default:t+=1}return t})),c(this,"ZfOU",(function(e,t){if(!(t>=n.questions.length)){var i=n.questions[t],o=gi(n.layoutConfig,n.questionConfig,i,t,n.questions.length,n.is_response_based_survey),r=o.prevButton,a=void 0===r?null:r,s=o.closeButton,l=void 0===s?null:s,c=o.submitButton,d=void 0===c?null:c,p=o.skipButton,u=void 0===p?null:p,h=o.questionRoot,f=o.footerNode,m=e.children[0];m&&m.childElementCount>2&&(m.removeChild(m.children[m.childElementCount-1]),m.removeChild(m.children[m.childElementCount-1])),document.getElementById("apx-pb").style.transform="translateX(".concat(-(100-100/n.questions.length*(t+1)),"%)"),m.appendChild(h),m.appendChild(f),a&&(a.onclick=function(){n.uBnZ(t);var i=n.displayedQuestionIndeces.pop();void 0!==i&&n.ZfOU(e,i)}),l&&l.addEventListener("click",(function(){n.QQJy("apx_survey_close_clicked",{where:"question "+(t+1)}),n.uBnZ(t),n.LiKA(e,!1)})),d&&(d.onclick=function(){if(n.displayedQuestionIndeces.push(t),n.is_response_based_survey){n.uBnZ(t);var o=n.Cygn(i,t);o===n.questions.length||-1===o?n.LiKA(e,!0):n.ZfOU(e,o)}else n.uBnZ(t),t===n.questions.length-1?n.LiKA(e,!0):n.ZfOU(e,t+1)}),u&&(u.onclick=function(){n.displayedQuestionIndeces.push(t),t+1>=n.questions.length||(n.QQJy("apx_survey_skip_clicked",{where:"question "+(t+1)}),n.uBnZ(t),n.ZfOU(e,t+1))})}})),c(this,"uBnZ",(function(e){if(-1===n.answered_questions[e]){var t=n.questions[e],i=n.lzAK(e),o={question_id:t.id,answers:i.answers};t.rules.length>0&&t.rulesArray.forEach((function(e){if(t.selected_rating>=e.min&&t.selected_rating<=e.max){var n=t.text_answer;o.answers=[].concat(p(o.answers),[n])}})),i.answers.length>0&&(n.QQJy("apx_survey_".concat(n.questions[e].title),{data:o}),n.answered_questions[e]=1)}})),c(this,"QQJy",(function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.logEvent(e,o({survey_id:n.configId,name:n.name},i))})),c(this,"lzAK",(function(e){var t=n.questions[e];if(!t)return null;var i={answers:[],answerTexts:[],others:[],textBasedQuestionAnswers:[]},o=t.answerMode,r=t.choices,a=void 0===r?[]:r,s=t.selected_rating,l=void 0===s?-1:s,c=t.text_answer,d=void 0===c?"":c,p=t.is_answered,u=void 0!==p&&p,h=t.text_config,f=void 0===h?null:h;switch(o){case v:case g:a.forEach((function(e){e.is_selected&&(i.answers.push(e.id),i.answerTexts.push(e.value),e.is_other&&null!==e.other_answer&&""!==e.other_answer.trim()&&i.others.push({id:e.id,answer:e.other_answer}))}));break;case b:u&&""!==d&&""!==d.trim()&&null!==f&&(i.answers.push(f.id),i.answerTexts.push(d),i.textBasedQuestionAnswers.push({id:f.id,answer:d}));break;case y:-1!==l&&(i.answers.push(l),i.answerTexts.push(l))}return i})),c(this,"IBLA",(function(e){e.on_dismiss&&e.on_dismiss(),e.children[0].classList.toggle("open"),setTimeout((function(){e.parentNode.removeChild(e),document.body.style.overflow=n.bodyOverflow,n.bodyOverflow=""}),400)})),c(this,"nyRm",(function(e){var t=e.children[0];t.style.minHeight="unset",t&&t.childElementCount>2&&(t.removeChild(t.children[t.childElementCount-1]),t.removeChild(t.children[t.childElementCount-1]));var i=document.getElementById("apx-pb");i.parentNode.removeChild(i);var o,r,a,s,l,c,d=(o=n.success_message,r=n.layoutConfig,a=r.success_message_bg_color,s=r.success_message_icon_color,l=r.success_message_text_color,(c=document.createElement("div")).style="display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%;background: ".concat(a,"; min-height:480px"),c.innerHTML='\n <span style="font-size: 40px;border-radius: 50%;padding: 10px;padding-bottom: 2px;padding-top: 2px;color: white;background: '.concat(s,';">✓</span>\n <span style="font-size: 17px;margin-top:15px;color:').concat(l,'">').concat(o,"</span>\n "),c);t.appendChild(d),setTimeout((function(){n.IBLA(e)}),n.auto_hide_message)})),c(this,"LiKA",(function(e,i){i&&n.show_success_message?n.nyRm(e):n.IBLA(e);var r={survey_id:n.configId,name:n.name,responses:[]};if(n.questions.forEach((function(e,t){var i=n.lzAK(t);if(i.answers.length>0){var a={question_id:e.id,answers:i.answers};e.rules.length>0&&e.rulesArray.forEach((function(t){if(e.selected_rating>=t.min&&e.selected_rating<=t.max){var n=t.question.text_config,i=e.text_answer;a.answers=[].concat(p(a.answers),[n.id]);var r={id:n.id,answer:i};(a=o(o({},a),{},{others:[]})).others=[].concat(p(a.others),[r])}})),i.others.length>0?a.others=i.others:i.textBasedQuestionAnswers.length>0&&(a.others=i.textBasedQuestionAnswers),r.responses.push(a)}})),r.responses.length>0){var a=Math.pow(10,3);r.time_taken=Math.round((Date.now()-n.startTime)/1e3*a)/a;var s=t.getController(),l=s.getFromStorage("_apx_cd",!0).session_info.launch_time;r.session_id=t.getSessionId(),r.is_completed=i,r.app_version=s.getFromStorage("apx_ver",!1),r.device_uuid=t.getClientId(),r.launch_time=l,r.user_attributes=s.getUserAttributes(),r.session_attributes=s.getSessionAttributes(),n.PxDF(r)}i&&n.QQJy("apx_survey_completed"),n.questions.forEach((function(e,t){e.roLP(),n.answered_questions[t]=-1})),n.startTime=-1,n.bodyOverflow=""})),c(this,"PxDF",(function(e){var n=m.replace("<app_id>",t.getSiteId());fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})})),this.isValid=!0,this.dialog_config=null})),Ci=l((function e(){a(this,e),c(this,"parse",(function(e,t,n){var i=new wi;return i.initialize(e,t,n)?i:null}))})),_i=function(){function e(t){var n=this;a(this,e),c(this,"GjXD",(function(){var e=document.getElementById("apxor-mpl-styles");e&&e.remove()})),c(this,"tyCX",(function(){return n.videoElement})),c(this,"Ytro",(function(){try{document.pictureInPictureElement?(document.exitPictureInPicture(),n.GjXD()):document.pictureInPictureEnabled&&n.videoElement.requestPictureInPicture()}catch(e){console.error("Failed to load PIP ".concat(e))}})),c(this,"ALzx",(function(){var e=n.videoConfig,t=e.pip_btn_color,i=void 0===t?"#ffffff":t,o=e.close_btn_color,r=void 0===o?"#ffffff":o,a=e.enable_PIP,s=document.createElement("span");if(s.innerHTML='\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill='.concat(r,' class="bi bi-x-circle" viewBox="0 0 16 16">\n <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>\n <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>\n </svg>'),s.classList.add("apxor-close-btn"),s.addEventListener("click",(function(e){try{n.miniPlayer.remove(),n.GjXD()}catch(e){console.log("Error \n ".concat(e," \n occured while closing the video"))}})),n.miniPlayer.appendChild(s),a){var l=document.createElement("span");l.innerHTML='\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill='.concat(i,' class="bi bi-pip" viewBox="0 0 16 16">\n <path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/>\n <path d="M8 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-3z"/>\n </svg>'),l.classList.add("apxor-pip-btn"),l.addEventListener("click",(function(e){try{n.videoElement.disablePictureInPicture=!1,n.videoElement.requestPictureInPicture()}catch(e){console.log("Error \n ".concat(e," \n while starting the PIP"))}})),n.miniPlayer.appendChild(l)}})),c(this,"cUpd",(function(){var e=n.videoConfig.enable_pip_toggles;if(void 0===e||e){n.videoElement.addEventListener("leavepictureinpicture",(function(){n.videoElement.disablePictureInPicture=!0,n.miniPlayer.classList.remove("apxor-hide-elmt")}),!1);n.videoElement.addEventListener("enterpictureinpicture",(function(){n.miniPlayer.classList.add("apxor-hide-elmt")}),!1)}})),c(this,"nmNX",(function(){n.miniPlayer.classList.add("apxor-hide-elmt")})),c(this,"sCyT",(function(){n.miniPlayer.classList.remove("apxor-hide-elmt")})),c(this,"FKWj",(function(){var e=n.videoConfig,t=e.buttons_config,i=e.uuid,o=void 0===i?"":i,r=e.name,a=void 0===r?"MiniPlayer":r,s=e.button_position,l=void 0===s?"center":s;if(t&&t.length>0){var c=document.createElement("footer");c.setAttribute("id","apxor-cta-btn"),c.classList.add("shepherd-footer"),c.classList.add("apxor-video-cta"),c.classList.add("apxor-hide-elmt"),c.style.zIndex=99999,c.style.margin="8px",c.style.padding="0";var d=function(){try{n.miniPlayer.remove(),n.GjXD()}catch(e){console.log("Can't close the video player\n".concat(e))}},p=M(t,{next:d,complete:d,cancel:d},o,a),u=p.buttons_array,h=p.buttons_css,f=document.createElement("style");f.innerHTML=T(h,l),c.appendChild(f),u.forEach((function(e){var t=e.classes,n=e.text,i=e.action,o=(e.segments,document.createElement("button"));o.className="shepherd-button "+t,o.innerHTML=n,o.onclick=function(){return i()},c.appendChild(o)})),n.miniPlayer.appendChild(c)}})),this.videoConfig=t,this.miniPlayer=null,this.videoElement=null}return l(e,[{key:"createPlayer",value:function(){this.miniPlayer=document.createElement("div"),this.miniPlayer.setAttribute("id","apxor-mini-player"),this._setMiniPlayerStyles(),this._setMiniPlayerPosition(),this._setPlayerContent(),this.cUpd(),this.ALzx(),this.FKWj(),this.nmNX(),document.body.appendChild(this.miniPlayer)}},{key:"_setMiniPlayerStyles",value:function(){if(!document.getElementById("apxor-mpl-styles")){var e=this.videoConfig,t=e.width,n=void 0===t?420:t,i=e.height,o=void 0===i?420:i,r=document.createElement("style");r.setAttribute("id","apxor-mpl-styles"),r.innerHTML="\n div.apxor-mini-player--topLeft {\n position: fixed;\n top: 0;\n left: 0;\n max-width : ".concat(n,"px;\n max-height : ").concat(o,"px;\n background-color: #000000;\n }\n \n div.apxor-mini-player--topRight {\n position: fixed;\n top: 0;\n right: 0;\n max-width : ").concat(n,"px;\n max-height : ").concat(o,"px;\n background-color: #000000;\n }\n \n div.apxor-mini-player--bottomLeft {\n position: fixed;\n bottom: 0;\n left: 0;\n max-width : ").concat(n,"px;\n max-height : ").concat(o,"px;\n background-color: #000000;\n }\n \n div.apxor-mini-player--bottomRight {\n position: fixed;\n bottom: 0;\n right: 0;\n max-width : ").concat(n,"px;\n max-height : ").concat(o,'px;\n background-color: #000000;\n }\n\n .apxor-hide-elmt {\n display : none;\n }\n\n .apxor-pip-btn {\n position: absolute;\n top: 10px;\n left: 10px;\n width: 24px;\n height: 24px;\n opacity: 0.3;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n video:hover~.apxor-pip-btn {\n opacity: 1;\n }\n \n .apxor-close-btn {\n position: absolute;\n top: 10px;\n right: 10px;\n width: 24px;\n height: 24px;\n opacity: 0.3;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n video:hover~.apxor-close-btn {\n opacity: 1;\n }\n\n .apxor-video-cta {\n position: absolute;\n top: 50%;\n left: 50%;\n width: auto;\n height: auto;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n \n .bi::before,\n [class^="bi-"]::before,\n [class*=" bi-"]::before {\n display: inline-block;\n font-style: normal;\n font-weight: normal !important;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n vertical-align: -.125em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n .bi-pip::before { \n content: "\f4ef"; \n }\n\n .bi-x-circle::before { \n content: "\f623"; \n }\n\n '),document.head.appendChild(r)}}},{key:"_setMiniPlayerPosition",value:function(){switch(this.videoConfig.videoPosition){case"top-left":this.miniPlayer.classList.add("apxor-mini-player--topLeft");break;case"top-right":this.miniPlayer.classList.add("apxor-mini-player--topRight");break;case"bottom-left":this.miniPlayer.classList.add("apxor-mini-player--bottomLeft");break;case"bottom-right":default:this.miniPlayer.classList.add("apxor-mini-player--bottomRight")}}},{key:"_setPlayerContent",value:function(){var e=this.videoConfig,t=e.v_url,n=e.v_format,i=void 0===n?"video/mp4":n,o=(e.auto_replay,e.mute_audio),r=void 0!==o&&o,a=(e.enable_PIP,e.width),s=void 0===a?420:a,l=e.height,c=void 0===l?420:l,d=e.video_mode;this.videoElement=document.createElement("video"),this.videoElement.width=s,this.videoElement.height=c,this.videoElement.controlsList="noplaybackrate nodownload","PIP"!=d&&(this.videoElement.autoplay=!0),this.videoElement.controls=!0,r&&(this.videoElement.muted=!0),this.videoElement.disablePictureInPicture=!0;var p=document.createElement("source");p.setAttribute("src",t),p.setAttribute("type",i),this.videoElement.appendChild(p),this.videoElement.addEventListener("ended",(function(e){var t=document.getElementById("apxor-cta-btn");t&&t.classList.remove("apxor-hide-elmt")})),this.videoElement.addEventListener("play",(function(e){var t=document.getElementById("apxor-cta-btn");t&&t.classList.add("apxor-hide-elmt")})),this.miniPlayer.appendChild(this.videoElement)}}]),e}(),Ei=window.ApxorLogger;var ki=l((function e(){var n=this;a(this,e),c(this,"initialize",(function(e,t,i){var o=i.delay,r=i.layout_type,a=void 0===r?"":r,s=i.html_config.data,l=void 0===s?"":s,c=i.window_attributes,d=c.width,p=void 0===d?"auto":d,u=c.height,h=void 0===u?"auto":u,f=c.dimmed_background,m=void 0===f||f,v=c.dismiss_outside_touch,g=void 0!==v&&v;return n.configId=e,n.name=t,n.delay=o,n.width=p,n.height=h,n.layoutConfig={layout_type:a,dimmed_background:m,dismiss_outside_touch:g},n.htmlConfig={data:l},"videos"!==a&&""==n.htmlConfig.data?(n.isValid=!1,!1):(n.ui=i,!0)})),c(this,"QCBp",(function(){if(!n.isValid)return!1;setTimeout((function(){try{if(qi.getInstance().updateCount(n.configId),"videos"===n.layoutConfig.layout_type)!function(e){if(!document.getElementById("apxor-mini-player")){var t=e.binding,n=e.activity,i=e.video_mode,o=!0;if(t&&""!=n&&window.location.pathname!==n&&(o=!1),o){var r=new _i(e);if(r.createPlayer(),"PIP"==i){var a=r.tyCX();a.onloadedmetadata=function(){a.requestPictureInPicture()}}else r.sCyT()}}}(n.ui);else{var e=function(e,t,n){var i=n.dimmed_background,o=document.createElement("div");o.setAttribute("id","apx-oly");var r=document.createElement("style");r.innerHTML="#apx-oly {\n width:auto;height:auto;position:fixed;top:0;right:0;bottom:0;left:0;\n display:flex;justify-content:center;align-items:center;border-radius:3px;z-index:99999999;background-color:".concat(i?"#31313185":"transparent",";\n\n }\n #apx-oly > * {font-family:inherit;box-sizing:unset}\n .apx-dlg-c {\n height:auto;width:auto;z-index:99999999;opacity:0;transition:all .5s cubic-bezier(.96,.23,.07,.8);position:fixed;visibility:hidden;\n border-radius:3px;overflow:hidden\n }\n .apx-dlg-c.open{opacity:1;visibility:visible;width:100%;height:100%;}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var a=document.createElement("div");return a.setAttribute("id","apx-dlg-c"),a.classList.add("apx-dlg-c"),o.appendChild(a),o.appendChild(r),document.body.appendChild(o),o}(n.width,n.height,n.layoutConfig);n.layoutConfig.dismiss_outside_touch&&(document.getElementById("apx-oly").onclick=function(){n.azct(e)}),setTimeout((function(){e.children[0].classList.toggle("open"),e.children[0].innerHTML=n.htmlConfig.data,n.eMTC("inapp_shown"),e.querySelectorAll("a").forEach((function(t){t.onclick=function(){return n.vemP(e,t)}}))}),100)}}catch(e){Ei.error(e)}}),n.delay)})),c(this,"vemP",(function(e,i){var o=i.getAttribute("href");if(null!=o&&o.includes("apxor")){var r,a=o.replace(/^apxor:\/\/([^\?]*).*?$/,"$1");switch(a){case"cancel":n.eMTC("walk_through_cancelled");break;case"xclose":n.eMTC("InAppXIconClicked");break;case"close":r=o.replace(/(.*?)buttonName=([^\&]*).*?$/,"$2"),n.eMTC(x(""===r?"Button":r));break;case"dl_url":var s=o.replace(/(.*?)uri=([^\&]*).*?$/,"$2"),l=o.replace(/(.*?)external=([^\&]*).*?$/,"$2");r=o.replace(/(.*?)buttonName=([^\&]*).*?$/,"$2"),n.eMTC(x(""===r?"Button":r)),"true"==l?window.open(s,"_blank"):t.logClientEvent("REDIRECT",{url:s})}return n.azct(e,a),!1}return!0})),c(this,"azct",(function(e,t){"cancel"!==t&&n.eMTC("inapp_dismissed"),e.children[0].classList.toggle("open"),setTimeout((function(){e.parentNode.removeChild(e)}),300)})),c(this,"eMTC",(function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.logEvent(e,o({id:n.configId,message_name:n.name},i))})),this.isValid=!0})),Ai=l((function e(){a(this,e),c(this,"parse",(function(e,t,n){var i=new ki;return i.initialize(e,t,n)?i:null}))})),Li=function(e){if(e.target){var t=e.target.classList,n=t.contains("apx-highlight")||-1!==t.toString().indexOf("apx-");t&&!n&&(e.target.classList.add("apx-highlight"),e.target.oldOnClick=e.target.onclick,e.target.onclick=null)}},Ti=function(e){e.target&&e.target.classList&&e.target.classList.contains("apx-highlight")&&(e.target.classList.remove("apx-highlight"),e.target.onclick=e.target.oldOnClick,e.target.oldOnClick=null)};var Mi="<b>View Selection Mode: ON",Oi="<b>View Selection Mode: OFF</b>",Si="https://server.apxor.com/v1/sse/",Di=Si+"layout?appId=<aid>&deviceId=<uid>",Ii=Si+"ui-config?appId=<aid>&deviceId=<uid>",Bi=Si+"art-config?appId=<aid>&deviceId=<uid>",Ni="https://server.apxor.com/v4/frontendapi/web/test-devices",Fi=Ni+"?appId=<aid>",Pi=Ni+"/<uid>?appId=<aid>",Hi=l((function e(){var n=this;a(this,e),c(this,"txHh",null),c(this,"fyxV",null),c(this,"CCVk",null),c(this,"HsdZ",null),c(this,"KVwp",""),c(this,"init",(function(e,i){var o=function(e){if(window.document)for(var t=e+"=",n=window.document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return null}("_apx_ewc");if(o){var r=atob(o);try{var a=t.getController().getFromStorage(r,!0);if(!a)return;var s=a.app_id,l=a.expiry,c=a.volatile_id;if(n.KVwp=c,s===e&&Date.now()<=l){var d=document.createElement("span");if(d.style="z-index:99999999;visibility:hidden;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 24px;background:#252f37;border-radius:3px;opacity:0;font-size:24px;color:white;transition:all .3s ease-out",d.innerHTML=Mi,n.fyxV=d,document.body.appendChild(d),n.txHh=document.createElement("style"),n.txHh.innerHTML=".apx-highlight{height:auto;z-index:9999999999;outline: 2px solid red;cursor:default}",document.body.appendChild(n.txHh),n.isSelectionMode=!1,n.testDeviceData=t.getController().getFromStorage("_apx_td",!0),n.testDeviceData){var p=n.testDeviceData,u=p.name,h=void 0===u?"":u,f=p.id,m=void 0===f?"":f;if(""!==h&&""!==m){n.iLij("select","".concat(h," - ").concat(m),m);var v=new EventSource(Ii.replace("<aid>",e).replace("<uid>",m)),g=new EventSource(Bi.replace("<aid>",e).replace("<uid>",m));v.onmessage=g.onmessage=function(e){e&&e.data&&"{}"!==e.data&&n.lQKj(i,e.data)}}}n.bGRl(i)}}catch(e){}}})),c(this,"LlTl",(function(){n.fyxV.parentNode.removeChild(n.fyxV),n.txHh.parentNode.removeChild(n.txHh)})),c(this,"lQKj",(function(e,i){try{n.HsdZ.dispatchEvent(new CustomEvent("preview"));var o=JSON.parse(i),r=o.cmd;if("prev"===(void 0===r?"prev":r))if(o.hasOwnProperty("ui")){var a=function e(t){return[Math.random,function(){return e.last?windowId.last+Math.random():Math.random()},Math.random,Date.now,Math.random].map((function(e){return e().toString(t||16+20*Math.random()).substr(-8)})).join("-")}(36),s={configs:[{_id:a,enabled:!0,terminate_info:{auto_dismiss:!1,duration:1e3},meta:{name:"P",type:o.type},ui:o.ui}]};e.hzeJ("SURVEY"!==o.type?0:1,s),t.getController().dispatchEvent(o.type,{name:o.type,additional_info:{uuid:a,name:"P"}})}else if(o.hasOwnProperty("messages")){var l=[],c=[];o.messages.forEach((function(e){"SURVEY"!==e.meta.type?c.push(e):l.push(e)})),c.length>0&&e.handleResponse(0,{configs:c}),l.length>0&&e.handleResponse(1,{configs:l})}}catch(e){console.error(e)}})),c(this,"bGRl",(function(e){var i=null!==n.testDeviceData&&void 0!==n.testDeviceData&&n.testDeviceData.id&&n.testDeviceData.name,o='\n<style>\n.apx-cr{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px}\n.apx-b{border:none;font-size:16px;font-family:inherit;padding:8px 14px;cursor:pointer}\n.apx-close:before{content:\'\\58\';font-size:9px;color:#969696;cursor:pointer;position:absolute;top:1px;right:3px}\n</style>\n<svg class="apx-" id="apx-wr-h" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="280.6027397260274 189.52023061718432 89.75342465753425 54.49346801295263" width="48" height="29.14" style="width:17px;position:absolute;top:7px;left:50%;transform:translate(-50%, -50%);cursor:move;"><defs><path d="M304.6 201.52C304.6 208.14 299.23 213.52 292.6 213.52C285.98 213.52 280.6 208.14 280.6 201.52C280.6 194.9 285.98 189.52 292.6 189.52C299.23 189.52 304.6 194.9 304.6 201.52Z" id="e2aMl5NH8S"/><path d="M324.9 189.54C331.52 189.16 337.2 194.21 337.58 200.82C337.97 207.43 332.91 213.12 326.3 213.5C319.69 213.89 314.01 208.83 313.62 202.22C313.24 195.61 318.29 189.93 324.9 189.54Z" id="e2L4sySuvL"/><path d="M304.6 232.01C304.6 225.39 299.23 220.01 292.6 220.01C285.98 220.01 280.6 225.39 280.6 232.01C280.6 238.64 285.98 244.01 292.6 244.01C299.23 244.01 304.6 238.64 304.6 232.01Z" id="a5AJxVSDw"/><path d="M337.6 232.01C337.6 225.39 332.23 220.01 325.6 220.01C318.98 220.01 313.6 225.39 313.6 232.01C313.6 238.64 318.98 244.01 325.6 244.01C332.23 244.01 337.6 238.64 337.6 232.01Z" id="bjnangUBy"/><path d="M370.36 232.01C370.36 225.39 364.98 220.01 358.36 220.01C351.73 220.01 346.36 225.39 346.36 232.01C346.36 238.64 351.73 244.01 358.36 244.01C364.98 244.01 370.36 238.64 370.36 232.01Z" id="a8aeEZTAL0"/><path d="M369.36 201.52C369.36 194.9 363.98 189.52 357.36 189.52C350.73 189.52 345.36 194.9 345.36 201.52C345.36 208.14 350.73 213.52 357.36 213.52C363.98 213.52 369.36 208.14 369.36 201.52Z" id="a4VJpGfPPp"/></defs><g><g><g><use xlink:href="#e2aMl5NH8S" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#e2L4sySuvL" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a5AJxVSDw" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#bjnangUBy" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a8aeEZTAL0" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a4VJpGfPPp" opacity="1" fill="#000000" fill-opacity="1"/></g></g></g></svg>\n<div class="apx-cr" style="gap:0">\n <img class="apx-" width="54" height="54" src="https://f.hubspotusercontent10.net/hub/5329664/hubfs/Apxor%20X%20logo.png?width=108&height=108" />\n</div>\n<div id="apx-bh" class="apx-cr apx-bh" style="padding:8px 20px;">\n<button class="apx-b" id="apx-a" style="display:'.concat(i?"none":"block",'">Add as test device</button>\n<button class="apx-b" id="apx-r" style="display:').concat(i?"block":"none",'">Remove as test device</button>\n<button class="apx-b" id="apx-ev" style="display:').concat(i&&n.isSelectionMode?"none":i?"block":"none",'">Enable view selection</button>\n<button class="apx-b" id="apx-dv" style="display:').concat(i&&n.isSelectionMode?"block":"none",'">Disable view selection</button>\n</div>\n '),r=document.getElementById("apx-wr");r&&r.remove&&r.remove();var a=document.createElement("div");a.style="z-index:99999999;position:fixed;top:8px;right:8px;background:white;box-shadow:0px 0.54801px 1.64403px 0.54801px rgb(0 0 0 / 11%);border-radius:3px;padding:10px",a.setAttribute("id","apx-wr"),a.innerHTML=o,document.body.appendChild(a),n.HsdZ=a;var s=document.getElementById("apx-bh"),l=function(){a.style.opacity=.5,s.style.display="none"},c=setTimeout(l,3e3);a.addEventListener("mouseover",(function(){a.style.opacity=1,clearTimeout(c),s.style.display="flex"})),a.addEventListener("mouseout",(function(){c=setTimeout(l,3e3)}));var d=document.getElementById("apx-a"),p=document.getElementById("apx-r"),u=document.getElementById("apx-ev"),h=document.getElementById("apx-dv");d.onclick=function(){return n.XzBo(e)},p.onclick=function(){fetch(Pi.replace("<aid>",t.getSiteId()).replace("<uid>",n.testDeviceData.id),{method:"DELETE",headers:{apx_web_key:"WTCKFAIVAJKYJA3HCV80WIKZU98R9NJG"}}).then((function(e){return e.ok&&200===e.status?e.json():null})).then((function(e){e&&(t.getController().persistToStorage("_apx_td",{},!0),n.testDeviceData=null,d.style.display="block",p.style.display=u.style.display=h.style.display="none",n.isSelectionMode&&n.QwHd())})).catch((function(e){return console.error(e)}))},u.onclick=function(){n.isSelectionMode=!0,window.addEventListener("mouseover",Li,!0),window.addEventListener("mouseout",Ti,!0),n.clickListener=function(e){return function(e,t){var n=e.target;n&&n.classList.contains("apx-highlight")&&(e.preventDefault(),e.stopPropagation(),n.classList.remove("apx-highlight"),n.onclick=n.oldOnClick,n.oldOnClick=null,t&&t(n))}(e,(function(e){var t=n.KtZC(e,!0),i=n.hkeI(e,!0);n.iLij("view",location.href,t+"___"+i)}))},window.addEventListener("click",n.clickListener,!0),n.fpyR(!1),u.style.display="none",h.style.display="block"};var f=function(){n.QwHd(),h.style.display="none",u.style.display="block"};h.onclick=f,n.HsdZ.addEventListener("preview",f),n.HsdZ.addEventListener("added",(function(){d.style.display="none",p.style.display="block",s.style.display="flex",u.style.display="block"})),function(e){var t,n=window.innerHeight-8,i=8,o=window.innerWidth-8,r=8,a=0,s=0,l=0,c=0;function d(n){n.preventDefault(),n.stopPropagation(),n=n||window.event,l=n.clientX,c=n.clientY,t=e.getBoundingClientRect(),document.onmouseup=u,document.onmousemove=p}function p(d){d.preventDefault(),d.stopPropagation(),d=d||window.event,a=l-d.clientX,s=c-d.clientY,l=d.clientX,c=d.clientY;var p=e.offsetLeft-a,u=e.offsetTop-s;p<i||u<r||p+t.width>o||u+t.height>n||(e.style.top=e.offsetTop-s+"px",e.style.left=e.offsetLeft-a+"px",e.style.right="")}function u(){document.onmouseup=null,document.onmousemove=null}document.getElementById(e.id+"-h")?document.getElementById(e.id+"-h").onmousedown=d:e.onmousedown=d}(a)})),c(this,"QwHd",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oi;if(n.isSelectionMode){window.removeEventListener("mouseover",Li,!0),window.removeEventListener("mouseout",Ti,!0),window.removeEventListener("click",n.clickListener,!0);for(var t=document.querySelectorAll(".apx-highlight"),i=0;i<t.length;i++){var o=t[i];o.classList.remove("apx-highlight")}n.fpyR(!0,e),n.isSelectionMode=!1}})),c(this,"fpyR",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Oi;n.fyxV.style.visibility="visible",e?(n.fyxV.innerHTML=t,n.fyxV.style.opacity=1):(n.fyxV.innerHTML=Mi,n.fyxV.style.opacity=1),setTimeout((function(){n.fyxV.style.opacity=0,n.fyxV.style.visibility="hidden"}),1e3)})),c(this,"XzBo",(function(e){var i=O(500,20,{}),o=i.children[0];o.style.flex="0 1 auto",o.style.maxHeight="calc(100% - 96px)",o.style.display="flex",o.style.flexDirection="column";var r=t.getController().getDevInfo(),a=t.getController().getUserAttributes().apx_browser,s=r.hardware_model,l=r.os_version,c=r.id,d="\n".concat('<style>\n.apx-loading{\nbackground:#333 url(\'https://code.jquery.com/mobile/1.3.1/images/ajax-loader.gif\') no-repeat 50% 50%;\n-webkit-transition:background-color 0;transition:background-color 0;opacity: 1;\n-webkit-transition:opacity 1;transition:opacity 1\n}\n.apx-t{\nflex:0 0 auto;margin:0;padding:24px 24px 20px\n}\n.apx-tt{\ncolor:rgba(0,72,114,0.87);font-size:1.3125rem;font-weight:500;\nfont-family: \'Roboto\', \'Helvetica\', \'Arial\', sans-serif;line-height: 1.16667em;margin:0\n}\n.apx-c{\nflex:1 1 auto;padding:0 24px 24px;overflow-y: auto\n}\n.apx-de{\nline-height:1.5;color:rgba(0,72,114,0.54);font-size:1rem;font-weight:400;\nfont-family:"Roboto", "Helvetica", "Arial", sans-serif;margin:0;display:block\n}\n.apx-id{\nwidth:100%;margin-top:8px;margin-bottom:4px;margin:0;border:0;flex-direction:column;\ndisplay:inline-flex;padding:0;position:relative;min-width:0;vertical-align:top\n}\n.apx-il{\ntransition:color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;\ntransform:translate(0, 21px) scale(1);top:0;left:0;position:absolute;\ncolor:rgba(0,72,114, 0.54);padding: 0;font-size: 1rem;transform-origin:top left;\nfont-family: "Roboto", "Helvetica", "Arial", sans-serif;line-height: 1\n}\n.apx-il-f{\ntransform:translate(0, 1.5px) scale(0.75)\n}\nlabel + .apx-iid {\nmargin-top:16px;position:relative;width: 100%;color: rgba(0,72,114, 0.87);\ncursor: text;display: inline-flex;font-size: 1rem;\nfont-family:"Roboto", "Helvetica", "Arial", sans-serif;\nline-height: 1.1875em;align-items: center\n}\n.apx-iid.apx-iid-f:after{transform:scaleX(1)}\n.apx-iid:hover:before{border-bottom: 2px solid rgba(0,72,114, 0.87)}\n.apx-iid:before{\nleft: 0;right: 0;bottom: 0;content: \'\\00a0\';position: absolute;\ntransition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\nborder-bottom: 1px solid rgba(0, 0, 0, 0.42);pointer-events: none\n}\n.apx-iid:after{\nleft: 0;right: 0;bottom: 0;content: "";position: absolute;transform: scaleX(0);\ntransition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;\nborder-bottom: 2px solid rgb(44, 56, 126);pointer-events: none\n}\n.apx-ii{\npadding-top:3px;font: inherit;color: currentColor;width: 100%;border: 0;margin: 0;\ndisplay: block;min-width: 0;box-sizing: content-box;background: none;padding: 6px 0 7px;outline:0\n}\n.apx-ul{\npadding-top:8px;padding-bottom:8px;margin:0;padding:0;position:relative;list-style:none\n}\n.apx-li{\npadding-left:16px;padding-right:16px;width:100%;display:flex;list-style:none;\nposition:relative;box-sizing:border-box;text-align:left;align-items:center;\npadding-top:11px;padding-bottom:11px;justify-content:flex-start;text-decoration:none\n}\n.apx-lid:first-child{padding-left:0}\n.apx-lid{flex:1 1 auto;padding:0 16px;min-width:0}\n.apx-lids{\ncolor:rgba(0,72,114, 0.87);font-weight:400;line-height:1.5em;\nfont-family:"Roboto", "Helvetica", "Arial", sans-seriffont-size:1rem\n}\n.apx-a{\nflex:0 0 auto;margin:8px 4px;display:flex;align-items:center;justify-content:flex-end\n}\n.apx-b{\nfont-size:0.875rem;min-width:64px;box-sizing:border-box;min-height:36px;border:0;\ntransition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\nline-height:1.3125;font-weight:500;font-family:"Roboto", "Helvetica", "Arial", sans-serif;\nborder-radius:4px;text-transform:uppercase;cursor:pointer;display:inline-flex;outline:none;\nposition:relative;align-items:center;user-select:none;vertical-align:middle;\njustify-content:center;text-decoration:none;background-color:transparent\n}\n.apx-bl{\nwidth: 100%;display:inherit;align-items:inherit;justify-content:inherit\n}\n.apx-btr{\ntop:0;left:0;width:100%;height:100%;display:block;z-index:0;position:absolute;\noverflow:hidden;border-radius:inherit;pointer-events:none\n}</style>\n ','\n<div>\n <div class="apx-t"><h2 class="apx-tt">Set device nick name</h2></div>\n <div class="apx-c">\n <p class="apx-de">Give this device a nick name for easy identification</p>\n <div class="apx-id">\n <label class="apx-il">Nick name</label>\n <div class="apx-iid">\n <input class="apx-ii" type="text" id="apx-ii" value="">\n </div>\n </div>\n <ul class="apx-ul">\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Model <strong style="float:right">').concat(s," - ").concat(l,'</strong></span>\n </span>\n </div>\n </li>\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Browser <strong style="float:right">').concat(a,'</strong></span>\n </span>\n </div>\n </li>\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Device ID <strong style="float:right">').concat(c,'</strong></span>\n </span>\n </div>\n </li>\n </ul>\n </div>\n <div class="apx-a">\n <button id="apx-bc" class="apx-b"><span class="apx-bl" style="color:#295e8c6b">Cancel</span><span class="apx-btr"/></button>\n <button id="apx-bd" class="apx-b"><span class="apx-bl" style="color:#295e8c">Done</span><span class="apx-btr"/></button>\n </div>\n</div>\n ');i.style.visibility="hidden",o.style.visibility="hidden",o.innerHTML=d;var p,u,h=document.getElementById("apx-ii");n.testDeviceData&&(h.value=null!==(p=null===(u=n.testDeviceData)||void 0===u?void 0:u.name)&&void 0!==p?p:"");h.onfocus=function(){h.parentNode.classList.add("apx-iid-f"),h.parentNode.parentNode.children[0].classList.add("apx-il-f")},h.onblur=function(){h.parentNode.classList.remove("apx-iid-f"),h.parentNode.parentNode.children[0].classList.remove("apx-il-f")},h.oninput=function(){""!==h.value.trim()?m.removeAttribute("disabled"):m.setAttribute("disabled","")},setTimeout((function(){i.style.visibility="visible",o.style.visibility="visible",o.classList.toggle("open"),h.parentNode.parentNode.children[0].classList.add("apx-il-f")}),100);var f=function(){o.classList.toggle("open"),setTimeout((function(){i.parentNode.removeChild(i)}),400)};document.getElementById("apx-bc").onclick=function(){f()};var m=document.getElementById("apx-bd");m.onclick=function(){o.children[1].classList.add("apx-loading"),t.getController().makePostRequest(Fi.replace("<aid>",t.getSiteId()),{model:s,id:c,nick_name:h.value},{apx_web_key:"WTCKFAIVAJKYJA3HCV80WIKZU98R9NJG"},(function(){var i={id:c,name:h.value};t.getController().persistToStorage("_apx_td",i,!0),n.testDeviceData=i,n.iLij("select","".concat(h.value," - ").concat(c),c,(function(){o.children[1].classList.remove("apx-loading"),n.HsdZ.dispatchEvent(new CustomEvent("added"))}));var r=new EventSource(Ii.replace("<aid>",t.getSiteId()).replace("<uid>",c)),a=new EventSource(Bi.replace("<aid>",t.getSiteId()).replace("<uid>",c));r.onmessage=a.onmessage=function(t){t&&t.data&&"{}"!==t.data&&n.lQKj(e,t.data)},f()}),(function(){}))}})),c(this,"iLij",(function(e,i,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=t.getController().getDevInfo(),l={device_info:{id:s.id,hardware_model:s.hardware_model,os_version:s.os_version,width:s.dimensions.width,height:s.dimensions.height},screen:{image:e,navigation:i,orientation:o},layout:[]};t.getController().makePostRequest(Di.replace("<aid>",t.getSiteId()).replace("<uid>",n.KVwp),l,{},r,a)})),c(this,"KtZC",(function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return"";for(var i=[],o=e;o;){var r=n.xoEq(o,!!t,o===e);if(!r)break;if(i.push(r),r.optimized)break;o=o.parentNode}return i.reverse(),i.join(" > ")})),c(this,"xoEq",(function(e,t,n){if(e.nodeType!==Node.ELEMENT_NODE)return null;var i=e.getAttribute("id");if(t){if(i)return new zi(l(i),!0);var o=e.nodeName.toLowerCase();if("body"===o||"head"===o||"html"===o)return new zi(e.nodeName.toLowerCase(),!0)}var r=e.nodeName.toLowerCase();if(i)return new zi(r.toLowerCase()+l(i),!0);var a=e.parentNode;if(!a||a.nodeType===Node.DOCUMENT_NODE)return new zi(r.toLowerCase(),!0);function s(e){var t=e.getAttribute("class");return t?t.split(/\s+/g).filter(Boolean).map((function(e){return"$"+e})):[]}function l(e){return"#"+c(e)}function c(e){if(/^-?[a-zA-Z_][a-zA-Z0-9_-]*$/.test(e))return e;var t=/^(?:[0-9]|-[0-9-]?)/.test(e),n=e.length-1;return e.replace(/./g,(function(e,i){return t&&0===i||!function(e){return!!/[a-zA-Z0-9_-]/.test(e)||e.charCodeAt(0)>=160}(e)?function(e,t){return"\\"+function(e){var t=e.charCodeAt(0).toString(16);1===t.length&&(t="0"+t);return t}(e)+(t?"":" ")}(e,i===n):e}))}for(var d=s(e),p=!1,u=!1,h=-1,f=-1,m=a.children,v=0;(-1===h||!u)&&v<m.length;++v){var g=m[v];if(g.nodeType===Node.ELEMENT_NODE)if(f+=1,g!==e){if(!u&&g.nodeName.toLowerCase()===r.toLowerCase()){p=!0;var y=new Set(d);if(y.size)for(var b=s(g),x=0;x<b.length;++x){var w=b[x];if(y.has(w)&&(y.delete(w),!y.size)){u=!0;break}}else u=!0}}else h=f}var C=r.toLowerCase();if(n&&"input"===r.toLowerCase()&&e.getAttribute("type")&&!e.getAttribute("id")&&!e.getAttribute("class")&&(C+='[type="'+e.getAttribute("type")+'"]'),u)C+=":nth-child("+(h+1)+")";else if(p)for(var _ in d)C+="."+c(d[_].substr(1));return new zi(C,!1)})),c(this,"hkeI",(function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";for(var i=[],o=e;o;){var r=n.svwe(o,t);if(!r)break;if(i.push(r),r.optimized)break;o=o.parentNode}return i.reverse(),(i.length&&i[0].optimized?"":"/")+i.join("/")})),c(this,"svwe",(function(e,t){var i,o=n.mfqY(e);if(-1===o)return null;switch(e.nodeType){case Node.ELEMENT_NODE:if(t&&e.getAttribute("id"))return new zi('//*[@id="'+e.getAttribute("id")+'"]',!0);i=e.localName;break;case Node.ATTRIBUTE_NODE:i="@"+e.nodeName;break;case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:i="text()";break;case Node.PROCESSING_INSTRUCTION_NODE:i="processing-instruction()";break;case Node.COMMENT_NODE:i="comment()";break;case Node.DOCUMENT_NODE:default:i=""}return o>0&&(i+="["+o+"]"),new zi(i,e.nodeType===Node.DOCUMENT_NODE)})),c(this,"mfqY",(function(e){function t(e,t){return e===t||(e.nodeType===Node.ELEMENT_NODE&&t.nodeType===Node.ELEMENT_NODE?e.localName===t.localName:e.nodeType===t.nodeType||(e.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:e.nodeType)===(t.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:t.nodeType))}var n,i=e.parentNode?e.parentNode.children:null;if(!i)return 0;for(var o=0;o<i.length;++o)if(t(e,i[o])&&i[o]!==e){n=!0;break}if(!n)return 0;var r=1;for(o=0;o<i.length;++o)if(t(e,i[o])){if(i[o]===e)return r;++r}return-1}))})),zi=function(e,t){this.value=e,this.optimized=t||!1};zi.prototype={toString:function(){return this.value}};var Zi=window.ApxorLogger,ji=new(l((function e(){var n=this;a(this,e),c(this,"version",130),c(this,"JlkT",{}),c(this,"isShowingAction",!1),c(this,"currentAction",null),c(this,"evpr",new Ci),c(this,"brYI",new Ai),c(this,"xynM",new Hi),c(this,"DMuH",null),c(this,"qjMg",{}),c(this,"init",(function(e){n.DMuH=e;var i=t.getController(),o=qi.getInstance(),r=t.getSiteId(),a=function(e,t){var n=function(n){return n.replace("<app_id>",e).replace("<u_id>",t)};return{rtaValidateUrl:n("https://server.apxor.com/v2/sync/<app_id>/configs/validate?platform=web&userId=<u_id>&actionType=rta&version=139"),rtaSyncUrl:n("https://server.apxor.com/v2/sync/<app_id>/rta?platform=web&userId=<u_id>&version=139"),surveysValidateUrl:n("https://server.apxor.com/v2/sync/<app_id>/configs/validate?platform=web&userId=<u_id>&actionType=survey&version=139"),surveysSyncUrl:n("https://server.apxor.com/v2/sync/<app_id>/surveys?platform=web&userId=<u_id>&version=139")}}(r,t.getClientId()),s=a.rtaValidateUrl,l=a.rtaSyncUrl,c=a.surveysValidateUrl,d=a.surveysSyncUrl;o.initialize(),o.fetch(0,s,l,n.handleResponse),o.fetch(1,c,d,n.handleResponse),i.registerForEvent("IN_LINE",n.tymf),i.registerForEvent("IN_APP",n.Bmey),i.registerForEvent("SURVEY",n.CEpL),i.registerForEvent("ONBOARDING",n.FpWz),n.xynM.init(r,n),Zi.debug("Registered for events")})),c(this,"show",(function(e,t,i,o){try{if(n.getFrequencyCount(i)<=0)return void Zi.error("Campaign limit reached");if(null!==n.currentAction&&void 0!==n.currentAction)return void Zi.error("An action already being shown");var r=JSON.parse(e),a={};a.auto_dismiss=t>0,a.duration=t;var s=function(){n.logActionEvent("inline_shown",i,o),n.updateCount(i),n.isShowingAction=!0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n.isShowingAction=!1,n.currentAction=null,e||n.logActionEvent("inline_dismissed",i,o)},c=r.display_type,d={configId:i,configName:o};"inline"===c?n.currentAction=ei(r,[],a,d,n,s,l):"coach_mark"===c?function(e,t,n,i,o,r){var a=window.ApxorRTM;if(null===a.currentAction||void 0===a.currentAction)if(e&&e.delay<=0){var s=li(e,t,n,i,o);r(s)}else setTimeout((function(){if(null===a.currentAction||void 0===a.currentAction){var s=li(e,t,n,i,o);r(s)}else window.ApxorLogger.error("An action is already being shown. Try after it gets dismissed")}),e.delay);else window.ApxorLogger.error("An action is already being shown. Try after it gets dismissed")}(r,d,a,s,l,(function(e){n.currentAction=e})):Zi.error("Unknown type",c)}catch(e){n.currentAction=null,n.isShowingAction=!1,window.ApxorLogger.error(e)}})),c(this,"logActionEvent",(function(e,n,i){t.logEvent(e,{id:n,message_name:i})})),c(this,"logClientEvent",(function(e,n){t.logClientEvent(e,n)})),c(this,"updateCount",(function(e){qi.getInstance().updateCount(e)})),c(this,"getFrequencyCount",(function(e){qi.getInstance().getFrequencyCount(e)})),c(this,"resetFrequencyCounts",(function(){qi.getInstance().resetFrequencyCounts()})),c(this,"lolT",(function(){if(null!==n.currentAction&&void 0!==n.currentAction){n.isShowingAction=!1;try{n.currentAction()}catch(e){}finally{n.currentAction=null}}})),c(this,"handleResponse",(function(e,t){""===e?(Zi.debug("No configs available"),n.DMuH&&n.DMuH()):(Zi.debug("Fetched config from server",e),n.hzeJ(e,t),console.log("Configs in handle response",t),qi.getInstance().parse(t),n.DMuH&&n.DMuH())})),c(this,"hzeJ",(function(e,t){if(k(t)&&k(t.configs)){var i=t.configs;if(!Array.isArray(i))return;for(var o=0;o<i.length;o++){var r=i[o],a=r._id,s=r.meta.name,l=r.type,c=r.ui;1===e?c=n.evpr.parse(a,s,c):"IN_APP"===l&&(c=n.brYI.parse(a,s,c)),null!==c?n.JlkT[a]={ui:c,uis:r.uis,terminationConfig:r.terminate_info,name:s}:console.warn("Failed to parse the config",a)}Zi.debug("Configs: ",n.JlkT)}})),c(this,"tymf",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.JlkT[t]){var i=n.JlkT[t],o=i.ui,r=i.terminationConfig,a=i.name;n.show(JSON.stringify(o),r.auto_dismiss?r.duration:-1,t,a)}}})),c(this,"Bmey",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.JlkT[t])n.JlkT[t].ui.QCBp()}})),c(this,"CEpL",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.JlkT[t]){n.JlkT[t].ui.aMzh((function(e){n.updateCount(t),n.isShowingAction=!0,n.currentAction=e}),(function(){n.isShowingAction=!1,n.currentAction=null}))}}})),c(this,"FpWz",(function(e){}))})));window.ApxorRTM=ji;var qi=new(function(){function e(){a(this,e)}return l(e,[{key:"getInstance",value:function(){return(n||window["apxor-qe"]).getInstance()}}]),e}());try{void 0===e&&null===e||(e.default=ji,module.exports=e.default)}catch(e){}e.ceWrapper=qi,e.default=ji,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
44
|
+
*/;!function(e){if($){var t=document.createElement("style");t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,i=n.querySelector("style,link");i?n.insertBefore(t,i):n.appendChild(t)}}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 8px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-8px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-8px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-8px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-8px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-animatefill]{background-color:transparent!important}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow{border-color:transparent;border-style:solid;position:absolute}.tippy-arrow[data-state=hidden]{opacity:0}.tippy-content{padding:.3125rem .5625rem}");var Gt=on("shepherd"),Jt=on("shepherd-has-title"),Kt={computeStyle:{enabled:!0,fn:function(e){return e.styles=Z({},e.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),e}},addShepherdClass:Gt},Qt={positionFixed:!0,modifiers:{addShepherdClass:Gt}};function $t(e){var t=document.createElement("div");return t.innerHTML=e,t.children[0]}function en(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Array.isArray(e)?e.slice(t):[]}function tn(){if(K(Yt))throw new Error("Using the attachment feature of Shepherd requires the Tippy.js library");this.tooltip&&this.tooltip.destroy();var e=this.parseAttachTo();this.tooltip=rn.call(this,e),this.target=e.element||document.body,this.el.classList.add("shepherd-element")}function nn(){var e=this.options.attachTo||{},t=Z({},e);if(J(e.element)){try{t.element=document.querySelector(e.element)}catch(e){}t.element||console.error("The element for this Shepherd step was not found ".concat(e.element))}return t}function on(e){return{enabled:!0,fn:function(t){return t.instance.popper.classList.add(e),t}}}function rn(e){if(!e.element)return sn.call(this);var t=an.call(this,e);return Yt(e.element,t)}function an(e){var t={content:this.el,flipOnUpdate:!0,placement:e.on||"right"};return Z(t,this.options.tippyOptions),this.options.title&&Z(Qt.modifiers,{addHasTitleClass:Jt}),this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&Z(Qt,this.options.tippyOptions.popperOptions),t.popperOptions=Qt,t}function sn(){var e=function(e){for(var t=1;t<arguments.length;t++)if(t%2){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){q(e,t,n[t])}))}else Object.defineProperties(e,Object.getOwnPropertyDescriptors(arguments[t]));return e}({content:this.el,placement:"top"},this.options.tippyOptions);e.arrow=!1,e.popperOptions=e.popperOptions||{},this.options.title&&Z(Qt.modifiers,{addHasTitleClass:Jt});var t=Z({},Qt,e.popperOptions,{modifiers:Z(Kt,e.popperOptions.modifiers)});return e.popperOptions=t,Yt(document.body,e)}var ln=function(){function e(){F(this,e)}return z(e,[{key:"on",value:function(e,t,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];K(this.bindings)&&(this.bindings={}),K(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){var n=this;if(K(this.bindings)||K(this.bindings[e]))return!1;K(t)?delete this.bindings[e]:this.bindings[e].forEach((function(i,o){i.handler===t&&n.bindings[e].splice(o,1)}))}},{key:"trigger",value:function(e){var t=this;if(!K(this.bindings)&&this.bindings[e]){var n=en(Array.prototype.slice.call(arguments));this.bindings[e].forEach((function(i,o){var r=i.ctx,a=i.handler,s=i.once,l=r||t;a.apply(l,n),s&&t.bindings[e].splice(o,1)}))}}}]),e}();function cn(e){var t=this;return function(n){if(t.isOpen()){var i=t.el&&n.target===t.el;(!K(e)&&n.target.matches(e)||i)&&t.tour.next()}}}function dn(){var e=this.options.advanceOn||{},t=e.event,n=e.selector;if(!t)return console.error("advanceOn was defined, but no event name was passed.");var i,o=cn.call(this,n);try{i=document.querySelector(n)}catch(e){}if(!K(n)&&!i)return console.error("No element was found for the selector supplied to advanceOn: ".concat(n));i?(i.addEventListener(t,o),this.on("destroy",(function(){return i.removeEventListener(t,o)}))):(document.body.addEventListener(t,o,!0),this.on("destroy",(function(){return document.body.removeEventListener(t,o,!0)})))}function pn(e,t){var n=this;e.events=e.events||{},K(e.action)||(e.events.click=e.action),e.events&&Object.entries(e.events).forEach((function(e){var i=X(e,2),o=i[0],r=i[1];if(J(r)){var a=r;r=function(){return n.tour.show(a)}}t.dataset.buttonEvent=!0,t.addEventListener(o,r),n.on("destroy",(function(){t.removeAttribute("data-button-event"),t.removeEventListener(o,r)}))}))}function un(e){var t=this;e.addEventListener("click",(function(e){e.preventDefault(),t.cancel()}))}function hn(e){var t=this;e.map((function(e){t[e]=t[e].bind(t)}))}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var fn=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,i=e.HTMLElement||e.Element,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:i.prototype.scroll||l,scrollIntoView:i.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},i.prototype.scroll=i.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==r(arguments[0])?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},i.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},i.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=h(this),i=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==t.body?(m.call(this,n,n.scrollLeft+r.left-i.left,n.scrollTop+r.top-i.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})):e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||"object"!==r(e)||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===r(e)&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function d(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function p(t,n){var i=e.getComputedStyle(t,null)["overflow"+n];return"auto"===i||"scroll"===i}function u(e){var t=d(e,"Y")&&p(e,"Y"),n=d(e,"X")&&p(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===u(e);)e=e.parentNode||e.host;return e}function f(t){var n,i,o,r,s=(a()-t.startTime)/468;r=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*r)),i=t.startX+(t.x-t.startX)*n,o=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,i,o),i===t.x&&o===t.y||e.requestAnimationFrame(f.bind(e,t))}function m(n,i,r){var s,c,d,p,u=a();n===t.body?(s=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,p=o.scroll):(s=n,c=n.scrollLeft,d=n.scrollTop,p=l),f({scrollable:s,method:p,startTime:u,startX:c,startY:d,x:i,y:r})}}}}));fn.polyfill;fn.polyfill();var mn,vn=(mn=0,function(){return++mn}),gn=function(e){function t(e,n){var i;return F(this,t),(i=W(this,V(t).call(this,e,n))).tour=e,hn.call(U(i),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),i.setOptions(n),i.bindAdvance=dn.bind(U(i)),i.bindButtonEvents=pn.bind(U(i)),i.bindCancelLink=un.bind(U(i)),i.setupTooltip=tn.bind(U(i)),i.parseAttachTo=nn.bind(U(i)),W(i,U(i))}return j(t,e),z(t,[{key:"_addButtons",value:function(e){var t=this;if(Array.isArray(this.options.buttons)&&this.options.buttons.length){var n=document.createElement("footer");n.classList.add("shepherd-footer"),this.options.buttons.map((function(e){var i=$t('<button class="shepherd-button '.concat(e.classes||"",'" tabindex="0">').concat(e.text,"</button>"));n.appendChild(i),t.bindButtonEvents(e,i)})),e.appendChild(n)}}},{key:"_addCancelLink",value:function(e,t){if(this.options.showCancelLink){var n=$t('<a href class="shepherd-cancel-link"></a>');t.appendChild(n),e.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(e,t){var n=$t('<div class="shepherd-text"\n id="'.concat(t,'"\n ></div>')),i=this.options.text;G(i)&&(i=i.call(this,n)),i instanceof HTMLElement?n.appendChild(i):(J(i)&&(i=[i]),i.map((function(e){n.innerHTML+="<p>".concat(e,"</p>")}))),e.appendChild(n)}},{key:"_addKeyDownHandler",value:function(e){var t=this,n=e.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),i=X(n,1)[0],o=n[n.length-1];e.addEventListener("keydown",(function(e){switch(e.keyCode){case 9:if(1===n.length){e.preventDefault();break}e.shiftKey?document.activeElement===i&&(e.preventDefault(),o.focus()):document.activeElement===o&&(e.preventDefault(),i.focus());break;case 27:t.cancel();break;case 37:t.tour.back();break;case 39:t.tour.next()}}))}},{key:"_createTooltipContent",value:function(){var e=document.createElement("div"),t=this.options.classes||"",n="".concat(this.id,"-description"),i="".concat(this.id,"-label"),o=$t('<div class="'.concat(t,'"\n data-shepherd-step-id="').concat(this.id,'"\n role="dialog"\n tabindex="0">')),r=document.createElement("header");if(this.options.title){var a=document.createElement("h3");a.classList.add("shepherd-title"),a.innerHTML="".concat(this.options.title),a.id=i,o.setAttribute("aria-labeledby",i),r.appendChild(a)}return e.classList.add("shepherd-content"),r.classList.add("shepherd-header"),o.appendChild(e),e.appendChild(r),K(this.options.text)||(this._addContent(e,n),o.setAttribute("aria-describedby",n)),this._addButtons(e),this._addCancelLink(o,r),o}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){try{this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),Y(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}catch(e){}}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){K(this.el)||this.destroy(),this.el=this._createTooltipContent(),this._addKeyDownHandler(this.el),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(e){var t=this.parseAttachTo().element;G(this.options.scrollToHandler)?this.options.scrollToHandler(t):Y(t)&&t.scrollIntoView(e)}},{key:"setOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var n=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(vn()),n&&Object.entries(n).forEach((function(t){var n=X(t,2),i=n[0],o=n[1];e.on(i,o,e)}))}},{key:"show",value:function(){var e=this;if(G(this.options.beforeShowPromise)){var t=this.options.beforeShowPromise();if(!K(t))return t.then((function(){return e._show()}))}this._show()}},{key:"_show",value:function(){var e=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout((function(){e.scrollTo(e.options.scrollTo)})),this.tooltip.show(),this.trigger("show"),this.el.focus()}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}]),t}(ln),bn="http://www.w3.org/2000/svg",yn="shepherdModalOverlayContainer",xn="shepherdModalMask",wn="shepherdModalMaskRect",Cn="shepherdModalMaskOpening",_n="shepherd-modal-is-visible",En="shepherd-modal-target";function kn(){var e,t=((e=document.createElementNS(bn,"svg")).setAttributeNS(null,"id",yn),e),n=document.createElementNS(bn,"defs"),i=function(){var e=document.createElementNS(bn,"mask");return Mn(e,{height:"100%",id:xn,width:"100%",x:"0",y:"0"}),e}(),o=function(){var e=document.createElementNS(bn,"rect");return Mn(e,{fill:"#FFFFFF",height:"100%",id:wn,width:"100%",x:"0",y:"0"}),e}(),r=function(){var e=document.createElementNS(bn,"rect");return Mn(e,{fill:"#000000",id:Cn}),e}(),a=function(){var e=document.createElementNS(bn,"rect");return Mn(e,{height:"100%",width:"100%",x:"0",y:"0"}),e.setAttribute("mask","url(#".concat(xn,")")),e}();return i.appendChild(o),i.appendChild(r),n.appendChild(i),t.appendChild(n),t.appendChild(a),t}function An(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e.getBoundingClientRect&&t instanceof SVGElement){var i=e.getBoundingClientRect(),o=i.x,r=i.y,a=i.width,s=i.height,l=i.left,c=i.top;Mn(t,{x:(o||l)-n,y:(r||c)-n,width:a+2*n,height:s+2*n})}}function Ln(e){e.preventDefault()}function Tn(e){e.stopPropagation()}function Mn(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function On(e){var t=e.options.attachTo;if(!t)return null;var n=P(t);return"string"===n?function(e){var t=X(e.split(" "),1)[0];return document.querySelector(t)}(t):"object"===n?function(e){var t=e.element;if(t instanceof HTMLElement)return t;if(t instanceof SVGElement)return t;try{return document.querySelector(t)}catch(e){}return null}(t):null}function Sn(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!0);var e=document.querySelector("#".concat(yn));window.addEventListener("touchmove",Ln,{passive:!1}),e&&e.addEventListener("touchmove",Tn,!1)}var Dn=function(){function e(t){return F(this,e),this.createModalOverlay(),this.options=t,this}return z(e,[{key:"cleanup",value:function(){try{var e=this._modalOverlayElem;e&&e instanceof SVGElement&&e.parentNode.removeChild(e),this._modalOverlayElem=null,document.body.classList.remove(_n)}catch(e){}}},{key:"createModalOverlay",value:function(){if(!this._modalOverlayElem){var e=document.getElementById("shepherdModalOverlayContainer");this._modalOverlayElem=e||kn(),this._modalOverlayOpening=this._modalOverlayElem.querySelector("#".concat(Cn)),this.hide(),e||document.body.appendChild(this._modalOverlayElem)}}},{key:"hide",value:function(){document.body.classList.remove(_n),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(e){this.options.useModalOverlay?(this._styleForStep(e),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(_n),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(e){var t,n,i,o,r,a=this._modalOverlayOpening,s=On(e),l=e.options.modalOverlayOpeningPadding;s?(An(s,a,l),this._onScreenChange=(n=An.bind(this,s,a,l),i=0,function(){var e=this,t=arguments,a=function(){r=null,o||n.apply(e,t)},s=o&&!r;clearTimeout(r),r=setTimeout(a,i),s&&n.apply(e,t)}),Sn.call(this)):(t=this._modalOverlayOpening)&&t instanceof SVGElement&&Mn(t,{height:"0",x:"0",y:"0",width:"0"})}}]),e}(),In=!1;if("undefined"!=typeof window){var Nn={get passive(){In=!0}};window.addEventListener("testPassive",null,Nn),window.removeEventListener("testPassive",null,Nn)}var Bn,Pn,Fn="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),Hn=[],zn=!1,qn=-1,Zn=function(e){return Hn.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},jn=function(e){var t=e||window.event;return!!Zn(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Vn=function(e,t){if(Fn){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!Hn.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Hn=[].concat(p(Hn),[n]),e.ontouchstart=function(e){1===e.targetTouches.length&&(qn=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-qn;!Zn(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?jn(e):e.stopPropagation())}(t,e)},zn||(document.addEventListener("touchmove",jn,In?{passive:!1}:void 0),zn=!0)}}else{!function(e){setTimeout((function(){if(void 0===Pn){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Pn=document.body.style.paddingRight,document.body.style.paddingRight="".concat(n,"px"))}void 0===Bn&&(Bn=document.body.style.overflow,document.body.style.overflow="hidden")}))}(t);var i={targetElement:e,options:t||{}};Hn=[].concat(p(Hn),[i])}},Rn=function(){Fn?(Hn.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),zn&&(document.removeEventListener("touchmove",jn,In?{passive:!1}:void 0),zn=!1),Hn=[],qn=-1):(setTimeout((function(){void 0!==Pn&&(document.body.style.paddingRight=Pn,Pn=void 0),void 0!==Bn&&(document.body.style.overflow=Bn,Bn=void 0)})),Hn=[])},Un={trigger:"manual",arrow:!0,animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0};function Wn(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null),window.removeEventListener("touchmove",Ln,{passive:!1})}var Xn,Yn=function(){var e=0;return function(){return++e}}(),Gn=new ln,Jn=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};F(this,t),e=W(this,V(t).call(this,n)),hn.call(U(e),["back","cancel","complete","hide","next"]),e.options=n,e.steps=e.options.steps||[];var i=["active","cancel","complete","inactive","show","start"];return i.map((function(t){var n;n=t,e.on(n,(function(t){(t=t||{}).tour=U(e),Gn.trigger(n,t)}))})),e.modal=new Dn(n),e._setTooltipDefaults(),e._setTourID(),W(e,U(e))}return j(t,e),z(t,[{key:"addStep",value:function(e,t){var n,i;return K(t)?i=e:(n=e,i=t),i instanceof gn?i.tour=this:i=this.setupStep(i,n),this.steps.push(i),i}},{key:"back",value:function(){var e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var e=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(e)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(e){var t;Array.isArray(this.steps)&&this.steps.forEach((function(e){return e.destroy()})),Wn.call(this),(t=this.tourObject)&&t.steps.forEach((function(e){if(e.options&&!1===e.options.canClickTarget&&e.options.attachTo){var t=On(e);t instanceof HTMLElement&&(t.style.pointerEvents="auto")}})),this.trigger(e),Gn.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this}),this.options.disableScroll&&Rn(),this.modal.cleanup()}},{key:"getById",value:function(e){return this.steps.find((function(t){return t.id===e}))}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var e=this.getCurrentStep();if(e)return e.hide()}},{key:"isActive",value:function(){return Gn.activeTour===this}},{key:"next",value:function(){var e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)}},{key:"removeStep",value:function(e){var t=this,n=this.getCurrentStep();this.steps.some((function(n,i){if(n.id===e)return n.isOpen()&&n.hide(),n.destroy(),t.steps.splice(i,1),!0})),n&&n.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(e,t){return(J(t)||"number"==typeof t)&&(e.id=t.toString()),e=Z({},this.options.defaultStepOptions,e),new gn(this,e)}},{key:"beforeShowStep",value:function(e){this.modal.setupForStep(e),this._styleTargetElementForStep(e)}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=J(e)?this.getById(e):this.steps[e];if(n){this._updateStateBeforeShow();var i=G(n.options.showOn)&&!n.options.showOn();i?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show())}}},{key:"start",value:function(){this.trigger("start"),this.options.disableScroll&&Vn(),this.currentStep=null,this._setupActiveTour(),this.next()}},{key:"_setupActiveTour",value:function(){this.modal.createModalOverlay(),this._addBodyAttrs(),this.trigger("active",{tour:this}),Gn.activeTour=this}},{key:"_styleTargetElementForStep",value:function(e){var t,n,i=On(e);i&&(t=i,(n=document.querySelector("".concat(En)))&&n.classList.remove(En),t.classList.add(En),e.options.highlightClass&&i.classList.add(e.options.highlightClass),!1===e.options.canClickTarget&&(i.style.pointerEvents="none"))}},{key:"_skipStep",value:function(e,t){var n=this.steps.indexOf(e),i=t?n+1:n-1;this.show(i,t)}},{key:"_setTooltipDefaults",value:function(){Yt.setDefaultProps(Un)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var e=this.options.tourName||"tour",t=Yn();this.id="".concat(e,"--").concat(t)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}]),t}(ln);Z(Gn,{Tour:Jn,Step:gn,Evented:ln});var Kn=function(e){return 50===e?10:16},Qn=function(e,t){switch(e.toLowerCase()){case"top":return"translateY(".concat(Kn(t)-26,"px)");case"right":return"translateX(".concat(Kn(t),"px)");case"bottom":return"translateY(".concat(Kn(t),"px)");case"left":return"translateX(".concat(Kn(t)-26,"px)")}},$n=function(e,t,n,i,o){var r,a=e.animation,s=void 0===a?{}:a,l=e.bg_color,c=void 0===l?"black":l,d=e.border,p=void 0===d?{}:d,u=e.buttons_config,h=void 0===u?[]:u,f=e.button_position,m=void 0===f?"right":f,v=e.corners,g=void 0===v?{}:v,b=e.shadow,y=void 0===b?"0 8px 16px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)":b,x=e.opacity,w=void 0===x?1:x,C=e.dismiss_outside_touch,_=void 0!==C&&C,E=e.dismiss_target_touch,k=void 0===E||E,L=e.position,O=void 0===L?"TOP":L,D=e.text_config,I=void 0===D?{}:D,N=e.title_config,P=void 0===N?{}:N,F=e.view_id,H=e.show_shadow,z=void 0!==H&&H,q=e.show_close_icon,Z=void 0!==q&&q,j=e.dim_background_color,V=void 0===j?"#0a0a0a":j,R=e.dim_background_opacity,U=void 0===R?.5:R,W=e.layout_type,X=void 0===W?"default":W,Y=e.pb_color,G=void 0===Y?"orange":Y,J=e.index,K=void 0===J?0:J,Q=e.total,$=void 0===Q?1:Q,ee=t.configId,te=t.configName,ne=M(h,Xn,ee,te),ie=ne.buttons_array,oe=ne.buttons_css,re={color:I.color,fontSize:I.size,fontFamily:I.font_family,fontStyle:I.style};if(I.margin_config&&Object.keys(I.margin_config).length>0){var ae=I.margin_config;re.margin="".concat(ae.top,"px ").concat(ae.right,"px ").concat(ae.bottom,"px ").concat(ae.left,"px")}var se=I.style;"bold"===se&&(re.fontWeight=se);var le,ce={color:P.color,fontSize:P.size,fontFamily:P.font_family,fontStyle:P.style};if(P.margin_config&&Object.keys(P.margin_config).length>0){var de=P.margin_config;ce.margin="".concat(de.top,"px ").concat(de.right,"px ").concat(de.bottom,"px ").concat(de.left,"px")}switch("bold"===(se=P.style)&&(re.fontWeight=se),X){case"with_progress":le='\n<div>\n <div style="height: 6px;background: '.concat(G,";width: ").concat((K+1)/$*100,"%;border-radius: ").concat(g.enabled?g.width:0,'px;"></div>\n <header class="shepherd-header" style="').concat(P?"padding: 10px 10px 0 10px":"",'">\n ').concat(P?'<h3 class="shepherd-title" id="apxor-step-'.concat(K,'-label" style="padding: 0 !important;padding-right: 0.7em;">').concat(B(null==P?void 0:P.text,null==P?void 0:P.segments),"</h3>"):"",'\n </header>\n <p style="padding: 8px 10px">').concat(B(null==I?void 0:I.text,null==I?void 0:I.segments),"</p>\n</div>\n "),le=(new DOMParser).parseFromString(le,"text/html").body.children[0];break;default:le=(null==I||null===(r=I.segments)||void 0===r?void 0:r.length)>0?B(null==I?void 0:I.text,null==I?void 0:I.segments):[I&&I.text?I.text:"Tap here"]}var pe={"border-radius":g.enabled?g.width:0,background:c,"border-color":p.color,"border-width":p.width},ue=null;try{ue=document.querySelector("#"+F)}catch(e){}if(!ue)try{ue=document.querySelector(F)}catch(e){}if(ue||(ue=A(F)),ue){var he=document.createElement("span");he.setAttribute("id","apxor-style-"+ee+"-step-"+K);var fe=document.createElement("style");fe.innerHTML='\n#shepherdModalOverlayContainer {\n -ms-filter: "progid:dximagetransform.microsoft.gradient.alpha(Opacity=50)";\n filter: alpha(opacity=50);height: 100vh;left: 0;opacity: '.concat(null!=U?U:.5,";position: fixed;\n top: 0;transition: all .3s ease-out;width: 100vw;z-index: 9997;fill: ").concat(null!=V?V:"transparent","\n}\n#shepherdModalOverlayContainer #shepherdModalMask, #shepherdModalOverlayContainer #shepherdModalMaskRect {\n height: 100vh;width: 100vw\n}\n.shepherd-modal.shepherd-enabled {\n position: relative;z-index: 9998\n}\n.shepherd-active.shepherd-modal-is-visible :not(.shepherd-target) {\n pointer-events: none\n}\n.shepherd-active.shepherd-modal-is-visible .shepherd-button, .shepherd-active.shepherd-modal-is-visible .shepherd-button *, .shepherd-active.shepherd-modal-is-visible .shepherd-cancel-link, .shepherd-active.shepherd-modal-is-visible .shepherd-cancel-link *, .shepherd-active.shepherd-modal-is-visible .shepherd-element, .shepherd-active.shepherd-modal-is-visible .shepherd-element *, .shepherd-active.shepherd-modal-is-visible .shepherd-target, .shepherd-active.shepherd-modal-is-visible .shepherd-target * {\n pointer-events: auto\n}\n.tippy-popper.shepherd {\n z-index: 999999\n}\n.tippy-popper.shepherd[x-placement^=top] {\n margin-top: 0px\n}\n.tippy-popper.shepherd[x-placement^=bottom] {\n margin-top: 8px\n}\n.tippy-popper.shepherd[x-placement^=left] {\n margin-right: 0px\n}\n.tippy-popper.shepherd[x-placement^=right] {\n margin-left: 0px\n}\n.tippy-popper.shepherd .tippy-tooltip .tippy-content {\n max-height: 100%;padding: 0;text-align: left;max-width: 400px;\n}\n.shepherd-element, .shepherd-element *, .shepherd-element:after, .shepherd-element :after, .shepherd-element:before, .shepherd-element :before {\n box-sizing: border-box\n}\n.shepherd-element {\n outline: none;\n}\n.shepherd-element .shepherd-content header {\n *zoom: 1;align-items: left;border-top-left-radius: 5px;border-top-right-radius: 5px;\n display: flex;justify-content: left;line-height: 2em;").concat(Z?"padding: .75em;":"",'\n}\n.shepherd-element .shepherd-content header:after {\n clear: both;content: "";display: table\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link, .shepherd-element .shepherd-content header .shepherd-title {\n margin: 0;padding: 0;position: relative;vertical-align: middle\n}\n.shepherd-element .shepherd-content header .shepherd-title {\n color: ').concat(ce.color,";display: flex;flex: 1 0 auto;\n font-size: ").concat(ce.fontSize,"px;font-family: ").concat(ce.fontFamily,";\n font-weight: ").concat("bold"!==ce.fontStyle?"normal":ce.fontStyle,";font-style: ").concat("italic"===ce.fontStyle?"italic":"unset",";\n line-height: ").concat("default"===X?"26":"20",'px;letter-spacing:0.01em;padding: .7em;padding-bottom: 0px;max-width: 400px;\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link {\n color: hsla(0, 0%, 70.2%, .75);font-size: 2em;margin-left: auto;\n text-decoration: none;transition: color .5s ease\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link:before {\n mix-blend-mode: screen;content: "×"\n}\n.shepherd-element .shepherd-content header .shepherd-cancel-link:hover {\n mix-blend-mode: difference;\n}\n.shepherd-element .shepherd-content .shepherd-text {\n line-height: 1em;').concat("default"===X?"padding:14px;padding-top:4px":"","\n}\n.shepherd-element .shepherd-content .shepherd-text a,\n.shepherd-element .shepherd-content .shepherd-text a:active,\n.shepherd-element .shepherd-content .shepherd-text a:visited {\n border-bottom: 1px dotted rgba(0, 0, 0, .75);color: ").concat(re.color,";\n opacity: 0.75;text-decoration: none\n}\n.shepherd-element .shepherd-content .shepherd-text a:active:hover, \n.shepherd-element .shepherd-content .shepherd-text a:hover,\n.shepherd-element .shepherd-content .shepherd-text a:visited:hover {\n border-bottom-style: solid\n}\n.shepherd-element .shepherd-content .shepherd-text p {\n margin-top: 0\n}\n.shepherd-element .shepherd-content .shepherd-text p:last-child {\n margin-bottom: 0\n}\n.shepherd-content > .shepherd-text p {\n font-size: ").concat(re.fontSize,"px;font-family: ").concat(re.fontFamily,"; \n font-weight: ").concat("bold"!==re.fontStyle?"normal":re.fontStyle,";\n font-style: ").concat("italic"===re.fontStyle?"italic":"unset",";\n color: ").concat(re.color,";line-height: ").concat("default"===X?"26":"20","px;letter-spacing:0.01em;\n}\n").concat(T(oe,m,".shepherd-element .shepherd-content "),"\n@-webkit-keyframes cycle {\n 0% { transform: ").concat(Qn(O,0),"; }\n 50% { transform: ").concat(Qn(O,50),"; }\n 100% { transform: ").concat(Qn(O,100),"; }\n}\n@keyframes cycle {\n 0% { transform: ").concat(Qn(O,0),"; }\n 50% { transform: ").concat(Qn(O,50),"; }\n 100% { transform: ").concat(Qn(O,100),"; }\n}\n.tippy-tooltip.apxor-").concat(ee,"-step-").concat(K,"-theme {\n animation: ").concat(s.enabled?s.type+" 1000ms":"none",";\n animation-timing-function: ease-in-out;animation-iteration-count: infinite;\n box-shadow: ").concat(z?y:"none",";color: ").concat(re.color,";\n opacity: ").concat(w,";border-radius: ").concat(pe["border-radius"]+"px",";\n background-color: ").concat(pe.background,";").concat(function(e){switch(e.toUpperCase()){case"TOP":return"top: -8px !important";case"LEFT":return"left: 0px !important";case"RIGHT":return"left: -0px !important";case"BOTTOM":return"top: 0px !important"}}(O),";\n}\n.apxor-").concat(ee,"-step-").concat(K,"-theme .tippy-roundarrow {\n fill: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='top'] .tippy-arrow {\n border-top-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='bottom'] .tippy-arrow {\n border-bottom-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='left'] .tippy-arrow {\n border-left-color: ").concat(pe.background,";\n}\n.tippy-tooltip[data-placement^='right'] .tippy-arrow {\n border-right-color: ").concat(pe.background,";\n}\n "),he.appendChild(fe),ue.parentNode.insertBefore(he,ue);var me=function(e){return function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(o)try{Xn.complete(),i&&e.logActionEvent("InlineTargetViewClicked",t,n)}catch(t){e.isShowingAction=!1,e.currentAction=null,console.error(t)}}(n,ee,te,!0,k)},ve=function(){var e;try{var t;null===(t=Xn)||void 0===t||t.complete()}catch(e){console.error(e)}be.disconnect(),ye.disconnect();try{var n,i=document.getElementById("apxor-style-"+ee+"-step-"+K);null==i||null===(n=i.parentNode)||void 0===n||n.removeChild(i)}catch(e){}try{var r,a=document.getElementById("shepherdModalOverlayContainer");null==a||null===(r=a.parentNode)||void 0===r||r.removeChild(a)}catch(e){}o&&o(null===(e=Xn)||void 0===e?void 0:e._isCancelled),ue.removeEventListener("click",me)},ge=!1,be=new MutationObserver((function(){if(!document.body.contains(ue)){document.getElementById("shepherdModalOverlayContainer").remove();var e=document.getElementsByClassName("apxor-".concat(ee,"-step-").concat(K,"-theme"));e.length>0&&e[0]&&e[0].parentNode&&e[0].parentNode.remove(),ve()}})),ye=new IntersectionObserver((function(){var e=S(ue);if(!e&&ge){document.getElementById("shepherdModalOverlayContainer").remove();var t=document.getElementsByClassName("apxor-".concat(ee,"-step-").concat(K,"-theme"));t.length>0&&t[0]&&t[0].parentNode&&t[0].parentNode.remove(),ve()}e&&(ge=!0)})),xe=B(null==P?void 0:P.text,null==P?void 0:P.segments);Xn.addStep("apxor-step-"+K,{title:"default"===X?""===xe?null:xe:null,text:le,classes:"apxor-".concat(ee,"-step-").concat(K,"-theme"),attachTo:{element:ue,on:O.toLowerCase()},showCancelLink:Z,buttons:ie,tippyOptions:{allowHTML:!0,arrow:!0,flipOnUpdate:!0,interactive:!0,maxWidth:"100%",hideOnClick:_,theme:"apxor-".concat(ee,"-step-").concat(K),modifiers:[{name:"preventOverflow",options:{altAxis:!0,tether:!1}}],onShow:function(){i&&i(),ue.addEventListener("click",me),be.observe(document.body,{childList:!0,subtree:!0}),ye.observe(ue)},onHidden:ve}})}else console.warn("Element not found with id or path")},ei=function(e,t,n,i,o,r,a){var s,l,c=Array.isArray(t)&&t.length>0,d=e.delay,p=e.dim_background,u=e.view_id,h=e.find_interval,f=void 0===h?0:h,m=e.scrollToView,v=void 0!==m&&m;"Script"===(null===(s=e.title_config)||void 0===s?void 0:s.text)&&(e.title_config.isDynamicText?I(e.title_config):N(e.title_config)),"Script"===(null===(l=e.text_config)||void 0===l?void 0:l.text)&&(e.text_config.isDynamicText?I(e.text_config):N(e.text_config));var g=!1;v&&(g={behavior:"smooth",block:"center"}),Xn=new Gn.Tour({defaultStepOptions:{scrollTo:g},useModalOverlay:c||p});var b=function(){var e=document.getElementById(u);if(!e)try{e=document.querySelector(u)}catch(e){}return e||(e=A(u)),e},y=function(n){try{var s=n.getBoundingClientRect();if(0===s.width||0===s.height)return console.warn("Width and height are 0 for: ",u,". Can't show"),void(o.currentAction=null)}catch(e){return o.isShowingAction=!1,void(o.currentAction=null)}if(c?t.forEach((function(e,t){var n=e.ui;$n(n,i,o,r,a)})):$n(e,i,o,r,a),o.isShowingAction)window.ApxorLogger.error("An action already being shown");else try{Xn.start(),o.isShowingAction=!0}catch(e){o.isShowingAction=!1,o.currentAction=null,console.error(e)}};return setTimeout((function(){var e=b();e?y(e):(console.warn("Element with id:".concat(u," not found.")),f?(console.warn("Rechecking"),function(e){var t=new Date,n=setInterval((function(){var i=b();i?(clearInterval(n),y(i)):(new Date-t)/1e3>10&&(clearInterval(n),console.warn("Element with id:".concat(e," not found.")),o.currentAction=null)}),f)}(u)):o.currentAction=null)}),d),!0===n.auto_dismiss&&setTimeout((function(){try{Xn.complete()}catch(e){o.isShowingAction=!1,o.currentAction=null,console.error(e)}}),d+n.duration),Xn.complete};function ti(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=n.length,o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*i));return t}var ni=ti(10);function ii(){return[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((function(e){return navigator.userAgent.match(e)}))}function oi(e){var t=e.color,n=void 0===t?"#000":t,i=e.font_family,o=void 0===i?"cursive":i,r=e.margin_config,a=void 0===r?{}:r,s=e.size,l=void 0===s?14:s,c=e.style,d=void 0===c?"bold":c,p=e.text,u=e.segments,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desc",f=document.createElement("span");f.setAttribute("id",ni+"-"+h),f.className="apx-class-".concat(ni,"-").concat(h);var m=document.createElement("style");return m.innerHTML="\n.apx-class-".concat(ni,"-").concat(h," {\n z-index:99999;text-align:initial;color:").concat(n," !important;\n font-family:").concat(o," !important;font-size:").concat(l,"px !important;font-weight:").concat(d," !important;\n font-style:").concat("normal"===d||"italic"===d?d+" !important":"unset",";max-width:400px;\n}\n "),Object.keys(a).length>0&&(f.style.margin="".concat(a.top,"px ").concat(a.right,"px ").concat(a.bottom,"px ").concat(a.left,"px")),f.appendChild(m),f.innerHTML=f.innerHTML+B(p,u),f}function ri(e,t,n,i,o,r){var a=Math.sqrt(Math.pow(e,2)+Math.pow(t,2)),s=a,l=n-(a-e)/2,c=i-(a-t)/2;"circle"!=o&&(a=e,s=t,l=n,c=i);var d=document.createElement("div");return d.setAttribute("id",ni+"-ripple-div"),r&&(d.innerHTML=function(e,t,n){return"\n<style>\n.ripple-animator {\n position: relative;display: -webkit-box;display: flex;-webkit-box-orient: horizontal;\n -webkit-box-direction: normal;flex-direction: row;-webkit-box-pack: center;\n justify-content: center;-webkit-box-align: center;align-items: center;\n height: ".concat(n,"px !important;width: ").concat(t,"px !important;\n border-radius: ").concat("circle"===e?"100%":"0",";\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);\n}\n.ripple-animator span {\n position: relative;font-size: 72px;top: 5px;left: -5px;\n}\n.ripple-animator::before {\n opacity: 0;display: -webkit-box;display: flex;-webkit-box-orient: horizontal;\n -webkit-box-direction: normal;flex-direction: row;-webkit-box-pack: center;\n justify-content: center;-webkit-box-align: center;align-items: center;\n position: ").concat(ii()?"unset":"absolute",";\n top: 0;left: 0;right: 0;bottom: 0;content: '';\n height: ").concat(ii()?n-9:n,"px !important;width: ").concat(t,"px !important;\n border: 5px solid rgba(255, 255, 255, 0.7);border-radius: ").concat("circle"===e?"100%":"0",";\n -webkit-animation-name: ripple;animation-name: ripple;-webkit-animation-duration: 1.5s;\n animation-duration: 1.5s;-webkit-animation-delay: 0.3s;animation-delay: 0.3s;\n -webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;\n -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);\n animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);\n z-index: 99999;\n}\n@-webkit-keyframes ripple {\n from {opacity: 1;-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);}\n to {opacity: 0;-webkit-transform: scale3d(1.25, 1.25, 1);transform: scale3d(1.25, 1.25, 1);}\n}\n@keyframes ripple {\n from {opacity: 1;-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);}\n to {opacity: 0;-webkit-transform: scale3d(1.25, 1.25, 1);transform: scale3d(1.25, 1.25, 1);}\n}\n</style>")}(o,a,s)),d.style.position="absolute",d.style.width="".concat(a,"px"),d.style.height="".concat(s,"px"),d.style.left="".concat(l,"px"),d.style.top="".concat(c,"px"),d.classList.add("ripple-animator"),d.style.borderRadius="".concat("circle"===o?"50%":"0"),d.style.visibility="hidden",document.body.appendChild(d),d}function ai(e,t){return'\n <svg\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'"\n class="apx-fade-in">\n <defs>\n <mask\n id="apx-mask"\n x="0"\n y="0"\n height="').concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'">\n ').concat(e,"\n </mask>\n </defs>\n ").concat(t,"\n </svg>\n ")}function si(e){var t=e.opacity,n=e.type,i=document.createElement("div");i.setAttribute("id",ni+"-svg"),i.style.position="absolute",i.style.left=0,i.style.top=0,i.style.zIndex=99998,i.style.width="100%",i.style.height="99%";var o="";return o="circle"===n?function(e){var t=e.bg_color,n=e.opacity,i=e.innerRadius,o=e.innerCenterX,r=e.innerCenterY,a=e.outerRadius,s=e.outerCircleCenterX,l=e.outerCircleCenterY;return ai('\n <rect\n x="'.concat(s-a,'"\n y="').concat(l-a<0?0:l-a,'"\n height="').concat(2*a,'"\n width="').concat(2*a,'"\n fill="#fff" />\n <circle\n cx="').concat(o,'"\n cy="').concat(r,'"\n r="').concat(i,'" />\n '),'\n <circle\n cx="'.concat(s,'" \n cy="').concat(l,'" \n r="').concat(a,'" \n fill="').concat(t,'" \n fill-opacity="').concat(n,'"\n mask="url(#apx-mask)" />\n '))}(e):function(e){var t=e.bg_color,n=e.opacity,i=e.targetElementLeft,o=e.targetElementTop,r=e.targetElementWidth,a=e.targetElementHeight;return ai('\n <rect\n x="0" y="0"\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'" \n fill="#fff" />\n <rect\n x="').concat(i,'" \n y="').concat(o,'" \n width="').concat(r,'" \n height="').concat(a,'" />\n '),'\n <rect\n x="0" y="0"\n height="'.concat(document.scrollingElement.scrollHeight,'" \n width="').concat(document.scrollingElement.scrollWidth,'" \n mask="url(#apx-mask)"\n fill="').concat(t,'" \n fill-opacity="').concat(n,'" />\n '))}(e),i.innerHTML="\n <style>\n @keyframes apx-anim {\n from {\n opacity: 0;\n }\n\n to {\n opacity: ".concat(t,";\n }\n }\n .apx-fade-in {\n animation: apx-anim 0.4s linear;\n }\n </style>\n ").concat(o),document.body.appendChild(i),i}function li(e,t,n,i,o){var r,a,s=e.bg_color,l=e.buttons_config,c=void 0===l?[]:l,d=e.button_position,p=e.coach_mark_details,u=p.has_ripple,h=void 0!==u&&u,f=p.type,m=void 0===f?"circle":f,v=e.delay,g=e.dismiss_outside_touch,b=void 0!==g&&g,y=e.opacity,x=void 0===y?.8:y,w=e.position,C=void 0===w?"TOP":w,_=e.text_config,E=e.title_config,L=void 0===E?null:E,O=e.view_id,D=e.scroll_to_view,B=void 0!==D&&D,P=t.configId,F=t.configName;"Script"===(null===(r=e.title_config)||void 0===r?void 0:r.text)&&(e.title_config.isDynamicText?I(e.title_config):N(e.title_config)),"Script"===(null===(a=e.text_config)||void 0===a?void 0:a.text)&&(e.text_config.isDynamicText?I(e.text_config):N(e.text_config));var H=document.getElementById(O);if(!H)try{H=document.querySelector(O)}catch(e){}if(H||(H=A(O)),H)if(ni=ti(10),B||S(H)){var z=!1,q=new MutationObserver((function(){document.body.contains(H)||Q()})),Z=new IntersectionObserver((function(){var e=S(H);!e&&z&&Q(),e&&(z=!0)})),j=function(e){var t=e.getBoundingClientRect(),n=t.left+window.scrollX,i=t.top+window.scrollY;return{left:n,top:i,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY,x:k(t.x)?t.x+window.scrollX:n,y:k(t.y)?t.y+window.scrollY:i,width:t.width,height:t.height}}(H),V=j.left,R=void 0===V?0:V,U=j.top,W=void 0===U?0:U,X=j.width,Y=void 0===X?0:X,G=j.height,J=void 0===G?0:G,K=j.left<window.innerWidth/2;if(0!==J&&0!==Y){var Q=function(){q.disconnect(),Z.disconnect(),ve.parentNode.removeChild(ve),$.parentNode.removeChild($),oe.parentNode.removeChild(oe),o&&o(),ge&&clearTimeout(ge)},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=null;if(!t&&e?s=oi(e):t&&e&&((s=document.createElement("div")).style.display="inline-flex",s.style.flexDirection="column",s.style.visibility="hidden",s.style.textAlign="center",s.style.lineHeight="26px",s.style.letterSpacing="0.01em",s.appendChild(oi(t)),s.appendChild(oi(e))),n&&n.length>0){var l=document.createElement("footer");l.className="shepherd-footer",l.style.zIndex=99999,l.style.margin="8px",l.style.padding="0";var c=function(){a&&a()},d=M(n,{next:c,complete:c,cancel:c},o,r),p=d.buttons_array,u=d.buttons_css,h=document.createElement("style");h.innerHTML=T(u,i),l.appendChild(h),p.forEach((function(e){var t=e.classes,n=e.text,i=e.action,o=(e.segments,document.createElement("button"));o.className="shepherd-button "+t,o.innerHTML=n,o.onclick=function(){return i()},l.appendChild(o)}));var f=document.createElement("div");f.style.display="inline-flex",f.style.flexDirection="column",f.style.visibility="hidden",f.appendChild(s),f.appendChild(l),s=f}return s.style.position="absolute",document.body.appendChild(s),s}(_,L,c,d,P,F,Q),ee=$.offsetWidth,te=$.offsetHeight,ne=0,ie=0;_&&_.margin_config&&(ne=Number(_.margin_config.left)||0,ie=Number(_.margin_config.right)||0);var oe=ri(Y,J,R,W,m,h),re=R+Y/2,ae=W+J/2,se=Math.sqrt(Math.pow(Y,2)+Math.pow(J,2))/2,le=se+Math.max(ee,Y)/2+10,ce=-1,de=-1,pe=-1,ue=-1,he=ae-se,fe=ae+se;switch(C){case"TOP":de=(pe=re-ee/2)<0?5:pe,ce="circle"===m?ae-se-te-25:W-te-25,ue=fe-Math.abs(fe-ce)/2;break;case"BOTTOM":case"RIGHT":case"LEFT":de=(pe=re-ee/2)<0?5:pe,ue=he+((ce="circle"===m?ae+se+25:W+J+25)+te-he)/2}if(-1!==de&&-1!==ce&&-1!==ue){!K&&de+ee>window.innerWidth&&(de=window.innerWidth-ee-ne-ie-10),$.style.left="".concat(de,"px"),$.style.top="".concat(ce,"px");var me=((pe=Math.min(R,de))+Math.max(R+Y,de+ee))/2;(me=Math.min(me,document.scrollingElement.scrollWidth))<0&&(me=0),(ue=Math.min(ue,document.scrollingElement.scrollHeight))<0&&(ue=0);var ve=si({bg_color:s,opacity:x,innerRadius:se,innerCenterX:re,innerCenterY:ae,outerRadius:le,outerCircleCenterX:me,outerCircleCenterY:ue,targetElementLeft:R,targetElementTop:W,targetElementWidth:Y,targetElementHeight:J,type:m});ve.style.visibility="hidden",oe.style.visibility="hidden",$.style.visibility="hidden";var ge=null,be=function(e){var t=!e,n=H.getBoundingClientRect();e&&e.clientX>=n.left&&e.clientX<=n.left+n.width&&e.clientY>=n.top&&e.clientY<=n.top+n.height&&(t=!0),(b||t)&&Q()};return n&&!0===n.auto_dismiss&&(ge=setTimeout((function(){return be()}),v+n.duration)),ve.style.visibility="visible",oe.style.visibility="visible",$.style.visibility="visible",$.childElementCount>0&&($.children[0].style.visibility="visible"),b&&ve.addEventListener("click",be),oe.addEventListener("click",be),B&&("TOP"===C?window.scrollTo({top:ue-le,behavior:"smooth"}):"BOTTOM"===C&&window.scrollTo({top:Math.min(document.scrollingElement.scrollHeight,ue+le),behavior:"smooth"})),q.observe(document.body,{childList:!0,subtree:!0}),Z.observe(H),i&&i(),be}console.warn("Failed to identify the right place for text")}else console.warn("Can't show on an invisible element: ",O)}else console.warn("Element ",O," not in viewport. Can't show");else console.warn("Element not found with id or path: ",O)}var ci=['<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9046C0 4.88216 4.88188 3.24249e-05 10.9049 3.24249e-05C16.9267 3.24249e-05 21.8085 4.88216 21.8085 10.9046C21.8085 16.9269 16.9267 21.809 10.9049 21.809C4.88188 21.809 0 16.9269 0 10.9046Z" fill="#E5510A"/>\n <path d="M7.6916 8.87557C7.6916 9.62346 7.33083 10.2299 6.88691 10.2299C6.44426 10.2299 6.0835 9.62346 6.0835 8.87557C6.0835 8.12768 6.44426 7.52116 6.88691 7.52116C7.33083 7.52116 7.6916 8.12768 7.6916 8.87557Z" fill="black"/>\n <path d="M15.7255 8.87557C15.7255 9.62346 15.366 10.2299 14.9221 10.2299C14.4782 10.2299 14.1187 9.62346 14.1187 8.87557C14.1187 8.12768 14.4782 7.52116 14.9221 7.52116C15.366 7.52116 15.7255 8.12768 15.7255 8.87557Z" fill="black"/>\n <path d="M9.15239 6.99092L8.42062 7.72205L5.98096 5.28226L6.71273 4.55126L9.15239 6.99092Z" fill="black"/>\n <path d="M13.3882 7.72205L12.6577 6.99092L15.0974 4.55126L15.8279 5.28226L13.3882 7.72205Z" fill="black"/>\n <path d="M7 16.4995C8 12.4995 13 10.4995 15 16.4998" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.808594 10.9046C0.808594 4.88216 5.69048 3.24249e-05 11.7135 3.24249e-05C17.7353 3.24249e-05 22.6171 4.88216 22.6171 10.9046C22.6171 16.9269 17.7353 21.809 11.7135 21.809C5.69048 21.809 0.808594 16.9269 0.808594 10.9046Z" fill="#EA731D"/>\n <path d="M8.5002 8.87557C8.5002 9.62346 8.13942 10.2299 7.6955 10.2299C7.25286 10.2299 6.89209 9.62346 6.89209 8.87557C6.89209 8.12768 7.25286 7.52116 7.6955 7.52116C8.13942 7.52116 8.5002 8.12768 8.5002 8.87557Z" fill="black"/>\n <path d="M16.5341 8.87557C16.5341 9.62346 16.1746 10.2299 15.7307 10.2299C15.2867 10.2299 14.9272 9.62346 14.9272 8.87557C14.9272 8.12768 15.2867 7.52116 15.7307 7.52116C16.1746 7.52116 16.5341 8.12768 16.5341 8.87557Z" fill="black"/>\n <path d="M7.80859 16.4998C8.80859 12.4998 13.8086 10.4997 15.8086 16.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.617188 10.9046C0.617188 4.88216 5.49907 3.24249e-05 11.5221 3.24249e-05C17.5439 3.24249e-05 22.4257 4.88216 22.4257 10.9046C22.4257 16.9269 17.5439 21.809 11.5221 21.809C5.49907 21.809 0.617188 16.9269 0.617188 10.9046Z" fill="#EA8F4D"/>\n <path d="M8.30879 8.87557C8.30879 9.62346 7.94802 10.2299 7.50409 10.2299C7.06145 10.2299 6.70068 9.62346 6.70068 8.87557C6.70068 8.12768 7.06145 7.52116 7.50409 7.52116C7.94802 7.52116 8.30879 8.12768 8.30879 8.87557Z" fill="black"/>\n <path d="M16.3427 8.87557C16.3427 9.62346 15.9832 10.2299 15.5393 10.2299C15.0953 10.2299 14.7358 9.62346 14.7358 8.87557C14.7358 8.12768 15.0953 7.52116 15.5393 7.52116C15.9832 7.52116 16.3427 8.12768 16.3427 8.87557Z" fill="black"/>\n <path d="M7.61719 15.4999C8.95052 13.0405 13.1172 11.9999 15.6172 15.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.425781 10.9046C0.425781 4.88216 5.30767 3.24249e-05 11.3307 3.24249e-05C17.3524 3.24249e-05 22.2343 4.88216 22.2343 10.9046C22.2343 16.9269 17.3524 21.809 11.3307 21.809C5.30767 21.809 0.425781 16.9269 0.425781 10.9046Z" fill="#F1B052"/>\n <path d="M8.11738 8.87557C8.11738 9.62346 7.75661 10.2299 7.31269 10.2299C6.87004 10.2299 6.50928 9.62346 6.50928 8.87557C6.50928 8.12768 6.87004 7.52116 7.31269 7.52116C7.75661 7.52116 8.11738 8.12768 8.11738 8.87557Z" fill="black"/>\n <path d="M16.1513 8.87557C16.1513 9.62346 15.7918 10.2299 15.3479 10.2299C14.9039 10.2299 14.5444 9.62346 14.5444 8.87557C14.5444 8.12768 14.9039 7.52116 15.3479 7.52116C15.7918 7.52116 16.1513 8.12768 16.1513 8.87557Z" fill="black"/>\n <path d="M8.42578 15.5002C9.92578 14.0001 12.4258 14.0001 13.9258 15.5001" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9046C0.234375 4.88216 5.11626 3.24249e-05 11.1393 3.24249e-05C17.161 3.24249e-05 22.0429 4.88216 22.0429 10.9046C22.0429 16.9269 17.161 21.809 11.1393 21.809C5.11626 21.809 0.234375 16.9269 0.234375 10.9046Z" fill="#F8C94F"/>\n <path d="M7.92598 8.87557C7.92598 9.62346 7.5652 10.2299 7.12128 10.2299C6.67864 10.2299 6.31787 9.62346 6.31787 8.87557C6.31787 8.12768 6.67864 7.52116 7.12128 7.52116C7.5652 7.52116 7.92598 8.12768 7.92598 8.87557Z" fill="black"/>\n <path d="M15.9599 8.87557C15.9599 9.62346 15.6004 10.2299 15.1564 10.2299C14.7125 10.2299 14.353 9.62346 14.353 8.87557C14.353 8.12768 14.7125 7.52116 15.1564 7.52116C15.6004 7.52116 15.9599 8.12768 15.9599 8.87557Z" fill="black"/>\n <path d="M7.73438 15.5002C9.73438 15.4999 11.7344 15.4997 14.7344 15.5" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9046C0 4.88216 4.88188 3.20353e-05 10.9049 3.20353e-05C16.9267 3.20353e-05 21.8085 4.88216 21.8085 10.9046C21.8085 16.9269 16.9267 21.809 10.9049 21.809C4.88188 21.809 0 16.9269 0 10.9046Z" fill="#F8C94F"/>\n <path d="M7.6916 8.87557C7.6916 9.62346 7.33083 10.2299 6.88691 10.2299C6.44426 10.2299 6.0835 9.62346 6.0835 8.87557C6.0835 8.12768 6.44426 7.52116 6.88691 7.52116C7.33083 7.52116 7.6916 8.12768 7.6916 8.87557Z" fill="black"/>\n <path d="M15.7255 8.87557C15.7255 9.62346 15.366 10.2299 14.9221 10.2299C14.4782 10.2299 14.1187 9.62346 14.1187 8.87557C14.1187 8.12768 14.4782 7.52116 14.9221 7.52116C15.366 7.52116 15.7255 8.12768 15.7255 8.87557Z" fill="black"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.0429688 10.9046C0.0429688 4.88216 4.92485 3.24249e-05 10.9479 3.24249e-05C16.9696 3.24249e-05 21.8515 4.88216 21.8515 10.9046C21.8515 16.9269 16.9696 21.809 10.9479 21.809C4.92485 21.809 0.0429688 16.9269 0.0429688 10.9046Z" fill="#F6DE4F"/>\n <path d="M7.73457 8.87557C7.73457 9.62346 7.3738 10.2299 6.92987 10.2299C6.48723 10.2299 6.12646 9.62346 6.12646 8.87557C6.12646 8.12768 6.48723 7.52116 6.92987 7.52116C7.3738 7.52116 7.73457 8.12768 7.73457 8.87557Z" fill="black"/>\n <path d="M15.7685 8.87557C15.7685 9.62346 15.409 10.2299 14.965 10.2299C14.5211 10.2299 14.1616 9.62346 14.1616 8.87557C14.1616 8.12768 14.5211 7.52116 14.965 7.52116C15.409 7.52116 15.7685 8.12768 15.7685 8.87557Z" fill="black"/>\n <path d="M13.543 14.3751C12.043 15.8751 9.54297 15.8751 8.04297 14.3751" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.851562 10.9046C0.851562 4.88216 5.73345 3.24249e-05 11.7565 3.24249e-05C17.7782 3.24249e-05 22.6601 4.88216 22.6601 10.9046C22.6601 16.9269 17.7782 21.809 11.7565 21.809C5.73345 21.809 0.851562 16.9269 0.851562 10.9046Z" fill="#D7D55A"/>\n <path d="M8.54316 8.87557C8.54316 9.62346 8.18239 10.2299 7.73847 10.2299C7.29582 10.2299 6.93506 9.62346 6.93506 8.87557C6.93506 8.12768 7.29582 7.52116 7.73847 7.52116C8.18239 7.52116 8.54316 8.12768 8.54316 8.87557Z" fill="black"/>\n <path d="M16.577 8.87557C16.577 9.62346 16.2176 10.2299 15.7736 10.2299C15.3297 10.2299 14.9702 9.62346 14.9702 8.87557C14.9702 8.12768 15.3297 7.52116 15.7736 7.52116C16.2176 7.52116 16.577 8.12768 16.577 8.87557Z" fill="black"/>\n <path d="M15.3516 14.3749C13.8516 17.0001 9.85156 17.0002 7.85156 14.375" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.660156 10.9046C0.660156 4.88216 5.54204 3.24249e-05 11.5651 3.24249e-05C17.5868 3.24249e-05 22.4687 4.88216 22.4687 10.9046C22.4687 16.9269 17.5868 21.809 11.5651 21.809C5.54204 21.809 0.660156 16.9269 0.660156 10.9046Z" fill="#B7CF6A"/>\n <path d="M8.35176 8.87557C8.35176 9.62346 7.99099 10.2299 7.54706 10.2299C7.10442 10.2299 6.74365 9.62346 6.74365 8.87557C6.74365 8.12768 7.10442 7.52116 7.54706 7.52116C7.99099 7.52116 8.35176 8.12768 8.35176 8.87557Z" fill="black"/>\n <path d="M16.3856 8.87557C16.3856 9.62346 16.0262 10.2299 15.5822 10.2299C15.1383 10.2299 14.7788 9.62346 14.7788 8.87557C14.7788 8.12768 15.1383 7.52116 15.5822 7.52116C16.0262 7.52116 16.3856 8.12768 16.3856 8.87557Z" fill="black"/>\n <path d="M15.1602 13.375C14.6602 17.5002 8.16016 17.5003 7.66016 13.3751" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.46875 10.9046C0.46875 4.88216 5.35063 3.24249e-05 11.3737 3.24249e-05C17.3954 3.24249e-05 22.2773 4.88216 22.2773 10.9046C22.2773 16.9269 17.3954 21.809 11.3737 21.809C5.35063 21.809 0.46875 16.9269 0.46875 10.9046Z" fill="#A3CF6A"/>\n <path d="M8.16035 8.87557C8.16035 9.62346 7.79958 10.2299 7.35566 10.2299C6.91301 10.2299 6.55225 9.62346 6.55225 8.87557C6.55225 8.12768 6.91301 7.52116 7.35566 7.52116C7.79958 7.52116 8.16035 8.12768 8.16035 8.87557Z" fill="black"/>\n <path d="M16.1942 8.87557C16.1942 9.62346 15.8347 10.2299 15.3908 10.2299C14.9469 10.2299 14.5874 9.62346 14.5874 8.87557C14.5874 8.12768 14.9469 7.52116 15.3908 7.52116C15.8347 7.52116 16.1942 8.12768 16.1942 8.87557Z" fill="black"/>\n <path d="M14.9688 13.375C14.4688 17.5002 7.96875 17.5003 7.46875 13.3751L14.9688 13.375Z" fill="black" stroke="black" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 26 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g filter="url(#filter0_d_5652_8965)">\n <path d="M2.23438 12.9046C2.23438 6.88216 7.11626 2.00003 13.1393 2.00003C19.161 2.00003 24.0429 6.88216 24.0429 12.9046C24.0429 18.9269 19.161 23.809 13.1393 23.809C7.11626 23.809 2.23438 18.9269 2.23438 12.9046Z" fill="#7BB65C"/>\n </g>\n <path d="M16.7344 15.375C16.2344 19.5002 9.73438 19.5003 9.23438 15.3751L16.7344 15.375Z" fill="black" stroke="black" stroke-linecap="round"/>\n <path d="M11.636 10.1074L11.6368 10.0965C11.6368 9.41374 11.1424 8.78855 10.3998 8.78855C9.80994 8.78855 9.46817 9.21257 9.35106 9.60952C9.23482 9.21257 8.89217 8.78855 8.3023 8.78855C7.55975 8.78855 7.06616 9.41374 7.06616 10.0965V10.1074C7.06269 10.256 7.06616 11.7676 9.35019 12.9997V13L9.35106 12.9998V13L9.35193 12.9998V13V12.9997C11.6368 11.7676 11.6403 10.256 11.636 10.1074Z" fill="black"/>\n <path d="M19.3357 10.1074V10.0965C19.3357 9.41374 18.8421 8.78855 18.0995 8.78855C17.5097 8.78855 17.1679 9.21257 17.0508 9.60952C16.9345 9.21257 16.5919 8.78855 16.002 8.78855C15.2595 8.78855 14.7659 9.41374 14.7659 10.0965V10.1074C14.7624 10.256 14.7659 11.7676 17.0499 12.9997V13L17.0508 12.9998V13L17.0516 12.9998V13V12.9997C19.3365 11.7676 19.34 10.256 19.3357 10.1074Z" fill="black"/>\n <defs>\n <filter id="filter0_d_5652_8965" x="0.34469" y="0.582736" width="25.588" height="25.5883" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n <feMorphology radius="0.472421" operator="dilate" in="SourceAlpha" result="effect1_dropShadow_5652_8965"/>\n <feOffset dy="0.472421"/>\n <feGaussianBlur stdDeviation="0.708632"/>\n <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>\n <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_5652_8965"/>\n <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_5652_8965" result="shape"/>\n </filter>\n </defs>\n </svg>'],di=['<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9042C0 4.8818 4.88188 -0.000334176 10.9049 -0.000334176C16.9267 -0.000334176 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.69209 8.87521C7.69209 9.6231 7.33132 10.2295 6.88739 10.2295C6.44475 10.2295 6.08398 9.6231 6.08398 8.87521C6.08398 8.12732 6.44475 7.52079 6.88739 7.52079C7.33132 7.52079 7.69209 8.12732 7.69209 8.87521Z" fill="#646A6F"/>\n <path d="M15.726 8.87521C15.726 9.6231 15.3665 10.2295 14.9226 10.2295C14.4786 10.2295 14.1191 9.6231 14.1191 8.87521C14.1191 8.12732 14.4786 7.52079 14.9226 7.52079C15.3665 7.52079 15.726 8.12732 15.726 8.87521Z" fill="#646A6F"/>\n <path d="M9.1519 6.99055L8.42013 7.72168L5.98047 5.28189L6.71224 4.55089L9.1519 6.99055Z" fill="#646A6F"/>\n <path d="M13.3887 7.72168L12.6582 6.99055L15.0979 4.55089L15.8284 5.28189L13.3887 7.72168Z" fill="#646A6F"/>\n <path d="M7 16.4997C8 12.4996 13 10.4996 15 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.808594 10.9042C0.808594 4.8818 5.69048 -0.000334176 11.7135 -0.000334176C17.7353 -0.000334176 22.6171 4.8818 22.6171 10.9042C22.6171 16.9266 17.7353 21.8086 11.7135 21.8086C5.69048 21.8086 0.808594 16.9266 0.808594 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.50068 8.87521C8.50068 9.6231 8.13991 10.2295 7.69599 10.2295C7.25334 10.2295 6.89258 9.6231 6.89258 8.87521C6.89258 8.12732 7.25334 7.52079 7.69599 7.52079C8.13991 7.52079 8.50068 8.12732 8.50068 8.87521Z" fill="#646A6F"/>\n <path d="M16.5346 8.87521C16.5346 9.6231 16.1751 10.2295 15.7312 10.2295C15.2872 10.2295 14.9277 9.6231 14.9277 8.87521C14.9277 8.12732 15.2872 7.52079 15.7312 7.52079C16.1751 7.52079 16.5346 8.12732 16.5346 8.87521Z" fill="#646A6F"/>\n <path d="M7.80859 16.4997C8.80859 12.4996 13.8086 10.4996 15.8086 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.617188 10.9042C0.617188 4.8818 5.49907 -0.000334176 11.5221 -0.000334176C17.5439 -0.000334176 22.4257 4.8818 22.4257 10.9042C22.4257 16.9266 17.5439 21.8086 11.5221 21.8086C5.49907 21.8086 0.617188 16.9266 0.617188 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.30928 8.87521C8.30928 9.6231 7.9485 10.2295 7.50458 10.2295C7.06194 10.2295 6.70117 9.6231 6.70117 8.87521C6.70117 8.12732 7.06194 7.52079 7.50458 7.52079C7.9485 7.52079 8.30928 8.12732 8.30928 8.87521Z" fill="#646A6F"/>\n <path d="M16.3432 8.87521C16.3432 9.6231 15.9837 10.2295 15.5398 10.2295C15.0958 10.2295 14.7363 9.6231 14.7363 8.87521C14.7363 8.12732 15.0958 7.52079 15.5398 7.52079C15.9837 7.52079 16.3432 8.12732 16.3432 8.87521Z" fill="#646A6F"/>\n <path d="M7.61719 15.4995C8.95052 13.0401 13.1172 11.9996 15.6172 15.4996" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.425781 10.9042C0.425781 4.8818 5.30767 -0.000333786 11.3307 -0.000333786C17.3524 -0.000333786 22.2343 4.8818 22.2343 10.9042C22.2343 16.9266 17.3524 21.8086 11.3307 21.8086C5.30767 21.8086 0.425781 16.9266 0.425781 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.11787 8.87521C8.11787 9.6231 7.7571 10.2295 7.31318 10.2295C6.87053 10.2295 6.50977 9.6231 6.50977 8.87521C6.50977 8.12732 6.87053 7.52079 7.31318 7.52079C7.7571 7.52079 8.11787 8.12732 8.11787 8.87521Z" fill="#646A6F"/>\n <path d="M16.1518 8.87521C16.1518 9.6231 15.7923 10.2295 15.3483 10.2295C14.9044 10.2295 14.5449 9.6231 14.5449 8.87521C14.5449 8.12732 14.9044 7.52079 15.3483 7.52079C15.7923 7.52079 16.1518 8.12732 16.1518 8.87521Z" fill="#646A6F"/>\n <path d="M8.42578 15.5001C9.92578 14 12.4258 14 13.9258 15.5" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.92647 8.87521C7.92647 9.6231 7.56569 10.2295 7.12177 10.2295C6.67912 10.2295 6.31836 9.6231 6.31836 8.87521C6.31836 8.12732 6.67912 7.52079 7.12177 7.52079C7.56569 7.52079 7.92647 8.12732 7.92647 8.87521Z" fill="#646A6F"/>\n <path d="M15.9603 8.87521C15.9603 9.6231 15.6009 10.2295 15.1569 10.2295C14.713 10.2295 14.3535 9.6231 14.3535 8.87521C14.3535 8.12732 14.713 7.52079 15.1569 7.52079C15.6009 7.52079 15.9603 8.12732 15.9603 8.87521Z" fill="#646A6F"/>\n <path d="M7.73438 15.5003C9.73438 15.5 11.7344 15.4998 14.7344 15.5001" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.92647 8.87521C7.92647 9.6231 7.56569 10.2295 7.12177 10.2295C6.67912 10.2295 6.31836 9.6231 6.31836 8.87521C6.31836 8.12732 6.67912 7.52079 7.12177 7.52079C7.56569 7.52079 7.92647 8.12732 7.92647 8.87521Z" fill="#646A6F"/>\n <path d="M15.9603 8.87521C15.9603 9.6231 15.6009 10.2295 15.1569 10.2295C14.713 10.2295 14.3535 9.6231 14.3535 8.87521C14.3535 8.12732 14.713 7.52079 15.1569 7.52079C15.6009 7.52079 15.9603 8.12732 15.9603 8.87521Z" fill="#646A6F"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.0429688 10.9042C0.0429688 4.8818 4.92485 -0.000333786 10.9479 -0.000333786C16.9696 -0.000333786 21.8515 4.8818 21.8515 10.9042C21.8515 16.9266 16.9696 21.8086 10.9479 21.8086C4.92485 21.8086 0.0429688 16.9266 0.0429688 10.9042Z" fill="#D9DCDE"/>\n <path d="M7.73506 8.87521C7.73506 9.6231 7.37429 10.2295 6.93036 10.2295C6.48772 10.2295 6.12695 9.6231 6.12695 8.87521C6.12695 8.12732 6.48772 7.52079 6.93036 7.52079C7.37429 7.52079 7.73506 8.12732 7.73506 8.87521Z" fill="#646A6F"/>\n <path d="M15.7689 8.87521C15.7689 9.6231 15.4095 10.2295 14.9655 10.2295C14.5216 10.2295 14.1621 9.6231 14.1621 8.87521C14.1621 8.12732 14.5216 7.52079 14.9655 7.52079C15.4095 7.52079 15.7689 8.12732 15.7689 8.87521Z" fill="#646A6F"/>\n <path d="M13.543 14.3749C12.043 15.875 9.54297 15.875 8.04297 14.375" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.851562 10.9042C0.851562 4.8818 5.73345 -0.000333786 11.7565 -0.000333786C17.7782 -0.000333786 22.6601 4.8818 22.6601 10.9042C22.6601 16.9266 17.7782 21.8086 11.7565 21.8086C5.73345 21.8086 0.851562 16.9266 0.851562 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.54365 8.87521C8.54365 9.6231 8.18288 10.2295 7.73896 10.2295C7.29631 10.2295 6.93555 9.6231 6.93555 8.87521C6.93555 8.12732 7.29631 7.52079 7.73896 7.52079C8.18288 7.52079 8.54365 8.12732 8.54365 8.87521Z" fill="#646A6F"/>\n <path d="M16.5775 8.87521C16.5775 9.6231 16.218 10.2295 15.7741 10.2295C15.3302 10.2295 14.9707 9.6231 14.9707 8.87521C14.9707 8.12732 15.3302 7.52079 15.7741 7.52079C16.218 7.52079 16.5775 8.12732 16.5775 8.87521Z" fill="#646A6F"/>\n <path d="M15.3516 14.3748C13.8516 17 9.85156 17 7.85156 14.3749" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.660156 10.9042C0.660156 4.8818 5.54204 -0.000333786 11.5651 -0.000333786C17.5868 -0.000333786 22.4687 4.8818 22.4687 10.9042C22.4687 16.9266 17.5868 21.8086 11.5651 21.8086C5.54204 21.8086 0.660156 16.9266 0.660156 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.35225 8.87521C8.35225 9.6231 7.99147 10.2295 7.54755 10.2295C7.10491 10.2295 6.74414 9.6231 6.74414 8.87521C6.74414 8.12732 7.10491 7.52079 7.54755 7.52079C7.99147 7.52079 8.35225 8.12732 8.35225 8.87521Z" fill="#646A6F"/>\n <path d="M16.3861 8.87521C16.3861 9.6231 16.0266 10.2295 15.5827 10.2295C15.1388 10.2295 14.7793 9.6231 14.7793 8.87521C14.7793 8.12732 15.1388 7.52079 15.5827 7.52079C16.0266 7.52079 16.3861 8.12732 16.3861 8.87521Z" fill="#646A6F"/>\n <path d="M15.1602 13.3748C14.6602 17.5 8.16016 17.5 7.66016 13.3749" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.46875 10.9042C0.46875 4.8818 5.35063 -0.000333786 11.3737 -0.000333786C17.3954 -0.000333786 22.2773 4.8818 22.2773 10.9042C22.2773 16.9266 17.3954 21.8086 11.3737 21.8086C5.35063 21.8086 0.46875 16.9266 0.46875 10.9042Z" fill="#D9DCDE"/>\n <path d="M8.16084 8.87521C8.16084 9.6231 7.80007 10.2295 7.35614 10.2295C6.9135 10.2295 6.55273 9.6231 6.55273 8.87521C6.55273 8.12732 6.9135 7.52079 7.35614 7.52079C7.80007 7.52079 8.16084 8.12732 8.16084 8.87521Z" fill="#646A6F"/>\n <path d="M16.1947 8.87521C16.1947 9.6231 15.8352 10.2295 15.3913 10.2295C14.9474 10.2295 14.5879 9.6231 14.5879 8.87521C14.5879 8.12732 14.9474 7.52079 15.3913 7.52079C15.8352 7.52079 16.1947 8.12732 16.1947 8.87521Z" fill="#646A6F"/>\n <path d="M14.9688 13.3748C14.4688 17.5 7.96875 17.5 7.46875 13.3749L14.9688 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n </svg>','<svg width="40" height="40" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 10.9042C0 4.8818 4.88188 -0.000333786 10.9049 -0.000333786C16.9267 -0.000333786 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n <path d="M14.5 13.3748C14 17.5 7.5 17.5 7 13.3749L14.5 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n <path d="M9.40207 8.10736L9.40294 8.09652C9.40294 7.41374 8.90848 6.78855 8.16593 6.78855C7.57606 6.78855 7.23428 7.21257 7.11718 7.60952C7.00094 7.21257 6.65828 6.78855 6.06841 6.78855C5.32586 6.78855 4.83227 7.41374 4.83227 8.09652V8.10736C4.8288 8.25596 4.83227 9.76759 7.1163 10.9997V11L7.11718 10.9998V11L7.11804 10.9998V11V10.9997C9.40294 9.76759 9.40641 8.25596 9.40207 8.10736Z" fill="#646A6E"/>\n <path d="M17.1013 8.10736V8.09652C17.1013 7.41374 16.6077 6.78855 15.8652 6.78855C15.2753 6.78855 14.9335 7.21257 14.8164 7.60952C14.7001 7.21257 14.3575 6.78855 13.7676 6.78855C13.0251 6.78855 12.5315 7.41374 12.5315 8.09652V8.10736C12.528 8.25596 12.5315 9.76759 14.8155 10.9997V11L14.8164 10.9998V11L14.8173 10.9998V11V10.9997C17.1022 9.76759 17.1056 8.25596 17.1013 8.10736Z" fill="#646A6E"/>\n </svg>'],pi=['<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0 10.9042C0 4.8818 4.88188 -0.000334176 10.9049 -0.000334176C16.9267 -0.000334176 21.8085 4.8818 21.8085 10.9042C21.8085 16.9266 16.9267 21.8086 10.9049 21.8086C4.88188 21.8086 0 16.9266 0 10.9042Z" fill="#D9DCDE"/>\n<path d="M7.69209 8.87521C7.69209 9.6231 7.33132 10.2295 6.88739 10.2295C6.44475 10.2295 6.08398 9.6231 6.08398 8.87521C6.08398 8.12732 6.44475 7.52079 6.88739 7.52079C7.33132 7.52079 7.69209 8.12732 7.69209 8.87521Z" fill="#646A6F"/>\n<path d="M15.726 8.87521C15.726 9.6231 15.3665 10.2295 14.9226 10.2295C14.4786 10.2295 14.1191 9.6231 14.1191 8.87521C14.1191 8.12732 14.4786 7.52079 14.9226 7.52079C15.3665 7.52079 15.726 8.12732 15.726 8.87521Z" fill="#646A6F"/>\n<path d="M9.1519 6.99055L8.42013 7.72168L5.98047 5.28189L6.71224 4.55089L9.1519 6.99055" fill="#646A6F"/>\n<path d="M13.3887 7.72168L12.6582 6.99055L15.0979 4.55089L15.8284 5.28189L13.3887 7.72168" fill="#646A6F"/>\n<path d="M7 16.4997C8 12.4996 13 10.4996 15 16.4999" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.808594 10.9042C0.808594 4.8818 5.69048 -0.000333786 11.7135 -0.000333786C17.7353 -0.000333786 22.6171 4.8818 22.6171 10.9042C22.6171 16.9266 17.7353 21.8086 11.7135 21.8086C5.69048 21.8086 0.808594 16.9266 0.808594 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.50068 8.87521C8.50068 9.6231 8.13991 10.2295 7.69599 10.2295C7.25334 10.2295 6.89258 9.6231 6.89258 8.87521C6.89258 8.12732 7.25334 7.52079 7.69599 7.52079C8.13991 7.52079 8.50068 8.12732 8.50068 8.87521Z" fill="#646A6F"/>\n<path d="M16.5346 8.87521C16.5346 9.6231 16.1751 10.2295 15.7312 10.2295C15.2872 10.2295 14.9277 9.6231 14.9277 8.87521C14.9277 8.12732 15.2872 7.52079 15.7312 7.52079C16.1751 7.52079 16.5346 8.12732 16.5346 8.87521Z" fill="#646A6F"/>\n<path d="M7.80859 15.4995C9.14193 13.0401 13.3086 11.9996 15.8086 15.4996" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.617188 10.9042C0.617188 4.8818 5.49907 -0.000333786 11.5221 -0.000333786C17.5439 -0.000333786 22.4257 4.8818 22.4257 10.9042C22.4257 16.9266 17.5439 21.8086 11.5221 21.8086C5.49907 21.8086 0.617188 16.9266 0.617188 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.30928 8.87521C8.30928 9.6231 7.9485 10.2295 7.50458 10.2295C7.06194 10.2295 6.70117 9.6231 6.70117 8.87521C6.70117 8.12732 7.06194 7.52079 7.50458 7.52079C7.9485 7.52079 8.30928 8.12732 8.30928 8.87521Z" fill="#646A6F"/>\n<path d="M16.3432 8.87521C16.3432 9.6231 15.9837 10.2295 15.5398 10.2295C15.0958 10.2295 14.7363 9.6231 14.7363 8.87521C14.7363 8.12732 15.0958 7.52079 15.5398 7.52079C15.9837 7.52079 16.3432 8.12732 16.3432 8.87521Z" fill="#646A6F"/>\n<path d="M8.11719 15.5003C10.1172 15.5 12.1172 15.4998 15.1172 15.5001" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.425781 10.9042C0.425781 4.8818 5.30767 -0.000333786 11.3307 -0.000333786C17.3524 -0.000333786 22.2343 4.8818 22.2343 10.9042C22.2343 16.9266 17.3524 21.8086 11.3307 21.8086C5.30767 21.8086 0.425781 16.9266 0.425781 10.9042Z" fill="#D9DCDE"/>\n<path d="M8.11787 8.87521C8.11787 9.6231 7.7571 10.2295 7.31318 10.2295C6.87053 10.2295 6.50977 9.6231 6.50977 8.87521C6.50977 8.12732 6.87053 7.52079 7.31318 7.52079C7.7571 7.52079 8.11787 8.12732 8.11787 8.87521Z" fill="#646A6F"/>\n<path d="M16.1518 8.87521C16.1518 9.6231 15.7923 10.2295 15.3483 10.2295C14.9044 10.2295 14.5449 9.6231 14.5449 8.87521C14.5449 8.12732 14.9044 7.52079 15.3483 7.52079C15.7923 7.52079 16.1518 8.12732 16.1518 8.87521Z" fill="#646A6F"/>\n<path d="M14.9258 13.3748C14.4258 17.5 7.92578 17.5 7.42578 13.3749L14.9258 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n</svg>','<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.234375 10.9042C0.234375 4.8818 5.11626 -0.000333786 11.1393 -0.000333786C17.161 -0.000333786 22.0429 4.8818 22.0429 10.9042C22.0429 16.9266 17.161 21.8086 11.1393 21.8086C5.11626 21.8086 0.234375 16.9266 0.234375 10.9042Z" fill="#D9DCDE"/>\n<path d="M14.7344 13.3748C14.2344 17.5 7.73438 17.5 7.23438 13.3749L14.7344 13.3748Z" fill="#646A6E" stroke="#646A6E" stroke-linecap="round"/>\n<path d="M9.63644 8.10736L9.63732 8.09652C9.63732 7.41374 9.14286 6.78855 8.40031 6.78855C7.81043 6.78855 7.46866 7.21257 7.35155 7.60952C7.23531 7.21257 6.89266 6.78855 6.30278 6.78855C5.56023 6.78855 5.06665 7.41374 5.06665 8.09652V8.10736C5.06318 8.25596 5.06665 9.76759 7.35068 10.9997V11L7.35155 10.9998V11L7.35241 10.9998V11V10.9997C9.63731 9.76759 9.64078 8.25596 9.63644 8.10736Z" fill="#646A6E"/>\n<path d="M17.3357 8.10736V8.09652C17.3357 7.41374 16.8421 6.78855 16.0995 6.78855C15.5097 6.78855 15.1679 7.21257 15.0508 7.60952C14.9345 7.21257 14.5919 6.78855 14.002 6.78855C13.2595 6.78855 12.7659 7.41374 12.7659 8.09652V8.10736C12.7624 8.25596 12.7659 9.76759 15.0499 10.9997V11L15.0508 10.9998V11L15.0516 10.9998V11V10.9997C17.3365 9.76759 17.34 8.25596 17.3357 8.10736Z" fill="#646A6E"/>\n</svg>'];var ui=function(e,t,n,i){var o=i.dim_background,r=i.dim_bg_color,a=i.dim_bg_opacity,s=i.position,l=document.createElement("div");l.setAttribute("id","apx-oly");var c=document.createElement("style"),d="center",p="center";switch(s){case"bottom-left":d="flex-start",p="flex-end";break;case"bottom-right":d="flex-end",p="flex-end";break;case"top-left":d="flex-start",p="flex-start";break;case"top-right":d="flex-end",p="flex-start"}var u="none";if(o){var h=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(r);u="rgb(".concat(h.r,", ").concat(h.g,", ").concat(h.b,", ").concat(a,")")}c.innerHTML="\n#apx-oly {\n width:100%;height:100%;position:fixed;top:0;left:0;background-color:".concat(u,";\n display:flex;justify-content:").concat(d,";align-items:").concat(p,";border-radius:3px;z-index:99999999\n}\n#apx-oly > * {font-family: inherit;box-sizing:unset}\n.apx-dlg-c {\n width:").concat(e,"px;max-height:").concat(window.innerHeight,"px;overflow: auto;min-height:").concat(t,"%;background:white;z-index:99999999;opacity:0;position:relative;visibility:hidden;\n transition:all 500ms cubic-bezier(0, -0.37, 0, 2.06);top:-15px;border-radius:3px;margin:20px\n}\n.apx-dlg-c.open {opacity:1;visibility:visible;top:0}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var f=document.createElement("div");return f.setAttribute("id","apx-dlg-c"),f.classList.add("apx-dlg-c"),l.appendChild(f),l.appendChild(c),l.on_dismiss=n,document.body.appendChild(l),l},hi=function(e){return"\n .apx-ta:focus {\n border: none;\n outline: none;\n }\n .apx-ta::placeholder {\n color: ".concat(e,";\n opacity: 0.5;\n }\n ")},fi=function(e,t){var n=e.answerMode,i=e.choices,o=void 0===i?[]:i,r=e.text_answer,a=void 0===r?"":r,s=e.selected_rating,l=void 0===s?-1:s,c=!0;n===g||n===v?c=-1!==o.findIndex((function(e){return!0===e.is_selected})):n===y?c=a.length>0:n===b&&(c=l>0);c?(t.className="apx-ba",t.disabled=!1):(t.className="apx-bi",t.disabled=!0)},mi=function(e){var t=e.maximum_characters,n=e.background_color,i=e.placeholder,o=e.text_color,r=document.createElement("textarea");return r.style="padding-top:4px;padding-left:4px;font-zie:14px;width:98%;height:100px;margin-top:8px;border:none;resize:none;background:".concat(n,";color:").concat(o),r.className="apx-ta",r.setAttribute("placeholder",i),r.setAttribute("maxlength",t),r},vi=function(e,t,n){var i=t.question_text_color,o=t.question_background_color,r=t.option_bg_color_active,a=t.option_bg_color_inactive,s=t.option_text_color_active,l=t.option_text_color_inactive,c=t.option_bg_type,d=e.rating_style,p=e.answerMode,u=e.choices,h=void 0===u?[]:u,f=e.rating,m=void 0===f?{rating_style:d,bg_color:"#D9DCDE",selected_bg_color:"#109B15"}:f,x=e.rating_scale,k=void 0===x?5:x,A=e.selected_rating,L=void 0===A?-1:A,T=e.text_answer,M=void 0===T?"":T,O=e.text_config?e.text_config:{maximum_characters:150,background_color:"#ccc",placeholder:"",text_color:"#000",placeholder_text_color:"#00000087"},S=!1,D=[];if(p===v||p===g){var I=mi(O);I.style.visibility="hidden";var N=function(e,t){e.style.color=t?s:l},B=function(e,t){var n=t?r:a;"filled"===c?e.style.background=n:"outline"===c&&(e.style.borderColor=n)};h.forEach((function(t,i){var o=document.createElement("label");o.className="apx-lc",o.innerText=t.value;var r=document.createElement("input");r.name=r.type=p===v?"radio":"checkbox",r.checked=t.is_selected;var a=document.createElement("span");a.className="apx-i",o.appendChild(r),o.appendChild(a),B(o,t.is_selected),N(o,t.is_selected),t.is_other&&(S=!0,I.addEventListener("input",(function(e){t.other_answer=e.target.value}))),t.is_selected&&t.is_other&&(I.style.visibility="visible",t.other_answer&&(I.value=t.other_answer)),p===g?r.onchange=function(i){var r=i.target.checked;t.is_selected=r,N(o,r),B(o,r),t.is_other&&(I.style.visibility=r?"visible":"hidden"),fi(e,n)}:(r.setAttribute("apx-key","radio"),r.setAttribute("apx-ci",i+""),r.onchange=function(){document.querySelectorAll('input[apx-key="radio"]').forEach((function(e,n){var i=e.checked;h[n].is_selected=i,N(e.parentNode,i),B(e.parentNode,i),t.is_other&&(I.style.visibility=i?"visible":"hidden")})),fi(e,n)}),D.push(o)})),S&&D.push(I)}else if(p===y&&null!==O){var P=O.example,F=O.example_text_color;if(""!==P&&""!==P.trim()){var H=document.createElement("span");H.innerHTML="Example: "+P,H.style.color=F,H.style.marginTop="12px",H.style.fontFamily="inherit",H.style.fontSize="15px",D.push(H)}var z=mi(O);z.addEventListener("input",(function(t){e.text_answer=t.target.value,t.target.value&&t.target.value.length>0&&(e.is_answered=!0),fi(e,n)})),""!==M&&""!==M.trim()&&(z.innerText=M),D.push(z)}else if(p===b){var q=m.rating_style,Z=m.bg_color,j=m.selected_bg_color,V=document.createElement("div");V.style="display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:5px;padding-top:8px;padding-bottom:8px;overflow:hidden";var R="",U=[],W="",X="cursor:pointer;font-size:30px;width:auto;height:auto;";if("stylized"===q)U=5==q?pi:di,R="opacity:1 !important;",W="".concat(X,"padding-right:7px;padding-top:4px;padding-bottom:2px;border-radius:50%;background:transparent;opacity:0.5;filter:drop-shadow(0px 0.586957px 1.76087px rgba(0, 0, 0, 0.11));width:40px");else if("classic"===q)U=5===k?C:w,R="opacity:1 !important;border:1.06px solid #017DFD; background-color:rgba(1, 125, 253, 0.1);\n ",W="".concat(X,"padding-right:7px;padding-top:4px;padding-bottom:2px;opacity:0.5;filter:drop-shadow(0px 0.586957px 1.76087px rgba(0, 0, 0, 0.11))");else if("star"===q){for(var Y=0;Y<k;Y++)U.push("⭐");R="filter:grayscale(0%) !important",W="".concat(X,"filter:grayscale(100%)")}else"numbers"===q&&(U=5==k?["1","2","3","4","5"]:["0","1","2","3","4","5","6","7","8","9","10"],R="background:".concat(j," !important;color:white !important;"),W="display:flex;justify-content:center;align-items:center;color:#646A6E;font-size:15px;width:40px;height:40px;background-color:".concat(Z,";box-shadow:0px 0.54801px 1.64403px 0.54801px rgba(0, 0, 0, 0.11);border-radius:50%"),V.style.marginTop="12px",V.style="display:flex;align-text:center;flex-wrap:wrap;justify-content:space-evenly;gap:15px;padding-top:8px;padding-bottom:8px;overflow:hidden");var G=document.createElement("style"),J="";(5==k?_:E).forEach((function(e,t){J+=".apx-rsel-".concat(t,"{\n background:").concat(e,"!important;\n color:white !important;\n }")})),G.innerHTML=".apx-rsel{".concat(R,"}")+J+".apx-r{".concat(W,"}\n "),V.appendChild(G);for(var K=function(e){return"star"!==q?e+1===L:e+1<=L},Q=[],$=0;$<U.length;$++){var ee=document.createElement("div");ee.innerHTML="".concat("numbers"===q?"":" ").concat(U[$]);var te=document.createElement("div");"classic"===q&&("".concat(te.innerHTML=$+1),te.style.fontSize="12.83px",te.style.marginLeft="8px",te.style.display="flex",te.style.fontWeight="500",te.style.justifyContent="center",te.style.alignItems="center",ee.appendChild(te),ee.style.display="flex",ee.style.justifyContent="center",ee.style.alignItems="center",ee.style.flexDirection="column",ee.style.width="46px",ee.style.height="70px"),K($)&&ee.classList.add("apx-rsel"),ee.classList.add("apx-r"),Q.push(ee)}Q.forEach((function(t,i){e.selected_rating=i+1,t.addEventListener("click",(function(){if("stylized"===q&&Q.forEach((function(e,t){e.innerHTML=t===i?" "+ci[i]:" "+di[t]})),"numbers"===q?t.classList.add("apx-rsel-".concat(i)):t.classList.add("apx-rsel"),e.is_answered=!0,fi(e,n),"numbers"===q){for(var o=0;o<i;o++)Q[o].classList.remove("apx-rsel-".concat(o));for(var r=i+1;r<U.length;r++)Q[r].classList.remove("apx-rsel-".concat(r))}else if("star"===q){for(var a=0;a<i+1;a++)Q[a].classList.add("apx-rsel");for(var s=i+1;s<U.length;s++)Q[s].classList.remove("apx-rsel")}else{for(var l=0;l<i;l++)Q[l].classList.remove("apx-rsel");for(var c=i+1;c<U.length;c++)Q[c].classList.remove("apx-rsel")}e.rulesArray.forEach((function(t){if(e.selected_rating>=t.min&&e.selected_rating<=t.max){var i,o=document.createElement("span");o.setAttribute("id","nps_advanced"),o.innerHTML=null===(i=t.question)||void 0===i?void 0:i.question;var r=mi(O);r.addEventListener("input",(function(t){e.text_answer=t.target.value,t.target.value&&t.target.value.length>0&&(e.is_answered=!0),fi(e,n)})),o.appendChild(r),V.appendChild(o);var a=document.getElementById("nps_advanced");a&&V.removeChild(a),o.appendChild(r),V.appendChild(o)}else{var s=document.getElementById("nps_advanced");s&&V.removeChild(s)}}))})),V.appendChild(t)})),D.push(V)}var ne=document.createElement("div");ne.style.padding="14px",ne.style.display="flex",ne.style.flexDirection="column",ne.style.minHeight="340px";var ie=document.createElement("style"),oe="";p===y?oe=hi(O.placeholder_text_color):p!==v&&p!==g||(oe=function(e,t,n,i,o,r){return"\n .apx-lc {\n display: block;\n position: relative;\n background: ".concat("outline"===r?"unset":"filled"===r?n:"unset",";\n border: ").concat("outline"===r?"1px solid "+n:"filled"===r?n:"unset",";\n padding: ").concat("none"!==r?"10px 10px 10px 35px":"0px 0px 0px 35px",";\n margin-bottom: 12px;\n font-family: inherit;\n top: 10px;\n cursor: pointer;\n font-size: 18px;\n color: ").concat(o,";\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .apx-lc input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n width: 0;\n height: 0;\n }\n\n .apx-i {\n position: absolute;\n left: 6px;\n height: 14px;\n width: 14px;\n border: 1px solid ").concat(o,";\n background-color: white;\n border-radius: ").concat(e===v?"50%":0,";\n }\n\n .apx-lc:hover input ~ .apx-i {\n border: 1px solid ").concat(i,";\n }\n\n .apx-lc input:checked ~ .apx-i {\n background-color: ").concat(t,";\n border: 1px solid ").concat(i,';\n }\n\n .apx-i:after {\n content: "";\n position: absolute;\n display: none;\n }\n\n .apx-lc input:checked ~ .apx-i:after {\n display: block;\n }\n\n .apx-lc .apx-i:after {\n top: ').concat(e===v?2:1,"px;\n left: ").concat(e===v?2:4,"px;\n width: ").concat(e===v?10:4,"px;\n height: ").concat(e===v?10:8,"px;\n border-radius: ").concat(e===v?"50%":"0",";\n background: ").concat(e===v?i:"transparent",";\n border: ").concat(e===v?"none":"solid white",";\n border-width: ").concat(e===v?"unset":"0 3px 3px 0",";\n -webkit-transform: ").concat(e===v?"unset":"rotate(45deg)",";\n -ms-transform: ").concat(e===v?"unset":"rotate(45deg)",";\n transform: ").concat(e===v?"unset":"rotate(45deg)",";\n }\n ")}(p,r,a,s,l,c),S&&(oe+=hi(O.placeholder_text_color))),ie.innerHTML=oe.replaceAll("\n","").replace(/[\s]{2,999}/g,""),ne.appendChild(ie);var re=document.createElement("span");return re.innerText=e.title,re.style="margin-bottom:12px;color:".concat(i,";background-color:").concat(o,";font-size:16px;font-weight:600"),ne.appendChild(re),D.forEach((function(e){return ne.appendChild(e)})),ne},gi=function(e,t,n,i,o,r){var a=function(e,t,n,i){var o=e.cancel_button_color,r=e.previous_button_color,a=document.createElement("button"),s=document.createElement("button");a.disabled=0===t,a.setAttribute("type","button"),a.className="apx-b apx-pr",a.innerHTML="<style>.apx-pr::before{content:'\\2190';font-size:22px;color:".concat(r).concat(0===t?"54":"",";}.apx-pr{cursor:").concat(0===t?"no-drop":"pointer",";margin-top:-6px}</style>"),s.className="apx-b apx-cb",s.setAttribute("type","button"),s.innerHTML="<style>.apx-cb::before{content:'\\0000d7';font-size:26px;color:".concat(o,";}</style>");var l=document.createElement("div");l.style="display:flex;justify-content:space-between;align-items:center;padding:8px;padding-bottom:0";var c=document.createElement("span");return c.style="font-size:14px;color:#000;opacity:0.3;letter-spacing:0.005em;line-height:12px",c.innerText=i?"":"".concat(t+1,"/").concat(n),l.appendChild(a),l.appendChild(c),l.appendChild(s),{prevButton:a,closeButton:s,headerNode:l}}(e,i,o,r),s=a.headerNode,l=a.prevButton,c=a.closeButton,d=function(e,t,n,i,o){var r=e.skip_text_color,a=e.submit_text_color,s=e.submit_active_color,l=e.submit_inactive_color,c=n===i-1||o?null:document.createElement("button");c&&(c.innerText="Skip",c.className="apx-b",c.style="font-size:14px;font-weight:600;opacity:1;font-style:inherit;color:".concat(r,";background-color:transparent;margin:0px 12px"));var d=document.createElement("button");d.innerHTML="".concat(n===i-1?"Submit":"Next >","<style>.apx-ba{background-color:").concat(s,";cursor:pointer}.apx-bi{background-color:").concat(l,";cursor:no-drop}</style>"),d.style="border:none;border-radius:2px;color:".concat(a,";padding:8px 15px;font-family:inherit"),fi(t,d);var p=document.createElement("div");return p.style="padding:14px;display:flex;justify-content:flex-end",c&&p.appendChild(c),p.appendChild(d),{footerNode:p,skipButton:c,submitButton:d}}(e,n,i,o,n.is_required),p=d.skipButton,u=d.submitButton,h=d.footerNode,f=vi(n,t,u),m=document.createElement("div");m.className="apx-sq";var v=document.createElement("style");return v.innerHTML=".apx-sq > * {font-family:inherit;}.apx-sq {height:100%;width:100%;display:flex;flex-direction:column}.apx-b{border:none;background:none;opacity:1;cursor:pointer;font-family:inherit}",m.appendChild(v),m.appendChild(s),m.appendChild(f),{questionRoot:m,footerNode:h,prevButton:l,closeButton:c,skipButton:p,submitButton:u}},bi=window.ApxorLogger,yi=l((function e(t){var n=this;a(this,e),c(this,"Kcbt",(function(){n.is_selected=!1,n.other_answer=null}));var i=t.id,o=t.value,r=t.is_other,s=t.next_question_id;if(!i||!o)throw new Error("Invalid Choice");this.id=i,this.value=o,this.is_other=r,this.next_question_id=s,this.is_selected=!1,this.other_answer=null})),xi=l((function e(t){var n=this;a(this,e),c(this,"Kcbt",(function(){n.is_answered=!1,n.text_answer="",n.selected_rating=-1,n.choices.forEach((function(e){return e.Kcbt()}))}));var i=t.id,o=t.answer_mode,r=t.title,s=t.is_required,l=t.submit_text,d=t.rating_style,u=t.rating_scale,h=t.choices,f=void 0===h?[]:h,m=t.text_config,x=void 0===m?null:m,w=t.randomize_choices,C=void 0!==w&&w,_=t.response_cfg,E=void 0===_?{}:_,k=t.advanced_options,A=t.rules,L=void 0===A?[]:A;if(!i||!o)throw new Error("Invalid question");var T=-1;switch(o){case"single_choice":T=v;break;case"multi_choice":T=g;break;case"text":T=y;break;case"rating":T=b;break;default:T=-1}if(this.answerMode=T,this.id=i,this.is_required=s,this.submit_text=l,this.randomize_choices=C,this.response_cfg=E,this.text_config=x,this.title=r,this.rating_style=d,this.rating_scale=u,this.is_answered=!1,this.selected_rating=-1,this.rules=L,this.rulesArray=[],k&&this.rules.forEach((function(e){if(t.hasOwnProperty(e.qid)){var i={max:e.max,min:e.min,question:t[e.qid]};n.rulesArray.push(i)}})),this.choices=[],this.answerMode===v||this.answerMode===g){for(var M,O=[],S=0;S<f.length;S++){var D=new yi(f[S]);D.is_other?O.push(D):this.choices.push(D)}C&&(this.choices=p(this.choices).map((function(e,t,n){var i=t+Math.floor(Math.random()*(n.length-t)),o=[n[t],n[i]];return n[i]=o[0],n[t]=o[1],n[t]}))),(M=this.choices).push.apply(M,O)}})),wi=l((function e(){var n=this;a(this,e),c(this,"initialize",(function(e,t,i){var o=i.delay,r=i.dialog_config,a=void 0===r?null:r,s=i.show_progress_bar,l=void 0===s||s,c=i.is_response_based_survey,d=void 0!==c&&c,p=i.questions,u=void 0===p?[]:p,h=i.show_success_message,f=void 0===h||h,m=i.auto_hide_message,v=void 0===m?2e3:m,g=i.success_message,b=void 0===g?"":g,y=i.question_text_color,x=void 0===y?"#002845":y,w=i.submit_active_color,C=void 0===w?"#017DFD":w,_=i.submit_inactive_color,E=void 0===_?"#017DFD65":_,k=i.option_bg_type,A=void 0===k?"filled":k,L=i.option_text_color_active,T=void 0===L?"#002845":L,M=i.option_text_color_inactive,O=void 0===M?"#002845":M,S=i.option_bg_color_active,D=void 0===S?"#FFF":S,I=i.option_bg_color_inactive,N=void 0===I?"#FFF":I,B=i.question_background_color,P=void 0===B?"#FFF":B,F=i.success_message_bg_color,H=void 0===F?"#109B15":F,z=i.success_message_icon_color,q=void 0===z?"#109B15":z,Z=i.success_message_text_color,j=void 0===Z?"#002845":Z,V=i.skip_text_color,R=void 0===V?"#017DFD":V,U=i.cancel_button_color,W=void 0===U?"#000":U,X=i.previous_button_color,Y=void 0===X?"#000":X,G=i.progress_bar_color,J=void 0===G?"#017DFD":G,K=i.submit_text_color,Q=void 0===K?"#FFF":K,$=i.width,ee=void 0===$?350:$,te=i.min_height,ne=void 0===te?40:te,ie=i.position,oe=void 0===ie?"center":ie,re=i.dim_background,ae=void 0===re||re,se=i.dim_bg_color,le=void 0===se?"#313131":se,ce=i.dim_bg_opacity,de=void 0===ce?.54:ce;n.configId=e,n.name=t,n.delay=o,n.is_response_based_survey=d,n.show_success_message=f,n.success_message=b,n.auto_hide_message=v,n.questions=[],n.displayedQuestionIndeces=[],n.answered_questions=[],n.width=ee,n.min_height=ne,n.layoutConfig={show_progress_bar:l,skip_text_color:R,cancel_button_color:W,previous_button_color:Y,progress_bar_color:J,submit_text_color:Q,submit_active_color:C,submit_inactive_color:E,success_message_bg_color:H,success_message_icon_color:q,success_message_text_color:j,position:oe,dim_background:ae,dim_bg_color:le,dim_bg_opacity:de},n.questionConfig={question_text_color:x,question_background_color:P,option_bg_color_active:D,option_bg_color_inactive:N,option_text_color_active:T,option_text_color_inactive:O,option_bg_type:A},a&&(n.dialog_config=a);for(var pe=0;pe<u.length;pe++)try{if("request_survey"===u[pe].answer_mode||"success_message"===u[pe].answer_mode)continue;n.questions.push(new xi(u[pe])),n.answered_questions.push(-1)}catch(e){return bi.error("Failed to parse Q",pe,e),!1}return!(n.questions.length<1)||(n.isValid=!1,!1)})),c(this,"JlVG",(function(e,t){n.isValid&&setTimeout((function(){try{var i=window.ApxorRTM;if(null!==i.currentAction&&void 0!==i.currentAction)return void bi.error("An action is already being shown.");n.startTime=Date.now();var o=ui(n.width,n.min_height,t,n.layoutConfig);if(n.bodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",n.OOOH("apx_survey_launched"),n.dialog_config){var r=n.dialog_config,a=r.icon_name,s=void 0===a?"":a,l=r.icon_width,c=r.icon_height,d=o.children[0];o.style.visibility="hidden",d.style.visibility="hidden",setTimeout((function(){d.innerHTML=function(e){var t,n,i,o=e.icon_name,r=void 0===o?"":o,a=e.title,s=void 0===a?"Some dummy title":a,l=e.yes_text,c=void 0===l?"Yes":l,d=e.icon_width,p=void 0===d?180:d,u=e.icon_height,h=void 0===u?100:u,f=e.no_text,m=void 0===f?"No, thanks":f,v=e.dialog_background_color,g=void 0===v?"#FFF":v,b=e.title_color,y=void 0===b?"#3C3C3C":b,x=e.yes_button_bg_color,w=void 0===x?"#017DFD":x,C=(e.no_button_bg_color,e.yes_button_text_color),_=void 0===C?"#FFF":C,E=e.no_button_text_color,k=void 0===E?"#017DFD":E,A=(e.hide_close_button,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return"line-height:20px;letter-spacing:0.005em;font-size:".concat(e,"px;font-weight:").concat(t,";")});return'\n <div style="display:flex;flex-direction:column;height:100%;width:100%;background-color:'.concat(g,';align-items:center;margin-top:20px;border-radius:3px">\n ').concat((t=r,n=p,i=h,t&&""!==t&&0!==n&&0!==i?'<img id="apx_icon" src="'.concat(t,'" style="width:').concat(n,"px;height:").concat(i,'px;">'):""),'<span style="').concat(A(16,600),"text-align:center;color:").concat(y,';margin:12px 0px;">').concat(s,'</span>\n <button id="').concat("apx-dy",'" style="').concat(A(14,500),"color:").concat(_,";background-color:").concat(w,';border-radius:2px;border:none;padding:8px 20px;margin-bottom:10px;cursor:pointer">').concat(c,'</button>\n <button id="').concat("apx-dn",'" style="').concat(A(14,500),"color:").concat(k,';background:none;border:none;cursor:pointer;margin-bottom:20px">').concat(m,"</button>\n </div>\n ")}(n.dialog_config),document.getElementById("apx-dy").onclick=function(){n.OOOH("apx_survey_dialog_yes_clicked"),d.style.minHeight=n.min_height+"%",n.liMH(o,!0)},document.getElementById("apx-dn").onclick=function(){n.OOOH("apx_survey_dialog_no_clicked"),n.uTuQ(o)};var e=function(){o.style.visibility="visible",d.style.visibility="visible",d.style.minHeight=""===s||0===l||0===c?"13%":"25%",d.classList.toggle("open"),n.OOOH("apx_survey_dialog_launched")};if(""!==s&&l>0&&c>0){var t=document.getElementById("apx_icon");t.onload=function(){e()},t.onerror=function(){n.OOOH("apx_survey_dialog_icon_failed"),n.uTuQ(o)}}else e()}),100)}else n.liMH(o);e&&e((function(){return n.uTuQ(o)}))}catch(e){bi.error(e)}}),n.delay)})),c(this,"liMH",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=n.layoutConfig,o=i.show_progress_bar,r=i.progress_bar_color,a=document.createElement("div");a.style="height:4px;overflow:hidden;position:relative;margin-bottom:10px;";var s=document.createElement("div");s.setAttribute("id","apx-pb"),s.style="border-radius:10px;top:0;left:0;width:100%;bottom:0;position:absolute;transition:transform 0.4s linear;transform-origin:left;background-color:".concat(r),a.appendChild(s),o||(a.style.visibility="hidden");var l=e.children[0];(t||l&&l.childElementCount>1)&&l.removeChild(l.children[l.childElementCount-1]),l.appendChild(a),n.ObbP(e,0),t||setTimeout((function(){e.children[0].classList.toggle("open")}),100)})),c(this,"MOhV",(function(e){if(-1==e||!e)return-1;var t=n.questions.length;if(t>0)for(var i=0;i<t;i++)if(n.questions[i].id==e)return i;return-1})),c(this,"Hqkg",(function(e,t){var i=e.answerMode,o=e.choices,r=void 0===o?[]:o;switch(i){case b:var a=null==e?void 0:e.response_cfg[(null==e?void 0:e.selected_rating)||11];a?t=n.MOhV(a):t+=1;break;case v:var s;if(r.forEach((function(e){e.is_selected&&(s=e)})),s){var l=s.next_question_id;t=n.MOhV(l)}else t+=1;break;case g:case y:default:t+=1}return t})),c(this,"ObbP",(function(e,t){if(!(t>=n.questions.length)){var i=n.questions[t],o=gi(n.layoutConfig,n.questionConfig,i,t,n.questions.length,n.is_response_based_survey),r=o.prevButton,a=void 0===r?null:r,s=o.closeButton,l=void 0===s?null:s,c=o.submitButton,d=void 0===c?null:c,p=o.skipButton,u=void 0===p?null:p,h=o.questionRoot,f=o.footerNode,m=e.children[0];m&&m.childElementCount>2&&(m.removeChild(m.children[m.childElementCount-1]),m.removeChild(m.children[m.childElementCount-1])),document.getElementById("apx-pb").style.transform="translateX(".concat(-(100-100/n.questions.length*(t+1)),"%)"),m.appendChild(h),m.appendChild(f),a&&(a.onclick=function(){n.pdhM(t);var i=n.displayedQuestionIndeces.pop();void 0!==i&&n.ObbP(e,i)}),l&&l.addEventListener("click",(function(){n.OOOH("apx_survey_close_clicked",{where:"question "+(t+1)}),n.pdhM(t),n.GTsR(e,!1)})),d&&(d.onclick=function(){if(n.displayedQuestionIndeces.push(t),n.is_response_based_survey){n.pdhM(t);var o=n.Hqkg(i,t);o===n.questions.length||-1===o?n.GTsR(e,!0):n.ObbP(e,o)}else n.pdhM(t),t===n.questions.length-1?n.GTsR(e,!0):n.ObbP(e,t+1)}),u&&(u.onclick=function(){n.displayedQuestionIndeces.push(t),t+1>=n.questions.length||(n.OOOH("apx_survey_skip_clicked",{where:"question "+(t+1)}),n.pdhM(t),n.ObbP(e,t+1))})}})),c(this,"pdhM",(function(e){if(-1===n.answered_questions[e]){var t=n.questions[e],i=n.ouTs(e),o={question_id:t.id,answers:i.answers};t.rules.length>0&&t.rulesArray.forEach((function(e){if(t.selected_rating>=e.min&&t.selected_rating<=e.max){var n=t.text_answer;o.answers=[].concat(p(o.answers),[n])}})),i.answers.length>0&&(n.OOOH("apx_survey_".concat(n.questions[e].title),{data:o}),n.answered_questions[e]=1)}})),c(this,"OOOH",(function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.logEvent(e,o({survey_id:n.configId,name:n.name},i))})),c(this,"ouTs",(function(e){var t=n.questions[e];if(!t)return null;var i={answers:[],answerTexts:[],others:[],textBasedQuestionAnswers:[]},o=t.answerMode,r=t.choices,a=void 0===r?[]:r,s=t.selected_rating,l=void 0===s?-1:s,c=t.text_answer,d=void 0===c?"":c,p=t.is_answered,u=void 0!==p&&p,h=t.text_config,f=void 0===h?null:h;switch(o){case v:case g:a.forEach((function(e){e.is_selected&&(i.answers.push(e.id),i.answerTexts.push(e.value),e.is_other&&null!==e.other_answer&&""!==e.other_answer.trim()&&i.others.push({id:e.id,answer:e.other_answer}))}));break;case y:u&&""!==d&&""!==d.trim()&&null!==f&&(i.answers.push(f.id),i.answerTexts.push(d),i.textBasedQuestionAnswers.push({id:f.id,answer:d}));break;case b:-1!==l&&(i.answers.push(l),i.answerTexts.push(l))}return i})),c(this,"uTuQ",(function(e){e.on_dismiss&&e.on_dismiss(),e.children[0].classList.toggle("open"),setTimeout((function(){e.parentNode.removeChild(e),document.body.style.overflow=n.bodyOverflow,n.bodyOverflow=""}),400)})),c(this,"yrqy",(function(e){var t=e.children[0];t.style.minHeight="unset",t&&t.childElementCount>2&&(t.removeChild(t.children[t.childElementCount-1]),t.removeChild(t.children[t.childElementCount-1]));var i=document.getElementById("apx-pb");i.parentNode.removeChild(i);var o,r,a,s,l,c,d=(o=n.success_message,r=n.layoutConfig,a=r.success_message_bg_color,s=r.success_message_icon_color,l=r.success_message_text_color,(c=document.createElement("div")).style="display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%;background: ".concat(a,"; min-height:480px"),c.innerHTML='\n <span style="font-size: 40px;border-radius: 50%;padding: 10px;padding-bottom: 2px;padding-top: 2px;color: white;background: '.concat(s,';">✓</span>\n <span style="font-size: 17px;margin-top:15px;color:').concat(l,'">').concat(o,"</span>\n "),c);t.appendChild(d),setTimeout((function(){n.uTuQ(e)}),n.auto_hide_message)})),c(this,"GTsR",(function(e,i){i&&n.show_success_message?n.yrqy(e):n.uTuQ(e);var r={survey_id:n.configId,name:n.name,responses:[]};if(n.questions.forEach((function(e,t){var i=n.ouTs(t);if(i.answers.length>0){var a={question_id:e.id,answers:i.answers};e.rules.length>0&&e.rulesArray.forEach((function(t){if(e.selected_rating>=t.min&&e.selected_rating<=t.max){var n=t.question.text_config,i=e.text_answer;a.answers=[].concat(p(a.answers),[n.id]);var r={id:n.id,answer:i};(a=o(o({},a),{},{others:[]})).others=[].concat(p(a.others),[r])}})),i.others.length>0?a.others=i.others:i.textBasedQuestionAnswers.length>0&&(a.others=i.textBasedQuestionAnswers),r.responses.push(a)}})),r.responses.length>0){var a=Math.pow(10,3);r.time_taken=Math.round((Date.now()-n.startTime)/1e3*a)/a;var s=t.getController(),l=s.getFromStorage("_apx_cd",!0).session_info.launch_time;r.session_id=t.getSessionId(),r.is_completed=i,r.app_version=s.getFromStorage("apx_ver",!1),r.device_uuid=t.getClientId(),r.launch_time=l,r.user_attributes=s.getUserAttributes(),r.session_attributes=s.getSessionAttributes(),n.ZgMi(r)}i&&n.OOOH("apx_survey_completed"),n.questions.forEach((function(e,t){e.Kcbt(),n.answered_questions[t]=-1})),n.startTime=-1,n.bodyOverflow=""})),c(this,"ZgMi",(function(e){var n=m.replace("<app_id>",t.getSiteId());fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})})),this.isValid=!0,this.dialog_config=null})),Ci=l((function e(){a(this,e),c(this,"parse",(function(e,t,n){var i=new wi;return i.initialize(e,t,n)?i:null}))})),_i=function(){function e(t,n,i){var o=this;a(this,e),c(this,"oXma",(function(){try{var e=o.videoConfig,t=e.width,n=void 0===t?360:t,i=e.height,r=(void 0===i?360:i)/n,a=window.innerWidth,s=window.innerHeight;a>s?(o.height=.45*s,o.width=o.height/r):(o.width=.45*a,o.height=o.width*r)}catch(e){console.log("Error \n ".concat(e," \n occured while calculating the video height and width"))}})),c(this,"tnNB",(function(){var e=document.getElementById("apxor-mpl-styles");e&&e.remove()})),c(this,"GqBx",(function(){return o.videoElement})),c(this,"hLim",(function(){try{document.pictureInPictureElement?(document.exitPictureInPicture(),o.tnNB()):document.pictureInPictureEnabled&&o.videoElement.requestPictureInPicture()}catch(e){console.error("Failed to load PIP ".concat(e))}})),c(this,"OGvD",(function(){var e=o.videoConfig,t=e.pip_btn_color,n=void 0===t?"#ffffff":t,i=e.close_btn_color,r=void 0===i?"#ffffff":i,a=e.enable_PIP,s=document.createElement("span");if(s.innerHTML='\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill='.concat(r,' class="bi bi-x-circle" viewBox="0 0 16 16">\n <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>\n <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>\n </svg>'),s.classList.add("apxor-close-btn"),s.addEventListener("click",(function(e){try{o.miniPlayer.remove(),o.hideCallback(),o.tnNB()}catch(e){console.log("Error \n ".concat(e," \n occured while closing the video"))}})),o.miniPlayer.appendChild(s),a){var l=document.createElement("span");l.innerHTML='\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill='.concat(n,' class="bi bi-pip" viewBox="0 0 16 16">\n <path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9zM1.5 3a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/>\n <path d="M8 8.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-3z"/>\n </svg>'),l.classList.add("apxor-pip-btn"),l.addEventListener("click",(function(e){try{o.videoElement.disablePictureInPicture=!1,o.videoElement.requestPictureInPicture()}catch(e){console.log("Error \n ".concat(e," \n while starting the PIP"))}})),o.miniPlayer.appendChild(l)}})),c(this,"dqZj",(function(){var e=o.videoConfig.enable_pip_toggles;if(void 0===e||e){o.videoElement.addEventListener("leavepictureinpicture",(function(){o.videoElement.disablePictureInPicture=!0,"PIP"===o.videoConfig.video_mode?(o.hideCallback(),o.miniPlayer.remove()):o.miniPlayer.classList.remove("apxor-hide-elmt")}),!1);o.videoElement.addEventListener("enterpictureinpicture",(function(){o.miniPlayer.classList.add("apxor-hide-elmt")}),!1)}})),c(this,"XNZG",(function(){o.miniPlayer.classList.add("apxor-hide-elmt")})),c(this,"RCpz",(function(){o.miniPlayer.classList.remove("apxor-hide-elmt")})),c(this,"BVlQ",(function(){var e=o.videoConfig,t=e.buttons_config,n=e.uuid,i=void 0===n?"":n,r=e.name,a=void 0===r?"MiniPlayer":r,s=e.button_position,l=void 0===s?"center":s;if(t&&t.length>0){var c=document.createElement("footer");c.setAttribute("id","apxor-cta-btn"),c.classList.add("shepherd-footer"),c.classList.add("apxor-video-cta"),c.classList.add("apxor-hide-elmt"),c.style.zIndex=99999999,c.style.margin="8px",c.style.padding="0";var d=function(){try{o.miniPlayer.remove(),o.hideCallback(),o.tnNB()}catch(e){console.log("Can't close the video player\n".concat(e))}},p=M(t,{next:d,complete:d,cancel:d},i,a),u=p.buttons_array,h=p.buttons_css,f=document.createElement("style");f.innerHTML=T(h,l),c.appendChild(f),u.forEach((function(e){var t=e.classes,n=e.text,i=e.action,o=(e.segments,document.createElement("button"));o.className="shepherd-button "+t,o.innerHTML=n,o.onclick=function(){return i()},c.appendChild(o)})),o.miniPlayer.appendChild(c)}})),this.videoConfig=t,this.miniPlayer=null,this.videoElement=null,this.showCallback=n,this.hideCallback=i,this.height=320,this.width=320}return l(e,[{key:"createPlayer",value:function(){this.miniPlayer=document.createElement("div"),this.miniPlayer.setAttribute("id","apxor-mini-player"),this.oXma(),this._setMiniPlayerStyles(),this._setMiniPlayerPosition(),this._setPlayerContent(),this.dqZj(),this.OGvD(),this.BVlQ(),this.XNZG(),document.body.appendChild(this.miniPlayer)}},{key:"_setMiniPlayerStyles",value:function(){if(!document.getElementById("apxor-mpl-styles")){var e=document.createElement("style");e.setAttribute("id","apxor-mpl-styles"),e.innerHTML='\n div.apxor-mini-player--topLeft {\n position: fixed;\n top: 0;\n left: 0;\n background-color: #000000;\n z-index:99999999;\n }\n \n div.apxor-mini-player--topRight {\n position: fixed;\n top: 0;\n right: 0;\n background-color: #000000;\n z-index:99999999;\n }\n \n div.apxor-mini-player--bottomLeft {\n position: fixed;\n bottom: 0;\n left: 0;\n background-color: #000000;\n z-index:99999999;\n }\n \n div.apxor-mini-player--bottomRight {\n position: fixed;\n bottom: 0;\n right: 0;\n background-color: #000000;\n z-index:99999999;\n }\n\n .apxor-hide-elmt {\n display : none;\n }\n\n .apxor-pip-btn {\n position: absolute;\n top: 10px;\n left: 10px;\n width: 24px;\n height: 24px;\n opacity: 0.3;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n video:hover~.apxor-pip-btn {\n opacity: 1;\n }\n \n .apxor-close-btn {\n position: absolute;\n top: 10px;\n right: 10px;\n width: 24px;\n height: 24px;\n opacity: 0.3;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n video:hover~.apxor-close-btn {\n opacity: 1;\n }\n\n .apxor-video-cta {\n position: absolute;\n top: 50%;\n left: 50%;\n width: auto;\n height: auto;\n transition: opacity .3s ease;\n cursor: pointer;\n }\n \n .bi::before,\n [class^="bi-"]::before,\n [class*=" bi-"]::before {\n display: inline-block;\n font-style: normal;\n font-weight: normal !important;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n vertical-align: -.125em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n .bi-pip::before { \n content: "\f4ef"; \n }\n\n .bi-x-circle::before { \n content: "\f623"; \n }\n\n ',document.head.appendChild(e)}}},{key:"_setMiniPlayerPosition",value:function(){switch(this.videoConfig.videoPosition){case"top-left":this.miniPlayer.classList.add("apxor-mini-player--topLeft");break;case"top-right":this.miniPlayer.classList.add("apxor-mini-player--topRight");break;case"bottom-left":this.miniPlayer.classList.add("apxor-mini-player--bottomLeft");break;case"bottom-right":default:this.miniPlayer.classList.add("apxor-mini-player--bottomRight")}}},{key:"_setPlayerContent",value:function(){var e=this.videoConfig,t=e.v_url,n=e.v_format,i=void 0===n?"video/mp4":n,o=e.mute_audio,r=void 0!==o&&o,a=e.video_mode;this.videoElement=document.createElement("video"),this.videoElement.width=this.width,this.videoElement.height=this.height,this.videoElement.controlsList="noplaybackrate nodownload","PIP"!=a&&(this.videoElement.autoplay=!0),this.videoElement.controls=!0,r&&(this.videoElement.muted=!0),this.videoElement.disablePictureInPicture=!0;var s=document.createElement("source");s.setAttribute("src",t),s.setAttribute("type",i),this.videoElement.appendChild(s),this.videoElement.addEventListener("ended",(function(e){var t=document.getElementById("apxor-cta-btn");t&&t.classList.remove("apxor-hide-elmt")})),this.videoElement.addEventListener("play",(function(e){var t=document.getElementById("apxor-cta-btn");t&&t.classList.add("apxor-hide-elmt")})),this.miniPlayer.appendChild(this.videoElement)}}]),e}(),Ei=window.ApxorLogger;var ki=l((function e(){var n=this;a(this,e),c(this,"initialize",(function(e,t,i){var o=i.delay,r=i.layout_type,a=void 0===r?"":r,s=i.html_config.data,l=void 0===s?"":s,c=i.window_attributes,d=c.width,p=void 0===d?"auto":d,u=c.height,h=void 0===u?"auto":u,f=c.dimmed_background,m=void 0===f||f,v=c.dismiss_outside_touch,g=void 0!==v&&v;return n.configId=e,n.name=t,n.delay=o,n.width=p,n.height=h,n.layoutConfig={layout_type:a,dimmed_background:m,dismiss_outside_touch:g},n.htmlConfig={data:l},"videos"!==a&&""==n.htmlConfig.data?(n.isValid=!1,!1):(n.ui=i,n.rtmInstance=window.ApxorRTM,n.on_show=function(){n.rtmInstance.logActionEvent("inapp_shown",n.configId,n.name),n.rtmInstance.isShowingAction=!0,n.rtmInstance.currentAction=function(){}},n.on_hide=function(){n.rtmInstance.isShowingAction=!1,n.rtmInstance.currentAction=null,n.rtmInstance.logActionEvent("inapp_dismissed",n.configId,n.name)},!0)})),c(this,"FTvU",(function(){if(null===n.rtmInstance.currentAction||void 0===n.rtmInstance.currentAction)return!!n.isValid&&void setTimeout((function(){try{if(ji.getInstance().updateCount(n.configId),"videos"===n.layoutConfig.layout_type)!function(e,t,n){if(!document.getElementById("apxor-mini-player")){var i=e.binding,o=e.activity,r=e.video_mode,a=!0;i&&""!=o&&window.location.pathname!==o&&(a=!1);try{if(a){var s=new _i(e,t,n);if(s.createPlayer(),"PIP"==r){var l=s.GqBx();l.onloadedmetadata=function(){l.disablePictureInPicture=!1,l.requestPictureInPicture().catch((function(e){Ei.error("Can't show PIP:".concat(e)),n()}))}}else s.RCpz();t()}}catch(e){Ei.error("Can't show video:".concat(e)),n()}}}(n.ui,n.on_show,n.on_hide);else{var e=function(e,t,n){var i=n.dimmed_background,o=document.createElement("div");o.setAttribute("id","apx-oly");var r=document.createElement("style");r.innerHTML="#apx-oly {\n width:auto;height:auto;position:fixed;top:0;right:0;bottom:0;left:0;\n display:flex;justify-content:center;align-items:center;border-radius:3px;z-index:99999999;background-color:".concat(i?"#31313185":"transparent",";\n\n }\n #apx-oly > * {font-family:inherit;box-sizing:unset}\n .apx-dlg-c {\n height:auto;width:auto;z-index:99999999;opacity:0;transition:all .5s cubic-bezier(.96,.23,.07,.8);position:fixed;visibility:hidden;\n border-radius:3px;overflow:hidden\n }\n .apx-dlg-c.open{opacity:1;visibility:visible;width:100%;height:100%;}\n ").replaceAll("\n","").replace(/[\s]{2,999}/g,"");var a=document.createElement("div");return a.setAttribute("id","apx-dlg-c"),a.classList.add("apx-dlg-c"),o.appendChild(a),o.appendChild(r),document.body.appendChild(o),o}(n.width,n.height,n.layoutConfig);n.layoutConfig.dismiss_outside_touch&&(document.getElementById("apx-oly").onclick=function(){n.klTq(e)}),setTimeout((function(){e.children[0].classList.toggle("open"),e.children[0].innerHTML=n.htmlConfig.data,n.dvTL("inapp_shown"),e.querySelectorAll("a").forEach((function(t){t.onclick=function(){return n.nrbA(e,t)}}))}),100)}}catch(e){Ei.error(e)}}),n.delay);Ei.error("An action is already being shown.")})),c(this,"nrbA",(function(e,i){var o=i.getAttribute("href");if(null!=o&&o.includes("apxor")){var r,a=o.replace(/^apxor:\/\/([^\?]*).*?$/,"$1");switch(a){case"cancel":n.dvTL("walk_through_cancelled");break;case"xclose":n.dvTL("InAppXIconClicked");break;case"close":r=o.replace(/(.*?)buttonName=([^\&]*).*?$/,"$2"),n.dvTL(x(""===r?"Button":r));break;case"dl_url":var s=o.replace(/(.*?)uri=([^\&]*).*?$/,"$2"),l=o.replace(/(.*?)external=([^\&]*).*?$/,"$2");r=o.replace(/(.*?)buttonName=([^\&]*).*?$/,"$2"),n.dvTL(x(""===r?"Button":r)),"true"==l?window.open(s,"_blank"):t.logClientEvent("REDIRECT",{url:s})}return n.klTq(e,a),!1}return!0})),c(this,"klTq",(function(e,t){"cancel"!==t&&n.dvTL("inapp_dismissed"),e.children[0].classList.toggle("open"),setTimeout((function(){e.parentNode.removeChild(e)}),300)})),c(this,"dvTL",(function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.logEvent(e,o({id:n.configId,message_name:n.name},i))})),this.isValid=!0})),Ai=l((function e(){a(this,e),c(this,"parse",(function(e,t,n){var i=new ki;return i.initialize(e,t,n)?i:null}))})),Li=function(e){if(e.target){var t=e.target.classList,n=t.contains("apx-highlight")||-1!==t.toString().indexOf("apx-");t&&!n&&(e.target.classList.add("apx-highlight"),e.target.oldOnClick=e.target.onclick,e.target.onclick=null)}},Ti=function(e){e.target&&e.target.classList&&e.target.classList.contains("apx-highlight")&&(e.target.classList.remove("apx-highlight"),e.target.onclick=e.target.oldOnClick,e.target.oldOnClick=null)};var Mi="<b>View Selection Mode: ON",Oi="<b>View Selection Mode: OFF</b>",Si="https://server.apxor.com/v1/sse/",Di=Si+"layout?appId=<aid>&deviceId=<uid>",Ii=Si+"ui-config?appId=<aid>&deviceId=<uid>",Ni=Si+"art-config?appId=<aid>&deviceId=<uid>",Bi="https://server.apxor.com/v4/frontendapi/web/test-devices",Pi=Bi+"?appId=<aid>",Fi=Bi+"/<uid>?appId=<aid>",Hi=l((function e(){var n=this;a(this,e),c(this,"Utve",null),c(this,"aWCn",null),c(this,"AZzA",null),c(this,"pqlu",null),c(this,"LZpT",""),c(this,"init",(function(e,i){var o=function(e){if(window.document)for(var t=e+"=",n=window.document.cookie.split(";"),i=0;i<n.length;i++){for(var o=n[i];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return null}("_apx_ewc");if(o){var r=atob(o);try{var a=t.getController().getFromStorage(r,!0);if(!a)return;var s=a.app_id,l=a.expiry,c=a.volatile_id;if(n.LZpT=c,s===e&&Date.now()<=l){var d=document.createElement("span");if(d.style="z-index:99999999;visibility:hidden;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 24px;background:#252f37;border-radius:3px;opacity:0;font-size:24px;color:white;transition:all .3s ease-out",d.innerHTML=Mi,n.aWCn=d,document.body.appendChild(d),n.Utve=document.createElement("style"),n.Utve.innerHTML=".apx-highlight{height:auto;z-index:9999999999;outline: 2px solid red;cursor:default}",document.body.appendChild(n.Utve),n.isSelectionMode=!1,n.testDeviceData=t.getController().getFromStorage("_apx_td",!0),n.testDeviceData){var p=n.testDeviceData,u=p.name,h=void 0===u?"":u,f=p.id,m=void 0===f?"":f;if(""!==h&&""!==m){n.rzor("select","".concat(h," - ").concat(m),m);var v=new EventSource(Ii.replace("<aid>",e).replace("<uid>",m)),g=new EventSource(Ni.replace("<aid>",e).replace("<uid>",m));v.onmessage=g.onmessage=function(e){e&&e.data&&"{}"!==e.data&&n.RUCr(i,e.data)}}}n.gtnz(i)}}catch(e){}}})),c(this,"qpgE",(function(){n.aWCn.parentNode.removeChild(n.aWCn),n.Utve.parentNode.removeChild(n.Utve)})),c(this,"RUCr",(function(e,i){try{n.pqlu.dispatchEvent(new CustomEvent("preview"));var o=JSON.parse(i),r=o.cmd;if("prev"===(void 0===r?"prev":r))if(o.hasOwnProperty("ui")){var a=function e(t){return[Math.random,function(){return e.last?windowId.last+Math.random():Math.random()},Math.random,Date.now,Math.random].map((function(e){return e().toString(t||16+20*Math.random()).substr(-8)})).join("-")}(36),s={configs:[{_id:a,enabled:!0,terminate_info:{auto_dismiss:!1,duration:1e3},meta:{name:"P",type:o.type},ui:o.ui}]};e.fBUh("SURVEY"!==o.type?0:1,s),t.getController().dispatchEvent(o.type,{name:o.type,additional_info:{uuid:a,name:"P"}})}else if(o.hasOwnProperty("messages")){var l=[],c=[];o.messages.forEach((function(e){"SURVEY"!==e.meta.type?c.push(e):l.push(e)})),c.length>0&&e.handleResponse(0,{configs:c}),l.length>0&&e.handleResponse(1,{configs:l})}}catch(e){console.error(e)}})),c(this,"gtnz",(function(e){var i=null!==n.testDeviceData&&void 0!==n.testDeviceData&&n.testDeviceData.id&&n.testDeviceData.name,o='\n<style>\n.apx-cr{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px}\n.apx-b{border:none;font-size:16px;font-family:inherit;padding:8px 14px;cursor:pointer}\n.apx-close:before{content:\'\\58\';font-size:9px;color:#969696;cursor:pointer;position:absolute;top:1px;right:3px}\n</style>\n<svg class="apx-" id="apx-wr-h" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="280.6027397260274 189.52023061718432 89.75342465753425 54.49346801295263" width="48" height="29.14" style="width:17px;position:absolute;top:7px;left:50%;transform:translate(-50%, -50%);cursor:move;"><defs><path d="M304.6 201.52C304.6 208.14 299.23 213.52 292.6 213.52C285.98 213.52 280.6 208.14 280.6 201.52C280.6 194.9 285.98 189.52 292.6 189.52C299.23 189.52 304.6 194.9 304.6 201.52Z" id="e2aMl5NH8S"/><path d="M324.9 189.54C331.52 189.16 337.2 194.21 337.58 200.82C337.97 207.43 332.91 213.12 326.3 213.5C319.69 213.89 314.01 208.83 313.62 202.22C313.24 195.61 318.29 189.93 324.9 189.54Z" id="e2L4sySuvL"/><path d="M304.6 232.01C304.6 225.39 299.23 220.01 292.6 220.01C285.98 220.01 280.6 225.39 280.6 232.01C280.6 238.64 285.98 244.01 292.6 244.01C299.23 244.01 304.6 238.64 304.6 232.01Z" id="a5AJxVSDw"/><path d="M337.6 232.01C337.6 225.39 332.23 220.01 325.6 220.01C318.98 220.01 313.6 225.39 313.6 232.01C313.6 238.64 318.98 244.01 325.6 244.01C332.23 244.01 337.6 238.64 337.6 232.01Z" id="bjnangUBy"/><path d="M370.36 232.01C370.36 225.39 364.98 220.01 358.36 220.01C351.73 220.01 346.36 225.39 346.36 232.01C346.36 238.64 351.73 244.01 358.36 244.01C364.98 244.01 370.36 238.64 370.36 232.01Z" id="a8aeEZTAL0"/><path d="M369.36 201.52C369.36 194.9 363.98 189.52 357.36 189.52C350.73 189.52 345.36 194.9 345.36 201.52C345.36 208.14 350.73 213.52 357.36 213.52C363.98 213.52 369.36 208.14 369.36 201.52Z" id="a4VJpGfPPp"/></defs><g><g><g><use xlink:href="#e2aMl5NH8S" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#e2L4sySuvL" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a5AJxVSDw" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#bjnangUBy" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a8aeEZTAL0" opacity="1" fill="#000000" fill-opacity="1"/></g><g><use xlink:href="#a4VJpGfPPp" opacity="1" fill="#000000" fill-opacity="1"/></g></g></g></svg>\n<div class="apx-cr" style="gap:0">\n <img class="apx-" width="54" height="54" src="https://f.hubspotusercontent10.net/hub/5329664/hubfs/Apxor%20X%20logo.png?width=108&height=108" />\n</div>\n<div id="apx-bh" class="apx-cr apx-bh" style="padding:8px 20px;">\n<button class="apx-b" id="apx-a" style="display:'.concat(i?"none":"block",'">Add as test device</button>\n<button class="apx-b" id="apx-r" style="display:').concat(i?"block":"none",'">Remove as test device</button>\n<button class="apx-b" id="apx-ev" style="display:').concat(i&&n.isSelectionMode?"none":i?"block":"none",'">Enable view selection</button>\n<button class="apx-b" id="apx-dv" style="display:').concat(i&&n.isSelectionMode?"block":"none",'">Disable view selection</button>\n</div>\n '),r=document.getElementById("apx-wr");r&&r.remove&&r.remove();var a=document.createElement("div");a.style="z-index:99999999;position:fixed;top:8px;right:8px;background:white;box-shadow:0px 0.54801px 1.64403px 0.54801px rgb(0 0 0 / 11%);border-radius:3px;padding:10px",a.setAttribute("id","apx-wr"),a.innerHTML=o,document.body.appendChild(a),n.pqlu=a;var s=document.getElementById("apx-bh"),l=function(){a.style.opacity=.5,s.style.display="none"},c=setTimeout(l,3e3);a.addEventListener("mouseover",(function(){a.style.opacity=1,clearTimeout(c),s.style.display="flex"})),a.addEventListener("mouseout",(function(){c=setTimeout(l,3e3)}));var d=document.getElementById("apx-a"),p=document.getElementById("apx-r"),u=document.getElementById("apx-ev"),h=document.getElementById("apx-dv");d.onclick=function(){return n.hTpW(e)},p.onclick=function(){fetch(Fi.replace("<aid>",t.getSiteId()).replace("<uid>",n.testDeviceData.id),{method:"DELETE",headers:{apx_web_key:"WTCKFAIVAJKYJA3HCV80WIKZU98R9NJG"}}).then((function(e){return e.ok&&200===e.status?e.json():null})).then((function(e){e&&(t.getController().persistToStorage("_apx_td",{},!0),n.testDeviceData=null,d.style.display="block",p.style.display=u.style.display=h.style.display="none",n.isSelectionMode&&n.wNCZ())})).catch((function(e){return console.error(e)}))},u.onclick=function(){n.isSelectionMode=!0,window.addEventListener("mouseover",Li,!0),window.addEventListener("mouseout",Ti,!0),n.clickListener=function(e){return function(e,t){var n=e.target;n&&n.classList.contains("apx-highlight")&&(e.preventDefault(),e.stopPropagation(),n.classList.remove("apx-highlight"),n.onclick=n.oldOnClick,n.oldOnClick=null,t&&t(n))}(e,(function(e){var t=n.qvhE(e,!0),i=n.ciui(e,!0);n.rzor("view",location.href,t+"___"+i)}))},window.addEventListener("click",n.clickListener,!0),n.tXLU(!1),u.style.display="none",h.style.display="block"};var f=function(){n.wNCZ(),h.style.display="none",u.style.display="block"};h.onclick=f,n.pqlu.addEventListener("preview",f),n.pqlu.addEventListener("added",(function(){d.style.display="none",p.style.display="block",s.style.display="flex",u.style.display="block"})),function(e){var t,n=window.innerHeight-8,i=8,o=window.innerWidth-8,r=8,a=0,s=0,l=0,c=0;function d(n){n.preventDefault(),n.stopPropagation(),n=n||window.event,l=n.clientX,c=n.clientY,t=e.getBoundingClientRect(),document.onmouseup=u,document.onmousemove=p}function p(d){d.preventDefault(),d.stopPropagation(),d=d||window.event,a=l-d.clientX,s=c-d.clientY,l=d.clientX,c=d.clientY;var p=e.offsetLeft-a,u=e.offsetTop-s;p<i||u<r||p+t.width>o||u+t.height>n||(e.style.top=e.offsetTop-s+"px",e.style.left=e.offsetLeft-a+"px",e.style.right="")}function u(){document.onmouseup=null,document.onmousemove=null}document.getElementById(e.id+"-h")?document.getElementById(e.id+"-h").onmousedown=d:e.onmousedown=d}(a)})),c(this,"wNCZ",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oi;if(n.isSelectionMode){window.removeEventListener("mouseover",Li,!0),window.removeEventListener("mouseout",Ti,!0),window.removeEventListener("click",n.clickListener,!0);for(var t=document.querySelectorAll(".apx-highlight"),i=0;i<t.length;i++){var o=t[i];o.classList.remove("apx-highlight")}n.tXLU(!0,e),n.isSelectionMode=!1}})),c(this,"tXLU",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Oi;n.aWCn.style.visibility="visible",e?(n.aWCn.innerHTML=t,n.aWCn.style.opacity=1):(n.aWCn.innerHTML=Mi,n.aWCn.style.opacity=1),setTimeout((function(){n.aWCn.style.opacity=0,n.aWCn.style.visibility="hidden"}),1e3)})),c(this,"hTpW",(function(e){var i=O(500,20,{}),o=i.children[0];o.style.flex="0 1 auto",o.style.maxHeight="calc(100% - 96px)",o.style.display="flex",o.style.flexDirection="column";var r=t.getController().getDevInfo(),a=t.getController().getUserAttributes().apx_browser,s=r.hardware_model,l=r.os_version,c=r.id,d="\n".concat('<style>\n.apx-loading{\nbackground:#333 url(\'https://code.jquery.com/mobile/1.3.1/images/ajax-loader.gif\') no-repeat 50% 50%;\n-webkit-transition:background-color 0;transition:background-color 0;opacity: 1;\n-webkit-transition:opacity 1;transition:opacity 1\n}\n.apx-t{\nflex:0 0 auto;margin:0;padding:24px 24px 20px\n}\n.apx-tt{\ncolor:rgba(0,72,114,0.87);font-size:1.3125rem;font-weight:500;\nfont-family: \'Roboto\', \'Helvetica\', \'Arial\', sans-serif;line-height: 1.16667em;margin:0\n}\n.apx-c{\nflex:1 1 auto;padding:0 24px 24px;overflow-y: auto\n}\n.apx-de{\nline-height:1.5;color:rgba(0,72,114,0.54);font-size:1rem;font-weight:400;\nfont-family:"Roboto", "Helvetica", "Arial", sans-serif;margin:0;display:block\n}\n.apx-id{\nwidth:100%;margin-top:8px;margin-bottom:4px;margin:0;border:0;flex-direction:column;\ndisplay:inline-flex;padding:0;position:relative;min-width:0;vertical-align:top\n}\n.apx-il{\ntransition:color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;\ntransform:translate(0, 21px) scale(1);top:0;left:0;position:absolute;\ncolor:rgba(0,72,114, 0.54);padding: 0;font-size: 1rem;transform-origin:top left;\nfont-family: "Roboto", "Helvetica", "Arial", sans-serif;line-height: 1\n}\n.apx-il-f{\ntransform:translate(0, 1.5px) scale(0.75)\n}\nlabel + .apx-iid {\nmargin-top:16px;position:relative;width: 100%;color: rgba(0,72,114, 0.87);\ncursor: text;display: inline-flex;font-size: 1rem;\nfont-family:"Roboto", "Helvetica", "Arial", sans-serif;\nline-height: 1.1875em;align-items: center\n}\n.apx-iid.apx-iid-f:after{transform:scaleX(1)}\n.apx-iid:hover:before{border-bottom: 2px solid rgba(0,72,114, 0.87)}\n.apx-iid:before{\nleft: 0;right: 0;bottom: 0;content: \'\\00a0\';position: absolute;\ntransition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\nborder-bottom: 1px solid rgba(0, 0, 0, 0.42);pointer-events: none\n}\n.apx-iid:after{\nleft: 0;right: 0;bottom: 0;content: "";position: absolute;transform: scaleX(0);\ntransition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;\nborder-bottom: 2px solid rgb(44, 56, 126);pointer-events: none\n}\n.apx-ii{\npadding-top:3px;font: inherit;color: currentColor;width: 100%;border: 0;margin: 0;\ndisplay: block;min-width: 0;box-sizing: content-box;background: none;padding: 6px 0 7px;outline:0\n}\n.apx-ul{\npadding-top:8px;padding-bottom:8px;margin:0;padding:0;position:relative;list-style:none\n}\n.apx-li{\npadding-left:16px;padding-right:16px;width:100%;display:flex;list-style:none;\nposition:relative;box-sizing:border-box;text-align:left;align-items:center;\npadding-top:11px;padding-bottom:11px;justify-content:flex-start;text-decoration:none\n}\n.apx-lid:first-child{padding-left:0}\n.apx-lid{flex:1 1 auto;padding:0 16px;min-width:0}\n.apx-lids{\ncolor:rgba(0,72,114, 0.87);font-weight:400;line-height:1.5em;\nfont-family:"Roboto", "Helvetica", "Arial", sans-seriffont-size:1rem\n}\n.apx-a{\nflex:0 0 auto;margin:8px 4px;display:flex;align-items:center;justify-content:flex-end\n}\n.apx-b{\nfont-size:0.875rem;min-width:64px;box-sizing:border-box;min-height:36px;border:0;\ntransition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\nline-height:1.3125;font-weight:500;font-family:"Roboto", "Helvetica", "Arial", sans-serif;\nborder-radius:4px;text-transform:uppercase;cursor:pointer;display:inline-flex;outline:none;\nposition:relative;align-items:center;user-select:none;vertical-align:middle;\njustify-content:center;text-decoration:none;background-color:transparent\n}\n.apx-bl{\nwidth: 100%;display:inherit;align-items:inherit;justify-content:inherit\n}\n.apx-btr{\ntop:0;left:0;width:100%;height:100%;display:block;z-index:0;position:absolute;\noverflow:hidden;border-radius:inherit;pointer-events:none\n}</style>\n ','\n<div>\n <div class="apx-t"><h2 class="apx-tt">Set device nick name</h2></div>\n <div class="apx-c">\n <p class="apx-de">Give this device a nick name for easy identification</p>\n <div class="apx-id">\n <label class="apx-il">Nick name</label>\n <div class="apx-iid">\n <input class="apx-ii" type="text" id="apx-ii" value="">\n </div>\n </div>\n <ul class="apx-ul">\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Model <strong style="float:right">').concat(s," - ").concat(l,'</strong></span>\n </span>\n </div>\n </li>\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Browser <strong style="float:right">').concat(a,'</strong></span>\n </span>\n </div>\n </li>\n <li class="apx-li">\n <div class="apx-lid">\n <span class="apx-lids">\n <span>Device ID <strong style="float:right">').concat(c,'</strong></span>\n </span>\n </div>\n </li>\n </ul>\n </div>\n <div class="apx-a">\n <button id="apx-bc" class="apx-b"><span class="apx-bl" style="color:#295e8c6b">Cancel</span><span class="apx-btr"/></button>\n <button id="apx-bd" class="apx-b"><span class="apx-bl" style="color:#295e8c">Done</span><span class="apx-btr"/></button>\n </div>\n</div>\n ');i.style.visibility="hidden",o.style.visibility="hidden",o.innerHTML=d;var p,u,h=document.getElementById("apx-ii");n.testDeviceData&&(h.value=null!==(p=null===(u=n.testDeviceData)||void 0===u?void 0:u.name)&&void 0!==p?p:"");h.onfocus=function(){h.parentNode.classList.add("apx-iid-f"),h.parentNode.parentNode.children[0].classList.add("apx-il-f")},h.onblur=function(){h.parentNode.classList.remove("apx-iid-f"),h.parentNode.parentNode.children[0].classList.remove("apx-il-f")},h.oninput=function(){""!==h.value.trim()?m.removeAttribute("disabled"):m.setAttribute("disabled","")},setTimeout((function(){i.style.visibility="visible",o.style.visibility="visible",o.classList.toggle("open"),h.parentNode.parentNode.children[0].classList.add("apx-il-f")}),100);var f=function(){o.classList.toggle("open"),setTimeout((function(){i.parentNode.removeChild(i)}),400)};document.getElementById("apx-bc").onclick=function(){f()};var m=document.getElementById("apx-bd");m.onclick=function(){o.children[1].classList.add("apx-loading"),t.getController().makePostRequest(Pi.replace("<aid>",t.getSiteId()),{model:s,id:c,nick_name:h.value},{apx_web_key:"WTCKFAIVAJKYJA3HCV80WIKZU98R9NJG"},(function(){var i={id:c,name:h.value};t.getController().persistToStorage("_apx_td",i,!0),n.testDeviceData=i,n.rzor("select","".concat(h.value," - ").concat(c),c,(function(){o.children[1].classList.remove("apx-loading"),n.pqlu.dispatchEvent(new CustomEvent("added"))}));var r=new EventSource(Ii.replace("<aid>",t.getSiteId()).replace("<uid>",c)),a=new EventSource(Ni.replace("<aid>",t.getSiteId()).replace("<uid>",c));r.onmessage=a.onmessage=function(t){t&&t.data&&"{}"!==t.data&&n.RUCr(e,t.data)},f()}),(function(){}))}})),c(this,"rzor",(function(e,i,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=t.getController().getDevInfo(),l={device_info:{id:s.id,hardware_model:s.hardware_model,os_version:s.os_version,width:s.dimensions.width,height:s.dimensions.height},screen:{image:e,navigation:i,orientation:o},layout:[]};t.getController().makePostRequest(Di.replace("<aid>",t.getSiteId()).replace("<uid>",n.LZpT),l,{},r,a)})),c(this,"qvhE",(function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return"";for(var i=[],o=e;o;){var r=n.jLxP(o,!!t,o===e);if(!r)break;if(i.push(r),r.optimized)break;o=o.parentNode}return i.reverse(),i.join(" > ")})),c(this,"jLxP",(function(e,t,n){if(e.nodeType!==Node.ELEMENT_NODE)return null;var i=e.getAttribute("id");if(t){if(i)return new zi(l(i),!0);var o=e.nodeName.toLowerCase();if("body"===o||"head"===o||"html"===o)return new zi(e.nodeName.toLowerCase(),!0)}var r=e.nodeName.toLowerCase();if(i)return new zi(r.toLowerCase()+l(i),!0);var a=e.parentNode;if(!a||a.nodeType===Node.DOCUMENT_NODE)return new zi(r.toLowerCase(),!0);function s(e){var t=e.getAttribute("class");return t?t.split(/\s+/g).filter(Boolean).map((function(e){return"$"+e})):[]}function l(e){return"#"+c(e)}function c(e){if(/^-?[a-zA-Z_][a-zA-Z0-9_-]*$/.test(e))return e;var t=/^(?:[0-9]|-[0-9-]?)/.test(e),n=e.length-1;return e.replace(/./g,(function(e,i){return t&&0===i||!function(e){return!!/[a-zA-Z0-9_-]/.test(e)||e.charCodeAt(0)>=160}(e)?function(e,t){return"\\"+function(e){var t=e.charCodeAt(0).toString(16);1===t.length&&(t="0"+t);return t}(e)+(t?"":" ")}(e,i===n):e}))}for(var d=s(e),p=!1,u=!1,h=-1,f=-1,m=a.children,v=0;(-1===h||!u)&&v<m.length;++v){var g=m[v];if(g.nodeType===Node.ELEMENT_NODE)if(f+=1,g!==e){if(!u&&g.nodeName.toLowerCase()===r.toLowerCase()){p=!0;var b=new Set(d);if(b.size)for(var y=s(g),x=0;x<y.length;++x){var w=y[x];if(b.has(w)&&(b.delete(w),!b.size)){u=!0;break}}else u=!0}}else h=f}var C=r.toLowerCase();if(n&&"input"===r.toLowerCase()&&e.getAttribute("type")&&!e.getAttribute("id")&&!e.getAttribute("class")&&(C+='[type="'+e.getAttribute("type")+'"]'),u)C+=":nth-child("+(h+1)+")";else if(p)for(var _ in d)C+="."+c(d[_].substr(1));return new zi(C,!1)})),c(this,"ciui",(function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";for(var i=[],o=e;o;){var r=n.eWyu(o,t);if(!r)break;if(i.push(r),r.optimized)break;o=o.parentNode}return i.reverse(),(i.length&&i[0].optimized?"":"/")+i.join("/")})),c(this,"eWyu",(function(e,t){var i,o=n.ZGBu(e);if(-1===o)return null;switch(e.nodeType){case Node.ELEMENT_NODE:if(t&&e.getAttribute("id"))return new zi('//*[@id="'+e.getAttribute("id")+'"]',!0);i=e.localName;break;case Node.ATTRIBUTE_NODE:i="@"+e.nodeName;break;case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:i="text()";break;case Node.PROCESSING_INSTRUCTION_NODE:i="processing-instruction()";break;case Node.COMMENT_NODE:i="comment()";break;case Node.DOCUMENT_NODE:default:i=""}return o>0&&(i+="["+o+"]"),new zi(i,e.nodeType===Node.DOCUMENT_NODE)})),c(this,"ZGBu",(function(e){function t(e,t){return e===t||(e.nodeType===Node.ELEMENT_NODE&&t.nodeType===Node.ELEMENT_NODE?e.localName===t.localName:e.nodeType===t.nodeType||(e.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:e.nodeType)===(t.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:t.nodeType))}var n,i=e.parentNode?e.parentNode.children:null;if(!i)return 0;for(var o=0;o<i.length;++o)if(t(e,i[o])&&i[o]!==e){n=!0;break}if(!n)return 0;var r=1;for(o=0;o<i.length;++o)if(t(e,i[o])){if(i[o]===e)return r;++r}return-1}))})),zi=function(e,t){this.value=e,this.optimized=t||!1};zi.prototype={toString:function(){return this.value}};var qi=window.ApxorLogger,Zi=new(l((function e(){var n=this;a(this,e),c(this,"version",131),c(this,"inps",{}),c(this,"isShowingAction",!1),c(this,"currentAction",null),c(this,"TvKg",new Ci),c(this,"qnvr",new Ai),c(this,"JVHz",new Hi),c(this,"GXmk",null),c(this,"uEfx",{}),c(this,"init",(function(e){n.GXmk=e;var i=t.getController(),o=ji.getInstance(),r=t.getSiteId(),a=function(e,t){var n=function(n){return n.replace("<app_id>",e).replace("<u_id>",t)};return{rtaValidateUrl:n("https://server.apxor.com/v2/sync/<app_id>/configs/validate?platform=web&userId=<u_id>&actionType=rta&version=139"),rtaSyncUrl:n("https://server.apxor.com/v2/sync/<app_id>/rta?platform=web&userId=<u_id>&version=139"),surveysValidateUrl:n("https://server.apxor.com/v2/sync/<app_id>/configs/validate?platform=web&userId=<u_id>&actionType=survey&version=139"),surveysSyncUrl:n("https://server.apxor.com/v2/sync/<app_id>/surveys?platform=web&userId=<u_id>&version=139")}}(r,t.getClientId()),s=a.rtaValidateUrl,l=a.rtaSyncUrl,c=a.surveysValidateUrl,d=a.surveysSyncUrl;o.initialize(),o.fetch(0,s,l,n.handleResponse),o.fetch(1,c,d,n.handleResponse),i.registerForEvent("IN_LINE",n.NnVK),i.registerForEvent("IN_APP",n.FhJN),i.registerForEvent("SURVEY",n.LLmd),i.registerForEvent("ONBOARDING",n.KLmD),n.JVHz.init(r,n),qi.debug("Registered for events")})),c(this,"show",(function(e,t,i,o){try{if(n.getFrequencyCount(i)<=0)return void qi.error("Campaign limit reached");if(null!==n.currentAction&&void 0!==n.currentAction)return void qi.error("An action already being shown");var r=JSON.parse(e),a={};a.auto_dismiss=t>0,a.duration=t;var s=function(){n.logActionEvent("inline_shown",i,o),n.updateCount(i),n.isShowingAction=!0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n.isShowingAction=!1,n.currentAction=null,e||n.logActionEvent("inline_dismissed",i,o)},c=r.display_type,d={configId:i,configName:o};"inline"===c?n.currentAction=ei(r,[],a,d,n,s,l):"coach_mark"===c?function(e,t,n,i,o,r){var a=window.ApxorRTM;if(null===a.currentAction||void 0===a.currentAction)if(e&&e.delay<=0){var s=li(e,t,n,i,o);r(s)}else setTimeout((function(){if(null===a.currentAction||void 0===a.currentAction){var s=li(e,t,n,i,o);r(s)}else window.ApxorLogger.error("An action is already being shown. Try after it gets dismissed")}),e.delay);else window.ApxorLogger.error("An action is already being shown. Try after it gets dismissed")}(r,d,a,s,l,(function(e){n.currentAction=e})):qi.error("Unknown type",c)}catch(e){n.currentAction=null,n.isShowingAction=!1,window.ApxorLogger.error(e)}})),c(this,"logActionEvent",(function(e,n,i){t.logEvent(e,{id:n,message_name:i})})),c(this,"logClientEvent",(function(e,n){t.logClientEvent(e,n)})),c(this,"updateCount",(function(e){ji.getInstance().updateCount(e)})),c(this,"getFrequencyCount",(function(e){ji.getInstance().getFrequencyCount(e)})),c(this,"resetFrequencyCounts",(function(){ji.getInstance().resetFrequencyCounts()})),c(this,"AAmP",(function(){if(null!==n.currentAction&&void 0!==n.currentAction){n.isShowingAction=!1;try{n.currentAction()}catch(e){}finally{n.currentAction=null}}})),c(this,"handleResponse",(function(e,t){""===e?(qi.debug("No configs available"),n.GXmk&&n.GXmk()):(qi.debug("Fetched config from server",e),n.fBUh(e,t),console.log("Configs in handle response",t),ji.getInstance().parse(t),n.GXmk&&n.GXmk())})),c(this,"fBUh",(function(e,t){if(k(t)&&k(t.configs)){var i=t.configs;if(!Array.isArray(i))return;for(var o=0;o<i.length;o++){var r=i[o],a=r._id,s=r.meta.name,l=r.type,c=r.ui;1===e?c=n.TvKg.parse(a,s,c):"IN_APP"===l&&(c=n.qnvr.parse(a,s,c)),null!==c?n.inps[a]={ui:c,uis:r.uis,terminationConfig:r.terminate_info,name:s}:console.warn("Failed to parse the config",a)}qi.debug("Configs: ",n.inps)}})),c(this,"NnVK",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.inps[t]){var i=n.inps[t],o=i.ui,r=i.terminationConfig,a=i.name;n.show(JSON.stringify(o),r.auto_dismiss?r.duration:-1,t,a)}}})),c(this,"FhJN",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.inps[t])n.inps[t].ui.FTvU(t)}})),c(this,"LLmd",(function(e){if(k(e.additional_info)){var t=e.additional_info.uuid;if(n.inps[t]){n.inps[t].ui.JlVG((function(e){n.updateCount(t),n.isShowingAction=!0,n.currentAction=e}),(function(){n.isShowingAction=!1,n.currentAction=null}))}}})),c(this,"KLmD",(function(e){}))})));window.ApxorRTM=Zi;var ji=new(function(){function e(){a(this,e)}return l(e,[{key:"getInstance",value:function(){return(n||window["apxor-qe"]).getInstance()}}]),e}());try{void 0===e&&null===e||(e.default=Zi,module.exports=e.default)}catch(e){}e.ceWrapper=ji,e.default=Zi,Object.defineProperty(e,"__esModule",{value:!0})}));
|