PageSourceSearch

https://saabparts.com/_next/static/chunks/1291.8a07053474c39292.js

js saabparts.com collected 2026-10-02 11:32:52 UTC 25,544 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1291],{71291:(e,t,r)=>{let n;r.d(t,{i3:()=>tp,UC:()=>tf,ZL:()=>td,bL:()=>tl,l9:()=>ts});var o,a,i,c,u,l,s,d=r(36439),f=r(41375),p=r(24224),v=r(84138),h=r(48057),m=0;function g(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var y=r(57745),b=r(61109),w=r(2183),E="focusScope.autoFocusOnMount",x="focusScope.autoFocusOnUnmount",C={bubbles:!1,cancelable:!0},A=d.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[c,u]=d.useState(null),l=(0,b.c)(o),s=(0,b.c)(a),f=d.useRef(null),v=(0,p.s)(t,e=>u(e)),h=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let e=function(e){if(h.paused||!c)return;let t=e.target;c.contains(t)?f.current=t:P(f.current,{select:!0})},t=function(e){if(h.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||P(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&P(c)});return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,c,h.paused]),d.useEffect(()=>{if(c){N.add(h);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(E,C);c.addEventListener(E,l),c.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(P(n,{select:t}),document.activeElement!==r)return}(S(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&P(c))}return()=>{c.removeEventListener(E,l),setTimeout(()=>{let t=new CustomEvent(x,C);c.addEventListener(x,s),c.dispatchEvent(t),t.defaultPrevented||P(e??document.body,{select:!0}),c.removeEventListener(x,s),N.remove(h)},0)}}},[c,l,s,h]);let m=d.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var a;let t,n=e.currentTarget,[i,c]=[R(t=S(a=n),a),R(t.reverse(),a)];i&&c?e.shiftKey||o!==c?e.shiftKey&&o===i&&(e.preventDefault(),r&&P(c,{select:!0})):(e.preventDefault(),r&&P(i,{select:!0})):o===n&&e.preventDefault()}},[r,n,h.paused]);return(0,w.jsx)(y.sG.div,{tabIndex:-1,...i,ref:v,onKeyDown:m})});function S(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function R(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function P(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}A.displayName="FocusScope";var N=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=k(n,e)).unshift(e)},remove(e){n=k(n,e),n[0]?.resume()}});function k(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var j=r(35541),O=r(72121),M=r(15889),T=d.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,w.jsx)(y.sG.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,w.jsx)("polygon",{points:"0,0 30,0 15,10"})})});T.displayName="Arrow";var L=r(14107),F="Popper",[I,D]=(0,v.A)(F),[W,_]=I(F),B=e=>{let{__scopePopper:t,children:r}=e,[n,o]=d.useState(null);return(0,w.jsx)(W,{scope:t,anchor:n,onAnchorChange:o,children:r})};B.displayName=F;var K="PopperAnchor",Y=d.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,a=_(K,r),i=d.useRef(null),c=(0,p.s)(t,i),u=d.useRef(null);return d.useEffect(()=>{let e=u.current;u.current=n?.current||i.current,e!==u.current&&a.onAnchorChange(u.current)}),n?null:(0,w.jsx)(y.sG.div,{...o,ref:c})});Y.displayName=K;var $="PopperContent",[H,z]=I($),X=d.forwardRef((e,t)=>
1{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:s=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:m,...g}=e,E=_($,r),[x,C]=d.useState(null),A=(0,p.s)(t,e=>C(e)),[S,R]=d.useState(null),P=function(e){let[t,r]=d.useState(void 0);return(0,L.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(S),N=P?.width??0,k=P?.height??0,j="number"==typeof s?s:{top:0,right:0,bottom:0,left:0,...s},T=Array.isArray(l)?l:[l],F=T.length>0,I={padding:j,boundary:T.filter(q),altBoundary:F},{refs:D,floatingStyles:W,placement:B,isPositioned:K,middlewareData:Y}=(0,O.we)({strategy:"fixed",placement:n+("center"!==a?"-"+a:""),whileElementsMounted:(...e)=>(0,M.ll)(...e,{animationFrame:"always"===h}),elements:{reference:E.anchor},middleware:[(0,O.cY)({mainAxis:o+k,alignmentAxis:i}),u&&(0,O.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?(0,O.ER)():void 0,...I}),u&&(0,O.UU)({...I}),(0,O.Ej)({...I,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${r}px`),i.setProperty("--radix-popper-available-height",`${n}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),S&&(0,O.UE)({element:S,padding:c}),J({arrowWidth:N,arrowHeight:k}),v&&(0,O.jD)({strategy:"referenceHidden",...I})]}),[z,X]=Q(B),U=(0,b.c)(m);(0,L.N)(()=>{K&&U?.()},[K,U]);let G=Y.arrow?.x,Z=Y.arrow?.y,V=Y.arrow?.centerOffset!==0,[ee,et]=d.useState();return(0,L.N)(()=>{x&&et(window.getComputedStyle(x).zIndex)},[x]),(0,w.jsx)("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:K?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,w.jsx)(H,{scope:r,placedSide:z,onArrowChange:R,arrowX:G,arrowY:Z,shouldHideArrow:V,children:(0,w.jsx)(y.sG.div,{"data-side":z,"data-align":X,...g,ref:A,style:{...g.style,animation:K?void 0:"none"}})})})});X.displayName=$;var U="PopperArrow",G={top:"bottom",right:"left",bottom:"top",left:"right"},Z=d.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=z(U,r),a=G[o.placedSide];return(0,w.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,w.jsx)(T,{...n,ref:t,style:{...n.style,display:"block"}})})});function q(e){return null!==e}Z.displayName=U;var J=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,i=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,l]=Q(r),s={start:"0%",center:"50%",end:"100%"}[l],d=(o.arrow?.x??0)+i/2,f=(o.arrow?.y??0)+c/2,p="",v="";return"bottom"===u?(p=a?s:`${d}px`,v=`${-c}px`):"top"===u?(p=a?s:`${d}px`,v=`${n.floating.height+c}px`):"right"===u?(p=`${-c}px`,v=a?s:`${f}px`):"left"===u&&(p=`${n.floating.width+c}px`,v=a?s:`${f}px`),{data:{x:p,y:v}}}});function Q(e){let[t,r="center"]=e.split("-");return[t,r]}var V=r(72354),ee=d.forwardRef((e,t)=>{let{container:r,...n}=e,[o,a]=d.useState(!1);(0,L.N)(()=>a(!0),[]);let i=r||o&&globalThis?.document?.body;return i?V.createPortal((0,w.jsx)(y.sG.div,{...n,ref:t}),i):null});ee.displayName="Portal";var et=r(72870),er=r(47046),en=r(9985),eo=new WeakMap,ea=new WeakMap,ei={},ec=0,eu=function(e){return e&&(e.host||eu(e.parentNode))},el=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=eu(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ei[r]||(ei[r]=new WeakMap);var a=ei[r],i=[],c=new Set,u=new Set(o),l=function(e){!e||c.has(e)||(c.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(c.has(e))s(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,u=(eo.get(e)||0)+1,l=(a.get(e)||0)+1;eo.set(e,u),a.set(e,l),i.push(e),1===u&&o&&ea.set(e,!0),1===l&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
1return s(t),c.clear(),ec++,function(){i.forEach(function(e){var t=eo.get(e)-1,o=a.get(e)-1;eo.set(e,t),a.set(e,o),t||(ea.has(e)||e.removeAttribute(n),ea.delete(e)),o||e.removeAttribute(r)}),--ec||(eo=new WeakMap,eo=new WeakMap,ea=new WeakMap,ei={})}},es=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),el(n,o,r,"aria-hidden")):function(){return null}},ed=function(){return(ed=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ef(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var ep=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),ev="width-before-scroll-bar";function eh(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var em="u">typeof window?d.useLayoutEffect:d.useEffect,eg=new WeakMap,ey=(void 0===o&&(o={}),(void 0===a&&(a=function(e){return e}),i=[],c=!1,u={read:function(){if(c)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=a(e,c);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(c=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){c=!0;var t=[];if(i.length){var r=i;i=[],r.forEach(e),t=i}var n=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=ed({async:!0,ssr:!1},o),u),eb=function(){},ew=d.forwardRef(function(e,t){var r,n,o,a,i=d.useRef(null),c=d.useState({onScrollCapture:eb,onWheelCapture:eb,onTouchMoveCapture:eb}),u=c[0],l=c[1],s=e.forwardProps,f=e.children,p=e.className,v=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,b=e.noIsolation,w=e.inert,E=e.allowPinchZoom,x=e.as,C=e.gapMode,A=ef(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(r=[i,t],n=function(e){return r.forEach(function(t){return eh(t,e)})},(o=(0,d.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,a=o.facade,em(function(){var e=eg.get(a);if(e){var t=new Set(e),n=new Set(r),o=a.current;t.forEach(function(e){n.has(e)||eh(e,null)}),n.forEach(function(e){t.has(e)||eh(e,o)})}eg.set(a,r)},[r]),a),R=ed(ed({},A),u);return d.createElement(d.Fragment,null,h&&d.createElement(g,{sideCar:ey,removeScrollBar:v,shards:m,noRelative:y,noIsolation:b,inert:w,setCallbacks:l,allowPinchZoom:!!E,lockRef:i,gapMode:C}),s?d.cloneElement(d.Children.only(f),ed(ed({},R),{ref:S})):d.createElement(void 0===x?"div":x,ed({},R,{className:p,ref:S}),f))});ew.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ew.classNames={fullWidth:ev,zeroRight:ep};var eE=function(e){var t=e.sideCar,r=ef(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return d.createElement(n,ed({},r))};eE.isSideCarExport=!0;var ex=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eC=function(){var e=ex();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eA=function(){var e=eC();return function(t){return e(t.styles,t.dynamic),null}},eS={left:0,top:0,right:0,gap:0},eR=function(e){return parseInt(e||"",10)||0},eP=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eR(r),eR(n),eR(o)]},eN=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return eS;var t=eP(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ek=eA(),ej="data-scroll-locked",eO=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(c,"px ").concat(n,";\n  }\n  body[").concat(ej,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(c,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(ep," {\n    right: ").concat(c,"px ").concat(n,";\n  }\n  \n  .").concat(ev," {\n    margin-right: ").concat(c,"px ").concat(n,";\n  }\n  \n  .").concat(ep," .").concat(ep," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(ev," .").concat(ev," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(ej,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},eM=function(){var e=parseInt(document.body.getAttribute(ej)||"0",10);return isFinite(e)?e:0},eT=function(){d.useEffect(function(){return document.body.setAttribute(ej,(eM()+1).toString()),function(){var e=eM()-1;e<=0?document.body.removeAttribute(ej):document.body.setAttribute(ej,e.toString())}},[])},eL=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;eT();var a=d.useMemo(function(){return eN(o)},[o]);return d.createElement(ek,{styles:eO(a,!t,o,r?"":"!important")})},eF=!1;if("u">typeof window)try{var eI=Object.defineProperty({},"passive",{get:function(){return eF=!0,!0}});window.addEventListener("test",eI,eI),window.removeEventListener("test",eI,eI)}catch(e){eF=!1}var eD=!!eF&&{passive:!1},eW=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},e_=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eB(e,n)){var o=eK(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eB=function(e,t){return"v"===e?eW(t,"overflowY"):eW(t,"overflowX")},eK=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eY=function(e,t,r,n,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*n,u=r.target,l=t.contains(u),s=!1,d=c>0,f=0,p=0;do{if(!u)break;var v=eK(e,u),h=v[0],m=v[1]-v[2]-i*h;(h||m)&&eB(e,u)&&(f+=m,p+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&c>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(s=!0),s},e$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eH=function(e){return[e.deltaX,e.deltaY]},ez=function(e){return e&&"current"in e?e.current:e},eX=0,eU=[];let eG=(l=function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),o=d.useState(eX++)[0],a=d.useState(eA)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ez),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=e$(e),c=r.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=e_(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=e_(d,s)),!v)return!1;if(!n.current&&"changedTouches"in e&&(u||l)&&(n.current=o),!o)return!0;var h=n.current||o;return eY(h,t,e,"h"===h?u:l,!0)},[]),u=d.useCallback(function(e){if(eU.length&&eU[eU.length-1]===a){var r="deltaY"in e?eH(e):e$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}
1if(!n){var o=(i.current.shards||[]).map(ez).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=d.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),s=d.useCallback(function(e){r.current=e$(e),n.current=void 0},[]),f=d.useCallback(function(t){l(t.type,eH(t),t.target,c(t,e.lockRef.current))},[]),p=d.useCallback(function(t){l(t.type,e$(t),t.target,c(t,e.lockRef.current))},[]);d.useEffect(function(){return eU.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,eD),document.addEventListener("touchmove",u,eD),document.addEventListener("touchstart",s,eD),function(){eU=eU.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,eD),document.removeEventListener("touchmove",u,eD),document.removeEventListener("touchstart",s,eD)}},[]);var v=e.removeScrollBar,h=e.inert;return d.createElement(d.Fragment,null,h?d.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?d.createElement(eL,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},ey.useMedium(l),eE);var eZ=d.forwardRef(function(e,t){return d.createElement(ew,ed({},e,{ref:t,sideCar:eG}))});eZ.classNames=ew.classNames;var eq="Popover",[eJ,eQ]=(0,v.A)(eq,[D]),eV=D(),[e0,e1]=eJ(eq),e2=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,c=eV(t),u=d.useRef(null),[l,s]=d.useState(!1),[f,p]=(0,en.i)({prop:n,defaultProp:o??!1,onChange:a,caller:eq});return(0,w.jsx)(B,{...c,children:(0,w.jsx)(e0,{scope:t,contentId:(0,j.B)(),triggerRef:u,open:f,onOpenChange:p,onOpenToggle:d.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:l,onCustomAnchorAdd:d.useCallback(()=>s(!0),[]),onCustomAnchorRemove:d.useCallback(()=>s(!1),[]),modal:i,children:r})})};e2.displayName=eq;var e5="PopoverAnchor";d.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=e1(e5,r),a=eV(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:c}=o;return d.useEffect(()=>(i(),()=>c()),[i,c]),(0,w.jsx)(Y,{...a,...n,ref:t})}).displayName=e5;var e4="PopoverTrigger",e7=d.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=e1(e4,r),a=eV(r),i=(0,p.s)(t,o.triggerRef),c=(0,w.jsx)(y.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tu(o.open),...n,ref:i,onClick:(0,f.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,w.jsx)(Y,{asChild:!0,...a,children:c})});e7.displayName=e4;var e3="PopoverPortal",[e9,e8]=eJ(e3,{forceMount:void 0}),e6=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,a=e1(e3,t);return(0,w.jsx)(e9,{scope:t,forceMount:r,children:(0,w.jsx)(et.C,{present:r||a.open,children:(0,w.jsx)(ee,{asChild:!0,container:o,children:n})})})};e6.displayName=e3;var te="PopoverContent",tt=d.forwardRef((e,t)=>{let r=e8(te,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,a=e1(te,e.__scopePopover);return(0,w.jsx)(et.C,{present:n||a.open,children:a.modal?(0,w.jsx)(tn,{...o,ref:t}):(0,w.jsx)(to,{...o,ref:t})})});tt.displayName=te;var tr=(0,er.TL)("PopoverContent.RemoveScroll"),tn=d.forwardRef((e,t)=>{let r=e1(te,e.__scopePopover),n=d.useRef(null),o=(0,p.s)(t,n),a=d.useRef(!1);return d.useEffect(()=>{let e=n.current;if(e)return es(e)},[]),(0,w.jsx)(eZ,{as:tr,allowPinchZoom:!0,children:(0,w.jsx)(ta,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,f.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,f.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;a.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,f.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),to=d.forwardRef((e,t)=>
1{let r=e1(te,e.__scopePopover),n=d.useRef(!1),o=d.useRef(!1);return(0,w.jsx)(ta,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),ta=d.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:s,...f}=e,p=e1(te,r),v=eV(r);return d.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??g()),document.body.insertAdjacentElement("beforeend",e[1]??g()),m++,()=>{1===m&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),m--}},[]),(0,w.jsx)(A,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,w.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),children:(0,w.jsx)(X,{"data-state":tu(p.open),role:"dialog",id:p.contentId,...v,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ti="PopoverClose";d.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=e1(ti,r);return(0,w.jsx)(y.sG.button,{type:"button",...n,ref:t,onClick:(0,f.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=ti;var tc=d.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=eV(r);return(0,w.jsx)(Z,{...o,...n,ref:t})});function tu(e){return e?"open":"closed"}tc.displayName="PopoverArrow";var tl=e2,ts=e7,td=e6,tf=tt,tp=tc}}]);

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.