PageSourceSearch

https://www.simpsonmillar.co.uk/sitefiles/next-gen/dist/2167-c46303f14815df40782f.js

js simpsonmillar.co.uk collected 2026-10-02 17:18:24 UTC 9,758 bytes, 2 lines download raw bytes

1"use strict";(this.webpackChunksimpson_millar=this.webpackChunksimpson_millar||[]).push([[2167],{4020:e=>{var r="%[a-f0-9]{2}",t=new RegExp("("+r+")|([^%]+?)","gi"),n=new RegExp("("+r+")+","gi");function o(e,r){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;r=r||1;var t=e.slice(0,r),n=e.slice(r);return Array.prototype.concat.call([],o(t),o(n))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var r=e.match(t)||[],n=1;n<r.length;n++)r=(e=o(r,n).join("")).match(t)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(r){return function(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},t=n.exec(e);t;){try{r[t[0]]=decodeURIComponent(t[0])}catch(e){var o=a(t[0]);o!==t[0]&&(r[t[0]]=o)}t=n.exec(e)}r["%C2"]="�";for(var i=Object.keys(r),c=0;c<i.length;c++){var s=i[c];e=e.replace(new RegExp(s,"g"),r[s])}return e}(e)}}},2806:e=>{e.exports=function(e,r){for(var t={},n=Object.keys(e),o=Array.isArray(r),a=0;a<n.length;a++){var i=n[a],c=e[i];(o?-1!==r.indexOf(i):r(i,c,e))&&(t[i]=c)}return t}},7563:(e,r,t)=>{const n=t(610),o=t(4020),a=t(500),i=t(2806),c=Symbol("encodeFragmentIdentifier");function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,r){return r.encode?r.strict?n(e):encodeURIComponent(e):e}function l(e,r){return r.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,r)=>Number(e)-Number(r))).map((r=>e[r])):e}function p(e){const r=e.indexOf("#");return-1!==r&&(e=e.slice(0,r)),e}function d(e){const r=(e=p(e)).indexOf("?");return-1===r?"":e.slice(r+1)}function m(e,r){return r.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!r.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function y(e,r){s((r=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},r)).arrayFormatSeparator);const t=function(e){let r;switch(e.arrayFormat){case"index":return(e,t,n)=>{r=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),r?(void 0===n[e]&&(n[e]={}),n[e][r[1]]=t):n[e]=t};case"bracket":return(e,t,n)=>{r=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),r?void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=[t]:n[e]=t};case"colon-list-separator":return(e,t,n)=>{r=/(:list)$/.exec(e),e=e.replace(/:list$/,""),r?void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=[t]:n[e]=t};case"comma":case"separator":return(r,t,n)=>{const o="string"==typeof t&&t.includes(e.arrayFormatSeparator),a="string"==typeof t&&!o&&l(t,e).includes(e.arrayFormatSeparator);t=a?l(t,e):t;const i=o||a?t.split(e.arrayFormatSeparator).map((r=>l(r,e))):null===t?t:l(t,e);n[r]=i};case"bracket-separator":return(r,t,n)=>{const o=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!o)return void(n[r]=t?l(t,e):t);const a=null===t?[]:t.split(e.arrayFormatSeparator).map((r=>l(r,e)));void 0!==n[r]?n[r]=[].concat(n[r],a):n[r]=a};default:return(e,r,t)=>{void 0!==t[e]?t[e]=[].concat(t[e],r):t[e]=r}}}(r),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(r.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?i:l(i,r),t(l(e,r),i,n)}for(const e of Object.keys(n)){const t=n[e];if("object"==typeof t&&null!==t)for(const e of Object.keys(t))t[e]=m(t[e],r);else n[e]=m(t,r)}return!1===r.sort?n:(!0===r.sort?Object.keys(n).sort():Object.keys(n).sort(r.sort)).reduce(((e,r)=>{const t=n[r];return Boolean(t)&&"object"==typeof t&&!Array.isArray(t)?e[r]=f(t):e[r]=t,e}
1),Object.create(null))}r.extract=d,r.parse=y,r.stringify=(e,r)=>{if(!e)return"";s((r=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},r)).arrayFormatSeparator);const t=t=>r.skipNull&&null==e[t]||r.skipEmptyString&&""===e[t],n=function(e){switch(e.arrayFormat){case"index":return r=>(t,n)=>{const o=t.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),"[",o,"]"].join("")]:[...t,[u(r,e),"[",u(o,e),"]=",u(n,e)].join("")]};case"bracket":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),"[]"].join("")]:[...t,[u(r,e),"[]=",u(n,e)].join("")];case"colon-list-separator":return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,[u(r,e),":list="].join("")]:[...t,[u(r,e),":list=",u(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const r="bracket-separator"===e.arrayFormat?"[]=":"=";return t=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(t,e),r,u(o,e)].join("")]:[[n,u(o,e)].join(e.arrayFormatSeparator)])}default:return r=>(t,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?t:null===n?[...t,u(r,e)]:[...t,[u(r,e),"=",u(n,e)].join("")]}}(r),o={};for(const r of Object.keys(e))t(r)||(o[r]=e[r]);const a=Object.keys(o);return!1!==r.sort&&a.sort(r.sort),a.map((t=>{const o=e[t];return void 0===o?"":null===o?u(t,r):Array.isArray(o)?0===o.length&&"bracket-separator"===r.arrayFormat?u(t,r)+"[]":o.reduce(n(t),[]).join("&"):u(t,r)+"="+u(o,r)})).filter((e=>e.length>0)).join("&")},r.parseUrl=(e,r)=>{r=Object.assign({decode:!0},r);const[t,n]=a(e,"#");return Object.assign({url:t.split("?")[0]||"",query:y(d(e),r)},r&&r.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,r)}:{})},r.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[c]:!0},t);const n=p(e.url).split("?")[0]||"",o=r.extract(e.url),a=r.parse(o,{sort:!1}),i=Object.assign(a,e.query);let s=r.stringify(i,t);s&&(s=`?${s}`);let l=function(e){let r="";const t=e.indexOf("#");return-1!==t&&(r=e.slice(t)),r}(e.url);return e.fragmentIdentifier&&(l=`#${t[c]?u(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${n}${s}${l}`},r.pick=(e,t,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[c]:!1},n);const{url:o,query:a,fragmentIdentifier:s}=r.parseUrl(e,n);return r.stringifyUrl({url:o,query:i(a,t),fragmentIdentifier:s},n)},r.exclude=(e,t,n)=>{const o=Array.isArray(t)?e=>!t.includes(e):(e,r)=>!t(e,r);return r.pick(e,o,n)}},500:e=>{e.exports=(e,r)=>{if("string"!=typeof e||"string"!=typeof r)throw new TypeError("Expected the arguments to be of type `string`");if(""===r)return[e];const t=e.indexOf(r);return-1===t?[e]:[e.slice(0,t),e.slice(t+r.length)]}},610:e=>{e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},4251:(e,r,t)=>{t.d(r,{M:()=>v});var n=t(7582),o=t(7294),a=t(9304),i=t(2396),c=t(8868);function s(){var e=(0,o.useRef)(!1);return(0,c.L)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var u=t(240),l=t(6681),f=t(6316),p=function(e){var r=e.children,t=e.initial,a=e.isPresent,i=e.onExitComplete,c=e.custom,s=e.presenceAffectsLayout,p=(0,l.h)(d),m=(0,f.M)(),y=(0,o.useMemo)((function(){return{id:m,initial:t,isPresent:a,custom:c,onExitComplete:function(e){var r,t;p.set(e,!0);try{for(var o=(0,n.XA)(p.values()),a=o.next();!a.done;a=o.next())if(!a.value)return}catch(e){r={error:e}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}null==i||i()},register:function(e){return p.set(e,!1),function(){return p.delete(e)}}}}),s?void 0:[a]);return(0,o.useMemo)((function(){p.forEach((function(e,r){return p.set(r,!1)}))}),[a]),o.useEffect((function(){!a&&!p.size&&(null==i||i())}),[a]),o.createElement(u.O.Provider,{value:y},r)};function d(){return new Map}var m=t(5364),y=t(5411),g=function(e){return e.key||""},v=function(e){var r=e.children,t=e.custom,u=e.initial,l=void 0===u||u,f=e.onExitComplete,d=e.exitBeforeEnter,v=e.presenceAffectsLayout,h=void 0===v||v,b=(0,n.CR)(function(){var e=s(),r=(0,n.CR)((0,o.useState)(0),2),t=r[0],a=r[1],c=(0,o.useCallback)((function(){e.current&&a(t+1)}),[t]);return[(0,o.useCallback)((function(){return i.ZP.postRender(c)}),[c]),t]}(),1),k=b[0],x=(0,o.useContext)(m.p).forceRender;x&&(k=x);var E=s(),j=function(e){var r=[];
1return o.Children.forEach(e,(function(e){(0,o.isValidElement)(e)&&r.push(e)})),r}(r),F=j,O=new Set,C=(0,o.useRef)(F),w=(0,o.useRef)(new Map).current,S=(0,o.useRef)(!0);if((0,c.L)((function(){S.current=!1,function(e,r){e.forEach((function(e){var t=g(e);r.set(t,e)}))}(j,w),C.current=F})),(0,y.z)((function(){S.current=!0,w.clear(),O.clear()})),S.current)return o.createElement(o.Fragment,null,F.map((function(e){return o.createElement(p,{key:g(e),isPresent:!0,initial:!!l&&void 0,presenceAffectsLayout:h},e)})));F=(0,n.ev)([],(0,n.CR)(F),!1);for(var A=C.current.map(g),R=j.map(g),I=A.length,N=0;N<I;N++){var $=A[N];-1===R.indexOf($)&&O.add($)}return d&&O.size&&(F=[]),O.forEach((function(e){if(-1===R.indexOf(e)){var r=w.get(e);if(r){var n=A.indexOf(e);F.splice(n,0,o.createElement(p,{key:g(r),isPresent:!1,onExitComplete:function(){w.delete(e),O.delete(e);var r=C.current.findIndex((function(r){return r.key===e}));if(C.current.splice(r,1),!O.size){if(C.current=j,!1===E.current)return;k(),f&&f()}},custom:t,presenceAffectsLayout:h},r))}}})),F=F.map((function(e){var r=e.key;return O.has(r)?e:o.createElement(p,{key:g(e),isPresent:!0,presenceAffectsLayout:h},e)})),"production"!==a.O&&d&&F.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),o.createElement(o.Fragment,null,O.size?F:F.map((function(e){return(0,o.cloneElement)(e)})))}}}]);
2//# sourceMappingURL=2167-c46303f14815df40782f.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.