!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.ChatWidget=t(require("React"),require("ReactDOM")):e.ChatWidget=t(e.React,e.ReactDOM)}(this,(e,t)=>(()=>{var n={20:(e,t,n)=>{"use strict";n(228);var a=n(883),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var a,r={},l=null,u=null;for(a in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,a)&&!c.hasOwnProperty(a)&&(r[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===r[a]&&(r[a]=t[a]);return{$$typeof:o,type:e,key:l,ref:u,props:r,_owner:i.current}}t.jsx=l,t.jsxs=l},228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var r,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))n.call(r,l)&&(s[l]=r[l]);if(t){i=t(r);for(var u=0;u<i.length;u++)a.call(r,i[u])&&(s[i[u]]=r[i[u]])}}return s}},454:e=>{"use strict";const{entries:t,setPrototypeOf:n,isFrozen:a,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:s,create:c}=Object,{apply:l,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),s||(s=function(e){return e}),l||(l=function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];return e.apply(t,a)}),u||(u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return new e(...n)});const d=A(Array.prototype.forEach),p=A(Array.prototype.lastIndexOf),h=A(Array.prototype.pop),m=A(Array.prototype.push),g=A(Array.prototype.splice),f=A(String.prototype.toLowerCase),b=A(String.prototype.toString),_=A(String.prototype.match),k=A(String.prototype.replace),x=A(String.prototype.indexOf),y=A(String.prototype.trim),w=A(Object.prototype.hasOwnProperty),v=A(RegExp.prototype.test),S=(T=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(T,t)});var T;function A(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return l(e,t,a)}}function E(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;n&&n(e,null);let r=t.length;for(;r--;){let n=t[r];if("string"==typeof n){const e=o(n);e!==n&&(a(t)||(t[r]=e),n=e)}e[n]=!0}return e}function C(e){for(let t=0;t<e.length;t++){w(e,t)||(e[t]=null)}return e}function j(e){const n=c(null);for(const[a,o]of t(e)){w(e,a)&&(Array.isArray(o)?n[a]=C(o):o&&"object"==typeof o&&o.constructor===Object?n[a]=j(o):n[a]=o)}return n}function N(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=o(e)}return function(){return null}}const O=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=i(["#text"]),z=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),H=s(/<%[\w\W]*|[\w\W]*%>/gm),B=s(/\$\{[\w\W]*/gm),W=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=s(/^aria-[\-\w]+$/),Y=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=s(/^(?:\w+script|data):/i),V=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=s(/^html$/i),J=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:J,DATA_ATTR:W,DOCTYPE_NAME:X,ERB_EXPR:H,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:G,TMPLIT_EXPR:B});const Q=1,ee=3,te=7,ne=8,ae=9,oe=function(){return"undefined"==typeof window?null:window};var re=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe();const a=t=>e(t);if(a.version="3.3.0",a.removed=[],!n||!n.document||n.document.nodeType!==ae||!n.Element)return a.isSupported=!1,a;let{document:o}=n;const r=o,s=r.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:T,Element:A,NodeFilter:C,NamedNodeMap:G=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:B,trustedTypes:W}=n,q=A.prototype,K=N(q,"cloneNode"),V=N(q,"remove"),J=N(q,"nextSibling"),re=N(q,"childNodes"),ie=N(q,"parentNode");if("function"==typeof u){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let se,ce="";const{implementation:le,createNodeIterator:ue,createDocumentFragment:de,getElementsByTagName:pe}=o,{importNode:he}=r;let me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};a.isSupported="function"==typeof t&&"function"==typeof ie&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:ge,ERB_EXPR:fe,TMPLIT_EXPR:be,DATA_ATTR:_e,ARIA_ATTR:ke,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:ye,CUSTOM_ELEMENT:we}=Z;let{IS_ALLOWED_URI:ve}=Z,Se=null;const Te=E({},[...O,...I,...L,...M,...P]);let Ae=null;const Ee=E({},[...z,...F,...$,...U]);let Ce=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,Ne=null;const Oe=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ie=!0,Le=!0,Re=!1,Me=!0,De=!1,Pe=!0,ze=!1,Fe=!1,$e=!1,Ue=!1,Ge=!1,He=!1,Be=!0,We=!1,qe=!0,Ye=!1,Ke={},Ve=null;const Xe=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Je=null;const Ze=E({},["audio","video","img","source","image","track"]);let Qe=null;const et=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml";let ot=at,rt=!1,it=null;const st=E({},[tt,nt,at],b);let ct=E({},["mi","mo","mn","ms","mtext"]),lt=E({},["annotation-xml"]);const ut=E({},["title","style","font","a","script"]);let dt=null;const pt=["application/xhtml+xml","text/html"];let ht=null,mt=null;const gt=o.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},bt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=j(e),dt=-1===pt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ht="application/xhtml+xml"===dt?b:f,Se=w(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,ht):Te,Ae=w(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,ht):Ee,it=w(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,b):st,Qe=w(e,"ADD_URI_SAFE_ATTR")?E(j(et),e.ADD_URI_SAFE_ATTR,ht):et,Je=w(e,"ADD_DATA_URI_TAGS")?E(j(Ze),e.ADD_DATA_URI_TAGS,ht):Ze,Ve=w(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,ht):Xe,je=w(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,ht):j({}),Ne=w(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,ht):j({}),Ke=!!w(e,"USE_PROFILES")&&e.USE_PROFILES,Ie=!1!==e.ALLOW_ARIA_ATTR,Le=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,De=e.SAFE_FOR_TEMPLATES||!1,Pe=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Ue=e.RETURN_DOM||!1,Ge=e.RETURN_DOM_FRAGMENT||!1,He=e.RETURN_TRUSTED_TYPE||!1,$e=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||Y,ot=e.NAMESPACE||at,ct=e.MATHML_TEXT_INTEGRATION_POINTS||ct,lt=e.HTML_INTEGRATION_POINTS||lt,Ce=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ce.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ce.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ce.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Le=!1),Ge&&(Ue=!0),Ke&&(Se=E({},P),Ae=[],!0===Ke.html&&(E(Se,O),E(Ae,z)),!0===Ke.svg&&(E(Se,I),E(Ae,F),E(Ae,U)),!0===Ke.svgFilters&&(E(Se,L),E(Ae,F),E(Ae,U)),!0===Ke.mathMl&&(E(Se,M),E(Ae,$),E(Ae,U))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Oe.tagCheck=e.ADD_TAGS:(Se===Te&&(Se=j(Se)),E(Se,e.ADD_TAGS,ht))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Oe.attributeCheck=e.ADD_ATTR:(Ae===Ee&&(Ae=j(Ae)),E(Ae,e.ADD_ATTR,ht))),e.ADD_URI_SAFE_ATTR&&E(Qe,e.ADD_URI_SAFE_ATTR,ht),e.FORBID_CONTENTS&&(Ve===Xe&&(Ve=j(Ve)),E(Ve,e.FORBID_CONTENTS,ht)),qe&&(Se["#text"]=!0),ze&&E(Se,["html","head","body"]),Se.table&&(E(Se,["tbody"]),delete je.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');se=e.TRUSTED_TYPES_POLICY,ce=se.createHTML("")}else void 0===se&&(se=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(n=t.getAttribute(a));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(W,s)),null!==se&&"string"==typeof ce&&(ce=se.createHTML(""));i&&i(e),mt=e}},_t=E({},[...I,...L,...R]),kt=E({},[...M,...D]),xt=function(e){m(a.removed,{element:e});try{ie(e).removeChild(e)}catch(t){V(e)}},yt=function(e,t){try{m(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ue||Ge)try{xt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},wt=function(e){let t=null,n=null;if($e)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===dt&&ot===at&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=se?se.createHTML(e):e;if(ot===at)try{t=(new B).parseFromString(a,dt)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?ce:a}catch(e){}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),ot===at?pe.call(t,ze?"html":"body")[0]:ze?t.documentElement:r},vt=function(e){return ue.call(e.ownerDocument||e,e,C.SHOW_ELEMENT|C.SHOW_COMMENT|C.SHOW_TEXT|C.SHOW_PROCESSING_INSTRUCTION|C.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof H&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof G)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof T&&e instanceof T};function At(e,t,n){d(e,e=>{e.call(a,t,n,mt)})}const Et=function(e){let t=null;if(At(me.beforeSanitizeElements,e,null),St(e))return xt(e),!0;const n=ht(e.nodeName);if(At(me.uponSanitizeElement,e,{tagName:n,allowedTags:Se}),Pe&&e.hasChildNodes()&&!Tt(e.firstElementChild)&&v(/<[/\w!]/g,e.innerHTML)&&v(/<[/\w!]/g,e.textContent))return xt(e),!0;if(e.nodeType===te)return xt(e),!0;if(Pe&&e.nodeType===ne&&v(/<[/\w]/g,e.data))return xt(e),!0;if(!(Oe.tagCheck instanceof Function&&Oe.tagCheck(n))&&(!Se[n]||je[n])){if(!je[n]&&jt(n)){if(Ce.tagNameCheck instanceof RegExp&&v(Ce.tagNameCheck,n))return!1;if(Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(n))return!1}if(qe&&!Ve[n]){const t=ie(e)||e.parentNode,n=re(e)||e.childNodes;if(n&&t){for(let a=n.length-1;a>=0;--a){const o=K(n[a],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,J(e))}}}return xt(e),!0}return e instanceof A&&!function(e){let t=ie(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=f(e.tagName),a=f(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===at?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===a||ct[a]):Boolean(_t[n]):e.namespaceURI===tt?t.namespaceURI===at?"math"===n:t.namespaceURI===nt?"math"===n&&lt[a]:Boolean(kt[n]):e.namespaceURI===at?!(t.namespaceURI===nt&&!lt[a])&&!(t.namespaceURI===tt&&!ct[a])&&!kt[n]&&(ut[n]||!_t[n]):!("application/xhtml+xml"!==dt||!it[e.namespaceURI]))}(e)?(xt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!v(/<\/no(script|embed|frames)/i,e.innerHTML)?(De&&e.nodeType===ee&&(t=e.textContent,d([ge,fe,be],e=>{t=k(t,e," ")}),e.textContent!==t&&(m(a.removed,{element:e.cloneNode()}),e.textContent=t)),At(me.afterSanitizeElements,e,null),!1):(xt(e),!0)},Ct=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in o||n in gt))return!1;if(Le&&!Ne[t]&&v(_e,t));else if(Ie&&v(ke,t));else if(Oe.attributeCheck instanceof Function&&Oe.attributeCheck(t,e));else if(!Ae[t]||Ne[t]){if(!(jt(e)&&(Ce.tagNameCheck instanceof RegExp&&v(Ce.tagNameCheck,e)||Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(e))&&(Ce.attributeNameCheck instanceof RegExp&&v(Ce.attributeNameCheck,t)||Ce.attributeNameCheck instanceof Function&&Ce.attributeNameCheck(t,e))||"is"===t&&Ce.allowCustomizedBuiltInElements&&(Ce.tagNameCheck instanceof RegExp&&v(Ce.tagNameCheck,n)||Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(n))))return!1}else if(Qe[t]);else if(v(ve,k(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==x(n,"data:")||!Je[e]){if(Re&&!v(xe,k(n,ye,"")));else if(n)return!1}else;return!0},jt=function(e){return"annotation-xml"!==e&&_(e,we)},Nt=function(e){At(me.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||St(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ae,forceKeepAttr:void 0};let o=t.length;for(;o--;){const r=t[o],{name:i,namespaceURI:s,value:c}=r,l=ht(i),u=c;let p="value"===i?u:y(u);if(n.attrName=l,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,At(me.uponSanitizeAttribute,e,n),p=n.attrValue,!We||"id"!==l&&"name"!==l||(yt(i,e),p="user-content-"+p),Pe&&v(/((--!?|])>)|<\/(style|title|textarea)/i,p)){yt(i,e);continue}if("attributename"===l&&_(p,"href")){yt(i,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){yt(i,e);continue}if(!Me&&v(/\/>/i,p)){yt(i,e);continue}De&&d([ge,fe,be],e=>{p=k(p,e," ")});const m=ht(e.nodeName);if(Ct(m,l,p)){if(se&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(m,l)){case"TrustedHTML":p=se.createHTML(p);break;case"TrustedScriptURL":p=se.createScriptURL(p)}if(p!==u)try{s?e.setAttributeNS(s,i,p):e.setAttribute(i,p),St(e)?xt(e):h(a.removed)}catch(t){yt(i,e)}}else yt(i,e)}At(me.afterSanitizeAttributes,e,null)},Ot=function e(t){let n=null;const a=vt(t);for(At(me.beforeSanitizeShadowDOM,t,null);n=a.nextNode();)At(me.uponSanitizeShadowNode,n,null),Et(n),Nt(n),n.content instanceof l&&e(n.content);At(me.afterSanitizeShadowDOM,t,null)};return a.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,i=null,s=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!a.isSupported)return e;if(Fe||bt(t),a.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ht(e.nodeName);if(!Se[t]||je[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof T)n=wt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),o.nodeType===Q&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Ue&&!De&&!ze&&-1===e.indexOf("<"))return se&&He?se.createHTML(e):e;if(n=wt(e),!n)return Ue?null:He?ce:""}n&&$e&&xt(n.firstChild);const c=vt(Ye?e:n);for(;i=c.nextNode();)Et(i),Nt(i),i.content instanceof l&&Ot(i.content);if(Ye)return e;if(Ue){if(Ge)for(s=de.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(Ae.shadowroot||Ae.shadowrootmode)&&(s=he.call(r,s,!0)),s}let u=ze?n.outerHTML:n.innerHTML;return ze&&Se["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&v(X,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),De&&d([ge,fe,be],e=>{u=k(u,e," ")}),se&&He?se.createHTML(u):u},a.setConfig=function(){bt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Fe=!0},a.clearConfig=function(){mt=null,Fe=!1},a.isValidAttribute=function(e,t,n){mt||bt({});const a=ht(e),o=ht(t);return Ct(a,o,n)},a.addHook=function(e,t){"function"==typeof t&&m(me[e],t)},a.removeHook=function(e,t){if(void 0!==t){const n=p(me[e],t);return-1===n?void 0:g(me[e],n,1)[0]}return h(me[e])},a.removeHooks=function(e){me[e]=[]},a.removeAllHooks=function(){me={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},a}();e.exports=re},482:(e,t,n)=>{"use strict";t.A=function(e){let{description:t,lineLimit:n=2,padding:a="0.5ch 1ch",position:i="top",width:c="max-content",maxWidth:d="200px",fontSize:p="1rem",fontColor:h="#ffffff",backgroundColor:m="#00000066",children:g,follow:f="mouse",gap:b="0px"}=e;const _=(0,o.useMemo)(()=>!!g&&o.default.cloneElement(g,{onMouseEnter:y,onMouseLeave:v,onMouseMove:w}),[g]),k=(0,o.useMemo)(()=>{let e=document.createElement("div"),o=document.createElement("div");return e.className="garenatooltip__content",o.className="garenatooltip__text",o.innerHTML=r.default.sanitize(t),e.appendChild(o),u(o,{...s.text,"-webkit-line-clamp":n}),u(e,{...s.content,width:c,"max-width":d,"font-size":p,color:h,"background-color":m,padding:a}),e},[t,n,c,d,p,h,m,a]),x=(0,o.useMemo)(()=>{let e=document.createElement("div");e.className="garenatooltip__gap";let t=b.split(" ");return u(e,{...s.gap,width:t[0],height:t[1]||t[0]}),e},[b]);function y(e){l.appendChild(k),l.appendChild(x),u(l,{...s.main,"--show":"1"})}function w(e){t&&function(e,t){let n=0,a=0,o=k.getBoundingClientRect(),r=x.getBoundingClientRect();a=i.indexOf("top")>=0?t-r.height-o.height:i.indexOf("bottom")>=0?t+r.height:t-.5*o.height,a<0?a=t+r.height:a+o.height>window.innerHeight&&(a=t-r.height-o.height),n=i.indexOf("left")>=0?e-r.width-o.width:i.indexOf("right")>=0?e+r.width:e-.5*o.width,n<0?n=e+r.width:n+o.width>window.innerWidth&&(n=e-r.width-o.width),u(l,{"--x":n+"px","--y":a+"px"})}(e.clientX,e.clientY)}function v(e){l.innerHTML="",u(l,{"--show":"0"})}return(0,o.useEffect)(()=>{},[]),_||!1};var a,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var s=o?Object.getOwnPropertyDescriptor(e,r):null;s&&(s.get||s.set)?Object.defineProperty(a,r,s):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(883)),r=(a=n(454))&&a.__esModule?a:{default:a};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}const s={main:{position:"fixed",top:"0",left:"0",width:"100%",height:"100%","pointer-events":"none","user-select":"none","z-index":"800"},gap:{position:"absolute",top:"0",left:"0",opacity:"0","pointer-events":"none","user-select":"none"},content:{"font-size":"1em",position:"absolute",top:"var(--y)",left:"var(--x)","pointer-events":"none","user-select":"none"},text:{width:"100%",display:"-webkit-box",overflow:"hidden","text-overflow":"ellipsis","-webkit-box-orient":"vertical","pointer-events":"none","user-select":"none"}},c=document.getElementsByTagName("body")[0],l=document.getElementById("garenaTooltip")||document.createElement("div");function u(e,t){e&&Object.keys(t).map(n=>{e.style.setProperty(n,t[n])})}l.id="garenaTooltip",l.className="garenatooltip",c.appendChild(l),u(l,s.main)},616:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>tn,StyleSheetConsumer:()=>At,StyleSheetContext:()=>Tt,StyleSheetManager:()=>jt,ThemeConsumer:()=>$t,ThemeContext:()=>Ft,ThemeProvider:()=>Gt,__PRIVATE__:()=>nn,createGlobalStyle:()=>Zt,css:()=>Yt,default:()=>Xt,isStyledComponent:()=>Ke,keyframes:()=>Qt,styled:()=>Xt,useTheme:()=>Ut,version:()=>pe,withTheme:()=>en});var a=function(){return a=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create;function o(e,t,n){if(n||2===arguments.length)for(var a,o=0,r=t.length;o<r;o++)!a&&o in t||(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var r=n(883),i=n.n(r),s=n(833),c=n.n(s),l="-ms-",u="-moz-",d="-webkit-",p="comm",h="rule",m="decl",g="@import",f="@namespace",b="@keyframes",_="@layer",k=Math.abs,x=String.fromCharCode,y=Object.assign;function w(e){return e.trim()}function v(e,t){return(e=t.exec(e))?e[0]:e}function S(e,t,n){return e.replace(t,n)}function T(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function C(e){return e.length}function j(e){return e.length}function N(e,t){return t.push(e),e}function O(e,t){return e.filter(function(e){return!v(e,t)})}var I=1,L=1,R=0,M=0,D=0,P="";function z(e,t,n,a,o,r,i,s){return{value:e,root:t,parent:n,type:a,props:o,children:r,line:I,column:L,length:i,return:"",siblings:s}}function F(e,t){return y(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $(e){for(;e.root;)e=F(e.root,{children:[e]});N(e,e.siblings)}function U(){return D=M>0?A(P,--M):0,L--,10===D&&(L=1,I--),D}function G(){return D=M<R?A(P,M++):0,L++,10===D&&(L=1,I++),D}function H(){return A(P,M)}function B(){return M}function W(e,t){return E(P,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return I=L=1,R=C(P=e),M=0,[]}function K(e){return P="",e}function V(e){return w(W(M-1,Z(91===e?e+2:40===e?e+1:e)))}function X(e){for(;(D=H())&&D<33;)G();return q(e)>2||q(D)>3?"":" "}function J(e,t){for(;--t&&G()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return W(e,B()+(t<6&&32==H()&&32==G()))}function Z(e){for(;G();)switch(D){case e:return M;case 34:case 39:34!==e&&39!==e&&Z(D);break;case 40:41===e&&Z(e);break;case 92:G()}return M}function Q(e,t){for(;G()&&e+D!==57&&(e+D!==84||47!==H()););return"/*"+W(t,M-1)+"*"+x(47===e?e:G())}function ee(e){for(;!q(H());)G();return W(e,M)}function te(e,t){for(var n="",a=0;a<e.length;a++)n+=t(e[a],a,e,t)||"";return n}function ne(e,t,n,a){switch(e.type){case _:if(e.children.length)break;case g:case f:case m:return e.return=e.return||e.value;case p:return"";case b:return e.return=e.value+"{"+te(e.children,a)+"}";case h:if(!C(e.value=e.props.join(",")))return""}return C(n=te(e.children,a))?e.return=e.value+"{"+n+"}":""}function ae(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return d+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return d+e+e;case 4855:return d+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+l+e+e;case 5936:switch(A(e,t+11)){case 114:return d+e+l+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+l+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+l+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+l+e+e;case 6165:return d+e+l+"flex-"+e+e;case 5187:return d+e+S(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return d+e+l+"flex-item-"+S(e,/flex-|-self/g,"")+(v(e,/flex-|baseline/)?"":l+"grid-row-"+S(e,/flex-|-self/g,""))+e;case 4675:return d+e+l+"flex-line-pack"+S(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+l+S(e,"shrink","negative")+e;case 5292:return d+e+l+S(e,"basis","preferred-size")+e;case 6060:return d+"box-"+S(e,"-grow","")+d+e+l+S(e,"grow","positive")+e;case 4554:return d+S(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+l+"flex-pack:$3"),/space-between/,"justify")+d+e+e;case 4200:if(!v(e,/flex-|baseline/))return l+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return l+S(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,v(e.props,/grid-\w+-end/)})?~T(e+(n=n[t].value),"span",0)?e:l+S(e,"-start","")+e+l+"grid-row-span:"+(~T(n,"span",0)?v(n,/\d+/):+v(n,/\d+/)-+v(e,/\d+/))+";":l+S(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return v(e.props,/grid-\w+-start/)})?e:l+S(S(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,d+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~T(e,"stretch",0)?ae(S(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return S(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,a,o,r,i,s){return l+n+":"+a+s+(o?l+n+"-span:"+(r?i:+i-+a)+s:"")+e});case 4949:if(121===A(e,t+6))return S(e,":",":"+d)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return S(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===A(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+l+"$2box$3")+e;case 100:return S(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return S(e,"scroll-","scroll-snap-")+e}return e}function oe(e,t,n,a){if(e.length>-1&&!e.return)switch(e.type){case m:return void(e.return=ae(e.value,e.length,n));case b:return te([F(e,{value:S(e.value,"@","@"+d)})],a);case h:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(v(t,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$(F(e,{props:[S(t,/:(read-\w+)/,":"+u+"$1")]})),$(F(e,{props:[t]})),y(e,{props:O(n,a)});break;case"::placeholder":$(F(e,{props:[S(t,/:(plac\w+)/,":"+d+"input-$1")]})),$(F(e,{props:[S(t,/:(plac\w+)/,":"+u+"$1")]})),$(F(e,{props:[S(t,/:(plac\w+)/,l+"input-$1")]})),$(F(e,{props:[t]})),y(e,{props:O(n,a)})}return""})}}function re(e){return K(ie("",null,null,null,[""],e=Y(e),0,[0],e))}function ie(e,t,n,a,o,r,i,s,c){for(var l=0,u=0,d=i,p=0,h=0,m=0,g=1,f=1,b=1,_=0,y="",w=o,v=r,j=a,O=y;f;)switch(m=_,_=G()){case 40:if(108!=m&&58==A(O,d-1)){-1!=T(O+=S(V(_),"&","&\f"),"&\f",k(l?s[l-1]:0))&&(b=-1);break}case 34:case 39:case 91:O+=V(_);break;case 9:case 10:case 13:case 32:O+=X(m);break;case 92:O+=J(B()-1,7);continue;case 47:switch(H()){case 42:case 47:N(ce(Q(G(),B()),t,n,c),c),5!=q(m||1)&&5!=q(H()||1)||!C(O)||" "===E(O,-1,void 0)||(O+=" ");break;default:O+="/"}break;case 123*g:s[l++]=C(O)*b;case 125*g:case 59:case 0:switch(_){case 0:case 125:f=0;case 59+u:-1==b&&(O=S(O,/\f/g,"")),h>0&&(C(O)-d||0===g&&47===m)&&N(h>32?le(O+";",a,n,d-1,c):le(S(O," ","")+";",a,n,d-2,c),c);break;case 59:O+=";";default:if(N(j=se(O,t,n,l,u,o,s,y,w=[],v=[],d,r),r),123===_)if(0===u)ie(O,t,j,j,w,r,d,s,v);else{switch(p){case 99:if(110===A(O,3))break;case 108:if(97===A(O,2))break;default:u=0;case 100:case 109:case 115:}u?ie(e,j,j,a&&N(se(e,j,j,0,0,o,s,y,o,w=[],d,v),v),o,v,d,s,a?w:v):ie(O,j,j,j,[""],v,0,s,v)}}l=u=h=0,g=b=1,y=O="",d=i;break;case 58:d=1+C(O),h=m;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==U())continue;switch(O+=x(_),_*g){case 38:b=u>0?1:(O+="\f",-1);break;case 44:s[l++]=(C(O)-1)*b,b=1;break;case 64:45===H()&&(O+=V(G())),p=H(),u=d=C(y=O+=ee(B())),_++;break;case 45:45===m&&2==C(O)&&(g=0)}}return r}function se(e,t,n,a,o,r,i,s,c,l,u,d){for(var p=o-1,m=0===o?r:[""],g=j(m),f=0,b=0,_=0;f<a;++f)for(var x=0,y=E(e,p+1,p=k(b=i[f])),v=e;x<g;++x)(v=w(b>0?m[x]+" "+y:S(y,/&\f/g,m[x])))&&(c[_++]=v);return z(e,t,n,0===o?h:s,c,l,u,d)}function ce(e,t,n,a){return z(e,t,n,p,x(D),E(e,2,-2),0,a)}function le(e,t,n,a,o){return z(e,t,n,m,E(e,0,a),E(e,a+1,-1),a,o)}var ue={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},de="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",pe="6.1.1",he="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),ge={},fe=(new Set,Object.freeze([])),be=Object.freeze({});function _e(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var ke=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ye=/(^-|-$)/g;function we(e){return e.replace(xe,"-").replace(ye,"")}var ve=/(a)(d)/gi,Se=function(e){return String.fromCharCode(e+(e>25?39:97))};function Te(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Se(t%52)+n;return(Se(t%52)+n).replace(ve,"$1-$2")}var Ae,Ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ce=function(e){return Ee(5381,e)};function je(e){return Te(Ce(e)>>>0)}function Ne(e){return e.displayName||e.name||"Component"}function Oe(e){return"string"==typeof e&&!0}var Ie="function"==typeof Symbol&&Symbol.for,Le=Ie?Symbol.for("react.memo"):60115,Re=Ie?Symbol.for("react.forward_ref"):60112,Me={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},De={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Pe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ze=((Ae={})[Re]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ae[Le]=Pe,Ae);function Fe(e){return("type"in(t=e)&&t.type.$$typeof)===Le?Pe:"$$typeof"in e?ze[e.$$typeof]:Me;var t}var $e=Object.defineProperty,Ue=Object.getOwnPropertyNames,Ge=Object.getOwnPropertySymbols,He=Object.getOwnPropertyDescriptor,Be=Object.getPrototypeOf,We=Object.prototype;function qe(e,t,n){if("string"!=typeof t){if(We){var a=Be(t);a&&a!==We&&qe(e,a,n)}var o=Ue(t);Ge&&(o=o.concat(Ge(t)));for(var r=Fe(e),i=Fe(t),s=0;s<o.length;++s){var c=o[s];if(!(c in De||n&&n[c]||i&&c in i||r&&c in r)){var l=He(t,c);try{$e(e,c,l)}catch(e){}}}}return e}function Ye(e){return"function"==typeof e}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}function Ve(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Xe(e,t){if(0===e.length)return"";for(var n=e[0],a=1;a<e.length;a++)n+=t?t+e[a]:e[a];return n}function Je(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ze(e,t,n){if(void 0===n&&(n=!1),!n&&!Je(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var a=0;a<t.length;a++)e[a]=Ze(e[a],t[a]);else if(Je(t))for(var a in t)e[a]=Ze(e[a],t[a]);return e}function Qe(e,t){Object.defineProperty(e,"toString",{value:t})}function et(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var tt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,o=a;e>=o;)if((o<<=1)<0)throw et(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var r=a;r<o;r++)this.groupSizes[r]=0}for(var i=this.indexOfGroup(e+1),s=(r=0,t.length);r<s;r++)this.tag.insertRule(i,t[r])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),a=n+t;this.groupSizes[e]=0;for(var o=n;o<a;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],a=this.indexOfGroup(e),o=a+n,r=a;r<o;r++)t+="".concat(this.tag.getRule(r)).concat("/*!sc*/\n");return t},e}(),nt=new Map,at=new Map,ot=1,rt=function(e){if(nt.has(e))return nt.get(e);for(;at.has(ot);)ot++;var t=ot++;return nt.set(e,t),at.set(t,e),t},it=function(e,t){ot=t+1,nt.set(e,t),at.set(t,e)},st="style[".concat(de,"][").concat("data-styled-version",'="').concat("6.1.1",'"]'),ct=new RegExp("^".concat(de,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lt=function(e,t,n){for(var a,o=n.split(","),r=0,i=o.length;r<i;r++)(a=o[r])&&e.registerName(t,a)},ut=function(e,t){for(var n,a=(null!==(n=t.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),o=[],r=0,i=a.length;r<i;r++){var s=a[r].trim();if(s){var c=s.match(ct);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(it(u,l),lt(e,u,c[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(s)}}};function dt(){return n.nc}var pt=function(e){var t=document.head,n=e||t,a=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(de,"]")));return t[t.length-1]}(n),r=void 0!==o?o.nextSibling:null;a.setAttribute(de,"active"),a.setAttribute("data-styled-version","6.1.1");var i=dt();return i&&a.setAttribute("nonce",i),n.insertBefore(a,r),a},ht=function(){function e(e){this.element=pt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,a=t.length;n<a;n++){var o=t[n];if(o.ownerNode===e)return o}throw et(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),mt=function(){function e(e){this.element=pt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),gt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ft=he,bt={isServer:!he,useCSSOMInjection:!me},_t=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var o=this;this.options=a(a({},bt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&ft&&(ft=!1,function(e){for(var t=document.querySelectorAll(st),n=0,a=t.length;n<a;n++){var o=t[n];o&&"active"!==o.getAttribute(de)&&(ut(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),Qe(this,function(){return function(e){for(var t=e.getTag(),n=t.length,a="",o=function(n){var o=function(e){return at.get(e)}(n);if(void 0===o)return"continue";var r=e.names.get(o),i=t.getGroup(n);if(void 0===r||0===i.length)return"continue";var s="".concat(de,".g").concat(n,'[id="').concat(o,'"]'),c="";void 0!==r&&r.forEach(function(e){e.length>0&&(c+="".concat(e,","))}),a+="".concat(i).concat(s,'{content:"').concat(c,'"}').concat("/*!sc*/\n")},r=0;r<n;r++)o(r);return a}(o)})}return e.registerId=function(e){return rt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(a(a({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new gt(n):t?new ht(n):new mt(n)}(this.options),new tt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(rt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(rt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(rt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),kt=/&/g,xt=/^\s*\/\/.*$/gm;function yt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=yt(e.children,t)),e})}function wt(e){var t,n,a,o=void 0===e?be:e,r=o.options,i=void 0===r?be:r,s=o.plugins,c=void 0===s?fe:s,l=function(e,a,o){return o===n||o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(kt,n).replace(a,l))}),i.prefix&&u.push(oe),u.push(ne);var d=function(e,o,r,s){void 0===o&&(o=""),void 0===r&&(r=""),void 0===s&&(s="&"),t=s,n=o,a=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xt,""),l=re(r||o?"".concat(r," ").concat(o," { ").concat(c," }"):c);i.namespace&&(l=yt(l,i.namespace));var d,p,h,m=[];return te(l,(d=u.concat((h=function(e){return m.push(e)},function(e){e.root||(e=e.return)&&h(e)})),p=j(d),function(e,t,n,a){for(var o="",r=0;r<p;r++)o+=d[r](e,t,n,a)||"";return o})),m};return d.hash=c.length?c.reduce(function(e,t){return t.name||et(15),Ee(e,t.name)},5381).toString():"",d}var vt=new _t,St=wt(),Tt=i().createContext({shouldForwardProp:void 0,styleSheet:vt,stylis:St}),At=Tt.Consumer,Et=i().createContext(void 0);function Ct(){return(0,r.useContext)(Tt)}function jt(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],a=t[1],o=Ct().styleSheet,s=(0,r.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,r.useMemo)(function(){return wt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,r.useEffect)(function(){c()(n,e.stylisPlugins)||a(e.stylisPlugins)},[e.stylisPlugins]);var u=(0,r.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:l}},[e.shouldForwardProp,s,l]);return i().createElement(Tt.Provider,{value:u},i().createElement(Et.Provider,{value:l},e.children))}var Nt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=St);var a=n.name+t.hash;e.hasNameForId(n.id,a)||e.insertRules(n.id,a,t(n.rules,a,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Qe(this,function(){throw et(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=St),this.name+e.hash},e}(),Ot=function(e){return e>="A"&&e<="Z"};function It(e){for(var t="",n=0;n<e.length;n++){var a=e[n];if(1===n&&"-"===a&&"-"===e[0])return e;Ot(a)?t+="-"+a.toLowerCase():t+=a}return t.startsWith("ms-")?"-"+t:t}var Lt=function(e){return null==e||!1===e||""===e},Rt=function(e){var t,n,a=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Lt(i)&&(Array.isArray(i)&&i.isCss||Ye(i)?a.push("".concat(It(r),":"),i,";"):Je(i)?a.push.apply(a,o(o(["".concat(r," {")],Rt(i),!1),["}"],!1)):a.push("".concat(It(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ue||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return a};function Mt(e,t,n,a){return Lt(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Ye(e)?!Ye(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Mt(e(t),t,n,a):e instanceof Nt?n?(e.inject(n,a),[e.getName(a)]):[e]:Je(e)?Rt(e):Array.isArray(e)?Array.prototype.concat.apply(fe,e.map(function(e){return Mt(e,t,n,a)})):[e.toString()];var o}function Dt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ye(n)&&!Ke(n))return!1}return!0}var Pt=Ce("6.1.1"),zt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Dt(e),this.componentId=t,this.baseHash=Ee(Pt,t),this.baseStyle=n,_t.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))a=Ve(a,this.staticRulesId);else{var o=Xe(Mt(this.rules,e,t,n)),r=Te(Ee(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,r)){var i=n(o,".".concat(r),void 0,this.componentId);t.insertRules(this.componentId,r,i)}a=Ve(a,r),this.staticRulesId=r}else{for(var s=Ee(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var d=Xe(Mt(u,e,t,n));s=Ee(s,d+l),c+=d}}if(c){var p=Te(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(c,".".concat(p),void 0,this.componentId)),a=Ve(a,p)}}return a},e}(),Ft=i().createContext(void 0),$t=Ft.Consumer;function Ut(){var e=(0,r.useContext)(Ft);if(!e)throw et(18);return e}function Gt(e){var t=i().useContext(Ft),n=(0,r.useMemo)(function(){return function(e,t){if(!e)throw et(14);if(Ye(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw et(8);return t?a(a({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?i().createElement(Ft.Provider,{value:n},e.children):null}var Ht={};new Set;function Bt(e,t,n){var o=Ke(e),s=e,c=!Oe(e),l=t.attrs,u=void 0===l?fe:l,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":we(e);Ht[n]=(Ht[n]||0)+1;var a="".concat(n,"-").concat(je("6.1.1"+n+Ht[n]));return t?"".concat(t,"-").concat(a):a}(t.displayName,t.parentComponentId):d,h=t.displayName,m=void 0===h?function(e){return Oe(e)?"styled.".concat(e):"Styled(".concat(Ne(e),")")}(e):h,g=t.displayName&&t.componentId?"".concat(we(t.displayName),"-").concat(t.componentId):t.componentId||p,f=o&&s.attrs?s.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(o&&s.shouldForwardProp){var _=s.shouldForwardProp;if(t.shouldForwardProp){var k=t.shouldForwardProp;b=function(e,t){return _(e,t)&&k(e,t)}}else b=_}var x=new zt(n,g,o?s.componentStyle:void 0);function y(e,t){return function(e,t,n){var o=e.attrs,s=e.componentStyle,c=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Ft),h=Ct(),m=e.shouldForwardProp||h.shouldForwardProp,g=function(e,t,n){for(var o,r=a(a({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var s=Ye(o=e[i])?o(r):o;for(var c in s)r[c]="className"===c?Ve(r[c],s[c]):"style"===c?a(a({},r[c]),s[c]):s[c]}return t.className&&(r.className=Ve(r.className,t.className)),r}(o,t,_e(t,p,c)||be),f=g.as||d,b={};for(var _ in g)void 0===g[_]||"$"===_[0]||"as"===_||"theme"===_||("forwardedAs"===_?b.as=g.forwardedAs:m&&!m(_,f)||(b[_]=g[_]));var k=function(e,t){var n=Ct();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(s,g),x=Ve(l,u);return k&&(x+=" "+k),g.className&&(x+=" "+g.className),b[Oe(f)&&!ke.has(f)?"class":"className"]=x,b.ref=n,(0,r.createElement)(f,b)}(w,e,t)}y.displayName=m;var w=i().forwardRef(y);return w.attrs=f,w.componentStyle=x,w.displayName=m,w.shouldForwardProp=b,w.foldedComponentIds=o?Ve(s.foldedComponentIds,s.styledComponentId):"",w.styledComponentId=g,w.target=o?s.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var a=0,o=t;a<o.length;a++)Ze(e,o[a],!0);return e}({},s.defaultProps,e):e}}),Qe(w,function(){return".".concat(w.styledComponentId)}),c&&qe(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Wt(e,t){for(var n=[e[0]],a=0,o=t.length;a<o;a+=1)n.push(t[a],e[a+1]);return n}var qt=function(e){return Object.assign(e,{isCss:!0})};function Yt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Ye(e)||Je(e))return qt(Mt(Wt(fe,o([e],t,!0))));var a=e;return 0===t.length&&1===a.length&&"string"==typeof a[0]?Mt(a):qt(Mt(Wt(a,t)))}function Kt(e,t,n){if(void 0===n&&(n=be),!t)throw et(1,t);var r=function(a){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,Yt.apply(void 0,o([a],r,!1)))};return r.attrs=function(o){return Kt(e,t,a(a({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return Kt(e,t,a(a({},n),o))},r}var Vt=function(e){return Kt(Bt,e)},Xt=Vt;ke.forEach(function(e){Xt[e]=Vt(e)});var Jt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Dt(e),_t.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,a){var o=a(Xe(Mt(this.rules,t,n,a)),""),r=this.componentId+e;n.insertRules(r,r,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,a){e>2&&_t.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,a)},e}();function Zt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Yt.apply(void 0,o([e],t,!1)),s="sc-global-".concat(je(JSON.stringify(r))),c=new Jt(r,s),l=function(e){var t=Ct(),n=i().useContext(Ft),a=i().useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(a,e,t.styleSheet,n,t.stylis),i().useLayoutEffect(function(){if(!t.styleSheet.server)return u(a,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(a,t.styleSheet)}},[a,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,r){if(c.isStatic)c.renderStyles(e,ge,n,r);else{var i=a(a({},t),{theme:_e(t,o,l.defaultProps)});c.renderStyles(e,i,n,r)}}return i().memo(l)}function Qt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Xe(Yt.apply(void 0,o([e],t,!1))),r=je(a);return new Nt(r,a)}function en(e){var t=i().forwardRef(function(t,n){var o=_e(t,i().useContext(Ft),e.defaultProps);return i().createElement(e,a({},t,{theme:o,ref:n}))});return t.displayName="WithTheme(".concat(Ne(e),")"),qe(t,e)}var tn=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=dt(),a=Xe([n&&'nonce="'.concat(n,'"'),"".concat(de,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"<style ".concat(a,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw et(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw et(2);var n=((t={})[de]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=dt();return o&&(n.nonce=o),[i().createElement("style",a({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new _t({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw et(2);return i().createElement(jt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw et(3)},e}(),nn={StyleSheet:_t,mainSheet:vt};"__sc-".concat(de,"__")},833:e=>{e.exports=function(e,t,n,a){var o=n?n.call(a,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<r.length;c++){var l=r[c];if(!s(l))return!1;var u=e[l],d=t[l];if(!1===(o=n?n.call(a,u,d,l):void 0)||void 0===o&&u!==d)return!1}return!0}},845:e=>{"use strict";e.exports=t},848:(e,t,n)=>{"use strict";e.exports=n(20)},863:(e,t,n)=>{"use strict";t.A=function(e){let{width:t="100%",ratio:n=16/9,src:a="",slot:o=3,children:r,...s}=e,c={width:t,ratio:n,src:a,slot:o,...s};return i.default.createElement(u,c,r&&i.default.createElement(d,null,r))};var a,o,r,i=(a=n(883))&&a.__esModule?a:{default:a},s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var i=o?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(a,r,i):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(616));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const u=s.default.div(e=>{let{src:t,disable:n,width:a,ratio:r,slot:i}=e;return(0,s.css)(o||(o=l(["\n  width: ",";\n  padding-top: calc("," / ",");\n  background-image: url(",");\n  background-repeat: no-repeat;\n  background-size: 100% ","%;\n  background-position: top center;\n  cursor: pointer;\n\tposition: relative;\n  &:hover{\n    background-position: center center;\n  }\n  ","\n"])),a,a,r,t,100*i,!!n&&"background-position: bottom center !important; pointer-events: none;")}),d=s.default.div(e=>{let{}=e;return(0,s.css)(r||(r=l(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"])))})},883:t=>{"use strict";t.exports=e}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return n[e](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{default:()=>rn});var e=o(883),t=o(845),n=o.n(t),a=o(863),i=o(616);const s=async(e="",t={},n=null)=>{const a={"Content-Type":"application/json"};n&&(a.Authorization=`Bearer ${n}`);return(await fetch(e,{method:"POST",headers:a,body:JSON.stringify(t)})).json()},c={...{header_bg_color:"#AC0002",header_title_txt_color:"#fff",main_menu_first_bg_color:"#9b0506",main_menu_second_bg_color:"#3a1017",main_menu_third_bg_color:"#221720",main_menu_service_name_txt_color:"#ffffff",chat_first_bg_color:"#9b0506",chat_second_bg_color:"#3a1017",chat_third_bg_color:"#221720",chat_input_layout_bg_color:"#231720",chat_input_bg_color:"rgba(0, 0, 0, 0.4)",chat_input_txt_color:"#ffffff",chat_input_placeholder_txt_color:"#888888",tooltip_bg_color:"#DD3333",tooltip_txt_color:"#ffffff",scrollbar_thumb_color:"rgba(0, 0, 0, 0.4)",scrollbar_track_color:"rgba(3, 3, 3, 0.2)",countdown_txt_color:"#ffffff",countdown_timer_color:"#ffffff",countdown_bg_color:"rgba(172, 0, 2, 0.95)",content_action_txt_color:"#ffffff",end_chat_txt_color:"#ffffff",feedback_first_bg_color:"#9b0506",feedback_second_bg_color:"#3a1017",feedback_third_bg_color:"#221720",feedback_title_txt_color:"#ffffff",feedback_input_bg_color:"rgba(0, 0, 0, 0.4)",feedback_input_txt_color:"#ffffff",feedback_input_placeholder_txt_color:"#888888",feedback_star_selected_color:"rgba(0, 0, 0, 0.8)",feedback_star_unselected_color:"#DD3333",thank_rate_first_bg_color:"#AC0002",thank_rate_second_bg_color:"#460001",thank_rate_txt_color:"#ffffff",warning_bad_word_first_bg_color:"#AC0002",warning_bad_word_second_bg_color:"#460001",warning_bad_word_txt_color:"#ffffff",ban_bg_color:"rgba(172, 0, 2, 0.8)",ban_title_color:"#ffffff",ban_message_color:"#ffffff",announcement_bg_color:"rgba(35, 23, 31, 0.7)",announcement_text_color:"#ffffff",announcement_link_color:"#FF5158",select_service_txt_color:"#ffffff",select_service_bg_color:"rgba(3, 3, 3, 0.2)",change_service_first_bg_color:"#AC0002",change_service_second_bg_color:"#460001",change_service_txt_color:"#ffffff",faq_bg_color:"rgba(3, 3, 3, 0.2)",faq_title_color:"#ffffff",faq_item_bg_color:"rgba(225, 225, 225, 0.1)",faq_item_text_color:"#ffffff",faq_item_hover_bg_color:"#AC0002",faq_item_hover_text_color:"#ffffff",select_topic_layout_bg_color:"rgba(3, 3, 3, 0.2)",select_topic_bg_color:"rgba(225, 225, 225, 0.1)",select_topic_txt_color:"#ffffff",select_topic_item_hover_bg_color:"#AC0002",select_topic_item_hover_txt_color:"#ffffff",choice_item_bg_color:"rgba(225, 225, 225, 0.1)",choice_item_text_color:"#ffffff",choice_item_hover_bg_color:"#AC0002",choice_item_hover_text_color:"#ffffff",choice_item_link_color:"#FF5158",message_bg_color:"rgba(0, 0, 0, 0.4)",message_text_color:"#ffffff",message_user_bg_color:"rgba(172, 0, 2, 0.7)",message_user_text_color:"#ffffff",message_user_link_color:"#ffffff",message_link_color:"#FF5158",profile_name_txt_color:"#ffffff",menu_bar_first_bg_color:"#9b0506",menu_bar_second_bg_color:"#3a1017",menu_bar_third_bg_color:"#221720"},...{header_title_txt:"Garena Support",chat_input_placeholder_txt:"พิมพ์ข้อความที่นี่...",chat_countdown_txt:"ถ้าไม่มีการตอบกลับ\nจะมีการปิดบทสนทนาในอีก",content_action_txt:"บทความนี้ช่วยแก้ไขปัญหาของเพื่อนๆ หรือไม่คะ",end_chat_msg:"ถ้าไม่มีคำถามเพิ่มเติมเพื่อนๆ สามารถกดปุ่มจบการสนทนาได้\n หรือถ้ามีคำถามอื่นๆ สามารถพิมพ์สอบถามต่อได้เลยนะคะ",feedback_title_txt:"ดีใจที่ได้ช่วยเพื่อนๆ นะคะ 💕 ฝากกดคะแนน ⭐️⭐️⭐️⭐️⭐️\n และแนะนำหน่อยนะคะ ว่าอยากให้เราพัฒนาไปทางไหนบ้าง 🎀",feedback_input_placeholder_txt:"เขียนความคิดเห็นของคุณ...",thank_rate_txt:'ขอบคุณสำหรับความคิดเห็น ทีมงานจะนำข้อมูลนี้ไปพัฒนาต่อไปค่ะ สามารถกดปุ่ม "กลับสู่หน้าหลัก" หรือ "สนทนาต่อ" ได้เลยค่ะ',thank_rate_back_txt:'ขอบคุณสำหรับความคิดเห็น ทีมงานจะนำข้อมูลนี้ไปพัฒนาต่อไปค่ะ สามารถกดปุ่ม "กลับสู่หน้าหลัก" ได้เลยค่ะ',chat_timeout_txt:"เนื่องจากไม่มีการตอบกลับในเวลาที่กำหนด ระบบขอปิดแชทนะคะ\nสามารถกดปุ่มจบการสนทนาเพื่อเริ่มการสนทนาใหม่ได้เลยค่ะ",exceed_query_limit_txt:"ตอนนี้เพื่อน ๆ คุยครบตามลิมิตที่กำหนดแล้วนะคะ ระบบจะขอปิดแชทไว้ก่อน \nสามารถกดปุ่มเพื่อจบการสนทนาได้เลย แล้วไว้กลับมาคุยกับเคลลี่ใหม่อีกครั้งนะ 💖",warning_bad_word_txt:"หลีกเลี่ยงการใช้คำพูดที่ไม่เหมาะสมนะคะเพื่อนๆ\nไม่งั้นอาจทำให้การสนทนาถูกปิดได้น้า",ban_chat_title_txt:"ถูกระงับการใช้งานชั่วคราว",ban_chat_message_txt:"หลีกเลี่ยงการใช้คำพูดไม่สุภาพ\tหรือ\tการกระทำที่ไม่เหมาะสม\n เพื่อไม่ให้ถูกระงับการใช้งานนะคะ\tไว้กลับมาคุยกันใหม่แบบน่ารักๆ นะ",select_service_txt:"มีอะไรสงสัยอยู่ไหมคะ~\nเลือกหัวข้อที่อยากสอบถามได้เลยน้า",change_service_txt:"ถ้ากลับไปหน้าหลัก ประวัติการสนทนาจะถูกรีเซ็ตทั้งหมดค่ะ\nต้องการกลับไปหน้าหลักหรือไม่คะ",check_ticket_txt:"กรุณากรอกรหัส Ticket ที่ต้องการตรวจสอบ",faq_title_txt:"คำถามที่พบบ่อย",ai_chat_fail:"ระบบขัดข้อง กรุณาลองใหม่อีกครั้งค่ะ"},...{header_close_chat_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_close.png",select_service_character_img:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/character-hi.png",send_chat_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_send.png",home_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/home_btn.png",home_menu_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/menu_home_btn.png",end_chat_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/end_chat_btn.png",feedback_send_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_send.png",thank_rate_menu_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/thank_rate_menu_btn.png",thank_rate_continue_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/thank_rate_continue_btn.png",create_ticket_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/create_ticket_btn.png",warning_bad_word_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/warning_bad_word_btn.png",cancel_change_service_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/cancel_change_service_btn.png",confirm_change_service_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/confirm_change_service_btn.png",choice_chat_previous_chat_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/back_menu_icon.png",choice_chat_menu_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_menu.png",not_resolve_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/not_resolve_btn.png",resolve_btn:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/resolve_btn.png",ticket_btn:"https://cdn-webth.garenanow.com/webth/cdn/cs/A07.png",profile_img:"https://cdn-webth.garenanow.com/webth/cdn/cs/agent_icon.png",chat_icon:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/chat_icon.png"}},l=(t=5,n=10,a=()=>console.log("First threshold reached"),o=()=>console.log("Second threshold reached"),r=()=>{})=>{const[i,s]=(0,e.useState)(!1),[c,l]=(0,e.useState)(n),[u,d]=(0,e.useState)(!1),[p,h]=(0,e.useState)(!1),m=(0,e.useRef)(null),g=(0,e.useRef)(null),f=(0,e.useRef)(!1),b=(0,e.useRef)(!1),_=(0,e.useCallback)(()=>{m.current&&(clearInterval(m.current),m.current=null),s(!1)},[]),k=(0,e.useCallback)(()=>{m.current&&(clearInterval(m.current),m.current=null),s(!0),l(n),d(!1),h(!1),f.current=!1,b.current=!1,g.current=Date.now(),m.current=setInterval(()=>{const e=Date.now(),r=Math.floor((e-g.current)/1e3),i=Math.max(0,n-r);l(i),r>=t&&!f.current&&(a(),f.current=!0,d(!0)),r>=n&&!b.current&&(o(),b.current=!0,h(!0),m.current&&(clearInterval(m.current),m.current=null),s(!1))},1e3)},[t,n,a,o]),x=(0,e.useCallback)((e=!0)=>{m.current&&(clearInterval(m.current),m.current=null),s(!1),l(n),d(!1),h(!1),f.current=!1,b.current=!1,g.current=null,e&&r()},[n]);(0,e.useEffect)(()=>()=>{m.current&&clearInterval(m.current)},[]);const y=(0,e.useCallback)(e=>({minutes:Math.floor(e/60),seconds:e%60}),[]),w=(0,e.useCallback)(e=>{const{minutes:t,seconds:n}=y(e);return`${t.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`},[y]),v=y(c);return{isActive:i,countdownTime:c,minutes:v.minutes,seconds:v.seconds,formattedTime:w(c),start:k,stop:_,reset:x,hasReachedFirstThreshold:u,setHasReachedFirstThreshold:d,hasReachedSecondThreshold:p,setHasReachedSecondThreshold:h}},u={ENABLED:!1,DELAY:500,DEBUG:!0},d={init:{data:{service_list:[{uuid:"1234567890",service:"free fire",image:"https://cdn-webth.garenanow.com/webth/cdn/cs/A03.png",question_id:185,announcement:[],greeting_msg:""}],config:{is_active:!0,default_message:'<p>น้อง GBot ผู้ช่วยอัตโนมัติ ขออภัยที่ไม่สามารถตอบคำถามของคุณลูกค้าได้ในตอนนี้ครับ</p><p>ข้อมูลของน้อง GBot อาจจะยังไม่ครอบคลุมในเรื่องที่คุณกำลังสอบถาม</p><p>คุณลูกค้าสามารถกด&nbsp;<span style="background-color:hsl(0,75%,60%);color:hsl(0,0%,0%);"> ≡&nbsp;</span> ด้านล่าง เพื่อหาเรื่องที่สนใจอยู่ได้เลยนะครับ</p>',start_chat:"<p>สวัสดีคุณลูกค้าที่น่ารัก! น้อง GBot ผู้ช่วยอัตโนมัติ ยินดีต้อนรับครับ<br><br>สามารถเลือกหัวข้อที่ต้องการสอบถาม หรือพิมพ์เรื่องที่ต้องการทราบได้เลยนะครับ</p>",topics:[{question_id:1,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/A03.png",text:"<p>Account</p>",emergency_text:[]},{question_id:35,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/A05.png",text:"<p>Top up</p>",emergency_text:[]},{question_id:46,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/A06.png",text:"<p>Lot Buy</p>",emergency_text:[]},{question_id:99,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/A04.png",text:"<p>Games</p>",emergency_text:[]},{question_id:2593,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/Support.png",text:"<p>Support</p>",emergency_text:[]},{question_id:2892,icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/Line-OA_Black.png",text:"<p>Line OA</p>",emergency_text:[]}],default_topics_search:[{question_id:35,text:"<p>Top up</p>"},{question_id:99,text:"<p>Games</p>"},{question_id:1,text:"<p>Account</p>"},{question_id:2545,text:"<p>Other</p>"},{question_id:2892,text:"<p>Line OA</p>"}],ban_word:["hee","คววย","kuy","kวย","nahee","pong","sus","xี","กระดอ","กะหรี่","กาก","กู","ขี้","คuy","คuย","ควy","ควย","ควาย","คุวย","แคม","เงี่ยน","จัญไร","จิ๋ม","จู๋","เจี๊ยว","ชิบหาย","ดอกทอง","ตอแหล","แตด","ถ่อย","นาซี","น่าหี","พ่อมึงตาย","ไพร่","มึง","แม่J","แม่ง","แมงดา","แม่มึงตาย","เย็ด","ร่าน","ริมสระ","เวร","สถุน","ส้นตีน","สลัม","สลิ่ม","สวะ","สัด","สัส","สาส","เสี่ยO","เสี่ยโอ","เสือก","สๅส","หee","หน้าตัวเมีย","หน้าผีเปรต","หมอย","หัม","หัวนม","ห่า","หำ","หี","เหี้ย","อีกาก","อีควาย","อีจังไร","อีดอก","ไอ้ห่า","ไอ้เหี้ย","fuck","ฆวย","เงียน","ไอเชี่ยตู่","อินเดีย","ช่อง7","ซื้อ","ขาย","ราคา","บาท","k u y","fag","hoe","gay","shit","anal","anus","arab","cumn","cunt","kunt","kunt*","dick","wank","pimp","AIDS","boob","cock","clit","cllt","dyke","fcuk","fukk","fvck","homo","nigr","nazi","rape","tits","shits","lesbo","allah","Nazis","sperm","opium","penis","kicap","tocum","nigga","jihad","bitch","boner","boobs","jesus","islam","chink","pimps","semen","negro","fucks","horny","*horny","pubes","pussy","dicky","dildo","porno","queef","satan","orgasm","fagget","faggit","niggas","faggot","fucker","fatass","banged","beaver","goddam","breast","niglet","hardon","reefer","rectum","christ","coochy","furpie","nitwit","fucked","rimjob","sexual","gringo","nympho","pisses","idiots","gonads","erotic","whores","Rapist","fuckup","nigger","niggaz","sodomy","condom","theass","thetit","tobang","tobarf","tobeat","nipple","gayass","tofart","tofuck","heroin","dicked","topoop","torape","toshit","tosuck","toejam","toerag","pigdog","Vagina","queers","jerkof","wanker","Fuckass","fuckoff","fuckyou","raffish","puttana","nutsack","nitwits","fuckery","Fucking","pussies","puntang","punanny","fuckton","fucktoy","pollock","nipples","getlaid","pissing","niggers","goddamn","handjob","Havesex","pissoff","hookers","infidel","jackass","jackoff","pervert","jerkoff","jerking","jigaboo","penises","keaster","keester","orgasms","lameass","lardass","lazyass","Lesbian","analsex","shitass","shitton","shiznit","asexual","oralsex","assface","assfuck","asshole","asswipe","slyarse","bastard","shitbag","blowjob","bukkake","spastic","breasts","cocaine","strapon","scumbag","thecunt","thedick","theporn","theshit","cumshot","thetits","Scrotum","dickbag","negroes","dicking","screwup","dickwad","dilldoe","dilldos","dogbark","dogcunt","doghorn","Vaginal","vaginas","vjayjay","Eatshit","retards","faggots","wankers","wanking","fuckface","dickface","screwyou","dickhead","slackass","holyshit","pissdick","maryjane","gangbang","screwing","cuntface","cumeater","sodomise","sodomite","sodomize","gangrape","fuckyour","manwhore","Creampie","cockhead","cockface","poontang","cocksuck","clitoris","cameltoe","testicle","theasses","thebitch","buttplug","thecunts","poonanny","thedicks","infidels","thedykes","butthole","thefools","butthead","thehells","theidiot","themoron","thenegro","phimosis","buttfuck","buttface","theshits","fistfuck","theswine","getdrunk","fuckhead","thewhore","placenta","sheister","fucktard","tobeatup","fuckhole","bunghole","bullshit","bigboobs","gotocunt","jigaboos","tofuckup","bigbitch","ballsack","Foreskin","fuckedup","assmunch","shitboot","pederast","tramping","madbitch","fuckbutt","uglycunt","looseass","onanists","lewdworm","erection","vajayjay","vibrator","arsehole","vitrator","retarded","dunecoon","shitface","dogpenis","Fuckarse","lesbians","adultery","shithead","shithloe","shithole","wetbacks","dickless","whoredom","thesperm","rudebitch","theidiots","sandnegro","themorons","shameless","thenigger","thenitwit","shiteater","shitbrain","theretard","shitheads","adulterer","assmaggot","assmonkey","assfucked","assfucker","thevagina","thewanker","testicles","thewhores","tickedoff","tittyfuck","asskisser","asslicker","skullfuck","cumbubble","cummeater","dickeater","dickheads","dicksmack","ejaculate","fuckedhim","fuckedyou","furburger","tojerkoff","snoteater","gazongers","gloryhole","goddammit","goddamnit","horsedick","horsecock","towelhead","impotency","lameasses","typhislut","lazyasses","marijuana","masochist","mongoloid","muffdiver","Testicule","Nazibitch","pussylips","ogrenegro","pedophile","vulgarman","thecrotch","pigpriest","pissstain","pisswhore","thedevils","pubichair","pussyface","pussyhead","pussydick","thefaggot","pussywhip","whoreslut","queerbait","rottenman","horsedicks","licentious","buttpirate","thebitches","buttpicker","outdoorsex","sexualorgy","crackwhore","peckerhead","theretards","cumchugger","pedophilia","knockboots","thecrybaby","dickbreath","sluttycunt","thenegroes","uglyperson","Prostitute","thenitwits","dicksucker","transexual","dirtyswine","homosexual","satyriasis","neckblower","sandnigger","pussyjuice","sonofbitch","thefaggots","dominatrix","fornicator","yourmother","yourfather","theniggers","littledick","fuckingbig","getspunkup","adulteress","fuckaround","arsefucker","stupidhead","thewankers","suckmydick","fuckingway","looseasses","arseguitar","masterbate","asslickers","pooppusher","thevaginas","thebastard","pussyheads","masturbate","bigbreasts","rottenwoman","nymphomania","dirtyswines","transexuals","dicksuckers","uglypersons","Nazibitches","junglebunny","dickanchovy","vaginasweat","cunnilingus","pieceofshit","vulgarwoman","wackassdumb","oldmandevil","intercourse","littlebitch","brainfucker","arseguitars","sonofabitch","sonofawhore","whoremonger","wobblepussy","sonuvabitch","handicapped","motherfucka","funnelwhore","fudgepacker","pooppushers","thebastards","porchmonkey","thecrotches","pornography","masturbator","fuckingcunt","pussychaser","camelfucker","masturbates","masturbated","cumdumpster","fuckyourmom","fuckyourdad","fornication","Ejaculation","foreigndevil","mastrubation","pussychasers","fuckingmouth","knockingshop","tomasturbate","motherfucker","Prostitution","dirtybastard","piecesofshit","thecrybabies","cowardshitty","fucksmbdover","fuckingpower","sonsofabitch","Masturbation","yourancestor","fuckyourself","fuckingdodge","fuckingthing","ejaculations","hornybastard","stupidfucker","fuckinggreat","knockingshops","prostategland","pearlnecklace","knockingboots","theuglyperson","smartfuckface","sadomasochism","motherfucking","Japanesebitch","sonsofbitches","dirtybastards","masturbations","fuckyourpussy","dontgiveafuck","thecrackwhore","dickanchovies","rustytrombone","thepooppusher","thearseguitar","childofawhore","sadomasochist","getthefuckout","thebitchwhore","intercruralsex","thecrackwhores","thepooppushers","fuckyourmother","rudesonofbitch","fuckingawesome","thebitchwhores","theejaculation","fuckyoursister","thearseguitars","Letitfuckingbe","thedickanchovy","theuglypersons","outcallservice","fuckshitdamnit","fuckingbastard","havinganorgasm","homelesspeople","somethingshitty","fuckingstarship","internalcumshot","themasturbation","fuckingholyshit","theejaculations","fuckyourbrother","workfuckinghard","youmotherfucker","younghornybitch","fuckyourpussies","stickitupyourass","daughterofabitch","thedickanchovies","disgustingperson","yourmotherspussy","daughtersofabitch","fuckingsanatorium","drug","fuker","noob","blow job","Dog face","chicken","Buffalo","bego","buta","dlck","gila","itil","taek","tiko","titt","tltt","udik","vags","vajj","vagi","I S L A M","K R I S T E N","dicks","shitty","racist","Virgin","stupids","s_h_i_t","ƒµ¢¶«","Fµck","ƒµck","ƒµçk","ƒuc¶«","ƒuck","ƒüçk","Fuuck","sh1t","F.uck","f_u._c_k","F_U_C._K","PE.NIS","s.ex","sh.1t","Sh1.t","ƒµ¢.¶«","Fµ.ck","ƒµ.ck","ƒµ.çk","ƒu.c¶«","ƒu.ck","ƒü.çk","Fu.uck","F-uck","f-u--c-k","F-U-C--K","Memek","Titit","Titid","Cibai","Lonte","Germo","ngehe","ngewe","toket","pepek","nonok","toked","t1t1t","m3m3k","c1b41","c1ba1","c1bai","cib4i","ciba1","cibay","p3n1s","p3p3k","p3r3k","pen1s","t0k3t","t0k4i","t0kai","t0ked","t0ket","Kontol","Kontil","ngepet","k0nt0l","k0ntol","jembut","k0nd0m","k0ntil","kont0l","kontoi","memmek","k0nt0i","Pelacur","Lanciau","Ngentot","Ngentod","ntodh","nt0dh","Cukimai","Pukimai","lanciao","klentit","ngentit","ngentid","martole","bangsat","kristen","b4n9sat","bangsad","bencong","bitches","cukymai","diancuk","djancok","fhantad","fhantat","Gobloks","guoblok","homrenk","jahanam","jeembut","jembuut","jiancok","jingtod","juancok","k4mp4ng","kampang","katolik","kenthir","keparat","kh0nt0l","khontil","khontol","kountol","kr1st3n","ku0nt0l","kuontol","lanciaw","muhamad","munafik","n9ent0t","ngaceng","ngacenk","ngecrod","ngecrot","ngecrud","ngecrut","ngentoy","ngetung","ngewong","orgasme","pedofil","perawan","petting","phelher","pokemak","pribumi","pukim4i","Pukimak","pukymay","tailasu","todjing","yesssus","yesusss","yesuuus","yyeesus","zhakhar","KONTOEL","babiiii","ngent0t","ng3ntot","ng3nt0t","pukiiii","kr1sten","b.e.g.o","kontool","peepeek","perkosa","perk0sa","fordeon","formget","webnode","klitoris","ngentiau","anjinxxx","bajingan","Bhangsad","Bhangsat","brengsek","buangsat","djiancuk","djuancuk","hombreng","hombrenk","hombrenx","Khatolik","koentoel","krocotod","kuon*","makcibai","muhammad","ngencrit","ngentiaw","payudara","testikel","yessssus","yesussss","yyeeeuss","ngentoot","koontool","g4ngb4ng","yolasite","bajinkrek","ejakulasi","ezakulasi","kalempong","ngejablay","ngentiauw","Ngentiavv","pneterasi","protestan","selingkuh","telanjang","yesssssus","yesusssss","ngentooot","c.a.c.a.d","eventpbgi","asiagamerz","bajingkrek","goooblokkk","masturbasi","peneterasi","yesussssss","ngentoooot","g.o.b.l.o.k","a.n.j.i.n.g","eventgratis","administrator","wanita","buddha","hindu","-NUS","HOMO-SEXUAL","HOMOSSEXUAL","ESTUPIDO","IDIOTA","IDIOTAS","53xu4l","tit3*","K4nt0t","K4ntot","Kant0t","Kantot","pekpek","d1ck","1sl4m","1slam","ancuk","b4b1k","babii","babik","bacol","banci","becek","bejad","Bhabi","Bhiji","bijiq","Bijix","binal","bodoh","bokep","bolot","budek","bugil","cabul","cocod","cokil","colie","colly","dubur","entod","entot","erexi","fefek","h0rny","horni","ithil","jadah","jijik","jimdo","kacok","kapir","kemak","kimak","kobel","konak","konax","L0nt3","L0NTE","lacur","lesbi","mekki","mekky","memeq","memex","modar","n0n0k","nenen","netek","ng3w3","njing","nonoI","nyoli","onani","p3pek","pante","pecun","pejuh","peler","pelir","pep3k","perek","perex","pilat","pukii","puuki","sep0n","setan","sotoy","t0l0l","t0lol","t1t1d","t3t3k","t3t3x","tetek","tetex","toIoI","tok4i","tokai","tokay","tol0l","tolol","tuh4n","tuhan","tunge","vevek","waria","yesus","z4k4r","4nj1n9","4nj1ng","4nj1nk","4njin9","4njing","90bl0k","anj1n9","anj1ng","anj1nk","anjeng","anjenk","anjing","anjink","anjinx","anying","baaabi","baabii","bangke","bences","Bhijik","Bhijix","biadab","bispak","celeng","celenk","celenx","cholie","ereksi","fankui","fantad","fantat","g0bl0g","G0bl0k","G0bl0x","g0blog","g0blok","g3bl3g","gebleg","Geblek","Geblex","gerepe","gigolo","gobl0g","gobl0k","goblok","goblox","j4bl4y","jablay","jabluk","jamput","jancok","jancuk","jembud","kancud","kancut","kentod","kintil","kimcil","kuntul","kunyuk","kunyux","laknat","lhacur","lonthe","m0nyed","m0nyet","mamp0s","mampos","mampus","Mekmek","tolool","tolo0l","tuol0l","tu0lol","monyed","monyet","ngedut","ngeped","ngeweq","ngocok","ngocox","palkon","pantad","pantat","pantek","panteq","pentil","pepeek","pereks","pheler","placur","put1ng","puuuki","qontol","sampit","sempak","sepong","sundal","tempek","tempik","testis","titied","vantad","vantat","vheler","zhakar","semprot","sinting","annus","anuss","dlldo","haram","hrrny","iblis","jalid","kolor","konek","konyo","ancuak","ashole","assbag","Ass.Hole","assholes","bullshlt","burit","pituk","pepet","jilat","pancut","kvy","กาก","กๅก","พ่อมึง","ฟาย","ระยำ","สรัส","สัด","สันดาน","สัส","สาส","ส้นตีน","หำ","หี","ห่า","เควี่ย","เงี่ยน","เชรี่ย","เชี่ย","เยด","เยรด","เย็ด","เย้ด","เวร","เสือก","เหรี้ย","เหี้ย","แม่ง","แม่มึง","โง่","โม๊ก","โม๊ค","ไก่","hee","คววย","kuy","kวย","nahee","sus","xี","กู","ขี้","คuy","คuย","ควy","แคม","จัญไร","เจี๊ยว","ชิบหาย","ดอกทอง","ตอแหล","แตด","ถ่อย","นาซี","น่าหี","พวกล้มเจ้า","พ่อมึงตาย","ไพร่","มารศาสนา","มึง","แม่J","แมงดา","แม่มึงตาย","เยอรมัน","ร่าน","ริมสระ","สถุน","สลัม","สลิ่ม","สวะ","เสี่ยO","เสี่ยโอ","สๅส","หee","หน้าด้าน","หน้าตัวเมีย","หน้าปลวก","หน้าผีเปรต","หน้าหนังหี","หมอย","หัม","หัวนม","เหี้ยโอ","อีกาก","อีควาย","อีจังไร","อีดอก","ไอ้ห่า","ไอ้เหี้ย","fuck","f*uck","อินเดีย","ช่อง7","ช่อง 7","ยูทูป","ยูทุป","เลีย","io","เสี่ย","ปันยาอ่อน","ค ว ย","สอส","ตู่","เจ็บฮี","เย็ต","ปารีณา","ค ว า ย","พ่อว","ฮี","youtube","ยูทูบ","ยุทุบ","โม้ค","ว่าว","เฉาก๊วย","ขายตัว","อึ๋ม","เลว","หน้าเงิน","ขาย","ซื้อ","ซื้อขาย","ปัญญาอ่อน","ตูด","บาท","ราคา","รับซื้อ","อี","฿","Baht","vาย","หาแก้ว","หาเสื้อ","นม","รับแก้ว","รับเซ็ต","ควญ","ประยุทธ์","ประวิทย์","ประมูล","ประมูน","ซื้ อ","ซ ื้อ","ซื ้อ","ซ ื ้ อ","หาแลก","สนทัก","ทักมา","ปล่อยเซต","ข าย","ขา ย","ข า ย","สน ทัก","ข า","ตีน","เปิดหน้า","เสียโอ","โอริมสระ","สนทักแชท","ควๅย","โง้","กระจอก","ขยะ","เ เ ม่ ง","เ ย็ ด","เ ย็ด","เ สื อ ก","เ ห ี้ ย","เ.ป.ร.ต","เ.ย็.ด","เ.ย็.ด.แ.ม่","เ.สื.อ.ก","เ+ย็+ด","เเคมปลิ้น","เเม่ง","เกมมาสเตอร์","เงี้ยน","เจดแม่","เจ็ทแม่","เจสแม่","เจือก","เช่าวัก","เซ็ก","เซ็กจัด","เซ็กซ์","เตี่ยม่องหรอ","เป.ร.ต.","เป็น ค ว ย อะไร","เปรต","เย็ ด","เย็.ด","เย๊ด","เย็ท","เลวมาก","เลวสัด","เลวสัตว์","เลียหัวนม","เว็ปมาสเตอร์","เวรตะไล","เสียวจัง","เสียวว้อย","เห็ดสด","เอ็นซี","เอ็นซีซอฟท์","เอ็นซีทรู","เอากันปะ","เอาทีดิ","เอาหัวนม","เฮงซวย","เฮี่ย","แ ต ด","แ ตด","แ ร ด","แ รด","แก่นแตด","แดก","แต ด","แม่ตาย","แม่ตายเหรอ","แม่ตายหรอไงว่ะ","แม่มรึงตาย","แม่ย้อย","แย่เม็ด","แศด","โคดพ่อ","โค-ต-ร","โคตรแม่","โคตรพ่อ","โครตแม่","โครตพ่อ","โครตพ่อโครตแม่","ใอ้สัด","ใอ้สัต","ไ อ่","ไ อ้","ไ.อ้.หั.ว.ถ.อ.ก","ไ.อ้เ.ฮี้.ย","ไปดูดนมแม่ไป","ไปตายซะ","ไปตายสะ","ไปตายห่า","ไปหามารดาคุณ","ไอ้เด็กเวร","ไอ้เปรต","ไอ้เป-รต","ไอ้เลว","ไอ้เวร","ไอ้เสี่ยว","ไอ้โง่","ไอ้ชาติชั่ว","ไอ้ชาติหมา","ไอ้ชิงหมาเกิด","ไอ้ชิบหาย","ไอ้ดอแหลน","ไอ้ดอก","ไอ้ทุเรศ","ไอ้นรก","ไอ้บัดซบ","ไอ้ปากหมา","ไอ้ระยำ","ไอ้ลาว","ไอ้ลูกกระหรี่","ไอ้ลูกหมา","ไอ้สราด","ไอ้สราดดดดดด","ไอ้สักหมา","ไอ้สัด","ไอ้สัดกะหมา","ไอ้สัดหมา","ไอ้สัต","ไอ้สัตย์","ไอ้สัตร์","ไอ้สัตว","ไอ้สัตว์","ไอ้สันดาน","ไอ้สาด","ไอ้สารเลว","ไอ้หน้าโง่","ไอ้หน้าดอ","ไอ้หน้าด้าน","ไอ้หน้าตัวเมีย","ไอ้หน้าปิ๊","ไอ้หน้ามึน","ไอ้หน้าหมา","ไอ้หอก","ไอ้หอยย่น","ไอ้หัวถอก","ไอ้หำ","ไอ้อ่อน","กระ ดอ","กระเจี้ยว","กระเจี๊ยว","กระเจี๋ยว","กระเด้า","กระจู๋","กระดอ","กระทวย","กระสัน","กระหรี่","กะเจี๊ยว","กะโปก","กะดอ","กะสัน","กะหรี่","กาเจี้ยว","กาจู๋","กาดอ","กาหรี่","ขอรวมเพศหน่อย","ค . ว . ย","ค ร ว ย","ค ร วย","ค รว ย","ค รวย","ค วย","ค วา ย","ค.............................ย","ค........ว............ย.......","ค.......ว*******p","ค.......ว*******ย","ค.....ว...........ย","ค....ว.....ย","ค...ย","ค...ว...ย","ค..ย","ค..ว..ย","ค..ว..ย..","ค.ร.ว.ย","ค.รวย","ค.ว.ย","ค.ว.ย.","ค.วย","ค^ว^ย","ค~ว~ย","ค+ว+ย","คvย","คคคคคคววววววววววยยยยยย","ค-ย","คร วย","ครว ย","ครวย","คร-วย","ค-ร-ว-ย","คว ย","คว...............ย","คว.ย","ควย","คว-ย","คว--ย","ค-วย","ค-ว-ย","ค---ว---ย","ควววย","คววววย","ควววววย","คววววววย","ควววววววย","คววววววววย","ควววววววววย","คววววววววววย","ควววววววววววย","คว-าย","ค-ว-า-ย","ควายเอ้ย","ควายจริงๆ","ควายจิงๆ","ควายย","คอ-ว-ย","ฅ ว ย","ฅ วย","ฅว ย","ฅวย","ฅว-ย","ฅ-วย","ฅ-ว-ย","ฆวย","จวย","จันไร","จิ๋ม","จีเอ็ม","จู๋","ชักว่าว","ชั่วช้า","ชาติชั่ว","ชาติหมา","ชิงหมาเกิด","ด อ","ดองทอง","ดูดปาก","ดูดลิ้น","ดูดหัวนม","ดูหัวนม","ต ูด","ตี น","ตีฉิ่ง","ตุ๋ย","ตู ด","ถอก","ถุย","ทรู","ทรูเอ็นซี","ทุเรศ","นมใหญ่จัง","นมทะลัก","น่าม่อ","น่าหม้อ","น้ำแตก","น้ำกาม","บริการทางเพศ","บ๊วบ","บักหำ","บัดซบ","บาซ","บ้าป่าววะ","บีบหัวนม","ปิ๊","พ่ อ มึ ง ตา ย","พ่อ die","พ่อเมิง","พ่อเมิงตาย","พ่อแม่ไม่ได้สั่งสอน","พ่อแม่ไม่สั่งสอน","พ่อแม่งตาย","พ่อไม่สั่งสอน","พ่อคิงแม่คิง","พ่อคิงหยั่ง","พ่อคุณเหรอ","พ่อตาย","พ่อมรึงตาย","พ่อมรึงสิ","พ่อสิ้น","ฟัก ยู","ฟักยู","มาสเตอร์","มึ ง","มึ-ง","ยักสุเน็ต","ยัดแม่","ร่วมเพศ","รุมโทรม","ลงแขก","ล่อแม่","ลาวสัด","ลูกอีกะหรี่","ลูกอีดอกทอง","ลูกอีสาด","สถุล","สราด","สัตว์นรก","สัตว์นี่","สัตว์หมา","สันดานไพร่","สันดานหมา","สา-ด","สาดเอ้ย","สาดเอ๊ย","สาดด","สาดหมา","สารเลว","หงี่","หน้าเม็ดแตด","หน้าเหรี้ย","หน้าควายตัวเมีย","หน้าปิ","หน้าม่อ","หน้าหนังแตด","หน้าหม้อ","หน้าหมา","หน้าหรี","หมาไม่แดก","หมาคาบไปแดก","หยาบช้า","หยีเหม็น","ห้วดอ","หอกหัก","หัวดอ","หำกระสือ","หำหมา","หื่น","องคชาติ","อมหัวดอ","อยากเสียว","อยากเอาหญิง","อยากมี sex","อยากอึบ","อ่อนสัด","อ่อนสัตว์","อัณฑะ","อัดถั่วดำ","อ้ายเ ว ร","อายเชี้ย","อ้ายเหรี้ย","อ้ายเห-รี้ย","อ้ายฟาย","อ้ายสัด","อ้ายสัตว์","อายสาด","อ้ายสาด","อ้ายสาดหมา","อ้ายห่า","อี แรด","อี ชาติหมา","อี_ดอก","อีเดียด","อีเป็งสุดา","อีเปรต","อีเลว","อีเวน","อีเวร","อีเห็ดสด","อีเฮี้ย","อีแตดเบี้ยว","อีแตรด","อีแมงดา","อีแรด","อีโง่","อีไพร่","อีกระหรี่","อีกะหรี","อีช้างเย๊ด","อีชาติชั้ว","อีด อก","อีด/อก","อีด-อก","อีตัว","อีตุ๊ด","อีบ้า","อีมะขวิด","อีลูกกระหรี่","อีวอก","อีสัด","อีสัตว์","อีสาด","อีหอย","อีหอยดอง","อีหัวสำรอก","อีหา","อีห่า","อีห่าราก","อีอับปรี","ภูมิพล","ในหลวง","วชิราลงกรณ","เจ้าคุณพระสินีนาฏ","พิลาสกัลยาณี","พระบาทสมเด็จพระวชิรเกล้าเจ้าอยู่หัว","พระบรม","ราชิณี","พันปีหลวง","พันวษา","องค์ภา","พระบรมราชชนก","พระวชิรเกล้า","เจ้าอยู่หัว","ราชวงศ์จักรี","สิริวัณณวรี","พระเทพ","จุฬาภรณ์","สี่หมา","ซี่หมา","ตีหรี่","ขายน้ำ","โสมสวลี","ล้มเจ้า","หน่อแตด","คุยเสียว","ซั่ม","น้ำว่าว","หนังไข่","หนังหี","ช้างเย็ด","ช้างลากเย็ด","แคมใหญ่","อวยคม","ธีปังปอนด์","รัศมีโชติ","ศรีรัศมิ์","สิริกิติ์","สิริกิด","พูมิพน","ภููมิพล","ร.๙","ร. ๙","ร. ๑๐","ร.๑๐","วิชิราลงกอน","มวยโค้ก","เค้กแข็งปวย","ลาวว่ะ","เสี่ยวว่ะ","พม่า","เลียไข่","ฑีปังกร","แจกโปร","จีเอม","เป็นควยอะไร","แรด","ไอ่","ไอ้","ควาย","ดอ","พ่อdie","อยากมีsex","อ้ายเวร","อีชาติหมา","อีดฺอก","อีดอฺก","อีดอกฺ","อีกระหรี","อิสลาม","อัลเลาะห์","อัลเลาะ","อยากเย็ด","สิรินธร","สิริกิติ","สิริกิต์","สิริกิต","สิริกิจ์","สิริกิจ","สัตว์","สัต","สมเด็จ","วชิราลงกรณ์","รูหี","รัชกาล","ร9","ร8","ร7","ร6","ร5","ร4","ร3","ร2","ร11","ร10","ร1","ร.8","ร.7","ร.6","ร.5","ร.4","ร.3","ร.2","ร.11","ร.1","มรึง","ภูมิพลอดุลยเดช","ฟ้าหญิง","ฟ้าชาย","พุทธ","พ่อหลวง","พ่อม","พ่อง","พลเอกประยุทธ","พระราชินี","พระราชิณี","พระราชา","พระบาทสมเด็จ","พระนางเจ้า","พระเจ้าอยู่หัว","พระเจ้าแผ่นดิน","พร่องมึง","พร่องมรึง","ปี้","ทักษิน","ทักษิณ","ดราก้อนเนส","จันทร์โอชา","จันโอชา","ฆูวย","ฆุวย","คฺ ว ย","คริสต์","ขี้ฮรี๋","ขี้หี","ขายบริการ","ขอร่วมเพศ","กัญชา","กปปส","ไนท์โครนิเคิล","แอดมิน","แสรรรรด","แสรรรด","แสรรด","แสรด","แรคน่ารอค","แรคนารอค","แรค","แม่งตาย","แม่เมิงตาย","เอาหี","เอาตูด","เอากัน","เอเซียซอฟท์","เอเชียซอฟท์","เหื้ย","เสื้อแดง","เสื้อเหลือง","เยซู","เย็ก","เมเปิ้ลสตอรี่","เป็น ค ว ย ไร","เน็ตมาร์เบิล","เน็กซอน","เซ็กส์","เจี๋ยว","7 บาป","7บาป","keeหี","_ควย","เตี่ยม่อง","ใอ่","ใอ้","ข้ารองบาท","อีสัส","แตd","พุทธ*","บุดด้า","ขี้hee","ตุ๊ด","วชิรเกล้า","วชิรา","สุทิดา","รุ่น10","รุ่น 10","รุ่นที่10","รุ่นที่ 10","กษัตริย์","เอาล้อรสบัส","เงี๊ยน","ขอซั่มหน่อย","เลียหอย","เกี่ยวเบ็ด","xvideo","xnxx","8==D","8=D","8===D","8=m=D","ขอเยหน่อย","น่าเย","เยทีดิ","นักเย","รุมเย","จับเย","อยากเยจัง","แตกใน","เยดุ","เยโหด","แทงหอย","เยหอย","เจี้ยว","หม๋อย","คุวย","ฆรวย","ฆ๋วย","ฆร๋วย","ข่มขืน","ช่องคลอด","หนังx","หนังเอ็กซ์","หนังโป๊","เบินหอย","เบิร์นหอย","อมดอ","ดูดหอย","เขี่ยหอย","ลักหลับ","คsวย","อมคsวย","oมคsวย","หมoย","หม๋oย","นมโต","หอยอูม","หอยเปียก","หอยแฉะ","พระราชสำนัก","สมเจียม","เสด็จเจียม","รอยัลลิสต์มาร์เก็ตเพลส","ประยุด","ปาร์ตี้ริมสระ","นปช","ไนหลวง","นัยหลวง","อีลูกทาส","สิริวัณ","สิริวัน","อีกบ","ทีปังกร","ไอ้เอ๋อ","มหิดล","ไอโอ","สินีนาฏ","ชังชาติ","ทีปังกรรัศมีโชติ","ฮิตเลอร์","สุธิดา","วชิรภักดิ์","ยิ่งลักษณ์","ลุงตู่","โปรโคดิ้ว","โคเคน","เฮโรอีน","น้ำท่อม","ดูดม้า","ยาไอซ์","ยาบ้า","เกนชิน อิมแพค","ฟัคยู","หน้าลาว","แม่มุงตาย","แม่สิ้น","แม่มุงเดี้ยง","อิสัซ","อีสัซ","ดูดนม","เจ๊ดแม่","เหยดแม่","กากชิหาย","เซเว่นไนท์","จังไร","จัณไร","อสุจิ","ดิลโด้","ดิวโด้","ประยวยหัวคุด","จิมกระป๋อง","จิมกะป๋อง","ฑีปังปอนด์","ทีปังปอนด์","ฑีปังปอน","ทีปังปอน","เสี่ยกินก้อย","Ihere","Ihear","สามกีบ","ง่าว","สึ่งตึง","เผด็จการ","GM","อีก้อย","อีน้อย","คิ้วตัน","ฟ้าเดียวกัน","คณะราษฎร","อมK","โม๊กควย","โม๊คควย","โม๊กk","ซี่ดาก","เย็ดดาก","ผู้ใหญ่บ้านหมู่10","ผู้ใหญ่บ้านหมู่ 10","ผู้ใหญ่บ้าน หมู่10","ผู้ใหญ่บ้าน ม.10","ผู้ใหญ่บ้าน ม. 10","ผญ. บ้าน หมู่ 10","ไอ้บอด","บ้าหี","ไอ้บอดภูมิพล","ลุงพล","เสี่ยหอย","ราชาหอย","ฆ่า ร.8","เสี่ยเยอรมัน","โคกหนองใน","สาวน่าน","ไอ้ค๊อก","เหี้ยตู่","เล็ดยุด","หลีหู","กีเน่า","ทีพังพอน","ค.ว.า.ย","ห.รี","llตด","lxี้e","lxี้ย","olo","oยากoม","oยากอม","xมอย","กsะxรี่","กsะหรี่","กระxรี่","กลุ่มลับ","กะxรี่","เกี่ยวเบ้ด","ขายคลิป","ขายยา","ขายหอย","ขึ้นขย่ม","ขึ้นครู","คsาง","คsๅง","คราง","ครๅง","คลอเสียว","คลิปโป๊","คลิปเย","คลิปเยด","คลิปเย็ด","คลิปเย่ด","คลิปเย้ด","คลิปเย๊ด","คลิปเย๋ด","ค่วย","ควยุ","ควุย","คอลเสียว","ฆ ว e","ฆ ว ย","ฆวe","เงียu","เงี่ยu","เงี้ยu","เงี๊ยu","เงี๋ยu","เงียน","เงีุ่ยน","ชช ชว","ชชชว","ชว","ช่วยตัวเอง","ชักแตก","ชักวาว","ชักวๅว","ชักว่ๅว","ดูหอย","โดนเยส","ตollxล","ตollหล","ตีu","แตกนอก","แตกให้ดู","ถอดหมด","นั่งเทียน","นัดเย","บีบuม","บีบนม","เบ่ด","เบ้ด","ประวิด","เปิดนม","โป๊","โม้ ก","โม้ก","รับคลอ","รับคอล","รับงาน","รุมเซิ้ง","รุมเยด","รุมเย็ด","รุมเย่ด","รุมเย้ด","รุมเย๊ด","รุมเย๋ด","รูตรูด","รูตูด","ร่ๅน","แลกรูป","แลกลิ้u","แลกลิ้น","ไลฟ์สด","ห ำ","หญิงกบ","หรรม","หรรรม","หารับ","หารุก","เห็นหมด","เหนหมี","เห็นหมี","เห๋นหมี","อยากoม","อยากอม","อ้าขา","อีเกย์","เ.งี.ย.น","เ.สี.ย.ว","เxี้e","เxี้ย","เเตด","โ.ม้.ก","โ.ม๊.ก","โ.ม๊.ค","แลกไลค์","กระดอหี","ครว","คย","ฅว","ฟัก","*สัต","อีด","ร.9","ร.10","*ราชา","YedMea","yethear","yetmae","yetmai","yetmang","yetmea","yettamon","ขอรวมเพศ","อีแตด","Keehee","แตกใส่หน้า","อีหน้ากี","อยากเอา","เย็ดเป็ด","ไอ้สัดนรก","กีหมา","หีหมา","ดงทง","หัวจวย","รวยคุย","หลิ๋มจุ๋ม","จิมิ","คารวย","คาหี","kui","หรี","คุวุยุ","คุวยุ","yed","ค     ว       ย","แยงโม","ทรงพระเจริญ","ประยุท","\nอีห่าราก","\nอีห่า","\nอีหา","\nอีหัวสำรอก","\nอีหอย","\nอีสาด","\nอีสัตว์","\nอีสัด","\nอีวอก","\nอีลูกกระหรี่","\nอีมะขวิด","\nอีบ้า","\nอีตุ๊ด","\nอีตัว","\nอีดฺอก","\nอีดอฺก","\nอีดอกฺ","\nอีดอก","\nอีชาติชั้ว","\nอีช้างเย๊ด","\nอีกะหรี","\nอีกระหรี่","\nอีกระหรี","\nอีไพร่","\nอีโง่","\nอีแรด","\nอีแมงดา","\nอีแตรด","\nอีแตดเบี้ยว","\nอีเฮี้ย","\nอีเห็ดสด","\nอีเวร","\nอีเวน","\nอีเลว","\nอีเปรต","\nอีเป็งสุดา","\nอิสลาม","\nอ้ายห่า","\nอ้ายสาดหมา","\nอ้ายสาด","\nอายสาด","\nอ้ายสัตว์","\nอ้ายสัด","\nอ้ายฟาย","\nอ้ายเหรี้ย","\nอายเชี้ย","\nอัลเลาะห์","\nอัลเลาะ","\nอัดถั่วดำ","\nอัณฑะ","\nอ่อนสัตว์","\nอ่อนสัด","\nอยากอึบ","\nอยากเอาหญิง","\nอยากเสียว","\nอยากเย็ด","\nอมหัวดอ","\nองคชาติ","\nหื่น","\nหี","\nหำหมา","\nหำกระสือ","\nหำ","\nหัวนม","\nหัวดอ","\nหอกหัก","\nห้วดอ","\nหยีเหม็น","\nหยาบช้า","\nหมาคาบไปแดก","\nหมาไม่แดก","\nหมอย","\nหน้าหรี","\nหน้าหมา","\nหน้าหม้อ","\nหน้าหนังแตด","\nหน้าม่อ","\nหน้าปิ","\nหน้าตัวเมีย","\nหน้าควายตัวเมีย","\nหน้าเหรี้ย","\nหน้าเม็ดแตด","\nหงี่","\nสิรินธร","\nสิริกิติ์","\nสิริกิติ","\nสิริกิต์","\nสิริกิต","\nสิริกิจ์","\nสิริกิจ","\nสารเลว","\nสาดหมา","\nสาดด","\nสาดเอ๊ย","\nสาดเอ้ย","\nสัส","\nสันดานหมา","\nสันดานไพร่","\nสันดาน","\nสัตว์หมา","\nสัตว์นี่","\nสัตว์นรก","\nสัตว์","\nสัต","\nสัด","\nสราด","\nสมเด็จ","\nสถุล","\nสถุน","\nวชิราลงกรณ์","\nวชิราลงกรณ","\nลูกอีสาด","\nลูกอีดอกทอง","\nลูกอีกะหรี่","\nลาวสัด","\nล่อแม่","\nลงแขก","\nรูหี","\nรุมโทรม","\nร่าน","\nราชิณี","\nรัชกาล","\nระยำ","\nร่วมเพศ","ร9","ร8","ร7","ร6","ร5","ร4","ร3","ร2","ร11","ร10","ร1","\nยัดแม่","\nยักสุเน็ต","\nมึง","\nมรึง","\nภูมิพลอดุลยเดช","\nภูมิพล","\nฟ้าหญิง","\nฟ้าชาย","\nฟักยู","\nพุทธ","\nพ่อหลวง","\nพ่อสิ้น","\nพ่อมึงตาย","\nพ่อมรึงสิ","\nพ่อมรึงตาย","\nพ่อม","\nพ่อตาย","\nพ่อง","\nพ่อคุณเหรอ","\nพ่อคิงหยั่ง","\nพ่อคิงแม่คิง","\nพ่อไม่สั่งสอน","\nพ่อแม่งตาย","\nพ่อแม่ไม่สั่งสอน","\nพ่อแม่ไม่ได้สั่งสอน","\nพ่อเมิงตาย","\nพ่อเมิง","\nพลเอกประยุทธ","\nพระราชินี","\nพระราชิณี","\nพระราชา","\nพระบาทสมเด็จ","\nพระบรม","\nพระนางเจ้า","\nพระเทพ","\nพระเจ้าอยู่หัว","\nพระเจ้าแผ่นดิน","\nพร่องมึง","\nพร่องมรึง","\nปี้","\nบีบหัวนม","\nบ้าป่าววะ","\nบัดซบ","\nบักหำ","\nบ๊วบ","\nบริการทางเพศ","\nน้ำกาม","\nน้ำแตก","\nน่าหม้อ","\nน่าม่อ","\nนาซี","\nนมทะลัก","\nนมใหญ่จัง","\nทุเรศ","\nทรูเอ็นซี","\nทรู","\nถุย","\nถ่อย","\nถอก","\nตูด","\nตุ๋ย","\nตีฉิ่ง","\nตอแหล","\nดูหัวนม","\nดูดหัวนม","\nดูดลิ้น","\nดูดปาก","\nดองทอง","\nดอกทอง","\nดราก้อนเนส","\nฑีปังกร","\nชิบหาย","\nชิงหมาเกิด","\nชาติหมา","\nชาติชั่ว","\nชั่วช้า","\nชักว่าว","\nจู๋","\nจีเอ็ม","\nจีเอม","\nจิ๋ม","\nจันทร์โอชา","\nจันไร","\nจันโอชา","\nจัญไร","\nจวย","\nฆูวย","\nฆุวย","\nฆวย","\nฅวย","\nควายย","\nควายจิงๆ","\nควายจริงๆ","\nควายเอ้ย","\nควาย","\nควววววววววววย","\nคววววววววววย","\nควววววววววย","\nคววววววววย","\nควววววววย","\nคววววววย","\nควววววย","\nคววววย","\nควววย","\nคววย","\nควย","\nควญ","\nคว*ย","\nคริสต์","\nครวย","\nคคคคคคววววววววววยยยยยย","\nคvย","\nค+ว+ย","\nค~ว~ย","\nค^ว^ย","\nค*วย","\nค*ว*ย","\nค*ย","\nขี้ฮรี๋","\nขี้หี","\nขายบริการ","\nขายตัว","\nขอรวมเพศหน่อย","\nขอร่วมเพศ","\nกาหรี่","\nกาดอ","\nกาจู๋","\nกาเจี้ยว","\nกัญชา","\nกะหรี่","\nกะสัน","\nกะดอ","\nกะโปก","\nกะเจี๊ยว","\nกระหรี่","\nกระสัน","\nกระทวย","\nกระดอ","\nกระจู๋","\nกระเด้า","\nกระเจี๋ยว","\nกระเจี๊ยว","\nกระเจี้ยว","\nกปปส","\nไอ้อ่อน","\nไอ้หำ","\nไอ้ห่า","\nไอ้หัวถอก","\nไอ้หอยย่น","\nไอ้หอก","\nไอ้หน้าหมา","\nไอ้หน้ามึน","\nไอ้หน้าปิ๊","\nไอ้หน้าตัวเมีย","\nไอ้หน้าด้าน","\nไอ้หน้าดอ","\nไอ้หน้าโง่","\nไอ้สารเลว","\nไอ้สาด","\nไอ้สันดาน","\nไอ้สัตว์","\nไอ้สัตว","\nไอ้สัตร์","\nไอ้สัตย์","\nไอ้สัต","\nไอ้สัดหมา","\nไอ้สัดกะหมา","\nไอ้สัด","\nไอ้สักหมา","\nไอ้สราดดดดดด","\nไอ้สราด","\nไอ้ลูกหมา","\nไอ้ลูกกระหรี่","\nไอ้ลาว","\nไอ้ระยำ","\nไอ้ปากหมา","\nไอ้บัดซบ","\nไอ้นรก","\nไอ้ทุเรศ","\nไอ้ดอก","\nไอ้ดอแหลน","\nไอ้ชิบหาย","\nไอ้ชิงหมาเกิด","\nไอ้ชาติหมา","\nไอ้ชาติชั่ว","\nไอ้โง่","\nไอ้เสี่ยว","\nไอ้เวร","\nไอ้เลว","\nไอ้เปรต","\nไอ้เด็กเวร","\nไปหามารดาคุณ","\nไปตายห่า","\nไปตายสะ","\nไปตายซะ","\nไปดูดนมแม่ไป","\nไนท์โครนิเคิล","\nใอ้สัต","\nใอ้สัด","\nในหลวง","\nโง่","\nโครตพ่อโครตแม่","\nโครตพ่อ","\nโครตแม่","\nโคตรพ่อ","\nโคตรแม่","\nโคดพ่อ","\nแอดมิน","\nแสรรรรด","\nแสรรรด","\nแสรรด","\nแสรด","\nแศด","\nแรคน่ารอค","\nแรคนารอค","\nแรค","\nแย่เม็ด","\nแม่ย้อย","\nแม่มึงตาย","\nแม่มรึงตาย","\nแม่ตายหรอไงว่ะ","\nแม่ตายเหรอ","\nแม่ตาย","\nแม่งตาย","\nแม่เมิงตาย","\nแตด","\nแดก","\nแคม","\nแก่นแตด","\nเฮี่ย","\nเฮงซวย","\nเอาหี","\nเอาหัวนม","\nเอาทีดิ","\nเอาตูด","\nเอากันปะ","\nเอากัน","\nเอ็นซีทรู","\nเอ็นซีซอฟท์","\nเอ็นซี","\nเอเซียซอฟท์","\nเอเชียซอฟท์","\nเหื้ย","\nเหี้ย","\nเสือก","\nเสื้อแดง","\nเสื้อเหลือง","\nเสียวว้อย","\nเสียวจัง","\nเสี่ยโอ","\nเว็ปมาสเตอร์","\nเลียหัวนม","\nเลวสัตว์","\nเลวสัด","\nเย็ท","\nเย็ต","\nเย๊ด","\nเย้ด","\nเย็ด","\nเยด","\nเยซู","\nเย็ก","\nเมเปิ้ลสตอรี่","\nเปรต","\nเน็ตมาร์เบิล","\nเน็กซอน","\nเตี่ยม่องหรอ","\nเซ็กส์","\nเซ็กซ์","\nเซ็กจัด","\nเซ็ก","\nเช่าวัก","\nเจือก","\nเจี๋ยว","\nเจี๊ยว","\nเจสแม่","\nเจ็ทแม่","\nเจดแม่","\nเงี้ยน","\nเงี่ยน","\nเควี่ย","\nเกมมาสเตอร์","\nเเม่ง","\nเเคมปลิ้น","\nเ+ย็+ด","7บาป","\nkeeหี","\nเตี่ยม่อง","\nเลวมาก","\nเวรตะไล","\nเห็ดสด","\nแม่ง","\nใอ่","\nใอ้","\nไอ่","\nห่า","\nอีเดียด","\nอีหอยดอง","\nข้ารองบาท","\nอีสัส","\nแตd","\nพุทธ*","\nบุดด้า","\nขี้hee","\nตุ๊ด","\nวชิรเกล้า","\nวชิรา","รุ่น10","รุ่นที่10","\nกษัตริย์","\nเอาล้อรสบัส","\nเงี๊ยน","\nขอซั่มหน่อย","\nเลียหอย","\nเกี่ยวเบ็ด","\nxvideo","\nxnxx","\nขอเยหน่อย","\nน่าเย","\nเยทีดิ","\nนักเย","\nรุมเย","\nจับเย","\nอยากเยจัง","\nแตกใน","\nน้ำว่าว","\nเยดุ","\nเยโหด","\nแทงหอย","\nเยหอย","\nเจี้ยว","\nหม๋อย","\nคุวย","\nฆรวย","\nฆ๋วย","\nฆร๋วย","\nNahee","\nข่มขืน","\nช่องคลอด","\nหนังx","\nหนังเอ็กซ์","\nหนังโป๊","\nเบินหอย","\nเบิร์นหอย","\nอมดอ","\nดูดหอย","\nเขี่ยหอย","\nลักหลับ","\nxี","\nคsวย","\nอมคsวย","\noมคsวย","\nหมoย","\nหม๋oย","\nนมโต","\nหอยอูม","\nหอยเปียก","\nหอยแฉะ","\nพระราชสำนัก","\nสมเจียม","\nเสด็จเจียม","\nรอยัลลิสต์มาร์เก็ตเพลส","\nล้มเจ้า","\nสลิ่ม","\nประยุด","\nราชวงศ์จักรี","\nปาร์ตี้ริมสระ","\nนปช","\nไนหลวง","\nนัยหลวง","\nอีลูกทาส","\nสิริวัณณวรี","\nสิริวัณ","\nสิริวัน","\nอีกบ","\nศรีรัศมิ์","\nทีปังกร","\nไอ้เอ๋อ","\nมหิดล","\nไอโอ","\nสินีนาฏ","\nชังชาติ","\nทีปังกรรัศมีโชติ","\nฮิตเลอร์","\nเสี่ยO","\nวชิรภักดิ์","\nลุงตู่","\nโปรโคดิ้ว","\nโคเคน","\nเฮโรอีน","\nน้ำท่อม","\nดูดม้า","\nยาไอซ์","\nยาบ้า","\nลาวว่ะ","\nฟัคยู","\nหน้าลาว","\nแม่มุงตาย","\nแม่สิ้น","\nแม่มุงเดี้ยง","\nอิสัซ","\nอีสัซ","\nดูดนม","\nเจ๊ดแม่","\nเหยดแม่","\nกากชิหาย","\nเซเว่นไนท์","\nจังไร","\nจัณไร","\nซั่ม","\nอสุจิ","\nดิลโด้","\nดิวโด้","\nประยวยหัวคุด","\nจิมกระป๋อง","\nจิมกะป๋อง","\nวชิราลง","\nคิ้วตัน","\nเจ้าคุณพระ","\nนมก้อย","\nริมสระ","\nRimsra","\nนัดเย","\ngermo","\ngigolo","perk0sa","\nperkosa","\nTERORIST","\nterrorist","\ntroris","\nPaok","\nAnjing","Anj1ng","\nAjg","4njing","4nj1ng","\nBangsat","B4ngsat","Bangs4t","B4ngs4t","\nBgst","\nTai","T4i","Ta1","T41","\nCuki","\nCukimae","\ncukimai","\ncukimay","\nPuki","\nPukimak","Cuk1","Cuk1mae","Cuk1m43","Cukima3","Cukim4e","\nPendo","\nPendok","\nFck","B1tch","\n大便","Sh1t","\n.GOBLOK","0rga","33k","4nj","4nj!ng","4nj1n9","4nj1nk","4njin9","4su","90bl0k","\na.n.j.i.n.g","\najgg","anj!n9","anj1n9","anj1nk","\nanjeng","\nanjenk","\nanjg","\nanjiiing","\nanjiing","\nanjingg","\nanjinggg","\nanjingggg","\nanjink","\nanjinx","\nanjinxxx","\nAnus","any1ng","\nanying","\n混蛋","\nassu","\nAsu","\nasuu","\nasuuu","\nasuw","\nasw","\nb.e.g.o","b3g0","b3go","b4b!","b4b1","b4b1k","b4bi","b4n9sat","\nbaaabi","\nbaabi","\nbaabii","\nbab!","bab1","\nbabi","\nBABI.","\nbabii","\nbabiiii","\nbabik","\nbabu","\nbacod","\nbajingan","\nbajingkrek","\nbajinkrek","\nbanci","\nbangke","\nBangsad","\nBANGSAT.","\nbangsatt","\nBANGST","\nBANGSTT","be90","beg0","\nbego","\nbences","\nbencong","\nbeol","\nberak","\nbgstt","\nBhabi","\nBhangsad","\nBhangsat","\nBhiji","\nBhijik","\nBhijix","\nbiadab","\nBNGSAT","\nbodoh","\nbolot","\nbrengsek","\nbuangsat","\nbudek","\nbusuk","\nbuta","\nc.a.c.a.d","\nc.a.c.a.t","\nc.c.d","\nCacad","\ncacat","\nccd","\ncct","\nceleng","\ncelenk","\ncelenx","\ncocod","\ng.o.b.l.o.k","g0bl0g","G0bl0k","G0bl0x","g0blog","g0blok","g3bl3g","\ngagu","\nGBLG","\ngblk","\ngblkk","\ngebleg","\nGeblek","\nGeblex","\ngerepe","gobl0g","gobl0k","\ngoblk","\nGOBLOG","\nGOBLOG.","\nGOBLOGG","\ngoblok","\nGOBLOK.","\nGobloks","\nGoblox","\ngoooblokkk","\nguoblok","h0m0","h1na","\nhina","\nhombreng","\nhombrenk","\nhombrenx","\nhomo","\nhomrenk","\nidiot","\nidiott","\njablay","\njabluk","\njadah","\njahanam","\njamput","\njijik","\njing","\njingtod","\njink","\njmbt","\nJOKI","\njokii","k4mp4ng","\nkalempong","\nkampang","\nkancud","\nkancut","\nkantal","\nkanyut","\nkapir","\nkrocotod","\nkunyuk","\nkunyux","\nlacur","\nlaknat","\nlesbi","\nlhacur","\nlonte","\nlonthe","m0nyed","m0nyet","\nmartole","\nmodar","\nmonyed","\nmonyet","\nMother幹er","\nnjing","\nnjng","\nPSK","\nselingkuh","\nsempak","\nsinting","\nta","t0k4i","t0kai","t0l0l","t0lol","\ntae","\ntaek","\ntaii","\ntaiii","\ntaiik","\ntaik","\ntaikk","\ntaikkk","\ntailasu","\ntampon","\ntantegirang","\ntay","\ntoIoI","tok4i","\ntokai","\ntokay","tol0l","\nTOLOL","\nTOLOL.","\nTOLOLL","\nTOLOOL","\ntot","\ntoud","\ntunge","\n陰道","\nwaria","\nwasu","\nanjim","\nanjdim","\nanjimm","\nanjimmm","anj1m","\nlucknut","\nlucknutt","\nlucknud","\nampas","\nampass","\nampasss","\nampash","\nbacot","\nbacott","bac0t","bac0d","\nmaho","a55u","\nbngst","P4NT3K","Pant8","pant3k","\nPTK","\ntuli","hom0","h0mo","ju4l","\njual","\ngenshin","\ngensin","\ngenshiin","\ngenshinn","\nlifeafter","lif34fter","\npelit","\nplit","p3lit","\ncuk","\ncukk","\ncukkk","\ncuuk","\nchina","cin4","\ncina","\ncino","\nfankui","\nhuana","\nindog","j4w4","\njawir","\npetting","\npribumi","\nsampit","\nvankui","\nwana","\ncinko","\nJokowi","7okowi","\nJokowidodo","J0k0w1","\nfanyin","\nfannyin","t1ko","fanku1","\n希特勒","\nnazi","naz1","\nbinladen","\nISIS","\ntaliban","\nalqaeda","\nal-qaeda","1S1S","\nKontol","K0ntol","Kont0l","\nKntl","\nMemek","Mem3k","M3mek","M3m3k","\nMmk","\nPepek","P3P3k","P3pek","Pep3k","\nPpk","1t1l","1til","b0k3p","\nbacol","\nbecek","\nbejad","\nbeje","\nberjembut","\nberjembutt","\nberjembuut","\nberjembuutt","\nberkntl","\nberkontol","\nberkontoll","\nbersilang","\nbiji","\nbijii","\nbijiq","\nBijix","\nbinal","\nbispak","\nbitches","\nblowjob","bok3p","\nbokep","\nbool","\nbugil","c1b41","c1ba1","c1bai","\ncabul","\ncholie","cib4i","ciba1","\nCibai","\ncibay","\nCibe","\ncipet","\ncokil","\ncoli","\ncolie","\ncolli","\ncolly","\ncoly","\ncondom","cr0t","\ncrot","\nCrott","\nCrottt","\ncukymai","d1ck","\ndubur","\neeq","\nejakulasi","\nentod","\nentot","\nereksi","\nerexi","\newe","\nezakulasi","\nfantad","\nfantat","\nfefek","\nfhantat","\n幹er","\n幹k","\nFvck","g4ngb4ng","\ngangbang","h0rny","\nhorni","\n好色","\nithil","\nitil","j4bl4y","\njeembut","\njembod","\njemboed","\njemboet","\njembud","\njembut","\njembutt","\njembuut","k0nd0m","k0nt0i","k0nt0l","k0ntil","k1mak","k1maks","\nkemak","\nkenthir","\nkentod","kh0nt0l","kh0ntol","khnt0l","\nkhntol","\nkhontil","\nkhontol","\nkimak","\nkimcil","kint1l","\nkintil","\nklentit","\nklitoris","knt0l","\nKNTL.","\nkntol","\nkntoll","\nkntolll","\nkobel","\nkoentoel","\nkonak","\nkonax","kond0m","\nkondom","\nkontil","\nkontlo","\nkontlo.","\nKONTOEL","\nkontoi","\nkontoll","\nkontolll","\nkontool","\nkontooll","\nkoontool","\nkountol","ku0nt0l","\nkuntul","\nkuontol","L0nt3","L0NTE","\nlanciao","\nlanciau","\nlanciaw","\nlanjiau","\nlanjiao","\nlendir","\nml","\nm-l","\nm.l","m3k1","\nmakcibai","\nmasturbasi","me2k","mek1","\nmeki","\nmekki","\nmekky","\nmekmek","\nmeky","\nmemek.","\nmemekk","\nmemekkk","\nmemeq","\nmemex","\nmemk","\nmemmek","\nmeq","\nmeqi","\nmmek","\nMMK.","\nmuncrat","n0n0k","n3n3n","n3nen","n3t3k","n3tek","n9ent0t","\nnenen","\nnetek","ng3n","ng3nt0t","ng3ntot","ng3w3","ng3we","\nngaceeng","\nngaceng","\nngacengg","\nngacenggg","\nngacenk","\nngecrod","\nngecrot","\nngecrud","\nngecrut","\nngedut","\nngehe","\nngejablay","\nngencrit","ngent0t","\nngentiau","\nngentiauw","\nngentiavv","\nngentiaw","\nngentid","\nngentit","\nNGENTOD","\nngentoooot","\nngentooot","\nngentoot","\nngentot","\nngentott","\nngentoy","\nngeped","\nngepet","\nngetung","\nngewe","\nngeweq","\nngewong","\nnghe","\nNGNTOD","\nngntot","\nngntott","\nngocok","\nngocox","\nnonoI<","\nnonok","\nnyoli","\nomgirang","\nonani","\noo==D","\norgasme","p3jhu","p3ju","p3n1s","p3nis","p3r3k","\npalkon","\npantad","\npantat","\npante","\nPantek","\npanteq","\npayudara","\npe.hu","\npecun","\npedofil","\npeepeek","\npejhu","\npeju","\npejuh","\npelacur","\npeler","\npelir","pen1s","\npeneterasi","\npenetrasi","\n陰莖","\npentil","\npepe","\npepeek","\nperawan","\nperek","\npereks","\nperex","\npheler","\nphelher","\npilat","\nplacur","\nPler","\nPlir","\npneterasi","\npokemak","\nA片","puk1","\npukii","\npukiiii","pukim4i","\npukima","\nPukimai","\npuky","\npukymay","\npuqi","put1ng","\nputing","\npuuki","\npuuuki","\nqmak","\nqmaks","\nqontol","\nsange","\nsemprot","sep0n","\nsepong","\n性愛","\nspong","\nsundal","\nt!t!t","t0d","t0k3t","t0ked","t0ket","t1t1d","t1t1t","t1tid","t1tit","t3t3k","t3t3x","\ntelanjang","\ntempek","\ntempik","\nteroris","\ntestikel","\ntestis","\nTete","\nTetek","\ntetex","th0l0l","th0lol","\ntholol","\ntiko","\ntitid","\ntitied","\ntitit","\nTLOL","\ntod","\ntodjing","\nToked","\nTokeet","\nToket","\nTokett","\nvantad","\nvantat","\nveler","\nvevek","\nvheler","\nvibrator","\nvulva","z4k4r","\nzakar","\nzhakar","\nzhakhar","\njilmek","\njilmeq","\nngatceng","\neweeaan","\neweeaann","3ntod","n9ew3","\noppai","\nyamete","\nyameteh","\nikkeh","\nikeh","\nkimochi","\nkimoci","\nbdsm","\nvokep","v0kep","v0k3p","\nngews","\nopenbo","0penb0","\ncolikiawan","\ntobrut","\ntoge","\njmbut","\nsagne","s4nge","\n陰道a","\n陰道aa","\n陰莖s","\n陰莖ss","\nEue","\nEuee","\ncomlu","\n屌","\nfhantad","\nmhemek","mony3t","\nngntd","\n精子a","\ntltlt","\nvler","\nkocok","\n.islam","1sl4m","1slam","\n阿拉","\nbudddha","\n佛教相關","\nbudha","\nhindhu","\nHindu","isl4m","\nislam","\nislam.","\nislamm","\nislammm","\nisslam","\nissslam","\nisssslam","\nissssslam","\nKATHOLIK","\nKATOLIK","\nKhatolik","kr1st3n","kr1sten","\nKristen","\nmuhamad","\nmuhammad","\nMUSLIM","\nnabi","\nprotestan","\nrasul","tuh4n","\ntuhan","\nyeesus","\nyesssssus","\nyessssus","\nyesssus","\nyessus","\nyesus","\nyesuss","\nyesusss","\nyesussss","\nyesusssss","\nyesussssss","\nyesuus","\nyesuuus","\nyyeeesuss","\nyyeesus","\niblis","\nkafir","\nancuk","\ndiancuk","\ndjancok","\ndjiancuk","\ndjuancuk","\njancok","\njancuk","\njiancok","\njuancok","\nkeparat","mamp0s","\nmampos","\nmampus","\ndancok","\nbitch","\n幹","\nanal","\narouse","ar0use","ar0us3","\nanal性愛","s3x","an4l","\narse","\narsehole","\nass","\nass幹","\nass幹er","\nasshat","\n混蛋s","\nasshore","\nbad幹","\nballlicker","\nballs","\nballsack","b4rf","\nbarf","\nbarface","\nbarfface","\nbastard","bast4rd","b4stard","bi4tch","b1atch","\nbiatch","b1ble","\nbible","\nbicurious","\nbigass","biga55","\nbi性愛","\nbi-性愛","\nbitcher","\nbitchez","\nbitchin","\nbitchy","\nblackman","\nbollock","\nbomb","b0mb","\nbombers","\nbombing","\nbombs","\nbomd","\nbondage","b0ner","\nboner","\nbong","b00b","\nboob","\nboobies","\nboobs","\nbooby","\nboody","\nbooty","\nbootycall","brea5t","\nbreast","\nbuttbang","\nbutt-bang","\nbuttface","\nbuttplug","\nbuttstain","\ncatholic","cath0lic","c4th0lic","\n陰蒂","cl1t","\n陰蒂oris","\ncock","c0ck","\ncommunist","\ncomunist","c0mmunist","\ncum","\ncunntt","\ncunt","\ndip大便","\ndong","d0ng","\nejaculate","eja4culate","ejacl4te","er3ct","\nerect","\nerection","f4g","\nfag","\nfagging","fag0t","fagg0t","\nfaggot","\nfagot","\nfatass","\nfat幹","\nfondle","f0ndle","fondl3","\nfucck","\nfakthis","\n幹kkk","\ngay","\ngaay","g4y","\ngay性愛","g4y性愛","\ngenital","gen1tal","\nhandjob","\niblow","\niblowu","ibl0wu","\nisrael","\nisraeli","\nisrael's","j4ck0ff","jack0ff","\njackoff","jacksh1t","\njack大便","\njerkoff","\njeesus","\n耶蘇","\n耶蘇christ","\njew","j3w","\njewish","\nkink","k1nk","\nkinky","k1nky","\nkotex","k0tex","\nlesbain","\nlesbayn","lesb4in","l3sbian","lesb1an","\nlesbian","\nlesbin","\nlesbo","\nlibido","\nlickme","\nlimp屌","\nlingerie","l1nger1e","lingeri3","\nlive性愛","\nloadedgun","l0adedgun","load3dgun","\nmastabate","m4st4bate","ma5terbate","mast3rbat3","\nmastabater","\nmasterbate","\nmolest","m0lest","mol3st","\nmolester","\nmolestor","\nmoron","m0ron","mor0n","\nmotha幹","m0tha幹","\nmotha幹a","\nmotha幹az","\nmotha幹ed","\nmotha幹er","\nmotha幹in","\nnastyho","h0e","\nnastyslut","\nnastywhore","nastywh0re","n4zi","\nnegro","n3gro","negr0","\nnegroes","\nnegroid","\nnig","n1g","\nniger","\nnigerian","\nnigg","\nnigga","nigg4","\nniggah","\nniggard","\nniggaz","\nnigger","\nnipple","n1pple","\norga","\norgasim","\norgasm","\norgies","\norgy","\nosama","0sama","binl4den","\npalesimian","\npalestine","pal3stine","\npalestinian","\npansies","\npansy","p4nsy","\npanti","\npanty","\npanties","\npeehole","\npee-pee","\npeepshow","peni5","\npenile","\n陰莖es","\nperv","\nphone性愛","\nA片o","p0rn","p0rn0","pu55i","pu55y","\npube","\npubic","\npussie","\npussies","\n娘砲","\npusy","\nrape","r4pe","rap3","\nraped","\nraper","\nrapist","r4pist","rap1st","\nrearend","\nrearentry","\nrectum","\n遲緩兒","ret4rd","r3tard","\n遲緩兒ed","\nscrewyou","\nscrewu","\nscreweu","scr3wyou","\n陰囊","scr0tum","\nscum","\nsemen","s3m3n","sem3n","s3men","\nslut","\nsonofabitch","sonof4bitch","sonofb1tch","\nsonofbih","sonofb1h","\nsonofbich","\nsonofbitch","\n精子","sp3rm","\nteste","te5te","t3st3","\ntesticle","t3sticle","test1cle","\ntits","t1ts","\ntittie","t1tt1e","\ntitties","\ntitty","\ntran性愛","tr4ns3xu4l","\nupskirt","upsk1rt","\nuptheass","\nupthebutt","\nurinary","ur1ne","urin3","\nurinate","\nurine","\n陰道l","v4gin4","\ntangina","\nputangina","\nmagtae","\ndumi","\nKaintae","\npunyeta","\nGago","\nBobo","\nUlol","\nKaululan","\nloko","\nsiraulo","\nPakshet","\nkiki","\npekpek","\ntinggil","\ntiti","\nburat","\nbayag","\nkantot","\nhindut","\niyot","\nputa","\npota","\npuday","\ntanginamo","\ntarantado","\ntado","\nobob","\n國王ina","\n國王inamo","\npu國王ina","\npu國王inamo","\ntaena","\ntaenamo","\ntaenamoka","\nbubu","\nhindot","\nkantut","\nputanginamo","\nputanginamoka","\ntanginamoka","\npu國王inamoka","\nulul","\niyut","\niyotan","\niyutan","\nkasta","\npuke","\npoki","\ntite","\netits","\nekup","\nitot","\nbetlog","ฟัค"," ฟรัค"," ฟราค","ป ร ะ ยุ ท ธ์","น่ากี","ควE","Pornhub","Porn hub","P ornhub","P o r n h u b","พรฮับ","พร ฮับ","พร hub","porn ฮับ","ห่วย"],emergency_text:[],end_message:"<p>น้อง GBot ยินดีให้บริการครับ รบกวนกดดาวและให้คำแนะนำน้อง GBot เพื่อนำไปพัฒนาต่อไปนะครับ</p>",ban_message:"<p>ถูกระงับการใช้บริการชั่วคราว โปรดหลีกเลี่ยงการใช้คำที่ไม่เหมาะสม</p>",auto_end_message:"<p>ระบบปิดอัตโนมัติ เนื่องจากไม่มีการเคลื่อนไหวใน 5 นาที ท่านสามารถกดจบสนทนา และเสนอแนะติชมเพื่อพัฒนา GBot ให้ดียิ่งขึ้น และหากต้องการสอบถามข้อมูลเพิ่มสามารถกดเริ่มสนทนาได้อีกครั้งครับ</p>",warning_ban_message:"<p>รบกวนคุณลูกค้าหลีกเลี่ยงการใช้คำไม่เหมาะสมนะครับ</p>"},config_ticket:{ticket_image:"https://cdn-webth.garenanow.com/webth/cdn/cs/A07.png",ticket_text:'<p>รบกวนระบุหมายเลข Ticket ID เฉพาะตัวเลข 5-7 หลัก เช่น 12610 ตรวจสอบหมายเลข Ticket id ได้ <a target="_blank" rel="noopener noreferrer" href="https://support.garena.in.th/new/faq/detail/2194/ticket-id">ที่นี่</a></p>',ticket_fail:"<p>โปรดตรวจสอบให้แน่ใจว่าเป็นหมายเลข Ticket ID ของปีปัจจุบัน หากเป็น Ticket ID ของปีอื่นๆ โปรดติดต่อเจ้าหน้าที่</p>",ticket_fail_choice:[{key:"Website",value:"<p>https://www.garena.co.th/customer</p>"}],ticket_update:'<p>เจ้าหน้าที่ได้ติดต่อกลับไปยัง Email ของท่านเรียบร้อยแล้ว เมื่อ {time} สามารถนำหมายเลข Ticket ID ที่ได้รับไปค้นหาใน Email และกรุณาตอบกลับเจ้าหน้าที่ภายใน <span style="background-color:hsl(0,0%,0%);color:rgb(255,0,0);">{countdown} ชั่วโมง</span> เพื่อป้องกันระบบปิดรายการอัตโนมัติ มิเช่นนั้นอาจจะต้องแจ้งเรื่องใหม่นะครับ สำหรับวิธีการตอบกลับทีมงาน กดดูได้จากลิงก์นี้เลยครับ : <a target="_blank" rel="noopener noreferrer" href="https://support.garena.in.th/new/faq/detail/695"><span style="color:hsl(0,0%,0%);">https://support.garena.in.th/new/faq/detail/695</span></a></p><p><strong>แล้วอย่าลืมส่งกำลังใจ โดยการกดให้คะแนนทีมงานที่ตอบกลับในอีเมลด้วยนะครับ^^</strong></p>',ticket_update_choice:[],ticket_new:"<p>เราได้รับเรื่องของคุณเรียบร้อยแล้วครับ อดใจรอสักนิด ทีมงานกำลังเร่งตอบกลับตามลำดับคิว ภายใน 1-5 วันทำการ เร็วสุดอาจจะแค่ไม่กี่ชั่วโมงนะครับ แล้วอย่าลืมแวะเข้ามาตรวจสอบอีเมลบ่อยๆ กับตรวจสอบในจดหมายขยะ/ถังขยะเพิ่มเติมด้วย เพื่อไม่ให้พลาดอีเมลของทีมงานนะครับผม ^^</p>",ticket_new_choice:[],ticket_pending:"<p>เจ้าหน้าที่ได้รับข้อความการตอบกลับของท่านเรียบร้อยแล้ว และกำลังอยู่ในระหว่างการตรวจสอบข้อมูล โดยจะติดต่อกลับภายใน 1-5 วันทำการ หากมีความคืบหน้า เจ้าหน้าที่จะตอบกลับไปยัง Email ของท่านโดยเร็วที่สุด<br><br><strong>แล้วอย่าลืมส่งกำลังใจ โดยการกดให้คะแนนทีมงานที่ตอบกลับในอีเมลด้วยนะครับ^^</strong></p>",ticket_pending_choice:[],ticket_success:"<p>ทีมงานได้แจ้งผลดำเนินการเรียบร้อยแล้ว เมื่อ {time} สามารถตรวจสอบรายละเอียดทางอีเมลได้เลยครับ</p><p><strong>แล้วอย่าลืมส่งกำลังใจ โดยการกดให้คะแนนทีมงานที่ตอบกลับในอีเมลด้วยนะครับ^^</strong></p>",ticket_success_choice:[],ticket_close:'<p>น่าเสียดายจริงๆครับ เนื่องจากท่านไม่ได้การตอบกลับจากท่านภายในระยะเวลาที่กำหนด (3 วัน) รายการนี้จึงถูกปิดจากระบบอัตโนมัติไปเมื่อ {time} หากปัญหาของท่านยังไม่ได้รับการแก้ไข สามารถแจ้งเรื่องใหม่อีกครั้งได้ที่ <a target="_blank" rel="noopener noreferrer" href="https://www.garena.co.th/customer"><span style="color:hsl(0,0%,0%);">https://www.garena.co.th/customer</span></a><span style="color:hsl(0,0%,0%);"> นะครับ</span></p>',ticket_close_choice:[],ticket_reject:"<p>ทีมงานได้แจ้งผลดำเนินการเรียบร้อยแล้วเมื่อ {time} สามารถตรวจสอบรายละเอียดทางอีเมลได้เลยครับ</p>",ticket_reject_choice:[]},asset:{back_menu_icon:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/back_menu_icon.png",background_message_bot:"#2E2E2E",background_message_input:"#2E2E2E",background_message_user:"#ffffff",bot_profile:"https://cdn-webth.garenanow.com/webth/logo/garena/garena_84x84.png",chat_background:"#191515",chat_icon:"https://cdn-webth.garenanow.com/webth/cdn/cs/IconBot/button_chat-2.png",chat_input_color:"#d7d7d7",chat_loader_color:"#d7d7d7",chat_theme:"#dd3333",chat_title:"Garena Support",chat_title_color:"#d7d7d7",choice_background_border_message:"transparent",choice_background_message:"#ffffff",choice_background_message_hover:"#e41e26",choice_color_message:"#900000",choice_color_message_hover:"#DEDEDE",close_menu_icon:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_close2.png",emergency_background:"#fff",emergency_color:"#FF0000",menu_icon:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_menu.png",rate_border_input_color:"#d7d7d7",rate_text_color:"#d7d7d7",send_icon:"https://cdn-webth.garenanow.com/webth/cdn/garena/chat-bot/button_send.png",text_color_bot:"#d7d7d7",text_color_user:"#2E2E2E"}}},chat:{data:{type:"choice",result:[{id:184,parent:99,text:"<p>Garena RoV</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/055/icon.png",type:"image",end:!1,is_active:!0,order:1,choice:[],template_id:0,emergency_text:['<p>สำหรับลูกค้าที่ได้รับแว่นขยายนักสืบ จำนวน 80 ชิ้น จากกิจกรรม ROV X Conan&nbsp;<br><br>ระบบจะส่งไอเทมเข้าไปที่คลัง <a target="_blank" rel="noopener noreferrer" href="https://postimg.cc/KkkGzNhX">ภาพตัวอย่าง</a> โดยจะต้องกดเปิดใช้งานก่อน จึงจะสามารถใช้แว่นขยายนักสืบในหน้ากิจกรรมได้ครับ</p>']},{id:185,parent:99,text:"<p>Free Fire</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/067/icon.png",type:"image",end:!1,is_active:!0,order:2,choice:[],template_id:0,emergency_text:[]},{id:186,parent:99,text:"<p>FC Online</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/032/836/icon.png",type:"image",end:!1,is_active:!0,order:3,choice:[],template_id:0,emergency_text:[]},{id:187,parent:99,text:"<p>Speed Drifter</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/070/icon.png",type:"image",end:!1,is_active:!0,order:4,choice:[],template_id:0,emergency_text:[]},{id:188,parent:99,text:"<p>Call Of Duty Mobile</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/082/icon.png",type:"image",end:!1,is_active:!0,order:5,choice:[],template_id:0,emergency_text:[]},{id:189,parent:99,text:"<p>Undawn</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/105/icon.png",type:"image",end:!1,is_active:!0,order:6,choice:[],template_id:0,emergency_text:[]},{id:190,parent:99,text:"<p>Garena Moonlight Blade</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/124/icon.png",type:"image",end:!1,is_active:!0,order:7,choice:[],template_id:0,emergency_text:[]},{id:191,parent:99,text:"<p>Black Clover</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/130/icon.png",type:"image",end:!1,is_active:!0,order:8,choice:[],template_id:0,emergency_text:[]},{id:2672,parent:99,text:"<p>Garena Delta Force PC</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/151/icon.png",type:"image",end:!1,is_active:!0,order:9,choice:[],template_id:0,emergency_text:[]},{id:2929,parent:99,text:"<p>Garena Delta Force Mobile</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/151/icon.png",type:"image",end:!1,is_active:!0,order:10,choice:[],template_id:0,emergency_text:[]},{id:3571,parent:99,text:"<p>HAIKYU!! FLY HIGH</p>",image:"https://cdn-gop.garenanow.com/gop/app/0000/100/153/icon.png",type:"image",end:!1,is_active:!0,order:12,choice:[],template_id:0,emergency_text:[]}]}},ai:{"free fire lag":{status:"bmsg_ok",data:{result:"สำหรับปัญหา Free Fire ลาก กรุณาลองวิธีแก้ไขดังนี้:\n\n1. ปิดแอปพลิเคชันอื่นที่ทำงานอยู่\n2. ลดการตั้งค่ากราฟิกในเกม\n3. ใช้ WiFi แทน 4G\n4. รีสตาร์ทอุปกรณ์\n5. อัปเดตเกมเป็นเวอร์ชันล่าสุด\n\nหากยังมีปัญหา กรุณาติดต่อทีมสนับสนุนค่ะ",conversation_id:"conv_123456",is_query_limit:!1}},"free fire login problem":{status:"bmsg_ok",data:{result:"สำหรับปัญหาการเข้าสู่ระบบ Free Fire:\n\n1. ตรวจสอบชื่อผู้ใช้และรหัสผ่าน\n2. ล้างแคชเกม\n3. รีสตาร์ทเกม\n4. ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต\n5. อัปเดตเกม\n\nหากยังไม่ได้ กรุณาติดต่อทีมสนับสนุนค่ะ",conversation_id:"conv_123457",is_query_limit:!1}}},topicCheck:{"free fire":{status:"bmsg_ok",data:{topic_list:["free fire"]}},account:{status:"bmsg_ok",data:{topic_list:["account"]}}},startChat:{data:{chat_id:"mock_chat_12345"}},registerTopic:{status:"bmsg_ok"},blacklist:{status:"bmsg_ok"}},p=e=>new Promise(t=>setTimeout(t,e)),h=(e,t=null)=>{u.DEBUG&&console.log(`[MOCK API] ${e}`,t||"")},m=(e,t)=>{const n=t.toLowerCase();if(e[n])return e[n];for(const[t,a]of Object.entries(e))if(n.includes(t)||t.includes(n))return a;return null},g={getInitChat:async()=>(await p(u.DELAY),h("GET /api/chat/init"),d.init),startChat:async()=>(await p(u.DELAY),h("GET /api/chat/start"),d.startChat),async sendChat(e,t,n="text",a=null){await p(u.DELAY);const o=t.text||t,r=t.id;if(h("POST /api/chat/send",{messageText:o,messageId:r}),r)for(const e of Object.values(d.chat))if(e.data?.result){if(e.data.result.find(e=>e.id===r))return e}return{status:"bmsg_ok",...d.chat}},async sendAIChat(e,t,n,a,o,r=null){await p(u.DELAY),h("POST /api/chat/ai",{query:n});const i=m(d.ai,n);return i||{status:"bmsg_ok",data:{result:"bmsg_no_data"}}},async checkTopic(e,t,n){await p(u.DELAY),h("POST /api/chat/check-topic",{query:n});const a=m(d.topicCheck,n);return a||{status:"bmsg_ok",data:{topic_list:[]}}},registerTopic:async(e,t)=>(await p(u.DELAY),h("POST /api/chat/register-topic",{topic:t}),d.registerTopic),blacklistIP:async()=>(await p(u.DELAY),h("POST /api/chat/blacklist"),d.blacklist)},f=async(e,t={})=>{const{method:n="GET",body:a}=t,o=new URL(e).pathname;let r;if(o.includes("init"))r=await g.getInitChat();else if(o.includes("start"))r=await g.startChat();else if(o.includes("chat")&&"POST"===n){const e=JSON.parse(a);r=await g.sendChat(e.chat_id,e.message,e.type,e.scope)}else if(o.includes("ai-chat")&&"POST"===n){const e=JSON.parse(a);r=await g.sendAIChat(e.room_id,e.raw_query,e.query,e.language,e.service,e.conversation_id)}else if(o.includes("check-topic")&&"POST"===n){const e=JSON.parse(a);r=await g.checkTopic(e.room_id,e.raw_query,e.query)}else if(o.includes("register-topic")&&"POST"===n){const e=JSON.parse(a);r=await g.registerTopic(e.chat_id,e.topic)}else r=o.includes("blacklist")&&"POST"===n?await g.blacklistIP():{status:"error",message:"Endpoint not found"};return{json:async()=>r}},b=()=>u.ENABLED,_=(e=null)=>(u.ENABLED=null!==e?e:!u.ENABLED,console.log("Mock data "+(u.ENABLED?"enabled":"disabled")),console.log("Please refresh the page to apply changes."),u.ENABLED),k=(e,t,n)=>{d[e]?(d[e][t]=n,console.log(`Added mock response for ${e}: ${t}`)):console.error(`Invalid mock data type: ${e}`)},x=async()=>{console.log("🚀 Testing Mock Data...\n");try{const e=await g.getInitChat();console.log("✅ Initial chat:",e.data.asset.start_chat);const t=await g.startChat();console.log("✅ Chat ID:",t.data.chat_id);const n=await g.sendChat("test",{text:"Free Fire"});console.log("✅ Chat response:",n.data.type);const a=await g.sendAIChat("test","free fire lag","free fire lag","th","free fire");console.log("✅ AI response:",a.data.result.substring(0,50)+"..."),console.log("\n🎉 All tests passed!")}catch(e){console.error("❌ Test failed:",e)}},y=async(e="",t={},n=null)=>{v("chatbot_jwt");if(b())return h("POST",{url:e,data:t}),await f(e,{method:"POST",body:JSON.stringify(t)}).then(e=>e.json());const a={"Content-Type":"application/json"};n&&(a.Authorization=`Bearer ${n}`);return(await fetch(e,{method:"POST",headers:a,body:JSON.stringify(t)})).json()},w=async(e="")=>{if(b())return h("GET",{url:e}),await f(e,{method:"GET"}).then(e=>e.json());return(await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})).json()};"undefined"!=typeof window&&(window.toggleMockData=_,window.testMockData=x,window.addMockResponse=k,window.MOCK_DATA=d,window.MOCK_CONFIG=u);const v=e=>{var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(t)return t[2]},S=(e,t,n)=>{var a="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),a="; expires="+o.toUTCString()}document.cookie=e+"="+(t||"")+a+"; path=/"},T=e=>{if(!e||"object"!=typeof e)return e;const t={};for(const[n,a]of Object.entries(e))t[n]="string"==typeof a?a.replace(/\\n/g,"\n").replace(/\\t/g,"\t"):"object"==typeof a&&null!==a?T(a):a;return t};var A=o(848);const E=(0,e.createContext)(),C=()=>{const t=(0,e.useContext)(E);if(!t)throw new Error("useGlobalContext must be used within a GlobalProvider");return t},j=({children:t})=>{const[n,a]=(0,e.useState)(null),[o,r]=(0,e.useState)(!1),[i,s]=(0,e.useState)(!1),[u,d]=(0,e.useState)(!1),[p,h]=(0,e.useState)(0),[m,g]=(0,e.useState)(0),[f,b]=(0,e.useState)(""),[_,k]=(0,e.useState)("main"),x={MAIN:"main",AI_CHAT:"ai_chat",CHOICE_CHAT:"choice_chat"},[y,w]=(0,e.useState)([]),[S,C]=(0,e.useState)(null),[j,N]=(0,e.useState)([]),[O,I]=(0,e.useState)(null),[L,R]=(0,e.useState)(!1),[M,D]=(0,e.useState)(!1),[P,z]=(0,e.useState)(!1),[F,$]=(0,e.useState)(!1),[U,G]=(0,e.useState)([]),[H,B]=(0,e.useState)(0),[W,q]=(0,e.useState)(0),[Y,K]=(0,e.useState)(0),[V,X]=(0,e.useState)(!1),[J,Z]=(0,e.useState)(60),[Q,ee]=(0,e.useState)(0),[te,ne]=(0,e.useState)(!1),[ae,oe]=(0,e.useState)([]),[re,ie]=(0,e.useState)(!1),[se,ce]=(0,e.useState)(!1),[le,ue]=(0,e.useState)(""),[de,pe]=(0,e.useState)(!1),he=async()=>{const e=await(async(e="")=>(await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})).json())("https://chatbot.garena.in.th/api/v2/init");if("bmsg_ok"===e?.status){const t=e?.data;v("close")&&X(!0);v("limit")&&ne(!0);const n={...c,...t?.asset,default_message:t?.config?.default_message,start_chat:t?.config?.start_chat,not_found_msg:t?.config?.not_found_msg,...t?.config_ticket};a(T(n)),w(t?.service_list),h(t?.start_countdown_time),g(t?.end_chat_time),G(t?.config?.ban_word),B(t?.ban_word_per_msg_limit),q(t?.ban_word_limit),K(t?.rating_bad_limit),Z(t?.ban_time||60),ee(t?.limit),oe(t?.announcement),N(t?.config?.topics),pe(t?.active_ai)}};(0,e.useEffect)(()=>{he()},[]);const[me,ge]=(0,e.useState)(!1),{start:fe,reset:be,stop:_e,minutes:ke,seconds:xe}=l(p,m,()=>{ge(!0)},()=>{ge(!1),R(!0),k(e=>e===x.MAIN?S?x.AI_CHAT:x.CHOICE_CHAT:e)},()=>{ge(!1),fe()});(0,e.useEffect)(()=>{M&&(_e(),ge(!1))},[M]);return(0,A.jsx)(E.Provider,{value:{asset:n,setAsset:a,page:_,setPage:k,pageType:x,openChat:o,setOpenChat:r,AIServiceList:y,setAIServiceList:w,selectedAIService:S,setSelectedAIService:C,message:f,setMessage:b,isLoading:i,setIsLoading:s,isLoadingMessage:u,setIsLoadingMessage:d,startCountdownTime:p,endChatTime:m,countdown:{start:fe,reset:be,stop:_e,minutes:ke,seconds:xe,isOpenCountdown:me},endChat:L,setEndChat:R,showFeedback:M,setShowFeedback:D,resetGlobalState:()=>{s(!1),d(!1),b(""),C(null),R(!1),D(!1),ge(!1),I(null)},cleanText:(e,t)=>{const n=e,a=n.toLowerCase().trim();let o=0;const r=["อีเมล","อีเมล์","อีเมลล์","อีเวน","อีเวนน์","อีก","รายละเอียด"],i=(e,t,n)=>r.some(a=>{const o=a.toLowerCase(),r=t.toLowerCase(),i=o.indexOf(r);if(-1===i)return!1;const s=n-i;if(s>=0&&s+o.length<=e.length){return e.substring(s,s+o.length)===o}return!1});let s=a;U?.forEach(e=>{const t=e.toLowerCase();let n=0;for(;;){const e=s.indexOf(t,n);if(-1===e)break;i(a,t,e)||(o++,s=s.substring(0,e)+"*".repeat(t.length)+s.substring(e+t.length)),n=e+1}});let c=n.split("");for(let e=0;e<c.length;e++)"*"===s.charAt(e)&&(c[e]=s.charAt(e));let l=!1;return(o>=H||c.length>0&&c.every(e=>"*"===e))&&(t(),$(!0),l=!0),{filteredMessage:c.join(""),countBadWord:o,isWarning:l}},isOpenThankRateModal:P,setIsOpenThankRateModal:z,isOpenBadWordModal:F,setIsOpenBadWordModal:$,banWordLimit:W,banChat:V,setBanChat:X,banTime:J,queryLimit:Q,setQueryLimit:ee,closeAI:te,setCloseAI:ne,announcement:ae,serviceList:j,isOpenChangeServiceModal:re,setIsOpenChangeServiceModal:ie,selectedService:O,setSelectedService:I,rating1Limit:Y,isOpenFormModal:se,setIsOpenFormModal:ce,ticketUUID:le,setTicketUUID:ue,isActiveAI:de},children:t})},N=({image:e,width:t=1,height:n=1,aspectRatio:o=1,onClick:r=()=>{},disable:i=!1,checkEndChat:s=!0})=>{const{isLoading:c,endChat:l,showFeedback:u}=C();return(0,A.jsx)(O,{width:t,height:n,aspectRatio:o,children:(0,A.jsx)(a.A,{width:"100%",ratio:t/n,src:e,onClick:()=>{c||s&&l||r()},disable:i||c||s&&l})})},O=i.default.div(({width:e,height:t,aspectRatio:n})=>i.css`
    width: ${e}px;
    height: ${t}px;
    aspect-ratio: ${n};
  `),I=()=>{const{asset:e,setOpenChat:t}=C();return(0,A.jsx)(L,{children:(0,A.jsx)(N,{onClick:()=>t(!0),image:e?.chat_icon,aspectRatio:1,height:140,width:140})})},L=i.default.div(()=>i.css`
    position: absolute;
    bottom: 5%;
    right: 5%;
    animation: buttonFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.2s ease;

    &:hover {
      transform: scale(1.05);
    }

    &:active {
      transform: scale(0.95);
    }

    @keyframes buttonFadeIn {
      0% {
        opacity: 0;
        transform: scale(0.8);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }
  `),{entries:R,setPrototypeOf:M,isFrozen:D,getPrototypeOf:P,getOwnPropertyDescriptor:z}=Object;let{freeze:F,seal:$,create:U}=Object,{apply:G,construct:H}="undefined"!=typeof Reflect&&Reflect;F||(F=function(e){return e}),$||($=function(e){return e}),G||(G=function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];return e.apply(t,a)}),H||(H=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return new e(...n)});const B=re(Array.prototype.forEach),W=re(Array.prototype.lastIndexOf),q=re(Array.prototype.pop),Y=re(Array.prototype.push),K=re(Array.prototype.splice),V=re(String.prototype.toLowerCase),X=re(String.prototype.toString),J=re(String.prototype.match),Z=re(String.prototype.replace),Q=re(String.prototype.indexOf),ee=re(String.prototype.trim),te=re(Object.prototype.hasOwnProperty),ne=re(RegExp.prototype.test),ae=(oe=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return H(oe,t)});var oe;function re(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];return G(e,t,a)}}function ie(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V;M&&M(e,null);let a=t.length;for(;a--;){let o=t[a];if("string"==typeof o){const e=n(o);e!==o&&(D(t)||(t[a]=e),o=e)}e[o]=!0}return e}function se(e){for(let t=0;t<e.length;t++){te(e,t)||(e[t]=null)}return e}function ce(e){const t=U(null);for(const[n,a]of R(e)){te(e,n)&&(Array.isArray(a)?t[n]=se(a):a&&"object"==typeof a&&a.constructor===Object?t[n]=ce(a):t[n]=a)}return t}function le(e,t){for(;null!==e;){const n=z(e,t);if(n){if(n.get)return re(n.get);if("function"==typeof n.value)return re(n.value)}e=P(e)}return function(){return null}}const ue=F(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),de=F(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),pe=F(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),he=F(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),me=F(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ge=F(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),fe=F(["#text"]),be=F(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),_e=F(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ke=F(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xe=F(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ye=$(/\{\{[\w\W]*|[\w\W]*\}\}/gm),we=$(/<%[\w\W]*|[\w\W]*%>/gm),ve=$(/\$\{[\w\W]*/gm),Se=$(/^data-[\-\w.\u00B7-\uFFFF]+$/),Te=$(/^aria-[\-\w]+$/),Ae=$(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ee=$(/^(?:\w+script|data):/i),Ce=$(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),je=$(/^html$/i),Ne=$(/^[a-z][.\w]*(-[.\w]+)+$/i);var Oe=Object.freeze({__proto__:null,ARIA_ATTR:Te,ATTR_WHITESPACE:Ce,CUSTOM_ELEMENT:Ne,DATA_ATTR:Se,DOCTYPE_NAME:je,ERB_EXPR:we,IS_ALLOWED_URI:Ae,IS_SCRIPT_OR_DATA:Ee,MUSTACHE_EXPR:ye,TMPLIT_EXPR:ve});const Ie=1,Le=3,Re=7,Me=8,De=9,Pe=function(){return"undefined"==typeof window?null:window};var ze=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pe();const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==De||!t.Element)return n.isSupported=!1,n;let{document:a}=t;const o=a,r=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:c,Element:l,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:h,trustedTypes:m}=t,g=l.prototype,f=le(g,"cloneNode"),b=le(g,"remove"),_=le(g,"nextSibling"),k=le(g,"childNodes"),x=le(g,"parentNode");if("function"==typeof s){const e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument)}let y,w="";const{implementation:v,createNodeIterator:S,createDocumentFragment:T,getElementsByTagName:A}=a,{importNode:E}=o;let C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof R&&"function"==typeof x&&v&&void 0!==v.createHTMLDocument;const{MUSTACHE_EXPR:j,ERB_EXPR:N,TMPLIT_EXPR:O,DATA_ATTR:I,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:P}=Oe;let{IS_ALLOWED_URI:z}=Oe,$=null;const G=ie({},[...ue,...de,...pe,...me,...fe]);let H=null;const oe=ie({},[...be,..._e,...ke,...xe]);let re=Object.seal(U(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),se=null,ye=null;const we=Object.seal(U(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ve=!0,Se=!0,Te=!1,Ee=!0,Ce=!1,Ne=!0,ze=!1,Fe=!1,$e=!1,Ue=!1,Ge=!1,He=!1,Be=!0,We=!1,qe=!0,Ye=!1,Ke={},Ve=null;const Xe=ie({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Je=null;const Ze=ie({},["audio","video","img","source","image","track"]);let Qe=null;const et=ie({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml";let ot=at,rt=!1,it=null;const st=ie({},[tt,nt,at],X);let ct=ie({},["mi","mo","mn","ms","mtext"]),lt=ie({},["annotation-xml"]);const ut=ie({},["title","style","font","a","script"]);let dt=null;const pt=["application/xhtml+xml","text/html"];let ht=null,mt=null;const gt=a.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},bt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=ce(e),dt=-1===pt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ht="application/xhtml+xml"===dt?X:V,$=te(e,"ALLOWED_TAGS")?ie({},e.ALLOWED_TAGS,ht):G,H=te(e,"ALLOWED_ATTR")?ie({},e.ALLOWED_ATTR,ht):oe,it=te(e,"ALLOWED_NAMESPACES")?ie({},e.ALLOWED_NAMESPACES,X):st,Qe=te(e,"ADD_URI_SAFE_ATTR")?ie(ce(et),e.ADD_URI_SAFE_ATTR,ht):et,Je=te(e,"ADD_DATA_URI_TAGS")?ie(ce(Ze),e.ADD_DATA_URI_TAGS,ht):Ze,Ve=te(e,"FORBID_CONTENTS")?ie({},e.FORBID_CONTENTS,ht):Xe,se=te(e,"FORBID_TAGS")?ie({},e.FORBID_TAGS,ht):ce({}),ye=te(e,"FORBID_ATTR")?ie({},e.FORBID_ATTR,ht):ce({}),Ke=!!te(e,"USE_PROFILES")&&e.USE_PROFILES,ve=!1!==e.ALLOW_ARIA_ATTR,Se=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,Ne=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Ue=e.RETURN_DOM||!1,Ge=e.RETURN_DOM_FRAGMENT||!1,He=e.RETURN_TRUSTED_TYPE||!1,$e=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,z=e.ALLOWED_URI_REGEXP||Ae,ot=e.NAMESPACE||at,ct=e.MATHML_TEXT_INTEGRATION_POINTS||ct,lt=e.HTML_INTEGRATION_POINTS||lt,re=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(re.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(re.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(re.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(Se=!1),Ge&&(Ue=!0),Ke&&($=ie({},fe),H=[],!0===Ke.html&&(ie($,ue),ie(H,be)),!0===Ke.svg&&(ie($,de),ie(H,_e),ie(H,xe)),!0===Ke.svgFilters&&(ie($,pe),ie(H,_e),ie(H,xe)),!0===Ke.mathMl&&(ie($,me),ie(H,ke),ie(H,xe))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?we.tagCheck=e.ADD_TAGS:($===G&&($=ce($)),ie($,e.ADD_TAGS,ht))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?we.attributeCheck=e.ADD_ATTR:(H===oe&&(H=ce(H)),ie(H,e.ADD_ATTR,ht))),e.ADD_URI_SAFE_ATTR&&ie(Qe,e.ADD_URI_SAFE_ATTR,ht),e.FORBID_CONTENTS&&(Ve===Xe&&(Ve=ce(Ve)),ie(Ve,e.FORBID_CONTENTS,ht)),qe&&($["#text"]=!0),ze&&ie($,["html","head","body"]),$.table&&(ie($,["tbody"]),delete se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');y=e.TRUSTED_TYPES_POLICY,w=y.createHTML("")}else void 0===y&&(y=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(n=t.getAttribute(a));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,r)),null!==y&&"string"==typeof w&&(w=y.createHTML(""));F&&F(e),mt=e}},_t=ie({},[...de,...pe,...he]),kt=ie({},[...me,...ge]),xt=function(e){Y(n.removed,{element:e});try{x(e).removeChild(e)}catch(t){b(e)}},yt=function(e,t){try{Y(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Y(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ue||Ge)try{xt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},wt=function(e){let t=null,n=null;if($e)e="<remove></remove>"+e;else{const t=J(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===dt&&ot===at&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=y?y.createHTML(e):e;if(ot===at)try{t=(new h).parseFromString(o,dt)}catch(e){}if(!t||!t.documentElement){t=v.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?w:o}catch(e){}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(a.createTextNode(n),r.childNodes[0]||null),ot===at?A.call(t,ze?"html":"body")[0]:ze?t.documentElement:r},vt=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof c&&e instanceof c};function At(e,t,a){B(e,e=>{e.call(n,t,a,mt)})}const Et=function(e){let t=null;if(At(C.beforeSanitizeElements,e,null),St(e))return xt(e),!0;const a=ht(e.nodeName);if(At(C.uponSanitizeElement,e,{tagName:a,allowedTags:$}),Ne&&e.hasChildNodes()&&!Tt(e.firstElementChild)&&ne(/<[/\w!]/g,e.innerHTML)&&ne(/<[/\w!]/g,e.textContent))return xt(e),!0;if(e.nodeType===Re)return xt(e),!0;if(Ne&&e.nodeType===Me&&ne(/<[/\w]/g,e.data))return xt(e),!0;if(!(we.tagCheck instanceof Function&&we.tagCheck(a))&&(!$[a]||se[a])){if(!se[a]&&jt(a)){if(re.tagNameCheck instanceof RegExp&&ne(re.tagNameCheck,a))return!1;if(re.tagNameCheck instanceof Function&&re.tagNameCheck(a))return!1}if(qe&&!Ve[a]){const t=x(e)||e.parentNode,n=k(e)||e.childNodes;if(n&&t){for(let a=n.length-1;a>=0;--a){const o=f(n[a],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,_(e))}}}return xt(e),!0}return e instanceof l&&!function(e){let t=x(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=V(e.tagName),a=V(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===at?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===a||ct[a]):Boolean(_t[n]):e.namespaceURI===tt?t.namespaceURI===at?"math"===n:t.namespaceURI===nt?"math"===n&&lt[a]:Boolean(kt[n]):e.namespaceURI===at?!(t.namespaceURI===nt&&!lt[a])&&!(t.namespaceURI===tt&&!ct[a])&&!kt[n]&&(ut[n]||!_t[n]):!("application/xhtml+xml"!==dt||!it[e.namespaceURI]))}(e)?(xt(e),!0):"noscript"!==a&&"noembed"!==a&&"noframes"!==a||!ne(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&e.nodeType===Le&&(t=e.textContent,B([j,N,O],e=>{t=Z(t,e," ")}),e.textContent!==t&&(Y(n.removed,{element:e.cloneNode()}),e.textContent=t)),At(C.afterSanitizeElements,e,null),!1):(xt(e),!0)},Ct=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in a||n in gt))return!1;if(Se&&!ye[t]&&ne(I,t));else if(ve&&ne(L,t));else if(we.attributeCheck instanceof Function&&we.attributeCheck(t,e));else if(!H[t]||ye[t]){if(!(jt(e)&&(re.tagNameCheck instanceof RegExp&&ne(re.tagNameCheck,e)||re.tagNameCheck instanceof Function&&re.tagNameCheck(e))&&(re.attributeNameCheck instanceof RegExp&&ne(re.attributeNameCheck,t)||re.attributeNameCheck instanceof Function&&re.attributeNameCheck(t,e))||"is"===t&&re.allowCustomizedBuiltInElements&&(re.tagNameCheck instanceof RegExp&&ne(re.tagNameCheck,n)||re.tagNameCheck instanceof Function&&re.tagNameCheck(n))))return!1}else if(Qe[t]);else if(ne(z,Z(n,D,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Q(n,"data:")||!Je[e]){if(Te&&!ne(M,Z(n,D,"")));else if(n)return!1}else;return!0},jt=function(e){return"annotation-xml"!==e&&J(e,P)},Nt=function(e){At(C.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||St(e))return;const a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let o=t.length;for(;o--;){const r=t[o],{name:i,namespaceURI:s,value:c}=r,l=ht(i),u=c;let d="value"===i?u:ee(u);if(a.attrName=l,a.attrValue=d,a.keepAttr=!0,a.forceKeepAttr=void 0,At(C.uponSanitizeAttribute,e,a),d=a.attrValue,!We||"id"!==l&&"name"!==l||(yt(i,e),d="user-content-"+d),Ne&&ne(/((--!?|])>)|<\/(style|title|textarea)/i,d)){yt(i,e);continue}if("attributename"===l&&J(d,"href")){yt(i,e);continue}if(a.forceKeepAttr)continue;if(!a.keepAttr){yt(i,e);continue}if(!Ee&&ne(/\/>/i,d)){yt(i,e);continue}Ce&&B([j,N,O],e=>{d=Z(d,e," ")});const p=ht(e.nodeName);if(Ct(p,l,d)){if(y&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(s);else switch(m.getAttributeType(p,l)){case"TrustedHTML":d=y.createHTML(d);break;case"TrustedScriptURL":d=y.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,i,d):e.setAttribute(i,d),St(e)?xt(e):q(n.removed)}catch(t){yt(i,e)}}else yt(i,e)}At(C.afterSanitizeAttributes,e,null)},Ot=function e(t){let n=null;const a=vt(t);for(At(C.beforeSanitizeShadowDOM,t,null);n=a.nextNode();)At(C.uponSanitizeShadowNode,n,null),Et(n),Nt(n),n.content instanceof i&&e(n.content);At(C.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,r=null,s=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw ae("toString is not a function");if("string"!=typeof(e=e.toString()))throw ae("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Fe||bt(t),n.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ht(e.nodeName);if(!$[t]||se[t])throw ae("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)a=wt("\x3c!----\x3e"),r=a.ownerDocument.importNode(e,!0),r.nodeType===Ie&&"BODY"===r.nodeName||"HTML"===r.nodeName?a=r:a.appendChild(r);else{if(!Ue&&!Ce&&!ze&&-1===e.indexOf("<"))return y&&He?y.createHTML(e):e;if(a=wt(e),!a)return Ue?null:He?w:""}a&&$e&&xt(a.firstChild);const u=vt(Ye?e:a);for(;s=u.nextNode();)Et(s),Nt(s),s.content instanceof i&&Ot(s.content);if(Ye)return e;if(Ue){if(Ge)for(l=T.call(a.ownerDocument);a.firstChild;)l.appendChild(a.firstChild);else l=a;return(H.shadowroot||H.shadowrootmode)&&(l=E.call(o,l,!0)),l}let d=ze?a.outerHTML:a.innerHTML;return ze&&$["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&ne(je,a.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+d),Ce&&B([j,N,O],e=>{d=Z(d,e," ")}),y&&He?y.createHTML(d):d},n.setConfig=function(){bt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Fe=!0},n.clearConfig=function(){mt=null,Fe=!1},n.isValidAttribute=function(e,t,n){mt||bt({});const a=ht(e),o=ht(t);return Ct(a,o,n)},n.addHook=function(e,t){"function"==typeof t&&Y(C[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=W(C[e],t);return-1===n?void 0:K(C[e],n,1)[0]}return q(C[e])},n.removeHooks=function(e){C[e]=[]},n.removeAllHooks=function(){C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Fe=(0,e.createContext)(),$e=()=>{if(!(0,e.useContext)(Fe))throw new Error("useChoiceChatContext must be used within a ChoiceChatContextProvider");return(0,e.useContext)(Fe)},Ue=({children:t})=>{const n="https://chatbot.garena.in.th",{isLoading:a,isLoadingMessage:o,message:r,serviceList:i,cleanText:s,setIsLoading:c,asset:l,selectedService:u,setIsLoadingMessage:d,setPage:p,pageType:h,countdown:m,setMessage:g,setIsOpenBadWordModal:f,setShowFeedback:b}=C(),[_,k]=(0,e.useState)(null),[x,T]=(0,e.useState)(!1),[E,j]=(0,e.useState)(null),[N,O]=(0,e.useState)(null),[I,L]=(0,e.useState)([]),[R,M]=(0,e.useState)([]),[D,P]=(0,e.useState)([]),[z,F]=(0,e.useState)([]),[$,U]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!1),[B,W]=(0,e.useState)(!1),q={ANNOUNCEMENT:"announcement"},Y=async e=>{const t={chat_id:_,topic:e};await y(`${n}/api/v1/register_topic`,t)},K=e=>{let t=e?.text?.match(/https?:\/\/support\.(?:test|uat)?\.?garena\.in\.th\/[^\s<>"]+/g),n=t?.map(e=>e.lastIndexOf("'")>-1?e.slice(0,e.lastIndexOf("'")):e),a=n?.map(t=>{let n=t;return n=t.includes("#")?t.substring(0,t.indexOf("#"))+"?chatbot=true"+t.substring(t.indexOf("#")):t+"?chatbot=true",e?.text.replace(t,n)});return{...e,text:a?.[0]||e?.text}},V=async(e="",t="text",a)=>{if(G&&H(!1),!r.trim()&&"id"!==t)return;let o=e,u=0,p=!1;if("text"===t){const{filteredMessage:t,countBadWord:n,isWarning:a}=s(e,()=>{c(!1),d(!1),g("")});o=t,u=n,p=a}if(p)return;g(""),M(e=>[...e,{message:{text:o,user:!0}}]);let h=null;if(z?.length>0){h=z.find(t=>{if(ze.sanitize(t?.text,{ALLOWED_TAGS:""})===e)return t})}a&&O(a);const m=i?.find(e=>e?.question_id===(a||N));if(m||E||!a||j(ze.sanitize(e,{ALLOWED_TAGS:""})),m){const e=i?.find(e=>e?.question_id===(a||N))?.emergency_text;e?.length>0&&M(t=>[...t,{message:{text:e,user:!1,type:q.ANNOUNCEMENT}}])}else if(D?.length>0&&!m){const e=D?.find(e=>e?.id===(a||N))?.emergency_text;e?.length>0&&M(t=>[...t,{message:{text:e,user:!1,type:q.ANNOUNCEMENT}}])}const k=ze.sanitize(e),x=h?.id?"id":t,w=h?.id?h?.id:a||N;if(e){const t={id:w,text:e,type:x};L([...I,t])}const v={chat_id:_,message:{id:w,text:k},type:x,scope:a||N||null},{data:S,status:T}=await y(`${n}/api/v1/chat`,v);if("bmsg_ok"===T)if(u>2&&f(!0),0===S?.result?.length)F([]),M(e=>[...e,{message:{text:l?.default_message,user:!1}}]);else{const e=S?.result?.find(e=>e?.question_id===N)?.emergency_text;P(e?.length>0?e:[]);let n=S?.result?.find(e=>e?.parent)?.parent;if(!E&&"text"===t){const e=z?.find(e=>e?.id===n)?.text;e&&j(ze.sanitize(e,{ALLOWED_TAGS:""}))}n&&O(n);const a=S?.result?.find(e=>"image"===e?.type);if("choice"===S?.type)if(a)F(S?.result),U(!0);else{const e=S?.result?.map(e=>K(e));F(e),U(!1)}else if("text"===S?.type){U(!1);const e=S?.result?.[0],t=K(e),n=t?.text;F([]),M(e=>[...e,{message:{text:n}}]),e?.end&&e?.text.includes("ยินดีที่ได้ช่วย")&&b(!0)}}c(!1),d(!1)};(0,e.useEffect)(()=>{u?.name&&(c(!0),d(!0),_||(m?.start(),M(e=>[...e,{message:{text:l?.start_chat,user:!1}}]),(async()=>{const{data:e}=await w(`${n}/api/v1/start_chat`);k(e?.chat_id)})(),p(h.CHOICE_CHAT)))},[u?.name]),(0,e.useEffect)(()=>{u&&_&&(x||(Y(u?.name),T(!0)),B?M(e=>[...e,{message:{text:"ตรวจสอบสถานะ Ticket",user:!0}},{message:{text:l?.ticket_text,user:!1}}]):V(u?.name,"id",u?.id),c(!1),d(!1))},[u?.name,_]),(0,e.useEffect)(()=>{E&&Y(E)},[E]);return(0,A.jsx)(Fe.Provider,{value:{chatHistory:R,choiceList:z,isSelectSubService:$,ACTION_TYPE:q,handleSendChoiceChat:V,handlePrevious:async()=>{if(I?.length<=1||a||o)return;c(!0),d(!0),m?.reset();const e=I[I?.length-2];L([...I?.slice(0,-1)]),M(t=>[...t,{message:{text:e?.text,user:!0,msgType:e?.type}}]),F([]),U(!1),e?.id&&O(e?.id);const t={chat_id:_,message:{id:e?.id,text:e?.text},type:e?.type,back:!0,scope:e?.id||N||null},{data:r,status:i}=await y(`${n}/api/v1/chat`,t);if("bmsg_ok"===i){const e=r?.result?.find(e=>"image"===e?.type);if(0===r?.result?.length)F([]),M(e=>[...e,{message:{text:l?.default_message,user:!1}}]);else if("choice"===r?.type)if(e)F(r?.result),U(!0);else{const e=r?.result?.map(e=>K(e));F(e),U(!1)}else if("text"===r?.type){U(!1);const e=K(r?.result?.[0]),t=e?.text;F([]),M(e=>[...e,{message:{text:t}}])}}c(!1),d(!1)},keywordList:I,handleSendChoiceChatFeedback:async(e,t)=>{if(a)return;c(!0);const o={chat_id:_,comment:e,rate:t};await y(`${n}/api/v1/rate`,o),c(!1)},resetChoiceChatState:()=>{k(null),T(!1),j(null),O(null),L([]),M([]),P([]),F([]),U(!1),H(!1),W(!1)},setIsSelectSubService:U,isOpenMenu:G,setIsOpenMenu:H,setIsCheckTicket:W,handleCheckTicket:async()=>{c(!0),d(!0);const e=Number(r);g(""),M(t=>[...t,{message:{text:String(e),user:!0}}]);let t=!v(`sent_ticket_${_}`);const{data:a,status:o}=await y(`${n}/api/v1/ticket_status`,{chat_id:_,ticket_id:Number(e),new:t});if(S(`sent_ticket_${_}`,!0,1),"bmsg_ok"===o||"bmsg_not_found"===o){const e={message:{text:a?.message,user:!1,choice:[a?.choice?.map(e=>({key:e?.key,value:e?.value}))]}};M(t=>[...t,e])}c(!1),d(!1)},isCheckTicket:B},children:t})},Ge=()=>{const{asset:e,setOpenChat:t,page:n,pageType:a,showFeedback:o}=C(),{handlePrevious:r,keywordList:i}=$e();return(0,A.jsxs)(He,{children:[(0,A.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[n===a.CHOICE_CHAT&&i?.length>1&&!o&&(0,A.jsx)(N,{onClick:()=>r(),image:e?.choice_chat_previous_chat_btn,aspectRatio:1,height:20,width:20}),(0,A.jsx)("div",{className:"title",children:e?.header_title_txt})]}),(0,A.jsx)(N,{onClick:()=>t(!1),image:e?.header_close_chat_btn,aspectRatio:1,height:20,width:20})]})},He=i.default.div(({theme:e})=>i.css`
    height: var(--header-height);
    background-color: ${e?.header_bg_color};
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;

    @media screen and (max-width: 720px) {
      border-radius: 0;
    }

    .title {
      color: ${e?.header_title_txt_color};
      font-size: 18px;
      font-weight: 600;
    }
  `),Be=(0,e.createContext)(),We=()=>{if(!(0,e.useContext)(Be))throw new Error("useAIContext must be used within a AIContextProvider");return(0,e.useContext)(Be)},qe=({children:t})=>{const n="https://chatbot.garena.in.th",[a,o]=(0,e.useState)([]),[r,i]=(0,e.useState)(null),[c,l]=(0,e.useState)({}),{isLoading:u,isLoadingMessage:d,selectedAIService:p,setIsLoadingMessage:h,setIsLoading:m,message:g,setMessage:f,countdown:b,setShowFeedback:_,setIsOpenBadWordModal:k,cleanText:x,queryLimit:y,setCloseAI:w,setEndChat:T,asset:E}=C();(0,e.useEffect)(()=>{2===a?.length&&b?.start()},[a]),(0,e.useEffect)(()=>{p&&(r||s(`${n}/api/v2/start_chat`,{service_uuid:p?.uuid}).then(e=>{i(e?.data?.token)}),o([{message:{text:p?.greeting_msg,user:!1}}]))},[p]);(0,e.useEffect)(()=>{r&&p?.uuid&&!c?.[p?.uuid]&&(async()=>{const{data:e}=await s(`${n}/api/v2/topic/highlight`,{service_uuid:p?.uuid},r);l({...c,[p?.uuid]:e?.topic_list})})()},[r,p?.uuid]);const j={SELECT_TOPIC:"select_topic",SOLUTION:"provide_solution",CREATE_TICKET:"create_ticket",FEEDBACK:"feedback",END_CHAT:"end_chat",NORMAL:"normal",WARNING:"warning"},N=()=>{o([]),i(null)};return(0,A.jsx)(Be.Provider,{value:{aiChatHistory:a,handleSendAIChat:async(e,t=null)=>{if(u||d)return;if(!e&&!g.trim())return;m(!0),h(!0),b?.reset();let a=e||g;const{isWarning:c,filteredMessage:l}=x(a,()=>{m(!1),h(!1),f("")});if(c)return;e||f(""),o(e=>[...e,{message:{text:l,user:!0}}]);const p={message:a};t&&(p.topic_uuid=t);const A=await s(`${n}/api/v2/chat`,p,r);if("bmsg_ok"===A?.status){const e=A?.data;i(e?.token);const t=e?.action_type,n=e?.result;t===j.NORMAL?o(e=>[...e,{message:{text:n,user:!1,type:j.NORMAL}}]):t===j.SOLUTION?o(e=>[...e,{message:{text:n,user:!1,type:j.SOLUTION}}]):t===j.SELECT_TOPIC?o(t=>[...t,{message:{text:n,user:!1,type:j.SELECT_TOPIC,select_topic:e?.select_topic}}]):t===j.END_CHAT?o(e=>[...e,{message:{text:n,user:!1,type:j.END_CHAT}}]):t===j.FEEDBACK?_(!0):t===j.CREATE_TICKET?o(e=>[...e,{message:{text:n,user:!1,type:j.CREATE_TICKET}}]):t===j.WARNING&&o(e=>[...e,{message:{text:n,user:!1,type:j.WARNING}}]),e?.warning&&k(!0);const a=(+v("chat_count")||0)+1||1;a>=y?(w(!0),T(!0),k(!1),b?.reset(!1),S("limit",!0,1),((e,t="/")=>{let n=`${e}=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=${t};`;document.cookie=n})("chat_count")):S("chat_count",a,1)}else o(e=>[...e,{message:{text:E?.ai_chat_fail,user:!1,type:j.NORMAL}}]);m(!1),h(!1)},ACTION_TYPE:j,handleSendAIFeedback:async(e,t)=>{u||(m(!0),await s(`${n}/api/v2/chat/rate`,{comment:e,rate:t},r),m(!1))},resetAiState:N,handleEndChat:async(e=!1)=>{await s(`${n}/api/v2/chat/end`,{ban_chat:e},r),N()},handleCreateTicket:async()=>{let e=await s(`${n}/api/v2/ticket`,{},r);return"bmsg_ok"===e?.status&&e?.data?.ticket_uuid||""},setAiChatHistory:o,setToken:i,highlightServiceTopic:c,updateChatRoomCreateTicket:async()=>{await s("https://chatbot.garena.in.th/api/v2/chat/create_ticket",{},r)},updateChatRoomResolve:async()=>{await s("https://chatbot.garena.in.th/api/v2/chat/resolve",{},r)},token:r},children:t})},Ye=({isUser:e,message:t,children:n})=>{const{asset:a}=C(),o=(r=t,r?.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>"));var r;return(0,A.jsxs)(Ke,{isUser:e,children:[!e&&(0,A.jsx)(Ve,{}),(0,A.jsxs)("div",{children:[!e&&(0,A.jsx)(Xe,{children:a?.profile_name||"Garena"}),(0,A.jsxs)(Je,{isUser:e,children:[e?(0,A.jsx)("div",{className:"user-message",dangerouslySetInnerHTML:{__html:ze.sanitize(o,{ADD_ATTR:["target"]})}}):(0,A.jsx)("div",{className:"bot-message",dangerouslySetInnerHTML:{__html:ze.sanitize(o,{ADD_ATTR:["target"],ALLOWED_TAGS:["p","br","strong","ul","li","ol","a","img"],FORBID_ATTR:[]})},ref:e=>{if(e){e.querySelectorAll("a").forEach(e=>{e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer")})}}}),n]})]})]})},Ke=i.default.div(({isUser:e})=>i.css`
    display: flex;
    align-items: flex-start;
    justify-content: ${e?"flex-end":"flex-start"};
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
    margin-bottom: 15px;

    @keyframes slideIn {
      0% {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
  `),Ve=i.default.div(({theme:e})=>i.css`
    min-width: 45px;
    min-height: 45px;
    border-radius: 100%;
    margin-right: 8px;
    background: url(${e?.profile_img}) no-repeat center center / contain;
  `),Xe=i.default.div(({theme:e})=>i.css`
    font-size: 14px;
    color: ${e?.profile_name_txt_color};
    margin-bottom: 5px;
  `),Je=i.default.div(({theme:e,isUser:t})=>i.css`
    position: relative;
    width: fit-content;
    background-color: ${t?e?.message_user_bg_color:e?.message_bg_color};
    color: ${t?e?.message_user_text_color:e?.message_text_color};
    font-size: 14px !important;
    word-break: break-word;
    padding: 12px;
    border-radius: 10px;
    .user-message {
      p {
        margin: 0 !important;
      }
      p:last-child {
        margin: 0 !important;
      }

      img {
        width: 40%;
        margin: 16px 0px;
      }

      a {
        color: ${e?.message_user_link_color};
        text-decoration: underline;
        cursor: pointer;
      }
    }
    .bot-message {
      p {
        margin: 0 !important;
      }
      p:last-child {
        margin: 0 !important;
      }

      img {
        width: 40%;
        margin: 16px 0px;
      }

      a {
        color: ${e?.message_link_color};
        text-decoration: underline;
        cursor: pointer;
      }
    }
  `),Ze=({announcement:e,style:t})=>(0,A.jsx)(Qe,{style:t,children:e.map((e,t)=>(0,A.jsx)(et,{children:(0,A.jsx)(tt,{dangerouslySetInnerHTML:{__html:ze.sanitize(e,{ALLOWED_TAGS:["p","br","strong","ul","li","ol","a"],ADD_ATTR:["target"]})}})},t))}),Qe=i.default.div(()=>i.css`
    width: 100%;
    padding: 20px;
    padding-bottom: 15px;
    height: fit-content;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
  `),et=i.default.div(({theme:e})=>i.css`
    width: 100%;
    height: fit-content;
    padding: 15px 20px;
    box-sizing: border-box;
    background-color: ${e?.announcement_bg_color};
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);

    .announcement_title {
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 6px;
    }

    p {
      margin: 0;
    }
  `),tt=i.default.div(({theme:e})=>i.css`
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: ${e?.announcement_text_color};
    font-family: "HelveticaLTStd-Light", arial, Tahoma;
    a {
      color: ${e?.announcement_link_color} !important;
    }
  `),nt=()=>{const{aiChatHistory:t,ACTION_TYPE:n,handleSendAIChat:a,highlightServiceTopic:o,handleCreateTicket:r,updateChatRoomResolve:i}=We(),{asset:s,isLoading:c,endChat:l,showFeedback:u,setShowFeedback:d,selectedAIService:p,AIServiceList:h,setIsLoading:m,setIsLoadingMessage:g,isLoadingMessage:f,setIsOpenFormModal:b,setTicketUUID:_,countdown:k}=C(),x=(0,e.useMemo)(()=>t?.[t?.length-1],[t]),y=(0,e.useMemo)(()=>h.reduce((e,t)=>(e[t.uuid]=t,e),{}),[h]);async function w(){k?.stop(),m(!0);let e=await r();m(!1),e?(_(e),b(!0)):console.error("Failed to create ticket")}return(0,A.jsxs)(A.Fragment,{children:[Array.isArray(y?.[p?.uuid]?.announcement)&&y?.[p?.uuid]?.announcement?.length>0&&(0,A.jsx)(Ze,{announcement:y?.[p?.uuid]?.announcement,style:{marginTop:"0px"}}),o?.[p?.uuid]?.length>0&&(0,A.jsxs)(lt,{children:[(0,A.jsx)("div",{className:"faq-title",children:s?.faq_title_txt}),(0,A.jsx)("div",{className:"faq-list",children:o?.[p?.uuid]?.map((e,t)=>(0,A.jsx)("div",{onClick:()=>{c||f||l||u||(m(!0),g(!0),k?.reset(),a(e?.name,e?.uuid))},className:"faq-item",children:e?.name},t))})]}),t?.map((e,a)=>e?.message?.type===n.CREATE_TICKET?(0,A.jsx)(Ye,{message:e?.message?.text,isUser:e?.message?.user,children:(0,A.jsx)(ct,{children:(0,A.jsx)(N,{image:s?.create_ticket_btn,aspectRatio:3.75,height:40,width:150,disable:u||!(t?.length-1===a),onClick:w})})},a):(0,A.jsx)(Ye,{message:e?.message?.text,isUser:e?.message?.user},a)),!u&&!l&&x?.message?.type===n.SOLUTION&&(0,A.jsxs)(ot,{children:[(0,A.jsx)("div",{className:"content-action-txt",children:s?.content_action_txt}),(0,A.jsxs)(rt,{children:[(0,A.jsx)(N,{image:s?.not_resolve_btn,height:25,width:75,aspectRatio:3,onClick:()=>{a("ยังไม่ได้")},disabled:c}),(0,A.jsx)(N,{image:s?.resolve_btn,height:25,width:75,aspectRatio:3,onClick:()=>{i(),d(!0)},disabled:c})]})]}),!u&&!l&&x?.message?.type===n.SELECT_TOPIC&&(0,A.jsx)(it,{children:x?.message?.select_topic?.map((e,t)=>(0,A.jsx)("button",{onClick:()=>{k?.reset(),a(e?.topic_name,e?.topic_uuid)},className:"select-topic-item",disabled:c,children:e?.topic_name},t))}),!u&&!l&&x?.message?.type===n.END_CHAT&&(0,A.jsxs)(st,{children:[(0,A.jsx)("div",{className:"end-chat-txt",children:s?.end_chat_msg}),(0,A.jsx)(N,{image:s?.end_chat_btn,aspectRatio:3.5,height:40,width:140,onClick:()=>{i(),d(!0)}})]})]})},at=i.keyframes`
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
`,ot=i.default.div(({theme:e})=>i.css`
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: ${at} 0.6s ease-out 6s forwards;

    .content-action-txt {
      font-size: 14px;
      color: ${e?.content_action_txt_color};
    }
  `),rt=i.default.div(()=>i.css`
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
  `),it=i.default.div(({theme:e})=>i.css`
    width: calc(100% - 40px);
    background-color: ${e?.select_topic_layout_bg_color};
    margin: 0px 20px;
    margin-top: 20px;
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    opacity: 0;
    animation: ${at} 0.6s ease-out 0.6s forwards;

    .select-topic-item {
      font-size: 14px;
      color: ${e?.select_topic_txt_color};
      padding: 12px 16px;
      margin-bottom: 8px;
      border-radius: 8px;
      width: 100%;
      background-color: ${e?.select_topic_bg_color};
      cursor: pointer;
      transition: all 0.2s ease;
      border: 1px solid transparent;
      border: none;
      outline: none;
      text-align: left;

      &:hover {
        background-color: ${e?.select_topic_item_hover_bg_color};
        color: ${e?.select_topic_item_hover_txt_color};
        transform: translateY(-1px);
      }

      &:last-child {
        margin-bottom: 0;
      }
    }
  `),st=i.default.div(({theme:e})=>i.css`
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: ${at} 0.6s ease-out 0.6s forwards;

    .end-chat-txt {
      font-size: 14px;
      text-align: center;
      color: ${e?.end_chat_txt_color};
      white-space: pre-line;
    }
  `),ct=i.default.div(()=>i.css`
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  `),lt=i.default.div(({theme:e})=>i.css`
    background-color: ${e?.faq_bg_color};
    border-radius: 10px;
    padding: 20px;
    margin: 0px 20px;
    margin-bottom: 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);

    .faq-title {
      color: ${e?.faq_title_color};
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .faq-item {
      font-size: 14px;
      color: ${e?.faq_item_text_color};
      background-color: ${e?.faq_item_bg_color};
      cursor: pointer;
      transition: all 0.2s ease;
      padding: 12px 16px;
      border-radius: 8px;
    }

    .faq-item:hover {
      background-color: ${e?.faq_item_hover_bg_color};
      color: ${e?.faq_item_hover_text_color};
      border-radius: 8px;
    }
  `),ut=()=>(0,A.jsx)(dt,{}),dt=i.default.div(()=>i.css`
    position: relative;
    width: 6ch;
    height: 2ch;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    &::after {
      content: "";
      position: absolute;
      top: 0%;
      left: 50%;
      transform: translate(-50%, 0%);
      aspect-ratio: 1;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      width: 1vmin;
      aspect-ratio: 1;
      animation: l5 1s infinite linear alternate;
    }
    @keyframes l5 {
      0% {
        box-shadow: 2.2vmin 0 #fff, -2.2vmin 0 #fff2;
        background: #fff;
      }
      33% {
        box-shadow: 2.2vmin 0 #fff, -2.2vmin 0 #fff2;
        background: #fff2;
      }
      66% {
        box-shadow: 2.2vmin 0 #fff2, -2.2vmin 0 #fff;
        background: #fff2;
      }
      100% {
        box-shadow: 2.2vmin 0 #fff2, -2.2vmin 0 #fff;
        background: #fff;
      }
    }
  `),pt=({isOpen:e,children:t})=>(0,A.jsx)(ht,{isOpen:e,children:t}),ht=i.default.div(({isOpen:e})=>i.css`
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
    ${e?"display: flex;":"display: none;"}

    @media screen and (max-width: 720px) {
      height: calc(100vh - 60px);
      height: calc(100dvh - 60px);
    }
  `),mt=()=>{const{isOpenThankRateModal:e,setIsOpenThankRateModal:t,asset:n,setPage:a,pageType:o,setSelectedAIService:r,resetGlobalState:i,selectedAIService:s,closeAI:c,page:l}=C(),{resetAiState:u}=We(),{resetChoiceChatState:d}=$e();return(0,A.jsx)(pt,{isOpen:e,children:(0,A.jsx)(gt,{children:(0,A.jsxs)(ft,{children:[(0,A.jsx)("div",{}),(0,A.jsx)("div",{className:"thank-rate-txt",children:c&&l===o.AI_CHAT||l===o.CHOICE_CHAT?n?.thank_rate_back_txt:n?.thank_rate_txt}),(0,A.jsxs)("div",{className:"button-container",children:[(0,A.jsx)(N,{image:n?.thank_rate_menu_btn,aspectRatio:3,width:120,height:40,onClick:()=>{i(),u(),d(),t(!1),a(o.MAIN)}}),!c&&l===o.AI_CHAT&&(0,A.jsx)(N,{image:n?.thank_rate_continue_btn,aspectRatio:3,width:120,height:40,onClick:()=>{t(!1);const e={...s};i(),u(),o.AI_CHAT&&r(e)}})]})]})})})},gt=i.default.div(()=>i.css`
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  `),ft=i.default.div(({theme:e})=>i.css`
    width: 100%;
    background: linear-gradient(
      180deg,
      ${e?.thank_rate_first_bg_color} 0%,
      ${e?.thank_rate_second_bg_color} 100%
    );
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
    border-radius: 16px;
    padding: 25px 20px;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: ${e?.thank_rate_txt_color};

    .button-container {
      display: flex;
      gap: 20px;
    }

    .thank-rate-txt {
      text-align: center;
      white-space: pre-line;
    }
  `),bt=()=>{const{asset:t,isOpenBadWordModal:n,setIsOpenBadWordModal:a,banWordLimit:o,setBanChat:r,page:i,pageType:s,setPage:c,selectedAIService:l,banTime:u}=C(),{handleEndChat:d}=We();return(0,e.useEffect)(()=>{if(n){const e="warning_count",t=(+v(e)||0)+1||1;t>=o&&(S("close",!0,u/1440),r(!0),i!==s.MAIN&&c(s.MAIN),l&&d(!0)),S(e,t,5/1440)}},[n]),(0,A.jsx)(pt,{isOpen:n,children:(0,A.jsx)(_t,{children:(0,A.jsxs)(kt,{children:[(0,A.jsx)("div",{children:t?.warning_bad_word_txt}),(0,A.jsx)("div",{className:"button-container",children:(0,A.jsx)(N,{image:t?.warning_bad_word_btn,aspectRatio:3,width:120,height:40,onClick:()=>{a(!1)}})})]})})})},_t=i.default.div(()=>i.css`
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  `),kt=i.default.div(({theme:e})=>i.css`
    width: 100%;
    background: linear-gradient(
      180deg,
      ${e?.warning_bad_word_first_bg_color} 0%,
      ${e?.warning_bad_word_second_bg_color} 100%
    );
    opacity: 0.95;
    border-radius: 16px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    padding: 25px 20px;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    color: ${e?.warning_bad_word_txt_color};

    .button-container {
      display: flex;
      gap: 20px;
    }
  `),xt=()=>{const t=(0,e.useRef)(!0),{isOpenFormModal:n,setIsOpenFormModal:a,ticketUUID:o,setShowFeedback:r,countdown:i}=C(),{updateChatRoomCreateTicket:s,token:c}=We(),[l,u]=(0,e.useState)(!0),[d,p]=(0,e.useState)("");function h(e){if(e.data&&e.data.type){switch(e.data.type){case"TICKETFORM_SUMMIT":s(),a(!1),r(!0);break;case"TICKETFORM_CANCEL":a(!1),i?.start();break;default:a(!1)}}}(0,e.useEffect)(()=>{if(c)return window.addEventListener("message",h),()=>{window.removeEventListener("message",h)}},[c]),(0,e.useEffect)(()=>{if(n&&o&&t.current){t.current=!1,u(!0),p(`https://cs.agentic.garena.in.th/ticket/form?uuid=${o}&chatbot=1`)}},[n,o]),(0,e.useEffect)(()=>{n||(t.current=!0)},[n]);return(0,A.jsx)(pt,{isOpen:n,children:(0,A.jsx)(yt,{children:(0,A.jsxs)(wt,{children:[(0,A.jsx)(vt,{onClick:()=>{a(!1),u(!0),p("")},children:"×"}),l&&(0,A.jsxs)(St,{children:[(0,A.jsx)(ut,{}),(0,A.jsx)(Tt,{children:"Loading..."})]}),d&&(0,A.jsx)(At,{isLoading:l,children:(0,A.jsx)(Et,{width:"100%",height:"100%",style:{width:"100%",height:"100%",backgroundColor:"#00000000",border:"none"},src:d,onLoad:()=>{u(!1)},title:"Ticket Form",allowFullScreen:!0})})]})})})},yt=i.default.div(()=>i.css`
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;

    @media screen and (max-width: 720px) {
      padding: 10px;
    }
  `),wt=i.default.div(({theme:e})=>i.css`
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 90%;
    background-color: ${e?.modal_bg_color||"#000000"};
    border-radius: 16px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    @media screen and (max-width: 720px) {
      height: 95%;
      max-width: 100%;
    }
  `),vt=i.default.button(({theme:e})=>i.css`
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: ${e?.close_btn_bg_color||"rgba(0, 0, 0, 0.5)"};
    color: ${e?.close_btn_txt_color||"#ffffff"};
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;

    &:hover {
      background-color: ${e?.close_btn_hover_bg_color||"rgba(0, 0, 0, 0.7)"};
      transform: scale(1.1);
    }

    &:active {
      transform: scale(0.95);
    }
  `),St=i.default.div(()=>i.css`
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px;
  `),Tt=i.default.div(({theme:e})=>i.css`
    font-size: 16px;
    color: ${e?.loading_txt_color||"#666666"};
  `),At=i.default.div(({isLoading:e})=>i.css`
    width: 100% !important;
    height: 100% !important;
    display: ${e?"none":"flex"};
    flex-direction: column;
    background-color: #00000000;
  `),Et=i.default.iframe(()=>i.css`
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
  `),Ct=()=>{const{asset:e,isOpenChangeServiceModal:t,setIsOpenChangeServiceModal:n,setShowFeedback:a}=C();return(0,A.jsx)(pt,{isOpen:t,children:(0,A.jsx)(jt,{children:(0,A.jsxs)(Nt,{children:[(0,A.jsx)("div",{className:"change-service-txt",children:e?.change_service_txt}),(0,A.jsxs)("div",{className:"button-container",children:[(0,A.jsx)(N,{image:e?.cancel_change_service_btn,aspectRatio:3,width:120,height:40,onClick:()=>{n(!1)}}),(0,A.jsx)(N,{image:e?.confirm_change_service_btn,aspectRatio:3,å:!0,width:120,height:40,onClick:()=>{n(!1),a(!0)}})]})]})})})},jt=i.default.div(()=>i.css`
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  `),Nt=i.default.div(({theme:e})=>i.css`
    width: 100%;
    background: linear-gradient(
      180deg,
      ${e?.change_service_first_bg_color} 0%,
      ${e?.change_service_second_bg_color} 100%
    );
    opacity: 0.95;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 25px 20px;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: ${e?.change_service_txt_color};

    .button-container {
      display: flex;
      gap: 20px;
    }

    .change-service-txt {
      text-align: center;
      white-space: pre-line;
    }
  `);var Ot=o(482);const It=({children:t,text:n})=>{const{asset:a}=C();return(0,e.useEffect)(()=>{const e=()=>{document.querySelectorAll(".garenatooltip__content").forEach(e=>{e?.parentNode?.removeChild(e)})};e();const t=new MutationObserver(t=>{t.forEach(t=>{"childList"===t.type&&t.addedNodes.forEach(t=>{t.nodeType===Node.ELEMENT_NODE&&t.classList?.contains("garenatooltip__content")&&setTimeout(e,2e3)})})});return t.observe(document.body,{childList:!0,subtree:!0}),()=>{t.disconnect(),e()}}),(0,A.jsx)(Ot.A,{backgroundColor:a?.tooltip_bg_color,fontColor:a?.tooltip_txt_color,fontSize:"16px",description:ze.sanitize(n||"",{ALLOWED_TAGS:[""],ADD_ATTR:["target"]}),children:t})},Lt=()=>{const{chatHistory:e,ACTION_TYPE:t,choiceList:n,handleSendChoiceChat:a,isSelectSubService:o}=$e(),{countdown:r,isLoading:i,isLoadingMessage:s,endChat:c,showFeedback:l,setIsLoadingMessage:u,setIsLoading:d}=C();return(0,A.jsxs)(A.Fragment,{children:[e?.map((e,n)=>e?.message?.type===t.ANNOUNCEMENT?(0,A.jsx)(Ze,{style:{paddingLeft:0,paddingRight:0},announcement:e?.message?.text},n):(0,A.jsx)(Ye,{message:e?.message?.text,isUser:e?.message?.user},n)),n?.length>0&&(0,A.jsx)(A.Fragment,{children:o?(0,A.jsx)(Mt,{children:n?.map((e,t)=>(0,A.jsxs)("div",{onClick:()=>{i||s||c||l||(d(!0),u(!0),r?.reset(),a(e?.text,"id",e?.id))},className:"service_item",children:[(0,A.jsx)("img",{src:e?.image,alt:"service_item_img"}),(0,A.jsx)(It,{text:e?.name,children:(0,A.jsx)("div",{className:"service_item_name",children:e?.name})})]},t))}):(0,A.jsx)(Rt,{children:n?.map((e,t)=>(0,A.jsx)("div",{onClick:()=>{i||s||c||l||(d(!0),u(!0),r?.reset(),a(e?.text,"id",e?.id))},className:"choice_item",dangerouslySetInnerHTML:{__html:e?.text}},t))})})]})},Rt=i.default.div(({theme:e})=>i.css`
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0px;

    .choice_item {
      font-size: 14px;
      color: ${e?.choice_item_text_color} !important;
      background-color: ${e?.choice_item_bg_color};
      cursor: pointer;
      transition: all 0.2s ease;
      padding: 12px 16px;
      border-radius: 8px;

      p {
        margin: 0 !important;
      }

      a {
        color: ${e?.choice_item_link_color} !important;
        text-decoration: underline;
        cursor: pointer;
      }
    }

    .choice_item:hover {
      background-color: ${e?.choice_item_hover_bg_color};
      color: ${e?.choice_item_hover_text_color};
      border-radius: 8px;
    }
  `),Mt=i.default.div(({theme:e})=>i.css`
    --service-padding: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 10px 20px;
    box-sizing: border-box;

    .service_item {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      cursor: pointer;

      &:hover {
        transform: scale(1.05);
      }

      &:active {
        transform: scale(0.95);
      }

      > img {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 18px;
      }

      .service_item_name {
        color: ${e?.main_menu_service_name_txt_color};
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70px;
        text-align: center;
      }
    }
  `),Dt=()=>{const{page:t,pageType:n,isLoadingMessage:a,asset:o,countdown:r,setShowFeedback:i,setEndChat:s,endChat:c,closeAI:l}=C(),{aiChatHistory:u}=We(),d=(0,e.useRef)(null);return(0,e.useEffect)(()=>{d.current&&setTimeout(()=>{if(d.current){const e=d.current.children;if(e.length>0){e[e.length-1].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}}},100)},[a,c,r?.isOpenCountdown,u]),(0,A.jsxs)(Pt,{ref:d,children:[(0,A.jsx)(mt,{}),(0,A.jsx)(bt,{}),(0,A.jsx)(Ct,{}),(0,A.jsx)(xt,{}),t===n.AI_CHAT&&(0,A.jsx)(nt,{}),t===n.CHOICE_CHAT&&(0,A.jsx)(Lt,{}),r?.isOpenCountdown&&(0,A.jsxs)(zt,{children:[(0,A.jsx)("div",{className:"countdown-txt",children:o?.chat_countdown_txt}),(0,A.jsxs)("div",{className:"countdown-timer",children:[r?.minutes.toString().padStart(2,"0")," :"," ",r?.seconds.toString().padStart(2,"0")," นาที"]})]}),c&&(0,A.jsxs)($t,{children:[(0,A.jsx)("div",{className:"chat-timeout-txt",children:l&&t===n.AI_CHAT?o?.exceed_query_limit_txt:o?.chat_timeout_txt}),(0,A.jsx)(N,{checkEndChat:!1,image:o?.end_chat_btn,aspectRatio:3.5,height:40,width:140,onClick:()=>{s(!1),i(!0)}})]}),a&&(0,A.jsx)(Ye,{isUser:!1,children:(0,A.jsx)(ut,{})})]})},Pt=i.default.div(({theme:e})=>i.css`
    width: 100%;
    height: calc(100% - var(--header-height) - var(--input-height));
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
    background: linear-gradient(
      180deg,
      ${e?.chat_first_bg_color} 0%,
      ${e?.chat_second_bg_color} 41%,
      ${e?.chat_third_bg_color} 100%
    );

    @media screen and (max-width: 720px) {
      height: calc(100dvh - var(--header-height) - var(--input-height));
    }
  `),zt=i.default.div(({theme:e})=>i.css`
    position: absolute;
    top: calc(var(--header-height) + 0px);
    left: 50%;
    min-width: 300px;
    padding: 12px 10px;
    border-radius: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    flex-direction: column;
    background-color: ${e?.countdown_bg_color};
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);

    .countdown-txt {
      font-size: 14px;
      color: ${e?.countdown_txt_color};
      text-align: center;
    }

    .countdown-timer {
      font-size: 28px;
      font-weight: bold;

      color: ${e?.countdown_timer_color};
    }
  `),Ft=i.keyframes`
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
`,$t=i.default.div(({theme:e})=>i.css`
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: ${Ft} 0.6s ease-out 0.6s forwards;

    .chat-timeout-txt {
      font-size: 14px;
      text-align: center;
      color: ${e?.end_chat_txt_color};
      white-space: pre-line;
    }
  `),Ut=()=>{const{page:n,setPage:a,pageType:o,asset:r,message:i,setMessage:s,isLoading:c,countdown:l,showFeedback:u,setIsOpenThankRateModal:d,setShowFeedback:p,endChat:h,isOpenThankRateModal:m,setIsOpenChangeServiceModal:g,setIsLoading:f,setIsLoadingMessage:b,isLoadingMessage:_,serviceList:k,setSelectedService:x,rating1Limit:y,setBanChat:w,banTime:T}=C(),{handleSendAIChat:E,handleSendAIFeedback:j,aiChatHistory:O}=We(),{handleSendChoiceChat:I,isOpenMenu:L,setIsOpenMenu:R,isSelectSubService:M,handleSendChoiceChatFeedback:D,handleCheckTicket:P,isCheckTicket:z,setIsCheckTicket:F}=$e(),[$,U]=(0,e.useState)(0),[G,H]=(0,e.useState)(null),[B,W]=(0,e.useState)(""),q=()=>{c||h||m||M||(l?.reset(),z?P():n===o.AI_CHAT?E():(f(!0),b(!0),I(i,"text")))},Y=()=>{if(!c){if(l?.reset(!1),1===$){const e="rate_count",t=(+v(e)||0)+1||1;t>=y&&(S("close",!0,T/1440),w(!0),n!==o.MAIN&&a(o.MAIN)),S(e,t,30/1440)}n===o.AI_CHAT?j(B,$):D(B,$),d(!0),p(!1),U(0),W(""),H(null)}};return(0,e.useEffect)(()=>{h&&L&&R(!1)},[h]),(0,A.jsxs)(A.Fragment,{children:[u&&(0,A.jsxs)(Bt,{children:[(0,A.jsx)("div",{className:"feedback-title",children:r?.feedback_title_txt}),(0,A.jsx)("div",{className:"star-rating-container",children:[...Array(5)]?.map((e,t)=>{const n=t+1;return(0,A.jsxs)("label",{children:[(0,A.jsx)("input",{type:"radio",name:"rating",value:n,onChange:()=>U(n),style:{display:"none"}},e),(0,A.jsx)(Wt,{style:{color:n<=(G||$)?r?.feedback_star_unselected_color:r?.feedback_star_selected_color},onMouseEnter:()=>H(n),onMouseLeave:()=>H(null),children:"★"})]},`label_${t}`)})}),(0,A.jsxs)("div",{className:"feedback-input-container",children:[(0,A.jsx)(qt,{maxLength:250,type:"text",placeholder:r?.feedback_input_placeholder_txt,value:B,onChange:e=>W(e.target.value),onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||Y()},disabled:c}),(0,A.jsx)(N,{image:r?.feedback_send_btn,aspectRatio:1,height:40,width:40,onClick:()=>{Y()},disable:$<=0})]})]}),!u&&(0,A.jsxs)(Gt,{children:[L&&(0,A.jsx)(Yt,{children:(0,A.jsxs)(Kt,{children:[(0,A.jsx)("div",{onClick:()=>{R(!1),g(!0)},className:"service_item",children:(0,A.jsx)("img",{src:r?.home_menu_btn,alt:"home_btn"})}),!h&&k?.map((e,n)=>(0,A.jsx)("div",{onClick:()=>{if(c||_)return;(0,t.flushSync)(()=>{x(null)}),z&&(F(!1),s("")),f(!0),b(!0),l?.reset(),R(!1);const n=ze.sanitize(e?.text,{ALLOWED_TAGS:[""],ADD_ATTR:["target"]});x({name:n,id:e?.question_id})},className:"service_item",children:(0,A.jsx)("img",{src:e?.icon,alt:"service_item_img"})},n)),(0,A.jsx)("div",{onClick:()=>{c||_||(z?R(!1):((0,t.flushSync)(()=>{x(null)}),s(""),f(!0),b(!0),l?.reset(),R(!1),F(!0),x({name:"Ticket Status",id:1})))},className:"service_item",children:(0,A.jsx)("img",{src:r?.ticket_btn,alt:"service_item_img"})})]})}),n===o.CHOICE_CHAT?(0,A.jsx)(N,{image:r?.choice_chat_menu_btn,aspectRatio:1,height:40,width:40,onClick:()=>{m||R(!L)}}):(0,A.jsx)(N,{image:r?.home_btn,aspectRatio:1,height:40,width:40,onClick:()=>{m||(n===o.AI_CHAT&&O?.length>1?g(!0):a(o.MAIN))}}),(0,A.jsx)(Ht,{maxLength:z?10:250,type:"text",placeholder:z?r?.check_ticket_txt:r?.chat_input_placeholder_txt,value:i,onChange:e=>{if(z){if(!/^[0-9]*$/.test(e.target.value))return;s(e.target.value)}s(e.target.value)},onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||q()},disabled:h||M}),(0,A.jsx)(N,{image:r?.send_chat_btn,aspectRatio:1,height:40,width:40,onClick:()=>{q()},disable:!i.trim()})]})]})},Gt=i.default.div(({theme:e})=>i.css`
    width: 100%;
    height: var(--input-height);
    background-color: ${e?.chat_input_layout_bg_color};
    border-radius: 0px 0px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0px var(--input-padding);
    box-sizing: border-box;

    @media screen and (max-width: 720px) {
      border-radius: 0;
    }
  `),Ht=i.default.input(({theme:e})=>i.css`
    flex: 1;
    height: 40px;
    background-color: ${e?.chat_input_bg_color};
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    color: ${e?.chat_input_txt_color};
    font-size: 14px;
    outline: none;

    &::placeholder {
      color: ${e?.chat_input_placeholder_txt_color};
    }

    @media screen and (max-width: 720px) {
      height: 36px;
      padding: 0 14px;
      font-size: 13px;
      /* Prevent auto-focus on mobile */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      /* Prevent zoom on focus */
      font-size: 16px;
    }

    /* Prevent auto-focus on touch devices */
    @media (hover: none) and (pointer: coarse) {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      font-size: 16px;
    }
  `),Bt=i.default.div(({theme:e})=>i.css`
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      ${e?.feedback_first_bg_color} 0%,
      ${e?.feedback_second_bg_color} 41%,
      ${e?.feedback_third_bg_color} 100%
    );
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: translateY(100%);
    animation: slideUp 0.4s ease-out forwards;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);

    @media screen and (max-width: 720px) {
      border-radius: 16px 16px 0px 0px;
    }

    @keyframes slideUp {
      from {
        transform: translateY(100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .feedback-title {
      width: 100%;
      padding: 0px 12px;
      text-align: center;
      white-space: pre-line;
      color: ${e?.feedback_title_txt_color};
      font-size: 14px;
      line-height: 1.4;
    }

    .feedback-input-container {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0px 16px;
      width: calc(100% - 32px);
    }

    .star-rating-container {
      display: flex;
      justify-content: center;
      gap: 3px;
    }
  `),Wt=i.default.span(()=>i.css`
    font-size: 26px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    margin: 0 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));

    &:hover {
      transform: scale(1.1);
    }
  `),qt=i.default.input(({theme:e})=>i.css`
    flex: 1;
    height: 40px;
    background-color: ${e?.feedback_input_bg_color};
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    color: ${e?.feedback_input_txt_color};
    font-size: 14px;
    outline: none;

    &::placeholder {
      color: ${e?.feedback_input_placeholder_txt_color};
    }

    @media screen and (max-width: 720px) {
      height: 36px;
      padding: 0 14px;
      font-size: 13px;
      /* Prevent auto-focus on mobile */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      /* Prevent zoom on focus */
      font-size: 16px;
    }

    /* Prevent auto-focus on touch devices */
    @media (hover: none) and (pointer: coarse) {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      font-size: 16px;
    }
  `),Yt=i.default.div(({theme:e})=>i.css`
    position: absolute;
    bottom: var(--input-height);
    left: 0;

    background: linear-gradient(
      180deg,
      ${e?.menu_bar_first_bg_color} 0%,
      ${e?.menu_bar_second_bg_color} 41%,
      ${e?.menu_bar_third_bg_color} 100%
    );
    z-index: 1000;
    display: flex;
    flex-direction: column;
    animation: slideUpFromInput 0.3s ease-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #404040;
    height: fit-content;
    width: 100%;
    overflow-y: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    @keyframes slideUpFromInput {
      from {
        transform: translateY(60px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
  `),Kt=i.default.div(()=>i.css`
    --service-padding: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 10px 20px;
    box-sizing: border-box;

    .service_item {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      cursor: pointer;

      &:hover {
        transform: scale(1.05);
      }

      &:active {
        transform: scale(0.95);
      }

      > img {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 20px;
      }
    }
  `),Vt=()=>{const{AIServiceList:e,setSelectedAIService:t,setPage:n,pageType:a,isLoading:o,banChat:r,asset:i,closeAI:s,announcement:c,serviceList:l,selectedAIService:u,setIsLoading:d,setSelectedService:p,isActiveAI:h}=C(),{setAiChatHistory:m,setToken:g}=We(),{setIsCheckTicket:f}=$e();return(0,A.jsxs)(Xt,{children:[Array.isArray(c)&&c?.length>0&&(0,A.jsx)(Ze,{announcement:c}),r&&(0,A.jsxs)(Zt,{children:[(0,A.jsx)("div",{className:"ban_title",children:i?.ban_chat_title_txt}),(0,A.jsx)("div",{className:"ban_message",children:i?.ban_chat_message_txt})]}),!r&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(Qt,{children:[(0,A.jsx)("img",{src:i?.select_service_character_img,alt:"character",className:"character_img"}),(0,A.jsx)("div",{className:"select_service_txt",children:i?.select_service_txt})]}),(0,A.jsxs)(Jt,{children:[!s&&h&&e?.map((e,r)=>(0,A.jsx)("div",{onClick:()=>{o||(d(!0),u&&u?.uuid!==e?.uuid&&(m([]),g(null)),t(e),n(a.AI_CHAT),d(!1))},className:"service_item",children:(0,A.jsx)(It,{text:e?.name,children:(0,A.jsx)("img",{src:e?.image,alt:"service_item_img"})})},r)),l?.map((e,t)=>(0,A.jsx)("div",{onClick:()=>{if(o)return;const t=ze.sanitize(e?.text,{ALLOWED_TAGS:[""],ADD_ATTR:["target"]});p({name:t,id:e?.question_id})},className:"service_item",children:(0,A.jsx)(It,{text:ze.sanitize(e?.text,{ALLOWED_TAGS:[""],ADD_ATTR:["target"]}),children:(0,A.jsx)("img",{src:e?.icon,alt:"service_item_img"})})},t)),(0,A.jsx)("div",{onClick:()=>{o||(f(!0),p({name:"Ticket Status",id:1}))},className:"service_item",children:(0,A.jsx)(It,{text:"Ticket",children:(0,A.jsx)("img",{src:i?.ticket_btn,alt:"service_item_img"})})})]})]})]})},Xt=i.default.div(({theme:e})=>i.css`
    width: 100%;
    height: calc(100% - var(--header-height));
    background: linear-gradient(
      180deg,
      ${e?.main_menu_first_bg_color} 0%,
      ${e?.main_menu_second_bg_color} 41%,
      ${e?.main_menu_third_bg_color} 100%
    );
    border-radius: 0px 0px 16px 16px;
    overflow-y: auto;

    box-sizing: border-box;

    @media screen and (max-width: 720px) {
      height: calc(100dvh - var(--header-height));
      border-radius: 0;
    }
  `),Jt=i.default.div(({theme:e})=>i.css`
    --service-padding: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 10px 20px;
    margin-bottom: 10px;
    box-sizing: border-box;

    .service_item {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      cursor: pointer;

      &:hover {
        transform: scale(1.05);
      }

      &:active {
        transform: scale(0.95);
      }

      > img {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 18px;
      }

      .service_item_name {
        color: ${e?.main_menu_service_name_txt_color};
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70px;
        text-align: center;
      }
    }
  `),Zt=i.default.div(({theme:e})=>i.css`
    width: calc(100% - 40px);
    margin: 20px;
    margin-top: 10px;
    padding: 32px 24px;
    box-sizing: border-box;
    background: ${e?.ban_bg_color};
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);

    @media screen and (max-width: 720px) {
      margin: 15px;
      padding: 24px 20px;
      gap: 12px;
    }

    .ban_title {
      color: ${e?.ban_title_color};
      font-size: 20px;
      font-weight: 600;
      white-space: pre-line;
    }

    .ban_message {
      font-size: 14px;
      color: ${e?.ban_message_color};
      white-space: pre-line;
    }
  `),Qt=i.default.div(({theme:e})=>i.css`
    width: calc(100% - 40px);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0px 20px;
    margin-bottom: 20px;
    margin-top: 40px;
    position: relative;
    border-radius: 16px;
    box-sizing: border-box;
    color: ${e?.select_service_txt_color};
    background: ${e?.select_service_bg_color};
    white-space: pre-line;
    text-align: center;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.25);
    overflow: visible;

    .character_img {
      position: absolute;
      left: 0px;
      bottom: 0px;
      height: 170px;
      width: auto;
      object-fit: contain;
      z-index: 1;
    }

    .select_service_txt {
      padding-left: 140px;
      position: relative;
      z-index: 2;
    }
  `),en=()=>{const{page:e,pageType:t}=C();return(0,A.jsxs)(tn,{children:[(0,A.jsx)(Ge,{}),e===t.MAIN&&(0,A.jsx)(Vt,{}),e!==t.MAIN&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Dt,{}),(0,A.jsx)(Ut,{})]})]})},tn=i.default.div(()=>i.css`
    width: 500px !important;
    height: 700px !important;
    position: absolute;
    bottom: 20px;
    right: 20px;
    border-radius: 16px;
    animation: chatSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;

    @media screen and (max-width: 720px) {
      width: 100dvw !important;
      height: 100dvh !important;
      border-radius: 0;
      top: 0;
      left: 0;
      animation: chatSlideInMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      transform-origin: bottom center;
    }

    @keyframes chatSlideIn {
      0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
      }
      100% {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    @keyframes chatSlideInMobile {
      0% {
        opacity: 0;
        transform: translateY(100%);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
  `),nn=()=>{const{asset:e,openChat:t}=C();return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("style",{children:'\n          body {\n            .garenatooltip__content {\n              border-radius: 6px;\n                font-family: "HelveticaLTStd-Light", arial, Tahoma !important;\n            }\n          }\n        '}),e&&(0,A.jsx)(i.ThemeProvider,{theme:e,children:(0,A.jsx)(qe,{children:(0,A.jsx)(Ue,{children:(0,A.jsx)(an,{children:t?(0,A.jsx)(en,{}):(0,A.jsx)(I,{})})})})})]})},an=i.default.div(({theme:e})=>i.css`
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;

    /* Allow child elements (chat widget and open button) to receive clicks */
    > * {
      pointer-events: auto;

      --header-height: 65px;
      --input-height: 65px;
      --input-padding: 10px;
      font-family: "HelveticaLTStd-Light", arial, Tahoma !important;

      /* Custom Scrollbar Styles */
      ::-webkit-scrollbar {
        width: 12px;
        position: absolute;
        top: 0;
        right: 0;
      }

      ::-webkit-scrollbar-track {
        background: ${e?.scrollbar_track_color};
        border-radius: 8px;
        background-clip: padding-box;
        margin: 12px;
      }

      ::-webkit-scrollbar-thumb {
        background: ${e?.scrollbar_thumb_color};
        border-radius: 8px;
        background-clip: padding-box;
      }
    }
  `),on=()=>(0,A.jsx)(j,{children:(0,A.jsx)(nn,{})});const rn={renderChatWidget:function(e,t){n().render((0,A.jsx)(on,{...t}),document.getElementById(e))}}})(),r=r.default})());