1"use strict";(()=>{var L=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var T=L((C,U)=>{(function(t,e){typeof C=="object"&&typeof U<"u"?U.exports=e():typeof define=="function"&&define.amd?define(e):(t=t||self,function(){var o=t.Cookies,c=t.Cookies=e();c.noConflict=function(){return t.Cookies=o,c}}())})(C,function(){"use strict";function t(i){for(var f=1;f<arguments.length;f++){var d=arguments[f];for(var p in d)i[p]=d[p]}return i}var e={read:function(i){return i.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(i){return encodeURIComponent(i).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function o(i,f){function d(r,a,n){if(!(typeof document>"u")){n=t({},f,n),typeof n.expires=="number"&&(n.expires=new Date(Date.now()+n.expires*864e5)),n.expires&&(n.expires=n.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),a=i.write(a,r);var s="";for(var l in n)!n[l]||(s+="; "+l,n[l]!==!0&&(s+="="+n[l].split(";")[0]));return document.cookie=r+"="+a+s}}function p(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var a=document.cookie?document.cookie.split("; "):[],n={},s=0;s<a.length;s++){var l=a[s].split("="),h=l.slice(1).join("=");h[0]==='"'&&(h=h.slice(1,-1));try{var m=e.read(l[0]);if(n[m]=i.read(h,m),r===m)break}catch{}}return r?n[r]:n}}return Object.create({set:d,get:p,remove:function(r,a){d(r,"",t({},a,{expires:-1}))},withAttributes:function(r){return o(this.converter,t({},this.attributes,r))},withConverter:function(r){return o(t({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(f)},converter:{value:Object.freeze(i)}})}var c=o(e,{path:"/"});return c})});var I=T();function j(t){I.set("login_token",t,{expires:1}),b(t)}function b(t){if(!t)return;let e=t.split("."),o=JSON.parse(decodeURIComponent(escape(window.atob(e[1].replace(/-/g,"+").replace(/_/g,"/")))))||{};!o.uuid||I.set("user_id",o.uuid,{expires:365*2})}function y(t){return z().get(t)}function z(){let t=new URL(window.self.location.href.replace("#edit-profile",encodeURIComponent("#edit-profile")).replace("#referral-page",encodeURIComponent("#referral-page")).replace("#invites",encodeURIComponent("#invites")).replace("#waiting-list",encodeURIComponent("#waiting-list")).replace("&allow_verify_code",encodeURIComponent("&allow_verify_code")).replace("&allow_participate",encodeURIComponent("&allow_participate")).replace("?allow_participate",encodeURIComponent("?allow_participate")).replace("?allow_verify_code",encodeURIComponent("?allow_verify_code")).replace("&accessory",encodeURIComponent("&accessory")).replace("&step",encodeURIComponent("&step")).replace("&has_invites",encodeURIComponent("&has_invites")));return new URLSearchParams(t.search)}function O(t){let e=B(t);window.location.href=e}function B(t){let e=y("redirect_to"),o=y("change");if(e&&o)if($source&&callback&&x(callback)){var c=e+"?source="+$source+"&callback="+callback+"&change="+o;if(return_to&&x(return_to))var c=e+"?source="+$source+"&callback="+callback+"&change="+o+"&return_to"+return_to}else var c=e;else if(t)var c=document.querySelector("._as-callback").value+"/multipass/"+t;else var c=document.querySelector("._as-return-to").value;return c}function x(t){let e=new URL(t);return!!(e.host.endsWith("redmagic.gg")||e.host.endsWith("redmagicdev.myshopify.com")||e.host.endsWith("redmagic-dev.bbxlk.cc/"))}function M(t){var a,n,s,l,h,m,w,_,k;let e=document.getElementById("google-one-tap-params"),o=(a=e==null?void 0:e.dataset.url)!=null?a:"",c=(n=e==null?void 0:e.dataset.store)!=null?n:"",i=(s=e==null?void 0:e.dataset.lang)!=null?s:"",f=(l=e==null?void 0:e.dataset.callback)!=null?l:"",d=(h=e==null?void 0:e.dataset.returnToPrefix)!=null?h:"",p=(m=e==null?void 0:e.dataset.defaultReturnTo)!=null?m:"",r=p!==""?p:window.location.href;if(o!==""){let v=new URLSearchParams(window.location.search),g="",S=(_=(w=v.get("return_to"))!=null?w:v.get("return_url"))!=null?_:r,R=(k=v.get("checkout_url"))!=null?k:"";R!==""?g=`${d}?checkout_url=${R}`:g=`${d}?return_to=${encodeURIComponent(S)}`;
1let A={credential:t.credential,source:"store",store:c,lang:i,callback:f,return_to:g};fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(A)}).then(u=>u.json()).then(u=>{if(!!u.data&&u.status_code===200){let E=u.data.token,q=u.data.multipass;E&&j(u.data.token),O(q)}}).catch(u=>{console.error("Error:",u)})}}window.handleGoogleOneTap=M;})(); 2/*! js-cookie v3.0.0 | MIT */
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.