chatbot-gooup1
Version:
A customizable React chatbot component with SCSS styling, speech recognition, and API integration
2 lines • 1.41 MB
JavaScript
/*! For license information please see main.js.LICENSE.txt */
(()=>{var __webpack_modules__={51:function(M,N,D){!function(M,N,D){"use strict";function j(M){return M&&"object"==typeof M&&"default"in M?M:{default:M}}var z=j(N),I=j(D);function g(M,N){(null==N||N>M.length)&&(N=M.length);for(var D=0,j=Array(N);D<N;D++)j[D]=M[D];return j}function T(M,N,D){return(N=function(M){var N=function(M,N){if("object"!=typeof M||!M)return M;var D=M[Symbol.toPrimitive];if(void 0!==D){var j=D.call(M,N||"default");if("object"!=typeof j)return j;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:D,enumerable:!0,configurable:!0,writable:!0}):M[N]=D,M}function y(M,N){var D=Object.keys(M);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(M);N&&(j=j.filter((function(N){return Object.getOwnPropertyDescriptor(M,N).enumerable}))),D.push.apply(D,j)}return D}function A(M){for(var N=1;N<arguments.length;N++){var D=null!=arguments[N]?arguments[N]:{};N%2?y(Object(D),!0).forEach((function(N){T(M,N,D[N])})):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(D)):y(Object(D)).forEach((function(N){Object.defineProperty(M,N,Object.getOwnPropertyDescriptor(D,N))}))}return M}function t(M,N){if(null==M)return{};var D,j,z=function(M,N){if(null==M)return{};var D={};for(var j in M)if({}.hasOwnProperty.call(M,j)){if(N.includes(j))continue;D[j]=M[j]}return D}(M,N);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(M);for(j=0;j<I.length;j++)D=I[j],N.includes(D)||{}.propertyIsEnumerable.call(M,D)&&(z[D]=M[D])}return z}function u(M,N){return function(M){if(Array.isArray(M))return M}(M)||function(M,N){var D=null==M?null:"undefined"!=typeof Symbol&&M[Symbol.iterator]||M["@@iterator"];if(null!=D){var j,z,I,g,T=[],y=!0,A=!1;try{if(I=(D=D.call(M)).next,0===N){if(Object(D)!==D)return;y=!1}else for(;!(y=(j=I.call(D)).done)&&(T.push(j.value),T.length!==N);y=!0);}catch(M){A=!0,z=M}finally{try{if(!y&&null!=D.return&&(g=D.return(),Object(g)!==g))return}finally{if(A)throw z}}return T}}(M,N)||function(M,N){if(M){if("string"==typeof M)return g(M,N);var D={}.toString.call(M).slice(8,-1);return"Object"===D&&M.constructor&&(D=M.constructor.name),"Map"===D||"Set"===D?Array.from(M):"Arguments"===D||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D)?g(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 i=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],e=function(M,N){var j=M.animationData,g=M.loop,T=M.autoplay,y=M.initialSegment,e=M.onComplete,O=M.onLoopComplete,L=M.onEnterFrame,c=M.onSegmentStart,x=M.onConfigReady,E=M.onDataReady,a=M.onDataFailed,r=M.onLoadedImages,Q=M.onDOMLoaded,n=M.onDestroy;M.lottieRef,M.renderer,M.name,M.assetsPath,M.rendererSettings;var s=t(M,i),o=u(D.useState(!1),2),S=o[0],k=o[1],U=D.useRef(),C=D.useRef(null);return D.useEffect((function(){var N=function(){var N,D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(C.current){null===(N=U.current)||void 0===N||N.destroy();var j=A(A(A({},M),D),{},{container:C.current});return U.current=z.default.loadAnimation(j),k(!!U.current),function(){var M;null===(M=U.current)||void 0===M||M.destroy(),U.current=void 0}}}();return function(){return null==N?void 0:N()}}),[j,g]),D.useEffect((function(){U.current&&(U.current.autoplay=!!T)}),[T]),D.useEffect((function(){U.current&&(y?Array.isArray(y)&&y.length&&((U.current.currentRawFrame<y[0]||U.current.currentRawFrame>y[1])&&(U.current.currentRawFrame=y[0]),U.current.setSegment(y[0],y[1])):U.current.resetSegments(!0))}),[y]),D.useEffect((function(){var M=[{name:"complete",handler:e},{name:"loopComplete",handler:O},{name:"enterFrame",handler:L},{name:"segmentStart",handler:c},{name:"config_ready",handler:x},{name:"data_ready",handler:E},{name:"data_failed",handler:a},{name:"loaded_images",handler:r},{name:"DOMLoaded",handler:Q},{name:"destroy",handler:n}].filter((function(M){return null!=M.handler}));if(M.length){var N=M.map((function(M){var N;return null===(N=U.current)||void 0===N||N.addEventListener(M.name,M.handler),function(){var N;null===(N=U.current)||void 0===N||N.removeEventListener(M.name,M.handler)}}));return function(){N.forEach((function(M){return M()}))}}}),[e,O,L,c,x,E,a,r,Q,n]),{View:I.default.createElement("div",A({style:N,ref:C},s)),play:function(){var M;null===(M=U.current)||void 0===M||M.play()},stop:function(){var M;null===(M=U.current)||void 0===M||M.stop()},pause:function(){var M;null===(M=U.current)||void 0===M||M.pause()},setSpeed:function(M){var N;null===(N=U.current)||void 0===N||N.setSpeed(M)},goToAndStop:function(M,N){var D;null===(D=U.current)||void 0===D||D.goToAndStop(M,N)},goToAndPlay:function(M,N){var D;null===(D=U.current)||void 0===D||D.goToAndPlay(M,N)},setDirection:function(M){var N;null===(N=U.current)||void 0===N||N.setDirection(M)},playSegments:function(M,N){var D;null===(D=U.current)||void 0===D||D.playSegments(M,N)},setSubframe:function(M){var N;null===(N=U.current)||void 0===N||N.setSubframe(M)},getDuration:function(M){var N;return null===(N=U.current)||void 0===N?void 0:N.getDuration(M)},destroy:function(){var M;null===(M=U.current)||void 0===M||M.destroy(),U.current=void 0},animationContainerRef:C,animationLoaded:S,animationItem:U.current}};var O=function(M){var N=M.wrapperRef,j=M.animationItem,z=M.mode,I=M.actions;D.useEffect((function(){var M,D,g,T,y,A=N.current;if(A&&j&&I.length){j.stop();switch(z){case"scroll":return T=null,y=function(){var M,N,D,z=(N=(M=A.getBoundingClientRect()).top,D=M.height,(window.innerHeight-N)/(window.innerHeight+D)),g=I.find((function(M){var N=M.visibility;return N&&z>=N[0]&&z<=N[1]}));if(g){if("seek"===g.type&&g.visibility&&2===g.frames.length){var y=g.frames[0]+Math.ceil((z-g.visibility[0])/(g.visibility[1]-g.visibility[0])*g.frames[1]);j.goToAndStop(y-j.firstFrame-1,!0)}"loop"===g.type&&(null===T||T!==g.frames||j.isPaused)&&(j.playSegments(g.frames,!0),T=g.frames),"play"===g.type&&j.isPaused&&(j.resetSegments(!0),j.play()),"stop"===g.type&&j.goToAndStop(g.frames[0]-j.firstFrame-1,!0)}},document.addEventListener("scroll",y),function(){document.removeEventListener("scroll",y)};case"cursor":return M=function(M,N){var D,z,g,T,y=M,t=N;if(-1!==y&&-1!==t){var u=(D=y,z=t,T=(g=A.getBoundingClientRect()).top,{x:(D-g.left)/g.width,y:(z-T)/g.height});y=u.x,t=u.y}var i=I.find((function(M){var N=M.position;return N&&Array.isArray(N.x)&&Array.isArray(N.y)?y>=N.x[0]&&y<=N.x[1]&&t>=N.y[0]&&t<=N.y[1]:!(!N||Number.isNaN(N.x)||Number.isNaN(N.y))&&y===N.x&&t===N.y}));if(i){if("seek"===i.type&&i.position&&Array.isArray(i.position.x)&&Array.isArray(i.position.y)&&2===i.frames.length){var e=(y-i.position.x[0])/(i.position.x[1]-i.position.x[0]),O=(t-i.position.y[0])/(i.position.y[1]-i.position.y[0]);j.playSegments(i.frames,!0),j.goToAndStop(Math.ceil((e+O)/2*(i.frames[1]-i.frames[0])),!0)}"loop"===i.type&&j.playSegments(i.frames,!0),"play"===i.type&&(j.isPaused&&j.resetSegments(!1),j.playSegments(i.frames)),"stop"===i.type&&j.goToAndStop(i.frames[0],!0)}},D=function(N){M(N.clientX,N.clientY)},g=function(){M(-1,-1)},A.addEventListener("mousemove",D),A.addEventListener("mouseout",g),function(){A.removeEventListener("mousemove",D),A.removeEventListener("mouseout",g)}}}}),[z,j])},L=function(M){var N=M.actions,D=M.mode,j=M.lottieObj,z=j.animationItem,I=j.View,g=j.animationContainerRef;return O({actions:N,animationItem:z,mode:D,wrapperRef:g}),I},c=["style","interactivity"];Object.defineProperty(M,"LottiePlayer",{enumerable:!0,get:function(){return z.default}}),M.default=function(M){var N,j,z,I=M.style,g=M.interactivity,T=t(M,c),y=e(T,I),A=y.View,u=y.play,i=y.stop,O=y.pause,x=y.setSpeed,E=y.goToAndStop,a=y.goToAndPlay,r=y.setDirection,Q=y.playSegments,n=y.setSubframe,s=y.getDuration,o=y.destroy,S=y.animationContainerRef,k=y.animationLoaded,U=y.animationItem;return D.useEffect((function(){M.lottieRef&&(M.lottieRef.current={play:u,stop:i,pause:O,setSpeed:x,goToAndPlay:a,goToAndStop:E,setDirection:r,playSegments:Q,setSubframe:n,getDuration:s,destroy:o,animationContainerRef:S,animationLoaded:k,animationItem:U})}),[null===(N=M.lottieRef)||void 0===N?void 0:N.current]),L({lottieObj:{View:A,play:u,stop:i,pause:O,setSpeed:x,goToAndStop:E,goToAndPlay:a,setDirection:r,playSegments:Q,setSubframe:n,getDuration:s,destroy:o,animationContainerRef:S,animationLoaded:k,animationItem:U},actions:null!==(j=null==g?void 0:g.actions)&&void 0!==j?j:[],mode:null!==(z=null==g?void 0:g.mode)&&void 0!==z?z:"scroll"})},M.useLottie=e,M.useLottieInteractivity=L,Object.defineProperty(M,"__esModule",{value:!0})}(N,D(891),D(953))},56:(M,N,D)=>{"use strict";M.exports=function(M){var N=D.nc;N&&M.setAttribute("nonce",N)}},72:M=>{"use strict";var N=[];function D(M){for(var D=-1,j=0;j<N.length;j++)if(N[j].identifier===M){D=j;break}return D}function j(M,j){for(var I={},g=[],T=0;T<M.length;T++){var y=M[T],A=j.base?y[0]+j.base:y[0],t=I[A]||0,u="".concat(A," ").concat(t);I[A]=t+1;var i=D(u),e={css:y[1],media:y[2],sourceMap:y[3],supports:y[4],layer:y[5]};if(-1!==i)N[i].references++,N[i].updater(e);else{var O=z(e,j);j.byIndex=T,N.splice(T,0,{identifier:u,updater:O,references:1})}g.push(u)}return g}function z(M,N){var D=N.domAPI(N);return D.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;D.update(M=N)}else D.remove()}}M.exports=function(M,z){var I=j(M=M||[],z=z||{});return function(M){M=M||[];for(var g=0;g<I.length;g++){var T=D(I[g]);N[T].references--}for(var y=j(M,z),A=0;A<I.length;A++){var t=D(I[A]);0===N[t].references&&(N[t].updater(),N.splice(t,1))}I=y}}},113:M=>{"use strict";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,D)=>{"use strict";D.d(N,{A:()=>T});var j=D(601),z=D.n(j),I=D(314),g=D.n(I)()(z());g.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}',""]),g.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 T=g},314:M=>{"use strict";M.exports=function(M){var N=[];return N.toString=function(){return this.map((function(N){var D="",j=void 0!==N[5];return N[4]&&(D+="@supports (".concat(N[4],") {")),N[2]&&(D+="@media ".concat(N[2]," {")),j&&(D+="@layer".concat(N[5].length>0?" ".concat(N[5]):""," {")),D+=M(N),j&&(D+="}"),N[2]&&(D+="}"),N[4]&&(D+="}"),D})).join("")},N.i=function(M,D,j,z,I){"string"==typeof M&&(M=[[null,M,void 0]]);var g={};if(j)for(var T=0;T<this.length;T++){var y=this[T][0];null!=y&&(g[y]=!0)}for(var A=0;A<M.length;A++){var t=[].concat(M[A]);j&&g[t[0]]||(void 0!==I&&(void 0===t[5]||(t[1]="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {").concat(t[1],"}")),t[5]=I),D&&(t[2]?(t[1]="@media ".concat(t[2]," {").concat(t[1],"}"),t[2]=D):t[2]=D),z&&(t[4]?(t[1]="@supports (".concat(t[4],") {").concat(t[1],"}"),t[4]=z):t[4]="".concat(z)),N.push(t))}},N}},540:M=>{"use strict";M.exports=function(M){var N=document.createElement("style");return M.setAttributes(N,M.attributes),M.insert(N,M.options),N}},556:(M,N,D)=>{M.exports=D(694)()},601:M=>{"use strict";M.exports=function(M){return M[1]}},659:M=>{"use strict";var N={};M.exports=function(M,D){var j=function(M){if(void 0===N[M]){var D=document.querySelector(M);if(window.HTMLIFrameElement&&D instanceof window.HTMLIFrameElement)try{D=D.contentDocument.head}catch(M){D=null}N[M]=D}return N[M]}(M);if(!j)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");j.appendChild(D)}},694:(M,N,D)=>{"use strict";var j=D(925);function z(){}function I(){}I.resetWarningCache=z,M.exports=function(){function M(M,N,D,z,I,g){if(g!==j){var T=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 T.name="Invariant Violation",T}}function N(){return M}M.isRequired=M;var D={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:I,resetWarningCache:z};return D.PropTypes=D,D}},825:M=>{"use strict";M.exports=function(M){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var N=M.insertStyleElement(M);return{update:function(D){!function(M,N,D){var j="";D.supports&&(j+="@supports (".concat(D.supports,") {")),D.media&&(j+="@media ".concat(D.media," {"));var z=void 0!==D.layer;z&&(j+="@layer".concat(D.layer.length>0?" ".concat(D.layer):""," {")),j+=D.css,z&&(j+="}"),D.media&&(j+="}"),D.supports&&(j+="}");var I=D.sourceMap;I&&"undefined"!=typeof btoa&&(j+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(I))))," */")),N.styleTagTransform(j,M,N.options)}(N,M,D)},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(){"use strict";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 D,j,z=M.length;for(D=0;D<z;D+=1)for(var I in j=M[D].prototype)Object.prototype.hasOwnProperty.call(j,I)&&(N.prototype[I]=j[I])}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,D=this.audios.length;for(N=0;N<D;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 D,j=0,z=[];switch(M){case"int16":case"uint8c":D=1;break;default:D=1.1}for(j=0;j<N;j+=1)z.push(D);return z}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(N,D){return"float32"===N?new Float32Array(D):"int16"===N?new Int16Array(D):"uint8c"===N?new Uint8ClampedArray(D):M(N,D)}: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"],D=N.length;for(M=0;M<D;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,D=createSizedArray(M.length),j=M.length;for(N=0;N<j;N+=1)D[N]=Math.abs(M[N]);return D}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,D,j){this.type=M,this.currentTime=N,this.totalTime=D,this.direction=j<0?-1:1}function BMCompleteEvent(M,N){this.type=M,this.direction=N<0?-1:1}function BMCompleteLoopEvent(M,N,D,j){this.type=M,this.currentLoop=D,this.totalLoops=N,this.direction=j<0?-1:1}function BMSegmentStartEvent(M,N,D){this.type=M,this.firstFrame=N,this.totalFrames=D}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,D){var j,z,I,g,T,y,A,t;switch(y=D*(1-N),A=D*(1-(T=6*M-(g=Math.floor(6*M)))*N),t=D*(1-(1-T)*N),g%6){case 0:j=D,z=t,I=y;break;case 1:j=A,z=D,I=y;break;case 2:j=y,z=D,I=t;break;case 3:j=y,z=A,I=D;break;case 4:j=t,z=y,I=D;break;case 5:j=D,z=y,I=A}return[j,z,I]}function RGBtoHSV(M,N,D){var j,z=Math.max(M,N,D),I=Math.min(M,N,D),g=z-I,T=0===z?0:g/z,y=z/255;switch(z){case I:j=0;break;case M:j=N-D+g*(N<D?6:0),j/=6*g;break;case N:j=D-M+2*g,j/=6*g;break;case D:j=M-N+4*g,j/=6*g}return[j,T,y]}function addSaturationToRGB(M,N){var D=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return D[1]+=N,D[1]>1?D[1]=1:D[1]<=0&&(D[1]=0),HSVtoRGB(D[0],D[1],D[2])}function addBrightnessToRGB(M,N){var D=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return D[2]+=N,D[2]>1?D[2]=1:D[2]<0&&(D[2]=0),HSVtoRGB(D[0],D[1],D[2])}function addHueToRGB(M,N){var D=RGBtoHSV(255*M[0],255*M[1],255*M[2]);return D[0]+=N/360,D[0]>1?D[0]-=1:D[0]<0&&(D[0]+=1),HSVtoRGB(D[0],D[1],D[2])}var rgbToHex=function(){var M,N,D=[];for(M=0;M<256;M+=1)N=M.toString(16),D[M]=1===N.length?"0"+N:N;return function(M,N,j){return M<0&&(M=0),N<0&&(N=0),j<0&&(j=0),"#"+D[M]+D[N]+D[j]}}(),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,D=1,j=[],z={onmessage:function(){},postMessage:function(N){M({data:N})}},I={postMessage:function(M){z.onmessage({data:M})}};function g(){N||(N=function(N){if(window.Worker&&window.Blob&&getWebWorker()){var D=new Blob(["var _workerSelf = self; self.onmessage = ",N.toString()],{type:"text/javascript"}),j=URL.createObjectURL(D);return new Worker(j)}return M=N,z}((function(M){if(I.dataManager||(I.dataManager=function(){function M(z,I){var g,T,y,A,t,u,i,e=z.length;for(T=0;T<e;T+=1)if("ks"in(g=z[T])&&!g.completed){if(g.completed=!0,g.hasMask){var O=g.masksProperties;for(A=O.length,y=0;y<A;y+=1)if(O[y].pt.k.i)j(O[y].pt.k);else for(u=O[y].pt.k.length,t=0;t<u;t+=1)O[y].pt.k[t].s&&j(O[y].pt.k[t].s[0]),O[y].pt.k[t].e&&j(O[y].pt.k[t].e[0])}0===g.ty?(g.layers=N(g.refId,I),M(g.layers,I)):4===g.ty?D(g.shapes):5===g.ty&&(0===(i=g).t.a.length&&i.t.p)}}function N(M,N){var D=function(M,N){for(var D=0,j=N.length;D<j;){if(N[D].id===M)return N[D];D+=1}return null}(M,N);return D?D.layers.__used?JSON.parse(JSON.stringify(D.layers)):(D.layers.__used=!0,D.layers):null}function D(M){var N,z,I;for(N=M.length-1;N>=0;N-=1)if("sh"===M[N].ty)if(M[N].ks.k.i)j(M[N].ks.k);else for(I=M[N].ks.k.length,z=0;z<I;z+=1)M[N].ks.k[z].s&&j(M[N].ks.k[z].s[0]),M[N].ks.k[z].e&&j(M[N].ks.k[z].e[0]);else"gr"===M[N].ty&&D(M[N].it)}function j(M){var N,D=M.i.length;for(N=0;N<D;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 D=N?N.split("."):[100,100,100];return M[0]>D[0]||!(D[0]>M[0])&&(M[1]>D[1]||!(D[1]>M[1])&&(M[2]>D[2]||!(D[2]>M[2])&&null))}var I,g=function(){var M=[4,4,14];function N(M){var N,D,j,z=M.length;for(N=0;N<z;N+=1)5===M[N].ty&&(void 0,j=(D=M[N]).t.d,D.t.d={k:[{s:j,t:0}]})}return function(D){if(z(M,D.v)&&(N(D.layers),D.assets)){var j,I=D.assets.length;for(j=0;j<I;j+=1)D.assets[j].layers&&N(D.assets[j].layers)}}}(),T=(I=[4,7,99],function(M){if(M.chars&&!z(I,M.v)){var N,j=M.chars.length;for(N=0;N<j;N+=1){var g=M.chars[N];g.data&&g.data.shapes&&(D(g.data.shapes),g.data.ip=0,g.data.op=99999,g.data.st=0,g.data.sr=1,g.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||(g.data.shapes.push({ty:"no"}),g.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"})))}}}),y=function(){var M=[5,7,15];function N(M){var N,D,j=M.length;for(N=0;N<j;N+=1)5===M[N].ty&&(D=void 0,"number"==typeof(D=M[N].t.p).a&&(D.a={a:0,k:D.a}),"number"==typeof D.p&&(D.p={a:0,k:D.p}),"number"==typeof D.r&&(D.r={a:0,k:D.r}))}return function(D){if(z(M,D.v)&&(N(D.layers),D.assets)){var j,I=D.assets.length;for(j=0;j<I;j+=1)D.assets[j].layers&&N(D.assets[j].layers)}}}(),A=function(){var M=[4,1,9];function N(M){var D,j,z,I=M.length;for(D=0;D<I;D+=1)if("gr"===M[D].ty)N(M[D].it);else if("fl"===M[D].ty||"st"===M[D].ty)if(M[D].c.k&&M[D].c.k[0].i)for(z=M[D].c.k.length,j=0;j<z;j+=1)M[D].c.k[j].s&&(M[D].c.k[j].s[0]/=255,M[D].c.k[j].s[1]/=255,M[D].c.k[j].s[2]/=255,M[D].c.k[j].s[3]/=255),M[D].c.k[j].e&&(M[D].c.k[j].e[0]/=255,M[D].c.k[j].e[1]/=255,M[D].c.k[j].e[2]/=255,M[D].c.k[j].e[3]/=255);else M[D].c.k[0]/=255,M[D].c.k[1]/=255,M[D].c.k[2]/=255,M[D].c.k[3]/=255}function D(M){var D,j=M.length;for(D=0;D<j;D+=1)4===M[D].ty&&N(M[D].shapes)}return function(N){if(z(M,N.v)&&(D(N.layers),N.assets)){var j,I=N.assets.length;for(j=0;j<I;j+=1)N.assets[j].layers&&D(N.assets[j].layers)}}}(),t=function(){var M=[4,4,18];function N(M){var D,j,z;for(D=M.length-1;D>=0;D-=1)if("sh"===M[D].ty)if(M[D].ks.k.i)M[D].ks.k.c=M[D].closed;else for(z=M[D].ks.k.length,j=0;j<z;j+=1)M[D].ks.k[j].s&&(M[D].ks.k[j].s[0].c=M[D].closed),M[D].ks.k[j].e&&(M[D].ks.k[j].e[0].c=M[D].closed);else"gr"===M[D].ty&&N(M[D].it)}function D(M){var D,j,z,I,g,T,y=M.length;for(j=0;j<y;j+=1){if((D=M[j]).hasMask){var A=D.masksProperties;for(I=A.length,z=0;z<I;z+=1)if(A[z].pt.k.i)A[z].pt.k.c=A[z].cl;else for(T=A[z].pt.k.length,g=0;g<T;g+=1)A[z].pt.k[g].s&&(A[z].pt.k[g].s[0].c=A[z].cl),A[z].pt.k[g].e&&(A[z].pt.k[g].e[0].c=A[z].cl)}4===D.ty&&N(D.shapes)}}return function(N){if(z(M,N.v)&&(D(N.layers),N.assets)){var j,I=N.assets.length;for(j=0;j<I;j+=1)N.assets[j].layers&&D(N.assets[j].layers)}}}();var u={completeData:function(D){D.__complete||(A(D),g(D),T(D),y(D),t(D),M(D.layers,D.assets),function(D,j){if(D){var z=0,I=D.length;for(z=0;z<I;z+=1)1===D[z].t&&(D[z].data.layers=N(D[z].data.refId,j),M(D[z].data.layers,j))}}(D.chars,D.assets),D.__complete=!0)}};return u.checkColors=A,u.checkChars=T,u.checkPathProperties=y,u.checkShapes=t,u.completeLayers=M,u}()),I.assetLoader||(I.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,D,j,z){var I,g=new XMLHttpRequest;try{g.responseType="json"}catch(M){}g.onreadystatechange=function(){if(4===g.readyState)if(200===g.status)I=M(g),j(I);else try{I=M(g),j(I)}catch(M){z&&z(M)}};try{g.open(["G","E","T"].join(""),N,!0)}catch(M){g.open(["G","E","T"].join(""),D+"/"+N,!0)}g.send()}}}()),"loadAnimation"===M.data.type)I.assetLoader.load(M.data.path,M.data.fullPath,(function(N){I.dataManager.completeData(N),I.postMessage({id:M.data.id,payload:N,status:"success"})}),(function(){I.postMessage({id:M.data.id,status:"error"})}));else if("complete"===M.data.type){var N=M.data.animation;I.dataManager.completeData(N),I.postMessage({id:M.data.id,payload:N,status:"success"})}else"loadData"===M.data.type&&I.assetLoader.load(M.data.path,M.data.fullPath,(function(N){I.postMessage({id:M.data.id,payload:N,status:"success"})}),(function(){I.postMessage({id:M.data.id,status:"error"})}))})),N.onmessage=function(M){var N=M.data,D=N.id,z=j[D];j[D]=null,"success"===N.status?z.onComplete(N.payload):z.onError&&z.onError()})}function T(M,N){var z="processId_"+(D+=1);return j[z]={onComplete:M,onError:N},z}return{loadAnimation:function(M,D,j){g();var z=T(D,j);N.postMessage({type:"loadAnimation",path:M,fullPath:window.location.origin+window.location.pathname,id:z})},loadData:function(M,D,j){g();var z=T(D,j);N.postMessage({type:"loadData",path:M,fullPath:window.location.origin+window.location.pathname,id:z})},completeAnimation:function(M,D,j){g();var z=T(D,j);N.postMessage({type:"complete",animation:M,id:z})}}}(),ImagePreloader=function(){var M=function(){var M=createTag("canvas");M.width=1,M.heigh