PageSourceSearch

https://joinhandshake.com/_next/static/chunks/1554-160c721834b19a7e.js

js joinhandshake.com collected 2026-09-24 07:34:32 UTC 13,260 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1554,4302],{28133:(t,e,n)=>{"use strict";function i(t,e,n){return Math.min(Math.max(t,e),n)}function r(t){return"number"==typeof t&&!isNaN(t)}function o(t={}){let e,n,s,a,l=[],u=0,p=0,h=0,c=!1;function f(){w(e.selectedScrollSnap(),1)}function d(){c=!1}function g(){c=!1,u=0,p=0}function m(){let t=e.internalEngine().scrollBody.duration();p=+!t,c=!0,t||f()}function w(t,n){e.scrollSnapList().forEach((r,o)=>{let s=Math.abs(n),a=l[o],p=o===t,f=i(p?a+s:a-s,0,1);l[o]=f;let d=p&&c,g=e.previousScrollSnap();d&&(l[g]=1-f),p&&function(t,n){let{index:i,dragHandler:r,scrollSnaps:o}=e.internalEngine(),s=r.pointerDown(),a=1/(o.length-1),l=t,p=s?e.selectedScrollSnap():e.previousScrollSnap();if(s&&l===p){let t=-1*Math.sign(u);l=p,p=i.clone().set(p).add(t).get()}h=p*a+(l-p)*a*n}(t,f),function(t){let n=e.internalEngine().slideRegistry[t],{scrollSnaps:i,containerRect:r}=e.internalEngine(),o=l[t];n.forEach(n=>{let s=e.slideNodes()[n].style,a=parseFloat(o.toFixed(2)),l=a>0,u=function(t){let{axis:n}=e.internalEngine(),i=n.scroll.toUpperCase();return`translate${i}(${n.direction(t)}px)`}(l?i[t]:r.width+2);l&&(s.transform=u),s.opacity=a.toString(),s.pointerEvents=o>.5?"auto":"none",l||(s.transform=u)})}(o)})}function y(){let{dragHandler:t,index:n,scrollBody:i}=e.internalEngine(),r=e.selectedScrollSnap();if(!t.pointerDown())return r;let o=Math.sign(i.velocity()),s=Math.sign(u),a=n.clone().set(r).add(-1*o).get();return o&&s?s===o?a:r:null}function O(){let{target:t,location:i}=e.internalEngine(),o=Math.abs(t.get()-i.get())>=1,s=y(),a=!r(s);return!function(t){let{dragHandler:i,scrollBody:o}=t.internalEngine(),s=i.pointerDown(),a=o.velocity(),h=o.duration(),c=y(),f=!r(c);if(s){if(!a)return;u+=a,p=Math.abs(a/n);let{scrollSnaps:t,location:i,target:o}=e.internalEngine();r(c)&&!(l[c]<.5)&&(i.set(t[c]),o.set(i))}if(!s){if(!h||f)return;p+=(1-l[c])/h,p*=.68}f||w(c,p)}(e),!a&&!o&&l[s]>.999}function b(){return h}return{name:"fade",options:t,init:function(t){let r=(e=t).selectedScrollSnap(),{scrollBody:o,containerRect:u,axis:p}=e.internalEngine();n=i(.75*p.measureSize(u),200,500),c=!1,l=e.scrollSnapList().map((t,e)=>+(e===r)),s=o.settled,a=e.scrollProgress,o.settled=O,e.scrollProgress=b,e.on("select",m).on("slideFocus",f).on("pointerDown",g).on("pointerUp",d),function(){let{translate:t,slideLooper:n}=e.internalEngine();t.clear(),t.toggleActive(!1),n.loopPoints.forEach(({translate:t})=>{t.clear(),t.toggleActive(!1)})}(),f()},destroy:function(){let{scrollBody:t}=e.internalEngine();t.settled=s,e.scrollProgress=a,e.off("select",m).off("slideFocus",f).off("pointerDown",g).off("pointerUp",d),e.slideNodes().forEach(t=>{let e=t.style;e.opacity="",e.transform="",e.pointerEvents="",t.getAttribute("style")||t.removeAttribute("style")})}}}n.d(e,{A:()=>o}),o.globalOptions=void 0},30535:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useRouter",{enumerable:!0,get:function(){return o}});let i=n(55729),r=n(11828);function o(){return(0,i.useContext)(r.RouterContext)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},34732:(t,e,n)=>{"use strict";n.d(e,{I:()=>s});var i=n(91590),r=n(10481),o=n(55729);function s(){i.r.current||(0,r.Uu)();let[t]=(0,o.useState)(i.O.current);return t}},48535:(t,e,n)=>{t.exports=n(30535)},62273:(t,e,n)=>{"use strict";let i;n.d(e,{OX:()=>c});let r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let s=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],a=["clip","crop","fill","fillmax","max","scale","min"],l=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"];function p(t){let{apiHost:e,projectId:n,dataset:i}=t,r={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=t.resource??t["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "resource"');return{...r,mediaLibraryId:o.id}}if(o?.type==="canvas"){if("string"!=typeof o.id||0===o.id.length)throw Error('Canvas clients must include an id in "resource"');return{...r,canvasId:o.id}}if(o?.type==="dataset"){if("string"!=typeof o.id||0===o.id.length)throw Error('Dataset clients must include an id in "resource"');let[t,e]=o.id.split(".");if(!t||!e)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+o.id);return{...r,projectId:t,dataset:e}}return{...r,projectId:n,dataset:i}}function h(t){return t&&"config"in t&&"function"==typeof t.config?p(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?p(t.clientConfig):t||{}}function c(t){return new f(null,h(t))}class f{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new f(this,function(t,e){let n=e.baseUrl||t.baseUrl,i={baseUrl:n};for(let t in e)e.hasOwnProperty(t)&&(i[function(t){for(let e of s){let[n,i]=e;if(t===n||t===i)return n}return t}(t)]=e[t]);return{baseUrl:n,...i}}(this.options,t))}image(t){return this.withOptions({source:t})}dataset(t){return this.withOptions({dataset:t})}projectId(t){return this.withOptions({projectId:t})}withClient(t){let e=h(t),n={...this.options};return delete n.baseUrl,delete n.projectId,delete n.dataset,delete n.mediaLibraryId,delete n.canvasId,new f(null,{...e,...n})}bg(t){return this.withOptions({bg:t})}dpr(t){return this.withOptions(t&&1!==t?{dpr:t}:{})}width(t){return this.withOptions({width:t})}height(t){return this.withOptions({height:t})}focalPoint(t,e){return this.withOptions({focalPoint:{x:t,y:e}})}maxWidth(t){return this.withOptions({maxWidth:t})}minWidth(t){return this.withOptions({minWidth:t})}maxHeight(t){return this.withOptions({maxHeight:t})}minHeight(t){return this.withOptions({minHeight:t})}size(t,e){return this.withOptions({width:t,height:e})}blur(t){return this.withOptions({blur:t})}
1sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,n,i){return this.withOptions({rect:{left:t,top:e,width:n,height:i}})}format(t){return this.withOptions({format:t})}invert(t){return this.withOptions({invert:t})}orientation(t){return this.withOptions({orientation:t})}quality(t){return this.withOptions({quality:t})}forceDownload(t){return this.withOptions({download:t})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(t){if(-1===a.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===l.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===u.indexOf(t))throw Error(`Invalid auto mode "${t}"`);return this.withOptions({auto:t})}pad(t){return this.withOptions({pad:t})}vanityName(t){return this.withOptions({vanityName:t})}frame(t){if(1!==t)throw Error(`Invalid frame value "${t}"`);return this.withOptions({frame:t})}url(){return function(t){let e={...t||{}},n=e.source;delete e.source;let i=function(t){var e;let n;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))n={asset:{_ref:o(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:o(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n={...t}}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;let e={...t};return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(n)}(n);if(!i){if(n&&"object"==typeof n&&null!==n&&n._upload&&(!n.asset||!n.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(n)})`)}let a=function(t){let[,e,n,i]=t.split("-");if(!e||!n||!i)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${r}".`);let[o,s]=n.split("x"),a=+o,l=+s;if(!(isFinite(a)&&isFinite(l)))throw Error(`Malformed asset _ref '${t}'. Expected an id like "${r}".`);return{id:e,width:a,height:l,format:i}}(i.asset._ref||i.asset._id||""),l=Math.round(i.crop.left*a.width),u=Math.round(i.crop.top*a.height),p={left:l,top:u,width:Math.round(a.width-i.crop.right*a.width-l),height:Math.round(a.height-i.crop.bottom*a.height-u)},h=i.hotspot.height*a.height/2,c=i.hotspot.width*a.width/2,f=i.hotspot.x*a.width,d=i.hotspot.y*a.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...function(t,e){let n,i=e.width,r=e.height;if(!(i&&r))return{width:i,height:r,rect:t.crop};let o=t.crop,s=t.hotspot,a=i/r;if(o.width/o.height>a){let t=Math.round(o.height),e=Math.round(t*a),i=Math.max(0,Math.round(o.top)),r=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-e/2));r<o.left?r=o.left:r+e>o.left+o.width&&(r=o.left+o.width-e),n={left:r,top:i,width:e,height:t}}else{let t=o.width,e=Math.round(t/a),i=Math.max(0,Math.round(o.left)),r=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-e/2));r<o.top?r=o.top:r+e>o.top+o.height&&(r=o.top+o.height-e),n={left:i,top:r,width:t,height:e}}return{width:i,height:r,rect:n}}({crop:p,hotspot:{left:f-c,top:d-h,right:f+c,bottom:d+h}},e)}),function(t){let e,n=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),i=t.vanityName?`/${t.vanityName}`:"",r=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${i}`;e=t.mediaLibraryId?`${n}/media-libraries/${t.mediaLibraryId}/images/${r}`:t.canvasId?`${n}/images/canvases/${t.canvasId}/${r}`:`${n}/images/${t.projectId}/${t.dataset}/${r}`;let o=[];if(t.rect){let{left:e,top:n,width:i,height:r}=t.rect;(0!==e||0!==n||r!==t.asset.height||i!==t.asset.width)&&o.push(`rect=${e},${n},${i},${r}`)}t.bg&&o.push(`bg=${t.bg}`),t.focalPoint&&(o.push(`fp-x=${t.focalPoint.x}`),o.push(`fp-y=${t.focalPoint.y}`));
1let a=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return a&&o.push(`flip=${a}`),s.forEach(e=>{let[n,i]=e;"u">typeof t[n]?o.push(`${i}=${encodeURIComponent(t[n])}`):"u">typeof t[i]&&o.push(`${i}=${encodeURIComponent(t[i])}`)}),0===o.length?e:`${e}?${o.join("&")}`}({...e,asset:a})}(this.options)}toString(){return this.url()}}i=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],(...t)=>{console.warn(i.join(" "),...t)}},98465:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});let i={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function r(t={}){let e,n,o,s,a=null,l=0,u=!1,p=!1,h=!1,c=!1;function f(){if(!o){if(m()){h=!0;return}u||n.emit("autoplay:play");let{ownerWindow:t}=n.internalEngine();t.clearTimeout(l),l=t.setTimeout(E,s[n.selectedScrollSnap()]),a=new Date().getTime(),n.emit("autoplay:timerset"),u=!0}}function d(){if(!o){u&&n.emit("autoplay:stop");let{ownerWindow:t}=n.internalEngine();t.clearTimeout(l),l=0,a=null,n.emit("autoplay:timerstopped"),u=!1}}function g(){if(m())return h=u,d();h&&f()}function m(){let{ownerDocument:t}=n.internalEngine();return"hidden"===t.visibilityState}function w(){p||d()}function y(){p||f()}function O(){p=!0,d()}function b(){p=!1,f()}function E(){let{index:t}=n.internalEngine(),i=t.clone().add(1).get(),r=n.scrollSnapList().length-1,o=e.stopOnLastSnap&&i===r;if(n.canScrollNext()?n.scrollNext(c):n.scrollTo(0,c),n.emit("autoplay:select"),o)return d();f()}return{name:"autoplay",options:t,init:function(a,l){n=a;let{mergeOptions:u,optionsAtMedia:p}=l,h=u(i,r.globalOptions);if(e=p(u(h,t)),n.scrollSnapList().length<=1)return;c=e.jump,o=!1,s=function(t,e){let n=t.scrollSnapList();return"number"==typeof e?n.map(()=>e):e(n,t)}(n,e.delay);let{eventStore:m,ownerDocument:E}=n.internalEngine(),$=!!n.internalEngine().options.watchDrag,v=function(t,e){let n=t.rootNode();return e&&e(n)||n}(n,e.rootNode);m.add(E,"visibilitychange",g),$&&n.on("pointerDown",w),$&&!e.stopOnInteraction&&n.on("pointerUp",y),e.stopOnMouseEnter&&m.add(v,"mouseenter",O),e.stopOnMouseEnter&&!e.stopOnInteraction&&m.add(v,"mouseleave",b),e.stopOnFocusIn&&n.on("slideFocusStart",d),e.stopOnFocusIn&&!e.stopOnInteraction&&m.add(n.containerNode(),"focusout",f),e.playOnInit&&f()},destroy:function(){n.off("pointerDown",w).off("pointerUp",y).off("slideFocusStart",d),d(),o=!0,u=!1},play:function(t){void 0!==t&&(c=t),f()},stop:function(){u&&d()},reset:function(){u&&f()},isPlaying:function(){return u},timeUntilNext:function(){return a?s[n.selectedScrollSnap()]-(new Date().getTime()-a):null}}}r.globalOptions=void 0}}]);

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.