diff --git a/asset-manifest.json b/asset-manifest.json index 1b24d14..108079e 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,19 +1,19 @@ { "files": { "main.css": "https://countly.github.io/countly-banking-demo/static/css/main.b8a3c6d9.chunk.css", - "main.js": "https://countly.github.io/countly-banking-demo/static/js/main.52245336.chunk.js", - "main.js.map": "https://countly.github.io/countly-banking-demo/static/js/main.52245336.chunk.js.map", + "main.js": "https://countly.github.io/countly-banking-demo/static/js/main.d17c7f78.chunk.js", + "main.js.map": "https://countly.github.io/countly-banking-demo/static/js/main.d17c7f78.chunk.js.map", "runtime-main.js": "https://countly.github.io/countly-banking-demo/static/js/runtime-main.e0879aaf.js", "runtime-main.js.map": "https://countly.github.io/countly-banking-demo/static/js/runtime-main.e0879aaf.js.map", "static/css/2.a6c20184.chunk.css": "https://countly.github.io/countly-banking-demo/static/css/2.a6c20184.chunk.css", - "static/js/2.1cd1659b.chunk.js": "https://countly.github.io/countly-banking-demo/static/js/2.1cd1659b.chunk.js", - "static/js/2.1cd1659b.chunk.js.map": "https://countly.github.io/countly-banking-demo/static/js/2.1cd1659b.chunk.js.map", + "static/js/2.9213f3db.chunk.js": "https://countly.github.io/countly-banking-demo/static/js/2.9213f3db.chunk.js", + "static/js/2.9213f3db.chunk.js.map": "https://countly.github.io/countly-banking-demo/static/js/2.9213f3db.chunk.js.map", "index.html": "https://countly.github.io/countly-banking-demo/index.html", - "precache-manifest.72b568bf93baedbadb32c9b6fc378761.js": "https://countly.github.io/countly-banking-demo/precache-manifest.72b568bf93baedbadb32c9b6fc378761.js", + "precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js": "https://countly.github.io/countly-banking-demo/precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js", "service-worker.js": "https://countly.github.io/countly-banking-demo/service-worker.js", "static/css/2.a6c20184.chunk.css.map": "https://countly.github.io/countly-banking-demo/static/css/2.a6c20184.chunk.css.map", "static/css/main.b8a3c6d9.chunk.css.map": "https://countly.github.io/countly-banking-demo/static/css/main.b8a3c6d9.chunk.css.map", - "static/js/2.1cd1659b.chunk.js.LICENSE": "https://countly.github.io/countly-banking-demo/static/js/2.1cd1659b.chunk.js.LICENSE", + "static/js/2.9213f3db.chunk.js.LICENSE": "https://countly.github.io/countly-banking-demo/static/js/2.9213f3db.chunk.js.LICENSE", "static/media/account.svg": "https://countly.github.io/countly-banking-demo/static/media/account.4c2407bb.svg", "static/media/countly-overview.png": "https://countly.github.io/countly-banking-demo/static/media/countly-overview.15e4ed93.png", "static/media/countly.png": "https://countly.github.io/countly-banking-demo/static/media/countly.7cddf229.png", @@ -24,8 +24,8 @@ "entrypoints": [ "static/js/runtime-main.e0879aaf.js", "static/css/2.a6c20184.chunk.css", - "static/js/2.1cd1659b.chunk.js", + "static/js/2.9213f3db.chunk.js", "static/css/main.b8a3c6d9.chunk.css", - "static/js/main.52245336.chunk.js" + "static/js/main.d17c7f78.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 45f1f2f..31b266d 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Countly Bank
\ No newline at end of file +Countly Bank
\ No newline at end of file diff --git a/precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js b/precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js new file mode 100644 index 0000000..586ea03 --- /dev/null +++ b/precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js @@ -0,0 +1,54 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "9ad9d805927ffc50a5f96b7f72ff965d", + "url": "https://countly.github.io/countly-banking-demo/index.html" + }, + { + "revision": "9136c3722faa68ed243f", + "url": "https://countly.github.io/countly-banking-demo/static/css/2.a6c20184.chunk.css" + }, + { + "revision": "d88092d41b9602ad59fc", + "url": "https://countly.github.io/countly-banking-demo/static/css/main.b8a3c6d9.chunk.css" + }, + { + "revision": "9136c3722faa68ed243f", + "url": "https://countly.github.io/countly-banking-demo/static/js/2.9213f3db.chunk.js" + }, + { + "revision": "fd64d766fb7e6d1a18e038d229e55314", + "url": "https://countly.github.io/countly-banking-demo/static/js/2.9213f3db.chunk.js.LICENSE" + }, + { + "revision": "d88092d41b9602ad59fc", + "url": "https://countly.github.io/countly-banking-demo/static/js/main.d17c7f78.chunk.js" + }, + { + "revision": "446a19cf7c185070f733", + "url": "https://countly.github.io/countly-banking-demo/static/js/runtime-main.e0879aaf.js" + }, + { + "revision": "4c2407bb2bec8fd1c058187733357f9d", + "url": "https://countly.github.io/countly-banking-demo/static/media/account.4c2407bb.svg" + }, + { + "revision": "15e4ed93a7944957837bf437d8ecd486", + "url": "https://countly.github.io/countly-banking-demo/static/media/countly-overview.15e4ed93.png" + }, + { + "revision": "7cddf2294c1bb46c751daab05f941468", + "url": "https://countly.github.io/countly-banking-demo/static/media/countly.7cddf229.png" + }, + { + "revision": "ed52f187b2c4aad7fd02765c9cdc2f92", + "url": "https://countly.github.io/countly-banking-demo/static/media/customer.ed52f187.svg" + }, + { + "revision": "cbeab2705cd1a8c5d774eac8ed9c9619", + "url": "https://countly.github.io/countly-banking-demo/static/media/loan.cbeab270.svg" + }, + { + "revision": "662f393586bc273b3d7613add697b3f5", + "url": "https://countly.github.io/countly-banking-demo/static/media/saving.662f3935.svg" + } +]); \ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 4d6129a..e92860e 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "https://countly.github.io/countly-banking-demo/precache-manifest.72b568bf93baedbadb32c9b6fc378761.js" + "https://countly.github.io/countly-banking-demo/precache-manifest.9e16a137f1e4c87fc68b6ba2f1b5f048.js" ); self.addEventListener('message', (event) => { diff --git a/static/js/2.1cd1659b.chunk.js b/static/js/2.1cd1659b.chunk.js deleted file mode 100644 index 94dbf76..0000000 --- a/static/js/2.1cd1659b.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.1cd1659b.chunk.js.LICENSE */ -(this.webpackJsonpbankingdemo=this.webpackJsonpbankingdemo||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(142)},function(e,t,n){e.exports=n(147)()},function(e,t,n){var i,o;o="undefined"!==typeof window?window:this,void 0===(i=function(){return function(e){if("undefined"!==typeof window){var t="sessions",n="events",i="views",o="scrolls",r="clicks",a="forms",s="crashes",u="attribution",l="users",c="star-rating",f="location",p="apm",d="feedback",h="remote-config";(e=e||{}).features=[t,n,i,o,r,a,s,u,l,c,f,p,d,h];var m={NPS:"[CLY]_nps",SURVEY:"[CLY]_survey",STAR_RATING:"[CLY]_star_rating",VIEW:"[CLY]_view",ORIENTATION:"[CLY]_orientation",ACTION:"[CLY]_action"},v=Object.values(m),g="[ERROR] ",y="[WARNING] ",_="[INFO] ",b="[DEBUG] ",w="[VERBOSE] ",x=0,E=1,k=2,O=3,S=500,T=1e3,P=60,C=20,L=60,M=100,j=30,N=128,A=256,R=100,D=100,I=30,z=200,B="https://cdn.jsdelivr.net/npm/countly-sdk-web@latest/plugin/boomerang/boomerang.min.js",F="https://cdn.jsdelivr.net/npm/countly-sdk-web@latest/plugin/boomerang/countly_boomerang.js",W=Object.freeze({errorCount:"cly_hc_error_count",warningCount:"cly_hc_warning_count",statusCode:"cly_hc_status_code",errorMessage:"cly_hc_error_message"});e.q=e.q||[],e.onload=e.onload||[];var U="javascript_native_web",V=/^(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/,H=!0;e.CountlyClass=function(B){var F,H=this,Z=!e.i,Q=!1,me="/i",we="/o/sdk",xe=te("interval",B,S),Ee=te("queue_size",B,T),ke=[],Oe=[],Se={},Te=[],Pe={},Ce=te("ignore_referrers",B,[]),Le=null,Me=!0,je=0,Ne=null,Ae=0,Re=0,De=0,Ie=te("fail_timeout",B,P),ze=te("inactivity_time",B,C),Be=0,Fe=te("session_update",B,L),We=te("max_events",B,M),Ue=te("max_logs",B,null),Ve=te("use_session_cookie",B,!0),He=te("session_cookie_timeout",B,j),Ze=!0,Ke=!1,qe=te("offline_mode",B,!1),Ye={},Ge=!0,Xe=$(),Je=!0,Qe=null,$e=E,et=!1,tt=0,nt=!1,it=null,ot=null,rt=null;try{localStorage.setItem("cly_testLocal",!0),localStorage.removeItem("cly_testLocal")}catch(Bt){Tt(g,"Local storage test failed, Halting local storage support: "+Bt),Je=!1}for(var at,st={},ut=0;ut0)for(var n=0;nwindow.innerHeight?"landscape":"portrait")}})},this.report_conversion=function(e,t){Tt(y,"report_conversion, Deprecated function call! Use 'recordDirectAttribution' in place of this call. Call will be redirected now!"),this.recordDirectAttribution(e,t)},this.recordDirectAttribution=function(e,t){Tt(_,"recordDirectAttribution, Recording the attribution for campaign ID: ["+e+"] and the user ID: ["+t+"]"),this.check_consent(u)&&(e=e||Rt("cly_cmp_id")||"cly_organic",wt((t=t||Rt("cly_cmp_uid"))?{campaign_id:e,campaign_user:t}:{campaign_id:e}))},this.user_details=function(e){Tt(_,"user_details, Trying to add user details: ",e),this.check_consent(l)&&(mt(),Tt(_,"user_details, flushed the event queue"),e.name=se(e.name,H.maxValueSize,"user_details",Tt),e.username=se(e.username,H.maxValueSize,"user_details",Tt),e.email=se(e.email,H.maxValueSize,"user_details",Tt),e.organization=se(e.organization,H.maxValueSize,"user_details",Tt),e.phone=se(e.phone,H.maxValueSize,"user_details",Tt),e.picture=se(e.picture,4096,"user_details",Tt),e.gender=se(e.gender,H.maxValueSize,"user_details",Tt),e.byear=se(e.byear,H.maxValueSize,"user_details",Tt),e.custom=ae(e.custom,H.maxKeyLength,H.maxValueSize,H.maxSegmentationValues,"user_details",Tt),wt({user_details:JSON.stringify(re(e,["name","username","email","organization","phone","picture","gender","byear","custom"]))}))};var ft={},pt=function(e,t,n){H.check_consent(l)&&(ft[e]||(ft[e]={}),"$push"===n||"$pull"===n||"$addToSet"===n?(ft[e][n]||(ft[e][n]=[]),ft[e][n].push(t)):ft[e][n]=t)};function dt(e,n,i,o,r){Tt(_,"fetch_remote_config_explicit, Fetching sequence initiated");var a,s={method:"rc",av:H.app_version};e&&(s.keys=JSON.stringify(e)),n&&(s.omit_keys=JSON.stringify(n)),"legacy"===o&&(s.method="fetch_remote_config"),0===i&&(s.oi=0),1===i&&(s.oi=1),"function"===typeof r&&(a=r),H.check_consent(t)&&(s.metrics=JSON.stringify(Ot())),H.check_consent(h)?(bt(s),Pt("fetch_remote_config_explicit",H.url+we,s,(function(e,t,n){if(e)Tt(g,"fetch_remote_config_explicit, An error occurred: "+e);else{try{var i=JSON.parse(n);if(s.keys||s.omit_keys)for(var o in i)Se[o]=i[o];else Se=i;Dt("cly_remote_configs",Se)}catch(r){Tt(g,"fetch_remote_config_explicit, Had an issue while parsing the response: "+r)}a&&(Tt(_,"fetch_remote_config_explicit, Callback function is provided"),a(e,Se))}}),!0)):(Tt(g,"fetch_remote_config_explicit, Remote config requires explicit consent"),a&&a(new Error("Remote config requires explicit consent"),Se))}function ht(){H.ignore_prefetch&&"undefined"!==typeof document.visibilityState&&"prerender"===document.visibilityState&&(H.ignore_visitor=!0),H.ignore_bots&&ce()&&(H.ignore_visitor=!0)}function mt(){Oe.length>0&&(Tt(b,"Flushing events"),wt({events:JSON.stringify(Oe)}),Dt("cly_event",Oe=[]))}function vt(e,t){if(document.getElementById("countly-feedback-sticker-"+e._id))Tt(g,"Widget with same ID exists");else try{var n=document.createElement("div");n.className="countly-iframe-wrapper",n.id="countly-iframe-wrapper-"+e._id;var i=document.createElement("span");i.className="countly-feedback-close-icon",i.id="countly-feedback-close-icon-"+e._id,i.innerText="x";var o=document.createElement("iframe");if(o.name="countly-feedback-iframe",o.id="countly-feedback-iframe",o.src=H.url+"/feedback?widget_id="+e._id+"&app_key="+H.app_key+"&device_id="+H.device_id+"&sdk_version=23.6.2",document.body.appendChild(n),n.appendChild(i),n.appendChild(o),q(document.getElementById("countly-feedback-close-icon-"+e._id),"click",(function(){document.getElementById("countly-iframe-wrapper-"+e._id).style.display="none",document.getElementById("cfbg").style.display="none"})),t){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.id="feedback-sticker-svg",r.setAttribute("aria-hidden","true"),r.setAttribute("data-prefix","far"),r.setAttribute("data-icon","grin"),r.setAttribute("class","svg-inline--fa fa-grin fa-w-16"),r.setAttribute("role","img"),r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("viewBox","0 0 496 512");var a=document.createElementNS("http://www.w3.org/2000/svg","path");a.id="smileyPathInStickerSvg",a.setAttribute("fill","white"),a.setAttribute("d","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z");var s=document.createElement("span");s.innerText=e.trigger_button_text;var u=document.createElement("div");u.style.color=e.trigger_font_color.length<7?"#"+e.trigger_font_color:e.trigger_font_color,u.style.backgroundColor=e.trigger_bg_color.length<7?"#"+e.trigger_bg_color:e.trigger_bg_color,u.className="countly-feedback-sticker "+e.trigger_position+"-"+e.trigger_size,u.id="countly-feedback-sticker-"+e._id,r.appendChild(a),u.appendChild(r),u.appendChild(s),document.body.appendChild(u);var l=document.getElementById("smileyPathInStickerSvg");l&&(l.style.fill=e.trigger_font_color.length<7?"#"+e.trigger_font_color:e.trigger_font_color),q(document.getElementById("countly-feedback-sticker-"+e._id),"click",(function(){document.getElementById("countly-iframe-wrapper-"+e._id).style.display="block",document.getElementById("cfbg").style.display="block"}))}else document.getElementById("countly-iframe-wrapper-"+e._id).style.display="block",document.getElementById("cfbg").style.display="block"}catch(Bt){Tt(g,"Somethings went wrong while element injecting process: "+Bt)}}function gt(){var e;if("undefined"!==typeof H.onload&&H.onload.length>0){for(e=0;eEe&&ke.shift(),ke.push(e),Dt("cly_queue",ke,!0)):Tt(g,"app_key or device_id is missing ",H.app_key,H.device_id)}function xt(){if(gt(),H.ignore_visitor)return Ke=!1,void Tt(y,"User opt_out, no heartbeat");Ke=!0;var t=0;if(Z&&"undefined"!==typeof e.q&&e.q.length>0){var n,i=e.q;for(e.q=[],t=0;t0){var o=H,r=0;if(e.i[n[r]]&&(o=e.i[n[r]],r++),"function"===typeof o[n[r]])o[n[r]].apply(o,n.slice(r+1));else if(0===n[r].indexOf("userData.")){var a=n[r].replace("userData.","");"function"===typeof o.userData[a]&&o.userData[a].apply(o,n.slice(r+1))}else"function"===typeof e[n[r]]&&e[n[r]].apply(e,n.slice(r+1))}}if(Q&&Me&&Ge){var s=$();s-F>Fe&&(H.session_duration(s-F),F=s,H.hcErrorCount>0&&Dt(W.errorCount,H.hcErrorCount),H.hcWarningCount>0&&Dt(W.warningCount,H.hcWarningCount))}if(Oe.length>0&&!H.test_mode_eq){if(Oe.length<=We)wt({events:JSON.stringify(Oe)}),Oe=[];else{var u=Oe.splice(0,We);wt({events:JSON.stringify(u)})}Dt("cly_event",Oe)}if(!qe&&ke.length>0&&Ze&&$()>De){Ze=!1;var l=ke[0];l.rr=ke.length,Tt(b,"Processing request",l),Dt("cly_queue",ke,!0),H.test_mode||Pt("send_request_queue",H.url+me,l,(function(e,t){Tt(b,"Request Finished",t,e),e?(De=$()+Ie,Tt(g,"Request error: ",e)):ke.shift(),Dt("cly_queue",ke,!0),Ze=!0}),!1)}setTimeout(xt,xe)}function Et(){var e=Rt("cly_id");return e?($e=Rt("cly_id_type"),e):J()}function kt(){return H.metrics._ua||ue()}function Ot(){var e=JSON.parse(JSON.stringify(H.metrics||{}));if(e._app_version=e._app_version||H.app_version,e._ua=e._ua||ue(),screen.width){var t=screen.width?parseInt(screen.width):0,n=screen.height?parseInt(screen.height):0;if(0!==t&&0!==n){if(navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)&&window.devicePixelRatio)t=Math.round(t*window.devicePixelRatio),n=Math.round(n*window.devicePixelRatio);else if(90===Math.abs(window.orientation)){var i=t;t=n,n=i}e._resolution=e._resolution||t+"x"+n}}window.devicePixelRatio&&(e._density=e._density||window.devicePixelRatio);var o=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage;return"undefined"!==typeof o&&(e._locale=e._locale||o),St()&&(e._store=e._store||document.referrer),Tt(b,"Got metrics",e),e}function St(e){var t=e||document.referrer,n=!1;if("undefined"===typeof t||0===t.length)Tt(b,"Invalid referrer:["+t+"], ignoring.");else{var i=V.exec(t);if(i)if(i[11])if(i[11]===window.location.hostname)Tt(b,"Referrer is current host:["+t+"], ignoring.");else if(Ce&&Ce.length){n=!0;for(var o=0;o=0){Tt(b,"Referrer in ignore list:["+t+"], ignoring."),n=!1;break}}else Tt(b,"Valid referrer:["+t+"]"),n=!0;else Tt(b,"No path found in referrer:["+t+"], ignoring.");else Tt(b,"Referrer is corrupt:["+t+"], ignoring.")}return n}function Tt(e,t){if(H.debug&&"undefined"!==typeof console){arguments[2]&&"object"===typeof arguments[2]&&(arguments[2]=JSON.stringify(arguments[2])),Z||(t="["+H.app_key+"] "+t),e||(e=b);for(var n="",i=2;i=2e3)&&(s="POST"),"GET"===s?r.open("GET",t+"?"+a,!0):(r.open("POST",t,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded")),H.headers)r.setRequestHeader(u,H.headers[u]);r.onreadystatechange=function(){4===this.readyState&&(Tt(b,e+" HTTP request completed ["+this.status+"]["+this.responseText+"]"),(o?Lt(this.status,this.responseText):Ct(this.status,this.responseText))?"function"===typeof i&&i(!1,n,this.responseText):(Tt(g,e+" Failed Server XML HTTP request, ",this.status),"send_request_queue"===e&&zt.saveRequestCounters(this.status,this.responseText),"function"===typeof i&&i(!0,n,this.status,this.responseText)))},"GET"===s?r.send():r.send(a)}catch(Bt){Tt(g,e+" Failed XML HTTP request: "+Bt),"function"===typeof i&&i(!0,n)}}function Ct(e,t){if(!(e>=200&&e<300))return Tt(g,"Http response status code is not within the expected range:["+e+"]"),!1;try{var n=JSON.parse(t);return"[object Object]"!==Object.prototype.toString.call(n)?(Tt(g,"Http response is not JSON Object"),!1):!!n.result}catch(Bt){return Tt(g,"Http response is not JSON: "+Bt),!1}}function Lt(e,t){if(!(e>=200&&e<300))return Tt(g,"Http response status code is not within the expected range: "+e),!1;try{var n=JSON.parse(t);return!("[object Object]"!==Object.prototype.toString.call(n)&&!Array.isArray(n))||(Tt(g,"Http response is not JSON Object nor JSON Array"),!1)}catch(Bt){return Tt(g,"Http response is not JSON: "+Bt),!1}}function Mt(){tt=Math.max(tt,window.scrollY,document.body.scrollTop,document.documentElement.scrollTop)}function jt(){if(et){et=!1;var e=pe(),t=de(),n=he();if(H.check_consent(o)){var i={type:"scroll",y:tt+n,width:t,height:e,view:H.getViewUrl()};i=ae(i,H.maxKeyLength,H.maxValueSize,H.maxSegmentationValues,"processScrollView",Tt),H.track_domains&&(i.domain=window.location.hostname),ct({key:m.ACTION,segmentation:i})}}}function Nt(e){Dt("cly_token",e)}function At(e,t,n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var o="; expires="+i.toGMTString();document.cookie=e+"="+t+o+"; path=/"}function Rt(e,t,n){var i;if("none"!==H.storage)return n||(e=H.app_key+"/"+e,H.namespace&&(e=oe(H.namespace)+"/"+e)),void 0===t&&(t=Je),t?i=localStorage.getItem(e):"localstorage"!==H.storage&&(i=function(e){for(var t=e+"=",n=document.cookie.split(";"),i=0,o=n.length;i=H.maxBreadcrumbCount;)Te.shift(),Tt(y,"add_log, Reached maximum crashLogs size. Will erase the oldest one.");Te.push(e)}},this.fetch_remote_config=function(e,t,n){var i=null,o=null,r=null;if(e&&(n||"function"!==typeof e?Array.isArray(e)&&(i=e):r=e),t&&(n||"function"!==typeof t?Array.isArray(t)&&(o=t):r=t),r||"function"!==typeof n||(r=n),this.useExplicitRcApi)return Tt(_,"fetch_remote_config, Fetching remote config"),void dt(i,o,this.rcAutoOptinAb?1:0,null,r);Tt(y,"fetch_remote_config, Fetching remote config, with legacy API"),dt(i,o,null,"legacy",r)},this.enrollUserToAb=function(e){if(Tt(_,"enrollUserToAb, Providing AB test keys to opt in for"),e&&Array.isArray(e)&&0!==e.length){var t={method:"ab",keys:JSON.stringify(e),av:H.app_version};bt(t),Pt("enrollUserToAb",this.url+we,t,(function(e,t,n){if(e)Tt(g,"enrollUserToAb, An error occurred: "+e);else try{var i=JSON.parse(n);Tt(b,"enrollUserToAb, Parsed the response's result: ["+i.result+"]")}catch(o){Tt(g,"enrollUserToAb, Had an issue while parsing the response: "+o)}}),!0)}else Tt(g,"enrollUserToAb, No keys provided")},this.get_remote_config=function(e){return Tt(_,"get_remote_config, Getting remote config from storage"),"undefined"!==typeof e?Se[e]:Se},this.stop_time=function(){Tt(_,"stop_time, Stopping tracking duration"),Ge&&(Ge=!1,je=$()-F,Re=$()-Ae)},this.start_time=function(){Tt(_,"start_time, Starting tracking duration"),Ge||(Ge=!0,F=$()-je,Ae=$()-Re,Re=0,_t())},this.track_sessions=function(){Tt(_,"track_session, Starting tracking user session"),this.begin_session(),this.start_time(),q(window,"beforeunload",(function(){mt(),H.end_session()}));var e="hidden";function t(){document[e]||!document.hasFocus()?H.stop_time():H.start_time()}function n(){Be>=ze&&H.start_time(),Be=0}q(window,"focus",t),q(window,"blur",t),q(window,"pageshow",t),q(window,"pagehide",t),"onfocusin"in document&&(q(window,"focusin",t),q(window,"focusout",t)),e in document?document.addEventListener("visibilitychange",t):"mozHidden"in document?(e="mozHidden",document.addEventListener("mozvisibilitychange",t)):"webkitHidden"in document?(e="webkitHidden",document.addEventListener("webkitvisibilitychange",t)):"msHidden"in document&&(e="msHidden",document.addEventListener("msvisibilitychange",t)),q(window,"mousemove",n),q(window,"click",n),q(window,"keydown",n),q(window,"scroll",n),setInterval((function(){++Be>=ze&&H.stop_time()}),6e4)},this.track_pageview=function(e,t,n){if(Tt(_,"track_pageview, Tracking page views"),Tt(w,"track_pageview, last view is:["+Ne+"], current view ID is:["+it+"], previous view ID is:["+ot+"]"),Ne&&nt&&(Tt(b,"track_pageview, Scroll registry triggered"),jt(),et=!0,tt=0),yt(),ot=it,it=X(),(e=se(e,H.maxKeyLength,"track_pageview",Tt))&&Array.isArray(e)&&(t=e,e=null),e||(e=this.getViewName()),void 0!==e&&""!==e)if(null!==e){if(t&&t.length)for(var o=0;o