"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==s[0]&&2!==s[0])){p=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]-1&&d.splice(t,1)},supports:function(e){return console.warn("bridge.supports method is deprecated. Use bridge.supportsAsync instead."),w(e)},supportsAsync:function(e){return t(this,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:if(s||i)return[2,w(e)];if(a)return[2,a.has(e)];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,y("SetSupportedHandlers")];case 2:return t=n.sent(),a=new Set(t.supportedHandlers),[3,4];case 3:return n.sent(),a=new Set(["VKWebAppInit"]),[3,4];case 4:return[2,a.has(e)]}}))}))},isWebView:W,isIframe:V,isEmbedded:K,isStandalone:function(){return!K()}}}("2.15.11");exports.applyMiddleware=function t(){for(var n=[],r=0;r