Skip to Content

JavaScript File

URL: https://embed.tawk.to/_s/v4/app/63b77dcd282/js/twk-chunk-2c78ba82.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Fri, 06 Jan 2023 01:49:34 GMT
Download Time: Less than a second
Cookies: None
Size: 7 KB
HTTP Headers:  15 headers
Links In:  1 pages
OK Issues: No issues found

1(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-2c78ba82"],{"5a60":function(t,e,n){"use strict";var r=n("eb24").a,o=n("2877"),a=Object(o.a)(r,void 0,void 0,!1,null,null,null);e.a=a.exports}

2,eb24:function(t,e,n){"use strict";(function(t){var r=n("2b0e"),o=n("f0b0");function a(t,e){return function(t){if(Array.isArray(t))return t}

3(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}

4catch(t){s=!0,o=t}

5finally{try{i||null==n.return||n.return()}

6finally{if(s)throw o}

7}

8return a}

9}

10(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}

11}

12(t,e)||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.")}

13()}

14function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}

15e.a=r.a.component("i-frame",{props:{width:{type:String,default:null}

16,height:{type:String,default:null}

17,cssLink:{type:String,default:null}

18,styleObject:{type:[Object,Array]}

19,classString:{type:String,default:""}

20}

21,data:function(){return{id:o.Helper.generateUUID()}

22}

23,render:function(t){return t("iframe",{on:{load:this.renderChildren}

24,attrs:{src:"about:blank",frameborder:"0",scrolling:"no",width:this.width,height:this.height,style:Object.entries(this.styleObject).map((function(t){var e=a(t,2);return e[0]+e[1]}

25)).join(" "),id:this.id,class:this.classString,title:"chat widget"}

26}

27)}

28,beforeUpdate:function(){this.iApp&&(this.iApp.children=Object.freeze(this.$slots.default))}

29,methods:{renderChildren:function(){var e=this.$slots.default,n=this.$el.contentDocument.documentElement,o=this.$el.contentDocument.body,a=this.$el.contentDocument.head,i=document.createElement("div"),s=document.createElement("link"),l=document.createElement("link"),c=new r.a({name:"iApp",data:{children:Object.freeze(e)}

30,render:function(t){return t("div",{attrs:{style:"width: 100%; height: 100%;"}

31}

32,this.children)}

33,store:this.$store,mounted:function(){this.children.length&&this.children[0]&&this.children[0].context&&"function"==typeof this.children[0].context.loaded&&this.children[0].context.loaded()}

34}

35);s.href=this.cssLink,s.rel="stylesheet",l.href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&subset=latin-ext",o.appendChild(i),o.classList.add("font-lato"),this.$store.getters["widget/isRTL"]&&o.classList.add("tawk-rtl"),this.$store.getters["browserData/mobileBrowserName"]&&(n.classList.add("tawk-mobile"),o.classList.add("tawk-mobile")),this.$store.getters["widget/language"]&&n.setAttribute("lang",this.$store.getters["widget/language"]);var d=document.createElement("meta");d["http-equiv"]="Content-Type",d.content="text/html; charset=utf-8";var h=document.createElement("meta");h.name="viewport",h.content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no",a.appendChild(d),a.appendChild(h);var u=document.createElement("style"),m=":root {\n\t\t\t\t\t--tawk-header-background-color: ".concat(this.$store.getters["widget/headerBgColor"]," !important;\n\t\t\t\t\t--tawk-header-text-color: ").concat(this.$store.getters["widget/headerTxtColor"]," !important;' +\n\t\t\t\t}

36");m+=".tawk-visitor-chat-bubble {\n\t\t\t\tbackground : ".concat(this.$store.getters["widget/visitorBgColor"]," !important;\n\t\t\t\tcolor : ").concat(this.$store.getters["widget/visitorTxtColor"]," !important;\n\t\t\t}

37"),m+=".tawk-agent-chat-bubble {\n\t\t\t\tbackground : ".concat(this.$store.getters["widget/agentBgColor"]," !important;\n\t\t\t\tcolor : ").concat(this.$store.getters["widget/agentTxtColor"]," !important;\n\t\t\t}

38"),this.$store.getters["browserData/isIE"]&&this.$store.getters["browserData/version"]<=11&&(m+=".tawk-custom-color-inverse {\n\t\t\t\t\tbackground-color: ".concat(this.$store.getters["widget/headerTxtColor"]," !important;\n\t\t\t\t\tcolor: ").concat(this.$store.getters["widget/headerBgColor"]," !important;\n\t\t\t\t}

39\n\t\t\t\t.tawk-custom-border-color {\n\t\t\t\t\tborder-color: ").concat(this.$store.getters["widget/headerBgColor"]," !important;\n\t\t\t\t}

40\n\t\t\t\t.tawk-custom-border-left {\n\t\t\t\t\tborder-left: 5px solid ").concat(this.$store.getters["widget/headerBgColor"]," !important;\n\t\t\t\t}

...

</html>