1!function(l){"use strict";var u="sany-guide-trigger-global-auto-opened",t="sany_chatbot_opened_in_session",e="__SANY_GUIDE_WELCOME_QUESTIONS__",a=["pointerdown","touchstart","keydown","scroll"],o=null,n=!1,r=!1;function c(){return l.sessionStorage}function i(t,e,o){return t&&t[e]||o}function s(t){return t?"string"==typeof t?t.trim():"object"==typeof t?String(t.question||t.content||t.text||t.title||t.name||"").trim():"":""}function d(){return o||l[e]||null}function p(t){t&&"object"==typeof t&&(o=t,l[e]=t)}function y(t){return Object.assign({},l.SanyGuide&&"function"==typeof l.SanyGuide.getGlobalAutoCopy?l.SanyGuide.getGlobalAutoCopy():{},(e=d()||{},o=e.raw||e,a=e.questions||o.questions||[],a=Array.isArray(a)?a.map(s).filter(function(t){return t}):[],n={},(e=e.welcome||o.welcome)&&(n.greeting=e),a.length&&(n.questions=a),n),t||{});var e,o,a,n}function g(t){return String(null==t?"":t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function v(){try{return"true"===c().getItem(u)}catch(t){return!1}}function b(){try{return c().getItem(t)}catch(t){}}function f(t,e){l.SanyGuide&&l.SanyGuide.openChat({question:t,plantKey:e?"ai_trigger_auto_modal_send_ck":"ai_trigger_auto_modal_question_ck"})}function m(t){t&&("function"==typeof t.remove?t.remove():t.parentNode&&"function"==typeof t.parentNode.removeChild?t.parentNode.removeChild(t):t.style.display="none")}function h(t){var e,o,a,n=l.document;return!n||!n.body||"function"!=typeof n.createElement||n.querySelector&&n.querySelector(".sany-guide-global-auto-modal")?null:(e=function(t){if(t&&Array.isArray(t.questions)){var e=t.questions.map(s).filter(function(t){return t});if(e.length)return e}return[i(t,"popularQuestion","I want to know about popular equipment"),i(t,"quoteQuestion","I want to get the latest quote"),i(t,"supportQuestion","I need technical support")]}(t),(o=n.createElement("div")).className="sany-guide-global-auto-modal",o.innerHTML='<div class="global-auto-overlay"><div class="global-auto-modal" role="dialog" aria-label="Chat"><button class="global-auto-close" type="button" aria-label="'+g(i(t,"closeLabel","Close"))+'"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg></button>'+'<div class="global-auto-privacy-dialog" data-global-auto-privacy-dialog role="dialog" aria-modal="true" aria-label="'+g(i(a=t,"privacyDialogTitle","Reminder"))+'" hidden><div class="global-auto-privacy-dialog-panel"><h3 class="global-auto-privacy-dialog-title">'+g(i(a,"privacyDialogTitle","Reminder"))+'</h3><div class="global-auto-privacy-dialog-body"><p>'+g(i(a,"privacyText","Thank you for your recognition of SANY. In order to serve you better, we will collect relevant information such as your name, contact number, and email. This data will be stored in our cloud service provider or database for cross-border access. Our servers are primarily located in countries and regions such as Singapore, Vietnam, Russia, and Frankfurt. We are committed to strictly protecting your privacy and security. By continuing the conversation, you agree to our collection and use of the relevant information."))+"</p><p>"+g(i(a,"privacyTextP2","The equipment models, technical parameters, configuration specifications and other information displayed on the official website and in communication are for reference only due to global and regional differences. The model, technical parameters and configuration specifications of the equipment actually sold may be adjusted according to factors such as local market supply, laws and regulations. The final equipment information shall be subject to the actual situation provided by the local authorized dealer."))+'</p></div><button class="global-auto-privacy-confirm" type="button" data-global-auto-privacy-confirm>'+g(i(a,"privacyConfirm","Get it"))+'</button></div></div><div class="global-auto-body"><section class="global-auto-welcome"><h2 class="global-auto-title">'+g(i(t,"welcomeTitle","Welcome to SANY"))+'</h2><p class="global-auto-desc">'+g(i(t,"welcomeDesc","Discover our world-class machinery. Let us know what you need and we will provide the best solution for you."))+'</p><div class="global-auto-buttons"><button class="global-auto-quote" type="button" data-global-auto-quote>'+g(i(t,"quoteButton","Get a Quote"))+'</button><button class="global-auto-help-btn" type="button" data-global-auto-help>'+g(i(t,"helpButton","Get Help"))+'</button></div></section><section class="global-auto-chat"><div class="global-auto-chat-header"><span class="global-auto-chat-logo" aria-hidden="true"><img class="global-auto-chat-logo-image" src="https://www.sanyglobal.com/static/new/img/sany-guide-chat-logo.svg" alt="" loading="lazy"></span><span class="global-auto-chat-title">'+g(i(t,"chatTitle","SANY Assistant"))+'</span></div><div class="global-auto-chat-body"><div class="global-auto-message-row"><div class="global-auto-message"><div class="global-auto-bubble">'+g(i(t,"greeting","Hello! How can I help you today?"))+"</div>"+e.map(function(t){t=g(t);return'<button class="global-auto-question" type="button" data-global-auto-question="'+t+'">'+t+"</button>"}
1).join("")+'</div></div></div><div class="global-auto-input-panel">'+'<div class="global-auto-privacy-tip" data-global-auto-privacy-tip><span class="global-auto-privacy-copy">'+g(i(a=t,"privacyTips","In order to serve you better, we will collect relevant information. Terms of Service: "))+'<button class="global-auto-privacy-view" type="button" data-global-auto-privacy-view>'+g(i(a,"privacyLinkText","Click to view"))+'</button></span></div><div class="global-auto-input-wrap"><textarea class="global-auto-input" placeholder="'+g(i(t,"inputPlaceholder","Type your question..."))+'"></textarea><button class="global-auto-send" type="button" aria-label="'+g(i(t,"sendLabel","Send"))+'" data-global-auto-send><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M2 21 23 12 2 3v7l15 2-15 2v7z" /></svg></button></div></div></section></div></div></div>',n.body.appendChild(o),o)}function w(o){var a,e,n,t;o&&"function"==typeof o.querySelectorAll&&((t=(a="function"==typeof o.querySelector?o.querySelector.bind(o):function(){return null})(".global-auto-close"))&&t.addEventListener("click",function(){m(o)}),e=a("[data-global-auto-privacy-dialog]"),(t=a("[data-global-auto-privacy-view]"))&&t.addEventListener("click",function(){var t;(t=e)&&(t.hidden=!1,"function"==typeof t.removeAttribute&&t.removeAttribute("hidden"),t.style)&&(t.style.display="flex")}),(t=a("[data-global-auto-privacy-confirm]"))&&t.addEventListener("click",function(){var t;(t=e)&&(t.hidden=!0,"function"==typeof t.setAttribute&&t.setAttribute("hidden",""),t.style)&&(t.style.display="none")}),Array.prototype.slice.call(o.querySelectorAll("[data-global-auto-question]")).forEach(function(t){t.addEventListener("click",function(){f(t.getAttribute("data-global-auto-question"),!1),m(o)})}),(n=a("[data-global-auto-send]"))&&n.addEventListener("click",function(){var t=a("textarea"),e=t&&t.value?t.value.trim():"";e&&(f(e,!0),t&&(t.value=""),m(o))}),(t=a("textarea"))&&"function"==typeof t.addEventListener&&t.addEventListener("keydown",function(t){"Enter"===t.key&&n&&"function"==typeof n.click&&(t.preventDefault(),n.click())}),(t=a("[data-global-auto-quote]"))&&t.addEventListener("click",function(){l.SanyGuide.reportEvent("auto_modal_inquiry_btn_ck"),l.location.href="/quote-inquiry"}),t=a("[data-global-auto-help]"))&&t.addEventListener("click",function(){l.SanyGuide.reportEvent("auto_modal_help_btn_ck"),f(void 0,!1),m(o)})}function _(i){r||v()||b()||(r=!0,(l.setTimeout||setTimeout)(function(){var e,t,o,a;function n(t){o||(o=!0,p(t),e())}v()||b()||(e=function(){if(!v()&&!b()){var t=y(i);try{c().setItem(u,"true")}catch(t){}w(h(t))}},a=l.__SANY_GUIDE_WELCOME_QUESTIONS_PROMISE__,d()||!a||"function"!=typeof a.then?e():(t=l.setTimeout||setTimeout,o=!1,a.then(n).catch(function(){n(null)}),t(function(){n(null)},1500)))},1e4))}function E(t){var o;n||r||v()||b()||"function"==typeof l.addEventListener&&(n=!0,o=function(){var e;e=o,"function"==typeof l.removeEventListener&&a.forEach(function(t){l.removeEventListener(t,e,!1)}),_(t)},a.forEach(function(t){l.addEventListener(t,o,!1)}))}function S(t){!l.SanyGuide||v()||b()||E(t)}l.SanyGuideGlobalAuto={init:S,hasOpened:v,openGlobalAutoChatbot:f},function t(e,o){l.SanyGuide&&"function"==typeof l.SanyGuide.ready?l.SanyGuide.ready(e):o<=0||(l.setTimeout||setTimeout)(function(){t(e,o-1)},100)}(function(){S()},50),"function"==typeof l.addEventListener&&l.addEventListener("SANY_GUIDE_WELCOME_QUESTIONS_READY",function(t){p(t&&t.detail)})}(window);
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.