PageSourceSearch

https://cdn.faire.com/builder-hub/_next/static/chunks/5455-97b0362b7bd2e83e.js

js faire.com collected 2026-10-01 10:13:40 UTC 14,183 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5455],{2803:(t,e,n)=>{"use strict";n.d(e,{H:()=>s});var r=n(92552);function s(t,e){let n,s,v=e?.additionalDigits??2,m=function(t){let e,n={},r=t.split(i);if(r.length>2)return n;if(/:/.test(r[0])?e=r[0]:(n.date=r[0],e=r[1],o.test(n.date)&&(n.date=t.split(o)[0],e=t.substr(n.date.length,t.length))),e){let t=a.exec(e);t?(n.time=e.replace(t[1],""),n.timezone=t[1]):n.time=e}return n}(t);if(m.date){let t=function(t,e){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};let s=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?s:100*i,restDateString:t.slice((r[1]||r[2]).length)}}(m.date,v);n=function(t,e){var n,r,s,i,o,a,c,h,f,v;if(null===e)return new Date(NaN);let m=t.match(u);if(!m)return new Date(NaN);let y=!!m[4],g=l(m[1]),b=l(m[2])-1,x=l(m[3]),C=l(m[4]),w=l(m[5])-1;if(y){let t,a;return(n=C,r=w,n>=1&&n<=53&&r>=0&&r<=6)?(s=e,i=C,o=w,(t=new Date(0)).setUTCFullYear(s,0,4),a=t.getUTCDay()||7,t.setUTCDate(t.getUTCDate()+((i-1)*7+o+1-a)),t):new Date(NaN)}{let t=new Date(0);return(a=e,c=b,h=x,c>=0&&c<=11&&h>=1&&h<=(p[c]||(d(a)?29:28))&&(f=e,(v=g)>=1&&v<=(d(f)?366:365)))?(t.setUTCFullYear(e,b,Math.max(g,x)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let y=n.getTime(),g=0;if(m.time&&isNaN(g=function(t){var e,n,s;let i=t.match(c);if(!i)return NaN;let o=f(i[1]),a=f(i[2]),u=f(i[3]);return(e=o,n=a,s=u,24===e?0===n&&0===s:s>=0&&s<60&&n>=0&&n<60&&e>=0&&e<25)?o*r.s0+a*r.Cg+1e3*u:NaN}(m.time)))return new Date(NaN);if(m.timezone){if(isNaN(s=function(t){var e;if("Z"===t)return 0;let n=t.match(h);if(!n)return 0;let s="+"===n[1]?-1:1,i=parseInt(n[2]),o=n[3]&&parseInt(n[3])||0;return(e=o)>=0&&e<=59?s*(i*r.s0+o*r.Cg):NaN}(m.timezone)))return new Date(NaN)}else{let t=new Date(y+g),e=new Date(0);return e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),e}return new Date(y+g+s)}let i=/[T ]/,o=/[Z ]/i,a=/([Z+-].*)$/,u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,h=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(t){return t?parseInt(t):1}function f(t){return t&&parseFloat(t.replace(",","."))||0}let p=[31,null,31,30,31,30,31,31,30,31,30,31];function d(t){return t%400==0||t%4==0&&t%100!=0}},4832:(t,e,n)=>{"use strict";function r(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}n.d(e,{w:()=>r})},12981:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function s(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(t,e,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var a=new s(r,i||t,o),u=n?n+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],a]:t._events[u].push(a):(t._events[u]=a,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),a.prototype.eventNames=function(){var t,r,s=[];if(0===this._eventsCount)return s;for(r in t=this._events)e.call(t,r)&&s.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(t)):s},a.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var s=0,i=r.length,o=Array(i);s<i;s++)o[s]=r[s].fn;return o},a.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},a.prototype.emit=function(t,e,r,s,i,o){var a=n?n+t:t;if(!this._events[a])return!1;var u,c,h=this._events[a],l=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),l){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,r),!0;case 4:return h.fn.call(h.context,e,r,s),!0;case 5:return h.fn.call(h.context,e,r,s,i),!0;case 6:return h.fn.call(h.context,e,r,s,i,o),!0}for(c=1,u=Array(l-1);c<l;c++)u[c-1]=arguments[c];h.fn.apply(h.context,u)}else{var f,p=h.length;for(c=0;c<p;c++)switch(h[c].once&&this.removeListener(t,h[c].fn,void 0,!0),l){case 1:h[c].fn.call(h[c].context);break;case 2:h[c].fn.call(h[c].context,e);break;case 3:h[c].fn.call(h[c].context,e,r);break;case 4:h[c].fn.call(h[c].context,e,r,s);break;default:if(!u)for(f=1,u=Array(l-1);f<l;f++)u[f-1]=arguments[f];
1h[c].fn.apply(h[c].context,u)}}return!0},a.prototype.on=function(t,e,n){return i(this,t,e,n,!1)},a.prototype.once=function(t,e,n){return i(this,t,e,n,!0)},a.prototype.removeListener=function(t,e,r,s){var i=n?n+t:t;if(!this._events[i])return this;if(!e)return o(this,i),this;var a=this._events[i];if(a.fn)a.fn!==e||s&&!a.once||r&&a.context!==r||o(this,i);else{for(var u=0,c=[],h=a.length;u<h;u++)(a[u].fn!==e||s&&!a[u].once||r&&a[u].context!==r)&&c.push(a[u]);c.length?this._events[i]=1===c.length?c[0]:c:o(this,i)}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&o(this,e)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a},20736:t=>{t.exports=function(t,e,n){for(var r=-1,s=null==t?0:t.length;++r<s;)if(n(e,t[r]))return!0;return!1}},25052:(t,e,n)=>{var r=n(31660);t.exports=function(t){return r(t)?t:[]}},27579:(t,e,n)=>{var r=n(8784),s=n(87196),i=n(91115),o=n(66600);t.exports=function(t,e){return(o(t)?r:s)(t,i(e))}},29558:t=>{t.exports=function(t){return t!=t}},31660:(t,e,n)=>{var r=n(84471),s=n(52147);t.exports=function(t){return s(t)&&r(t)}},37136:(t,e,n)=>{var r=n(90994),s=n(65004),i=n(20736),o=n(33837),a=n(73700),u=n(71770),c=Math.min;t.exports=function(t,e,n){for(var h=n?i:s,l=t[0].length,f=t.length,p=f,d=Array(f),v=1/0,m=[];p--;){var y=t[p];p&&e&&(y=o(y,a(e))),v=c(y.length,v),d[p]=!n&&(e||l>=120&&y.length>=120)?new r(p&&y):void 0}y=t[0];var g=-1,b=d[0];t:for(;++g<l&&m.length<v;){var x=y[g],C=e?e(x):x;if(x=n||0!==x?x:0,!(b?u(b,C):h(m,C,n))){for(p=f;--p;){var w=d[p];if(!(w?u(w,C):h(t[p],C,n)))continue t}b&&b.push(C),m.push(x)}}return m}},42161:(t,e,n)=>{"use strict";n.d(e,{G:()=>s});var r=n(17280);function s(t){let e=(0,r.a)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),t-n}},42910:t=>{t.exports=function(t,e,n){for(var r=n-1,s=t.length;++r<s;)if(t[r]===e)return r;return -1}},45914:(t,e,n)=>{var r=n(96890),s=n(29558),i=n(42910);t.exports=function(t,e,n){return e==e?i(t,e,n):r(t,s,n)}},60380:(t,e,n)=>{"use strict";n.d(e,{n:()=>h});var r=n(34023),s=n(93508),i=n(39993),o=n(20821),a=n(21400),u=class extends o.Q{#t;#e=void 0;#n;#r;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,a.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.EN)(e.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#s(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#i()}mutate(t,e){return this.#r=e,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#s(){let t=this.#n?.state??(0,s.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#i(t){i.jG.batch(()=>{if(this.#r&&this.hasListeners()){let e=this.#e.variables,n=this.#e.context,r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,e,n,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(t.data,null,e,n,r)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,e,n,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(void 0,t.error,e,n,r)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},c=n(77935);function h(t,e){let n=(0,c.jE)(e),[s]=r.useState(()=>new u(n,t));r.useEffect(()=>{s.setOptions(t)},[s,t]);let o=r.useSyncExternalStore(r.useCallback(t=>s.subscribe(i.jG.batchCalls(t)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),h=r.useCallback((t,e)=>{s.mutate(t,e).catch(a.lQ)},[s]);if(o.error&&(0,a.GU)(s.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:h,mutateAsync:o.mutate}}},65004:(t,e,n)=>{var r=n(45914);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},66892:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var r=n(34023);let s=(t,e)=>
1{let n=t instanceof Map?t:new Map(t.entries()),r=e instanceof Map?e:new Map(e.entries());if(n.size!==r.size)return!1;for(let[t,e]of n)if(!Object.is(e,r.get(t)))return!1;return!0};function i(t){let e=r.useRef(void 0);return n=>{let r=t(n);return!function(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(!(Symbol.iterator in t)||!(Symbol.iterator in e))return s({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)});if("entries"in t&&"entries"in e)return s(t,e);let n=t[Symbol.iterator](),r=e[Symbol.iterator](),i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done}(e.current,r)?e.current=r:e.current}}},88707:(t,e,n)=>{"use strict";n.d(e,{f:()=>i});var r=n(17280),s=n(4832);function i(t,e){let n=(0,r.a)(t);return isNaN(e)?(0,s.w)(t,NaN):(e&&n.setDate(n.getDate()+e),n)}},91115:(t,e,n)=>{var r=n(1065);t.exports=function(t){return"function"==typeof t?t:r}},92552:(t,e,n)=>{"use strict";n.d(e,{Cg:()=>i,F6:()=>h,Ks:()=>u,Nw:()=>c,_m:()=>a,my:()=>r,s0:()=>o,w4:()=>s});let r=6048e5,s=864e5,i=6e4,o=36e5,a=1e3,u=525600,c=43200,h=1440},93508:(t,e,n)=>{"use strict";n.d(e,{$:()=>a,s:()=>o});var r=n(39993),s=n(32440),i=n(35700),o=class extends s.k{#t;#o;#a;#u;
1constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#a=t.mutationCache,this.#o=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#o.includes(t)||(this.#o.push(t),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#o=this.#o.filter(e=>e!==t),this.scheduleGc(),this.#a.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#o.length||("pending"===this.state.status?this.scheduleGc():this.#a.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#c({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#u=(0,i.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#c({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#c({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#a.canRun(this)});let r="pending"===this.state.status,s=!this.#u.canStart();try{if(r)e();else{this.#c({type:"pending",variables:t,isPaused:s}),this.#a.config.onMutate&&await this.#a.config.onMutate(t,this,n);let e=await this.options.onMutate?.(t,n);e!==this.state.context&&this.#c({type:"pending",context:e,variables:t,isPaused:s})}let i=await this.#u.start();return await this.#a.config.onSuccess?.(i,t,this.state.context,this,n),await this.options.onSuccess?.(i,t,this.state.context,n),await this.#a.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,t,this.state.context,n),this.#c({type:"success",data:i}),i}catch(e){try{await this.#a.config.onError?.(e,t,this.state.context,this,n)}catch(t){Promise.reject(t)}try{await this.options.onError?.(e,t,this.state.context,n)}catch(t){Promise.reject(t)}try{await this.#a.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,n)}catch(t){Promise.reject(t)}try{await this.options.onSettled?.(void 0,e,t,this.state.context,n)}catch(t){Promise.reject(t)}throw this.#c({type:"error",error:e}),e}finally{this.#a.runNext(this)}}#c(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),r.jG.batch(()=>{this.#o.forEach(e=>{e.onMutationUpdate(t)}),this.#a.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},95608:t=>{t.exports=function(t){for(var e=-1,n=null==t?0:t.length,r=0,s=[];++e<n;){var i=t[e];i&&(s[r++]=i)}return s}},96890:t=>{t.exports=function(t,e,n,r){for(var s=t.length,i=n+(r?1:-1);r?i--:++i<s;)if(e(t[i],i,t))return i;return -1}},97694:(t,e,n)=>{var r=n(33837),s=n(37136),i=n(52623),o=n(25052);t.exports=i(function(t){var e=r(t,o);return e.length&&e[0]===t[0]?s(e):[]})}}]);
2//# sourceMappingURL=5455-97b0362b7bd2e83e.js.map

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.