PageSourceSearch

https://lafayetteelectronics.com/_nuxt/CUFB9PFU.js

js lafayetteelectronics.com collected 2026-10-02 14:23:48 UTC 7,667 bytes, 1 lines download raw bytes

1import{V as x,Z as N,$ as D,r as R,a0 as k,a1 as E,a2 as P,a3 as M,n as V,a4 as L,a5 as _,a6 as b,d as U,w as $,k as w,h as B,m as F,B as J,a7 as W,E as z}from"./Bl5dI713.js";const H="$s";function v(...e){const i=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(i);const[n,t]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(t!==void 0&&typeof t!="function")throw new Error("[nuxt] [useState] init must be a function: "+t);const s=H+n,o=x(),r=N(o.payload.state,s);if(t&&(o._state[s]??={_default:t}),r.value===void 0&&t){const a=t();if(D(a))return o.payload.state[s]=a,a;r.value=a}return r}const q=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function K(e,i){if(typeof e!="string")throw new TypeError("argument str must be a string");const n=new q,t=i||{},s=t.decode||X;let o=0;for(;o<e.length;){const r=e.indexOf("=",o);if(r===-1)break;let a=e.indexOf(";",o);if(a===-1)a=e.length;else if(a<r){o=e.lastIndexOf(";",r-1)+1;continue}const c=e.slice(o,r).trim();if(t?.filter&&!t?.filter(c)){o=a+1;continue}if(n[c]===void 0){let u=e.slice(r+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[c]=Y(u,s)}o=a+1}return n}function X(e){return e.includes("%")?decodeURIComponent(e):e}function Y(e,i){try{return i(e)}catch{return e}}const g=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function O(e,i,n){const t=n||{},s=t.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!g.test(e))throw new TypeError("argument name is invalid");const o=s(i);if(o&&!g.test(o))throw new TypeError("argument val is invalid");let r=e+"="+o;if(t.maxAge!==void 0&&t.maxAge!==null){const a=t.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");r+="; Max-Age="+Math.floor(a)}if(t.domain){if(!g.test(t.domain))throw new TypeError("option domain is invalid");r+="; Domain="+t.domain}if(t.path){if(!g.test(t.path))throw new TypeError("option path is invalid");r+="; Path="+t.path}if(t.expires){if(!Z(t.expires)||Number.isNaN(t.expires.valueOf()))throw new TypeError("option expires is invali
1d");r+="; Expires="+t.expires.toUTCString()}if(t.httpOnly&&(r+="; HttpOnly"),t.secure&&(r+="; Secure"),t.priority)switch(typeof t.priority=="string"?t.priority.toLowerCase():t.priority){case"low":{r+="; Priority=Low";break}case"medium":{r+="; Priority=Medium";break}case"high":{r+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(t.sameSite)switch(typeof t.sameSite=="string"?t.sameSite.toLowerCase():t.sameSite){case!0:{r+="; SameSite=Strict";break}case"lax":{r+="; SameSite=Lax";break}case"strict":{r+="; SameSite=Strict";break}case"none":{r+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return t.partitioned&&(r+="; Partitioned"),r}function Z(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function d(e){if(typeof e!="object")return e;var i,n,t=Object.prototype.toString.call(e);if(t==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(i in e)e.hasOwnProperty(i)&&n[i]!==e[i]&&(n[i]=d(e[i]))}else{n={};for(i in e)i==="__proto__"?Object.defineProperty(n,i,{value:d(e[i]),configurable:!0,enumerable:!0,writable:!0}):n[i]=d(e[i])}return n}if(t==="[object Array]"){for(i=e.length,n=Array(i);i--;)n[i]=d(e[i]);return n}return t==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(d(s))}),n):t==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(d(o),d(s))}),n):t==="[object Date]"?new Date(+e):t==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):t==="[object DataView]"?new e.constructor(d(e.buffer)):t==="[object ArrayBuffer]"?e.slice(0):t.slice(-6)==="Array]"?new e.constructor(e):e}function G(e){if(e!=="undefined")try{const i=JSON.parse(e);return typeof i=="number"&&String(i)!==e?e:i}catch{return e}}const Q={path:"/",watch:!0,decode:e=>e&&G(decodeURIComponent(e)),encode:e=>{if(typeof e!="string"||e==="undefined")return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!="string")return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},S=globalThis.cookieStore;function ee(e,i){const n={...Q,...i};n.filter??=u=>u===e;const t=I(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,r=o||t[e]===void 0||t[e]===null,a=d(o?void 0:t[e]??n.default?.()),c=s&&!o?re(a,s,n.watch&&n.watch!=="shallow"):R(a);{let u=null;try{!S&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(l=!1)=>{if(!l&&(n.readonly||L(c.value,t[e])))return;const m=c.value===null||c.value===void 0?void 0:n.encode(c.value);oe(e,m,n),t[e]=d(c.value),u?.postMessage({value:n.encode(c.value)})},p=l=>{const m=l.refresh?I(n)?.[e]:n.decode(l.value);h=!0,c.value=m,t[e]=d(m),V(()=>{h=!1})};let h=!1;const y=!!P();if(y&&k(()=>{h=!0,f(),u?.close()}),S){const l=m=>{const T=m.changed.find(C=>C.name===e),j=m.deleted.find(C=>C.name===e);T&&p({value:T.value}),j&&p({value:null})};S.addEventListener("change",l),y&&k(()=>S.removeEventListener("change",l))}else u&&(u.onmessage=({data:l})=>p(l));n.watch&&E(c,()=>{h||f(n.refresh)},{deep:n.watch!=="shallow"}),r&&f(r)}return c}function I(e={}){return K(document.cookie,e)}const te=e=>e;function ne(e){const{encode:i,decode:n,...t}=e;return{...t,encode:te}}function ie(e,i,n={}){const t=ne(n);return i===void 0?O(e,"",{...t,maxAge:-1}):O(e,i,t)}function oe(e,i,n={}){document.cookie=ie(e,i,n)}const A=2147483647;function re(e,i,n){let t,s,o=0;const r=n?R(e):{value:e};return P()&&k(()=>{s?.(),clearTimeout(t)}),M((a,c)=>{n&&(s=E(r,c));function u(){const p=i-o,h=p<A?p:A;t=setTimeout(()=>{if(o+=h,o<i)return u();r.value=void 0,c()},h)}function f(){o=0,clearTimeout(t),u()}return{get(){return a(),r.value},set(p){f(),r.value=p,c()}}})}const se=1e4,ae=()=>{const e=v("sensitiveContentShouldWait",()=>!1),i=v("sensitiveContentInitialised",()=>!1),n=v("sensitiveContent",()=>b.off),t=v("sensitiveContentEphemeral",()=>!1),s=v("sensitiveContentEphemeralVerified",()=>!1),o=ee("sensitiveContentVerification",{maxAge:3600*24*7,path:"/"}),r=f=>{n.value=f??b.off,i.value=!0},a=f=>{t.value=f},c=()=>
1{if(t.value){s.value=!0;return}o.value="verified"},u=_(()=>t.value?s.value:o.value==="verified");return{sensitiveContentState:n,showSensitiveModal:_(()=>n.value!==b.off&&!u.value),setSensitiveContentType:r,setEphemeral:a,handleConfirm:c,shouldWaitForInitialise:()=>{e.value=!0},waitForInitialisedAsync:()=>{const f=()=>!e.value||i.value;return f()?Promise.resolve(null):new Promise(p=>{function h(){clearTimeout(y),l(),p(null)}const y=setTimeout(h,se),l=E([e,i],()=>{f()&&h()})})}}},ce={key:0},ue=U({__name:"SensitiveContentWrapper",async setup(e){let i,n;const{showSensitiveModal:t,sensitiveContentState:s,handleConfirm:o,waitForInitialisedAsync:r}=ae();return[i,n]=$(()=>r()),await i,n(),(a,c)=>w(t)?(B(),F("div",ce,[J(w(W),{"sensitive-content-state":w(s),onOnConfirmClicked:w(o)},null,8,["sensitive-content-state","onOnConfirmClicked"])])):z("",!0)}}),de=Object.assign(ue,{__name:"SensitiveContentWrapper"}),fe=(e,i,n)=>{if(i){const o=e.slug,r=e.pageSlug;return o&&r?`${o}/${r}`:o||(r&&!o?r:n)}const t=e.pageSlug,s=e.pageSlug2;return t&&s?`${t}/${s}`:t||n},pe=(e,{context:i,homePageSlug:n,isCustomDomain:t,registerRoutes:s})=>{e.getRoutes().filter(o=>o.name).forEach(o=>e.removeRoute(o.name)),s(),e.beforeEach((o,r)=>(window?.scrollTo(0,0),o.fullPath!==r.fullPath)),e.afterEach(o=>{i.currentPageRelativePath=fe(o.params,t,n)})};export{de as S,pe as s,ae as u};

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.