PageSourceSearch

https://shop.superfoodaruba.com/wp-content/plugins/wp-whatsapp-cha…/js/index.js?ver=ac88f0f73a8c4b7c6b8b

js superfoodaruba.com collected 2026-09-24 18:29:35 UTC 79,809 bytes, 2 lines download raw bytes

vendor: 5,528 bytes, lines 1-2
1/*! For license information please see index.js.LICENSE.txt */
2(()=>{var e={539(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},635(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],a=0;a<4;a++)8*o+6*a<=8*e.length?n.push(t.charAt(r>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(o))>>>6-2*r);return n}},e.exports=n},445(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},892(e,t,n){var o,r,a,i,l;o=n(635),r=n(539).utf8,a=n(445),i=n(539).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?i.stringToBytes(e):r.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),c=8*e.length,s=1732584193,u=-271733879,p=-1732584194,_=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var d=l._ff,m=l._gg,h=l._hh,g=l._ii;for(f=0;f<n.length;f+=16){var y=s,v=u,b=p,w=_;s=d(s,u,p,_,n[f+0],7,-680876936),_=d(_,s,u,p,n[f+1],12,-389564586),p=d(p,_,s,u,n[f+2],17,606105819),u=d(u,p,_,s,n[f+3],22,-1044525330),s=d(s,u,p,_,n[f+4],7,-176418897),_=d(_,s,u,p,n[f+5],12,1200080426),p=d(p,_,s,u,n[f+6],17,-1473231341),u=d(u,p,_,s,n[f+7],22,-45705983),s=d(s,u,p,_,n[f+8],7,1770035416),_=d(_,s,u,p,n[f+9],12,-1958414417),p=d(p,_,s,u,n[f+10],17,-42063),u=d(u,p,_,s,n[f+11],22,-1990404162),s=d(s,u,p,_,n[f+12],7,1804603682),_=d(_,s,u,p,n[f+13],12,-40341101),p=d(p,_,s,u,n[f+14],17,-1502002290),s=m(s,u=d(u,p,_,s,n[f+15],22,1236535329),p,_,n[f+1],5,-165796510),_=m(_,s,u,p,n[f+6],9,-1069501632),p=m(p,_,s,u,n[f+11],14,643717713),u=m(u,p,_,s,n[f+0],20,-373897302),s=m(s,u,p,_,n[f+5],5,-701558691),_=m(_,s,u,p,n[f+10],9,38016083),p=m(p,_,s,u,n[f+15],14,-660478335),u=m(u,p,_,s,n[f+4],20,-405537848),s=m(s,u,p,_,n[f+9],5,568446438),_=m(_,s,u,p,n[f+14],9,-1019803690),p=m(p,_,s,u,n[f+3],14,-187363961),u=m(u,p,_,s,n[f+8],20,1163531501),s=m(s,u,p,_,n[f+13],5,-1444681467),_=m(_,s,u,p,n[f+2],9,-51403784),p=m(p,_,s,u,n[f+7],14,1735328473),s=h(s,u=m(u,p,_,s,n[f+12],20,-1926607734),p,_,n[f+5],4,-378558),_=h(_,s,u,p,n[f+8],11,-2022574463),p=h(p,_,s,u,n[f+11],16,1839030562),u=h(u,p,_,s,n[f+14],23,-35309556),s=h(s,u,p,_,n[f+1],4,-1530992060),_=h(_,s,u,p,n[f+4],11,1272893353),p=h(p,_,s,u,n[f+7],16,-155497632),u=h(u,p,_,s,n[f+10],23,-1094730640),s=h(s,u,p,_,n[f+13],4,681279174),_=h(_,s,u,p,n[f+0],11,-358537222),p=h(p,_,s,u,n[f+3],16,-722521979),u=h(u,p,_,s,n[f+6],23,76029189),s=h(s,u,p,_,n[f+9],4,-640364487),_=h(_,s,u,p,n[f+12],11,-421815835),p=h(p,_,s,u,n[f+15],16,530742520),s=g(s,u=h(u,p,_,s,n[f+2],23,-995338651),p,_,n[f+0],6,-198630844),_=g(_,s,u,p,n[f+7],10,1126891415),p=g(p,_,s,u,n[f+14],15,-1416354905),u=g(u,p,_,s,n[f+5],21,-57434055),s=g(s,u,p,_,n[f+12],6,1700485571),_=g(_,s,u,p,n[f+3],10,-1894986606),p=g(p,_,s,u,n[f+10],15,-1051523),u=g(u,p,_,s,n[f+1],21,-2054922799),s=g(s,u,p,_,n[f+8],6,1873313359),_=g(_,s,u,p,n[f+15],10,-30611744),p=g(p,_,s,u,n[f+6],15,-1560198380),u=g(u,p,_,s,n[f+13],21,1309151649),s=g(s,u,p,_,n[f+4],6,-145523070),_=g(_,s,u,p,n[f+11],10,-1120210379),p=g(p,_,s,u,n[f+2],15,718787259),u=g(u,p,_,s,n[f+9],21,-343485551),s=s+y>>>0,u=u+v>>>0,p=p+b>>>0,_=_+w>>>0}return o.endian([s,u,p,_])})._ff=function(e,t,n,o,r,a,i){var l=e+(t&n|~t&o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},l._gg=function(e,t,n,o,r,a,i){var l=e+(t&o|n&~o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},l._hh=function(e,t,n,o,r,a,i){var l=e+(t^n^o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},l._ii=function(e,t,n,o,r,a,i){var l=e+(n^(t|~o))+(r>>>0)+i;return(l<<a|l>>>32-a)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):o.bytesToHex(n)}},500(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
vendor: 9,565 bytes, line 2
2n&&(e=i(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)o.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()}};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";var e,t,o,r,a,i,l,c,s,u,p,_,f,d,m,h={},g=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function S(t,n,o){var r,a,i,l={};for(i in n)"key"==i?r=n[i]:"ref"==i?a=n[i]:l[i]=n[i];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):o),"function"==typeof t&&null!=t.defaultProps)for(i in t.defaultProps)void 0===l[i]&&(l[i]=t.defaultProps[i]);return T(t,l,r,a,null)}function T(e,n,r,a,i){var l={type:e,props:n,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++o,__i:-1,__u:0};return null==i&&null!=t.vnode&&t.vnode(l),l}function C(e){return e.children}function A(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function x(e){if(e.__P&&e.__d){var n=e.__v,o=n.__e,r=[],a=[],i=b({},n);i.__v=n.__v+1,t.vnode&&t.vnode(i),H(e.__P,i,n,e.__n,e.__P.namespaceURI,32&n.__u?[o]:null,r,o??E(n),!!(32&n.__u),a),i.__v=n.__v,i.__.__k[i.__i]=i,F(r,i,a),n.__e=n.__=null,i.__e!=o&&N(i)}}function N(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),N(e)}function k(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!O.__r++||a!=t.debounceRendering)&&((a=t.debounceRendering)||i)(O)}function O(){try{for(var e,t=1;r.length;)r.length>t&&r.sort(l),e=r.shift(),t=r.length,x(e)}finally{r.length=O.__r=0}}function D(e,t,n,o,r,a,i,l,c,s,u){var p,_,f,d,m,y,v=o&&o.__k||g,b=t.length;for(c=R(n,t,v,c,b),p=0;p<b;p++)null!=(f=n.__k[p])&&(_=-1!=f.__i&&v[f.__i]||h,f.__i=p,y=H(e,f,_,r,a,i,l,c,s,u),d=f.__e,f.ref&&_.ref!=f.ref&&(_.ref&&W(_.ref,null,f),u.push(f.ref,f.__c||d,f)),null==m&&null!=d&&(m=d),4&f.__u?(c=I(f,c,e),_.__e&&(_.__e=null)):"function"==typeof f.type&&void 0!==y?c=y:d&&(c=d.nextSibling),f.__u&=-7);return n.__e=m,c}function R(e,t,n,o,r){var a,i,l,c,s,u=n.length,p=u,_=0;for(e.__k=new Array(r),a=0;a<r;a++)null!=(i=t[a])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[a]=T(null,i,null,null,null):v(i)?i=e.__k[a]=T(C,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[a]=T(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[a]=i,c=a+_,i.__=e,i.__b=e.__b+1,l=null,-1!=(s=i.__i=M(i,n,c,p))&&(p--,(l=n[s])&&(l.__u|=2)),null==l||null==l.__v?(-1==s&&(r>u?_--:r<u&&_++),"function"!=typeof i.type&&(i.__u|=4)):s!=c&&(s==c-1?_--:s==c+1?_++:(s>c?_--:_++,i.__u|=4))):e.__k[a]=null;if(p)for(a=0;a<u;a++)null!=(l=n[a])&&!(2&l.__u)&&(l.__e==o&&(o=E(l)),j(l,l));return o}function I(e,t,n){var o,r;if("function"==typeof e.type){for(o=e.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=e,t=I(o[r],t,n));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=E(e)),t=n.insertBefore(e.__e,t||null));do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function L(e,t){return t=t||[],null==e||"boolean"==typeof e||(v(e)?e.some(function(e){L(e,t)}):t.push(e)),t}function M(e,t,n,o){var r,a,i,l=e.key,c=e.type,s=t[n],u=null!=s&&!(2&s.__u);if(null===s&&null==l||u&&l==s.key&&c==s.type)return n;if(o>(u?1:0))for(r=n-1,a=n+1;r>=0||a<t.length;)if(null!=(s=t[i=r>=0?r--:a++])&&!(2&s.__u)&&l==s.key&&c==s.type)return i;return-1}function P(e,t,n){"-"==t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function q(e,t,n,o,r){var a,i;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||P(e.style,t,"");if(n)for(t in n)o&&n[t]==o[t]||P(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])a=t!=(t=t.replace(p,"$1")),i=t.toLowerCase(),t=i in e||"onFocusOut"==t||"onFocusIn"==t?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?o?n[u]=o[u]:(n[u]=_,e.addEventListener(t,a?d:f,a)):e.removeEventListener(t,a?d:f,a);else{if("http://www.w3.org/2000/svg"==r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=n??"";break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function U(e){return function(n){if(this.l){var o=this.l[n.type+e];if(null==n[s])n[s]=_++;else if(n[s]<o[u])return;return o(t.event?t.event(n):n)}}}function H(e,n,o,r,a,i,l,c,s,u){var p,_,f,d,m,h,y,S,T,x,N,k,O,R,I,L,M=n.type;if(void 0!==n.constructor)return null;128&o.__u&&(s=!!(32&o.__u),i=[c=n.__e=o.__e]),(p=t.__b)&&p(n);e:if("function"==typeof M){_=l.length;try{if(T=n.props,x=M.prototype&&M.prototype.render,N=(p=M.contextType)&&r[p.__c],k=p?N?N.props.value:p.__:r,o.__c?S=(f=n.__c=o.__c).__=f.__E:(x?n.__c=f=new M(T,k):(n.__c=f=new A(T,k),f.constructor=M,f.render=Y),N&&N.sub(f),f.state||(f.state={}),f.__n=r,d=f.__d=!0,f.__h=[],f._sb=[]),x&&null==f.__s&&(f.__s=f.state),x&&null!=M.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,M.getDerivedStateFromProps(T,f.__s))),m=f.props,h=f.state,f.__v=n,d)x&&null==M.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),x&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(x&&null==M.getDerivedStateFromProps&&T!==m&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(T,k),n.__v==o.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(T,f.__s,k)){n.__v!=o.__v&&(f.props=T,f.state=f.__s,f.__d=!1),n.__e=o.__e,n.__k=o.__k,n.__k.some(function(e){e&&(e.__=n)}),g.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&l.push(f),c=E(o);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(T,f.__s,k),x&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(m,h,y)})}if(f.context=k,f.props=T,f.__P=e,f.__e=!1,O=t.__r,R=0,x)f.state=f.__s,f.__d=!1,O&&O(n),p=f.render(f.props,f.state,f.context),g.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,O&&O(n),p=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++R<25);f.state=f.__s,null!=f.getChildContext&&(r=b(b({},r),f.getChildContext())),x&&!d&&null!=f.getSnapshotBeforeUpdate&&(y=f.getSnapshotBeforeUpdate(m,h)),I=null!=p&&p.type===C&&null==p.key?$(p.props.children):p,c=D(e,v(I)?I:[I],n,o,r,a,i,l,c,s,u),f.base=n.__e,n.__u&=-161,f.__h.length&&l.push(f),S&&(f.__E=f.__=null)}catch(e){if(l.length=_,n.__v=null,s||null!=i){if(e.then){for(n.__u|=s?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;null!=i&&(i[i.indexOf(c)]=null),n.__e=c}else if(null!=i)for(L=i.length;L--;)w(i[L])}else n.__e=o.__e;null==n.__k&&(n.__k=o.__k||[]),e.then||z(n),t.__e(e,n,o)}}else null==i&&n.__v==o.__v?(n.__k=o.__k,n.__e=o.__e):c=n.__e=B(o.__e,n,o,r,a,i,l,s,u);return(p=t.diffed)&&p(n),128&n.__u?void 0:c}function z(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(z))}function F(e,n,o){for(var r=0;r<o.length;r++)W(o[r],o[++r],o[++r]);t.__c&&t.__c(n,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(e){e.call(n)})}catch(e){t.__e(e,n.__v)}})}function $(e){return"object"!=typeof e||null==e||e.__b>0?e:v(e)?e.map($):void 0!==e.constructor?null:b({},e)}function B(n,o,r,a,i,l,c,s,u){var p,_,f,d,m,g,y,b=r.props||h,S=o.props,T=o.type;if("svg"==T?i="http://www.w3.org/2000/svg":"math"==T?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=l)for(p=0;p<l.length;p++)if((m=l[p])&&"setAttribute"in m==!!T&&(T?m.localName==T:3==m.nodeType)){n=m,l[p]=null;break}if(null==n){if(null==T)return document.createTextNode(S);n=document.createElementNS(i,T,S.is&&S),s&&(t.__m&&t.__m(o,l),s=!1),l=null}if(null==T)b===S||s&&n.data==S||(n.data=S);else{if(l="textarea"==T&&null!=S.defaultValue?null:l&&e.call(n.childNodes),!s&&null!=l)for(b={},p=0;p<n.attributes.length;p++)b[(m=n.attributes[p]).name]=m.value;for(p in b)m=b[p],"dangerouslySetInnerHTML"==p?f=m:"children"==p||p in S||"value"==p&&"defaultValue"in S||"checked"==p&&"defaultChecked"in S||q(n,p,null,m,i);for(p in S)m=S[p],"children"==p?d=m:"dangerouslySetInnerHTML"==p?_=m:"value"==p?g=m:"checked"==p?y=m:s&&"function"!=typeof m||b[p]===m||q(n,p,m,b[p],i);if(_)s||f&&(_.__html==f.__html||_.__html==n.innerHTML)||(n.innerHTML=_.__html),o.__k=[];else if(f&&(n.innerHTML=""),D("template"==o.type?n.content:n,v(d)?d:[d],o,r,a,"foreignObject"==T?"http://www.w3.org/1999/xhtml":i,l,c,l?l[0]:r.__k&&E(r,0),s,u),null!=l)for(p=l.length;p--;)w(l[p]);s&&"textarea"!=T||(p="value","progress"==T&&null==g?n.removeAttribute("value"):null!=g&&(g!==n[p]||"progress"==T&&!g||"option"==T&&g!=b[p])&&q(n,p,g,b[p],i),p="checked",null!=y&&y!=n[p]&&q(n,p,y,b[p],i)
vendor: 1,572 bytes, line 2
2)}return n}function W(e,n,o){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,o)}}function j(e,n,o){var r,a;if(t.unmount&&t.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||W(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){t.__e(e,n)}r.base=r.__P=r.__n=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&j(r[a],n,o||"function"!=typeof e.type);o||w(e.__e),e.__c=e.__=e.__e=void 0}function Y(e,t,n){return this.constructor(e,n)}function G(n,o,r){var a,i,l,c;o==document&&(o=document.documentElement),t.__&&t.__(n,o),i=(a="function"==typeof r)?null:r&&r.__k||o.__k,l=[],c=[],H(o,n=(!a&&r||o).__k=S(C,null,[n]),i||h,h,o.namespaceURI,!a&&r?[r]:i?null:o.firstChild?e.call(o.childNodes):null,l,!a&&r?r:i?i.__e:o.firstChild,a,c),F(l,n,c),n.props.children=null}e=g.slice,t={__e:function(e,t,n,o){for(var r,a,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((a=r.constructor)&&null!=a.getDerivedStateFromError&&(r.setState(a.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,o||{}),i=r.__d),i)return r.__E=r}catch(t){e=t}throw e}},o=0,A.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},A.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},A.prototype.render=C,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 7,492 bytes, line 2
2ise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,c=Math.random().toString(8),s="__d"+c,u="__a"+c,p=/(PointerCapture)$|Capture$/i,_=0,f=U(!1),d=U(!0),m=0;var V,Z,K,X,J=0,Q=[],ee=t,te=ee.__b,ne=ee.__r,oe=ee.diffed,re=ee.__c,ae=ee.unmount,ie=ee.__;function le(e,t){ee.__h&&ee.__h(Z,e,J||t),J=0;var n=Z.__H||(Z.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ce(e){return J=1,se(be,e)}function se(e,t,n){var o=le(V++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):be(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=Z,!Z.__f)){var r=function(e,t,n){if(!o.__c.__H)return!0;var r=!1,i=o.__c.props!==e;if(o.__c.__H.__.some(function(e){if(e.__N){r=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),a){var l=a.call(this,e,t,n);return r?l||i:l}return!r||i};Z.__f=!0;var a=Z.shouldComponentUpdate,i=Z.componentWillUpdate;Z.componentWillUpdate=function(e,t,n){if(this.__e){var o=a;a=void 0,r(e,t,n),a=o}i&&i.call(this,e,t,n)},Z.shouldComponentUpdate=r}return o.__N||o.__}function ue(e,t){var n=le(V++,3);!ee.__s&&ve(n.__H,t)&&(n.__=e,n.u=t,Z.__H.__h.push(n))}function pe(e){return J=5,_e(function(){return{current:e}},[])}function _e(e,t){var n=le(V++,7);return ve(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function fe(e,t){return J=8,_e(function(){return e},t)}function de(){for(var e;e=Q.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ge),t.__h.some(ye),t.__h=[]}catch(n){t.__h=[],ee.__e(n,e.__v)}}}ee.__b=function(e){Z=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},ee.__r=function(e){ne&&ne(e),V=0;var t=(Z=e.__c).__H;t&&(K===Z?(t.__h=[],Z.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ge),t.__h.some(ye),t.__h=[],V=0)),K=Z},ee.diffed=function(e){oe&&oe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Q.push(t)&&X===ee.requestAnimationFrame||((X=ee.requestAnimationFrame)||he)(de)),t.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),K=Z=null},ee.__c=function(e,t){t.some(function(e){try{e.__h.some(ge),e.__h=e.__h.filter(function(e){return!e.__||ye(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ee.__e(n,e.__v)}}),re&&re(e,t)},ee.unmount=function(e){ae&&ae(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{ge(e)}catch(e){t=e}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function he(e){var t,n=function(){clearTimeout(o),me&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);me&&(t=requestAnimationFrame(n))}function ge(e){var t=Z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Z=t}function ye(e){var t=Z;e.__c=e.__(),Z=t}function ve(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function be(e,t){return"function"==typeof t?t(e):t}function we(e,t){for(var n in t)e[n]=t[n];return e}function Se(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var o in t)if("__source"!==o&&e[o]!==t[o])return!0;return!1}function Te(e,t){this.props=e,this.context=t}(Te.prototype=new A).isPureReactComponent=!0,Te.prototype.shouldComponentUpdate=function(e,t){return Se(this.props,e)||Se(this.state,t)};var Ce=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Ae="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ee(e){function t(t){var n=we({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ae,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var xe=t.__e;t.__e=function(e,t,n,o){if(e.then)for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k||[]),r.__c(e,t);xe(e,t,n,o)};var Ne=t.unmount;function ke(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=we({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return ke(e,t,n)})),e}function Oe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Oe(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function De(){this.__u=0,this.o=null,this.__b=null}function Re(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ne&&Ne(e)},(De.prototype=new A).__c=function(e,t){var n=t.__c,o=this;null==o.o&&(o.o=[]),o.o.push(n);var r=Re(o.__v),a=!1,i=function(){a||o.__z||(a=!0,n.__R=null,r?r(c):c())};n.__R=i;var l=n.__P;n.__P=null;var c=function(){if(! --o.__u){if(o.state.__a){var e=o.state.__a;o.__v.__k[0]=Oe(e,e.__c.__P,e.__c.__O)}var t;for(o.setState({__a:o.__b=null});t=o.o.pop();)t.__P=l,t.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(i,i)},De.prototype.componentWillUnmount=function(){this.o=[]},De.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=ke(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&S(C,null,e.fallback);return r&&(r.__u&=-33),[S(C,null,t.__a?null:e.children),r]};var Le=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};(Ie.prototype=new A).__a=function(e){var t=this,n=Re(t.__v),o=t.l.get(e);return o[0]++,function(r){var a=function(){t.props.revealOrder?(o.push(r),Le(t,e,o)):r()};n?n(a):a()}},Ie.prototype.render=function(e){this.i=null,this.l=new Map;var t=L(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Le(e,n,t)})};var Me="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Pe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,qe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ue=/[A-Z0-9]/g,He="undefined"!=typeof document,ze=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};A.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(A.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Fe=t.event;t.event=function(e){return Fe&&(e=Fe(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var $e={configurable:!0,get:function(){return this.class}},Be=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,o={},r=-1==n.indexOf("-");for(var a in t){var i=t[a];if(!("value"===a&&"defaultValue"in t&&null==i||He&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var l=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===i?i="":"translate"===l&&"n
2o"===i?i=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?a="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||ze(t.type)?"onfocus"===l?a="onfocusin":"onblur"===l?a="onfocusout":qe.test(a)&&(a=l):l=a="oninput":r&&Pe.test(a)?a=a.replace(Ue,"-$&").toLowerCase():null===i&&(i=void 0),"oninput"===l&&o[a=l]&&(a="oninputCapture"),o[a]=i}}"select"==n&&(o.multiple&&Array.isArray(o.value)&&(o.value=L(t.children).forEach(function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)})),null!=o.defaultValue&&(o.value=L(t.children).forEach(function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),t.class&&!t.className?(o.class=t.class,Object.defineProperty(o,"className",$e)):t.className&&(o.class=o.className=t.className),e.props=o}(e),e.$$typeof=Me,Be&&Be(e)};var We=t.__r;t.__r=function(e){We&&We(e),e.__c};var je=t.diffed;function Ye(e){return{render:function(t){!function(e,t,n){null==t.__k&&(t.textContent=""),G(e,t),"function"==typeof n&&n(),e&&e.__c}(t,e)},unmount:function(){!function(e){!!e.__k&&G(null,e)}(e)}}}t.diffed=function(e){je&&je(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Ge=n(500),Ve=n.n(Ge),Ze=n(892),Ke=n.n(Ze);const Xe="persist:qlwapp",Je=`${Xe}:2`,Qe={contactId:null,contactsConversation:{},generalConsentAccepted:!1};function et(e){return null!==e&&("object"==typeof e||"function"==typeof e)}function tt(e,t){const n={...e};return Object.keys(t).forEach(o=>{const r=e[o],a=t[o];et(r)&&et(a)&&!Array.isArray(r)?n[o]=tt(r,a):n[o]=a}),n}const nt=function(){function e(t){var n,o;return this.getChildContext||(n=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,k(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),t.children}return e.__c="__cC"+m++,e.__=void 0,e.Provider=e.__l=(e.Consumer=function(e,t){return e.children(t)}).contextType=e,e}(),ot=(e,t)=>{const{contacts:n,contactId:o,storeName:r}=t.payload||{};switch(t.type){case"PERSIST_STATE":return((e,t,n=30)=>{let o=localStorage.getItem(e);if(o)o=JSON.parse(o),o.value=t;else{const e=new Date;o={value:t,expiration:new Date(e.getTime()+24*n*60*60*1e3).getTime()}}try{localStorage.setItem(e,JSON.stringify(o))}catch(t){if("QuotaExceededError"===t.name){console.warn("localStorage quota exceeded. Attempting to clear old data...");try{localStorage.removeItem(e),localStorage.setItem(e,JSON.stringify(o))}catch(e){console.error("Failed to save to localStorage even after clearing:",e)}}else console.error("Error saving to localStorage:",t)}})(r,{...e,contactsHash:Ke()(JSON.stringify(t.payload.contacts))}),e;case"HYDRATE_STATE":const a=(e=>{const t=localStorage.getItem(e);if(t){const n=JSON.parse(t);return(new Date).getTime()>n.expiration?(localStorage.removeItem(e),null):n.value}return null})(r),i=Ke()(JSON.stringify(n));return a?a.contactsHash!==i?{...Qe,contactsHash:i}:(n.find(e=>"bot"===e.type?e.bot_id===o:e.id===o)||(a.contactId=null),{...a}):e;case"SET_CONTACT_ID":if(null===o)return{...e,contactId:null};const l=n.find(e=>"bot"===e.type?e.bot_id===o:e.id===o),c=l?.message||"",s=e.contactsConversation[o];return s&&(s?.messageListArray?.[0]?.text||"")===c?{...e,contactId:o}:tt(e,{contactId:o,contactsConversation:{[o]:{messageListArray:""!==c?[{id:"",source:"user",text:c,status:""}]:[]}}});case"SET_GENERAL_CONSENT_ACCEPTED":const{accepted:u}=t.payload;return{...e,generalConsentAccepted:u}}return e},rt=()=>function(e){var t=Z.context[e.__c],n=le(V++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Z)),t.props.value):e.__}(nt),at=e=>{const{contacts:t,children:n}=e,[o,r]=se(ot,Qe),a=Je,i=fe(()=>{try{const e=[];for(let t=0;t<localStorage.length;t++){const n=localStorage.key(t);n&&n.startsWith(Xe)&&n!==Je&&e.push(n)}e.forEach(e=>localStorage.removeItem(e))}catch(e){console.warn("Failed to cleanup old storage entries:",e)}},[]),l=fe(()=>{r({type:"PERSIST_STATE",payload:{contacts:t,storeName:a}})},[t,a]),c=fe(()=>{r({type:"HYDRATE_STATE",payload:{contacts:t,storeName:a}})},[t,a]);return ue(()=>{i()},[i]),ue(()=>{c()},[c]),ue(()=>{l()},[o,l]),S(nt.Provider,{value:{...o,...e,setContactId:e=>{r({type:"SET_CONTACT_ID",payload:{contacts:t,contactId:e,storeName:a}})},setGeneralConsentAccepted:e=>{r({type:"SET_GENERAL_CONSENT_ACCEPTED",payload:{accepted:e}})}}},n)}
2,it=(e,t,n)=>e,lt=(e,...t)=>{let n=0;return e.replace(/%(\d+\$)?s/g,(e,o)=>{var r,a;return o?null!==(r=t[parseInt(o)-1])&&void 0!==r?r:"":null!==(a=t[n++])&&void 0!==a?a:""})},ct=()=>S("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},S("path",{d:"M20.563 22.104l-1.875 1.875-8-8 8-8 1.875 1.875-6.125 6.125z"})),st=()=>S("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},S("path",{d:"M12.001 2C6.47813 2 2.00098 6.47715 2.00098 12C2.00098 13.8893 2.50433 15.6617 3.38779 17.1902L2.05176 21.9922L6.97471 20.6842C8.45617 21.4958 10.1729 21.9999 12.001 21.9999C17.5238 21.9999 22.001 17.5228 22.001 11.9999C22.001 6.47706 17.5238 2 12.001 2ZM8.49659 7.3125C8.67819 7.3125 8.86375 7.31328 9.02603 7.32031C9.22603 7.32734 9.44788 7.34053 9.65845 7.82813C9.90845 8.39648 10.4397 9.76758 10.5084 9.91016C10.577 10.0527 10.6221 10.2198 10.5303 10.4023C10.4385 10.5848 10.3928 10.6987 10.2513 10.8633C10.1097 11.0273 9.95431 11.2295 9.82618 11.3574C9.68399 11.499 9.53643 11.653 9.70165 11.9355C9.86688 12.2181 10.4347 13.1504 11.2822 13.9082C12.3713 14.8828 13.2886 15.1826 13.5713 15.3252C13.854 15.4678 14.0226 15.4443 14.1878 15.2598C14.353 15.0752 14.8979 14.4336 15.0859 14.1504C15.274 13.8672 15.4619 13.916 15.7212 14.0117C15.9806 14.1074 17.3516 14.7773 17.6343 14.9199C17.917 15.0625 18.1059 15.1348 18.1748 15.2539C18.2441 15.373 18.2441 15.9414 18.0098 16.6074C17.7754 17.2734 16.6284 17.9072 16.1064 17.9531C15.5845 17.999 15.0918 18.1928 12.7432 17.2754C9.91772 16.1738 8.09619 13.3047 7.95361 13.1152C7.81103 12.9258 6.80176 11.5723 6.80176 10.1719C6.80176 8.77148 7.52759 8.08398 7.7876 7.79883C8.04736 7.51367 8.31494 7.3125 8.49659 7.3125Z"})),ut={phone:st,group:()=>S("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},S("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"})),bot:()=>S("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},S("path",{fillRule:"evenodd",d:"M13.5 2C13.5 2.44425 13.3069 2.84339 13 3.11805V5H18C19.6569 5 21 6.34315 21 8V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V8C3 6.34315 4.34315 5 6 5H11V3.11805C10.6931 2.84339 10.5 2.44425 10.5 2C10.5 1.17157 11.1716 0.5 12 0.5C12.8284 0.5 13.5 1.17157 13.5 2ZM2 10H0V16H2V10ZM22 10H24V16H22V10ZM10.5 13C10.5 13.8284 9.82843 14.5 9 14.5C8.17157 14.5 7.5 13.8284 7.5 13C7.5 12.1716 8.17157 11.5 9 11.5C9.82843 11.5 10.5 12.1716 10.5 13ZM15 14.5C15.8284 14.5 16.5 13.8284 16.5 13C16.5 12.1716 15.8284 11.5 15 11.5C14.1716 11.5 13.5 12.1716 13.5 13C13.5 13.8284 14.1716 14.5 15 14.5Z"}))},pt=({contact:e})=>{const{box:t}=rt(),n=e?.type||"phone";return S("div",{className:"qlwapp__avatar"},S("div",{className:"qlwapp__avatar__type-badge","aria-hidden":"true"},S(ut[n]||st,null)),S("span",{className:"qlwapp__avatar__sr-only"},n),S("div",{className:"qlwapp__avatar__container"},e?.avatar?function(e){try{return new URL(e),!0}catch(e){return!1}}(e.avatar)?S("img",{src:e.avatar,alt:e.firstname,loading:"yes"===t.lazy_load&&"lazy"}):S("div",{className:"qlwapp__avatar__container qlwapp__avatar__container--icon"},S("span",null,e?.avatar)):S("div",{className:"qlwapp__avatar__container qlwapp__avatar__container--icon"},S("span",null,e?.name?.charAt(0).toUpperCase()))))},_t=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t(e))};function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function dt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(c=(o=a.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}
vendor: 6,186 bytes, line 2
2finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ft(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const mt=Object.entries,ht=Object.setPrototypeOf,gt=Object.isFrozen,yt=Object.getPrototypeOf,vt=Object.getOwnPropertyDescriptor;let bt=Object.freeze,wt=Object.seal,St=Object.create,Tt="undefined"!=typeof Reflect&&Reflect,Ct=Tt.apply,At=Tt.construct;bt||(bt=function(e){return e}),wt||(wt=function(e){return e}),Ct||(Ct=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),At||(At=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const Et=Gt(Array.prototype.forEach),xt=Gt(Array.prototype.lastIndexOf),Nt=Gt(Array.prototype.pop),kt=Gt(Array.prototype.push),Ot=Gt(Array.prototype.splice),Dt=Array.isArray,Rt=Gt(String.prototype.toLowerCase),It=Gt(String.prototype.toString),Lt=Gt(String.prototype.match),Mt=Gt(String.prototype.replace),Pt=Gt(String.prototype.indexOf),qt=Gt(String.prototype.trim),Ut=Gt(Number.prototype.toString),Ht=Gt(Boolean.prototype.toString),zt="undefined"==typeof BigInt?null:Gt(BigInt.prototype.toString),Ft="undefined"==typeof Symbol?null:Gt(Symbol.prototype.toString),$t=Gt(Object.prototype.hasOwnProperty),Bt=Gt(Object.prototype.toString),Wt=Gt(RegExp.prototype.test),jt=(Yt=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return At(Yt,t)});var Yt;function Gt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Ct(e,t,o)}}function Vt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rt;if(ht&&ht(e,null),!Dt(t))return e;let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(gt(t)||(t[o]=e),r=e)}e[r]=!0}return e}function Zt(e){for(let t=0;t<e.length;t++)$t(e,t)||(e[t]=null);return e}function Kt(e){const t=St(null);for(const o of mt(e)){var n=dt(o,2);const r=n[0],a=n[1];$t(e,r)&&(Dt(a)?t[r]=Zt(a):a&&"object"==typeof a&&a.constructor===Object?t[r]=Kt(a):t[r]=a)}return t}function Xt(e,t){for(;null!==e;){const n=vt(e,t);if(n){if(n.get)return Gt(n.get);if("function"==typeof n.value)return Gt(n.value)}e=yt(e)}return function(){return null}}const Jt=bt(["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"]),Qt=bt(["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"]),en=bt(["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"]),tn=bt(["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"]),nn=bt(["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"]),on=bt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),rn=bt(["#text"]),an=bt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),ln=bt(["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","dominant-baseline","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","pointer-events","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-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","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"]),cn=bt(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),sn=bt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),un=wt(/{{[\w\W]*|^[\w\W]*}}/g),pn=wt(/<%[\w\W]*|^[\w\W]*%>/g),_n=wt(/\${[\w\W]*/g),fn=wt(/^data-[\-\w.\u00B7-\uFFFF]+$/),dn=wt(/^aria-[\-\w]+$/),mn=wt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hn=wt(/^(?:\w+script|data):/i),gn=wt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yn=wt(/^html$/i),vn=wt(/^[a-z][.\w]*(-[.\w]+)+$/i),bn=wt(/<[/\w!]/g),wn=wt(/<[/\w]/g),Sn=wt(/<\/no(script|embed|frames)/i),Tn=wt(/\/>/i),Cn=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],An=bt(Vt({},Cn)),En=function(){const e={};return Et(Cn,t=>{e[t]=wt(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),bt(e)}(),xn=function(){return"undefined"==typeof window?null:window},Nn=function(e,t,n,o){return $t(e,t)&&Dt(e[t])?Vt(o.base?Kt(o.base):{},e[t],o.transform):n},kn=function(e,t,n){const o=$t(e,t)?e[t]:void 0;return o&&"object"==typeof o?Kt(o):n()};var On=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xn();const n=t=>e(t);if(n.version="3.4.14",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let o=t.document;const r=o,a=r.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,l=t.Node,c=t.Element,s=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,p=t.trustedTypes,_=c.prototype,f=Xt(_,"cloneNode"),d=Xt(_,"remove"),m=Xt(_,"nextSibling"),h=Xt(_,"childNodes"),g=Xt(_,"parentNode"),y=Xt(_,"shadowRoot"),v=Xt(_,"attributes"),b=l&&l.prototype?Xt(l.prototype,"nodeType"):null,w=l&&l.prototype?Xt(l.prototype,"nodeName"):null,S=l&&l.prototype?Xt(l.prototype,"ownerDocument"):null,T=function(e){return b?b(e):e.nodeType},C=function(e){return w?w(e):e.nodeName};if("function"==typeof i){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let A,E,x="",N=!1,k=0;const O=function(){if(k>0)throw jt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},D=function(e){O(),k++;try{return A.createHTML(e)}finally{k--}},R=o,I=R.implementation,L=R.createNodeIterator,M=R.createDocumentFragment,P=R.getElementsByTagName,q=r.importNode;let U={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof mt&&"function"==typeof g&&I&&void 0!==I.createHTMLDocument;const H=un,z=pn,F=_n,$=fn,B=dn,W=hn,j=gn,Y=vn;let G=mn,V=null;const Z=Vt({},[...Jt,...Qt,...en,...nn,...rn]);let K=null;const X=Vt({},[...an,...ln,...cn,...sn]);let J=Object.seal(St(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}})),Q=null,ee=null;const te=Object.seal(St(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ne=!0,oe=!0,re=!1,ae=!0,ie=!1,le=!0,ce=!1,se=!1,ue=null,pe=null,_e=!1,fe=!1,de=!1,me=!1,he=!0,ge=!1;const ye="user-content-";let ve=!0,be=!1,we={},Se=null;const Te=Vt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ce=null;const Ae=Vt({},["audio","video","img","source","image","track"]);let Ee=null;const xe=Vt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ne="http://www.w3.org/1998/Math/MathML",ke="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml";let De=Oe,Re=!1,Ie=null;const Le=Vt({},[Ne,ke,Oe],It),Me=bt(["mi","mo","mn","ms","mtext"]);let Pe=Vt({},Me);const qe=bt(["annotation-xml"]);let Ue=Vt({},qe);const He=Vt({},["title","style","font","a","script"]);let ze=null;const Fe=["application/xhtml+xml","text/html"];let $e=null,Be=null;const We=o.createElement("form"),je=function(e){return e instanceof RegExp||e instanceof Function},Ye=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Be&&Be===e)return;e&&"object"==typeof e||(e={}
vendor: 6,754 bytes, line 2
2),e=Kt(e),ze=-1===Fe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,$e="application/xhtml+xml"===ze?It:Rt,V=Nn(e,"ALLOWED_TAGS",Z,{transform:$e}),K=Nn(e,"ALLOWED_ATTR",X,{transform:$e}),Ie=Nn(e,"ALLOWED_NAMESPACES",Le,{transform:It}),Ee=Nn(e,"ADD_URI_SAFE_ATTR",xe,{transform:$e,base:xe}),Ce=Nn(e,"ADD_DATA_URI_TAGS",Ae,{transform:$e,base:Ae}),Se=Nn(e,"FORBID_CONTENTS",Te,{transform:$e}),Q=Nn(e,"FORBID_TAGS",Kt({}),{transform:$e}),ee=Nn(e,"FORBID_ATTR",Kt({}),{transform:$e}),we=!!$t(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Kt(e.USE_PROFILES):e.USE_PROFILES),ne=!1!==e.ALLOW_ARIA_ATTR,oe=!1!==e.ALLOW_DATA_ATTR,re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ae=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ie=e.SAFE_FOR_TEMPLATES||!1,le=!1!==e.SAFE_FOR_XML,ce=e.WHOLE_DOCUMENT||!1,fe=e.RETURN_DOM||!1,de=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,_e=e.FORCE_BODY||!1,he=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,ve=!1!==e.KEEP_CONTENT,be=e.IN_PLACE||!1,G=function(e){try{return Wt(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:mn,De="string"==typeof e.NAMESPACE?e.NAMESPACE:Oe,Pe=kn(e,"MATHML_TEXT_INTEGRATION_POINTS",()=>Vt({},Me)),Ue=kn(e,"HTML_INTEGRATION_POINTS",()=>Vt({},qe));const t=kn(e,"CUSTOM_ELEMENT_HANDLING",()=>St(null));if(J=St(null),$t(t,"tagNameCheck")&&je(t.tagNameCheck)&&(J.tagNameCheck=t.tagNameCheck),$t(t,"attributeNameCheck")&&je(t.attributeNameCheck)&&(J.attributeNameCheck=t.attributeNameCheck),$t(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(J.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),wt(J),ie&&(oe=!1),de&&(fe=!0),we&&(V=Vt({},rn),K=St(null),!0===we.html&&(Vt(V,Jt),Vt(K,an)),!0===we.svg&&(Vt(V,Qt),Vt(K,ln),Vt(K,sn)),!0===we.svgFilters&&(Vt(V,en),Vt(K,ln),Vt(K,sn)),!0===we.mathMl&&(Vt(V,nn),Vt(K,cn),Vt(K,sn))),te.tagCheck=null,te.attributeCheck=null,$t(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?te.tagCheck=e.ADD_TAGS:Dt(e.ADD_TAGS)&&(V===Z&&(V=Kt(V)),Vt(V,e.ADD_TAGS,$e))),$t(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?te.attributeCheck=e.ADD_ATTR:Dt(e.ADD_ATTR)&&(K===X&&(K=Kt(K)),Vt(K,e.ADD_ATTR,$e))),$t(e,"ADD_FORBID_CONTENTS")&&Dt(e.ADD_FORBID_CONTENTS)&&(Se===Te&&(Se=Kt(Se)),Vt(Se,e.ADD_FORBID_CONTENTS,$e)),ve&&(V["#text"]=!0),ce&&Vt(V,["html","head","body"]),V.table&&(Vt(V,["tbody"]),delete Q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw jt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw jt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=A;A=e.TRUSTED_TYPES_POLICY;try{x=D("")}catch(e){throw A=t,e}}else null===e.TRUSTED_TYPES_POLICY?(A=void 0,x=""):(void 0===A&&(N||(E=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(p,a),N=!0),A=E),A&&"string"==typeof x&&(x=D("")));bt&&bt(e),Be=e},Ge=Vt({},[...Qt,...en,...tn]),Ve=Vt({},[...nn,...on]),Ze=function(e){kt(n.removed,{element:e});try{g(e).removeChild(e)}catch(t){if(d(e),!g(e))throw jt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ke=function(e,t,n){try{e.removeAttributeNode(t)}catch(t){try{e.removeAttribute(n)}catch(e){}}},Xe=function(e){et(e);const t=h(e);if(t){const e=[];Et(t,t=>{kt(e,t)}),Et(e,e=>{try{d(e)}catch(e){}})}const n=v(e);if(n)for(let t=n.length-1;t>=0;--t){const o=n[t],r=o&&o.name;"string"==typeof r&&Ke(e,o,r)}},Je=function(e,t,o){if(!o)try{o=t.getAttributeNode(e)}catch(e){o=null}kt(n.removed,{attribute:o||null,from:t});try{o?t.removeAttributeNode(o):t.removeAttribute(e)}catch(n){try{t.removeAttribute(e)}catch(e){}}if("is"===e)if(fe||de)try{Ze(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Qe=function(e){const t=v(e);if(t)for(let n=t.length-1;n>=0;--n){const o=t[n],r=o&&o.name;"string"!=typeof r||K[$e(r)]||Ke(e,o,r)}},et=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===T(e)&&Qe(e);const n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},tt=function(e,t){return!!le&&("patchsrc"===e||"for"===e&&"label"!==t&&"output"!==t)},nt=function(e){let t=null,n=null;if(_e)e="<remove></remove>"+e;else{const t=Lt(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ze&&De===Oe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=A?D(e):e;if(De===Oe)try{t=(new u).parseFromString(r,ze)}catch(e){}if(!t||!t.documentElement){t=I.createDocument(De,"template",null);try{t.documentElement.innerHTML=Re?x:r}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),De===Oe?P.call(t,ce?"html":"body")[0]:ce?t.documentElement:a},ot=function(e){const t=S?S(e):e.ownerDocument;return L.call(t||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},rt=function(e){return e=Mt(e,H," "),e=Mt(e,z," "),Mt(e,F," ")},at=function(e){var t;e.normalize();const n=S?S(e):e.ownerDocument,o=L.call(n||e,e,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);let r=o.nextNode();for(;r;)r.data=rt(r.data),r=o.nextNode();const a=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");a&&Et(a,e=>{lt(e.content)&&at(e.content)})},it=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===$e(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==v(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==b(e)||e.childNodes!==h(e))},lt=function(e){if(!b||"object"!=typeof e||null===e)return!1;try{return 11===b(e)}catch(e){return!1}},ct=function(e){if(!b||"object"!=typeof e||null===e)return!1;try{return"number"==typeof b(e)}catch(e){return!1}};function st(e,t,o){0!==e.length&&Et(e,e=>{e.call(n,t,o,Be)})}const ut=function(e,t){if(e instanceof RegExp)return Wt(e,t);if(e instanceof Function){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return Boolean(e(t,...o))}return!1},pt=function(e,t,n,o){return 0===e.length?t:t===n||t===o?Kt(t):t},_t=function(e,t){return e!==t&&null===g(e)&&(be&&et(e),!0)},ft=function(e,t){if(st(U.beforeSanitizeElements,e,null),_t(e,t))return!0;
vendor: 5,151 bytes, line 2
2if(it(e))return Ze(e),!0;const o=$e(C(e));if(V=pt(U.uponSanitizeElement,V,Z,ue),st(U.uponSanitizeElement,e,{tagName:o,allowedTags:V}),_t(e,t))return!0;if(function(e,t){return!!(le&&e.hasChildNodes()&&!ct(e.firstElementChild)&&Wt(bn,e.textContent)&&Wt(bn,e.innerHTML))||!!(le&&e.namespaceURI===Oe&&An[t]&&(ct(e.firstElementChild)||"string"==typeof e.textContent&&Wt(En[t],e.textContent)))||7===e.nodeType||!(!le||8!==e.nodeType||!Wt(wn,e.data))}(e,o))return Ze(e),!0;if(Q[o]||!(te.tagCheck instanceof Function&&te.tagCheck(o))&&!V[o]){const n=function(e,t,n){if(!Q[t]&&gt(t)&&ut(J.tagNameCheck,t))return!1;if(ve&&!Se[t]){const t=g(e),o=h(e);if(o&&t)for(let r=o.length-1;r>=0;--r){const a=e===n?f(o[r],!0):o[r];t.insertBefore(a,m(e))}}return Ze(e),!0}(e,o,t);return!1===n&&st(U.afterSanitizeElements,e,null),n}if(1===T(e)&&!function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:De,tagName:"template"});const n=Rt(e.tagName),o=Rt(t.tagName);return!!Ie[e.namespaceURI]&&(e.namespaceURI===ke?function(e,t,n){return t.namespaceURI===Oe?"svg"===e:t.namespaceURI===Ne?"svg"===e&&("annotation-xml"===n||Pe[n]):Boolean(Ge[e])}(n,t,o):e.namespaceURI===Ne?function(e,t,n){return t.namespaceURI===Oe?"math"===e:t.namespaceURI===ke?"math"===e&&Ue[n]:Boolean(Ve[e])}(n,t,o):e.namespaceURI===Oe?function(e,t,n){return!(t.namespaceURI===ke&&!Ue[n])&&!(t.namespaceURI===Ne&&!Pe[n])&&!Ve[e]&&(He[e]||!Ge[e])}(n,t,o):!("application/xhtml+xml"!==ze||!Ie[e.namespaceURI]))}(e))return Ze(e),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&Wt(Sn,e.innerHTML))return Ze(e),!0;if(ie&&3===e.nodeType){const t=rt(e.textContent);e.textContent!==t&&(kt(n.removed,{element:e.cloneNode()}),e.textContent=t)}return st(U.afterSanitizeElements,e,null),!1},dt=function(e,t,n){if(ee[t])return!1;if(tt(t,e))return!1;if(he&&("id"===t||"name"===t)&&(n in o||n in We))return!1;const r=K[t]||te.attributeCheck instanceof Function&&te.attributeCheck(t,e);return!(!oe||!Wt($,t))||!(!ne||!Wt(B,t))||(r?!(!Ee[t]&&!Wt(G,Mt(n,j,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Pt(n,"data:")||!Ce[e])&&(!re||Wt(W,Mt(n,j,"")))&&n):gt(e)&&ut(J.tagNameCheck,e)&&ut(J.attributeNameCheck,t,e)||"is"===t&&J.allowCustomizedBuiltInElements&&ut(J.tagNameCheck,n))},ht=Vt({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),gt=function(e){return!ht[Rt(e)]&&Wt(Y,e)},yt=function(e,t,n,o){if(A&&"object"==typeof p&&"function"==typeof p.getAttributeType&&!n)switch(p.getAttributeType(e,t)){case"TrustedHTML":return D(o);case"TrustedScriptURL":return function(e){O(),k++;try{return A.createScriptURL(e)}finally{k--}}(o)}return o},vt=function(e,t,o,r){try{o?e.setAttributeNS(o,t,r):e.setAttribute(t,r),it(e)?Ze(e):Nt(n.removed)}catch(n){Je(t,e)}},Tt=function(e){st(U.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||it(e))return;K=pt(U.uponSanitizeAttribute,K,X,pe);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let o=t.length;const r=$e(e.nodeName);for(;o--;){const a=t[o],i=a.name,l=a.namespaceURI,c=a.value,s=$e(i),u=c;let p="value"===i?u:qt(u);n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,st(U.uponSanitizeAttribute,e,n),p=n.attrValue,!ge||"id"!==s&&"name"!==s||0===Pt(p,ye)||(Je(i,e,a),p=ye+p),le&&Wt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)||"attributename"===s&&Lt(p,"href")?Je(i,e,a):n.forceKeepAttr||(!n.keepAttr||!ae&&Wt(Tn,p)?Je(i,e,a):(ie&&(p=rt(p)),dt(r,s,p)?(p=yt(r,s,l,p),p!==u&&vt(e,i,l,p)):Je(i,e,a)))}st(U.afterSanitizeAttributes,e,null)},Ct=function(e){let t=null;const n=ot(e);for(st(U.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(st(U.uponSanitizeShadowNode,t,null),ft(t,e),Tt(t),lt(t.content)&&Ct(t.content),1===T(t)){const e=y(t);lt(e)&&(At(e),Ct(e))}st(U.afterSanitizeShadowDOM,e,null)},At=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){Ct(e.shadow);continue}const n=e.node,o=1===T(n),r=h(n);if(r)for(let e=r.length-1;e>=0;--e)t.push({node:r[e],shadow:null});if(o){const e=w?w(n):null;if("string"==typeof e&&"template"===$e(e)){const e=n.content;lt(e)&&t.push({node:e,shadow:null})}}if(o){const e=y(n);lt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=null,i=null,l=null;if(Re=!e,Re&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ct(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return Ut(e);case"boolean":return Ht(e);case"bigint":return zt?zt(e):"0";case"symbol":return Ft?Ft(e):"Symbol()";case"undefined":default:return Bt(e);case"function":case"object":{if(null===e)return Bt(e);const t=e,n=Xt(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:Bt(e)}return Bt(e)}}}(e)))throw jt("dirty is not a string, aborting");if(!n.isSupported)return e;se?(V=ue,K=pe):Ye(t),(U.uponSanitizeElement.length>0||U.uponSanitizeAttribute.length>0)&&(V=Kt(V)),U.uponSanitizeAttribute.length>0&&(K=Kt(K)),n.removed=[];const c=be&&"string"!=typeof e&&ct(e);
2if(c){!function(e){if(!le)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=T(e);if(7===n||8===n&&Wt(wn,e.data)){try{d(e)}catch(e){}continue}if(1===n){const t=e,n=$e(C(e));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&tt("for",n)&&t.removeAttribute("for")}catch(e){}}const o=h(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}}(e);const t=C(e);if("string"==typeof t){const n=$e(t);if(!V[n]||Q[n])throw Xe(e),jt("root node is forbidden and cannot be sanitized in-place")}if(it(e))throw Xe(e),jt("root node is clobbered and cannot be sanitized in-place");try{At(e)}catch(t){throw Xe(e),t}}else if(ct(e))o=nt("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a),At(a);else{if(!fe&&!ie&&!ce&&-1===e.indexOf("<"))return A&&me?D(e):e;if(o=nt(e),!o)return fe?null:me?x:""}o&&_e&&Ze(o.firstChild);const s=c?e:o;try{const e=ot(s);for(;i=e.nextNode();)ft(i,s),Tt(i),lt(i.content)&&Ct(i.content)}catch(t){throw c&&(Xe(e),Et(n.removed,e=>{e.element&&et(e.element)})),t}if(c)return Et(n.removed,e=>{e.element&&et(e.element)}),ie&&at(e),e;if(fe){if(ie&&at(o),de)for(l=M.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return(K.shadowroot||K.shadowrootmode)&&(l=q.call(r,l,!0)),l}let u=ce?o.outerHTML:o.innerHTML;return ce&&V["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&Wt(yn,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),ie&&(u=rt(u)),A&&me?D(u):u},n.setConfig=function(){Ye(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),se=!0,ue=V,pe=K},n.clearConfig=function(){Be=null,se=!1,ue=null,pe=null,A=E,x=""},n.isValidAttribute=function(e,t,n){Be||Ye({});const o=$e(e),r=$e(t);return dt(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&$t(U,e)&&kt(U[e],t)},n.removeHook=function(e,t){if($t(U,e)){if(void 0!==t){const n=xt(U[e],t);return-1===n?void 0:Ot(U[e],n,1)[0]}return Nt(U[e])}},n.removeHooks=function(e){$t(U,e)&&(U[e]=[])},n.removeAllHooks=function(){U={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Dn=["style","form","input","button","textarea","select","option","iframe","frame","object","embed","base","link","meta"],Rn=["target","data-action","data-phone","data-message","data-whatsapp-link-type"],In=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix|whatsapp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;let Ln=!1;function Mn(e){return"string"!=typeof e||""===e?"":On.isSupported?(Ln||(On.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener noreferrer")}),Ln=!0),On.sanitize(e,{FORBID_TAGS:Dn,ADD_ATTR:Rn,ALLOWED_URI_REGEXP:In,ALLOW_DATA_ATTR:!1,ALLOW_UNKNOWN_PROTOCOLS:!1})):""}const Pn=({onClose:e,onPrevious:t})=>{const{contactId:n,box:o,contacts:r}=rt(),a=r.find(e=>"bot"===e.type?e.bot_id===n:e.id===n),i=_e(()=>({__html:Mn(o.header)}),[o.header]);return S("div",{className:"qlwapp__header"},S("i",{className:"qlwapp__close",onClick:e,onKeyDown:t=>_t(t,e),role:"button",tabIndex:"0"},"×"),S("div",{className:"qlwapp__carousel"},S("div",{className:"qlwapp__carousel-slide"},o.header&&S("div",{className:"qlwapp__header-description",dangerouslySetInnerHTML:i})),S("div",{className:"qlwapp__carousel-slide"},S("div",{className:"qlwapp__header-contact"},S("div",{className:"qlwapp__header-contact-buttons"},S("a",{className:"qlwapp__previous",onClick:t,onKeyDown:e=>_t(e,t),role:"button",tabIndex:"0"},S(ct,null))),S("div",{className:"qlwapp__info"},S("span",{className:"qlwapp__name"},`${a?.firstname} ${a?.lastname}`),S("span",{className:"qlwapp__time"},a?.timefrom!==a?.timeto&&lt(it("Available from %1$s to %2$s"),a?.timefrom,a?.timeto),a?.label&&` - ${a?.label}`)),S(pt,{contact:a})))))},qn=()=>S("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},S("path",{d:"M2.776 31.54c-1.954 1.036-3.144 0.122-2.658-2.038l2.066-9.17c0.246-1.086 1.318-2.068 2.432-2.2l12.39-1.44c3.296-0.38 3.308-0.996 0-1.374l-12.39-1.416c-1.1-0.126-2.18-1.080-2.424-2.17l-2.080-9.264c-0.486-2.146 0.704-3.046 2.662-2.006l25.7 13.658c1.956 1.038 1.96 2.72 0 3.76l-25.7 13.66z"})),Un=()=>{const e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t=window.matchMedia("(pointer:coarse)");return t&&t.matches||e},Hn=({type:e,group:t,phone:n,message:o,whatsapp_link_type:r="web"})=>
2{const a=Un()?"api":r,i="api"===a?"https://api.whatsapp.com/send":"https://web.whatsapp.com/send";if("group"===e){const e=(e=>{try{const t=new URL(e);if("chat.whatsapp.com"===t.hostname)return t.pathname.replace("/","");if("web.whatsapp.com"===t.hostname&&"/accept"===t.pathname)return t.searchParams.get("code")}catch(e){console.error("Invalid URL",e)}return null})(t);return"api"===a?`https://chat.whatsapp.com/${e}`:`https://web.whatsapp.com/accept?code=${e}`}return`${i}?phone=${function(e){return(e=e.replace(new RegExp("[^0-9]","g"),"")).replace(new RegExp("^0+"),"")}(n?.toString())}&text=${encodeURIComponent(function(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}(o))}`};function zn(e){const t=Hn(e),n=new CustomEvent("qlwapp.click",{bubbles:!0,cancelable:!0});window.dispatchEvent(n),window.open(t,"_blank","noreferrer")}const Fn=()=>{const{box:e,contacts:t,contactId:n,generalConsentAccepted:o}=rt(),r=t.find(e=>"bot"===e.type?e.bot_id===n:e.id===n),[a,i]=ce(""),l=pe(),c=pe(null),s="yes"===e?.consent_enabled&&!o,u=!a.trim()||s,p=_e(()=>({__html:Mn(e.footer)}),[e.footer]);ue(()=>{l.current&&l.current.focus()},[]);const _=(e=!1)=>{const t=l.current;t&&(t.style.height="",e||""===a||(t.style.height=`${t.scrollHeight}px`))},f=e=>{e.preventDefault(),(()=>{if(u)return;const e=a.trim();i(""),_(!0),zn({...r,message:e})})()},d=fe(e=>{if(c.current&&(c.current.disconnect(),c.current=null),!e)return;const t=()=>{const t=e.getBoundingClientRect().width;document.documentElement.style.setProperty("--qlwapp-button-width",`${t}px`)};t();const n=requestAnimationFrame(t),o=new ResizeObserver(t);return o.observe(e),c.current=o,()=>{cancelAnimationFrame(n),o.disconnect()}},[]);return S(C,null,e?.footer&&S("div",{className:"qlwapp__footer",dangerouslySetInnerHTML:p}),S("div",{className:"qlwapp__response"},S("pre",{className:"qlwapp__response__input"},a),S("textarea",{className:"qlwapp__response__input",name:"message",ref:l,maxLength:"300",onChange:e=>{e.preventDefault(),i(e.target.value),_()},onKeyDown:e=>{e.shiftKey&&"Enter"===e.key||"Enter"!==e.key||u||f(e)},value:a,placeholder:e?.response,"aria-label":e?.response,tabIndex:"0",disabled:s}),S("div",{className:"qlwapp__response__buttons",ref:d},S("a",{className:Ve()("qlwapp__reply",u&&"qlwapp__reply--disabled"),role:"button",tabIndex:"0",onClick:f,title:"Send",target:"blank"},S(qn,null)))))};function $n(e,t){return parseInt(e+t)}function Bn(e){let t=""+e.getMinutes();return 1===t.length&&(t="0"+t),e.getHours()+":"+t}const Wn=({timezone:e,timefrom:t,timeto:n,timedays:o})=>{const r=(({timedays:e})=>{const t=(new Date).getDay().toString();return e?.includes(t)||0===e?.length})({timedays:o}),a=function(e){let t=0;if(e?.includes("UTC")){const n=e.replace(new RegExp("UTC\\+?"),"");isNaN(n)||(t=60*parseInt(n))}else try{const n=(new Date).toLocaleString("en-US",{timeZone:e});t=(new Date(n+" UTC")-new Date)/6e4}catch(e){return 0}return t}(e),i=new Date,l=new Date,c=new Date;let s=l.getTime(),u=i.getTime();if(t!==n){const e=-c.getTimezoneOffset()-(a||0);let o,p;o=$n(t[0],t[1]),p=$n(t[3],t[4]),l.setHours(o),l.setMinutes(p+e),s=l.getTime(),o=$n(n[0],n[1]),p=$n(n[3],n[4]),i.setHours(o),i.setMinutes(p+e),u=i.getTime(),s>u&&(s-=864e5);const _=s<=c.getTime()&&c.getTime()<=u;return{isAvailableNow:r&&_,isInAvailableDay:r,isInAvailableHour:_,timefrom:Bn(l),timeto:Bn(i)}}return{isAvailableNow:r,isInAvailableDay:r,isInAvailableHour:!0}};function jn(e,t){return!!e.includes(parseInt(t))||!!e.includes(t.toString())}function Yn({timedays:e,timezone:t}){const n=function(e){try{let t=new Date;const n={weekday:"long"},o=function(e){const t=e.match(new RegExp("^UTC([+-]\\d{1,2})$"));return t?60*parseInt(t[1],10)*60*1e3:null}(e);if(null!==o){const e=new Date(t.getTime()+6e4*t.getTimezoneOffset()+o);n.timeZone="UTC",t=e}else n.timeZone=e;return{Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}[new Intl.DateTimeFormat("en-US",n).formatToParts(t).find(e=>"weekday"===e.type).value]}catch(e){return null}}(t);if(null===n)return!1;const o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"];for(let t=n;t<=6;t++)if(jn(e,t))return o[t];for(let t=0;t<n;t++)if(jn(e,t))return o[t];return!1}const Gn=({contact:e,onClick:t})=>{const{box:n,generalConsentAccepted:o}=rt(),{isAvailableNow:r,isInAvailableDay:a,isInAvailableHour:i,timefrom:l,timeto:c}=Wn(e);if(!r&&"hidden"===e.visibility)return;const s=Yn(e),u="yes"===n?.consent_enabled&&!o;return S("a",{className:Ve()("qlwapp__contact",!r&&"readonly"===e.visibility||u?"qlwapp__contact--disabled":""),onClick:t,onKeyDown:_t,role:"button",tabIndex:"0",target:"_blank"},S(pt,{contact:e}),S("div",{className:"qlwapp__info"},S("span",{className:"qlwapp__label"},e?.label),S("span",{className:"qlwapp__name"},"bot"===e?.type?e?.firstname:`${e?.firstname} ${e?.lastname}`),"with_status"===e?.visibility&&S("div",{className:"qlwapp__status qlwapp__info"},S("div",{className:"qlwapp__status__indicator "+(r?"qlwapp__status__indicator--online":"qlwapp__status__indicator--offline")}),S("span",{className:"qlwapp__status__text"},r?"Online":"Offline")),a?!i&&S("span",{className:"qlwapp__time"},lt(it("Available from %1$s to %2$s"),l,c)):s&&S("span",{className:"qlwapp__time"},lt(it("Available on %s"),s))))},Vn=({onClick:e})=>{const[,t]=(()=>{const[e,t]=ce(!1);return[e,e=>{t(!0),setTimeout(()=>{e(),t(!1)},0)}]})(),n=pe(null),{box:o,contacts:r,setContactId:a,generalConsentAccepted:i}=rt(),l=n=>r=>{r.preventDefault(),"yes"===o?.consent_enabled&&!i||(n.chat||"bot"===n?.type?(e("qlwapp__modal--opening"),t(()=>{a("bot"===n.type?n.bot_id:n.id)})):zn(n))},c=()=>{const e=document.querySelector(".qlwapp__header")?.offsetHeight,t=o.footer?document.querySelector(".qlwapp__footer")?.offsetHeight:document.querySelector(".qlwapp__response")?.offsetHeight;let n=window.innerHeight-e-t;Un()&&(n=.7*window.innerHeight-e-t),document.documentElement.style.setProperty("--qlwapp-scheme-box-height",`${n}px`)};return ue(()=>(window.addEventListener("resize",c()),window.addEventListener("load",c()),()=>{window.removeEventListener("resize",c()),window.removeEventListener("load",c())}),[]),ue(()=>{const e=n.current;if(!e)return;const t=t=>{const n=e.scrollTop<=0,o=Math.ceil(e.scrollTop)+e.clientHeight>=e.scrollHeight;(n&&t.deltaY<0||o&&t.deltaY>0)&&t.preventDefault()};return e.addEventListener("wheel",t,{passive:!1}),()=>e.removeEventListener("wheel",t)},[]),S("div",{ref:n,className:"qlwapp__contact-list"},r.length?r.map(e=>S(Gn,{key:e.id,contact:e,onClick:l(e)})):S("div",{className:"qlwapp__contact-list__empty"},"No contacts found."))};var Zn={"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]};function Kn(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function Xn(e){return(e+"").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Jn(e,t){var n,o,r,a,i,l=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t|  {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|(  \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,c=[],s="",u=t||{},p=0;function _(e){var t=Zn[e[1]||""],n=c[c.length-1]==e;return t?t[1]?(n?c.pop():c.push(e),t[0|n]):t[0]:e}function f(){for(var e="";c.length;)e+=_(c[c.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,function(e,t,n){return u[t.toLowerCase()]=n,""}).replace(/^\n+|\n+$/g,"");r=l.exec(e);)o=e.substring(p,r.index),p=l.lastIndex,n=r[0],o.match(/[^\\](\\\\)*\\$/)||((i=r[3]||r[4])?n='<pre class="code '+(r[4]?"poetry":r[2].toLowerCase())+'"><code'+(r[2]?' class="language-'+r[2].toLowerCase()+'"':"")+">"+Kn(Xn(i).replace(/^\n+|\n+$/g,""))+"</code></pre>":(i=r[6])?(i.match(/\./)&&(r[5]=r[5].replace(/^\d+/gm,"")),a=Jn(Kn(r[5].replace(/^\s*[>*+.-]/gm,""))),">"==i?i="blockquote":(i=i.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),n="<"+i+">"+a+"</"+i+">"):r[8]?n='<img src="'+Xn(r[8])+'" alt="'+Xn(r[7])+'">':r[10]?(s=s.replace("<a>",'<a href="'+Xn(r[11]||u[o.toLowerCase()])+'">
2'),n=f()+"</a>"):r[9]?n="<a>":r[12]||r[14]?n="<"+(i="h"+(r[14]?r[14].length:r[13]>"="?1:2))+">"+Jn(r[12]||r[15],u)+"</"+i+">":r[16]?n="<code>"+Xn(r[16])+"</code>":(r[17]||r[1])&&(n=_(r[17]||"--"))),s+=o,s+=n;return(s+e.substring(p)+f()).replace(/^\n+|\n+$/g,"")}function Qn(e){if(null==e)return"";const t=new RegExp("(https?:\\/\\/[^\\s<]+)","g"),n=[];let o=Jn(e.replace(t,e=>{const t=`URLPLACEHOLDER${n.length}URLPLACEHOLDER`;return n.push(e),t}));return n.forEach((e,t)=>{const n=`URLPLACEHOLDER${t}URLPLACEHOLDER`;o=o.replace(n,e)}),o}const eo=e=>{if(!e||"string"!=typeof e)return e;const t=document.createElement("textarea");return t.innerHTML=e,t.value.replace(new RegExp("&","g"),"&amp;").replace(new RegExp("<","g"),"&lt;").replace(new RegExp(">","g"),"&gt;").replace(new RegExp('"',"g"),"&quot;").replace(new RegExp("'","g"),"&#039;").replace(new RegExp("\\n","g"),"<br>")},to=({text:e,status:t,source:n})=>{const o=_e(()=>({__html:Mn(Qn(eo(e)))}),[e]);return S("div",{className:Ve()("qlwapp__message",n&&`qlwapp__message--${n}`,t&&`qlwapp__message--${t}`)},S("div",{dangerouslySetInnerHTML:o}))},no=()=>{const e=pe(null),t=pe(null),{contactId:n,contactsConversation:o}=rt(),{messageListArray:r=[]}=o[n]||{messageListArray:[]};return ue(()=>{e.current&&r.length>0&&setTimeout(()=>{e.current?.scrollIntoView({behavior:"smooth",block:"nearest"})},[700])},[r]),ue(()=>{const e=t.current;if(!e)return;const n=t=>{const n=e.scrollTop<=0,o=Math.ceil(e.scrollTop)+e.clientHeight>=e.scrollHeight;(n&&t.deltaY<0||o&&t.deltaY>0)&&t.preventDefault()};return e.addEventListener("wheel",n,{passive:!1}),()=>e.removeEventListener("wheel",n)},[]),S("div",{ref:t,className:"qlwapp__message-list"},r.map(e=>S(to,{key:e.id,...e})),S("span",{ref:e}))},oo=()=>{const{contactId:e,box:t,generalConsentAccepted:n}=rt(),o=e;return!o||"yes"===t?.consent_enabled&&!n?null:S("iframe",{key:o,className:"qlwapp__bot-frame",src:`https://viewer.quick.bot/${encodeURIComponent(o)}`,title:"Chatbot conversation",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-downloads",allow:"microphone; clipboard-write"})},ro=()=>{const{box:e,generalConsentAccepted:t,setGeneralConsentAccepted:n}=rt(),[o,r]=ce(!0),[a,i]=ce(!1),l="yes"===e?.consent_enabled,c=e?.consent_message||"I accept cookies and privacy policy.",s=_e(()=>({__html:Mn(c)}),[c]);return l&&o?S("div",{className:`qlwapp__general-consent ${a?"qlwapp__general-consent--accepted":""} ${t?"":"qlwapp__general-consent--required"}`},S("label",{className:"qlwapp__general-consent-label"},S("input",{id:"qlwapp_general_consent",type:"checkbox",checked:t,onChange:e=>{const t=e.target.checked;n(t),t&&(i(!0),setTimeout(()=>{r(!1)},1e3))},className:"qlwapp__general-consent-checkbox",required:!0,"aria-required":"true"}),S("span",{className:"qlwapp__general-consent-text",dangerouslySetInnerHTML:s}))):null},ao=Ee(({handleBoxClose:e},t)=>{const{contactId:n,setContactId:o,contacts:r}=rt(),[a,i]=ce(""),l=null!==n,c=r?.find(e=>"bot"===e.type?e.bot_id===n:e.id===n),s="bot"===c?.type;return S("div",{ref:t,className:Ve()("qlwapp__modal",l&&"qlwapp__modal--response",a)},S(Pn,{onClose:e,onPrevious:e=>{e.preventDefault(),i("qlwapp__modal--closing"),setTimeout(()=>{o(null),i("")},[300])}}),S("div",{className:"qlwapp__body"},S("div",{className:"qlwapp__carousel"},S("div",{className:"qlwapp__carousel-slide"},S(Vn,{onClick:i})),S("div",{className:"qlwapp__carousel-slide"},null!==n&&S(s?oo:no,null)))),S(ro,null),!s&&S(Fn,null))}),io=Ee((e,t)=>S(ao,{...e,ref:t})),lo=e=>(e=>!(!e||"string"!=typeof e)&&(e.startsWith("http")||e.startsWith("https")||/\.(jpg|jpeg|png|gif|svg|webp)$/i.test(e)||e.includes(".")))(e)?S("img",{src:e,alt:"Custom Icon",className:"qlwapp__icon"}):S("i",{className:Ve()("qlwapp__icon",e)}),co=function({onClick:e}){const{button:t,primaryContact:n,isModalOpen:o}=rt();if(!n)return null;const{isAvailableNow:r,isInAvailableDay:a,isInAvailableHour:i,timefrom:l,timeto:c}=Wn(t);if(!r&&"hidden"===t.visibility)return;const s=Yn(t);return S("a",{className:Ve()("qlwapp__button",`qlwapp__button--${t.layout}`,!r&&"qlwapp__button--disabled"),role:"button",tabIndex:"0",onClick:o=>(o=>{o.preventDefault(),"yes"===t.box?e(o):(e=>{e.preventDefault(),zn(n)})(o)})(o)},"image"===t.layout?lo(t.icon):S(C,null,lo(t.icon),"bubble"===t.layout&&S("i",{className:"qlwapp__close"},"×"),t.text&&S("span",{className:"qlwapp__text"},t.text)),"bubble"===t.notification_bubble&&r&&!o&&S("span",{className:Ve()("qlwapp__notification-bubble",t.notification_bubble_animation&&`qlwapp__notification-bubble--${t.notification_bubble_animation}`),"aria-label":"New message notification"},"1"),a?!i&&S("span",{className:"qlwapp__time"},lt(it("Available from %1$s to %2$s"),l,c)):s&&S("span",{className:"qlwapp__time"},lt(it("Available on %s"),s)))},so=()=>window.innerWidth<=430&&Un(),uo=({children:e,containerRef:t,boxTransitionClass:n,isMobilePreview:o})=>{const[r,a]=ce(so()),{button:i}=rt(),l="yes"===i.rounded;ue(()=>{const e=()=>{a(so())};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const c=r||o;return S("div",{ref:t,className:Ve()("qlwapp__container",`qlwapp__container--${i.position}`,l&&"qlwapp__container--rounded",c&&"qlwapp-is-mobile",n)},e)},po=e=>!("hide"===e||"desktop"===e&&Un()||"mobile"===e&&!Un()),_o=e=>e?(Array.isArray(e)||(e=Object.values(e)),e.filter(e=>{const t=po(e?.display?.devices),n="hidden"===e?.visibility&&!Wn(e).isAvailableNow;return t&&!n}).sort((e,t)=>
2{const n=void 0!==e.order&&null!==e.order?e.order:Number.MAX_SAFE_INTEGER,o=void 0!==t.order&&null!==t.order?t.order:Number.MAX_SAFE_INTEGER;return n===o?0:n<o?-1:1})):[],fo=function(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&("function"==typeof n?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:Se(this.props,e)}function o(t){return this.shouldComponentUpdate=n,S(e,t)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=e,o}(e=>{const{box:t,button:n,contacts:o,isMobilePreview:r,previewContainerRef:a}=e,i=_o(o),l=pe(null),c=pe(null),[s,u]=ce(!1),[p,_]=ce(""),f="qlwapp_box_closed",d="yes"===t.auto_open&&"yes"===n.box,m="true"===function(e){const t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?t[2]:null}(f),h=Number(t.auto_delay_open);ue(()=>{d&&!m&&setTimeout(()=>{u(!0)},h)},[]),ue(()=>{const e=t.allow_outside_close||"no",n=t=>{s&&"yes"===e&&c.current&&!c.current.contains(t.target)&&(a?.current?a.current.contains(t.target)&&g(t):g(t))};if(s&&"yes"===e)return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[s,t.allow_outside_close,a]);const g=e=>{e?.preventDefault(),_("qlwapp__container--closing"),function(e){let t="";{const e=new Date;e.setTime(e.getTime()+6048e5),t="; expires="+e.toUTCString()}document.cookie=e+"=true"+t+"; path=/"}(f),setTimeout(()=>{u(!1),_("")},300)};return S(at,{...e,contacts:i,isModalOpen:s},S(uo,{isMobilePreview:r,boxTransitionClass:p,containerRef:l},s&&S(io,{ref:c,handleBoxClose:g}),S(co,{onClick:()=>{s?g():(u(!0),_("qlwapp__container--opening"),setTimeout(()=>{_("qlwapp__container--open")},300))}})))}),mo=(e,t,n)=>{if(!e.hasAttribute(t))return n;try{var o;return null!==(o=JSON.parse(e.getAttribute(t)))&&void 0!==o?o:n}catch(e){return n}};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".qlwapp").forEach(e=>{var t,n;const o=mo(e,"data-display",{}),r=mo(e,"data-button",{}),a=null!==(t=r?.devices)&&void 0!==t?t:o?.devices;if(!po(a))return;const i=mo(e,"data-box",{}),l=mo(e,"data-contacts",[]),c=_o(l),s=e.hasAttribute("data-primary-contact")?mo(e,"data-primary-contact",null):null!==(n=l[0])&&void 0!==n?n:null;Ye(e).render(S(fo,{display:o,button:r,box:i,contacts:c,primaryContact:s}))}),document.addEventListener("click",e=>{const t=e.target.closest('[data-action="open"]');if(!t)return;e.preventDefault();const n=t.dataset.phone,o=t.dataset.message,r=t.dataset.whatsappLinkType||"api";if(!n)return;const a=Hn({type:"phone",phone:n,message:o,whatsappLinkType:r}),i=new CustomEvent("qlwapp.click",{bubbles:!0,cancelable:!0});window.dispatchEvent(i),window.open(a,"_blank","noreferrer")})})})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.