PageSourceSearch

https://www.saveecobot.com/build/assets/resources/js/custom.js.c75c43ec.js

js saveecobot.com collected 2026-09-24 09:00:25 UTC 6,029 bytes, 2 lines download raw bytes

1const E=new Set([404,419,429,500,502,503,504]),S=["cloudflare","just a moment","attention required","cf-browser-verification","cf-challenge","/cdn-cgi/challenge-platform"],f="seb_livewire_cf_retry",L=2,g=2*60*1e3,x=10*1e3;function m(){const e=window.__SEB_ENABLE_FRIENDLY_LIVEWIRE_ERRORS;if(typeof e=="boolean")return e;if(typeof e=="string"){const t=e.trim().toLowerCase();if(t==="true"||t==="1")return!0;if(t==="false"||t==="0")return!1}return!0}function A(e,t){if(![403,429,503].includes(e))return!1;const n=String(t||"").toLowerCase();return n?S.some(r=>n.includes(r)):!1}function C(){const e=window.__SEB_LIVEWIRE_SILENT_FAILURE_PAYLOAD_MARKERS;return Array.isArray(e)?e.map(t=>String(t).trim()).filter(Boolean):typeof e=="string"?e.split(",").map(t=>t.trim()).filter(Boolean):[]}function _(e={}){var a;const t=C();if(!t.length)return!1;const n=[typeof e.payload=="string"?e.payload:"",typeof((a=e==null?void 0:e.options)==null?void 0:a.body)=="string"?e.options.body:"",typeof e.url=="string"?e.url:""].filter(Boolean);if(!n.length)return!1;const r=n.join(`
2`);return t.some(c=>r.includes(c))}function v(e={}){window.__sebLastLivewireRequestMeta={...e,at:Date.now()}}function I(){const e=window.__sebLastLivewireRequestMeta;return!e||typeof e!="object"||!e.at||Date.now()-e.at>x?null:e}function R(){try{const e=sessionStorage.getItem(f);if(!e)return{count:0,firstAt:0};const t=JSON.parse(e),n=Number((t==null?void 0:t.count)||0),r=Number((t==null?void 0:t.firstAt)||0);return!Number.isFinite(n)||!Number.isFinite(r)?{count:0,firstAt:0}:{count:n,firstAt:r}}catch{return{count:0,firstAt:0}}}function y(e){try{sessionStorage.setItem(f,JSON.stringify(e))}catch{}}function k(){try{sessionStorage.removeItem(f)}catch{}}function F(){const e=Date.now(),t=R();if(!t.firstAt||e-t.firstAt>g)return y({count:1,firstAt:e}),1;const r=t.count+1;return y({count:r,firstAt:t.firstAt}),r}function T(e){if(window.__sebCloudflareReloadScheduled)return;window.__sebCloudflareReloadScheduled=!0;const t=1200+Math.min(1800,e*600);window.setTimeout(()=>{window.location.reload()},t)}function b(){const e=window.Livewire,t=!!document.getElementById("error-occurred-modal"),n=window.__SEB_LIVEWIRE_ERROR_TEXTS||{},r=n.heading||"Temporary connection issue",a=n.description||"The page update failed. Please reload and try again.",c=n.button||"Reload page";if(t&&(e==null?void 0:e.dispatch)){e.dispatch("open-modal",{id:"error-occurred-modal"});return}if(t){window.dispatchEvent(new CustomEvent("open-modal",{detail:{id:"error-occurred-modal"}}));return}if(document.getElementById("seb-livewire-error-fallback-modal"))return;const s=document.createElement("div");s.id="seb-livewire-error-fallback-modal",s.style.position="fixed",s.style.inset="0",s.style.zIndex="2147483647",s.style.background="rgba(15, 23, 42, 0.58)",s.style.display="flex",s.style.alignItems="center",s.style.justifyContent="center",s.style.padding="16px";const o=document.createElement("div");o.style.width="100%",o.style.maxWidth="460px",o.style.borderRadius="12px",o.style.background="#ffffff",o.style.boxShadow="0 20px 40px rgba(0,0,0,0.25)",o.style.padding="20px",o.style.fontFamily="system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif",o.style.color="#0f172a";const d=document.createElement("div");d.textContent=r,d.style.fontSize="18px",d.style.fontWeight="700",d.style.marginBottom="8px";const l=document.createElement("div");l.textContent=a,l.style.fontSize="14px",l.style.lineHeight="1.5",l.style.marginBottom="16px";const i=document.createElement("button");i.type="button",i.textContent=c,i.style.width="100%",i.style.height="42px",i.style.border="0",i.style.borderRadius="8px",i.style.background="#16a34a",i.style.color="#ffffff",i.style.fontSize="14px",i.style.fontWeight="600",i.style.cursor="pointer",i.onclick=()=>window.location.reload(),o.appendChild(d),o.appendChild(l),o.appendChild(i),s.appendChild(o),document.body.appendChild(s)}function u(){if(!m()||window.__sebLivewireRequestFailHandlerRegistered)return;window.__sebLivewireRequestFailHandlerRegistered=!0;let e=!1;const t=window.Livewire;if(!(t!=null&&t.hook))return;const n=R();n.firstAt&&Date.now()-n.firstAt>g&&k(),t.hook("request",({fail:r,payload:a,url:c,options:s})=>{v({payload:a,url:c,options:s}),r(({status:o,content:d,preventDefault:l})=>
2{if(_({payload:a,url:c,options:s})){l();return}const i=A(o,d);if(!!(E.has(o)||i)){if(l(),i){const w=F();if(w<=L){T(w);return}}e||(e=!0,b())}})})}function h(e){if(typeof e=="string")return e;if(e instanceof Error)return e.message||String(e);if(e&&typeof e=="object"){if(typeof e.message=="string")return e.message;if(typeof e.reason=="string")return e.reason}try{return String(e||"")}catch{return""}}function j(e){const t=h(e).toLowerCase();return t?t.includes("object not found matching id")&&t.includes("methodname:update"):!1}function O(e){const t=h(e).toLowerCase();if(!t||!(t.includes("unexpected token '<'")||t.includes("is not valid json")))return!1;if(t.includes("json.parse"))return!0;const r=typeof(e==null?void 0:e.stack)=="string"?e.stack.toLowerCase():"";return r.includes("json.parse")||r.includes("../js/request/")||r.includes("/livewire/livewire/")}function D(){!m()||window.__sebUnhandledRejectionGuardRegistered||(window.__sebUnhandledRejectionGuardRegistered=!0,window.addEventListener("unhandledrejection",e=>{if(j(e==null?void 0:e.reason)){e.preventDefault();return}if(O(e==null?void 0:e.reason)){const t=I();if(e.preventDefault(),t&&_(t)||window.__sebLivewireJsonParseModalShown)return;window.__sebLivewireJsonParseModalShown=!0,b()}}))}function N(){Object.entries({isRecordSelected:()=>!1,areRecordsSelected:()=>!1,getRecordsOnPage:()=>[]}).forEach(([t,n])=>{typeof window[t]!="function"&&(window[t]=n)}),!window.table||typeof window.table!="object"?window.table={selectedRecords:[]}:Array.isArray(window.table.selectedRecords)||(window.table.selectedRecords=[])}var p;(p=window.Livewire)!=null&&p.hook?u():(document.addEventListener("livewire:init",u),document.addEventListener("livewire:initialized",u));D();N();

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.