PageSourceSearch

https://www.castellodicasalborgone.com/vendors-16b6190b-0dbb58aa33d586756c60.js

js castellodicasalborgone.com collected 2026-10-05 19:51:51 UTC 13,493 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcastellodicasalborgone=self.webpackChunkcastellodicasalborgone||[]).push([[1812],{53625:function(t,e,n){n.d(e,{UE:function(){return A},ll:function(){return L},rD:function(){return E},UU:function(){return C},cY:function(){return k}});var i=n(55812);function o(t,e,n){let{reference:o,floating:r}=t;const l=(0,i.TV)(e),s=(0,i.Dz)(e),c=(0,i.sq)(s),a=(0,i.C0)(e),f="y"===l,u=o.x+o.width/2-r.width/2,g=o.y+o.height/2-r.height/2,h=o[c]/2-r[c]/2;let d;switch(a){case"top":d={x:u,y:o.y-r.height};break;case"bottom":d={x:u,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:g};break;case"left":d={x:o.x-r.width,y:g};break;default:d={x:o.x,y:o.y}}switch((0,i.Sg)(e)){case"start":d[s]-=h*(n&&f?-1:1);break;case"end":d[s]+=h*(n&&f?-1:1)}return d}async function r(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:l,rects:s,elements:c,strategy:a}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:g="floating",altBoundary:h=!1,padding:d=0}=(0,i._3)(e,t),m=(0,i.nI)(d),p=c[h?"floating"===g?"reference":"floating":g],y=(0,i.B1)(await l.getClippingRect({element:null==(n=await(null==l.isElement?void 0:l.isElement(p)))||n?p:p.contextElement||await(null==l.getDocumentElement?void 0:l.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:a})),x="floating"===g?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==l.getOffsetParent?void 0:l.getOffsetParent(c.floating)),v=await(null==l.isElement?void 0:l.isElement(w))&&await(null==l.getScale?void 0:l.getScale(w))||{x:1,y:1},b=(0,i.B1)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:w,strategy:a}):x);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const l=new Set(["left","top"]);var s=n(30242);function c(t){const e=(0,s.L9)(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=(0,s.sb)(t),l=r?t.offsetWidth:n,c=r?t.offsetHeight:o,a=(0,i.LI)(n)!==l||(0,i.LI)(o)!==c;return a&&(n=l,o=c),{width:n,height:o,$:a}}function a(t){return(0,s.vq)(t)?t:t.contextElement}function f(t){const e=a(t);if(!(0,s.sb)(e))return(0,i.Jx)(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:l}=c(e);let f=(l?(0,i.LI)(n.width):n.width)/o,u=(l?(0,i.LI)(n.height):n.height)/r;return f&&Number.isFinite(f)||(f=1),u&&Number.isFinite(u)||(u=1),{x:f,y:u}}const u=(0,i.Jx)(0);function g(t){const e=(0,s.zk)(t);
1return(0,s.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:u}function h(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),l=a(t);let c=(0,i.Jx)(1);e&&(o?(0,s.vq)(o)&&(c=f(o)):c=f(t));const u=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==(0,s.zk)(t))&&e}(l,n,o)?g(l):(0,i.Jx)(0);let h=(r.left+u.x)/c.x,d=(r.top+u.y)/c.y,m=r.width/c.x,p=r.height/c.y;if(l){const t=(0,s.zk)(l),e=o&&(0,s.vq)(o)?(0,s.zk)(o):o;let n=t,i=(0,s._m)(n);for(;i&&o&&e!==n;){const t=f(i),e=i.getBoundingClientRect(),o=(0,s.L9)(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;h*=t.x,d*=t.y,m*=t.x,p*=t.y,h+=r,d+=l,n=(0,s.zk)(i),i=(0,s._m)(n)}}return(0,i.B1)({width:m,height:p,x:h,y:d})}function d(t,e){const n=(0,s.CP)(t).scrollLeft;return e?e.left+n:h((0,s.ep)(t)).left+n}function m(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-d(t,n),y:n.top+e.scrollTop}}function p(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=(0,s.zk)(t),i=(0,s.ep)(t),o=n.visualViewport;let r=i.clientWidth,l=i.clientHeight,c=0,a=0;if(o){r=o.width,l=o.height;const t=(0,s.Tc)();(!t||t&&"fixed"===e)&&(c=o.offsetLeft,a=o.offsetTop)}const f=d(i);if(f<=0){const t=i.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(i.clientWidth-e.clientWidth-o);l<=25&&(r-=l)}else f<=25&&(r+=f);return{width:r,height:l,x:c,y:a}}(t,n);else if("document"===e)o=function(t){const e=(0,s.ep)(t),n=(0,s.CP)(t),o=t.ownerDocument.body,r=(0,i.T9)(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=(0,i.T9)(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+d(t);const a=-n.scrollTop;return"rtl"===(0,s.L9)(o).direction&&(c+=(0,i.T9)(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:c,y:a}}((0,s.ep)(t));else if((0,s.vq)(e))o=function(t,e){const n=h(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,l=(0,s.sb)(t)?f(t):(0,i.Jx)(1);return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:r*l.x,y:o*l.y}}(e,n);else{const n=g(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return(0,i.B1)(o)}function y(t,e){const n=(0,s.$4)(t);return!(n===e||!(0,s.vq)(n)||(0,s.eu)(n))&&("fixed"===(0,s.L9)(n).position||y(n,e))}function x(t,e,n){const o=(0,s.sb)(e),r=(0,s.ep)(e),l="fixed"===n,c=h(t,!0,l,e);let a={scrollLeft:0,scrollTop:0};const f=(0,i.Jx)(0);function u(){f.x=d(r)}if(o||!o&&!l)if(("body"!==(0,s.mq)(e)||(0,s.ZU)(r))&&(a=(0,s.CP)(e)),o){const t=h(e,!0,l,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else r&&u();l&&!o&&r&&u();const g=!r||o||l?(0,i.Jx)(0):m(r,a);return{x:c.left+a.scrollLeft-f.x-g.x,y:c.top+a.scrollTop-f.y-g.y,width:c.width,height:c.height}}function w(t){return"static"===(0,s.L9)(t).position}function v(t,e){if(!(0,s.sb)(t)||"fixed"===(0,s.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,s.ep)(t)===n&&(n=n.ownerDocument.body),n}function b(t,e){const n=(0,s.zk)(t);if((0,s.Tf)(t))return n;if(!(0,s.sb)(t)){let e=(0,s.$4)(t);for(;e&&!(0,s.eu)(e);){if((0,s.vq)(e)&&!w(e))return e;e=(0,s.$4)(e)}return n}let i=v(t,e);for(;i&&(0,s.Lv)(i)&&w(i);)i=v(i,e);return i&&(0,s.eu)(i)&&w(i)&&!(0,s.sQ)(i)?n:i||(0,s.gJ)(t)||n}const R={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const l="fixed"===r,c=(0,s.ep)(o),a=!!e&&(0,s.Tf)(e.floating);if(o===c||a&&l)return n;let u={scrollLeft:0,scrollTop:0},g=(0,i.Jx)(1);const d=(0,i.Jx)(0),p=(0,s.sb)(o);if((p||!p&&!l)&&(("body"!==(0,s.mq)(o)||(0,s.ZU)(c))&&(u=(0,s.CP)(o)),p)){const t=h(o);g=f(o),d.x=t.x+o.clientLeft,d.y=t.y+o.clientTop}const y=!c||p||l?(0,i.Jx)(0):m(c,u);return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-u.scrollLeft*g.x+d.x+y.x,y:n.y*g.y-u.scrollTop*g.y+d.y+y.y}},getDocumentElement:s.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?(0,s.Tf)(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=(0,s.v9)(t,[],!1).filter(t=>(0,s.vq)(t)&&"body"!==(0,s.mq)(t)),o=null;const r="fixed"===(0,s.L9)(t).position;let l=r?(0,s.$4)(t):t;for(;(0,s.vq)(l)&&!(0,s.eu)(l);){const e=(0,s.L9)(l),n=(0,s.sQ)(l);n||"fixed"!==e.position||(o=null),(r?!n&&!o:!n&&"static"===e.position&&o&&("absolute"===o.position||"fixed"===o.position)||(0,s.ZU)(l)&&!n&&y(t,l))?i=i.filter(t=>t!==l):o=e,l=(0,s.$4)(l)}return e.set(t,i),i}(e,this._c):[].concat(n),o],c=p(e,l[0],r);let a=c.top,f=c.right,u=c.bottom,g=c.left;for(let s=1;s<l.length;s++){const t=p(e,l[s],r);a=(0,i.T9)(t.top,a),f=(0,i.jk)(t.right,f),u=(0,i.jk)(t.bottom,u),g=(0,i.T9)(t.left,g)}return{width:f-g,height:u-a,x:g,y:a}},getOffsetParent:b,getElementRects:async function(t){const e=this.getOffsetParent||b,n=this.getDimensions,i=await n(t.floating);return{reference:x(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=c(t);return{width:e,height:n}},getScale:f,isElement:s.vq,isRTL:function(t){return"rtl"===(0,s.L9)(t).direction}};function T(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function L(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,g=a(t),d=r||l?[...g?(0,s.v9)(g):[],...e?(0,s.v9)(e):[]]:[];d.forEach(t=>{r&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});const m=g&&f?function(t,e){let n,o=null;const r=(0,s.ep)(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function s(c,a){void 0===c&&(c=!1),void 0===a&&(a=1),l();const f=t.getBoundingClientRect(),{left:u,top:g,width:h,height:d}=f;
vendor: 5,029 bytes, line 1
1if(c||e(),!h||!d)return;const m={rootMargin:-(0,i.RI)(g)+"px "+-(0,i.RI)(r.clientWidth-(u+h))+"px "+-(0,i.RI)(r.clientHeight-(g+d))+"px "+-(0,i.RI)(u)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,a))||1};let p=!0;function y(e){const i=e[0].intersectionRatio;if(i!==a){if(!p)return s();i?s(!1,i):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==i||T(f,t.getBoundingClientRect())||s(),p=!1}try{o=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(x){o=new IntersectionObserver(y,m)}o.observe(t)}(!0),l}(g,n):null;let p,y=-1,x=null;c&&(x=new ResizeObserver(t=>{let[i]=t;i&&i.target===g&&x&&e&&(x.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var t;null==(t=x)||t.observe(e)})),n()}),g&&!u&&x.observe(g),e&&x.observe(e));let w=u?h(t):null;return u&&function e(){const i=h(t);w&&!T(w,i)&&n();w=i,p=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach(t=>{r&&t.removeEventListener("scroll",n),l&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=x)||t.disconnect(),x=null,u&&cancelAnimationFrame(p)}}const k=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:s,placement:c,middlewareData:a}=e,f=await async function(t,e){const{placement:n,platform:o,elements:r}=t,s=await(null==o.isRTL?void 0:o.isRTL(r.floating)),c=(0,i.C0)(n),a=(0,i.Sg)(n),f="y"===(0,i.TV)(n),u=l.has(c)?-1:1,g=s&&f?-1:1,h=(0,i._3)(e,t);let{mainAxis:d,crossAxis:m,alignmentAxis:p}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof p&&(m="end"===a?-1*p:p),f?{x:m*g,y:d*u}:{x:d*u,y:m*g}}(e,t);return c===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:s+f.y,data:{...f,placement:c}}}}},C=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:l,rects:s,initialPlacement:c,platform:a,elements:f}=e,{mainAxis:u=!0,crossAxis:g=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=(0,i._3)(t,e);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};const x=(0,i.C0)(r),w=(0,i.TV)(c),v=(0,i.C0)(c)===c,b=await(null==a.isRTL?void 0:a.isRTL(f.floating)),R=h||(v||!p?[(0,i.bV)(c)]:(0,i.WJ)(c)),T="none"!==m;!h&&T&&R.push(...(0,i.lP)(c,p,m,b));const L=[c,...R],k=await a.detectOverflow(e,y),C=[];let A=(null==(o=l.flip)?void 0:o.overflows)||[];if(u&&C.push(k[x]),g){const t=(0,i.w7)(r,s,b);C.push(k[t[0]],k[t[1]])}if(A=[...A,{placement:r,overflows:C}],!C.every(t=>t<=0)){var E,O;const t=((null==(E=l.flip)?void 0:E.index)||0)+1,e=L[t];if(e){if(!("alignment"===g&&w!==(0,i.TV)(e))||A.every(t=>(0,i.TV)(t.placement)!==w||t.overflows[0]>0))return{data:{index:t,overflows:A},reset:{placement:e}}}let n=null==(O=A.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:O.placement;if(!n)switch(d){case"bestFit":{var P;const t=null==(P=A.filter(t=>{if(T){const e=(0,i.TV)(t.placement);return e===w||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:P[0];t&&(n=t);break}case"initialPlacement":n=c}if(r!==n)return{reset:{placement:n}}}return{}}}},A=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:l,platform:s,elements:c,middlewareData:a}=e,{element:f,padding:u=0}=(0,i._3)(t,e)||{};if(null==f)return{};const g=(0,i.nI)(u),h={x:n,y:o},d=(0,i.Dz)(r),m=(0,i.sq)(d),p=await s.getDimensions(f),y="y"===d,x=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",b=l.reference[m]+l.reference[d]-h[d]-l.floating[m],R=h[d]-l.reference[d],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(f));let L=T?T[v]:0;L&&await(null==s.isElement?void 0:s.isElement(T))||(L=c.floating[v]||l.floating[m]);const k=b/2-R/2,C=L/2-p[m]/2-1,A=(0,i.jk)(g[x],C),E=(0,i.jk)(g[w],C),O=A,P=L-p[m]-E,D=L/2-p[m]/2+k,q=(0,i.qE)(O,D,P),z=!a.arrow&&null!=(0,i.Sg)(r)&&D!==q&&l.reference[m]/2-(D<O?A:E)-p[m]/2<0,F=z?D<O?D-O:D-P:0;return{[d]:h[d]+F,data:{[d]:q,centerOffset:D-q-F,...z&&{alignmentOffset:F}},reset:z}}}),E=(t,e,n)=>{const i=new Map,l={platform:R,...n},s={...l.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:l="absolute",middleware:s=[],platform:c}=n,a=c.detectOverflow?c:{...c,detectOverflow:r},f=await(null==c.isRTL?void 0:c.isRTL(e));let u=await c.getElementRects({reference:t,floating:e,strategy:l}),{x:g,y:h}=o(u,i,f),d=i,m=0;const p={};for(let r=0;r<s.length;r++){const n=s[r];if(!n)continue;const{name:y,fn:x}=n,{x:w,y:v,data:b,reset:R}=await x({x:g,y:h,initialPlacement:i,placement:d,strategy:l,middlewareData:p,rects:u,platform:a,elements:{reference:t,floating:e}});g=null!=w?w:g,h=null!=v?v:h,p[y]={...p[y],...b},R&&m<50&&(m++,"object"==typeof R&&(R.placement&&(d=R.placement),R.rects&&(u=!0===R.rects?await c.getElementRects({reference:t,floating:e,strategy:l}):R.rects),({x:g,y:h}=o(u,d,f))),r=-1)}return{x:g,y:h,placement:d,strategy:l,middlewareData:p}})(t,e,{...l,platform: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.