PageSourceSearch

https://www.audemarspiguet.com/etc.clientlibs/ap-com/ui/clientlibs…/ui-libs-b74e3af6.b079b2b66c7567c8059d.js

js audemarspiguet.com collected 2026-09-24 17:38:48 UTC 10,295 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkap_com=self.webpackChunkap_com||[]).push([["ui-libs-b74e3af6"],{57579:function(e,t,o){var n=o(12189),l=(o(97786),o(22720));function i(e){var t;const o=(0,l.BA)(e);return null!=(t=null==o?void 0:o.$el)?t:o}const r=l.oc?window:void 0;function u(...e){let t,o,u,s;if("string"==typeof e[0]||Array.isArray(e[0])?([o,u,s]=e,t=r):[t,o,u,s]=e,!t)return l.lQ;Array.isArray(o)||(o=[o]),Array.isArray(u)||(u=[u]);const c=[],a=()=>{c.forEach(e=>e()),c.length=0},d=(0,n.wBe)(()=>[i(t),(0,l.BA)(s)],([e,t])=>{if(a(),!e)return;const n=(0,l.Gv)(t)?{...t}:t;c.push(...o.flatMap(t=>u.map(o=>((e,t,o,n)=>(e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)))(e,t,o,n))))},{immediate:!0,flush:"post"}),v=()=>{d(),a()};return(0,l.Uo)(v),v}let s=!1;function c(e,t,o={}){const{window:n=r,ignore:c=[],capture:a=!0,detectIframe:d=!1}=o;if(!n)return l.lQ;l.un&&!s&&(s=!0,Array.from(n.document.body.children).forEach(e=>e.addEventListener("click",l.lQ)),n.document.documentElement.addEventListener("click",l.lQ));let v=!0;const f=e=>c.some(t=>{if("string"==typeof t)return Array.from(n.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const o=i(t);return o&&(e.target===o||e.composedPath().includes(o))}}),m=[u(n,"click",o=>{const n=i(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(v=!f(o)),v?t(o):v=!0)},{passive:!0,capture:a}),u(n,"pointerdown",t=>{const o=i(e);v=!f(t)&&!(!o||t.composedPath().includes(o))},{passive:!0}),d&&u(n,"blur",o=>{setTimeout(()=>{var l;const r=i(e);"IFRAME"!==(null==(l=n.document.activeElement)?void 0:l.tagName)||(null==r?void 0:r.contains(n.document.activeElement))||t(o)},0)})].filter(Boolean);return()=>m.forEach(e=>e())}const a={[l.C$.mounted](e,t){const o=!t.modifiers.bubble;if("function"==typeof t.value)e.__onClickOutside_stop=c(e,t.value,{capture:o});else{const[n,l]=t.value;e.__onClickOutside_stop=c(e,n,Object.assign({capture:o},l))}},[l.C$.unmounted](e){e.__onClickOutside_stop()}};function d(...e){let t,o,n={};3===e.length?(t=e[0],o=e[1],n=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,o=e[0],n=e[1]):(t=e[0],o=e[1]):(t=!0,o=e[0]);const{target:i=r,eventName:s="keydown",passive:c=!1,dedupe:a=!1}=n,d="function"==typeof(v=t)?v:"string"==typeof v?e=>e.key===v:Array.isArray(v)?e=>v.includes(e.key):()=>!0;var v;return u(i,s,e=>{e.repeat&&(0,l.BA)(a)||d(e)&&o(e)},c)}l.C$.mounted;function v(e,t,o){var l,r;const s=(0,n.EWP)(()=>i(e));let c,a,d,v=!1;function f(){c&&(clearTimeout(c),c=void 0),a=void 0,d=void 0,v=!1}const m={capture:null==(l=null==o?void 0:o.modifiers)?void 0:l.capture,once:null==(r=null==o?void 0:o.modifiers)?void 0:r.once},p=[u(s,"pointerdown",function(e){var n,l,i,r;(null==(n=null==o?void 0:o.modifiers)?void 0:n.self)&&e.target!==s.value||(f(),(null==(l=null==o?void 0:o.modifiers)?void 0:l.prevent)&&e.preventDefault(),(null==(i=null==o?void 0:o.modifiers)?void 0:i.stop)&&e.stopPropagation(),a={x:e.x,y:e.y},d=e.timeStamp,c=setTimeout(()=>{v=!0,t(e)},null!=(r=null==o?void 0:o.delay)?r:500))},m),u(s,"pointermove",function(e){var t,n,l,i;if((null==(t=null==o?void 0:o.modifiers)?void 0:t.self)&&e.target!==s.value)return;if(!a||!1===(null==o?void 0:o.distanceThreshold))return;(null==(n=null==o?void 0:o.modifiers)?void 0:n.prevent)&&e.preventDefault(),(null==(l=null==o?void 0:o.modifiers)?void 0:l.stop)&&e.stopPropagation();const r=e.x-a.x,u=e.y-a.y;Math.sqrt(r*r+u*u)>=(null!=(i=null==o?void 0:o.distanceThreshold)?i:10)&&f()},m),u(s,["pointerup","pointerleave"],function(e){var t,n,l;const[i,r,u]=[d,a,v];if(f(),!(null==o?void 0:o.onMouseUp)||!r||!i)return;if((null==(t=null==o?void 0:o.modifiers)?void 0:t.self)&&e.target!==s.value)return;(null==(n=null==o?void 0:o.modifiers)?void 0:n.prevent)&&e.preventDefault(),(null==(l=null==o?void 0:o.modifiers)?void 0:l.stop)&&e.stopPropagation();const c=e.x-r.x,m=e.y-r.y,p=Math.sqrt(c*c+m*m);o.onMouseUp(e.timeStamp-i,p,u)},m)];return()=>p.forEach(e=>e())}l.C$.mounted;function f(e){const t=function(){const e=(0,n.KRz)(!1),t=(0,n.nIK)();return t&&(0,n.sV8)(()=>{e.value=!0},n.LER?void 0:t),e}();return(0,n.EWP)(()=>(t.value,Boolean(e())))}l.C$.mounted;function m(e,t={width:0,height:0},o={}){const{window:u=r,box:s="content-box"}=o,c=(0,n.EWP)(()=>{var t,o;return null==(o=null==(t=i(e))?void 0:t.namespaceURI)?void 0:o.includes("svg")}),a=(0,n.KRz)(t.width),d=(0,n.KRz)(t.height),{stop:v}=function(e,t,o={}){const{window:u=r,...s}=o;let c;const a=f(()=>u&&"ResizeObserver"in u),d=()=>{c&&(c.disconnect(),c=void 0)},v=(0,n.EWP)(()=>Array.isArray(e)?e.map(e=>i(e)):[i(e)]),m=(0,n.wBe)(v,e=>{if(d(),a.value&&u){c=new ResizeObserver(t);for(const t of e)t&&c.observe(t,s)}},{immediate:!0,flush:"post"}),p=()=>{d(),m()};return(0,l.Uo)(p),{isSupported:a,stop:p}}(e,([t])=>{const o="border-box"===s?t.borderBoxSize:"content-box"===s?t.contentBoxSize:t.devicePixelContentBoxSize;if(u&&c.value){const t=i(e);if(t){const e=t.getBoundingClientRect();a.value=e.width,d.value=e.height}}else if(o){const e=Array.isArray(o)?o:[o];a.value=e.reduce((e,{inlineSize:t})=>e+t,0),d.value=e.reduce((e,{blockSize:t})=>e+t,0)}else a.value=t.contentRect.width,d.value=t.contentRect.height},o);(0,l.rd)(()=>{const o=i(e);o&&(a.value="offsetWidth"in o?o.offsetWidth:t.width,d.value="offsetHeight"in o?o.offsetHeight:t.height)});const m=(0,n.wBe)(()=>i(e),e=>{a.value=e?t.width:0,d.value=e?t.height:0});return{width:a,height:d,stop:function(){v(),m()}}}l.C$.mounted;function p(e,t,o={}){const{root:u,rootMargin:s="0px",threshold:c=.1,window:a=r,immediate:d=!0}=o,v=f(()=>a&&"IntersectionObserver"in a),m=(0,n.EWP)(()=>{const t=(0,l.BA)(e);return(Array.isArray(t)?t:[t]).map(i).filter(l.d6)});let p=l.lQ;const h=(0,n.KRz)(d),g=v.value?(0,n.wBe)(()=>[m.value,i(u),h.value],([e,o])=>{if(p(),!h.value)return;if(!e.length)return;const n=new IntersectionObserver(t,{root:i(o),rootMargin:s,threshold:c});
1e.forEach(e=>e&&n.observe(e)),p=()=>{n.disconnect(),p=l.lQ}},{immediate:d,flush:"post"}):l.lQ,w=()=>{p(),g(),h.value=!1};return(0,l.Uo)(w),{isSupported:v,isActive:h,pause(){p(),h.value=!1},resume(){h.value=!0},stop:w}}function h(e,t={}){const{window:o=r,scrollTarget:l,threshold:i=0}=t,u=(0,n.KRz)(!1);return p(e,e=>{let t=u.value,o=0;for(const n of e)n.time>=o&&(o=n.time,t=n.isIntersecting);u.value=t},{root:l,window:o,threshold:i}),u}l.C$.mounted;function g(e,t={}){const{throttle:o=0,idle:s=200,onStop:c=l.lQ,onScroll:a=l.lQ,offset:d={left:0,right:0,top:0,bottom:0},eventListenerOptions:v={capture:!1,passive:!0},behavior:f="auto",window:m=r,onError:p=e=>{console.error(e)}}=t,h=(0,n.KRz)(0),g=(0,n.KRz)(0),w=(0,n.EWP)({get(){return h.value},set(e){b(e,void 0)}}),y=(0,n.EWP)({get(){return g.value},set(e){b(void 0,e)}});function b(t,o){var n,i,r,u;if(!m)return;const s=(0,l.BA)(e);if(!s)return;null==(r=s instanceof Document?m.document.body:s)||r.scrollTo({top:null!=(n=(0,l.BA)(o))?n:y.value,left:null!=(i=(0,l.BA)(t))?i:w.value,behavior:(0,l.BA)(f)});const c=(null==(u=null==s?void 0:s.document)?void 0:u.documentElement)||(null==s?void 0:s.documentElement)||s;null!=w&&(h.value=c.scrollLeft),null!=y&&(g.value=c.scrollTop)}const A=(0,n.KRz)(!1),E=(0,n.Kh)({left:!0,right:!1,top:!0,bottom:!1}),B=(0,n.Kh)({left:!1,right:!1,top:!1,bottom:!1}),W=e=>{A.value&&(A.value=!1,B.left=!1,B.right=!1,B.top=!1,B.bottom=!1,c(e))},P=(0,l.Q0)(W,o+s),x=e=>{var t;if(!m)return;const o=(null==(t=null==e?void 0:e.document)?void 0:t.documentElement)||(null==e?void 0:e.documentElement)||i(e),{display:n,flexDirection:l}=getComputedStyle(o),r=o.scrollLeft;B.left=r<h.value,B.right=r>h.value;const u=Math.abs(r)<=(d.left||0),s=Math.abs(r)+o.clientWidth>=o.scrollWidth-(d.right||0)-1;
1"flex"===n&&"row-reverse"===l?(E.left=s,E.right=u):(E.left=u,E.right=s),h.value=r;let c=o.scrollTop;e!==m.document||c||(c=m.document.body.scrollTop),B.top=c<g.value,B.bottom=c>g.value;const a=Math.abs(c)<=(d.top||0),v=Math.abs(c)+o.clientHeight>=o.scrollHeight-(d.bottom||0)-1;"flex"===n&&"column-reverse"===l?(E.top=v,E.bottom=a):(E.top=a,E.bottom=v),g.value=c},z=e=>{var t;if(!m)return;const o=null!=(t=e.target.documentElement)?t:e.target;x(o),A.value=!0,P(e),a(e)};return u(e,"scroll",o?(0,l.k3)(z,o,!0,!1):z,v),(0,l.rd)(()=>{try{const t=(0,l.BA)(e);if(!t)return;x(t)}catch(e){p(e)}}),u(e,"scrollend",W,v),{x:w,y:y,isScrolling:A,arrivedState:E,directions:B,measure(){const t=(0,l.BA)(e);m&&t&&x(t)}}}function w(e){return"undefined"!=typeof Window&&e instanceof Window?e.document.documentElement:"undefined"!=typeof Document&&e instanceof Document?e.documentElement:e}function y(e,t,o={}){var i;const{direction:r="bottom",interval:u=100,canLoadMore:s=()=>!0}=o,c=(0,n.Kh)(g(e,{...o,offset:{[r]:null!=(i=o.distance)?i:0,...o.offset}})),a=(0,n.KRz)(),d=(0,n.EWP)(()=>!!a.value),v=(0,n.EWP)(()=>w((0,l.BA)(e))),f=h(v);return(0,n.wBe)(()=>[c.arrivedState[r],f.value],function e(){if(c.measure(),!v.value||!f.value||!s(v.value))return;const{scrollHeight:o,clientHeight:l,scrollWidth:i,clientWidth:d}=v.value,m="bottom"===r||"top"===r?o<=l:i<=d;(c.arrivedState[r]||m)&&(a.value||(a.value=Promise.all([t(c),new Promise(e=>setTimeout(e,u))]).finally(()=>{a.value=null,(0,n.dYV)(()=>e())})))},{immediate:!0}),{isLoading:d}}l.C$.mounted,l.C$.mounted;l.C$.mounted;function b(e){const t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth<e.scrollWidth||"auto"===t.overflowY&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!(!t||"BODY"===t.tagName)&&b(t)}}function A(e){const t=e||window.event;return!b(t.target)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}const E=new WeakMap;function B(e,t=!1){const o=(0,n.KRz)(t);let i=null,r="";(0,n.wBe)((0,l.lW)(e),e=>{const t=w((0,l.BA)(e));if(t){const e=t;if(E.get(e)||E.set(e,e.style.overflow),"hidden"!==e.style.overflow&&(r=e.style.overflow),"hidden"===e.style.overflow)return o.value=!0;if(o.value)return e.style.overflow="hidden"}},{immediate:!0});const s=()=>{const t=w((0,l.BA)(e));t&&o.value&&(l.un&&(null==i||i()),t.style.overflow=r,E.delete(t),o.value=!1)};return(0,l.Uo)(s),(0,n.EWP)({get(){return o.value},set(t){t?(()=>{const t=w((0,l.BA)(e));t&&!o.value&&(l.un&&(i=u(t,"touchmove",e=>{A(e)},{passive:!1})),t.style.overflow="hidden",o.value=!0)})():s()}})}!function(){let e=!1;const t=(0,n.KRz)(!1)}();o.d(t,["z0",0,a])}}]);

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.