stockbot-buyvm/tests/data/stock_files/twk-chunk-9294da6c.js

1 line
18 KiB
JavaScript
Raw Normal View History

2023-12-02 19:49:13 +00:00
(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-9294da6c"],{"1e0f":function(t,i,e){"use strict";(function(t){var o=e("2f62"),n=e("f0b0"),a=e("5a60"),s=e("ff3f"),r=e("87dd");function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,o)}return e}function l(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?h(Object(e),!0).forEach((function(i){m(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}function m(t,i,e){return(i=function(t){var i=function(t,i){if("object"!==c(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,i||"default");if("object"!==c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"===c(i)?i:String(i)}(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}i.a={name:"MinimizeWidget",components:{IFrame:a.a,TawkBadge:n.TawkBadge,TawkButton:n.TawkButton,MinContent:s.a},mixins:[r.a],data:function(){return{cssLink:"".concat("https://embed.tawk.to/_s/v4/app/6549ac0173e","/css/min-widget.css"),isLoaded:!1,clickEvent:"touchend",resizeWidth:0}},computed:l(l({},Object(o.c)({chatWindowState:"session/chatWindowState",isRight:"widget/isRight",isBottom:"widget/isBottom",isCenter:"widget/isCenter",isRTL:"widget/isRTL",isRoundWidget:"widget/isRoundWidget",minDesktop:"widget/minDesktop",minMobile:"widget/minMobile",unreadMessageCount:"chat/unreadMessageCount",mobileBrowserName:"browserData/mobileBrowserName",pageStatus:"session/pageStatus",zoomRatio:"widget/zoomRatio",hasLiveChat:"widget/hasLiveChat",hasChatStarted:"chat/hasChatStarted",agentsCount:"chat/agentsCount",isMobileLandscape:"widget/isMobileLandscape",os:"browserData/os"})),{},{xOffset:function(){return t.Tawk_Window.widgetSettings.xOffset()},yOffset:function(){return t.Tawk_Window.widgetSettings.yOffset()},xOffsetMobile:function(){return t.Tawk_Window.widgetSettings.xOffsetMobile()},yOffsetMobile:function(){return t.Tawk_Window.widgetSettings.yOffsetMobile()},buttonStyles:function(){var t={};return this.isRoundWidget||(this.mobileBrowserName?(t.borderRadius="3px",t.width=this.resizeWidth?"".concat(this.resizeWidth,"px"):"".concat(this.minMobile.width,"px"),t.height="".concat(this.minMobile.height,"px"),t.padding="0 8px"):(t.borderRadius="".concat(this.minDesktop.borderRadiusTop,"px ").concat(this.minDesktop.borderRadiusTop,"px\n\t\t\t\t\t").concat(this.minDesktop.borderRadiusBottom,"px ").concat(this.minDesktop.borderRadiusBottom,"px"),t.width="".concat(this.minDesktop.width,"px"),t.height="".concat(this.minDesktop.height,"px"),t.padding="0 15px")),this.isBottom||this.isCenter?t.bottom="0":t.top="0",this.isRTL?t.right="0":t.left="0",t.position="absolute",t.zIndex="1000",t.border="0",t},iFrameHeight:function(){return this.mobileBrowserName?this.isRoundWidget?this.isMobileLandscape?"safari"!==this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"safari"===this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+4)*(this.zoomRatio/1.7),"px"):"".concat((this.minMobile.height+4)*this.zoomRatio*1.2,"px"):"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+6)*this.zoomRatio,"px"):this.isRoundWidget?"".concat(this.minDesktop.height,"px"):"".concat(this.minDesktop.height+4,"px")},iFrameWidth:function(){if(this.mobileBrowserName){var t=this.resizeWidth||this.minMob