This commit is contained in:
Andrey Sharshov
2025-11-16 18:48:06 +01:00
commit c02d04073f
481 changed files with 52066 additions and 0 deletions

1
loader/loader.js Normal file
View File

@@ -0,0 +1 @@
(()=>{var e;try{e=window.localStorage}catch(s){console.log("LocalStorage is unavailable!")}var i=window.SKIN_DIRS||{},o=window.__OPTIONS__.rules_url,a=o.slice(o.indexOf(`/${window.__OPTIONS__.locale}/`)+1);function _(i){var o=(i.ui.skin||"basic").toLocaleLowerCase(),a=window.location.search.match(new RegExp("[?&]skin=([^&]*)(&?)","i")),_=a?a[1]:null;if(!e)return _||o;var s=`lastApiSkin_${i.cache_id}`,t=`userSkin_${i.cache_id}`;return _?e.setItem(t,_):_=e.getItem(t),e.getItem(s)===o&&_?_:(e.removeItem(t),e.setItem(s,o),o)}window.__OPTIONS__.rules_url="https://static.popiplay.dev/rules/"+a,window.initializeCasinoOptions=e=>{var o=_(e),{root:a,res:s="dist"}=i[o]||i.basic||{};e.ui.applied_skin=a,e.resources_root_path=e.resources_path+(a?`/${a}`:""),e.resources_path+=`/${s}`,e.game_bundle_source=e.resources_path+"/bundle.js",window.__OPTIONS__=e},window.initializeCasinoOptions(window.__OPTIONS__)})();