UNPKG

chatbot-gooup1

Version:

A customizable React chatbot component with SCSS styling, speech recognition, and API integration

2 lines 2.53 MB
/*! For license information please see main.esm.js.LICENSE.txt */ import*as __WEBPACK_EXTERNAL_MODULE_react__ from"react";var __webpack_modules__={51:function(M,N,c){!function(M,N,c){function D(M){return M&&"object"==typeof M&&"default"in M?M:{default:M}}var z=D(N),j=D(c);function e(M,N){(null==N||N>M.length)&&(N=M.length);for(var c=0,D=Array(N);c<N;c++)D[c]=M[c];return D}function i(M,N,c){return(N=function(M){var N=function(M,N){if("object"!=typeof M||!M)return M;var c=M[Symbol.toPrimitive];if(void 0!==c){var D=c.call(M,N||"default");if("object"!=typeof D)return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===N?String:Number)(M)}(M,"string");return"symbol"==typeof N?N:N+""}(N))in M?Object.defineProperty(M,N,{value:c,enumerable:!0,configurable:!0,writable:!0}):M[N]=c,M}function a(M,N){var c=Object.keys(M);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(M);N&&(D=D.filter((function(N){return Object.getOwnPropertyDescriptor(M,N).enumerable}))),c.push.apply(c,D)}return c}function g(M){for(var N=1;N<arguments.length;N++){var c=null!=arguments[N]?arguments[N]:{};N%2?a(Object(c),!0).forEach((function(N){i(M,N,c[N])})):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(c)):a(Object(c)).forEach((function(N){Object.defineProperty(M,N,Object.getOwnPropertyDescriptor(c,N))}))}return M}function I(M,N){if(null==M)return{};var c,D,z=function(M,N){if(null==M)return{};var c={};for(var D in M)if({}.hasOwnProperty.call(M,D)){if(N.includes(D))continue;c[D]=M[D]}return c}(M,N);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(M);for(D=0;D<j.length;D++)c=j[D],N.includes(c)||{}.propertyIsEnumerable.call(M,c)&&(z[c]=M[c])}return z}function t(M,N){return function(M){if(Array.isArray(M))return M}(M)||function(M,N){var c=null==M?null:"undefined"!=typeof Symbol&&M[Symbol.iterator]||M["@@iterator"];if(null!=c){var D,z,j,e,i=[],a=!0,g=!1;try{if(j=(c=c.call(M)).next,0===N){if(Object(c)!==c)return;a=!1}else for(;!(a=(D=j.call(c)).done)&&(i.push(D.value),i.length!==N);a=!0);}catch(M){g=!0,z=M}finally{try{if(!a&&null!=c.return&&(e=c.return(),Object(e)!==e))return}finally{if(g)throw z}}return i}}(M,N)||function(M,N){if(M){if("string"==typeof M)return e(M,N);var c={}.toString.call(M).slice(8,-1);return"Object"===c&&M.constructor&&(c=M.constructor.name),"Map"===c||"Set"===c?Array.from(M):"Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?e(M,N):void 0}}(M,N)||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.")}()}var u=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],T=function(M,N){var D=M.animationData,e=M.loop,i=M.autoplay,a=M.initialSegment,T=M.onComplete,A=M.onLoopComplete,y=M.onEnterFrame,l=M.onSegmentStart,s=M.onConfigReady,r=M.onDataReady,L=M.onDataFailed,o=M.onLoadedImages,n=M.onDOMLoaded,O=M.onDestroy;M.lottieRef,M.renderer,M.name,M.assetsPath,M.rendererSettings;var x=I(M,u),f=t(c.useState(!1),2),E=f[0],C=f[1],S=c.useRef(),Q=c.useRef(null);return c.useEffect((function(){var N=function(){var N,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Q.current){null===(N=S.current)||void 0===N||N.destroy();var D=g(g(g({},M),c),{},{container:Q.current});return S.current=z.default.loadAnimation(D),C(!!S.current),function(){var M;null===(M=S.current)||void 0===M||M.destroy(),S.current=void 0}}}();return function(){return null==N?void 0:N()}}),[D,e]),c.useEffect((function(){S.current&&(S.current.autoplay=!!i)}),[i]),c.useEffect((function(){S.current&&(a?Array.isArray(a)&&a.length&&((S.current.currentRawFrame<a[0]||S.current.currentRawFrame>a[1])&&(S.current.currentRawFrame=a[0]),S.current.setSegment(a[0],a[1])):S.current.resetSegments(!0))}),[a]),c.useEffect((function(){var M=[{name:"complete",handler:T},{name:"loopComplete",handler:A},{name:"enterFrame",handler:y},{name:"segmentStart",handler:l},{name:"config_ready",handler:s},{name:"data_ready",handler:r},{name:"data_failed",handler:L},{name:"loaded_images",handler:o},{name:"DOMLoaded",handler:n},{name:"destroy",handler:O}].filter((function(M){return null!=M.handler}));if(M.length){var N=M.map((function(M){var N;return null===(N=S.current)||void 0===N||N.addEventListener(M.name,M.handler),function(){var N;null===(N=S.current)||void 0===N||N.removeEventListener(M.name,M.handler)}}));return function(){N.forEach((function(M){return M()}))}}}),[T,A,y,l,s,r,L,o,n,O]),{View:j.default.createElement("div",g({style:N,ref:Q},x)),play:function(){var M;null===(M=S.current)||void 0===M||M.play()},stop:function(){var M;null===(M=S.current)||void 0===M||M.stop()},pause:function(){var M;null===(M=S.current)||void 0===M||M.pause()},setSpeed:function(M){var N;null===(N=S.current)||void 0===N||N.setSpeed(M)},goToAndStop:function(M,N){var c;null===(c=S.current)||void 0===c||c.goToAndStop(M,N)},goToAndPlay:function(M,N){var c;null===(c=S.current)||void 0===c||c.goToAndPlay(M,N)},setDirection:function(M){var N;null===(N=S.current)||void 0===N||N.setDirection(M)},playSegments:function(M,N){var c;null===(c=S.current)||void 0===c||c.playSegments(M,N)},setSubframe:function(M){var N;null===(N=S.current)||void 0===N||N.setSubframe(M)},getDuration:function(M){var N;return null===(N=S.current)||void 0===N?void 0:N.getDuration(M)},destroy:function(){var M;null===(M=S.current)||void 0===M||M.destroy(),S.current=void 0},animationContainerRef:Q,animationLoaded:E,animationItem:S.current}};var A=function(M){var N=M.wrapperRef,D=M.animationItem,z=M.mode,j=M.actions;c.useEffect((function(){var M,c,e,i,a,g=N.current;if(g&&D&&j.length){D.stop();switch(z){case"scroll":return i=null,a=function(){var M,N,c,z=(N=(M=g.getBoundingClientRect()).top,c=M.height,(window.innerHeight-N)/(window.innerHeight+c)),e=j.find((function(M){var N=M.visibility;return N&&z>=N[0]&&z<=N[1]}));if(e){if("seek"===e.type&&e.visibility&&2===e.frames.length){var a=e.frames[0]+Math.ceil((z-e.visibility[0])/(e.visibility[1]-e.visibility[0])*e.frames[1]);D.goToAndStop(a-D.firstFrame-1,!0)}"loop"===e.type&&(null===i||i!==e.frames||D.isPaused)&&(D.playSegments(e.frames,!0),i=e.frames),"play"===e.type&&D.isPaused&&(D.resetSegments(!0),D.play()),"stop"===e.type&&D.goToAndStop(e.frames[0]-D.firstFrame-1,!0)}},document.addEventListener("scroll",a),function(){document.removeEventListener("scroll",a)};case"cursor":return M=function(M,N){var c,z,e,i,a=M,I=N;if(-1!==a&&-1!==I){var t=(c=a,z=I,i=(e=g.getBoundingClientRect()).top,{x:(c-e.left)/e.width,y:(z-i)/e.height});a=t.x,I=t.y}var u=j.find((function(M){var N=M.position;return N&&Array.isArray(N.x)&&Array.isArray(N.y)?a>=N.x[0]&&a<=N.x[1]&&I>=N.y[0]&&I<=N.y[1]:!(!N||Number.isNaN(N.x)||Number.isNaN(N.y))&&a===N.x&&I===N.y}));if(u){if("seek"===u.type&&u.position&&Array.isArray(u.position.x)&&Array.isArray(u.position.y)&&2===u.frames.length){var T=(a-u.position.x[0])/(u.position.x[1]-u.position.x[0]),A=(I-u.position.y[0])/(u.position.y[1]-u.position.y[0]);D.playSegments(u.frames,!0),D.goToAndStop(Math.ceil((T+A)/2*(u.frames[1]-u.frames[0])),!0)}"loop"===u.type&&D.playSegments(u.frames,!0),"play"===u.type&&(D.isPaused&&D.resetSegments(!1),D.playSegments(u.frames)),"stop"===u.type&&D.goToAndStop(u.frames[0],!0)}},c=function(N){M(N.clientX,N.clientY)},e=function(){M(-1,-1)},g.addEventListener("mousemove",c),g.addEventListener("mouseout",e),function(){g.removeEventListener("mousemove",c),g.removeEventListener("mouseout",e)}}}}),[z,D])},y=function(M){var N=M.actions,c=M.mode,D=M.lottieObj,z=D.animationItem,j=D.View,e=D.animationContainerRef;return A({actions:N,animationItem:z,mode:c,wrapperRef:e}),j},l=["style","interactivity"];Object.defineProperty(M,"LottiePlayer",{enumerable:!0,get:function(){return z.default}}),M.default=function(M){var N,D,z,j=M.style,e=M.interactivity,i=I(M,l),a=T(i,j),g=a.View,t=a.play,u=a.stop,A=a.pause,s=a.setSpeed,r=a.goToAndStop,L=a.goToAndPlay,o=a.setDirection,n=a.playSegments,O=a.setSubframe,x=a.getDuration,f=a.destroy,E=a.animationContainerRef,C=a.animationLoaded,S=a.animationItem;return c.useEffect((function(){M.lottieRef&&(M.lottieRef.current={play:t,stop:u,pause:A,setSpeed:s,goToAndPlay:L,goToAndStop:r,setDirection:o,playSegments:n,setSubframe:O,getDuration:x,destroy:f,animationContainerRef:E,animationLoaded:C,animationItem:S})}),[null===(N=M.lottieRef)||void 0===N?void 0:N.current]),y({lottieObj:{View:g,play:t,stop:u,pause:A,setSpeed:s,goToAndStop:r,goToAndPlay:L,setDirection:o,playSegments:n,setSubframe:O,getDuration:x,destroy:f,animationContainerRef:E,animationLoaded:C,animationItem:S},actions:null!==(D=null==e?void 0:e.actions)&&void 0!==D?D:[],mode:null!==(z=null==e?void 0:e.mode)&&void 0!==z?z:"scroll"})},M.useLottie=T,M.useLottieInteractivity=y,Object.defineProperty(M,"__esModule",{value:!0})}(N,c(891),c(649))},56:(M,N,c)=>{M.exports=function(M){var N=c.nc;N&&M.setAttribute("nonce",N)}},72:M=>{var N=[];function c(M){for(var c=-1,D=0;D<N.length;D++)if(N[D].identifier===M){c=D;break}return c}function D(M,D){for(var j={},e=[],i=0;i<M.length;i++){var a=M[i],g=D.base?a[0]+D.base:a[0],I=j[g]||0,t="".concat(g," ").concat(I);j[g]=I+1;var u=c(t),T={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==u)N[u].references++,N[u].updater(T);else{var A=z(T,D);D.byIndex=i,N.splice(i,0,{identifier:t,updater:A,references:1})}e.push(t)}return e}function z(M,N){var c=N.domAPI(N);return c.update(M),function(N){if(N){if(N.css===M.css&&N.media===M.media&&N.sourceMap===M.sourceMap&&N.supports===M.supports&&N.layer===M.layer)return;c.update(M=N)}else c.remove()}}M.exports=function(M,z){var j=D(M=M||[],z=z||{});return function(M){M=M||[];for(var e=0;e<j.length;e++){var i=c(j[e]);N[i].references--}for(var a=D(M,z),g=0;g<j.length;g++){var I=c(j[g]);0===N[I].references&&(N[I].updater(),N.splice(I,1))}j=a}}},113:M=>{M.exports=function(M,N){if(N.styleSheet)N.styleSheet.cssText=M;else{for(;N.firstChild;)N.removeChild(N.firstChild);N.appendChild(document.createTextNode(M))}}},287:(M,N,c)=>{c.d(N,{A:()=>i});var D=c(601),z=c.n(D),j=c(314),e=c.n(j)()(z());e.push([M.id,'@keyframes ChatbotTemplates-module__fadeIn--B0xBy{from{opacity:0}to{opacity:1}}@keyframes ChatbotTemplates-module__fadeInUp--PQaEL{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.ChatbotTemplates-module__overlay--KzPUn{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,.5);z-index:9990;animation:ChatbotTemplates-module__fadeIn--B0xBy .3s ease-in-out forwards}.ChatbotTemplates-module__chatbot_ui--g9yse{position:fixed;bottom:20px;right:20px;z-index:9999}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK{width:100%;height:100%}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__icon_open_chatbot--k_1q0{position:relative;display:flex;justify-content:center;align-items:center;padding:10px;width:60px;height:60px;border-radius:50%;background-color:#2c2222;cursor:pointer}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__icon_open_chatbot--k_1q0 .ChatbotTemplates-module__badge_number--Po7iB{position:absolute;z-index:10;width:18px;height:18px;border-radius:50%;background:#fd2a2a;border:1px solid #fd2a2a;color:var(--white-color);line-height:18px;font-size:9px;text-align:center;top:-2px;right:-2px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__icon_open_chatbot--k_1q0 .ChatbotTemplates-module__ico_comments--uBEJt{width:25px;height:25px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__icon_open_chatbot--k_1q0 .ChatbotTemplates-module__logo_icon--gOVYU{width:25px;height:25px;z-index:2}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__icon_open_chatbot--k_1q0 .ChatbotTemplates-module__spiner--LzkBC{position:absolute;width:60px;height:60px;border:6px solid var(--border-color);border-radius:50%;animation:ChatbotTemplates-module__spin--ts_MG 1s infinite;border-top-color:rgba(0,0,0,0);border-bottom-color:rgba(0,0,0,0);z-index:5}@keyframes ChatbotTemplates-module__spin--ts_MG{0%{transform:rotate(0deg)}50%{transform:rotate(180deg) scale(1.2)}100%{transform:rotate(360deg)}}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl{position:absolute;bottom:40px;right:60px;width:350px;height:550px;background-color:rgba(0,0,0,.9);border-radius:20px;box-shadow:0 4px 8px rgba(0,0,0,.2);transition:all .4s cubic-bezier(0.25, 0.8, 0.25, 1);overflow:hidden;animation:ChatbotTemplates-module__fadeInUp--PQaEL .4s ease-out forwards}@media(min-width: 359px)and (max-width: 575px){.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl{bottom:60px;right:0px;width:calc(100vw - 40px);max-height:calc(100vh - 100px)}}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP{display:flex;flex-direction:column;height:100%}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY{padding:5px 15px;display:flex;justify-content:space-between;align-items:center}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__intro--wX8Ht{display:flex;gap:10px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__intro--wX8Ht .ChatbotTemplates-module__icon_header_box--HMhtq{width:40px;height:40px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__intro--wX8Ht .ChatbotTemplates-module__name_assistant--Sgfaf{color:#fff;font-weight:600;text-align:center;display:flex;justify-content:center;align-items:center}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__intro--wX8Ht .ChatbotTemplates-module__animation--kSDPf{position:absolute;top:12px;right:50px;width:130px;height:130px;cursor:pointer}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__float_func--V4yyS{display:flex;gap:10px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__float_func--V4yyS .ChatbotTemplates-module__ico_zoom--_ndB5{width:16px;height:16px;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer}@media(min-width: 359px)and (max-width: 575px){.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__float_func--V4yyS .ChatbotTemplates-module__ico_zoom--_ndB5{display:none}}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__float_func--V4yyS .ChatbotTemplates-module__ico_close--cp714{display:none;width:16px;height:16px;color:#fff;justify-content:center;align-items:center;cursor:pointer}@media(min-width: 359px)and (max-width: 575px){.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__header_box--hb_KY .ChatbotTemplates-module__float_func--V4yyS .ChatbotTemplates-module__ico_close--cp714{display:flex}}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP hr{color:rgba(17,17,17,.1);opacity:1;height:1px;margin:0}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__content_container--vU6Fp{height:calc(100% - 50px);width:100%;display:flex;flex-direction:column;position:relative}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__content_container--vU6Fp::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--bg-color);opacity:var(--bg-opacity);z-index:0}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__content_container--vU6Fp::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;opacity:.14;background:var(--bg-color);mask-image:var(--mask-img);-webkit-mask-image:var(--mask-img);mask-size:cover;mask-repeat:no-repeat;mask-position:center;z-index:1}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__content_container--vU6Fp>*{position:relative;z-index:2}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW{width:100%;max-height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color, #f49134) rgba(0,0,0,0)}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW::-webkit-scrollbar{width:15px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb-color, #f68925);border-radius:5px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-color, #f68925)}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu{display:flex;flex-direction:column;gap:30px;padding:20px 15px;overflow-y:auto;max-height:100%}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5{max-width:90%;align-self:flex-start}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5.ChatbotTemplates-module__message_box_client--lL0xT{align-self:flex-end}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96{display:flex;gap:10px}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__logo--DVuix{border-radius:50%;padding:5px;width:35px;height:35px;margin-top:auto}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__logo--DVuix.ChatbotTemplates-module__logo_assistant--aGt2g{border:2px solid #f68925}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__logo--DVuix.ChatbotTemplates-module__logo_client--v3EhS{border:2px solid #fff}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__message_content--T843p{display:flex;justify-content:center;align-items:center;min-width:70px;max-width:100%;padding:10px;border-radius:20px;word-wrap:break-word;word-break:break-word}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5 .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__message_content--T843p p{margin-bottom:0;font-size:14px;white-space:pre-wrap}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5.ChatbotTemplates-module__message_box_assistant--ONXpi .ChatbotTemplates-module__message_container--XwH96{flex-direction:row}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5.ChatbotTemplates-module__message_box_assistant--ONXpi .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__message_content--T843p{background-color:#e0e0e0}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5.ChatbotTemplates-module__message_box_client--lL0xT .ChatbotTemplates-module__message_container--XwH96{flex-direction:row-reverse}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__chatbot_message_container--pV9hW .ChatbotTemplates-module__box_message--HigHu .ChatbotTemplates-module__message_box--Wi0d5.ChatbotTemplates-module__message_box_client--lL0xT .ChatbotTemplates-module__message_container--XwH96 .ChatbotTemplates-module__message_content--T843p{background-color:#007bff;color:#fff}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa{margin-top:auto;width:100%;background-color:#fff}@media(min-width: 359px)and (max-width: 575px){.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa{position:sticky;bottom:0;width:100%}}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2{width:100%;display:flex;flex-direction:column;padding:3px;border-top:1px solid rgba(17,17,17,.1)}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__input_message--KiuXF{background-color:rgba(0,0,0,0);border:1px solid #fff;width:100%;min-height:45px;max-height:100px;height:45px;padding:10px 60px 10px 20px;border-radius:10px;font-size:14px;color:#fff;outline:none;overflow-y:auto;resize:none;box-sizing:border-box;scrollbar-width:none}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__input_message--KiuXF::-webkit-scrollbar{display:none}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__input_message--KiuXF::placeholder{color:#d3cece}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__float_box_func--xBMg4{width:100%;background-color:#fff}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__float_box_func--xBMg4 .ChatbotTemplates-module__animation--kSDPf{position:absolute;bottom:2px;right:30px;width:58px;height:58px;cursor:pointer}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__float_box_func--xBMg4 .ChatbotTemplates-module__ico_micro--QRMNi{position:absolute;bottom:18px;right:50px;width:18px;height:18px;color:#fff;cursor:pointer}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__float_box_func--xBMg4 .ChatbotTemplates-module__ico_attached--eNAHq{position:absolute;bottom:22px;right:50px;height:20px;color:#fff;cursor:pointer;width:18px;height:18px;transform:rotate(-45deg)}.ChatbotTemplates-module__chatbot_ui--g9yse .ChatbotTemplates-module__chatbot_ui_container--wyZkK .ChatbotTemplates-module__chatbot--C6Kdl .ChatbotTemplates-module__chatbot_container--wxzvP .ChatbotTemplates-module__footer_box--BZQxa .ChatbotTemplates-module__input_message_box--pRQF2 .ChatbotTemplates-module__float_box_func--xBMg4 .ChatbotTemplates-module__ico_send--fdhLQ{position:absolute;right:20px;bottom:18px;width:18px;height:18px;color:#fff;cursor:pointer}',""]),e.locals={overlay:"ChatbotTemplates-module__overlay--KzPUn",fadeIn:"ChatbotTemplates-module__fadeIn--B0xBy",chatbot_ui:"ChatbotTemplates-module__chatbot_ui--g9yse",chatbot_ui_container:"ChatbotTemplates-module__chatbot_ui_container--wyZkK",icon_open_chatbot:"ChatbotTemplates-module__icon_open_chatbot--k_1q0",badge_number:"ChatbotTemplates-module__badge_number--Po7iB",ico_comments:"ChatbotTemplates-module__ico_comments--uBEJt",logo_icon:"ChatbotTemplates-module__logo_icon--gOVYU",spiner:"ChatbotTemplates-module__spiner--LzkBC",spin:"ChatbotTemplates-module__spin--ts_MG",chatbot:"ChatbotTemplates-module__chatbot--C6Kdl",fadeInUp:"ChatbotTemplates-module__fadeInUp--PQaEL",chatbot_container:"ChatbotTemplates-module__chatbot_container--wxzvP",header_box:"ChatbotTemplates-module__header_box--hb_KY",intro:"ChatbotTemplates-module__intro--wX8Ht",icon_header_box:"ChatbotTemplates-module__icon_header_box--HMhtq",name_assistant:"ChatbotTemplates-module__name_assistant--Sgfaf",animation:"ChatbotTemplates-module__animation--kSDPf",float_func:"ChatbotTemplates-module__float_func--V4yyS",ico_zoom:"ChatbotTemplates-module__ico_zoom--_ndB5",ico_close:"ChatbotTemplates-module__ico_close--cp714",content_container:"ChatbotTemplates-module__content_container--vU6Fp",chatbot_message_container:"ChatbotTemplates-module__chatbot_message_container--pV9hW",box_message:"ChatbotTemplates-module__box_message--HigHu",message_box:"ChatbotTemplates-module__message_box--Wi0d5",message_box_client:"ChatbotTemplates-module__message_box_client--lL0xT",message_container:"ChatbotTemplates-module__message_container--XwH96",logo:"ChatbotTemplates-module__logo--DVuix",logo_assistant:"ChatbotTemplates-module__logo_assistant--aGt2g",logo_client:"ChatbotTemplates-module__logo_client--v3EhS",message_content:"ChatbotTemplates-module__message_content--T843p",message_box_assistant:"ChatbotTemplates-module__message_box_assistant--ONXpi",footer_box:"ChatbotTemplates-module__footer_box--BZQxa",input_message_box:"ChatbotTemplates-module__input_message_box--pRQF2",input_message:"ChatbotTemplates-module__input_message--KiuXF",float_box_func:"ChatbotTemplates-module__float_box_func--xBMg4",ico_micro:"ChatbotTemplates-module__ico_micro--QRMNi",ico_attached:"ChatbotTemplates-module__ico_attached--eNAHq",ico_send:"ChatbotTemplates-module__ico_send--fdhLQ"};const i=e},314:M=>{M.exports=function(M){var N=[];return N.toString=function(){return this.map((function(N){var c="",D=void 0!==N[5];return N[4]&&(c+="@supports (".concat(N[4],") {")),N[2]&&(c+="@media ".concat(N[2]," {")),D&&(c+="@layer".concat(N[5].length>0?" ".concat(N[5]):""," {")),c+=M(N),D&&(c+="}"),N[2]&&(c+="}"),N[4]&&(c+="}"),c})).join("")},N.i=function(M,c,D,z,j){"string"==typeof M&&(M=[[null,M,void 0]]);var e={};if(D)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(e[a]=!0)}for(var g=0;g<M.length;g++){var I=[].concat(M[g]);D&&e[I[0]]||(void 0!==j&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=j),c&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=c):I[2]=c),z&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=z):I[4]="".concat(z)),N.push(I))}},N}},540:M=>{M.exports=function(M){var N=document.createElement("style");return M.setAttributes(N,M.attributes),M.insert(N,M.options),N}},556:(M,N,c)=>{M.exports=c(694)()},601:M=>{M.exports=function(M){return M[1]}},649:M=>{M.exports=__WEBPACK_EXTERNAL_MODULE_react__},659:M=>{var N={};M.exports=function(M,c){var D=function(M){if(void 0===N[M]){var c=document.querySelector(M);if(window.HTMLIFrameElement&&c instanceof window.HTMLIFrameElement)try{c=c.contentDocument.head}catch(M){c=null}N[M]=c}return N[M]}(M);if(!D)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");D.appendChild(c)}},694:(M,N,c)=>{var D=c(925);function z(){}function j(){}j.resetWarningCache=z,M.exports=function(){function M(M,N,c,z,j,e){if(e!==D){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function N(){return M}M.isRequired=M;var c={array:M,bigint:M,bool:M,func:M,number:M,object:M,string:M,symbol:M,any:M,arrayOf:N,element:M,elementType:M,instanceOf:N,node:M,objectOf:N,oneOf:N,oneOfType:N,shape:N,exact:N,checkPropTypes:j,resetWarningCache:z};return c.PropTypes=c,c}},825:M=>{M.exports=function(M){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var N=M.insertStyleElement(M);return{update:function(c){!function(M,N,c){var D="";c.supports&&(D+="@supports (".concat(c.supports,") {")),c.media&&(D+="@media ".concat(c.media," {"));var z=void 0!==c.layer;z&&(D+="@layer".concat(c.layer.length>0?" ".concat(c.layer):""," {")),D+=c.css,z&&(D+="}"),c.media&&(D+="}"),c.supports&&(D+="}");var j=c.sourceMap;j&&"undefined"!=typeof btoa&&(D+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(j))))," */")),N.styleTagTransform(D,M,N.options)}(N,M,c)},remove:function(){!function(M){if(null===M.parentNode)return!1;M.parentNode.removeChild(M)}(N)}}}},891:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(M){_useWebWorker=!!M},getWebWorker=function(){return _useWebWorker},setLocationHref=function(M){locationHref=M},getLocationHref=function(){return locationHref};function createTag(M){return document.createElement(M)}function extendPrototype(M,N){var c,D,z=M.length;for(c=0;c<z;c+=1)for(var j in D=M[c].prototype)Object.prototype.hasOwnProperty.call(D,j)&&(N.prototype[j]=D[j])}function getDescriptor(M,N){return Object.getOwnPropertyDescriptor(M,N)}function createProxyFunction(M){function N(){}return N.prototype=M,N}var audioControllerFactory=function(){function M(M){this.audios=[],this.audioFactory=M,this._volume=1,this._isMuted=!1}return M.prototype={addAudio:function(M){this.audios.push(M)},pause:function(){var M,N=this.audios.length;for(M=0;M<N;M+=1)this.audios[M].pause()},resume:function(){var M,N=this.audios.length;for(M=0;M<N;M+=1)this.audios[M].resume()},setRate:function(M){var N,c=this.audios.length;for(N=0;N<c;N+=1)this.audios[N].setRate(M)},createAudio:function(M){return this.audioFactory?this.audioFactory(M):window.Howl?new window.Howl({src:[M]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(M){this.audioFactory=M},setVolume:function(M){this._volume=M,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var M,N=this.audios.length;for(M=0;M<N;M+=1)this.audios[M].volume(this._volume*(this._isMuted?0:1))}},function(){return new M}}(),createTypedArray=function(){function M(M,N){var c,D=0,z=[];switch(M){case"int16":case"uint8c":c=1;break;default:c=1.1}for(D=0;D<N;D+=1)z.push(c);return z}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(N,c){return"float32"===N?new Float32Array(c):"int16"===N?new Int16Array(c):"uint8c"===N?new Uint8ClampedArray(c):M(N,c)}:M}();function createSizedArray(M){return Array.apply(null,{length:M})}function _typeof$6(M){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(M){return typeof M}:function(M){return M&&"function"==typeof Symbol&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},_typeof$6(M)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var M,N=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],c=N.length;for(M=0;M<c;M+=1)BMMath[N[M]]=Math[N[M]]}(),BMMath.random=Math.random,BMMath.abs=function(M){if("object"===_typeof$6(M)&&M.length){var N,c=createSizedArray(M.length),D=M.length;for(N=0;N<D;N+=1)c[N]=Math.abs(M[N]);return c}return Math.abs(M)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(M){_shouldRoundValues=!!M}function bmRnd(M){return _shouldRoundValues?Math.round(M):M}function styleDiv(M){M.style.position="absolute",M.style.top=0,M.style.left=0,M.style.display="block",M.style.transformOrigin="0 0",M.style.webkitTransformOrigin="0 0",M.style.backfaceVisibility="visible",M.style.webkitBackfaceVisibility="visible",M.style.transformStyle="preserve-3d",M.style.webkitTransformStyle="preserve-3d",M.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(M,N,c,D){this.type=M,this.currentTime=N,this.totalTime=c,this.direction=D<0?-1:1}function BMCompleteEvent(M,N){this.type=M,this.direction=N<0?-1:1}function BMCompleteLoopEvent(M,N,c,D){this.type=M,this.currentLoop=c,this.totalLoops=N,this.direction=D<0?-1:1}function BMSegmentStartEvent(M,N,c){this.type=M,this.firstFrame=N,this.totalFrames=c}function BMDestroyEvent(M,N){this.type=M,this.target=N}function BMRenderFrameErrorEvent(M,N){this.type="renderFrameError",this.nativeError=M,this.currentTime=N}function BMConfigErrorEvent(M){this.type="configError",this.nativeError=M}function BMAnimationConfigErrorEvent(M,N){this.type=M,this.nativeError=N}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(M,N,c){var D,z,j,e,i,a,g,I;switch(a=c*(1-N),g=c*(1-(i=6*M-(e=Math.floor(6*M)))*N),I=c*(1-(1-i)*N),e%6){case 0:D=c,z=I,j=a;break;case 1:D=g,z=c,j=a;break;case 2:D=a,z=c,j=I;break;case 3:D=a,z=g,j=c;break;case 4:D=I,z=a,j=c;break;case 5:D=c,z=a,j=g}return[D,z,j]}function RGBtoHSV(M,N,c){var D,z=Math.max(M,N,c),j=Math.min(M,N,c),e=z-j,i=0===z?0:e/z,a=z/255;switch(z){case j:D=0;break;case M:D=N-c+e*(N<c?6:0),D/=6*e;break;case N:D=c-M+2*e,D/=6*e;break;case c:D=M-N+4*e,D/=6*e}return[D,i,a]}function addSaturationToRGB(M,N){var c=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return c[1]+=N,c[1]>1?c[1]=1:c[1]<=0&&(c[1]=0),HSVtoRGB(c[0],c[1],c[2])}function addBrightnessToRGB(M,N){var c=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return c[2]+=N,c[2]>1?c[2]=1:c[2]<0&&(c[2]=0),HSVtoRGB(c[0],c[1],c[2])}function addHueToRGB(M,N){var c=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return c[0]+=N/360,c[0]>1?c[0]-=1:c[0]<0&&(c[0]+=1),HSVtoRGB(c[0],c[1],c[2])}var rgbToHex=function(){var M,N,c=[];for(M=0;M<256;M+=1)N=M.toString(16),c[M]=1===N.length?"0"+N:N;return function(M,N,D){return M<0&&(M=0),N<0&&(N=0),D<0&&(D=0),"#"+c[M]+c[N]+c[D]}}(),setSubframeEnabled=function(M){subframeEnabled=!!M},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(M){expressionsPlugin=M},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(M){expressionsInterfaces=M},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(M){defaultCurveSegments=M},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(M){idPrefix$1=M},getIdPrefix=function(){return idPrefix$1};function createNS(M){return document.createElementNS(svgNS,M)}function _typeof$5(M){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(M){return typeof M}:function(M){return M&&"function"==typeof Symbol&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},_typeof$5(M)}var dataManager=function(){var M,N,c=1,D=[],z={onmessage:function(){},postMessage:function(N){M({data:N})}},j={postMessage:function(M){z.onmessage({data:M})}};function e(){N||(N=function(N){if(window.Worker&&window.Blob&&getWebWorker()){var c=new Blob(["var _workerSelf = self; self.onmessage = ",N.toString()],{type:"text/javascript"}),D=URL.createObjectURL(c);return new Worker(D)}return M=N,z}((function(M){if(j.dataManager||(j.dataManager=function(){function M(z,j){var e,i,a,g,I,t,u,T=z.length;for(i=0;i<T;i+=1)if("ks"in(e=z[i])&&!e.completed){if(e.completed=!0,e.hasMask){var A=e.masksProperties;for(g=A.length,a=0;a<g;a+=1)if(A[a].pt.k.i)D(A[a].pt.k);else for(t=A[a].pt.k.length,I=0;I<t;I+=1)A[a].pt.k[I].s&&D(A[a].pt.k[I].s[0]),A[a].pt.k[I].e&&D(A[a].pt.k[I].e[0])}0===e.ty?(e.layers=N(e.refId,j),M(e.layers,j)):4===e.ty?c(e.shapes):5===e.ty&&(0===(u=e).t.a.length&&u.t.p)}}function N(M,N){var c=function(M,N){for(var c=0,D=N.length;c<D;){if(N[c].id===M)return N[c];c+=1}return null}(M,N);return c?c.layers.__used?JSON.parse(JSON.stringify(c.layers)):(c.layers.__used=!0,c.layers):null}function c(M){var N,z,j;for(N=M.length-1;N>=0;N-=1)if("sh"===M[N].ty)if(M[N].ks.k.i)D(M[N].ks.k);else for(j=M[N].ks.k.length,z=0;z<j;z+=1)M[N].ks.k[z].s&&D(M[N].ks.k[z].s[0]),M[N].ks.k[z].e&&D(M[N].ks.k[z].e[0]);else"gr"===M[N].ty&&c(M[N].it)}function D(M){var N,c=M.i.length;for(N=0;N<c;N+=1)M.i[N][0]+=M.v[N][0],M.i[N][1]+=M.v[N][1],M.o[N][0]+=M.v[N][0],M.o[N][1]+=M.v[N][1]}function z(M,N){var c=N?N.split("."):[100,100,100];return M[0]>c[0]||!(c[0]>M[0])&&(M[1]>c[1]||!(c[1]>M[1])&&(M[2]>c[2]||!(c[2]>M[2])&&null))}var j,e=function(){var M=[4,4,14];function N(M){var N,c,D,z=M.length;for(N=0;N<z;N+=1)5===M[N].ty&&(void 0,D=(c=M[N]).t.d,c.t.d={k:[{s:D,t:0}]})}return function(c){if(z(M,c.v)&&(N(c.layers),c.assets)){var D,j=c.assets.length;for(D=0;D<j;D+=1)c.assets[D].layers&&N(c.assets[D].layers)}}}(),i=(j=[4,7,99],function(M){if(M.chars&&!z(j,M.v)){var N,D=M.chars.length;for(N=0;N<D;N+=1){var e=M.chars[N];e.data&&e.data.shapes&&(c(e.data.shapes),e.data.ip=0,e.data.op=99999,e.data.st=0,e.data.sr=1,e.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},M.chars[N].t||(e.data.shapes.push({ty:"no"}),e.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),a=function(){var M=[5,7,15];function N(M){var N,c,D=M.length;for(N=0;N<D;N+=1)5===M[N].ty&&(c=void 0,"number"==typeof(c=M[N].t.p).a&&(c.a={a:0,k:c.a}),"number"==typeof c.p&&(c.p={a:0,k:c.p}),"number"==typeof c.r&&(c.r={a:0,k:c.r}))}return function(c){if(z(M,c.v)&&(N(c.layers),c.assets)){var D,j=c.assets.length;for(D=0;D<j;D+=1)c.assets[D].layers&&N(c.assets[D].layers)}}}(),g=function(){var M=[4,1,9];function N(M){var c,D,z,j=M.length;for(c=0;c<j;c+=1)if("gr"===M[c].ty)N(M[c].it);else if("fl"===M[c].ty||"st"===M[c].ty)if(M[c].c.k&&M[c].c.k[0].i)for(z=M[c].c.k.length,D=0;D<z;D+=1)M[c].c.k[D].s&&(M[c].c.k[D].s[0]/=255,M[c].c.k[D].s[1]/=255,M[c].c.k[D].s[2]/=255,M[c].c.k[D].s[3]/=255),M[c].c.k[D].e&&(M[c].c.k[D].e[0]/=255,M[c].c.k[D].e[1]/=255,M[c].c.k[D].e[2]/=255,M[c].c.k[D].e[3]/=255);else M[c].c.k[0]/=255,M[c].c.k[1]/=255,M[c].c.k[2]/=255,M[c].c.k[3]/=255}function c(M){var c,D=M.length;for(c=0;c<D;c+=1)4===M[c].ty&&N(M[c].shapes)}return function(N){if(z(M,N.v)&&(c(N.layers),N.assets)){var D,j=N.assets.length;for(D=0;D<j;D+=1)N.assets[D].layers&&c(N.assets[D].layers)}}}(),I=function(){var M=[4,4,18];function N(M){var c,D,z;for(c=M.length-1;c>=0;c-=1)if("sh"===M[c].ty)if(M[c].ks.k.i)M[c].ks.k.c=M[c].closed;else for(z=M[c].ks.k.length,D=0;D<z;D+=1)M[c].ks.k[D].s&&(M[c].ks.k[D].s[0].c=M[c].closed),M[c].ks.k[D].e&&(M[c].ks.k[D].e[0].c=M[c].closed);else"gr"===M[c].ty&&N(M[c].it)}function c(M){var c,D,z,j,e,i,a=M.length;for(D=0;D<a;D+=1){if((c=M[D]).hasMask){var g=c.masksProperties;for(j=g.length,z=0;z<j;z+=1)if(g[z].pt.k.i)g[z].pt.k.c=g[z].cl;else for(i=g[z].pt.k.length,e=0;e<i;e+=1)g[z].pt.k[e].s&&(g[z].pt.k[e].s[0].c=g[z].cl),g[z].pt.k[e].e&&(g[z].pt.k[e].e[0].c=g[z].cl)}4===c.ty&&N(c.shapes)}}return function(N){if(z(M,N.v)&&(c(N.layers),N.assets)){var D,j=N.assets.length;for(D=0;D<j;D+=1)N.assets[D].layers&&c(N.assets[D].layers)}}}();var t={completeData:function(c){c.__complete||(g(c),e(c),i(c),a(c),I(c),M(c.layers,c.assets),function(c,D){if(c){var z=0,j=c.length;for(z=0;z<j;z+=1)1===c[z].t&&(c[z].data.layers=N(c[z].data.refId,D),M(c[z].data.layers,D))}}(c.chars,c.assets),c.__complete=!0)}};return t.checkColors=g,t.checkChars=i,t.checkPathProperties=a,t.checkShapes=I,t.completeLayers=M,t}()),j.assetLoader||(j.assetLoader=function(){function M(M){var N=M.getResponseHeader("content-type");return N&&"json"===M.responseType&&-1!==N.indexOf("json")||M.response&&"object"===_typeof$5(M.response)?M.response:M.response&&"string"==typeof M.response?JSON.parse(M.response):M.responseText?JSON.parse(M.responseText):null}return{load:function(N,c,D,z){var j,e=new XMLHttpRequest;try{e.responseType="json"}catch(M){}e.onreadystatechange=function(){if(4===e.readyState)if(200===e.status)j=M(e),D(j);else try{j=M(e),D(j)}catch(M){z&&z(M)}};try{e.open(["G","E","T"].join(""),N,!0)}catch(M){e.open(["G","E","T"].join(""),c+"/"+N,!0)}e.send()}}}()),"loadAnimation"===M.data.type)j.assetLoader.load(M.data.path,M.data.fullPath,(function(N){j.dataManager.completeData(N),j.postMessage({id:M.data.id,payload:N,status:"success"})}),(function(){j.postMessage({id:M.data.id,status:"error"})}));else if("complete"===M.data.type){var N=M.data.animation;j.dataManager.completeData(N),j.postMessage({id:M.data.id,payload:N,status:"success"})}else"loadData"===M.data.type&&j.assetLoader.load(M.data.path,M.data.fullPath,(function(N){j.postMessage({id:M.data.id,payload:N,status:"success"})}),(function(){j.postMessage({id:M.data.id,status:"error"})}))})),N.onmessage=function(M){var N=M.data,c=N.id,z=D[c];D[c]=null,"success"===N.status?z.onComplete(N.payload):z.onError&&z.onError()})}function i(M,N){var z="processId_"+(c+=1);return D[z]={onComplete:M,onError:N},z}return{loadAnimation:function(M,c,D){e();var z=i(c,D);N.postMessage({type:"loadAnimation",path:M,fullPath:window.location.origin+window.location.pathname,id:z})},loadData:function(M,c,D){e();var z=i(c,D);N.postMessage({type:"loadData",path:M,fullPath:window.location.origin+window.location.pathname,id:z})},completeAnimation:function(M,c,D){e();var z=i(c,D);N.postMessage({type:"complete",animation:M,id:z})}}}(),ImagePreloader=function(){var M=function(){var M=createTag("canvas");M.width=1,M.height=1;var N=M.getContext("2d");return N.fillStyle="