1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9267],{49267:function(e,t,n){n.r(t),n.d(t,{closeIntercom:function(){return s},showIntercom:function(){return a}});var o=n(70865),r=n(96670),c="xwzyvsf9";function i(e){var t=e.email,n=e.name;e.user_id,e.user_hash,e.showSupport;try{!function(){try{(!window.performance||window.performance.navigation.type===window.performance.navigation.TYPE_RELOAD||window.performance.navigation.type===window.performance.navigation.TYPE_NAVIGATE)&&(Object.keys(localStorage).filter(function(e){return e.includes("ton")||e.includes("okx")||e.includes("metamask")||e.includes("phantom")||e.includes("wallet")||e.includes("keplr")||e.includes("tron")||e.startsWith("intercom-")}).forEach(function(e){localStorage.removeItem(e)}),Object.keys(sessionStorage).filter(function(e){return e.includes("ton")||e.includes("okx")||e.includes("wallet")||e.startsWith("intercom-")}).forEach(function(e){sessionStorage.removeItem(e)}))}catch(e){}}();var i=new URLSearchParams(window.location.search);if("1"===i.get("clearCache")||"1"===i.get("resetIntercom")){if(localStorage.clear(),sessionStorage.clear(),"indexedDB"in window)try{indexedDB.deleteDatabase("tonkeeper"),indexedDB.deleteDatabase("ton-connect"),indexedDB.deleteDatabase("okx-wallet"),indexedDB.deleteDatabase("metamask")}catch(a){}i.delete("clearCache"),i.delete("resetIntercom");var s=window.location.pathname+(i.toString()?"?"+i.toString():"");window.history.replaceState({},"",s)}var u=function(){try{var e=Object.keys(localStorage).length,t=Object.keys(localStorage).filter(function(e){return e.includes("ton")||e.includes("okx")||e.includes("metamask")||e.includes("phantom")||e.includes("wallet")}).length;return t>0&&t/e>.3}catch(n){return!1}},d=function(){try{var e=Object.keys(localStorage).filter(function(e){return e.startsWith("intercom-")||e.includes("messenger")}),t=0;if(e.forEach(function(e){try{var n=localStorage.getItem(e);n&&(n.includes("undefined")||n.includes("null")||""===n)&&(localStorage.removeItem(e),t++)}catch(o){localStorage.removeItem(e),t++}}),t>3||u())return!0;return!1}catch(n){return!1}},m=d();setTimeout(function(){try{window.APP_ID=c,function(){var e=window,t=e.Intercom;if("function"==typeof t)t("reattach_activator"),t("update",e.intercomSettings);else{var n=document,o=function(){o.c(arguments)};o.q=[],o.c=function(e){o.q.push(e)},e.Intercom=o;var r=function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://widget.intercom.io/widget/"+c,e.onload=function(){},e.onerror=function(){};var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)};"complete"===document.readyState?r():e.attachEvent?e.attachEvent("onload",r):e.addEventListener("load",r,!1)}}();var e=0,i=function(){if(window.Intercom&&"function"==typeof window.Intercom){var a="anonymous_".concat(Date.now(),"_").concat(Math.random().toString(36).substring(2,9)),s=(0,r.Z)((0,o.Z)({app_id:c},t&&t.trim()?{email:t.trim()}:{user_id:a},n&&n.trim()?{name:n.trim()}:{}),{hide_default_launcher:!1,session_duration:3e5});try{window.Intercom("boot",s),setTimeout(function(){window.Intercom&&(window.Intercom("onHide",function(){}),window.Intercom("onShow",function(){}))},1e3)}catch(u){d(),e<3&&setTimeout(function(){return i()},2e3)}}else e<15?(e++,setTimeout(i,800)):(!sessionStorage.getItem("intercom-cache-tip-shown")||m)&&sessionStorage.setItem("intercom-cache-tip-shown","true")};i()}catch(a){}},1500)}catch(l){}}function a(){try{if(window.Intercom&&"function"==typeof window.Intercom)try{window.Intercom("show")}catch(e){window.Intercom("shutdown"),setTimeout(function(){i({email:"",name:"",user_id:"",user_hash:"",showSupport:!0}),setTimeout(function(){window.Intercom&&"function"==typeof window.Intercom&&window.Intercom("show")},2e3)},500)}else i({email:"",name:"",user_id:"",user_hash:"",showSupport:!0}),setTimeout(function(){if(window.Intercom&&"function"==typeof window.Intercom)try{window.Intercom("show")}catch(e){}},3e3)}catch(n){try{window.Intercom&&window.Intercom("shutdown"),Object.keys(localStorage).forEach(function(e){(e.startsWith("intercom-")||e.includes("messenger"))&&localStorage.removeItem(e)}),setTimeout(function(){i({email:"",name:"",user_id:"",user_hash:"",showSupport:!0})},1e3)}catch(t){}}}function s(){window.Intercom("shutdown")}t.default=i}}]);
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.