Portál AbcLinuxu, 20. listopadu 2025 09:33
window.addEventListener('load', function() {
gui({"title":"Puter","description":"Puter is a privacy-first personal cloud that houses all your files, apps, and games in one private and secure place, accessible from anywhere at any time.","short_description":"Puter is a privacy-first personal cloud that houses all your files, apps, and games in one private and secure place, accessible from anywhere at any time.","company":"Puter Technologies Inc.","canonical_url":"https://puter.com/","app_name_regex":{},"app_name_max_length":60,"app_title_max_length":60,"subdomain_regex":{},"subdomain_max_length":60,"domain":"puter.com","protocol":"https","env":"prod","api_base_url":"https://api.puter.com","thumb_width":80,"thumb_height":80,"contact_email":"hey@puter.com","max_fsentry_name_length":767,"require_email_verification_to_publish_website":false,"app_origin":"https://puter.com","api_origin":"https://api.puter.com"});
});
window.gui_env="prod", window.puter_gui_enabled=!0, window.gui=async function(options) {
options=options?? {
}
, window.gui_origin=options.gui_origin??options.app_origin??"https://puter.com", window.app_domain=options.app_domain??new URL(window.gui_origin).hostname, window.hosting_domain=options.hosting_domain??"puter.site", window.api_origin=options.api_origin??"https://api.puter.com", window.max_item_name_length=options.max_item_name_length??500, window.require_email_verification_to_publish_website=options.require_email_verification_to_publish_website??!0, await loadScript("https://js.puter.com/v2/"), window.gui_env&&"dev"!==window.gui_env?"prod"===gui_env&&(await loadCSS("/dist/bundle.min.css"), await loadScript("/dist/bundle.min.js")):await loadScript("/initgui.js", {
isModule: !0
}
), initgui()
}
, window.loadScript=async function(url,options= {
}
) {
return new Promise((resolve,reject)=> {
var script=document.createElement("script");
if(script.src=url,script.async=!0,options.isModule&&(script.type="module"), options.defer&&(script.defer=!0,script.async=!1), options.dataAttributes&&"object"==typeof options.dataAttributes)for(var[key,value]of Object.entries(options.dataAttributes))script.setAttribute("data-"+key,value);
script.onload=()=>resolve(), script.onerror=error=>reject(new Error("Failed to load script at url: "+url)), document.body.appendChild(script)
}
)
}
, window.loadCSS=async function(url) {
return new Promise((resolve,reject)=> {
var link=document.createElement("link");
link.rel="stylesheet", link.href=url, link.onload=()=> {
resolve()
}
, link.onerror=error=> {
reject(new Error("Failed to load CSS at url: "+url))
}
, document.head.appendChild(link)
}
)
}
;
skoda bezjs si nic neprectu, brek
Dnesni mobily reportuji kdejakou picovinu.
Pak taky není divu že mají hovno výdrž.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.