/*! Our embeddable contains third-party, open source software and/or libraries. To view them and their license terms, go to https://developer.zendesk.com/documentation/classic-web-widget-sdks/web-widget/getting-started/legal/ */
(globalThis.webpackChunk_zendesk_web_widget_classic=globalThis.webpackChunk_zendesk_web_widget_classic||[]).push([[9758],{47154:e=>{var t;window,t=function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=web_sdk!./src/web_sdk.js")}({"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Assert!./vendor/jxml/src/jx/core/Assert.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/globals/isFunction!./vendor/jxml/src/jx/core/globals/isFunction.js"),n={ok:s,isFunction:function(e,t){s(o(e),t)}};function s(e,t){e||n.log(t)}n.log=function(){},e.exports=n},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Browser!./vendor/jxml/src/jx/core/Browser.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Assert!./vendor/jxml/src/jx/core/Assert.js"),n=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/globals/isUndefined!./vendor/jxml/src/jx/core/globals/isUndefined.js");function s(){var e,t,r=navigator,s=r.userAgent.toLowerCase(),a=+(/trident.*rv:? *([0-9]+)/.exec(s)||[])[1]||!1,i=function(){for(var e=3,t=document.createElement("div"),r=t.getElementsByTagName("i");t.innerHTML="\x3c!--[if gt IE "+ ++e+"]>4?e:document.documentMode}(),l=8===i,c=7===i,d=6===i,u=!!window.opera&&"[object Opera]"===Object.prototype.toString.call(window.opera),j=s.indexOf("edge")>-1,m="Google Inc."===r.vendor,p="Apple Computer, Inc."===r.vendor,f=!j&&!i&&!u&&(m||p||/webkit|khtml/.test(s)),h=+/\d+/.exec(/firefox\/\d+/i.exec(r.userAgent)||""),v=-1!==s.indexOf("iphone"),x=-1!==s.indexOf("ipod"),b=-1!==s.indexOf("ipad"),g=v||b||x,w=-1!==s.indexOf("android"),y=-1!==s.indexOf("wp7"),_=g||w||y,k=(i?"msie":h&&"firefox")||u&&"opera"||m&&"chrome"||p&&"safari",O="CSS1Compat"===document.compatMode,S=!O,$=i&&S&&document.documentElement&&!!document.documentElement.style.setExpression,E=document.documentMode||i,T=-1!==s.indexOf("windows")||-1!==s.indexOf("win32"),L=-1!==s.indexOf("macintosh")||-1!==s.indexOf("mac os x"),C="https:"===document.location.protocol,P=r.language||r.browserLanguage||r.userLanguage||r.systemLanguage,A={noBoxSizing:E<=7,ie:{cssBottomRight:d,cssFixed:d||$,buggyCSS:d||$}},D="textContent"in document.createElement("div"),R=!1,z=null;try{window.CustomEvent&&/\[native code\]|\[object CustomEventConstructor\]/.test(window.CustomEvent.toString())&&(new window.CustomEvent("testevent",{bubbles:!1,cancelable:!0,detail:!0}),R=!0,z=window.CustomEvent)}catch(e){}switch(k){case"msie":case"firefox":case"chrome":t=+/\d+/.exec(new RegExp(k+"[ /]\\d+").exec(s)||"");break;default:t=+/\d+/.exec(/version[ \/]\d+/.exec(s)||"")}var M,I=!1;try{var N={get passive(){I=!0}},U=function(){};window.addEventListener("test",U,N),window.removeEventListener("test",U,N)}catch(e){I=!1}if(d){var V=[];A.leaksMemory=function(e){o.isFunction(e),V.push(e)},A.leaksMemory.remove=function(e){for(var t=V.length-1;t>=0;t--)e==V[t]&&V.splice(t,1)}}return{browser:k,version:t,isStrict:O,isQuirks:S,isOpera:u,isSafari:p,isWebKit:f,isChrome:m,isAndroid:w,isIPhone:v,isIPod:x,isIPad:b,isIOS:g,isWP7:y,isMobile:_,isNewIE:a,isEdge:j,isIE:i,isIE6:d,isIE7:c,isIE8:l,isFF:h,isCustomEvents:R,CustomEvent:z,engineIE:E,bugs:A,isWindows:T,isMac:L,isSecure:C,secureURL:function(e){return e.replace(/^http:/,C?"https:":"http:")},hasFlash:function(){var e,t=r.plugins&&r.plugins["Shockwave Flash"];if(t)return(e=r.mimeTypes&&r.mimeTypes["application/x-shockwave-flash"])&&!e.enabledPlugin?null:t.description;if(window.ActiveXObject)try{return(t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")).AllowScriptAccess="always",t.GetVariable("$version")}catch(e){}}(),hasJava:(M=r.mimeTypes,i?!y&&"javaEnabled"in r&&r.javaEnabled():M&&(M=M["application/x-java-vm"])&&(M=M.enabledPlugin)?M.name:void 0),language:P,getScrollbarSize:function(){if(!n(e))return e;var t=document.createElement("div"),r=document.createElement("div"),o=t.style,s=r.style;return o.overflow="auto",o.width=o.height="100px",o.position="absolute",o.top="-1000px",s.width="100%",s.height="200px",t.appendChild(r),document.body.appendChild(t),e=t.offsetWidth-t.clientWidth,document.body.removeChild(t),e},getWindowClientHeight:function(){if(void 0!==window.innerHeight)return window.innerHeight;if(document.documentElement)return document.documentElement.offsetHeight;var e=document.getElementsByTagName("body");return e.length?e[0].clientHeight:0},getWindowClientWidth:function(){if(void 0!==window.innerWidth)return window.innerWidth;if(document.documentElement)return document.documentElement.offsetWidth;var e=document.getElementsByTagName("body");return e.length?e[0].clientWidth:0},isTextContent:D,hasPassiveListeners:I}}var a=s();a.sniffBrowser=s,e.exports=a},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Events!./vendor/jxml/src/jx/core/Events.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Browser!./vendor/jxml/src/jx/core/Browser.js"),n={extend:s,body:s(document.body,!0),window:s(window,!0),document:s(document,!0),runAfterScriptReady:function(e){c(0,e)},runAfterFirstChildReady:function(e){c(1,e)},runAfterDomReady:function(e){c(2,e)}};function s(e,t){var r={},s={},a=function(t){return!e.nodeType&&e!=window&&e!=document||("FORM"!=e.tagName||"submit"!=t)&&!o.isCustomEvents&&(o.isFF&&o.isFF<9?!document.createEvent("event")[t.toUpperCase()]:void 0===e["on"+t])},i=function(t){t in s||(s[t]=function(s){s&&(s.stopPropagation||c(s));var a,i=r[t],l=i.length,d=!0;for(i._active=!0,a=0;a0||(document.body&&document.body.firstChild?d(1):window.setTimeout(e,200))}(),o.isSafari?a=window.setInterval((function(){/loaded|complete/i.test(document.readyState)&&(window.clearInterval(a),u())}),20):document.addEventListener&&(/loaded|complete/i.test(document.readyState)?u():document.addEventListener("DOMContentLoaded",u,!1)),e.exports=n},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/FunctionUtils!./vendor/jxml/src/jx/core/FunctionUtils.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/globals/isFunction!./vendor/jxml/src/jx/core/globals/isFunction.js"),n={bind:function(e,t){if(!o(e))throw new TypeError("FunctionUtils.bind - what is trying to be bound is not callable");if(o(e.bind)&&!("prototype"in e.bind))return e.bind.apply(e,s.call(arguments,1));var r=s.call(arguments,2),n=function(){},a=function(){return e.apply(this instanceof n&&t?this:t,r.concat(s.call(arguments)))};return n.prototype=a.prototype,a.prototype=new n,a},once:function(e){var t;return function(){if(!t)return t=!0,e.apply(this,s.call(arguments))}}},s=Array.prototype.slice;e.exports=n},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Module!./vendor/jxml/src/jx/core/Module.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Modules!./vendor/jxml/src/jx/core/Modules.js"),n=r("./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-$data-loader.js?git_commit=fe3feadc90d3b32f24ac083c22901e0970b582ac&build_number=20240328.145531&release_tag=!./vendor/jxml/src/jx/core/Data.js"),s=r("./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/io/ScriptLoader!./vendor/jxml/src/jx/io/ScriptLoader.js"),a=[],i=/^function *\( *\) *{ *([\s\S]*) *}$/;function l(){var e=Array.prototype.slice.call(arguments),t=e.shift();this.fqname=t,this.name=t.split(".").pop(),this.callbacks=[],this.dependencies=e,a.push(this)}function c(e){e()}l.ensureLoaded=function(e,t){e instanceof l?e.ensureLoaded(t):t()},l.prototype.ensureLoaded=function(e){this.ifLoaded(e),this.load()},l.prototype.ifLoaded=function(e){this.callbacks.push(e)},l.prototype.load=function(){var e,t,r=this.getDependencies();function a(e){!function(e,t){var r=o[e];r.module_function=new Function("$Modules",t.toString().replace(i,"$1")),r.ready()}(e[0],e[1])}for(e=0;e=0;e--)if(a[e]==this){a.splice(e,1);break}this.module_function(o);var e,t=o[this.fqname];for(t.ifLoaded=t.ensureLoaded=c,e=0;e=0;t--){for(r=(n=(o=a[t]).dependencies).length-1;r>=0;r--)if(n[r]==e){n.splice(r,1);break}o.ready()}}(this.fqname),delete this.callbacks,delete this.fqname,delete this.name,delete this.dependencies,delete this.loader}},o.Module=l,e.exports=l},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/Modules!./vendor/jxml/src/jx/core/Modules.js":function(e,t,r){var o=r("./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-$data-loader.js?git_commit=fe3feadc90d3b32f24ac083c22901e0970b582ac&build_number=20240328.145531&release_tag=!./vendor/jxml/src/jx/core/Data.js"),n={};n.$Data=o,e.exports=n},"./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js?asttocode=true!./vendor/jxml/jxmlcjs/webpack3/loaders/zop-linter-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/js-ast-loader.js!./vendor/jxml/jxmlcjs/webpack3/loaders/jxml-loader.js?name=jx/core/ObjectUtil!./vendor/jxml/src/jx/core/ObjectUtil.js":function(e,t){var r=function(e,t){return e===t||e&&t&&"object"==typeof e&&"object"==typeof t&&o(e,t)},o=function(e,t){var o;for(o in e)if(!r(e[o],t[o]))return!1;for(o in t)if(!r(e[o],t[o]))return!1;return!0},n=function(e){if("object"!=typeof e||!e)return e;var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r]));return t},s={equal:r,clone:n,extend:function(e){if(e)for(var t=1,r=arguments.length;t>>0;if(0===r)return-1;var o=0;if(arguments.length>0&&((o=Number(arguments[1]))!=o?o=0:0!=o&&o!=1/0&&o!=-1/0&&(o=(o>0||-1)*Math.floor(Math.abs(o)))),o>=r)return-1;for(var n=o>=0?o:Math.max(r-Math.abs(o),0);n0;)if(i[s][0]===e&&i[s][1]===t)return;i.push([e,t]),o||(o=setTimeout(c,0))}function c(){var e=+new Date+a,t=i;i=[],o&&(o=clearTimeout(o));for(var r=0,n=t.length;re){rdocument.win = window<\/script>"),t.close(),r=t.win}catch(e){}if(!r){var a=this.iframe=document.createElement("iframe"),i=a.style;s.allowTransparency="true",s.frameBorder="0",i.backgroundColor="transparent",i.position="absolute",i.width=i.height="1px",i.left=i.top="-9999px",i.border=0,document.body.appendChild(a);try{(t=(r=a.contentWindow).document).open(),t.close()}catch(e){return s.fire("error"),void s.destroy()}}s.doc=t,s.win=r,s.$Loader={cleanup:function(){n((function(){s.$Loader.payload?s.fire("success",s.$Loader.payload):s.fire("error"),s.$Loader.payload=null,e||s.destroy()}))}},s.reusable=e}s.prototype.setScope=function(e){this.scope=e};var a=/[&<>"']/g;s.prototype.load=function(e){var t;if(/^(?:https?:)?\/\//i.test(e)){e=(t=e)&&t.replace(a,(function(e){return""+e.charCodeAt(0)+";"}));try{this.doc.open(),this.win.$Loader=this.$Loader,this.win.$Loader.scope=this.scope||{},this.doc.write('