PageSourceSearch

https://saferestorehelp.com/assets/vendor-B-xW6FxA.js

js saferestorehelp.com collected 2026-10-04 21:43:21 UTC 12,391 bytes, 1 lines download raw bytes

vendor: 4,779 bytes, line 1
1function we(t,n){for(var o=0;o<n.length;o++){const u=n[o];if(typeof u!="string"&&!Array.isArray(u)){for(const s in u)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(u,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>u[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var Xe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Re(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F={exports:{}},c={};var te;function ke(){if(te)return c;te=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),d=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),f=Symbol.iterator;function w(e){return e===null||typeof e!="object"?null:(e=f&&e[f]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,k={};function x(e,r,a){this.props=e,this.context=r,this.refs=k,this.updater=a||C}x.prototype.isReactComponent={},x.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function P(){}P.prototype=x.prototype;function T(e,r,a){this.props=e,this.context=r,this.refs=k,this.updater=a||C}var U=T.prototype=new P;U.constructor=T,O(U,x.prototype),U.isPureReactComponent=!0;var W=Array.isArray,J=Object.prototype.hasOwnProperty,V={current:null},X={key:!0,ref:!0,__self:!0,__source:!0};function Y(e,r,a){var p,l={},_=null,g=null;if(r!=null)for(p in r.ref!==void 0&&(g=r.ref),r.key!==void 0&&(_=""+r.key),r)J.call(r,p)&&!X.hasOwnProperty(p)&&(l[p]=r[p]);var E=arguments.length-2;if(E===1)l.children=a;else if(1<E){for(var v=Array(E),j=0;j<E;j++)v[j]=arguments[j+2];l.children=v}if(e&&e.defaultProps)for(p in E=e.defaultProps,E)l[p]===void 0&&(l[p]=E[p]);return{$$typeof:t,type:e,key:_,ref:g,props:l,_owner:V.current}}function _e(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}function A(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function Ee(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}var Z=/\/+/g;function N(e,r){return typeof e=="object"&&e!==null&&e.key!=null?Ee(""+e.key):r.toString(36)}function I(e,r,a,p,l){var _=typeof e;(_==="undefined"||_==="boolean")&&(e=null);var g=!1;if(e===null)g=!0;else switch(_){case"string":case"number":g=!0;break;case"object":switch(e.$$typeof){case t:case n:g=!0}}if(g)return g=e,l=l(g),e=p===""?"."+N(g,0):p,W(l)?(a="",e!=null&&(a=e.replace(Z,"$&/")+"/"),I(l,r,a,"",function(j){return j})):l!=null&&(A(l)&&(l=_e(l,a+(!l.key||g&&g.key===l.key?"":(""+l.key).replace(Z,"$&/")+"/")+e)),r.push(l)),1;if(g=0,p=p===""?".":p+":",W(e))for(var E=0;E<e.length;E++){_=e[E];var v=p+N(_,E);g+=I(_,r,a,v,l)}else if(v=w(e),typeof v=="function")for(e=v.call(e),E=0;!(_=e.next()).done;)_=_.value,v=p+N(_,E++),g+=I(_,r,a,v,l);else if(_==="object")throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return g}function q(e,r,a){if(e==null)return e;var p=[],l=0;return I(e,p,"","",function(_){return r.call(a,_,l++)}),p}function be(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var R={current:null},D={transition:null},ge={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:D,ReactCurrentOwner:V};function ee(){throw Error("act(...) is not supported in production builds of React.")}return c.Children={map:q,forEach:function(e,r,a){q(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return q(e,function(){r++}),r},toArray:function(e){return q(e,function(r){return r})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},c.Component=x,c.Fragment=o,c.Profiler=s,c.PureComponent=T,c.StrictMode=u,c.Suspense=S,c.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ge,c.act=ee,c.cloneElement=function(e,r,a){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var p=O({},e.props),l=e.key,_=e.ref,g=e._owner;if(r!=null){if(r.ref!==void 0&&(_=r.ref,g=V.current),r.key!==void 0&&(l=""+r.key),e.type&&e.type.defaultProps)var E=e.type.defaultProps;for(v in r)J.call(r,v)&&!X.hasOwnProperty(v)&&(p[v]=r[v]===void 0&&E!==void 0?E[v]:r[v])}var v=arguments.length-2;if(v===1)p.children=a;else if(1<v){E=Array(v);for(var j=0;j<v;j++)E[j]=arguments[j+2];p.children=E}return{$$typeof:t,type:e.type,key:l,ref:_,props:p,_owner:g}},c.createContext=function(e){return e={$$typeof:d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:i,_context:e},e.Consumer=e},c.createElement=Y,c.createFactory=function(e){var r=Y.bind(null,e);return r.type=e,r},c.createRef=function(){return{current:null}},c.forwardRef=function(e){return{$$typeof:b,render:e}},c.isValidElement=A,c.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:be}},c.memo=function(e,r){return{$$typeof:m,type:e,compare:r===void 0?null:r}},c.startTransition=function(e){var r=D.transition;D.transition={};try{e()}finally{D.transition=r}},c.unstable_act=ee,c.useCallback=function(e,r){return R.current.useCallback(e,r)},c.useContext=function(e){return R.current.useContext(e)},c.useDebugValue=function(){},c.useDeferredValue=function(e){return R.current.useDeferredValue(e)},c.useEffect=function(e,r){return R.current.useEffect(e,r)},c.useId=function(){return R.current.useId()},c.useImperativeHandle=function(e,r,a){return R.current.useImperativeHandle(e,r,a)},c.useInsertionEffect=function(e,r){return R.current.useInsertionEffect(e,r)},c.useLayoutEffect=function(e,r){return R.current.useLayoutEffect(e,r)},c.useMemo=function(e,r){return R.current.useMemo(e,r)},c.useReducer=function(e,r,a){return R.current.useReducer(e,r,a)},c.useRef=function(e){return R.current.useRef(e)},c.useState=function(e){return R.current.useState(e)},c.useSyncExternalStore=function(e,r,a){return R.current.useSyncExternalStore(e,r,a)},c.useTransition=function(){return R.current.useTransition()},c.version="18.3.1",c}var re;function fe(){return re||(re=1,F.exports=ke()),F.exports}var h=fe();const xe=Re(h),Ce=we({__proto__:null,default:xe},[h]);function Pe(t,n){if(t instanceof RegExp)return{keys:!1,pattern:t};var o,u,s,i,d=[],b="",S=t.split("/");for(S[0]||S.shift();s=S.shift();)o=s[0],o==="*"?(d.push(o),b+=s[1]==="?"?"(?:/(.*))?":"/(.*)"):o===":"?(u=s.indexOf("?",1),i=s.indexOf(".",1),d.push(s.substring(1,~u?u:~i?i:s.length)),b+=~u&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(b+=(~u?"?":"")+"\\"+s.substring(i))):b+="/"+s;return{keys:d,pattern:new RegExp("^"+b+(n?"(?=$|/)":"/?$"),"i")}}var H={exports:{}},M={};var ne;function je(){if(ne)return M;ne=1;var t=fe();function n(f,w){return f===w&&(f!==0||1/f===1/w)||f!==f&&w!==w}var o=typeof Object.is=="function"?Object.is:n,u=t.useState,s=t.useEffect,i=t.useLayoutEffect,d=t.useDebugValue;function b(f,w){var C=w(),O=u({inst:{value:C,getSnapshot:w}}),k=O[0].inst,x=O[1];return i(function(){k.value=C,k.getSnapshot=w,S(k)&&x({inst:k})},[f,C,w]),s(function(){return S(k)&&x({inst:k}),f(function(){S(k)&&x({inst:k})})},[f]),d(C),C}function S(f){var w=f.getSnapshot;f=f.value;try{var C=w();return!o(f,C)}catch{return!0}}function m(f,w){return w()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:b;return M.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:y,M}var oe;function Oe(){return oe||(oe=1,H.exports=je()),H.exports}var $e=Oe();const Le=Ce.useInsertionEffect,Ie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",le=Ie?h.useLayoutEffect:h.useEffect,qe=Le||le,z=t=>{const n=h.useRef([t,(...o)=>n[0](...o)]).current;return qe(()=>{n[0]=t}),n[1]},De="popstate",B="pushState",G="replaceState",Te="hashchange",ue=[De,B,G,Te],Ue=t=>{for(const n of ue)addEventListener(n,t);return()=>{for(const n of ue)removeEventListener(n,t)}},pe=(t,n)=>$e.useSyncExternalStore(Ue,t,n),se=()=>location.search,Ve=({ssrSearch:t}={})=>pe(se,t!=null?()=>t:se),ce=()=>location.pathname,Ae=({ssrPath:t}={})=>pe(ce,t!=null?()=>t:ce),Ne=(t,{replace:n=!1,state:o=null}={})=>history[n?G:B](o,"",t),Fe=(t={})=>[Ae(t),Ne],ae=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[ae]>"u"){for(const t of[B,G]){const n=history[t];history[t]=function(){const o=n.apply(this,arguments),u=new Event(t);return u.arguments=arguments,dispatchEvent(u),o}}Object.defineProperty(window,ae,{value:!0})}const He=(t,n)=>n.toLowerCase().indexOf(t.toLowerCase())?"~"+n:n.slice(t.length)||"/",de
1=(t="")=>t==="/"?"":t,Me=(t,n)=>t[0]==="~"?t.slice(1):de(n)+t,Ke=(t="",n)=>He(K(de(t)),K(n)),ze=t=>t[0]==="?"?t.slice(1):t,K=t=>{try{return decodeURI(t)}catch{return t}},Be=t=>K(ze(t)),ye={hook:Fe,searchHook:Ve,parser:Pe,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t,aroundNav:(t,n,o)=>t(n,o)},he=h.createContext(ye),$=()=>h.useContext(he),me={},ve=h.createContext(me),Ge=()=>h.useContext(ve),L=t=>{const[n,o]=t.hook(t);return[Ke(t.base,n),z((u,s)=>t.aroundNav(o,Me(u,t.base),s))]},Qe=()=>L($()),Ye=()=>{const t=$();return Be(t.searchHook(t))},Q=(t,n,o,u)=>{const{pattern:s,keys:i}=n instanceof RegExp?{keys:!1,pattern:n}:t(n||"*",u),d=s.exec(o)||[],[b,...S]=d;return b!==void 0?[!0,(()=>{const m=i!==!1?Object.fromEntries(i.map((f,w)=>[f,S[w]])):d.groups;let y={...S};return m&&Object.assign(y,m),y})(),...u?[b]:[]]:[!1,null]},Ze=t=>Q($().parser,t,Qe()[0]),We=({children:t,...n})=>{const o=$(),u=n.hook?ye:o;let s=u;const[i,d=n.ssrSearch??""]=n.ssrPath?.split("?")??[];i&&(n.ssrSearch=d,n.ssrPath=i),n.hrefs=n.hrefs??n.hook?.hrefs,n.searchHook=n.searchHook??n.hook?.searchHook;let b=h.useRef({}),S=b.current,m=S;for(let y in u){const f=y==="base"?u[y]+(n[y]??""):n[y]??u[y];S===m&&f!==m[y]&&(b.current=m={...m}),m[y]=f,(f!==u[y]||f!==s[y])&&(s=m)}return h.createElement(he.Provider,{value:s,children:t})},ie=({children:t,component:n},o)=>n?h.createElement(n,{params:o}):typeof t=="function"?t(o):t,Je=t=>{let n=h.useRef(me);const o=n.current;return n.current=Object.keys(t).length!==Object.keys(o).length||Object.entries(t).some(([u,s])=>s!==o[u])?t:o},et=({path:t,nest:n,match:o,...u})=>{const s=$(),[i]=L(s),[d,b,S]=o??Q(s.parser,t,i,n),m=Je({...Ge(),...b});if(!d)return null;const y=S?h.createElement(We,{base:S},ie(u,m)):ie(u,m);return h.createElement(ve.Provider,{value:m,children:y})},tt=h.forwardRef((t,n)=>{const o=$(),[u,s]=L(o),{to:i="",href:d=i,onClick:b,asChild:S,children:m,className:y,replace:f,state:w,transition:C,...O}=t,k=z(P=>{P.ctrlKey||P.metaKey||P.altKey||P.shiftKey||P.button!==0||(b?.(P),P.defaultPrevented||(P.preventDefault(),s(d,t)))}),x=o.hrefs(d[0]==="~"?d.slice(1):o.base+d,o);return S&&h.isValidElement(m)?h.cloneElement(m,{onClick:k,href:x}):h.createElement("a",{...O,onClick:k,href:x,className:y?.call?y(u===d):y,children:m,ref:n})}),Se=t=>Array.isArray(t)?t.flatMap(n=>Se(n&&n.type===h.Fragment?n.props.children:n)):[t],rt=({children:t,location:n})=>{const o=$(),[u]=L(o);for(const s of Se(t)){let i=0;if(h.isValidElement(s)&&(i=Q(o.parser,s.props.path,n||u,s.props.nest))[0])return h.cloneElement(s,{match:i})}return null},nt=t=>{const{to:n,href:o=n}=t,u=$(),[,s]=L(u),i=z(()=>s(n||o,t)),{ssrContext:d}=u;return le(()=>{i()},[]),d&&(d.redirectTo=n),null};export{tt as L,xe as R,rt as S,h as a,Ce as b,et as c,nt as d,Ze as e,Ge as f,Re as g,Xe as h,Ye as i,fe as r,Qe 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.