PageSourceSearch

https://www.jdleathergoods.com/_nuxt/8e0f76f.modern.js

js jdleathergoods.com collected 2026-10-04 04:59:37 UTC 16,913 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{196:function(t,e,h){"use strict";const n="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,o="function"==typeof AbortController?AbortController:class{constructor(){this.signal=new c}abort(t=new Error("This operation was aborted")){this.signal.reason=this.signal.reason||t,this.signal.aborted=!0,this.signal.dispatchEvent({type:"abort",target:this.signal})}},l="function"==typeof AbortSignal,r="function"==typeof o.AbortSignal,c=l?AbortSignal:r?o.AbortController:class{constructor(){this.reason=void 0,this.aborted=!1,this._listeners=[]}dispatchEvent(t){"abort"===t.type&&(this.aborted=!0,this.onabort(t),this._listeners.forEach((e=>e(t)),this))}onabort(){}addEventListener(t,e){"abort"===t&&this._listeners.push(e)}removeEventListener(t,e){"abort"===t&&(this._listeners=this._listeners.filter((t=>t!==e)))}},d=new Set,f=(t,e)=>{const code=`LRU_CACHE_OPTION_${t}`;w(code)&&y(code,`${t} option`,`options.${e}`,x)},v=(t,e)=>{const code=`LRU_CACHE_METHOD_${t}`;if(w(code)){const{prototype:h}=x,{get:n}=Object.getOwnPropertyDescriptor(h,t);y(code,`${t} method`,`cache.${e}()`,n)}},S=(...a)=>{console.error(...a)},w=code=>!d.has(code),y=(code,t,e,h)=>{d.add(code);S(`The ${t} is deprecated. Please use ${e} instead.`,"DeprecationWarning",code,h)},z=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),m=t=>z(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?L:null:null;class L extends Array{constructor(t){super(t),this.fill(0)}}class _{constructor(t){if(0===t)return[];const e=m(t);this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class x{constructor(t={}){const{max:e=0,ttl:h,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:l,updateAgeOnHas:r,allowStale:c,dispose:v,disposeAfter:y,noDisposeOnSet:L,noUpdateTTL:T,maxSize:F=0,maxEntrySize:A=0,sizeCalculation:k,fetchMethod:O,fetchContext:E,noDeleteOnFetchRejection:C,noDeleteOnStaleGet:D,allowStaleOnFetchRejection:M,allowStaleOnFetchAbort:R,ignoreFetchAbort:I}=t,{length:W,maxAge:B,stale:j}=t instanceof x?{}:t;if(0!==e&&!z(e))throw new TypeError("max option must be a nonnegative integer");const U=e?m(e):Array;if(!U)throw new Error("invalid max value: "+e);if(this.max=e,this.maxSize=F,this.maxEntrySize=A||this.maxSize,this.sizeCalculation=k||W,this.sizeCalculation){if(!this.maxSize&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=O||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=E,!this.fetchMethod&&void 0!==E)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(e).fill(null),this.valList=new Array(e).fill(null),this.next=new U(e),this.prev=new U(e),this.head=0,this.tail=0,this.free=new _(e),this.initialFill=1,this.size=0,"function"==typeof v&&(this.dispose=v),"function"==typeof y?(this.disposeAfter=y,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!L,this.noUpdateTTL=!!T,this.noDeleteOnFetchRejection=!!C,this.allowStaleOnFetchRejection=!!M,this.allowStaleOnFetchAbort=!!R,this.ignoreFetchAbort=!!I,0!==this.maxEntrySize){if(0!==this.maxSize&&!z(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");if(!z(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!c||!!j,this.noDeleteOnStaleGet=!!D,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!r,this.ttlResolution=z(n)||0===n?n:1,this.ttlAutopurge=!!o,this.ttl=h||B||0,this.ttl){if(!z(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const code="LRU_CACHE_UNBOUNDED";if(w(code)){d.add(code);S("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",code,x)}}j&&f("stale","allowStale"),B&&f("maxAge","ttl"),W&&f("length","sizeCalculation")}getRemainingTTL(t){return this.has(t,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new L(this.max),this.starts=new L(this.max),this.setItemTTL=(t,e,h=n.now())=>{if(this.starts[t]=0!==e?h:0,this.ttls[t]=e,0!==e&&this.ttlAutopurge){const h=setTimeout((()=>{this.isStale(t)&&this.delete(this.keyList[t])}),e+1);h.unref&&h.unref()}},this.updateItemAge=t=>{this.starts[t]=0!==this.ttls[t]?n.now():0},this.statusTTL=(h,n)=>{h&&(h.ttl=this.ttls[n],h.start=this.starts[n],h.now=t||e(),h.remainingTTL=h.now+h.ttl-h.start)};let t=0;const e=()=>{const e=n.now();if(this.ttlResolution>0){t=e;const h=setTimeout((()=>t=0),this.ttlResolution);h.unref&&h.unref()}return e};this.getRemainingTTL=h=>{const n=this.keyMap.get(h);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(t||e())},this.isStale=h=>0!==this.ttls[h]&&0!==this.starts[h]&&(t||e())-this.starts[h]>this.ttls[h]}updateItemAge(t){}statusTTL(t,e){}setItemTTL(t,e,h){}isStale(t){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new L(this.max),this.removeItemSize=t=>{this.calculatedSize-=this.sizes[t],this.sizes[t]=0},this.requireSize=(t,e,h,n)=>
1{if(this.isBackgroundFetch(e))return 0;if(!z(h)){if(!n)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(h=n(e,t),!z(h))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return h},this.addItemSize=(t,e,h)=>{if(this.sizes[t]=e,this.maxSize){const e=this.maxSize-this.sizes[t];for(;this.calculatedSize>e;)this.evict(!0)}this.calculatedSize+=this.sizes[t],h&&(h.entrySize=e,h.totalCalculatedSize=this.calculatedSize)}}removeItemSize(t){}addItemSize(t,e){}requireSize(t,e,h,n){if(h||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}*indexes({allowStale:t=this.allowStale}={}){if(this.size)for(let i=this.tail;this.isValidIndex(i)&&(!t&&this.isStale(i)||(yield i),i!==this.head);)i=this.prev[i]}*rindexes({allowStale:t=this.allowStale}={}){if(this.size)for(let i=this.head;this.isValidIndex(i)&&(!t&&this.isStale(i)||(yield i),i!==this.tail);)i=this.next[i]}isValidIndex(t){return void 0!==t&&this.keyMap.get(this.keyList[t])===t}*entries(){for(const i of this.indexes())void 0===this.valList[i]||void 0===this.keyList[i]||this.isBackgroundFetch(this.valList[i])||(yield[this.keyList[i],this.valList[i]])}*rentries(){for(const i of this.rindexes())void 0===this.valList[i]||void 0===this.keyList[i]||this.isBackgroundFetch(this.valList[i])||(yield[this.keyList[i],this.valList[i]])}*keys(){for(const i of this.indexes())void 0===this.keyList[i]||this.isBackgroundFetch(this.valList[i])||(yield this.keyList[i])}*rkeys(){for(const i of this.rindexes())void 0===this.keyList[i]||this.isBackgroundFetch(this.valList[i])||(yield this.keyList[i])}*values(){for(const i of this.indexes())void 0===this.valList[i]||this.isBackgroundFetch(this.valList[i])||(yield this.valList[i])}*rvalues(){for(const i of this.rindexes())void 0===this.valList[i]||this.isBackgroundFetch(this.valList[i])||(yield this.valList[i])}[Symbol.iterator](){return this.entries()}find(t,e){for(const i of this.indexes()){const h=this.valList[i],n=this.isBackgroundFetch(h)?h.__staleWhileFetching:h;if(void 0!==n&&t(n,this.keyList[i],this))return this.get(this.keyList[i],e)}}forEach(t,e=this){for(const i of this.indexes()){const h=this.valList[i],n=this.isBackgroundFetch(h)?h.__staleWhileFetching:h;void 0!==n&&t.call(e,n,this.keyList[i],this)}}rforEach(t,e=this){for(const i of this.rindexes()){const h=this.valList[i],n=this.isBackgroundFetch(h)?h.__staleWhileFetching:h;void 0!==n&&t.call(e,n,this.keyList[i],this)}}get prune(){return v("prune","purgeStale"),this.purgeStale}purgeStale(){let t=!1;for(const i of this.rindexes({allowStale:!0}))this.isStale(i)&&(this.delete(this.keyList[i]),t=!0);return t}dump(){const t=[];for(const i of this.indexes({allowStale:!0})){const e=this.keyList[i],h=this.valList[i],o=this.isBackgroundFetch(h)?h.__staleWhileFetching:h;if(void 0===o)continue;const l={value:o};if(this.ttls){l.ttl=this.ttls[i];const t=n.now()-this.starts[i];l.start=Math.floor(Date.now()-t)}this.sizes&&(l.size=this.sizes[i]),t.unshift([e,l])}return t}load(t){this.clear();for(const[e,h]of t){if(h.start){const t=Date.now()-h.start;h.start=n.now()-t}this.set(e,h.value,h)}}dispose(t,e,h){}set(t,e,{ttl:h=this.ttl,start:n,noDisposeOnSet:o=this.noDisposeOnSet,size:l=0,sizeCalculation:r=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,status:d}={}){if(l=this.requireSize(t,e,l,r),this.maxEntrySize&&l>this.maxEntrySize)return d&&(d.set="miss",d.maxEntrySizeExceeded=!0),this.delete(t),this;let f=0===this.size?void 0:this.keyMap.get(t);if(void 0===f)f=this.newIndex(),this.keyList[f]=t,this.valList[f]=e,this.keyMap.set(t,f),this.next[this.tail]=f,this.prev[f]=this.tail,this.tail=f,this.size++,this.addItemSize(f,l,d),d&&(d.set="add"),c=!1;else{this.moveToTail(f);const h=this.valList[f];if(e!==h){if(this.isBackgroundFetch(h)?h.__abortController.abort(new Error("replaced")):o||(this.dispose(h,t,"set"),this.disposeAfter&&this.disposed.push([h,t,"set"])),this.removeItemSize(f),this.valList[f]=e,this.addItemSize(f,l,d),d){d.set="replace";
1const t=h&&this.isBackgroundFetch(h)?h.__staleWhileFetching:h;void 0!==t&&(d.oldValue=t)}}else d&&(d.set="update")}if(0===h||0!==this.ttl||this.ttls||this.initializeTTLTracking(),c||this.setItemTTL(f,h,n),this.statusTTL(d,f),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const t=this.valList[this.head];return this.evict(!0),t}}evict(t){const head=this.head,e=this.keyList[head],h=this.valList[head];return this.isBackgroundFetch(h)?h.__abortController.abort(new Error("evicted")):(this.dispose(h,e,"evict"),this.disposeAfter&&this.disposed.push([h,e,"evict"])),this.removeItemSize(head),t&&(this.keyList[head]=null,this.valList[head]=null,this.free.push(head)),this.head=this.next[head],this.keyMap.delete(e),this.size--,head}has(t,{updateAgeOnHas:e=this.updateAgeOnHas,status:h}={}){const n=this.keyMap.get(t);if(void 0!==n){if(!this.isStale(n))return e&&this.updateItemAge(n),h&&(h.has="hit"),this.statusTTL(h,n),!0;h&&(h.has="stale",this.statusTTL(h,n))}else h&&(h.has="miss");return!1}peek(t,{allowStale:e=this.allowStale}={}){const h=this.keyMap.get(t);if(void 0!==h&&(e||!this.isStale(h))){const t=this.valList[h];return this.isBackgroundFetch(t)?t.__staleWhileFetching:t}}backgroundFetch(t,e,h,n){const l=void 0===e?void 0:this.valList[e];if(this.isBackgroundFetch(l))return l;const r=new o;h.signal&&h.signal.addEventListener("abort",(()=>r.abort(h.signal.reason)));const c={signal:r.signal,options:h,context:n},d=(n,o=!1)=>{const{aborted:l}=r.signal,d=h.ignoreFetchAbort&&void 0!==n;return h.status&&(l&&!o?(h.status.fetchAborted=!0,h.status.fetchError=r.signal.reason,d&&(h.status.fetchAbortIgnored=!0)):h.status.fetchResolved=!0),!l||d||o?(this.valList[e]===p&&(void 0===n?p.__staleWhileFetching?this.valList[e]=p.__staleWhileFetching:this.delete(t):(h.status&&(h.status.fetchUpdated=!0),this.set(t,n,c.options))),n):f(r.signal.reason)},f=n=>{const{aborted:o}=r.signal,l=o&&h.allowStaleOnFetchAbort,c=l||h.allowStaleOnFetchRejection,d=c||h.noDeleteOnFetchRejection;if(this.valList[e]===p){!d||void 0===p.__staleWhileFetching?this.delete(t):l||(this.valList[e]=p.__staleWhileFetching)}if(c)return h.status&&void 0!==p.__staleWhileFetching&&(h.status.returnedStale=!0),p.__staleWhileFetching;if(p.__returned===p)throw n};h.status&&(h.status.fetchDispatched=!0);const p=new Promise(((e,n)=>{this.fetchMethod(t,l,c).then((t=>e(t)),n),r.signal.addEventListener("abort",(()=>{h.ignoreFetchAbort&&!h.allowStaleOnFetchAbort||(e(),h.allowStaleOnFetchAbort&&(e=t=>d(t,!0)))}))})).then(d,(t=>(h.status&&(h.status.fetchRejected=!0,h.status.fetchError=t),f(t))));return p.__abortController=r,p.__staleWhileFetching=l,p.__returned=null,void 0===e?(this.set(t,p,{...c.options,status:void 0}),e=this.keyMap.get(t)):this.valList[e]=p,p}isBackgroundFetch(p){return p&&"object"==typeof p&&"function"==typeof p.then&&Object.prototype.hasOwnProperty.call(p,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(p,"__returned")&&(p.__returned===p||null===p.__returned)}async fetch(t,{allowStale:e=this.allowStale,updateAgeOnGet:h=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:r=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:v=this.allowStaleOnFetchRejection,ignoreFetchAbort:S=this.ignoreFetchAbort,allowStaleOnFetchAbort:w=this.allowStaleOnFetchAbort,fetchContext:y=this.fetchContext,forceRefresh:z=!1,status:m,signal:L}={}){if(!this.fetchMethod)return m&&(m.fetch="get"),this.get(t,{allowStale:e,updateAgeOnGet:h,noDeleteOnStaleGet:n,status:m});const _={allowStale:e,updateAgeOnGet:h,noDeleteOnStaleGet:n,ttl:o,noDisposeOnSet:l,size:r,sizeCalculation:c,noUpdateTTL:d,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:w,ignoreFetchAbort:S,status:m,signal:L};let x=this.keyMap.get(t);if(void 0===x){m&&(m.fetch="miss");const p=this.backgroundFetch(t,x,_,y);return p.__returned=p}{const n=this.valList[x];
1if(this.isBackgroundFetch(n)){const t=e&&void 0!==n.__staleWhileFetching;return m&&(m.fetch="inflight",t&&(m.returnedStale=!0)),t?n.__staleWhileFetching:n.__returned=n}const o=this.isStale(x);if(!z&&!o)return m&&(m.fetch="hit"),this.moveToTail(x),h&&this.updateItemAge(x),this.statusTTL(m,x),n;const p=this.backgroundFetch(t,x,_,y),l=void 0!==p.__staleWhileFetching,r=l&&e;return m&&(m.fetch=l&&o?"stale":"refresh",r&&o&&(m.returnedStale=!0)),r?p.__staleWhileFetching:p.__returned=p}}get(t,{allowStale:e=this.allowStale,updateAgeOnGet:h=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:o}={}){const l=this.keyMap.get(t);if(void 0!==l){const r=this.valList[l],c=this.isBackgroundFetch(r);return this.statusTTL(o,l),this.isStale(l)?(o&&(o.get="stale"),c?(o&&(o.returnedStale=e&&void 0!==r.__staleWhileFetching),e?r.__staleWhileFetching:void 0):(n||this.delete(t),o&&(o.returnedStale=e),e?r:void 0)):(o&&(o.get="hit"),c?r.__staleWhileFetching:(this.moveToTail(l),h&&this.updateItemAge(l),r))}o&&(o.get="miss")}connect(p,t){this.prev[t]=p,this.next[p]=t}moveToTail(t){t!==this.tail&&(t===this.head?this.head=this.next[t]:this.connect(this.prev[t],this.next[t]),this.connect(this.tail,t),this.tail=t)}get del(){return v("del","delete"),this.delete}delete(t){let e=!1;if(0!==this.size){const h=this.keyMap.get(t);if(void 0!==h)if(e=!0,1===this.size)this.clear();else{this.removeItemSize(h);const e=this.valList[h];this.isBackgroundFetch(e)?e.__abortController.abort(new Error("deleted")):(this.dispose(e,t,"delete"),this.disposeAfter&&this.disposed.push([e,t,"delete"])),this.keyMap.delete(t),this.keyList[h]=null,this.valList[h]=null,h===this.tail?this.tail=this.prev[h]:h===this.head?this.head=this.next[h]:(this.next[this.prev[h]]=this.next[h],this.prev[this.next[h]]=this.prev[h]),this.size--,this.free.push(h)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return e}clear(){for(const t of this.rindexes({allowStale:!0})){const e=this.valList[t];if(this.isBackgroundFetch(e))e.__abortController.abort(new Error("deleted"));else{const h=this.keyList[t];this.dispose(e,h,"delete"),this.disposeAfter&&this.disposed.push([e,h,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return v("reset","clear"),this.clear}get length(){return((t,e)=>{const code=`LRU_CACHE_PROPERTY_${t}`;if(w(code)){const{prototype:h}=x,{get:n}=Object.getOwnPropertyDescriptor(h,t);y(code,`${t} property`,`cache.${e}`,n)}})("length","size"),this.size}static get AbortController(){return o}static get AbortSignal(){return c}}e.a=x}}]);

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.