1window.console && console.log("[olark] This site is using the Olark WordPress Plugin"); 2window.console && console.log("[olark] site ID = "+olark_vars.site_ID); 3(function(o,l,a,r,k,y){if(o.olark)return; 4r="script";y=l.createElement(r);r=l.getElementsByTagName(r)[0]; 5y.async=1;y.src="//"+a;r.parentNode.insertBefore(y,r); 6y=o.olark=function(){k.s.push(arguments);k.t.push(+new Date)}; 7y.extend=function(i,j){y("extend",i,j)}; 8y.identify=function(i){y("identify",k.i=i)}; 9y.configure=function(i,j){y("configure",i,j);k.c[i]=j}; 10k=y._={s:[],t:[+new Date],c:{},l:a}; 11})(window,document,"static.olark.com/jsclient/loader.js"); 12 13/* Add configuration calls below this comment */ 14/* Enable Olark on mobile settings*/ 15if (olark_vars.woocommerce && olark_vars.enable_cartsaver == 1) { 16 olark.configure('system.use_widget', 'wordpress_woocommerce_cartsaver'); 17 window.console && console.log("[olark] wordpress_woocommerce_cartsaver"); 18} else if (olark_vars.woocommerce) { 19 olark.configure('system.use_widget', 'wordpress_woocommerce_nocartsaver'); 20 window.console && console.log("[olark] wordpress_woocommerce_nocartsaver"); 21} else { 22 olark.configure('system.use_widget', 'wordpress_only'); 23 window.console && console.log("[olark] wordpress_only"); 24} 25if (olark_vars.mobile == 0){ 26 olark.configure('system.hb_disable_mobile', true); 27 window.console && console.log("[olark] The WordPress plugin has disable mobile set to true"); 28}else { 29 olark.configure('system.hb_disable_mobile', false); 30 window.console && console.log("[olark] The WordPress plugin has disable mobile set to false"); 31}; 32/* Start chatbox expanded settings*/ 33if (olark_vars.expand != 0){ 34 olark.configure('box.start_expanded', true); 35 window.console && console.log("[olark] WordPress start_expanded option is enabled"); 36}else { 37 olark.configure('box.start_expanded', false); 38 window.console && console.log("[olark] The WordPress plugin has start_expanded set to false"); 39}; 40/* Detached chatbox settings*/ 41if (olark_vars.float != 0){ 42 olark.configure('system.hb_detached', true); 43 window.console && console.log("[olark] WordPress detached option is enabled"); 44}else { 45 olark.configure('system.hb_detached', false); 46 window.console && console.log("[olark] The WordPress plugin has detached set to false"); 47}; 48/* Language settings*/ 49if(olark_vars.override_lang == 1){ 50 olark.configure("system.localization", olark_vars.lang); 51 window.console && console.log("[olark] Language chosen in WordPress is " +olark_vars.lang); 52} 53/* Advanced settings*/ 54eval(olark_vars.api); 55if (olark_vars.api.length < 2) { 56 window.console && console.log("[olark] There are no additional api calls used in the WordPress plugin"); 57}else { 58 window.console && console.log("[olark] additional api calls in WordPress are as follows: " +olark_vars.api); 59}; 60if (typeof olark_vars.cart_info !== 'undefined') { 61 olark.extend('CartSaver') 62 olark.configure("CartSaver.version", "Magento@woocommerce" + olark_vars.woocommerce_version); 63 olark.configure("CartSaver.items", olark_vars.cart_info.items); 64 olark.configure('CartSaver.customer', olark_vars.cart_info.customer); 65 olark.configure('CartSaver.magento', olark_vars.cart_info.magento); 66} 67olark.identify(olark_vars.site_ID);
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.