PageSourceSearch

https://viagratabletsnoprescription.monster/crm-push/cdn/goldcasin…=15&config[autoSubscribe]=false

js viagratabletsnoprescription.monster collected 2026-10-01 03:05:39 UTC 39,026 bytes, 1 lines download raw bytes

1!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},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=7)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PUSH_TYPE=t.HTTP_STATUS=t.APP_EVENTS=t.PUSHWOOSH_PERMISSION=t.PUSHWOOSH_EVENTS=t.SUBSCRIPTION_STATUS=t.CRM_EVENT_TYPE=t.PLATFORM=t.DEVICE=t.MAX_RETRY_COUNT=t.RETRY_TIMEOUT=t.SAFARI_WEBSITE_PUSH_ID=t.DEBUG=t.SUBSCRIPTION_ENDPOINT=t.GET_SUBSCRIPTION_ENDPOINT=t.GET_USER_UUID_ENDPOINT=t.APP_DOMAIN=t.CRM_WEBHOOK_DOMAIN=t.CRM_DOMAIN=t.PUSHWOOSH_SERVICE_WORKER_URL=t.PUSHWOOSH_SDK_URL=t.cookieExpDate=t.cookieName=void 0,t.cookieName="web_push_user_id",t.cookieExpDate="2050-01-01",t.PUSHWOOSH_SDK_URL="https://cdn.pushwoosh.com/webpush/v3/pushwoosh-web-notifications.js",t.PUSHWOOSH_SERVICE_WORKER_URL="/sw.js",t.CRM_DOMAIN="https://goldcasino.crm-api.pd-crm.com",t.CRM_WEBHOOK_DOMAIN="https://goldcasino.crm-webhooks.pd-crm.com",t.APP_DOMAIN="https://goldcasino.crm-api.pd-crm.com",t.GET_USER_UUID_ENDPOINT="api/v2/mwl/user/uuid",t.GET_SUBSCRIPTION_ENDPOINT="api/v2/push-message/subscription",t.SUBSCRIPTION_ENDPOINT="frontend",t.DEBUG=!0,t.SAFARI_WEBSITE_PUSH_ID="web.com.stage-webpush",t.RETRY_TIMEOUT=5e4,t.MAX_RETRY_COUNT=100,function(e){e[e.DESKTOP=1]="DESKTOP",e[e.MOBILE=2]="MOBILE",e[e.ANDROID=3]="ANDROID",e[e.IOS=4]="IOS"}(t.DEVICE||(t.DEVICE={})),function(e){e[e.IOS=1]="IOS",e[e.ANDROID=3]="ANDROID",e[e.SAFARI=10]="SAFARI"}(t.PLATFORM||(t.PLATFORM={})),function(e){e.SUBSCRIBED_ON_PUSH="user_subscribed_on_push",e.UNSUBSCRIBED_FROM_PUSH="user_unsubscribed_on_push"}(t.CRM_EVENT_TYPE||(t.CRM_EVENT_TYPE={})),function(e){e.SUBSCRIBED="subscribed",e.UNSUBSCRIBED="unsubscribed"}(t.SUBSCRIPTION_STATUS||(t.SUBSCRIPTION_STATUS={})),function(e){e.INIT="init",e.READY="onReady",e.SUBSCRIBE="onSubscribe",e.REGISTER="onRegister",e.UNSUBSCRIBE="onUnsubscribe",e.PERMISSION_DENIED="onPermissionDenied"}(t.PUSHWOOSH_EVENTS||(t.PUSHWOOSH_EVENTS={})),function(e){e.GRANTED="granted"}(t.PUSHWOOSH_PERMISSION||(t.PUSHWOOSH_PERMISSION={})),function(e){e.INIT="InitEvent",e.USER_DATA="UserDataEvent",e.GET_SUBSCRIPTION="GetDeviceSubscriptionEvent",e.SUBSCRIPTION_DATA="DeviceSubscriptionDataEvent",e.SUBSCRIBE="DeviceSubscribedEvent",e.UNSUBSCRIBE="DeviceUnsubscribedEvent"}(t.APP_EVENTS||(t.APP_EVENTS={})),t.HTTP_STATUS={NOT_FOUND:404},function(e){e.APP="app",e.WEB="web"}(t.PUSH_TYPE||(t.PUSH_TYPE={}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(13),t),i(r(14),t),i(r(15),t),i(r(4),t),i(r(16),t),i(r(17),t),i(r(18),t),i(r(19),t),i(r(3),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseSubscription=void 0;var n=function(){function e(e,t,r,n,i){this._crmClient=e,this._originId=t,this._userUuid=r,this._projectId=n,this._appId=i}return Object.defineProperty(e.prototype,"originId",{set:function(e){this._originId=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userUuid",{set:function(e){this._userUuid=e}
1,enumerable:!1,configurable:!0}),e}();t.BaseSubscription=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=void 0;var n=r(0),i=function(){function e(){}return e.info=function(e){n.DEBUG&&console.info(e)},e.error=function(e){n.DEBUG&&console.error(e)},e}();t.Logger=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQueryString=void 0,t.parseQueryString=function(e){void 0===e&&(e='script[src*="web-push.js"]');var t=document.currentScript?document.currentScript:document.querySelector(e),r=null==t?void 0:t.src.replace(/^[^?]+\??/,"");return new URLSearchParams(r)}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,u)}c((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BasePush=void 0;var o=r(0),s=r(1),u=function(){function e(e){this._crmClient=e,this._getUuidRetryCount=0,this._cancelGetUuidRetry=null}return e.prototype.getUserUuid=function(e,t){return n(this,void 0,void 0,(function(){var r,n,u,c,a;return i(this,(function(i){switch(i.label){case 0:return window.CrmInfo=window.CrmInfo||{},window.CrmInfo.uuidInfo=null,s.Logger.info("BasePush -> getUserUuid. Starting request"),[4,this._crmClient.getUserUuid(e,t)];case 1:return(r=i.sent()).status!==o.HTTP_STATUS.NOT_FOUND?[3,4]:this._getUuidRetryCount++!==o.MAX_RETRY_COUNT?[3,2]:(s.Logger.info("BasePush -> getUserUuid. Max retry count exceeded."),this._stopRetrying(),[3,4]);case 2:return s.Logger.info("BasePush -> getUserUuid. Retrying"),n=s.waitWithCancel(o.RETRY_TIMEOUT),u=n.promise,c=n.cancel,this._cancelGetUuidRetry=c,[4,u];case 3:return i.sent(),[2,this.getUserUuid(e,t)];case 4:if(!r.ok)throw new Error(r.statusText);return[4,r.json()];case 5:return a=i.sent().uuid,window.CrmInfo=window.CrmInfo||{},window.CrmInfo.uuidInfo=a,this._stopRetrying(),s.Logger.info("BasePush -> getUserUuid. Uuid received: "+a),[2,a]}}))}))},e.prototype._stopRetrying=function(){s.Logger.info("BasePush -> getUserUuid. Stop retrying"),this._getUuidRetryCount=0,null!==this._cancelGetUuidRetry&&(this._cancelGetUuidRetry(),this._cancelGetUuidRetry=null)},e}();t.BasePush=u},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(20),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(8);window.WebPush=i.createPushInstance(window.ReactNativeWebView?n.PUSH_TYPE.APP:n.PUSH_TYPE.WEB)},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.createPushInstance=void 0;var n=r(9),i=r(0),o=r(1),s=r(21);t.createPushInstance=function(e){return e===i.PUSH_TYPE.APP?new n.AppPush(o.Config.projectId,o.Config.appId):new s.WebPush(o.Config.projectId,o.Config.appId,o.Config.autoSubscribe)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(10),t)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,u)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AppPush=void 0;var u=r(11),c=r(5),a=r(6),p=r(1),d=function(e){function t(t,r){var n=e.call(this,new a.CrmClient)||this;return n._projectId=t,n._appId=r,n._subscription=null,n}return i(t,e),t.prototype.registerUser=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:if(null===this._projectId||null===this._appId)return p.Logger.info("AppPush -> registerUser. projectId: "+this._projectId+" or appId: "+this._appId+" was not provided. Stopping execution"),[2];if(!e)return p.Logger.info("AppPush -> registerUser. originId: "+e+" was not provided. Stopping execution"),[2];this._stopRetrying(),n.label=1;case 1:return n.trys.push([1,4,,5]),p.Logger.info("AppPush -> registerUser. originId received: "+e),[4,this.getUserUuid(this._projectId,e)];case 2:return t=n.sent(),null===this._subscription?this._subscription=new u.AppSubscription(this._crmClient,e,t,this._projectId,this._appId):(this._subscription.originId=e,this._subscription.userUuid=t),[4,this._subscription.sendUserData()];case 3:return n.sent(),[3,5];case 4:return r=n.sent(),p.Logger.error(r),[3,5];case 5:return[2]}}
1))}))},t}(c.BasePush);t.AppPush=d},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(12),t)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,u)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AppSubscription=void 0;var u=r(2),c=r(0),a=r(1),p=function(e){function t(t,r,n,i,o){var s=e.call(this,t,r,n,i,o)||this;s._hostname=a.extractDomain(window.location.hostname),s.hwid="",s.setupListeners();var u={appId:s._appId};return s.dispatchEvent({name:c.APP_EVENTS.INIT,payload:u}),a.Logger.info("AppSubscription "+c.APP_EVENTS.INIT+" event with payload: "+JSON.stringify(u)+" sent"),s}return i(t,e),Object.defineProperty(t.prototype,"platform",{get:function(){return navigator.appVersion.includes("Android")?c.PLATFORM.ANDROID:c.PLATFORM.IOS},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceType",{get:function(){return this.platform===c.PLATFORM.ANDROID?c.DEVICE.ANDROID:c.DEVICE.IOS},enumerable:!1,configurable:!0}),t.prototype.sendUserData=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o;return s(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,this._crmClient.getSubscription({projectId:this._projectId,userId:this._originId,deviceType:this.deviceType,domain:this._hostname})];case 1:if(!(e=s.sent()).ok)throw new Error(e.statusText);return[4,e.json()];case 2:return t=s.sent(),r=t.hwid,n=t.status,this.hwid=r,a.Logger.info("AppSubscription -> getSubscriptionData. Subscription Data received: "+JSON.stringify(t)),i={platform:this.platform,hwid:r,status:n,userId:this._originId,userUuid:this._userUuid},this.dispatchEvent({name:c.APP_EVENTS.USER_DATA,payload:i}),a.Logger.info("AppSubscription "+c.APP_EVENTS.USER_DATA+" event with payload: "+JSON.stringify(i)+" sent"),[3,4];case 3:return o=s.sent(),a.Logger.error(o),[3,4];case 4:return[2]}}
1))}))},t.prototype.getSubscriptionData=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o;return s(this,(function(s){switch(s.label){case 0:a.Logger.info("AppSubscription -> getSubscriptionData. Starting request"),s.label=1;case 1:return s.trys.push([1,4,,5]),[4,this._crmClient.getSubscription({projectId:this._projectId,userId:this._originId,deviceType:this.deviceType,domain:this._hostname})];case 2:if(!(e=s.sent()).ok)throw new Error(e.statusText);return[4,e.json()];case 3:return t=s.sent(),r=t.hwid,n=t.status,a.Logger.info("AppSubscription -> getSubscriptionData. Subscription Data received: "+JSON.stringify(t)),i={platform:this.platform,hwid:r,status:n,userId:this._originId,userUuid:this._userUuid},this.dispatchEvent({name:c.APP_EVENTS.SUBSCRIPTION_DATA,payload:i}),a.Logger.info("AppSubscription "+c.APP_EVENTS.SUBSCRIPTION_DATA+" event with payload: "+JSON.stringify(i)+" sent"),[3,5];case 4:return o=s.sent(),a.Logger.error(o),[3,5];case 5:return[2]}}))}))},t.prototype.subscribe=function(e){return o(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(i){switch(i.label){case 0:t=e.hwid,r={project_id:this._projectId,user_id:this._originId,platform:this.platform,device_type:this.deviceType,hwid:t,domain:this._hostname},i.label=1;case 1:return i.trys.push([1,3,,4]),a.Logger.info("AppSubscription -> subscribe. Starting request"),[4,this._crmClient.subscribe(r)];case 2:return i.sent(),a.Logger.info("AppSubscription -> subscribe. Request finished"),[3,4];case 3:return n=i.sent(),a.Logger.error(n),[3,4];case 4:return[2]}}
1))}))},t.prototype.unsubscribe=function(e){return o(this,void 0,void 0,(function(){var t,r,n;return s(this,(function(i){switch(i.label){case 0:t=e.userId,r={project_id:this._projectId,user_id:t,platform:this.platform,device_type:this.deviceType},i.label=1;case 1:return i.trys.push([1,3,,4]),a.Logger.info("AppSubscription -> unsubscribe. Starting request"),[4,this._crmClient.unsubscribe(r)];case 2:return i.sent(),a.Logger.info("AppSubscription -> unsubscribe. Request finished"),this.dispatchEvent({name:c.APP_EVENTS.UNSUBSCRIBE,payload:{platform:this.platform,userId:t,userUuid:this._userUuid,hwid:this.hwid}}),[3,4];case 3:return n=i.sent(),a.Logger.error(n),[3,4];case 4:return[2]}}))}))},t.prototype.setupListeners=function(){this.platform===c.PLATFORM.ANDROID?document.addEventListener("message",this.handleMessageReceive.bind(this)):window.addEventListener("message",this.handleMessageReceive.bind(this))},t.prototype.handleMessageReceive=function(e){try{var t=JSON.parse(e.data),r=t.name,n=t.payload;switch(a.Logger.info("AppSubscription "+r+" event with payload: "+JSON.stringify(n)+" received"),r){case c.APP_EVENTS.GET_SUBSCRIPTION:return this.getSubscriptionData();case c.APP_EVENTS.SUBSCRIBE:return this.subscribe(n);case c.APP_EVENTS.UNSUBSCRIBE:return this.unsubscribe(n);default:throw new Error("Unknown event")}}catch(e){a.Logger.error(e)}},t.prototype.dispatchEvent=function(e){window.ReactNativeWebView.postMessage(JSON.stringify(e))},t}(u.BaseSubscription);t.AppSubscription=p},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CookieHelper=void 0;var i=r(0),o=r(3),s=function(){function e(){}return e.get=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},e.set=function(e,t,r){void 0===r&&(r={}),r=n({path:"/",expires:new Date(i.cookieExpDate).toUTCString()},r);var s=encodeURIComponent(e)+"="+encodeURIComponent(t);for(var u in r){s+="; "+u,s+="="+r[u]}document.cookie=s,o.Logger.info("Cookie "+e+" with value of "+t+" was set")},e.delete=function(e){this.set(e,"",{"max-age":-1}),o.Logger.info("Cookie "+e+" was removed")},e}();t.CookieHelper=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractDomain=void 0,t.extractDomain=function(e){return e=(e=e.replace(/^www\./i,"")).replace(/(\.[a-z]{2,3})*\.[a-z]{2,3}$/i,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=void 0,t.isMobile=function(){return null!==navigator.userAgent.match(/Android/i)||null!==navigator.userAgent.match(/iPhone/i)||null!==navigator.userAgent.match(/iPad/i)||null!==navigator.userAgent.match(/iPod/i)||null!==navigator.userAgent.match(/webOS/i)||null!==navigator.userAgent.match(/BlackBerry/i)||null!==navigator.userAgent.match(/Windows Phone/i)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApiDomain=void 0;var n=r(0);t.getApiDomain=function(){return window.ReactNativeWebView?n.APP_DOMAIN:void 0===n.CRM_DOMAIN||""===n.CRM_DOMAIN?window.location.origin:n.CRM_DOMAIN}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWebhookDomain=void 0;var n=r(0);t.getWebhookDomain=function(){return window.ReactNativeWebView?void 0===n.CRM_WEBHOOK_DOMAIN||""===n.CRM_WEBHOOK_DOMAIN?n.APP_DOMAIN:n.CRM_WEBHOOK_DOMAIN:void 0===n.CRM_WEBHOOK_DOMAIN||""===n.CRM_WEBHOOK_DOMAIN?void 0!==n.CRM_DOMAIN&&""!==n.CRM_DOMAIN?n.CRM_DOMAIN:window.location.origin:n.CRM_WEBHOOK_DOMAIN}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.waitWithCancel=void 0,t.waitWithCancel=function(e){var t,r;return{promise:new Promise((function(n,i){r=i,t=window.setTimeout((function(){return n()}),e)})),cancel:function(){clearTimeout(t),r(new Error("Promise cancelled"))}}}},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var n=r(4).parseQueryString(),i=function(){function e(){}return Object.defineProperty(e,"appId",{get:function(){return n.get("config[appId]")},enumerable:!1,configurable:!0}),Object.defineProperty(e,"projectId",{get:function(){var e=n.get("config[projectId]");return null===e?null:parseInt(e,10)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"autoSubscribe",{get:function(){return null===n.get("config[autoSubscribe]")||"true"===n.get("config[autoSubscribe]")},enumerable:!1,configurable:!0}),e}();t.Config=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CrmClient=void 0;var n=r(0),i=r(1),o=function(){function e(){this.apiDomain=i.getApiDomain(),this.webhookDomain=i.getWebhookDomain()}return e.prototype.getUserUuid=function(e,t){var r=this.apiDomain+"/"+n.GET_USER_UUID_ENDPOINT+"?project="+e+"&originId="+t;return fetch(r)},e.prototype.getSubscription=function(e){var t=e.projectId,r=e.userId,i=e.deviceType,o=e.domain,s=this.apiDomain+"/"+n.GET_SUBSCRIPTION_ENDPOINT+"?projectId="+t+"&userId="+r+"&deviceType="+i;return void 0!==o&&(s+="&domain="+o),fetch(s)},e.prototype.subscribe=function(e){var t=e.project_id,r=e.user_id,i=e.platform,o=e.device_type,s=e.fcm_token,u=e.hwid,c=e.domain,a={project_id:t,event_type:n.CRM_EVENT_TYPE.SUBSCRIBED_ON_PUSH,time:Date.now().toString(),data:{user_id:r,platform:i,device_type:o,fcm_token:s,hwid:u,domain:c}};return this.sendWebhook(a)},e.prototype.unsubscribe=function(e){var t=e.project_id,r=e.user_id,i=e.platform,o=e.device_type,s={project_id:t,event_type:n.CRM_EVENT_TYPE.UNSUBSCRIBED_FROM_PUSH,time:Date.now().toString(),data:{user_id:r,platform:i,device_type:o}};return r?this.sendWebhook(s):Promise.resolve(new Response)},e.prototype.sendWebhook=function(e){var t=this.webhookDomain+"/"+n.SUBSCRIPTION_ENDPOINT;return fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},mode:"no-cors",body:JSON.stringify(e)})},e}();t.CrmClient=o},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(22),t)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,u)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}};
1Object.defineProperty(t,"__esModule",{value:!0}),t.WebPush=void 0;var u=r(5),c=r(6),a=r(1),p=r(23),d=r(25),h=function(e){function t(t,r,n){var i=e.call(this,new c.CrmClient)||this;return i._projectId=t,i._appId=r,i._autoSubscribe=n,i._subscription=null,i}return i(t,e),t.prototype.registerUser=function(e){return o(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:if(null===this._projectId||null===this._appId)return a.Logger.info("WebPush -> registerUser. projectId: "+this._projectId+" or appId: "+this._appId+" was not provided. Stopping execution"),[2];if(!e)return a.Logger.info("WebPush -> registerUser. originId: "+e+" was not provided. Stopping execution"),[2];if(!d.PlatformAndDevice.isSupportedBrowser)return a.Logger.info("WebPush -> registerUser. Browser is not Chrome, Firefox or Safari (PWA). Stopping execution"),[2];this._stopRetrying(),n.label=1;case 1:return n.trys.push([1,4,,5]),a.Logger.info("WebPush -> registerUser. originId received: "+e),[4,this.getUserUuid(this._projectId,e)];case 2:return t=n.sent(),null===this._subscription?(this._subscription=new p.WebSubscription(this._crmClient,e,t,this._projectId,this._appId,this._autoSubscribe),this._subscription.setupListeners()):(this._subscription.originId=e,this._subscription.userUuid=t),"Notification"in window&&"denied"!==Notification.permission?[4,this._subscription.checkOnCrm()]:(a.Logger.info("WebPush -> registerUser. Notification permission is denied. Stopping execution"),[2]);case 3:return n.sent(),[3,5];case 4:return r=n.sent(),a.Logger.error(r),[3,5];case 5:return[2]}}
1))}))},t}(u.BasePush);t.WebPush=h},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(24),t)},function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,u)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebSubscription=void 0;var u=r(2),c=r(0),a=r(1),p=function(e){function t(t,r,n,i,o,s){var u=e.call(this,t,r,n,i,o)||this;return u._hostname=a.extractDomain(window.location.hostname),u.autoSubscribe=s,u._createAndAppendSDKScript(),u}return i(t,e),Object.defineProperty(t.prototype,"ready",{get:function(){return window.Pushwoosh&&window.Pushwoosh.ready},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceType",{get:function(){return a.isMobile()?c.DEVICE.MOBILE:c.DEVICE.DESKTOP},enumerable:!1,configurable:!0}),t.prototype.checkOnCrm=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o,u,p=this;return s(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),a.Logger.info("WebSubscription -> checkOnCrm. Starting request"),[4,this._crmClient.getSubscription({projectId:this._projectId,userId:this._originId,deviceType:this.deviceType,domain:this._hostname})];case 1:if(!(e=s.sent()).ok)throw new Error(e.statusText);return[4,e.json()];case 2:return t=s.sent(),r=t.status,n=t.domain,i=t.hwid,this._crmHwid=i,window.CrmInfo=window.CrmInfo||{},window.CrmInfo.subscriptionInfo=t,window.CrmInfo.autoSubscribe=this.autoSubscribe,(o=a.CookieHelper.get(c.cookieName))&&o===this._originId.toString()&&a.Logger.info("WebSubscription -> registerUser. originId is not changed. Stopping execution"),a.Logger.info("WebSubscription -> checkOnCrm. Subscription Data received: "+JSON.stringify({status:r,domain:n})),this._status=r,this._domain=n,this.ready?[2,this.checkOnPushwoosh()]:(window.Pushwoosh.push([c.PUSHWOOSH_EVENTS.READY,function(){a.Logger.info("Pushwoosh ready event"),p.checkOnPushwoosh()}]),[2]);case 3:return u=s.sent(),a.Logger.error(u),[3,4];case 4:return[2]}}
1))}))},t.prototype.checkOnPushwoosh=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i;return s(this,(function(o){switch(o.label){case 0:e=window.Pushwoosh,o.label=1;case 1:return o.trys.push([1,11,,12]),[4,e.isSubscribed()];case 2:return t=o.sent(),a.Logger.info("WebSubscription -> checkOnPushwoosh. isSubscribed: "+t),[4,e.api.getParams()];case 3:return r=o.sent(),this._crmHwid&&r.hwid&&this._crmHwid!==r.hwid?[4,this.updateSubscription()]:[3,5];case 4:o.sent(),a.Logger.info("WebSubscription -> update hwid on CRM"),o.label=5;case 5:return this._domain&&this._domain!==this._hostname?[4,this.updateSubscription()]:[3,7];case 6:o.sent(),a.Logger.info("WebSubscription -> update domain on CRM"),o.label=7;case 7:return t?[4,e.getUserId()]:[2,this.subscribe()];case 8:return n=o.sent(),a.Logger.info("WebSubscription -> checkOnPushwoosh. userId received: "+n),n===this._userUuid?(a.Logger.info("WebSubscription -> checkOnPushwoosh. userId is not changed. stopping execution"),[2,a.CookieHelper.set(c.cookieName,this._originId.toString())]):[4,this.unsubscribe()];case 9:return o.sent(),[4,this.resubscribe()];case 10:return o.sent(),this._status===c.SUBSCRIPTION_STATUS.SUBSCRIBED?(a.Logger.info("WebSubscription -> checkOnPushwoosh. status: "+c.SUBSCRIPTION_STATUS.SUBSCRIBED+" stopping execution"),[2,a.CookieHelper.set(c.cookieName,this._originId.toString())]):[2,this.save()];case 11:return i=o.sent(),a.Logger.error(i),[3,12];case 12:return[2]}}
1))}))},t.prototype.save=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o,u,p;return s(this,(function(s){switch(s.label){case 0:e=window.Pushwoosh,s.label=1;case 1:return s.trys.push([1,4,,5]),[4,Promise.all([e.api.getParams(),e.api.data.getDeviceType()])];case 2:return t=s.sent(),r=t[0],n=r.fcmToken,i=r.hwid,o=t[1],u={project_id:this._projectId,user_id:this._originId,platform:o,device_type:this.deviceType,fcm_token:n,hwid:i,domain:this._hostname},a.Logger.info("WebSubscription -> subscribe. Starting request"),[4,this._crmClient.subscribe(u)];case 3:return s.sent(),a.Logger.info("WebSubscription -> subscribe. Request finished"),a.CookieHelper.set(c.cookieName,this._originId.toString()),[3,5];case 4:return p=s.sent(),a.Logger.error(p),[3,5];case 5:return[2]}}))}))},t.prototype.subscribe=function(){return o(this,void 0,void 0,(function(){var e,t,r,n=this;return s(this,(function(i){switch(i.label){case 0:if(e=window.Pushwoosh,t=function(){return e.api.data.setUserId(n._userUuid).then((function(){return o(n,void 0,void 0,(function(){var t,r;return s(this,(function(n){switch(n.label){case 0:return[4,e.driver.getPermission()];case 1:return t=n.sent(),r=!this.autoSubscribe&&this._status===c.SUBSCRIPTION_STATUS.UNSUBSCRIBED&&t===c.PUSHWOOSH_PERMISSION.GRANTED,this._status===c.SUBSCRIPTION_STATUS.UNSUBSCRIBED&&a.Logger.info("Need to update subscription if status unsubscribed : "+r+"\n                 Permission: "+t),this.autoSubscribe||r?[2,e.subscribe()]:[2,Promise.resolve()]}}))}))})).catch((function(e){return console.error(e)}))},this._status===c.SUBSCRIPTION_STATUS.UNSUBSCRIBED||null===this._status)return a.Logger.info("WebSubscription -> subscribe. status: "+this._status+" - subscribing on Pushwoosh"),[2,t()];if(this._domain===this._hostname)return a.Logger.info("WebSubscription -> subscribe. domain: "+this._domain+", hostname: "+this._hostname+" - subscribing on Pushwoosh"),[2,t()];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.resubscribe()];case 2:return i.sent(),[2,a.CookieHelper.set(c.cookieName,this._originId.toString())];case 3:return r=i.sent(),a.Logger.error(r),[3,4];case 4:return[2]}}
1))}))},t.prototype.resubscribe=function(){return o(this,void 0,void 0,(function(){var e,t;return s(this,(function(r){switch(r.label){case 0:e=window.Pushwoosh,r.label=1;case 1:return r.trys.push([1,4,,5]),a.Logger.info("WebSubscription -> resubscribe. Resubscribing on Pushwoosh userId: "+this._userUuid),[4,e.api.data.setUserId(this._userUuid)];case 2:return r.sent(),[4,e.api.registerUser(this._userUuid)];case 3:return r.sent(),[3,5];case 4:return t=r.sent(),a.Logger.error(t),[3,5];case 5:return[2]}}))}))},t.prototype.updateSubscription=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i,o,u,c,p;return s(this,(function(s){switch(s.label){case 0:e=window.Pushwoosh,s.label=1;case 1:return s.trys.push([1,5,,6]),[4,Promise.all([e.api.getParams(),e.api.data.getDeviceType()])];case 2:return t=s.sent(),r=t[0],n=r.fcmToken,i=r.hwid,o=t[1],u={project_id:this._projectId,user_id:this._originId,platform:o,device_type:this.deviceType,domain:this._hostname},c={project_id:this._projectId,user_id:this._originId,platform:o,device_type:this.deviceType,fcm_token:n,hwid:i,domain:this._hostname},[4,this._crmClient.unsubscribe(u)];case 3:return s.sent(),[4,this._crmClient.subscribe(c)];case 4:return s.sent(),[3,6];case 5:return p=s.sent(),a.Logger.error(p),[3,6];case 6:return[2]}}
1))}))},t.prototype.unsubscribe=function(){return o(this,void 0,void 0,(function(){var e,t,r,n,i;return s(this,(function(o){switch(o.label){case 0:if(void 0===(e=a.CookieHelper.get(c.cookieName)))return a.Logger.info("WebSubscription -> unsubscribe. Previous user id does not exists. Stopping execution"),[2];t=window.Pushwoosh,o.label=1;case 1:return o.trys.push([1,4,,5]),[4,t.api.data.getDeviceType()];case 2:return r=o.sent(),n={project_id:this._projectId,user_id:parseInt(e,10),platform:r,device_type:this.deviceType,domain:this._hostname},a.Logger.info("WebSubscription -> unsubscribe. Starting request"),[4,this._crmClient.unsubscribe(n)];case 3:return o.sent(),a.Logger.info("WebSubscription -> unsubscribe. Request finished"),a.CookieHelper.delete(c.cookieName),[3,5];case 4:return i=o.sent(),a.Logger.error(i),[3,5];case 5:return[2]}}))}))},t.prototype.setupListeners=function(){var e=this,t=window.Pushwoosh||[];t.push([c.PUSHWOOSH_EVENTS.INIT,{logLevel:"info",applicationCode:this._appId,safariWebsitePushID:c.SAFARI_WEBSITE_PUSH_ID,autoSubscribe:!1,serviceWorkerUrl:c.PUSHWOOSH_SERVICE_WORKER_URL,scope:"/",subscribeWidget:{enable:!1}}]),t.push([c.PUSHWOOSH_EVENTS.SUBSCRIBE,function(t){a.Logger.info("Pushwoosh subscribe event received"),t.registerUser(e._userUuid)}]),t.push([c.PUSHWOOSH_EVENTS.REGISTER,function(){a.Logger.info("Pushwoosh register event received"),e.save()}]),t.push([c.PUSHWOOSH_EVENTS.UNSUBSCRIBE,function(){a.Logger.info("Pushwoosh unsubscribe event received"),e.unsubscribe()}]),t.push([c.PUSHWOOSH_EVENTS.PERMISSION_DENIED,function(){a.Logger.info("Pushwoosh permission denied event received"),e.unsubscribe()}]),window.Pushwoosh=t},t.prototype._createAndAppendSDKScript=function(){a.Logger.info("WebSubscription. Loading Pushwoosh SDK");var e=document.head,t=document.createElement("script");t.type="text/javascript",t.src=c.PUSHWOOSH_SDK_URL,t.async=!0;var r=e.getElementsByTagName("script")[0];r?e.insertBefore(t,r):e.appendChild(t)},t}(u.BaseSubscription);t.WebSubscription=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformAndDevice=void 0;var n=function(){function e(){}return Object.defineProperty(e,"isChrome",{get:function(){return/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isFirefox",{get:function(){return/Firefox/.test(navigator.userAgent)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isSafari",{get:function(){return/Safari/.test(navigator.userAgent)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isStandaloneMode",{get:function(){var e,t;return null!==(t=null===(e=window.navigator)||void 0===e?void 0:e.standalone)&&void 0!==t&&t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isSupportedBrowser",{get:function(){return e.isChrome||e.isFirefox||e.isSafari&&e.isStandaloneMode},enumerable:!1,configurable:!0}),e}();t.PlatformAndDevice=n}]);

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.