{:uriI"file:///Users/gavin/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/shopify_app-12.0.7/app/assets/javascripts/shopify_app/itp_helper.js?type=application/javascript&pipeline=self&id=cb388176c12c0ac754682e5d2021326a43625fe317fbcdf432f6a0acdc1f31d6:ET:load_pathI"n/Users/gavin/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/shopify_app-12.0.7/app/assets/javascripts;T: filenameI"/Users/gavin/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/shopify_app-12.0.7/app/assets/javascripts/shopify_app/itp_helper.js;T: nameI"shopify_app/itp_helper;T:logical_pathI"#shopify_app/itp_helper.self.js;T:content_typeI"application/javascript;T: sourceI"S(function() { function ITPHelper(opts) { this.itpContent = document.getElementById('TopLevelInteractionContent'); this.itpAction = document.getElementById('TopLevelInteractionButton'); this.redirectUrl = opts.redirectUrl; } ITPHelper.prototype.redirect = function() { sessionStorage.setItem('shopify.top_level_interaction', true); window.location.href = this.redirectUrl; } ITPHelper.prototype.userAgentIsAffected = function() { return Boolean(document.hasStorageAccess); } ITPHelper.prototype.canPartitionCookies = function() { var versionRegEx = /Version\/12\.0\.?\d? Safari/; return versionRegEx.test(navigator.userAgent); } ITPHelper.prototype.setUpContent = function(onClick) { this.itpContent.style.display = 'block'; this.itpAction.addEventListener('click', this.redirect.bind(this)); } ITPHelper.prototype.execute = function() { if (!this.itpContent) { return; } if (this.userAgentIsAffected()) { this.setUpContent(); } else { this.redirect(); } } this.ITPHelper = ITPHelper; })(window); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/gavin/.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/shopify_app-12.0.7/app/assets/javascripts/shopify_app/itp_helper.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"shopify_app/itp_helper.js;TI" mappings;TI"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"itp_helper.source.js;TI" names;T[I"x_sprockets_linecount;Ti-: charsetI" utf-8;F: digest"%Y?%%oWr#=m5dAյN/z: lengthiS:environment_versionI"1.0-react-development;T:dependencies_digest"%Y-PvQ2N&Pn4:idI"Ecb388176c12c0ac754682e5d2021326a43625fe317fbcdf432f6a0acdc1f31d6;F