PageSourceSearch

https://canyoncoffee.co/_next/static/chunks/175047c77eec29e9.js?dpl=dpl_8TdWP9YrPF9MYKLgu6wMgsJVyjY2

js canyoncoffee.co collected 2026-10-03 19:56:38 UTC 40,129 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,203948,e=>{"use strict";e.i(179482);var t=e.i(220610),n=e.i(948156),r=e.i(121710),o=e.i(821229),i=e.i(532350),u=e.i(189651),a=e.i(82075),s=n,l=e.i(724730);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,o=this.props.sizeRef.current;o.height=t.offsetHeight||0,o.width=t.offsetWidth||0,o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:r,anchorX:o,anchorY:i,root:u}){let a=(0,s.useId)(),d=(0,s.useRef)(null),p=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:h}=(0,s.useContext)(l.MotionConfigContext),m=function(...e){return n.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=c(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():c(e[t],null)}}}}(...e),e)}(d,e.props?.ref??e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:s,right:l,bottom:c}=p.current;if(r||!d.current||!e||!t)return;let f="left"===o?`left: ${s}`:`right: ${l}`,m="bottom"===i?`bottom: ${c}`:`top: ${n}`;d.current.dataset.motionPopId=a;let v=document.createElement("style");h&&(v.nonce=h);let y=u??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(`
2          [data-motion-pop-id="${a}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${f}px !important;
7            ${m}px !important;
8          }
9        `),()=>{y.contains(v)&&y.removeChild(v)}},[r]),(0,t.jsx)(f,{isPresent:r,childRef:d,sizeRef:p,children:s.cloneElement(e,{ref:m})})}let p=({children:e,initial:r,isPresent:i,onExitComplete:a,custom:s,presenceAffectsLayout:l,mode:c,anchorX:f,anchorY:p,root:m})=>{let v=(0,o.useConstant)(h),y=(0,n.useId)(),g=!0,b=(0,n.useMemo)(()=>(g=!1,{id:y,initial:r,isPresent:i,custom:s,onExitComplete:e=>
9{for(let t of(v.set(e,!0),v.values()))if(!t)return;a&&a()},register:e=>(v.set(e,!1),()=>v.delete(e))}),[i,v,a]);return l&&g&&(b={...b}),(0,n.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[i]),n.useEffect(()=>{i||v.size||!a||a()},[i]),"popLayout"===c&&(e=(0,t.jsx)(d,{isPresent:i,anchorX:f,anchorY:p,root:m,children:e})),(0,t.jsx)(u.PresenceContext.Provider,{value:b,children:e})};function h(){return new Map}var m=e.i(418764);let v=e=>e.key||"";function y(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:u,initial:a=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:f=!1,anchorX:d="left",anchorY:h="top",root:g})=>{let[b,x]=(0,m.usePresence)(f),w=(0,n.useMemo)(()=>y(e),[e]),k=f&&!b?[]:w.map(v),O=(0,n.useRef)(!0),E=(0,n.useRef)(w),I=(0,o.useConstant)(()=>new Map),_=(0,n.useRef)(new Set),[A,M]=(0,n.useState)(w),[S,T]=(0,n.useState)(w);(0,i.useIsomorphicLayoutEffect)(()=>{O.current=!1,E.current=w;for(let e=0;e<S.length;e++){let t=v(S[e]);k.includes(t)?(I.delete(t),_.current.delete(t)):!0!==I.get(t)&&I.set(t,!1)}},[S,k.length,k.join("-")]);let C=[];if(w!==A){let e=[...w];for(let t=0;t<S.length;t++){let n=S[t],r=v(n);k.includes(r)||(e.splice(t,0,n),C.push(n))}return"wait"===c&&C.length&&(e=C),T(y(e)),M(w),null}let{forceRender:N}=(0,n.useContext)(r.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:S.map(e=>{let n=v(e),r=(!f||!!b)&&(w===S||k.includes(n));return(0,t.jsx)(p,{isPresent:r,initial:(!O.current||!!a)&&void 0,custom:u,presenceAffectsLayout:l,mode:c,root:g,onExitComplete:r?void 0:()=>{if(_.current.has(n)||(_.current.add(n),!I.has(n)))return;I.set(n,!0);let e=!0;I.forEach(t=>{t||(e=!1)}),e&&(N?.(),T(E.current),f&&x?.(),s&&s())},anchorX:d,anchorY:h,children:e},n)})})};e.s(["AnimatePresence",()=>g],203948)},995477,e=>{"use strict";var t;let n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let o=[["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"]],i=["clip","crop","fill","fillmax","max","scale","min"],u=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"];function s(e){let{apiHost:t,projectId:n,dataset:r}=e,o={baseUrl:(t||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},i=e["~experimental_resource"];if(i?.type==="media-library"){if("string"!=typeof i.id||0===i.id.length)throw Error('Media library clients must include an id in "~experimental_resource"');return{...o,mediaLibraryId:i.id}}return{...o,projectId:n,dataset:r}}function l(e){return e&&"config"in e&&"function"==typeof e.config?s(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?s(e.clientConfig):e||{}}function c(e){return new f(null,l(e))}class f{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(e){return new f(this,function(e,t){let n=t.baseUrl||e.baseUrl,r={baseUrl:n};for(let e in t)t.hasOwnProperty(e)&&(r[function(e){for(let t of o){let[n,r]=t;if(e===n||e===r)return n}return e}(e)]=t[e]);return{baseUrl:n,...r}}(this.options,e))}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){let t=l(e),n={...this.options};return delete n.baseUrl,delete n.projectId,delete n.dataset,delete n.mediaLibraryId,new f(null,{...t,...n})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&1!==e?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}
9sharpen(e){return this.withOptions({sharpen:e})}rect(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(-1===i.indexOf(e))throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(-1===u.indexOf(e))throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(-1===a.indexOf(e))throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(1!==e)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return function(e){let t={...e||{}},i=t.source;delete t.source;let u=function(e){var t;let n;if(!e)return null;if("string"==typeof e&&(t=e,/^https?:\/\//.test(`${t}`)))n={asset:{_ref:r(e)}};else if("string"==typeof e)n={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)n={asset:e};else if(e&&"string"==typeof e._id)n={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)n={asset:{_ref:r(e.asset.url)}};else{if("object"!=typeof e.asset)return null;n={...e}}return e.crop&&(n.crop=e.crop),e.hotspot&&(n.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;let t={...e};return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(n)}(i);if(!u){if(i&&"object"==typeof i&&null!==i&&i._upload&&(!i.asset||!i.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(i)})`)}let a=function(e){let[,t,r,o]=e.split("-");if(!t||!r||!o)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${n}".`);let[i,u]=r.split("x"),a=+i,s=+u;if(!(isFinite(a)&&isFinite(s)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${n}".`);return{id:t,width:a,height:s,format:o}}(u.asset._ref||u.asset._id||""),s=Math.round(u.crop.left*a.width),l=Math.round(u.crop.top*a.height),c={left:s,top:l,width:Math.round(a.width-u.crop.right*a.width-s),height:Math.round(a.height-u.crop.bottom*a.height-l)},f=u.hotspot.height*a.height/2,d=u.hotspot.width*a.width/2,p=u.hotspot.x*a.width,h=u.hotspot.y*a.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let n,r=t.width,o=t.height;if(!(r&&o))return{width:r,height:o,rect:e.crop};let i=e.crop,u=e.hotspot,a=r/o;if(i.width/i.height>a){let e=Math.round(i.height),t=Math.round(e*a),r=Math.max(0,Math.round(i.top)),o=Math.max(0,Math.round(Math.round((u.right-u.left)/2+u.left)-t/2));o<i.left?o=i.left:o+t>i.left+i.width&&(o=i.left+i.width-t),n={left:o,top:r,width:t,height:e}}else{let e=i.width,t=Math.round(e/a),r=Math.max(0,Math.round(i.left)),o=Math.max(0,Math.round(Math.round((u.bottom-u.top)/2+u.top)-t/2));o<i.top?o=i.top:o+t>i.top+i.height&&(o=i.top+i.height-t),n={left:r,top:o,width:e,height:t}}return{width:r,height:o,rect:n}}({crop:c,hotspot:{left:p-d,top:h-f,right:p+d,bottom:h+f}},t)}),function(e){let t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=e.vanityName?`/${e.vanityName}`:"",r=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${n}`,i=e.mediaLibraryId?`${t}/media-libraries/${e.mediaLibraryId}/images/${r}`:`${t}/images/${e.projectId}/${e.dataset}/${r}`,u=[];if(e.rect){let{left:t,top:n,width:r,height:o}=e.rect;(0!==t||0!==n||o!==e.asset.height||r!==e.asset.width)&&u.push(`rect=${t},${n},${r},${o}`)}e.bg&&u.push(`bg=${e.bg}`),e.focalPoint&&(u.push(`fp-x=${e.focalPoint.x}`),u.push(`fp-y=${e.focalPoint.y}`));
9let a=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return a&&u.push(`flip=${a}`),o.forEach(t=>{let[n,r]=t;"u">typeof e[n]?u.push(`${r}=${encodeURIComponent(e[n])}`):"u">typeof e[r]&&u.push(`${r}=${encodeURIComponent(e[r])}`)}),0===u.length?i:`${i}?${u.join("&")}`}({...t,asset:a})}(this.options)}toString(){return this.url()}}t=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],e.s(["createImageUrlBuilder",()=>c])},645251,542208,e=>{"use strict";var t=e.i(220610);function n(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function r(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function o(e){return r(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function i(e){return"@list"===e._type}function u(e){return"@span"===e._type}function a(e){return"@text"===e._type}let s=["strong","em","code","underline","strike-through"];function l(e,t,r){if(!n(e)||!e.marks||!e.marks.length)return[];let o=e.marks.slice(),i={};return o.forEach(e=>{i[e]=1;for(let o=t+1;o<r.length;o++){let t=r[o];if(t&&n(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))i[e]++;else break}}),o.sort((e,t)=>(function(e,t,n){let r=e[t],o=e[n];if(r!==o)return o-r;let i=s.indexOf(t),u=s.indexOf(n);return i===u?t.localeCompare(n):i-u})(i,e,t))}function c(e){let{children:t}=e,r=e.markDefs??[];if(!t||!t.length)return[];let o=t.map(l),i={_type:"@span",children:[],markType:"<unknown>"},u=[i];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let a=o[e]||[],s=1;if(u.length>1)for(;s<u.length;s++){let e=u[s]?.markKey||"",t=a.indexOf(e);if(-1===t)break;a.splice(t,1)}let l=(u=u.slice(0,s))[u.length-1];if(l){for(let e of a){let t=r?.find(t=>t._key===e),n={_type:"@span",_key:i._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};l.children.push(n),u.push(n),l=n}if(n(i)){let e=i.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");l.children=l.children.concat(e.map(e=>({_type:"@text",text:e})))}else l.children=l.children.concat(i)}}return i.children}function f(e,t){let n=[],r;for(let a=0;a<e.length;a++){let s=e[a];if(s){var i,u;if(!o(s)){n.push(s),r=void 0;continue}if(!r){r=d(s,a,t),n.push(r);continue}if(i=s,u=r,(i.level||1)===u.level&&i.listItem===u.listItem){r.children.push(s);continue}if((s.level||1)>r.level){let e=d(s,a,t);if("html"===t){let t=r.children[r.children.length-1],n={...t,children:[...t.children,e]};r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((s.level||1)<r.level){let e=n[n.length-1],o=e&&p(e,s);if(o){(r=o).children.push(s);continue}r=d(s,a,t),n.push(r);continue}if(s.listItem!==r.listItem){let e=n[n.length-1],o=e&&p(e,{level:s.level||1});if(o&&o.listItem===s.listItem){(r=o).children.push(s);continue}r=d(s,a,t),n.push(r);continue}console.warn("Unknown state encountered for block",s),n.push(s)}}return n}function d(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function p(e,t){let r=t.level||1,o=t.listItem||"normal",u="string"==typeof t.listItem;if(i(e)&&(e.level||1)===r&&u&&(e.listItem||"normal")===o)return e;if(!("children"in e))return;let a=e.children[e.children.length-1];return a&&!n(a)?p(a,t):void 0}function h(e){let t="";return e.children.forEach(e=>{a(e)?t+=e.text:u(e)&&(t+=h(e))}),t}let m=/^\s/,v=/\s$/;function y(e){let t=Array.isArray(e)?e:[e],o="";return t.forEach((e,i)=>{if(!r(e))return;let u=!1;e.children.forEach(e=>{n(e)?(o+=u&&o&&!v.test(o)&&!m.test(e.text)?" ":"",o+=e.text,u=!1):u=!0}),i!==t.length-1&&(o+="\n\n")}),o}let g="html";e.s(["LIST_NEST_MODE_HTML",()=>g,"buildMarksTree",()=>c,"isPortableTextBlock",()=>r,"isPortableTextListItemBlock",()=>o,"isPortableTextToolkitList",()=>i,"isPortableTextToolkitSpan",()=>u,"isPortableTextToolkitTextNode",()=>a,"nestLists",()=>f,"spanToPlainText",()=>h,"toPlainText",()=>y],542208);var b=e.i(948156);let x={textDecoration:"underline"},w=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,k=e=>w(`block type "${e}"`,"types");function O(e){console.warn(e)}let E={display:"none"},I={types:{},block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,t.jsx)("h1",{children:e}),h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),h5:({children:e})=>(0,t.jsx)("h5",{children:e}),h6:({children:e})=>(0,t.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,t.jsx)("em",{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),underline:({children:e})=>(0,t.jsx)("span",{style:x,children:e}),"strike-through":({children:e})=>(0,t.jsx)("del",{children:e}),link:({children:e,value:n})=>(0,t.jsx)("a",{href:n?.href,children:e})},list:{number:({children:e})=>(0,t.jsx)("ol",{children:e}),bullet:({children:e})=>(0,t.jsx)("ul",{children:e})},listItem:({children:e})=>(0,t.jsx)("li",{children:e}),hardBreak:()=>(0,t.jsx)("br",{}),unknownType:({value:e,isInline:n})=>{let r=k(e._type);
9return(0,t.jsx)(n?"span":"div",{style:E,children:r})},unknownMark:({markType:e,children:n})=>(0,t.jsx)("span",{className:`unknown__pt__mark__${e}`,children:n}),unknownList:({children:e})=>(0,t.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,t.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,t.jsx)("p",{children:e})};function _(e,t,n){let r=t[n],o=e[n];return"function"==typeof r||r&&"function"==typeof o?r:r?{...o,...r}:o}function A({value:e,components:n,listNestingMode:r,onMissingComponent:o=O}){let i=o||T,u=f(Array.isArray(e)?e:[e],r||g),a=(0,b.useMemo)(()=>n?function(e,t){let{block:n,list:r,listItem:o,marks:i,types:u,...a}=t;return{...e,block:_(e,t,"block"),list:_(e,t,"list"),listItem:_(e,t,"listItem"),marks:_(e,t,"marks"),types:_(e,t,"types"),...a}}(I,n):I,[n]),s=(0,b.useMemo)(()=>M(a,i),[a,i]);return(0,t.jsx)(t.Fragment,{children:u.map((e,t)=>s({node:e,index:t,isInline:!1,renderNode:s}))})}let M=(e,n)=>function s(l){var c,f,d,p,m,v,y,g;let b,x,{node:O,index:E,isInline:I}=l,_=O._key||`node-${E}`;return i(O)?function(r,o,i){let u=r.children.map((e,t)=>s({node:e._key?e:{...e,_key:`li-${o}-${t}`},index:t,isInline:!1,renderNode:s})),a=e.list,l=("function"==typeof a?a:a[r.listItem])||e.unknownList;if(l===e.unknownList){let e=r.listItem||"bullet";n(w(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(l,{value:r,index:o,isInline:!1,renderNode:s,children:u},i)}(O,E,_):o(O)?function(r,o,i){let u=S({node:r,index:o,isInline:!1,renderNode:s}),a=e.listItem,l=("function"==typeof a?a:a[r.listItem])||e.unknownListItem;if(l===e.unknownListItem){let e=r.listItem||"bullet";n(w(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let c=u.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;c=s({node:t,index:o,isInline:!1,renderNode:s})}return(0,t.jsx)(l,{value:r,index:o,isInline:!1,renderNode:s,children:c},i)}(O,E,_):u(O)?function(r,o,i){let{markDef:u,markType:a,markKey:l}=r,c=e.marks[a]||e.unknownMark,f=r.children.map((e,t)=>s({node:e,index:t,isInline:!0,renderNode:s}));return c===e.unknownMark&&n(w(`mark type "${a}"`,"marks"),{nodeType:"mark",type:a}),(0,t.jsx)(c,{text:h(r),value:u,markType:a,markKey:l,renderNode:s,children:f},i)}(O,0,_):O._type in e.types?(c=O,f=E,d=_,p=I,(b=e.types[c._type])?(0,t.jsx)(b,{value:c,isInline:p,index:f,renderNode:s},d):null):r(O)?function(r,o,i,u){let{_key:a,...l}=S({node:r,index:o,isInline:u,renderNode:s}),c=l.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[c])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&n(w(`block style "${c}"`,"block"),{nodeType:"blockStyle",type:c}),(0,t.jsx)(f,{...l,value:l.node,renderNode:s},i)}(O,E,_,I):a(O)?function(n,r){if("\n"===n.text){let n=e.hardBreak;return n?(0,t.jsx)(n,{},r):"\n"}return n.text}(O,_):(m=O,v=E,y=_,g=I,n(k(m._type),{nodeType:"block",type:m._type}),x=e.unknownType,(0,t.jsx)(x,{value:m,isInline:g,index:v,renderNode:s},y))};function S(e){let{node:t,index:n,isInline:r,renderNode:o}=e,i=c(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${n}`,children:i,index:n,isInline:r,node:t}}function T(){}e.s(["PortableText",()=>A],645251)},745468,e=>{"use strict";var t=e.i(948156).useLayoutEffect;e.s(["default",()=>t])},511334,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t])},605794,e=>{"use strict";var t=e.i(948156);function n(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var r="u">typeof window?t.useLayoutEffect:t.useEffect,o=new WeakMap;function i(e,i){var u,a,s,l=(u=i||null,a=function(t){return e.forEach(function(e){return n(e,t)})},(s=(0,t.useState)(function(){return{value:u,callback:a,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=a,s.facade);return r(function(){var t=o.get(l);if(t){var r=new Set(t),i=new Set(e),u=l.current;r.forEach(function(e){i.has(e)||n(e,null)}),i.forEach(function(e){r.has(e)||n(e,u)})}o.set(l,e)},[e]),l}e.s(["useMergeRefs",()=>i],605794)},537982,e=>{"use strict";var t=e.i(824627);function n(e){return e}function r(e,t){void 0===t&&(t=n);var r=[],o=!1;return{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var n=t(e,o);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
9r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),r={push:function(e){t.push(e),u()},filter:function(e){return t=t.filter(e),r}}}}}function o(e,t){return void 0===t&&(t=n),r(e,t)}function i(e){void 0===e&&(e={});var n=r(null);return n.options=(0,t.__assign)({async:!0,ssr:!1},e),n}e.s(["createMedium",()=>o,"createSidecarMedium",()=>i])},202768,e=>{"use strict";e.s(["FOCUS_ALLOW",()=>"data-no-focus-lock","FOCUS_AUTO",()=>"data-autofocus-inside","FOCUS_DISABLED",()=>"data-focus-lock-disabled","FOCUS_GROUP",()=>"data-focus-lock","FOCUS_NO_AUTOFOCUS",()=>"data-no-autofocus"])},324100,e=>{"use strict";var t=e.i(948156),n={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},r=function(e){var r=e.children,o=void 0===r?null:r;return t.default.createElement(t.Fragment,null,t.default.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:n}),o,o&&t.default.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:n}))};r.propTypes={},e.s(["default",0,r,"hiddenGuard",()=>n])},825777,466767,893815,e=>{"use strict";e.i(179482);var t=e.i(511334),n=e.i(948156),r=e.i(202768),o=e.i(605794),i=e.i(324100),u=e.i(537982),a=(0,u.createMedium)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),s=(0,u.createMedium)(),l=(0,u.createMedium)(),c=(0,u.createSidecarMedium)({async:!0,ssr:"u">typeof document});e.s(["mediumBlur",()=>s,"mediumEffect",()=>l,"mediumFocus",()=>a,"mediumSidecar",()=>c],466767);var f=(0,n.createContext)(void 0);e.s(["focusScope",()=>f],893815);var d=[],p=(0,n.forwardRef)(function(e,u){var l,p=(0,n.useState)(),h=p[0],m=p[1],v=(0,n.useRef)(),y=(0,n.useRef)(!1),g=(0,n.useRef)(null),b=(0,n.useState)({})[1],x=e.children,w=e.disabled,k=void 0!==w&&w,O=e.noFocusGuards,E=void 0!==O&&O,I=e.persistentFocus,_=e.crossFrame,A=e.autoFocus,M=(e.allowTextSelection,e.group),S=e.className,T=e.whiteList,C=e.hasPositiveIndices,N=e.shards,$=void 0===N?d:N,j=e.as,F=e.lockProps,P=e.sideCar,U=e.returnFocus,L=void 0!==U&&U,R=e.focusOptions,D=e.onActivation,B=e.onDeactivation,H=(0,n.useState)({})[0],G=(0,n.useCallback)(function(e){var t=e.captureFocusRestore;if(!g.current){var n,r=null==(n=document)?void 0:n.activeElement;g.current=r,r!==document.body&&(g.current=t(r))}v.current&&D&&D(v.current),y.current=!0,b()},[D]),W=(0,n.useCallback)(function(){y.current=!1,B&&B(v.current),b()},[B]),q=(0,n.useCallback)(function(e){var t=g.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof L?L(n):L;if(r){var o="object"==typeof r?r:void 0;g.current=null,e?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[L]),V=(0,n.useCallback)(function(e){y.current&&a.useMedium(e)},[]),z=s.useMedium,K=(0,n.useCallback)(function(e){v.current!==e&&(v.current=e,m(e))},[]),Y=(0,t.default)(((l={})[r.FOCUS_DISABLED]=k&&"disabled",l[r.FOCUS_GROUP]=M,l),void 0===F?{}:F),Q=!0!==E,X=Q&&"tail"!==E,J=(0,o.useMergeRefs)([u,K]),Z=(0,n.useMemo)(function(){return{observed:v,shards:$,enabled:!k,get active(){return y.current}}},[k,y,$,v]);return n.default.createElement(n.Fragment,null,Q&&[n.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:k?-1:0,style:i.hiddenGuard}),C?n.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:k?-1:1,style:i.hiddenGuard}):null],!k&&n.default.createElement(P,{id:H,sideCar:c,observed:h,disabled:k,persistentFocus:void 0!==I&&I,crossFrame:void 0===_||_,autoFocus:void 0===A||A,whiteList:T,shards:$,onActivation:G,onDeactivation:W,returnFocus:q,focusOptions:R,noFocusGuards:E}),n.default.createElement(void 0===j?"div":j,(0,t.default)({ref:J},Y,{className:S,onBlur:z,onFocus:V}),n.default.createElement(f.Provider,{value:Z},x)),X&&n.default.createElement("div",{"data-focus-guard":!0,tabIndex:k?-1:0,style:i.hiddenGuard}))});p.propTypes={},e.s(["default",0,p],825777)},258414,e=>{"use strict";function t(e){setTimeout(e,1)}var n=function(e,t){var n={};return n[e]=t,n},r=function(e){return e&&"current"in e?e.current:e};e.s(["deferAction",()=>t,"extractRef",()=>r,"inlineProp",()=>n])},122679,363537,399162,624977,133890,640404,24353,184026,996658,289057,174500,365017,959318,e=>{"use strict";function t(e,n){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e}
9)(e,n)}function n(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.i(179482),e.s(["default",()=>t],363537),e.s(["default",()=>n],399162),e.s(["default",()=>r],624977),e.s(["default",()=>o],133890),e.s(["default",()=>i],640404);var u=e.i(948156);e.s(["default",0,function(e,t){return function(r){var o,a=[];function s(){t(o=e(a.map(function(e){return e.props})))}var l=function(e){function t(){return e.apply(this,arguments)||this}n(t,e),t.peek=function(){return o};var i=t.prototype;return i.componentDidMount=function(){a.push(this),s()},i.componentDidUpdate=function(){s()},i.componentWillUnmount=function(){var e=a.indexOf(this);a.splice(e,1),s()},i.render=function(){return u.default.createElement(r,this.props)},t}(u.PureComponent);return i(l,"displayName","SideEffect("+(r.displayName||r.name||"Component")+")"),l}}],122679);var a=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},s=e.i(202768),l=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},c=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},f=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},d=function(e,t){var n,r,o=e.get(t);if(void 0!==o)return o;var i=(n=t,r=d.bind(void 0,e),!n||f(n)||!l(n)&&!n.hasAttribute("inert")&&r(c(n)));return e.set(t,i),i},p=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var o=(n=p.bind(void 0,e),!t||!!f(t)||!!y(t)&&n(c(t)));return e.set(t,o),o},h=function(e){return e.dataset},m=function(e){return"INPUT"===e.tagName},v=function(e){return m(e)&&"radio"===e.type},y=function(e){return![!0,"true",""].includes(e.getAttribute(s.FOCUS_NO_AUTOFOCUS))},g=function(e){var t;return!!(e&&(null==(t=h(e))?void 0:t.focusGuard))},b=function(e){return!g(e)},x=function(e){return!!e},w=function(e,t){if(v(e)&&e.name)return t.filter(v).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},k=function(e){var t=new Set;return e.forEach(function(n){return t.add(w(n,e))}),e.filter(function(e){return t.has(e)})},O=function(e){return e[0]&&e.length>1?w(e[0],e):e[0]},E=function(e,t){return e.indexOf(w(t,e))},I="NEW_FOCUS",_=function(e,t,n,r,o){var i=e.length,u=e[0],a=e[i-1],s=g(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?n.indexOf(r):-1,c=o?n.indexOf(o):l,f=o?e.indexOf(o):-1;if(-1===l)return -1!==f?f:I;if(-1===f)return I;var d=l-c,p=n.indexOf(u),h=n.indexOf(a),m=k(n),v=void 0!==r?m.indexOf(r):-1,y=o?m.indexOf(o):v,b=m.filter(function(e){return e.tabIndex>=0}),x=void 0!==r?b.indexOf(r):-1,w=o?b.indexOf(o):x;if(!d&&f>=0||0===t.length)return f;var O=E(e,t[0]),_=E(e,t[t.length-1]);if(l<=p&&s&&Math.abs(d)>1)return _;if(l>=h&&s&&Math.abs(d)>1)return O;if(d&&Math.abs(x>=0&&w>=0?w-x:y-v)>1)return f;if(l<=p)return _;if(l>h)return O;if(d)return Math.abs(d)>1?f:(i+f+d)%i}},A=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},M=function(e){return Array.isArray(e)?e:[e]},S=function(e){return Array.isArray(e)?e[0]:e},T=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||i},C=function(e,t,n){return A(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(T)},N="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",$="".concat(N,", [data-focus-guard]"),j=function(e,t){return A((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?$:N)?[n]:[],j(n))},[])},F=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?P([e.contentDocument.body],t):[e]},P=function(e,t){return e.reduce(function(e,n){var r,o=j(n,t),i=(r=[]).concat.apply(r,o.map(function(e){return F(e,t)}));return e.concat(i,n.parentNode?A(n.parentNode.querySelectorAll(N)).filter(function(e){return e===n}):[])},[])},U=function(e,t){return A(e).filter(function(e){return d(t,e)}).filter(function(e){var t;return!((m(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},L=function(e,t){return void 0===t&&(t=new Map),A(e).filter(function(e){return p(t,e)})},R=function(e,t,n){return C(U(P(e,n),t),!0,n)},D=function(e,t){return C(U(P(e),t),!1)},B=function(e,t){return U(A(e.querySelectorAll("[".concat(s.FOCUS_AUTO,"]"))).map(function(e){return P([e])}).reduce(function(e,t){return e.concat(t)},[]),t)},H=function(e,t){return e.shadowRoot?H(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||A(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&H(r,t)}return H(e,t)})};e.s(["contains",()=>H,"filterAutoFocusable",()=>L,"getFocusableNodes",()=>D,"getTabbableNodes",()=>R,"parentAutofocusables",()=>B],24353);var G=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},W=function(e){return e.parentNode?W(e.parentNode):e}
9,q=function(e){return M(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(s.FOCUS_GROUP);return e.push.apply(e,n?G(A(W(t).querySelectorAll("[".concat(s.FOCUS_GROUP,'="').concat(n,'"]:not([').concat(s.FOCUS_DISABLED,'="disabled"])')))):[t]),e},[])},V=function(e,t,n){var r=L(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=h(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?O(r):O(L(t))},z=function(e){try{return e()}catch(e){return}},K=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?K(t.shadowRoot):t instanceof HTMLIFrameElement&&z(function(){return t.contentWindow.document})?K(t.contentWindow.document):t}},Y=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&Y(e.parentNode.host||e.parentNode,t),t},Q=function(e,t){for(var n=Y(e),r=Y(t),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},X=function(e,t,n){var r=M(e),o=M(t),i=r[0],u=!1;return o.filter(Boolean).forEach(function(e){u=Q(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=Q(i,e);t&&(u=!u||H(t,u)?t:Q(t,u))})}),u},J=function(e,t){return e.reduce(function(e,n){return e.concat(B(n,t))},[])},Z=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(x)},ee=function(e,t){var n=K(M(e).length>0?document:S(e).ownerDocument),r=q(e).filter(b),o=X(n||e,e,r),i=new Map,u=D(r,i),a=u.filter(function(e){return b(e.node)});if(a[0]){var s=D([o],i).map(function(e){return e.node}),l=Z(s,a),c=l.map(function(e){return e.node}),f=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),d=_(c,f,s,n,t);if(d===I){var p=V(u,f,J(r,i))||V(u,c,J(r,i));return p?{node:p}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===d?d:l[d]}},et=0,en=!1,er=function(e,t,n){void 0===n&&(n={});var r=ee(e,t);if(!en&&r){if(et>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),en=!0,setTimeout(function(){en=!1},1);return}et++,a(r.node,n.focusOptions),et--}};e.s(["moveFocusInside",()=>er],184026);var eo=function(e,t){return void 0===t&&(t=K(S(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&q(e).some(function(e){var n;return H(e,t)||(n=t,!!A(e.querySelectorAll("iframe")).some(function(e){return e===n}))})};e.s(["focusInside",()=>eo],996658);var ei=function(e){void 0===e&&(e=document);var t=K(e);return!!t&&A(e.querySelectorAll("[".concat(s.FOCUS_ALLOW,"]"))).some(function(e){return H(e,t)})};e.s(["focusIsHidden",()=>ei],289057);var eu=function(e){var t=q(e).filter(b),n=C(P([X(e,e,t)],!0),!0,!0),r=P(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:g(t)}})};e.s(["expandFocusableNodes",()=>eu],174500);var ea=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=M(t);if(r.every(function(t){return!H(t,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?R(r,new Map):D(r,new Map),i=o.findIndex(function(t){return t.node===e});if(-1!==i)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},es=function(e,t){var n=t?R(M(e),new Map):D(M(e),new Map);return{first:n[0],last:n[n.length-1]}},el=function(e,t,n){void 0===t&&(t={});var r,o=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),i=ea(e,o.scope,o.onlyTabbable);if(i){var u=n(i,o.cycle);u&&a(u.node,o.focusOptions)}},ec=function(e,t){void 0===t&&(t={}),el(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},ef=function(e,t){void 0===t&&(t={}),el(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},ed=function(e,t,n){var r,o=es(e,null==(r=t.onlyTabbable)||r)[n];o&&a(o.node,t.focusOptions)},ep=function(e,t){void 0===t&&(t={}),ed(e,t,"first")},eh=function(e,t){void 0===t&&(t={}),ed(e,t,"last")};function em(e){if(!e)return null;if("u"<typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}e.s(["focusFirstElement",()=>
9ep,"focusLastElement",()=>eh,"focusNextElement",()=>ec,"focusPrevElement",()=>ef],365017);var ev=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:em(n),parent:em(n.parentElement),left:em(n.previousElementSibling),right:em(n.nextElementSibling)}),n=n.parentElement;return{element:em(e),stack:t,ownerDocument:e.ownerDocument}},ey=function(e){if(e)for(var t,n,r,o,i,u=e.stack,a=e.ownerDocument,s=new Map,l=0;l<u.length;l++){var c=u[l],f=null==(t=c.parent)?void 0:t.call(c);if(f&&a.contains(f)){for(var d=null==(n=c.left)?void 0:n.call(c),p=c.current(),h=f.contains(p)?p:void 0,m=null==(r=c.right)?void 0:r.call(c),v=R([f],s),y=null!=(i=null!=(o=null!=h?h:null==d?void 0:d.nextElementSibling)?o:m)?i:d;y;){for(var g=0;g<v.length;g++){var b=v[g];if(null==y?void 0:y.contains(b.node))return b.node}y=y.nextElementSibling}if(v.length)return v[0].node}}},eg=function(e){var t=ev(e);return function(){return ey(t)}};e.s(["captureFocusRestore",()=>eg],959318)},641909,e=>{"use strict";e.i(948156);var t=e.i(122679),n=e.i(184026),r=e.i(996658),o=e.i(289057),i=e.i(174500),u=e.i(24353),a=e.i(365017),s=e.i(959318),l=e.i(258414),c=e.i(466767),f=function(){return document&&document.activeElement===document.body},d=null,p=null,h=function(){return null},m=null,v=!1,y=!1,g=function(e,t){m={observerNode:e,portaledElement:t}};function b(e,t,n,r){var o=null,i=e;do{var u=r[i];if(u.guard)u.node.dataset.focusAutoGuard&&(o=u);else if(u.lockItem){if(i!==e)return;o=null}else break}while((i+=n)!==t)o&&(o.node.tabIndex=0)}var x=function(e){return(0,u.getFocusableNodes)(e,new Map)},w=function(){var e=!1;if(d){var t=d,u=t.observed,a=t.persistentFocus,c=t.autoFocus,g=t.shards,w=t.crossFrame,k=t.focusOptions,O=t.noFocusGuards,E=u||m&&m.portaledElement;if(f()&&p&&p!==document.body&&(!document.body.contains(p)||!x([(A=p).parentNode]).some(function(e){return e.node===A}))){var I=h();I&&I.focus()}var _=document&&document.activeElement;if(E){var A,M=[E].concat(g.map(l.extractRef).filter(Boolean));if((!_||(d.whiteList||function(){return!0})(_))&&(a||function(){if(!(w?!!v:"meanwhile"===v)||!O||!p||y)return!1;var e=x(M),t=e.findIndex(function(e){return e.node===p});return 0===t||t===e.length-1}()||!(f()||(0,o.focusIsHidden)())||!p&&c)&&(E&&!((0,r.focusInside)(M)||_&&M.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(_,e,e)})||m&&m.portaledElement===_)&&(document&&!p&&_&&!c?(_.blur&&_.blur(),document.body.focus()):(e=(0,n.moveFocusInside)(M,p,{focusOptions:k}),m={})),(p=document&&document.activeElement)!==document.body&&(h=(0,s.captureFocusRestore)(p)),v=!1),document&&_!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var S=document&&document.activeElement,T=(0,i.expandFocusableNodes)(M),C=T.map(function(e){return e.node}).indexOf(S);C>-1&&(T.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),b(C,T.length,1,T),b(C,-1,-1,T))}}}return e},k=function(e){w()&&e&&(e.stopPropagation(),e.preventDefault())},O=function(){return(0,l.deferAction)(w)},E=function(){y=!0},I=function(){y=!1,v="just",(0,l.deferAction)(function(){v="meanwhile"})},_=function(){document.addEventListener("focusin",k),document.addEventListener("focusout",O),window.addEventListener("focus",E),window.addEventListener("blur",I)},A=function(){document.removeEventListener("focusin",k),document.removeEventListener("focusout",O),window.removeEventListener("focus",E),window.removeEventListener("blur",I)},M={moveFocusInside:n.moveFocusInside,focusInside:r.focusInside,focusNextElement:a.focusNextElement,focusPrevElement:a.focusPrevElement,focusFirstElement:a.focusFirstElement,focusLastElement:a.focusLastElement,captureFocusRestore:s.captureFocusRestore};c.mediumFocus.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||g(n,t)}),c.mediumBlur.assignMedium(O),c.mediumEffect.assignMedium(function(e){return e(M)});let S=(0,t.default)(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!d&&_();var n=d,r=n&&t&&t.id===n.id;d=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(p=null,r&&n.observed===t.observed||t.onActivation(M),w(!0),(0,l.deferAction)(w)):(A(),p=null)})(function(){return null});e.s(["default",0,S])}]);

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.