2a8722ff006850c539c66460ced89ddecec84e5edcdbcce98b3ea414eee0ee1d

Source Code:

!function(e){function t(t){for(var i,s,o=t[0],c=t[1],u=t[2],d=0,f=[];o.length>d;d++)s=o[d],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&f.push(r[s][0]),r[s]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(l&&l(t);f.length;)f.shift()();return a.push.apply(a,u||[]),n()}function n(){for(var e,t=0;a.length>t;t++){for(var n=a[t],i=!0,o=1;n.length>o;o++){0!==r[n[o]]&&(i=!1)}i&&(a.splice(t--,1),e=s(s.s=n[0]))}return e}var i={},r={3:0},a=[];function s(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise(function(t,i){n=r[e]=[t,i]});t.push(n[2]=i);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.src=function(e){return s.p+""+({4:"i18n.af",5:"i18n.ar",6:"i18n.az",7:"i18n.be_BY",8:"i18n.bg",9:"i18n.bs",10:"i18n.ca",11:"i18n.cs",12:"i18n.cy",13:"i18n.da",14:"i18n.de",15:"i18n.de_AT",16:"i18n.default",17:"i18n.el",18:"i18n.en",19:"i18n.eo",20:"i18n.es",21:"i18n.et",22:"i18n.eu",23:"i18n.fa",24:"i18n.fi",25:"i18n.fr",26:"i18n.he",27:"i18n.hr",28:"i18n.hu",29:"i18n.id",30:"i18n.it",31:"i18n.ja",32:"i18n.km",33:"i18n.ko",34:"i18n.ku",35:"i18n.lo",36:"i18n.lt",37:"i18n.lv",38:"i18n.mn",39:"i18n.ms_MY",40:"i18n.nl",41:"i18n.no",42:"i18n.pl",43:"i18n.pt",44:"i18n.pt_BR",45:"i18n.ro",46:"i18n.ru",47:"i18n.sk_SK",48:"i18n.sl_SI",49:"i18n.sq",50:"i18n.sr",51:"i18n.sv",52:"i18n.ta_IN",53:"i18n.th_TH",54:"i18n.tr",55:"i18n.ug",56:"i18n.uk",57:"i18n.vi_VN",58:"i18n.zh",59:"i18n.zh_HK",60:"i18n.zh_TW",62:"route-Chat",63:"route-ChatFinished",64:"route-GDPRAgreement",65:"route-LeaveMessage",66:"route-Register",67:"route-SwitchDepartment"}[e]||e)+".chunk."+{4:"fd531",5:"0f0a2",6:"08812",7:"91f0c",8:"47ebc",9:"11383",10:"bcb1f",11:"4dba1",12:"53f70",13:"508f2",14:"ecec3",15:"8294d",16:"8d373",17:"6fd25",18:"7ff08",19:"0b6f3",20:"19f3b",21:"3baab",22:"c4056",23:"dd79e",24:"5b492",25:"b7ca1",26:"3871b",27:"6eb1e",28:"6572c",29:"7b448",30:"32af8",31:"53195",32:"f2d7b",33:"2a3c1",34:"425ee",35:"43214",36:"363cc",37:"620e1",38:"385c3",39:"dde5c",40:"83c1f",41:"f0941",42:"e4b15",43:"c4427",44:"46ec1",45:"e385b",46:"6e3f2",47:"e8e9e",48:"33dba",49:"a5322",50:"e229c",51:"6509c",52:"754a4",53:"3b39e",54:"1b7f2",55:"44de9",56:"2e122",57:"c70dc",58:"c2ce3",59:"55c94",60:"f6677",62:"e3714",63:"6cac6",64:"fea70",65:"8d580",66:"13aa8",67:"74315"}[e]+".js"}(e);var c=new Error;a=function(t){o.onerror=o.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,n[1](c)}r[e]=void 0}};var u=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(t)},s.m=e,s.c=i,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)s.d(n,i,function(t){return e[t]}.bind(null,i));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="livechat/",s.oe=function(e){throw e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var u=0;o.length>u;u++)t(o[u]);var l=c;a.push(["mdyV",1,2,0]),n()}({"/iJ5":function(e,t,n){var i={"./_lib/buildFormatLongFn/index.js":"h49F","./_lib/buildLocalizeFn/index.js":"rZ5Z","./_lib/buildMatchFn/index.js":"yfUD","./_lib/buildMatchPatternFn/index.js":"le+r","./af/_lib/formatDistance/index.js":"z3t3","./af/_lib/formatLong/index.js":"Kcpp","./af/_lib/formatRelative/index.js":"qQQ7","./af/_lib/localize/index.js":"VV3z","./af/_lib/match/index.js":"6pIe","./af/index.js":"7pD0","./ar-DZ/_lib/formatDistance/index.js":"1N6k","./ar-DZ/_lib/formatLong/index.js":"Fxhi","./ar-DZ/_lib/formatRelative/index.js":"+m2c","./ar-DZ/_lib/localize/index.js":"IzMj","./ar-DZ/_lib/match/index.js":"MAR7","./ar-DZ/index.js":"KL66","./ar-SA/_lib/formatDistance/index.js":"gQV8","./ar-SA/_lib/formatLong/index.js":"hWCd","./ar-SA/_lib/formatRelative/index.js":"wDLH","./ar-SA/_lib/localize/index.js":"drZx","./ar-SA/_lib/match/index.js":"Df67","./ar-SA/index.js":"V2nH","./be/_lib/formatDistance/index.js":"JbKt","./be/_lib/formatLong/index.js":"3tT/","./be/_lib/formatRelative/index.js":"gBwy","./be/_lib/localize/index.js":"Q1WG","./be/_lib/match/index.js":"tm8q","./be/index.js":"3NsD","./bg/_lib/formatDistance/index.js":"vGUi","./bg/_lib/formatLong/index.js":"2ND0","./bg/_lib/formatRelative/index.js":"fEBG","./bg/_lib/localize/index.js":"Ifde","./bg/_lib/match/index.js":"fWaN","./bg/index.js":"gAGu","./bn/_lib/formatDistance/index.js":"pG+O","./bn/_lib/formatLong/index.js":"3/nJ","./bn/_lib/formatRelative/index.js":"Vs64","./bn/_lib/localize/index.js":"I0qv","./bn/_lib/match/index.js":"EXr9","./bn/index.js":"btr2","./ca/_lib/formatDistance/index.js":"Jj+T","./ca/_lib/formatLong/index.js":"sD1U","./ca/_lib/formatRelative/index.js":"Hi9c","./ca/_lib/localize/index.js":"+XQ7","./ca/_lib/match/index.js":"nvA5","./ca/index.js":"o+mV","./cs/_lib/formatDistance/index.js":"JTXs","./cs/_lib/formatLong/index.js":"k789","./cs/_lib/formatRelative/index.js":"3ji3","./cs/_lib/localize/index.js":"b0Zj","./cs/_lib/match/index.js":"tF4h","./cs/index.js":"4Jid","./cy/_lib/formatDistance/index.js":"sDqx","./cy/_lib/formatLong/index.js":"hAx1","./cy/_lib/formatRelative/index.js":"NCXW","./cy/_lib/localize/index.js":"qjzi","./cy/_lib/match/index.js":"FXbp","./cy/index.js":"cEMF","./da/_lib/formatDistance/index.js":"flV5","./da/_lib/formatLong/index.js":"JWk9","./da/_lib/formatRelative/index.js":"M1dZ","./da/_lib/localize/index.js":"9/63","./da/_lib/match/index.js":"Zv7K","./da/index.js":"aHQV","./de/_lib/formatDistance/index.js":"fvJP","./de/_lib/formatLong/index.js":"HtGV","./de/_lib/formatRelative/index.js":"Vji7","./de/_lib/localize/index.js":"IF2K","./de/_lib/match/index.js":"wkj/","./de/index.js":"Tv5l","./el/_lib/formatDistance/index.js":"kIdr","./el/_lib/formatLong/index.js":"+ATo","./el/_lib/formatRelative/index.js":"T9YK","./el/_lib/localize/index.js":"zhtG","./el/_lib/match/index.js":"kF4b","./el/index.js":"qs9i","./en-AU/_lib/formatLong/index.js":"5AjI","./en-AU/index.js":"Mql6","./en-CA/_lib/formatDistance/index.js":"i8L2","./en-CA/_lib/formatLong/index.js":"+9Jd","./en-CA/index.js":"Ehcm","./en-GB/_lib/formatLong/index.js":"O5uA","./en-GB/index.js":"Binh","./en-US/_lib/formatDistance/index.js":"LOnz","./en-US/_lib/formatLong/index.js":"/t/g","./en-US/_lib/formatRelative/index.js":"62qe","./en-US/_lib/localize/index.js":"1nMn","./en-US/_lib/match/index.js":"Chy2","./en-US/index.js":"SUp7","./eo/_lib/formatDistance/index.js":"nwUZ","./eo/_lib/formatLong/index.js":"Lg7V","./eo/_lib/formatRelative/index.js":"ddep","./eo/_lib/localize/index.js":"4ocS","./eo/_lib/match/index.js":"n+dt","./eo/index.js":"RQ02","./es/_lib/formatDistance/index.js":"M24q","./es/_lib/formatLong/index.js":"5ugw","./es/_lib/formatRelative/index.js":"ag9u","./es/_lib/localize/index.js":"4rTR","./es/_lib/match/index.js":"7EX4","./es/index.js":"Dl0Z","./et/_lib/formatDistance/index.js":"+ogj","./et/_lib/formatLong/index.js":"vM0A","./et/_lib/formatRelative/index.js":"hoJO","./et/_lib/localize/index.js":"cUAV","./et/_lib/match/index.js":"szrr","./et/index.js":"pc25","./fa-IR/_lib/formatDistance/index.js":"j1TT","./fa-IR/_lib/formatLong/index.js":"a2dV","./fa-IR/_lib/formatRelative/index.js":"17Je","./fa-IR/_lib/localize/index.js":"rmdD","./fa-IR/_lib/match/index.js":"8D+C","./fa-IR/index.js":"gCSE","./fi/_lib/formatDistance/index.js":"gAqS","./fi/_lib/formatLong/index.js":"C821","./fi/_lib/formatRelative/index.js":"53uH","./fi/_lib/localize/index.js":"P59E","./fi/_lib/match/index.js":"deI0","./fi/index.js":"YAZG","./fr-CA/_lib/formatLong/index.js":"A1sV","./fr-CA/index.js":"VDKA","./fr/_lib/formatDistance/index.js":"d4MZ","./fr/_lib/formatLong/index.js":"/kWT","./fr/_lib/formatRelative/index.js":"I7A4","./fr/_lib/formatters/index.js":"Q9UJ","./fr/_lib/localize/index.js":"E9Ne","./fr/_lib/match/index.js":"pPVU","./fr/index.js":"Vu/e","./gl/_lib/formatDistance/index.js":"YwVI","./gl/_lib/formatLong/index.js":"yYzC","./gl/_lib/formatRelative/index.js":"4c+B","./gl/_lib/localize/index.js":"0ARz","./gl/_lib/match/index.js":"zn4r","./gl/index.js":"v/wh","./gu/_lib/formatDistance/index.js":"j0Gh","./gu/_lib/formatLong/index.js":"FRI0","./gu/_lib/formatRelative/index.js":"9eYC","./gu/_lib/localize/index.js":"9gxE","./gu/_lib/match/index.js":"zRX6","./gu/index.js":"tbIR","./he/_lib/formatDistance/index.js":"wJoL","./he/_lib/formatLong/index.js":"vE5J","./he/_lib/formatRelative/index.js":"4VDY","./he/_lib/localize/index.js":"NXQM","./he/_lib/match/index.js":"Qw39","./he/index.js":"H9yC","./hi/_lib/formatDistance/index.js":"CyeN","./hi/_lib/formatLong/index.js":"p2BO","./hi/_lib/formatRelative/index.js":"ksn2","./hi/_lib/localize/index.js":"GegZ","./hi/_lib/match/index.js":"KKA+","./hi/index.js":"W7hA","./hr/_lib/formatDistance/index.js":"gW40","./hr/_lib/formatLong/index.js":"p3+w","./hr/_lib/formatRelative/index.js":"IL2K","./hr/_lib/localize/index.js":"um+F","./hr/_lib/match/index.js":"u6Xc","./hr/index.js":"yICP","./hu/_lib/formatDistance/index.js":"K7iA","./hu/_lib/formatLong/index.js":"Q4wd","./hu/_lib/formatRelative/index.js":"ML9g","./hu/_lib/localize/index.js":"1+Pu","./hu/_lib/match/index.js":"pptg","./hu/index.js":"9pn7","./hy/_lib/formatDistance/index.js":"Umok","./hy/_lib/formatLong/index.js":"/ZEM","./hy/_lib/formatRelative/index.js":"mTkO","./hy/_lib/localize/index.js":"THiy","./hy/_lib/match/index.js":"G5VQ","./hy/index.js":"+9v1","./id/_lib/formatDistance/index.js":"xvBq","./id/_lib/formatLong/index.js":"X9Yv","./id/_lib/formatRelative/index.js":"KIGv","./id/_lib/localize/index.js":"HAH0","./id/_lib/match/index.js":"FRA5","./id/index.js":"AJeH","./is/_lib/formatDistance/index.js":"tvyK","./is/_lib/formatLong/index.js":"+Po5","./is/_lib/formatRelative/index.js":"1sHi","./is/_lib/localize/index.js":"TVb8","./is/_lib/match/index.js":"DavN","./is/index.js":"V3M7","./it/_lib/formatDistance/index.js":"0P16","./it/_lib/formatLong/index.js":"gzfW","./it/_lib/formatRelative/index.js":"4nAg","./it/_lib/localize/index.js":"8Y6q","./it/_lib/match/index.js":"trAM","./it/index.js":"tt/w","./ja/_lib/formatDistance/index.js":"aUKd","./ja/_lib/formatLong/index.js":"HxwP","./ja/_lib/formatRelative/index.js":"dU+q","./ja/_lib/localize/index.js":"S8LM","./ja/_lib/match/index.js":"S011","./ja/index.js":"o7QX","./ka/_lib/formatDistance/index.js":"F2lK","./ka/_lib/formatLong/index.js":"PRgI","./ka/_lib/formatRelative/index.js":"QLqO","./ka/_lib/localize/index.js":"Xnxf","./ka/_lib/match/index.js":"Cz48","./ka/index.js":"AWc+","./kk/_lib/formatDistance/index.js":"U518","./kk/_lib/formatLong/index.js":"IIyk","./kk/_lib/formatRelative/index.js":"d8li","./kk/_lib/localize/index.js":"EpVs","./kk/_lib/match/index.js":"2QaT","./kk/index.js":"Ez6s","./ko/_lib/formatDistance/index.js":"oQkC","./ko/_lib/formatLong/index.js":"fyn6","./ko/_lib/formatRelative/index.js":"iUyQ","./ko/_lib/localize/index.js":"i/dm","./ko/_lib/match/index.js":"gPuH","./ko/index.js":"0yCi","./lt/_lib/formatDistance/index.js":"Jvs5","./lt/_lib/formatLong/index.js":"MNgI","./lt/_lib/formatRelative/index.js":"j06q","./lt/_lib/localize/index.js":"Jb1g","./lt/_lib/match/index.js":"809/","./lt/index.js":"fj+S","./lv/_lib/formatDistance/index.js":"6jdY","./lv/_lib/formatLong/index.js":"14Iq","./lv/_lib/formatRelative/index.js":"cd7e","./lv/_lib/localize/index.js":"9exF","./lv/_lib/match/index.js":"p2rL","./lv/index.js":"hlx1","./nb/_lib/formatDistance/index.js":"VFz3","./nb/_lib/formatLong/index.js":"mPLo","./nb/_lib/formatRelative/index.js":"2CEg","./nb/_lib/localize/index.js":"m4rL","./nb/_lib/match/index.js":"yXE3","./nb/index.js":"jagT","./nl/_lib/formatDistance/index.js":"CO4U","./nl/_lib/formatLong/index.js":"1iHm","./nl/_lib/formatRelative/index.js":"TLPu","./nl/_lib/localize/index.js":"BpVG","./nl/_lib/match/index.js":"PS8X","./nl/index.js":"2/5A","./nn/_lib/formatDistance/index.js":"YicD","./nn/_lib/formatLong/index.js":"gh2r","./nn/_lib/formatRelative/index.js":"9be/","./nn/_lib/localize/index.js":"tXMU","./nn/_lib/match/index.js":"g3qA","./nn/index.js":"s3XK","./pl/_lib/formatDistance/index.js":"HjSe","./pl/_lib/formatLong/index.js":"8vrM","./pl/_lib/formatRelative/index.js":"sI4E","./pl/_lib/localize/index.js":"3nfD","./pl/_lib/match/index.js":"Z4CO","./pl/index.js":"f1Lz","./pt-BR/_lib/formatDistance/index.js":"0y8z","./pt-BR/_lib/formatLong/index.js":"cBkn","./pt-BR/_lib/formatRelative/index.js":"w/VN","./pt-BR/_lib/localize/index.js":"LJ5P","./pt-BR/_lib/match/index.js":"NjiN","./pt-BR/index.js":"/AjS","./pt/_lib/formatDistance/index.js":"uNI+","./pt/_lib/formatLong/index.js":"SRJ0","./pt/_lib/formatRelative/index.js":"qygu","./pt/_lib/localize/index.js":"Eje4","./pt/_lib/match/index.js":"x1Jm","./pt/index.js":"M4eM","./ro/_lib/formatDistance/index.js":"EmW3","./ro/_lib/formatLong/index.js":"m2co","./ro/_lib/formatRelative/index.js":"iOnW","./ro/_lib/localize/index.js":"KNd6","./ro/_lib/match/index.js":"Phhb","./ro/index.js":"T0ua","./ru/_lib/formatDistance/index.js":"pLfm","./ru/_lib/formatLong/index.js":"CXlP","./ru/_lib/formatRelative/index.js":"T1fu","./ru/_lib/localize/index.js":"ik1E","./ru/_lib/match/index.js":"Vy49","./ru/index.js":"Dw+G","./sk/_lib/formatDistance/index.js":"+mmY","./sk/_lib/formatLong/index.js":"1nJo","./sk/_lib/formatRelative/index.js":"ex5D","./sk/_lib/localize/index.js":"T3MD","./sk/_lib/match/index.js":"Bx/l","./sk/index.js":"epFg","./sl/_lib/formatDistance/index.js":"Td3P","./sl/_lib/formatLong/index.js":"9Wc3","./sl/_lib/formatRelative/index.js":"UW5p","./sl/_lib/localize/index.js":"pMOz","./sl/_lib/match/index.js":"2wwz","./sl/index.js":"WhfY","./sr-Latn/_lib/formatDistance/index.js":"qQ/L","./sr-Latn/_lib/formatLong/index.js":"i7dk","./sr-Latn/_lib/formatRelative/index.js":"5/vY","./sr-Latn/_lib/localize/index.js":"ZUnH","./sr-Latn/_lib/match/index.js":"orYJ","./sr-Latn/index.js":"eZKC","./sr/_lib/formatDistance/index.js":"PWae","./sr/_lib/formatLong/index.js":"cw0K","./sr/_lib/formatRelative/index.js":"OqZs","./sr/_lib/localize/index.js":"deoz","./sr/_lib/match/index.js":"o6iE","./sr/index.js":"3oQ0","./sv/_lib/formatDistance/index.js":"8QBz","./sv/_lib/formatLong/index.js":"OD8O","./sv/_lib/formatRelative/index.js":"l9Xj","./sv/_lib/localize/index.js":"MRvT","./sv/_lib/match/index.js":"TGKQ","./sv/index.js":"XR5Q","./ta/_lib/formatDistance/index.js":"NLjV","./ta/_lib/formatLong/index.js":"2aVu","./ta/_lib/formatRelative/index.js":"4umz","./ta/_lib/localize/index.js":"eSJP","./ta/_lib/match/index.js":"MvEU","./ta/index.js":"j7sa","./te/_lib/formatDistance/index.js":"T7IF","./te/_lib/formatLong/index.js":"QZAD","./te/_lib/formatRelative/index.js":"pwY2","./te/_lib/localize/index.js":"B7mx","./te/_lib/match/index.js":"/jLD","./te/index.js":"jWc2","./th/_lib/formatDistance/index.js":"udeC","./th/_lib/formatLong/index.js":"p3CN","./th/_lib/formatRelative/index.js":"wFTy","./th/_lib/localize/index.js":"32wX","./th/_lib/match/index.js":"0EFT","./th/index.js":"LKOs","./tr/_lib/formatDistance/index.js":"EbwR","./tr/_lib/formatLong/index.js":"h++d","./tr/_lib/formatRelative/index.js":"OPGH","./tr/_lib/localize/index.js":"lfyL","./tr/_lib/match/index.js":"MQ7Q","./tr/index.js":"+r2B","./ug/_lib/formatDistance/index.js":"6YTo","./ug/_lib/formatLong/index.js":"IsOz","./ug/_lib/formatRelative/index.js":"9JD9","./ug/_lib/localize/index.js":"SjyT","./ug/_lib/match/index.js":"Zb+W","./ug/index.js":"of7y","./uk/_lib/formatDistance/index.js":"Nzgk","./uk/_lib/formatLong/index.js":"0GsP","./uk/_lib/formatRelative/index.js":"3Irb","./uk/_lib/localize/index.js":"Gwdo","./uk/_lib/match/index.js":"cAe6","./uk/index.js":"2/+4","./vi/_lib/formatDistance/index.js":"IU8o","./vi/_lib/formatLong/index.js":"0LtD","./vi/_lib/formatRelative/index.js":"/tRK","./vi/_lib/localize/index.js":"GBoY","./vi/_lib/match/index.js":"BYFH","./vi/index.js":"NAUq","./zh-CN/_lib/formatDistance/index.js":"jcZm","./zh-CN/_lib/formatLong/index.js":"l46P","./zh-CN/_lib/formatRelative/index.js":"FhwC","./zh-CN/_lib/localize/index.js":"Zd/b","./zh-CN/_lib/match/index.js":"Wra6","./zh-CN/index.js":"9oP8","./zh-TW/_lib/formatDistance/index.js":"BGT6","./zh-TW/_lib/formatLong/index.js":"wDkS","./zh-TW/_lib/formatRelative/index.js":"6/Wb","./zh-TW/_lib/localize/index.js":"pNkz","./zh-TW/_lib/match/index.js":"L8or","./zh-TW/index.js":"sy4g"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="/iJ5"},"41Rb":function(e,t,n){"use strict";var i,r,a,s=n("kQFM"),o=n("qPgm"),c=["mousemove","mousedown","touchend","keydown"],u=!1;t.a={init:function(){u||(u=!0,r=this,s.c.on("change",this.handleStoreChange))},reset:function(){u=!1,this.stopEvents(),s.c.off("change",this.handleStoreChange)},stopTimer:function(){i&&clearTimeout(i)},startTimer:function(){this.stopTimer(),i=setTimeout(this.setAway,3e5)},handleStoreChange:function(e){u&&(e.room&&e.user?r.startEvents():r.stopEvents())},startEvents:function(){var e=this;c.forEach(function(t){document.addEventListener(t,e.setOnline)}),window.addEventListener("focus",this.setOnline)},stopEvents:function(){var e=this;c.forEach(function(t){document.removeEventListener(t,e.setOnline)}),window.removeEventListener("focus",this.setOnline),this.stopTimer()},setOnline:function(){return new Promise(function(e,t){return r.startTimer(),"online"===a?e():(a="online",Promise.resolve(o.a.updateVisitorStatus("online")).then(function(){try{return e()}catch(e){return t(e)}},t))})},setAway:function(){return new Promise(function(e,t){return r.stopTimer(),"away"===a?e():(a="away",Promise.resolve(o.a.updateVisitorStatus("away")).then(function(){try{return e()}catch(e){return t(e)}},t))})}}},"5oGf":function(e,t,n){"use strict";var i=n("nu9W"),r=n("SvlM"),a=n("kQFM"),s=n("n/s4"),o=n("qPgm"),c=n("PyG4"),u=n("UEyv"),l=n("vBLd");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){return new Promise(function(t,n){var i;return i=e.token,Promise.resolve(new Promise(function(e,t){var n;if(n=i)return Promise.resolve(a.d.setState({token:i})).then(function(e){try{return n=e,r.call(this)}catch(e){return t(e)}}.bind(this),t);function r(){return e(n)}return r.call(this)})).then(function(){try{return Promise.resolve(o.a.grantVisitor({visitor:f({},e)})).then(function(e){try{return a.d.setState({user:e}),t()}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)})},b=function(e){var t=a.d.state,n=t.user,i=t.token;if(a.d.setState({iframe:f({},t.iframe,{guest:f({},t.iframe.guest,{},e)})}),n){var r=f({token:i},e);m(r)}},j={pageVisited:function(e){"url"===e.change&&i.a.processRequest(e);var t=a.d.state,n=t.room;o.a.sendVisitorNavigation({token:t.token,rid:(n=void 0===n?{}:n)._id,pageInfo:{change:e.change,title:e.title,location:{href:e.location.href}}})},setCustomField:function(e,t,n){void 0===n&&(n=!0),r.a.setCustomField(e,t,n)},setTheme:function(e){var t=void 0===e?{}:e,n=a.d.state;a.d.setState({iframe:f({},n.iframe,{theme:f({},n.iframe.theme,{color:t.color,fontColor:t.fontColor,iconColor:t.iconColor,title:t.title,offlineTitle:t.offlineTitle})})})},setDepartment:function(e){var t=a.d.state.config.departments,n=(void 0===t?[]:t).find(function(t){return t._id===e||t.name===e});b({department:n&&n._id||""})},clearDepartment:function(){b({department:""})},setAgent:function(e){void 0===e&&(e={});var t=e._id,n=e.username,i=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;a.length>i;i++)0>t.indexOf(n=a[i])&&(r[n]=e[n]);return r}(e,["_id","username"]);t&&n&&a.d.setState({defaultAgent:f({_id:t,username:n,ts:Date.now()},i)})},setExpanded:function(e){a.d.setState({expanded:e})},setGuestToken:function(e){return new Promise(function(t,n){var i,r,s;return r=(i=a.d.state).iframe,s=i.iframe.guest,e===i.token?t():(a.d.setState({token:e,iframe:f({},r,{guest:f({},s,{token:e})})}),Promise.resolve(Object(u.a)()).then(function(){try{return t()}catch(e){return n(e)}},n))})},setGuestName:function(e){b({name:e})},setGuestEmail:function(e){b({email:e})},registerGuest:function(e){void 0===e&&(e={}),"object"==typeof e&&(e.token||(e.token=Object(c.e)()),e.department&&j.setDepartment(e.department),m(e))},setLanguage:function(e){return new Promise(function(t,n){return Promise.resolve(a.d.setState({iframe:f({},a.d.state.iframe,{language:e})})).then(function(){try{return Object(s.b)(),t()}catch(e){return n(e)}},n)})},showWidget:function(){a.d.setState({iframe:f({},a.d.state.iframe,{visible:!0})}),Object(l.a)("showWidget")},hideWidget:function(){a.d.setState({iframe:f({},a.d.state.iframe,{visible:!1})}),Object(l.a)("hideWidget")},minimizeWidget:function(){a.d.setState({minimized:!0}),Object(l.a)("closeWidget")},maximizeWidget:function(){a.d.setState({minimized:!1}),Object(l.a)("openWidget")}},g=function(e){if(e.source!==e.target&&"object"==typeof e.data&&void 0!==e.data.src&&"rocketchat"===e.data.src&&void 0!==j[e.data.fn]&&"function"==typeof j[e.data.fn]){var t=[].concat(e.data.args||[]);j[e.data.fn].apply(null,t)}},v=new(function(){function e(){return e.instance||(this._started=!1,e.instance=this),e.instance}var t=e.prototype;return t.init=function(){this._started||(this._started=!0,window.addEventListener("message",g,!1))},t.reset=function(){this._started=!1,window.removeEventListener("message",g,!1)},e}());t.a=v},"8fBI":function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(63)]).then(function(){e(n("+yaN"))}.bind(null,n)).catch(n.oe)})},D61y:function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(66)]).then(function(){e(n("B2hK"))}.bind(null,n)).catch(n.oe)})},GkBq:function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(67)]).then(function(){e(n("POey"))}.bind(null,n)).catch(n.oe)})},HQol:function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(62)]).then(function(){e(n("t2/N"))}.bind(null,n)).catch(n.oe)})},LNvD:function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(64)]).then(function(){e(n("hLgB"))}.bind(null,n)).catch(n.oe)})},QfWi:function(e,t,n){"use strict";n.r(t);n("Gpft");var i=n("G9Up");n.d(t,"default",function(){return i.a})},SGp1:function(e,t,n){"use strict";var i=n("ve3R"),r=Object(i.a)();t.a=r},Saaw:function(e,t,n){"use strict";var i=n("Y3FI"),r=n("qPgm"),a=n("kQFM"),s=n("PyG4"),o=function(){function e(){}return e.prototype.connected=function(){a.c.setState({connecting:!1})},e}(),c=n("UEyv"),u=n("vBLd"),l=n("81xT"),d=function(){return new Promise(function(e,t){var n,i;return(n=void 0===(n=a.c.state.config.settings)?{}:n).transcript?Promise.resolve(new Promise(function(e){var t=a.c.state,n=t.user,i=n.token,s=n.visitorEmails,o=t.room._id,c=s&&s.length>0?s[0].address:"";return c?e(l.a.confirm({text:t.config.messages.transcriptMessage||"Would you like a copy if this chat emailed"}).then(function(e){if("boolean"==typeof e.success&&e.success)return r.a.requestTranscript(c,{token:i,rid:o})})):e()})).then(function(n){try{return(i=n)&&i.success&&l.a.alert({text:i.message,timeout:1e3}),e()}catch(e){return t(e)}},t):e()})};function f(){return(f=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var h=function(e){return new Promise(function(t,n){var i,r,o;if(o=e.tmid,!(r=void 0===(i=a.d.state.parentMessages)?[]:i).find(function(e){return e._id===o}))return Promise.resolve(a.d.setState({parentMessages:Object(s.o)(r,e,function(t){return t._id===e._id},function(e){return e.ts})})).then(function(){try{return c.call(this)}catch(e){return n(e)}}.bind(this),n);function c(){return t()}return c.call(this)})},m=function(e){return new Promise(function(t,n){var i,o,c,u,l;if(!(o=(void 0===(i=a.d.state.messages)?[]:i).find(function(t){return t._id===e.tmid})))return Promise.resolve((l=e.tmid,new Promise(function(e,t){var n,i,o,c,u,d,f,m;if(o=(n=a.d.state).room,c=n.alerts,!(u=(void 0===(i=n.parentMessages)?[]:i).find(function(e){return e._id===l}))){d=o._id;var b=function(){try{return g.call(this)}catch(e){return t(e)}}.bind(this),j=function(e){try{return f=e.data.error,m={id:Object(s.e)(),children:f,error:!0,timeout:5e3},Promise.resolve(a.d.setState({alerts:(c.push(m),c)})).then(function(){try{return b()}catch(e){return t(e)}},t)}catch(e){return t(e)}};try{return Promise.resolve(r.a.message(l,{rid:d})).then(function(e){try{return u=e,Promise.resolve(h(u)).then(function(){try{return b()}catch(e){return j(e)}},j)}catch(e){return j(e)}},j)}catch(e){j(e)}}function g(){return e(u)}return g.call(this)}))).then(function(e){try{return o=e,d.call(this)}catch(e){return n(e)}}.bind(this),n);function d(){return t(f(e,{threadMsg:o,attachments:[{attachments:void 0===(u=(c=o).attachments)?[]:u,text:c.msg,tmid:e.tmid}]}))}return d.call(this)})},b=function(e){return new Promise(function(t,n){return Promise.resolve(function(e){return new Promise(function(t,n){return e&&e.replies?Promise.resolve(h(e)).then(function(){try{return t(!0)}catch(e){return n(e)}},n):t(!1)})}(e)).then(function(i){try{return t(i?null:e&&e.tmid&&!e.threadMsg?m(e):e)}catch(e){return n(e)}},n)})},j=function(e){return void 0===e&&(e=[]),Promise.all(e.filter(function(e){return!!b(e)}))},g=n("qoWs");function v(){return(v=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function p(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(n,!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return w}),n.d(t,"d",function(){return P}),n.d(t,"e",function(){return k}),n.d(t,"f",function(){return S}),n.d(t,"b",function(){return D}),n.d(t,"c",function(){return z});var y=new o,w=function(){return new Promise(function(e,t){return Promise.resolve(d()).then(function(){try{return Promise.resolve(Object(c.a)()).then(function(){try{return Object(u.a)("callback","chat-ended"),Object(i.b)("/chat-finished"),e()}catch(e){return t(e)}},t)}catch(e){return t(e)}},t)})},P=function(){return new Promise(function(e,t){var n,i,o,c,l,d,f,h;if(!(n=a.d.state).room)return e();if(r.a.unsubscribeAll(),i=n.token,o=n.agent,c=n.queueInfo,f=(l=n.room).servedBy,r.a.subscribeRoom(d=l._id),!(h=o)){if(f)return Promise.resolve(r.a.agent({rid:d})).then(function(e){try{return h=e,Promise.resolve(a.d.setState({agent:h,queueInfo:null})).then(function(){try{return Object(u.a)("callback",["assign-agent",Object(g.a)(h)]),m.call(this)}catch(e){return t(e)}}.bind(this),t)}catch(e){return t(e)}}.bind(this),t);function m(){return b.call(this)}return m.call(this)}function b(){return c&&Object(u.a)("callback",["queue-position-change",c]),r.a.onAgentChange(d,function(e){return new Promise(function(t,n){return Promise.resolve(a.d.setState({agent:e,queueInfo:null})).then(function(){try{return Object(u.a)("callback",["assign-agent",Object(g.a)(e)]),t()}catch(e){return n(e)}},n)})}),r.a.onAgentStatusChange(d,function(e){var t=a.d.state.agent;t&&a.d.setState({agent:p({},t,{status:e})}),Object(u.a)("callback",["agent-status-change",Object(g.a)(t)])}),r.a.onQueuePositionChange(d,function(e){return new Promise(function(t,n){return Promise.resolve(a.d.setState({queueInfo:e})).then(function(){try{return Object(u.a)("callback",["queue-position-change",e]),t()}catch(e){return n(e)}},n)})}),Object(s.l)(d,i),e()}return b.call(this)})},O=function(e){var t,n;return e.u&&e.u._id!==a.d.state.user._id&&(n=void 0===(n=(t=void 0===(t=a.d.state.config)?{}:t).settings)?{}:n).agentHiddenInfo?p({},e,{u:{_id:e.u._id}}):e};r.a.onTyping(function(e,t){var n=a.d.state,i=n.typing,r=n.user,s=n.agent;if(!(r&&r.username&&r.username===e||s&&s.hiddenInfo))return-1===i.indexOf(e)&&t?(i.push(e),a.d.setState({typing:i})):t?void 0:a.d.setState({typing:i.filter(function(t){return t!==e})})}),r.a.onMessage(function(e){return new Promise(function(t,n){return e.ts instanceof Date&&(e.ts=e.ts.toISOString()),Promise.resolve(b(e)).then(function(i){try{return(e=i)?(e=O(e),Promise.resolve(a.d.setState({messages:Object(s.o)(a.d.state.messages,e,function(t){return t._id===e._id},function(e){return e.ts})})).then(function(){try{return Promise.resolve(function(e){return new Promise(function(t){return"livechat-close"===e.t?w():"command"===e.t&&y[e.msg]&&y[e.msg](),t()})}(e)).then(function(){try{return!0!==Object(s.c)(e)?t():e.editedAt?t():Promise.resolve(Object(c.b)()).then(function(){try{return Promise.resolve(function(e){return new Promise(function(t,n){var i,r,s;return s=(i=a.d.state).user,!(r=i.sound).enabled||s&&e.u&&e.u._id===s._id?t():Promise.resolve(a.d.setState({sound:p({},r,{play:!0})})).then(function(){try{return t()}catch(e){return n(e)}},n)})}(e)).then(function(){try{return t()}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)):t()}catch(e){return n(e)}},n)})});var k=function(){return new Promise(function(e,t){var n,i,s,o,c,u,l;return s=(i=void 0===(i=(n=a.d.state).room)?{}:i)._id,o=z(n.messages),s?Promise.resolve(a.d.setState({loading:!0})).then(function(){try{return Promise.resolve(r.a.loadMessages(s)).then(function(n){try{return c=n.concat(o),Promise.resolve(j(c)).then(function(n){try{return u=n.map(O),Promise.resolve(P()).then(function(){try{return Promise.resolve(a.d.setState({messages:(u||[]).reverse(),noMoreMessages:!1,loading:!1})).then(function(){try{if(u&&u.length)return l=u[u.length-1],Promise.resolve(a.d.setState({lastReadMessageId:l&&l._id})).then(function(){try{return n.call(this)}catch(e){return t(e)}}.bind(this),t);function n(){return e()}return n.call(this)}catch(e){return t(e)}}.bind(this),t)}catch(e){return t(e)}}.bind(this),t)}catch(e){return t(e)}}.bind(this),t)}catch(e){return t(e)}}.bind(this),t)}catch(e){return t(e)}}.bind(this),t):e()})},S=function(){return new Promise(function(e,t){var n,i,s,o,c,u,l;return s=(i=void 0===(i=(n=a.d.state).room)?{}:i)._id,c=void 0===(o=n.messages)?[]:o,u=n.noMoreMessages,!s||void 0!==u&&u?e():Promise.resolve(a.d.setState({loading:!0})).then(function(){try{return Promise.resolve(r.a.loadMessages(s,{limit:c.length+10})).then(function(n){try{return Promise.resolve(j(n)).then(function(n){try{return l=n.map(O),Promise.resolve(a.d.setState({messages:(l||[]).reverse(),noMoreMessages:c.length+10>l.length,loading:!1})).then(function(){try{return e()}catch(e){return t(e)}},t)}catch(e){return t(e)}},t)}catch(e){return t(e)}},t)}catch(e){return t(e)}},t)})},D=function(){var e={},t=a.d.state.defaultAgent,n=void 0===t?{}:t;return n&&n._id&&v(e,{agentId:n._id}),e},z=function(e){return e&&e.filter(function(e){return e.trigger})};a.d.on("change",function(e,t){!t.room&&e.room&&Object(i.b)("/")})},SvlM:function(e,t,n){"use strict";var i=n("qPgm"),r=n("kQFM"),a=new(function(){function e(){return e.instance||(this._initiated=!1,this._started=!1,this._queue={},e.instance=this),e.instance}var t=e.prototype;return t.init=function(){this._initiated||(this._initiated=!0,i.a.credentials.token=r.c.state.token,r.c.on("change",this.handleStoreChange))},t.reset=function(){this._initiated=!1,this._started=!1,this._queue={},r.c.off("change",this.handleStoreChange)},t.handleStoreChange=function(t){e.instance._started||t.user&&(e.instance._started=!0,e.instance.processCustomFields())},t.processCustomFields=function(){var e=this;Object.keys(this._queue).forEach(function(t){var n=e._queue[t];e.setCustomField(t,n.value,n.overwrite)}),this._queue={}},t.setCustomField=function(e,t,n){(void 0===n&&(n=!0),this._started)?i.a.sendCustomField({token:i.a.credentials.token,key:e,value:t,overwrite:n}):this._queue[e]={value:t,overwrite:n}},e}());t.a=a},UEyv:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return u}),n.d(t,"b",function(){return l});var i=n("wGtP"),r=n("lHjm"),a=n("qPgm"),s=n("kQFM"),o=n("YSmr"),c=n("PyG4");var u=function(){return new Promise(function(e,t){var n,i,r,o,c,u,l,d,f,h;return a.a.credentials.token=n=s.c.state.token,Promise.resolve(a.a.config({token:n})).then(function(n){try{return r=(i=n).agent,o=i.room,c=i.guest,d=void 0===(l=(u=void 0===(u=i.resources)?{}:u).sound)?null:l,f=i.queueInfo,h=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;a.length>i;i++)0>t.indexOf(n=a[i])&&(r[n]=e[n]);return r}(i,["agent","room","guest","resources","queueInfo"]),Promise.resolve(s.c.setState({config:h,agent:r&&r.hiddenInfo?{hiddenInfo:!0}:r,room:o,user:c,queueInfo:f,sound:{src:d,enabled:!0,play:!1},messages:[],typing:[],noMoreMessages:!1,visible:!0,unread:null})).then(function(){try{return e()}catch(e){return t(e)}},t)}catch(e){return t(e)}},t)})},l=function(){return new Promise(function(t,n){var a,u,l,d,f,h,m,b,j,g,v,_;if(u=(a=s.c.state).messages,a.minimized||!a.visible){if(d=(l=s.c.state).alerts,f=l.lastReadMessageId,m=(h=u.filter(function(e){return Object(c.c)(e)})).findIndex(function(e){return e._id===f}),b=h.slice(m+1),-1!==m)return j=h[m],g=e.t({one:"One new message since %{since}",other:"%{count} new messages since %{since}"},{count:b.length,since:Object(i.a)(Object(r.a)(j.ts),"HH:mm MMM dd")}),v={id:o.a.unreadMessagesAlertId,children:g,success:!0,timeout:0},_=d.filter(function(e){return e.id!==o.a.unreadMessagesAlertId}),Promise.resolve(s.c.setState({alerts:(_.push(v),_)})).then(function(){try{return p.call(this)}catch(e){return n(e)}}.bind(this),n);function p(){return Promise.resolve(s.c.setState({unread:b.length})).then(function(){try{return x.call(this)}catch(e){return n(e)}}.bind(this),n)}return p.call(this)}function x(){return t()}return x.call(this)})}}).call(this,n("fsQa").default)},YSmr:function(e,t){"use strict";t.a={unreadMessagesAlertId:"UNREAD_MESSAGES",connectingAgentAlertId:"CONNECTING_AGENT",livechatConnectedAlertId:"LIVECHAT_CONNECTED",livechatDisconnectedAlertId:"LIVECHAT_DISCONNECTED",livechatQueueMessageId:"LIVECHAT_QUEUE_MESSAGE"}},ZODB:function(e,t,n){"use strict";(function(e){var i,r,a,s,o=n("kQFM"),c=n("YSmr"),u=n("qPgm"),l=n("UEyv"),d=n("Saaw"),f=!1,h=c.a.livechatDisconnectedAlertId,m=c.a.livechatConnectedAlertId,b=function(e){return e.stop()};t.a={init:function(){return new Promise(function(e,t){return f?e():(f=!0,i=this,Promise.resolve(this.connect()).then(function(){try{return e()}catch(e){return t(e)}},t))}.bind(this))},connect:function(){return new Promise(function(e,t){var n=function(){try{return e()}catch(e){return t(e)}},i=function(){try{return n()}catch(e){return t(e)}};try{return this.clearListeners(),Promise.resolve(Object(l.a)()).then(function(){try{return Promise.resolve(u.a.connect()).then(function(){try{return this.addListeners(),this.clearAlerts(),n()}catch(e){return i()}}.bind(this),i)}catch(e){return i()}}.bind(this),i)}catch(e){i()}}.bind(this))},reconnect:function(){var e=this;r||(r=setTimeout(function(){return new Promise(function(t,n){var i=function(){try{return t()}catch(e){return n(e)}},a=function(){try{return e.reconnect(),i()}catch(e){return n(e)}};try{return clearTimeout(r),r=!1,Promise.resolve(e.connect()).then(function(){try{return Promise.resolve(Object(d.e)()).then(function(){try{return i()}catch(e){return a()}},a)}catch(e){return a()}},a)}catch(e){a()}})},5e3))},clearAlerts:function(){return new Promise(function(e,t){return Promise.resolve(o.c.setState({alerts:o.c.state.alerts.filter(function(e){return![h,m].includes(e.id)})})).then(function(){try{return e()}catch(e){return t(e)}},t)})},displayAlert:function(e){return new Promise(function(t,n){var i;return void 0===e&&(e={}),i=o.c.state.alerts,Promise.resolve(o.c.setState({alerts:(i.push(e),i)})).then(function(){try{return t()}catch(e){return n(e)}},n)})},handleConnected:function(){return new Promise(function(t,n){return Promise.resolve(i.clearAlerts()).then(function(){try{return Promise.resolve(i.displayAlert({id:m,children:e.t("Livechat connected."),success:!0})).then(function(){try{return Promise.resolve(Object(d.e)()).then(function(){try{return t()}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)})},handleDisconnected:function(){return new Promise(function(t,n){return Promise.resolve(i.clearAlerts()).then(function(){try{return Promise.resolve(i.displayAlert({id:h,children:e.t("Livechat is not connected."),error:!0,timeout:0})).then(function(){try{return i.reconnect(),t()}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)})},addListeners:function(){a||(a=u.a.onStreamData("connected",this.handleConnected)),s||(s=u.a.onStreamData("close",this.handleDisconnected))},clearListeners:function(){a&&(a.then(b),a=!1),s&&(s.then(b),s=!1)}}}).call(this,n("fsQa").default)},ZTMu:function(e,t,n){"use strict";var i=n("ensb");t.a=Object(i.a)(function(e){Promise.all([n.e(1),n.e(0),n.e(65)]).then(function(){e(n("ag5X"))}.bind(null,n)).catch(n.oe)})},d6J2:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return u});var i=n("sSti");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function a(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var c=e.localStorage,u=function(e){var t,n;function i(t,n){var i;void 0===t&&(t={});var r,s=void 0===n?{}:n,o=s.localStorageKey,u=void 0===o?"store":o,l=s.dontPersist,d=void 0===l?[]:l;(i=e.call(this)||this).localStorageKey=u,i.dontPersist=d;try{r=JSON.parse(c.getItem(i.localStorageKey))}catch(e){r={}}finally{r="object"==typeof r?r:{}}return i._state=a({},t,{},r),window.addEventListener("storage",function(e){if(e.key===i.localStorageKey){if(!e.newValue)return location.reload();var t=JSON.parse(e.newValue);i.setStoredState(t)}}),i}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r,s,u,l=i.prototype;return l.persist=function(){var e=a({},this._state),t=this.dontPersist,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if((i=t.next()).done)break;r=i.value}delete e[r]}c.setItem(this.localStorageKey,JSON.stringify(e))},l.setState=function(e){var t=this._state;this._state=a({},t,{},e),this.persist(),this.emit("change",this._state,t,e)},l.setStoredState=function(e){var t=this._state,n={},i=this.dontPersist,r=Array.isArray(i),s=0;for(i=r?i:i[Symbol.iterator]();;){var o;if(r){if(s>=i.length)break;o=i[s++]}else{if((s=i.next()).done)break;o=s.value}n[o]=t[o]}this._state=a({},e,{},n),this.emit("change",this._state,t)},r=i,(s=[{key:"state",get:function(){return this._state}}])&&o(r.prototype,s),u&&o(r,u),i}(i.EventEmitter)}).call(this,n("pCvA"))},fsQa:function(e,t,n){"use strict";n.r(t);var i=n("CZw+"),r=n.n(i);r.a.supportedLocales=["af","ar","az","be_BY","bg","bs","ca","cs","cy","da","de","de_AT","el","en","eo","es","et","eu","fa","fi","fr","he","hr","hu","id","it","ja","km","ko","ku","lo","lt","lv","mn","ms_MY","nl","no","pl","pt","pt_BR","ro","ru","sk_SK","sl_SI","sq","sr","sv","ta_IN","th_TH","tr","ug","uk","vi_VN","zh","zh_HK","zh_TW"],r.a.defaultLocale="en",r.a.import=function(e){switch(e){case"af":return n.e(4).then(n.t.bind(null,"CI9v",3));case"ar":return n.e(5).then(n.t.bind(null,"Dn43",3));case"az":return n.e(6).then(n.t.bind(null,"kJF4",3));case"be_BY":return n.e(7).then(n.t.bind(null,"HLti",3));case"bg":return n.e(8).then(n.t.bind(null,"vEor",3));case"bs":return n.e(9).then(n.t.bind(null,"tisS",3));case"ca":return n.e(10).then(n.t.bind(null,"CMcz",3));case"cs":return n.e(11).then(n.t.bind(null,"iQQR",3));case"cy":return n.e(12).then(n.t.bind(null,"rHSK",3));case"da":return n.e(13).then(n.t.bind(null,"51KB",3));case"de":return n.e(14).then(n.t.bind(null,"NKf3",3));case"de_AT":return n.e(15).then(n.t.bind(null,"7IHG",3));case"el":return n.e(17).then(n.t.bind(null,"b/xh",3));case"en":return n.e(18).then(n.t.bind(null,"ddFw",3));case"eo":return n.e(19).then(n.t.bind(null,"EIJ8",3));case"es":return n.e(20).then(n.t.bind(null,"gYzH",3));case"et":return n.e(21).then(n.t.bind(null,"SRNC",3));case"eu":return n.e(22).then(n.t.bind(null,"RJso",3));case"fa":return n.e(23).then(n.t.bind(null,"sIGc",3));case"fi":return n.e(24).then(n.t.bind(null,"6Q4N",3));case"fr":return n.e(25).then(n.t.bind(null,"zdqC",3));case"he":return n.e(26).then(n.t.bind(null,"9qDo",3));case"hr":return n.e(27).then(n.t.bind(null,"JKbV",3));case"hu":return n.e(28).then(n.t.bind(null,"wsov",3));case"id":return n.e(29).then(n.t.bind(null,"9ZqA",3));case"it":return n.e(30).then(n.t.bind(null,"lOE5",3));case"ja":return n.e(31).then(n.t.bind(null,"IJWC",3));case"km":return n.e(32).then(n.t.bind(null,"Yer8",3));case"ko":return n.e(33).then(n.t.bind(null,"6oTJ",3));case"ku":return n.e(34).then(n.t.bind(null,"W0vZ",3));case"lo":return n.e(35).then(n.t.bind(null,"vD3J",3));case"lt":return n.e(36).then(n.t.bind(null,"8EyD",3));case"lv":return n.e(37).then(n.t.bind(null,"mh70",3));case"mn":return n.e(38).then(n.t.bind(null,"OE59",3));case"ms_MY":return n.e(39).then(n.t.bind(null,"Gh9x",3));case"nl":return n.e(40).then(n.t.bind(null,"QnDD",3));case"no":return n.e(41).then(n.t.bind(null,"GGzQ",3));case"pl":return n.e(42).then(n.t.bind(null,"yFCb",3));case"pt":return n.e(43).then(n.t.bind(null,"l7lR",3));case"pt_BR":return n.e(44).then(n.t.bind(null,"etco",3));case"ro":return n.e(45).then(n.t.bind(null,"T8kx",3));case"ru":return n.e(46).then(n.t.bind(null,"XiyD",3));case"sk_SK":return n.e(47).then(n.t.bind(null,"vSCb",3));case"sl_SI":return n.e(48).then(n.t.bind(null,"rLkT",3));case"sq":return n.e(49).then(n.t.bind(null,"gaV5",3));case"sr":return n.e(50).then(n.t.bind(null,"qjGa",3));case"sv":return n.e(51).then(n.t.bind(null,"cV9E",3));case"ta_IN":return n.e(52).then(n.t.bind(null,"KbpT",3));case"th_TH":return n.e(53).then(n.t.bind(null,"sddL",3));case"tr":return n.e(54).then(n.t.bind(null,"6b2Q",3));case"ug":return n.e(55).then(n.t.bind(null,"Q1ID",3));case"uk":return n.e(56).then(n.t.bind(null,"bgye",3));case"vi_VN":return n.e(57).then(n.t.bind(null,"idjy",3));case"zh":return n.e(58).then(n.t.bind(null,"0zfi",3));case"zh_HK":return n.e(59).then(n.t.bind(null,"gi8w",3));case"zh_TW":return n.e(60).then(n.t.bind(null,"JwGO",3));default:return n.e(16).then(n.t.bind(null,"Byw0",3))}},t.default=r.a},kQFM:function(e,t,n){"use strict";(function(e){n.d(t,"d",function(){return h}),n.d(t,"b",function(){return b}),n.d(t,"a",function(){return j});var i=n("gDde"),r=n("MwJo"),a=n("PyG4"),s=n("d6J2");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function c(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f={token:Object(a.e)(),typing:[],config:{messages:{},settings:{},theme:{},triggers:[],departments:[],resources:{}},messages:[],user:null,sound:{src:"",enabled:!0,play:!1},iframe:{guest:{},theme:{},visible:!0},gdpr:{accepted:!1},alerts:[],visible:!0,minimized:!0,unread:null},h=new s.a(f,{dontPersist:["messages","typing","loading","alerts","unread","noMoreMessages"]});var m=Object(r.createContext)(),b=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),a=0;i>a;a++)r[a]=arguments[a];return d(u(n=t.call.apply(t,[this].concat(r))||this),"state",c({},h.state,{dispatch:h.setState.bind(h)})),d(u(n),"handleStoreChange",function(){n.setState(c({},h.state))}),d(u(n),"render",function(t){return e(m.Provider,{value:n.state},t.children)}),n}l(n,t);var i=n.prototype;return i.componentDidMount=function(){h.on("change",this.handleStoreChange)},i.componentWillUnmount=function(){h.off("change",this.handleStoreChange)},n}(i.Component);d(b,"displayName","StoreProvider");var j=function(e){function t(){return e.apply(this,arguments)||this}return l(t,e),t}(m.Consumer);d(j,"displayName","StoreConsumer"),t.c=h}).call(this,n("gDde").h)},"n/s4":function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return s}),n.d(t,"a",function(){return o});var i=n("kQFM"),r=function(){return navigator.userLanguage||navigator.language},a=function(){var e=i.c.state,t=e.config,n=(t=void 0===t?{}:t).settings;n=void 0===n?{}:n;var r=e.iframe;return(r=void 0===r?{}:r).language||n.language},s=function(){return e.changeLocale((t=a()||r(),n=t.split?t.split(/[-_]/):[],s=n[1],(i=n[0])&&2===i.length?(i=i.toLowerCase(),(s=s&&2===s.length?s.toUpperCase():null)?i+"_"+s:i):"en"));var t,n,i,s},o=function(){var e=["af","ar","be","bg","bn","ca","cs","cy","da","de","el","en-AU","en-CA","en-GB","en-US","eo","es","et","fa-IR","fi","fr","fr-CA","gl","gu","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","ko","lt","lv","nb","nl","nn","pl","pt","pt-BR","ro","ru","sk","sl","sr","sr-Latn","sv","ta","te","th","tr","ug","uk","vi","zh_CN","zh_TW"],t=a()||r(),i=[t=t.toLowerCase(),(t.split?t.split(/[-_]/):[])[0],"en-US"].find(function(t){return e.indexOf(t)>-1});return n("/iJ5")("./"+i+"/index.js")}}).call(this,n("fsQa").default)},nu9W:function(e,t,n){"use strict";var i=n("Y3FI"),r=n("qPgm"),a=n("kQFM"),s=n("PyG4"),o=n("vBLd"),c=n("UEyv"),u=n("qoWs");function l(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h,m=function(e){return h||(h=new Promise(function(t,n){return new Promise(function(i,s){var o,c,u,l,h;if("queue"!==(o=e.params).sender)return"custom"===o.sender?t({username:o.name}):n("Unknown sender"),j.call(this);if(l=(c=a.c.state).iframe.guest.department,(u=c.defaultAgent)&&u.ts&&36e5>Date.now()-u.ts)return i(t(u));var m=function(){try{return a.c.setState({defaultAgent:function(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},h,{ts:Date.now()})}),t(h),j.call(this)}catch(e){return s(e)}}.bind(this),b=function(e){try{return i(n(e))}catch(e){return s(e)}};try{return Promise.resolve(r.a.nextAgent(l)).then(function(e){try{return h=e,m()}catch(e){return b(e)}},b)}catch(e){b(e)}function j(){return i()}})}),setTimeout(function(){h=null},36e5),h)},b=new(function(){function e(){return e.instance||(this._started=!1,this._requests=[],this._triggers=[],this._enabled=!0,e.instance=this),e.instance}var t,n,d,f=e.prototype;return f.init=function(){var e=this;if(!this._started){var t=a.c.state,n=t.firedTriggers,i=void 0===n?[]:n,s=t.config.triggers;r.a.credentials.token=t.token,s&&s.length>0&&(this._started=!0,this._triggers=[].concat(s),i.forEach(function(t){e._triggers.forEach(function(e){e._id===t&&(e.skip=!0)})}),this.processTriggers())}},f.fire=function(e){return new Promise(function(t,n){var r,l,d,f,h;return l=(r=a.c.state).token,f=void 0===(d=r.firedTriggers)?[]:d,!this._enabled||r.user?t():(h=e.actions,Promise.resolve(Object(s.b)(h,function(t){"send-message"===t.name&&(e.skip=!0,m(t).then(function(e){return new Promise(function(n,r){var d,f;return d=new Date,f={msg:t.params.msg,token:l,u:e,ts:d.toISOString(),_id:Object(s.e)(),trigger:!0},Promise.resolve(a.c.setState({triggered:!0,messages:Object(s.o)(a.c.state.messages,f,function(e){return e._id===f._id},function(e){return e.ts})})).then(function(){try{return Promise.resolve(Object(c.b)()).then(function(){try{if(e&&e._id)return Promise.resolve(a.c.setState({agent:e})).then(function(){try{return Object(o.a)("callback",["assign-agent",Object(u.a)(e)]),t.call(this)}catch(e){return r(e)}}.bind(this),r);function t(){return Object(i.b)("/"),Object(o.a)("openWidget"),a.c.setState({minimized:!1}),n()}return t.call(this)}catch(e){return r(e)}}.bind(this),r)}catch(e){return r(e)}}.bind(this),r)})}))})).then(function(){try{return e.runOnce&&(e.skip=!0,f.push(e._id),a.c.setState({firedTriggers:f})),t()}catch(e){return n(e)}},n))}.bind(this))},f.processRequest=function(e){this._requests.push(e),this._started&&this.processTriggers()},f.processTriggers=function(){var e=this;this._triggers.forEach(function(t){if(!t.skip){var n=e;t.conditions.forEach(function(i){switch(i.name){case"page-url":e._requests.forEach(function(e){var r=new RegExp(i.value,"g");e.location.href.match(r)&&n.fire(t)}),e._requests=[];break;case"time-on-site":t.timeout&&clearTimeout(t.timeout),t.timeout=setTimeout(function(){e.fire(t)},1e3*parseInt(i.value,10))}})}})},t=e,(n=[{key:"triggers",set:function(e){this._triggers=[].concat(e)}},{key:"enabled",set:function(e){this._enabled=e}}])&&l(t.prototype,n),d&&l(t,d),e}());t.a=b},qPgm:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("NWgQ"),r=n.n(i),a=n("+mCh"),s=n.n(a),o=window.SERVER_URL||r.a.parse(window.location.search).serverUrl||null,c=o&&null!==o.match(/^https:/),u=new s.a({host:o,protocol:"ddp",useSsl:c})},qoWs:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var i=n("tk9g"),r=n("n/s4"),a=function(e){return e&&{name:e.name,username:e.username,status:e.status}},s=function(t){if(t){var n=t.spot,a=t.estimatedWaitTimeSeconds,s=Object(r.a)(),o=a&&Object(i.a)((new Date).setSeconds(a),new Date,{locale:s});return n>0&&(o?e.t("Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})",{spot:n,estimatedWaitTime:o}):e.t("Your spot is #%{spot}",{spot:n}))}}}).call(this,n("fsQa").default)},vBLd:function(e,t,n){"use strict";var i=n("tLDw"),r=n.n(i),a=function(){};window.RocketChat=window.RocketChat||{_:[]};var s,o,c,u,l={},d=[],f=!1,h=!1,m=["chat-maximized","chat-minimized","chat-started","chat-ended","pre-chat-form-submit","offline-form-submit","show-widget","hide-widget","assign-agent","agent-status-change","queue-position-change","no-agent-online"],b=new r.a;function j(e,t){return-1!==m.indexOf(e)&&b.on(e,t)}function g(e,t){void 0!==t?b.emit(e,t):b.emit(e)}function v(e,t){if(!f)return d.push([e,t]);o.contentWindow.postMessage({src:"rocketchat",fn:e,args:t},"*")}var _=function(e){h&&e?(u=document.documentElement.scrollTop,c=document.body.style.cssText,document.body.style.cssText+="overflow: hidden; height: 100%; width: 100%; position: fixed; top: "+u+"px;"):(document.body.style.cssText=c,h&&(document.documentElement.scrollTop=u)),e?(s.style.left=h?"0":"auto",s.style.width=h?"100%":"397px",s.style.height=h?"100%":"627px"):(s.style.left="auto",s.style.width="86px",s.style.height="86px")},p=function(){"opened"!==s.dataset.state&&(_(!0),s.dataset.state="opened",o.focus(),g("chat-maximized"))};function x(){"closed"!==s.dataset.state&&(_(!1),s.dataset.state="closed",g("chat-minimized"))}var y={popup:null,ready:function(){f=!0,d.length>0&&(d.forEach(function(e){v.apply(this,e)}),d=[])},minimizeWindow:function(){x()},restoreWindow:function(){y.popup&&!0!==y.popup.closed&&(y.popup.close(),y.popup=null),p()},openPopout:function(){x(),y.popup=window.open(l.url+(l.url.lastIndexOf("?")>-1?"&":"?")+"mode=popout","livechat-popout","width=365, height=525, toolbars=no"),y.popup.focus()},openWidget:function(){p()},removeWidget:function(){document.body.removeChild(s)},callback:function(e,t){g(e,t)},showWidget:function(){o.style.display="initial",g("show-widget")},hideWidget:function(){o.style.display="none",g("hide-widget")}};function w(e){v("pageVisited",{change:e,location:JSON.parse(JSON.stringify(document.location)),title:document.title})}function P(e,t,n){void 0===n&&(n=!0),v("setCustomField",[e,t,n])}function O(e){v("setTheme",e)}function k(e){v("setDepartment",e)}function S(e){v("setGuestToken",e)}function D(e){v("setGuestName",e)}function z(e){v("setGuestEmail",e)}function L(e){v("registerGuest",e)}function R(e){v("setAgent",e)}function C(e){v("setLanguage",e)}var E={href:null,title:null},T=function(e){e&&(l.url=e,function(e){(s=document.createElement("div")).className="rocketchat-widget",s.style.position="fixed",s.style.width="86px",s.style.height="86px",s.style.maxHeight="100vh",s.style.bottom="0",s.style.right="0",s.style.zIndex="12345",s.dataset.state="closed";var t=document.createElement("div");t.className="rocketchat-container",t.style.width="100%",t.style.height="100%",(o=document.createElement("iframe")).id="rocketchat-iframe",o.allowTransparency="true",o.src=e,o.style.width="100%",o.style.height="100%",o.style.border="none",o.style.backgroundColor="transparent",t.appendChild(o),s.appendChild(t),document.body.appendChild(s);var n=function(e){s&&(h=e.matches,_("opened"===s.dataset.state),v("setExpanded",h))},i=window.matchMedia("screen and (max-device-width: 480px)");i.addListener(n),n(i)}(e),window.addEventListener("message",function(e){if("object"==typeof e.data&&void 0!==e.data.src&&"rocketchat"===e.data.src&&void 0!==y[e.data.fn]&&"function"==typeof y[e.data.fn]){var t=[].concat(e.data.args||[]);a.apply(void 0,["api."+e.data.fn].concat(t)),y[e.data.fn].apply(null,t)}},!1),setInterval(function(){document.location.href!==E.href&&(w("url"),E.href=document.location.href),document.title!==E.title&&(w("title"),E.title=document.title)},800))};void 0!==window.initRocket&&T(window.initRocket[0]),void 0!==window.RocketChat.url&&T(window.RocketChat.url);var A=window.RocketChat._;function I(e,t){void 0===t&&(t=[]),window.parent.postMessage({src:"rocketchat",fn:e,args:t},"*")}window.RocketChat._.push=function(e){e.call(window.RocketChat.livechat)},window.RocketChat=window.RocketChat._.push,window.RocketChat.livechat={pageVisited:w,setCustomField:P,initialize:function(e){for(var t in e)switch(t){case"customField":var n=e[t];P(n.key,n.value,n.overwrite);continue;case"setCustomFields":if(!Array.isArray(e[t]))continue;e[t].forEach(function(e){P(e.key,e.value,e.overwrite)});continue;case"theme":O(e[t]);continue;case"department":k(e[t]);continue;case"guestToken":S(e[t]);continue;case"guestName":D(e[t]);continue;case"guestEmail":z(e[t]);continue;case"registerGuest":L(e[t]);continue;case"language":C(e[t]);continue;case"agent":R(e[t]);continue;default:continue}},setTheme:O,setDepartment:k,clearDepartment:function(){v("clearDepartment")},setGuestToken:S,setGuestName:D,setGuestEmail:z,setAgent:R,registerGuest:L,setLanguage:C,showWidget:function(){v("showWidget")},hideWidget:function(){v("hideWidget")},maximizeWidget:function(){v("maximizeWidget")},minimizeWidget:function(){v("minimizeWidget")},onChatMaximized:function(e){j("chat-maximized",e)},onChatMinimized:function(e){j("chat-minimized",e)},onChatStarted:function(e){j("chat-started",e)},onChatEnded:function(e){j("chat-ended",e)},onPrechatFormSubmit:function(e){j("pre-chat-form-submit",e)},onOfflineFormSubmit:function(e){j("offline-form-submit",e)},onWidgetShown:function(e){j("show-widget",e)},onWidgetHidden:function(e){j("hide-widget",e)},onAssignAgent:function(e){j("assign-agent",e)},onAgentStatusChange:function(e){j("agent-status-change",e)},onQueuePositionChange:function(e){j("queue-position-change",e)},onServiceOffline:function(e){j("no-agent-online",e)}},A.forEach(function(e){e.call(window.RocketChat.livechat)}),n.d(t,"a",function(){return I}),n.d(t,"b",function(){return M});var M=function(e,t){return m.includes(e)&&I("callback",[e,t])}}});