PageSourceSearch

https://www.autotalli.com/js/vendor/popper/popper.js

js autotalli.com collected 2026-10-02 13:03:11 UTC 17,576 bytes, 1 lines download raw bytes

1((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Popper={})})(this,function(e){function b(e){return{width:(e=e.getBoundingClientRect()).width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function g(e){return"[object Window]"!==e.toString()?(e=e.ownerDocument)?e.defaultView:window:e}function y(e){return{scrollLeft:(e=g(e)).pageXOffset,scrollTop:e.pageYOffset}}function v(e){return e instanceof g(e).Element||e instanceof Element}function O(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function x(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return(v(e)?e.ownerDocument:e.document).documentElement}function j(e){return b(w(e)).left+y(e).scrollLeft}function M(e){return g(e).getComputedStyle(e)}function E(e){return e=M(e),/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function D(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function P(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||e.host||w(e)}function k(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(x(t))?t.ownerDocument.body:O(t)&&E(t)?t:e(P(t))}(e),o=(e="body"===x(n),g(n)),n=e?[o].concat(o.visualViewport||[],E(n)?n:[]):n;return t=t.concat(n),e?t:t.concat(k(P(n)))}function o(e){if(!O(e)||"fixed"===M(e).position)return null;if(e=e.offsetParent){var t=w(e);if("body"===x(e)&&"static"===M(e).position&&"static"!==M(t).position)return t}return e}function L(e){for(var t=g(e),n=o(e);n&&0<=["table","td","th"].indexOf(x(n))&&"static"===M(n).position;)n=o(n);if(n&&"body"===x(n)&&"static"===M(n).position)return t;if(!n)e:{for(e=P(e);O(e)&&["html","body"].indexOf(x(e))<0;){if("none"!==(n=M(e)).transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange){n=e;break e}e=e.parentNode}n=null}return n||t}function B(e){return e.split("-")[0]}function W(e,t){var n=!(!t.getRootNode||!t.getRootNode().host);if(e.contains(t))return!0;if(n)do{if(t&&e.isSameNode(t))return!0}while(t=t.parentNode||t.host);return!1}function A(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function H(e,t){var n,o,r,i;return"viewport"===t?(t=g(e),o=w(e),t=t.visualViewport,n=o.clientWidth,o=o.clientHeight,i=r=0,t&&(n=t.width,o=t.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=t.offsetLeft,i=t.offsetTop)),e=A(e={width:n,height:o,x:r+j(e),y:i})):O(t)?((e=b(t)).top+=t.clientTop,e.left+=t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top):(i=w(e),e=w(i),r=y(i),t=i.ownerDocument.body,n=Math.max(e.scrollWidth,e.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),o=Math.max(e.scrollHeight,e.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),i=-r.scrollLeft+j(i),r=-r.scrollTop,"rtl"===M(t||e).direction&&(i+=Math.max(e.clientWidth,t?t.clientWidth:0)-n),e=A({width:n,height:o,x:i,y:r})),e}function T(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function R(e){var t=e.reference,n=e.element,o=(e=e.placement)?B(e):null,r=(e=e?e.split("-")[1]:null,t.x+t.width/2-n.width/2),i=t.y+t.height/2-n.height/2;switch(o){case"top":r={x:r,y:t.y-n.height};break;case"bottom":r={x:r,y:t.y+t.height};break;case"right":r={x:t.x+t.width,y:i};break;case"left":r={x:t.x-n.width,y:i};break;default:r={x:t.x,y:t.y}}if(null!=(o=o?T(o):null))switch(i="y"===o?"height":"width",e){case"start":r[o]=Math.floor(r[o])-Math.floor(t[i]/2-n[i]/2);break;case"end":r[o]=Math.floor(r[o])+Math.ceil(t[i]/2-n[i]/2)}return r}function q(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function C(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function S(e,t){t=void 0===(t=(d=t=void 0===t?{}:t).placement)?e.placement:t;var n,o,r,i,a,s,f=void 0===(p=d.boundary)?"clippingParents":p,c=void 0===(p=d.rootBoundary)?"viewport":p,p=void 0===(p=d.elementContext)?"popper":p,l=void 0!==(m=d.altBoundary)&&m,d=q("number"!=typeof(d=void 0===(d=d.padding)?0:d)?d:C(d,_)),u=e.elements.reference,m=e.rects.popper;n=v(l=e.elements[l?"popper"===p?"reference":"popper":p])?l:l.contextElement||w(e.elements.popper),r=c,o="clippingParents"===(o=f)?(a=k(P(i=n)),v(s=0<=["absolute","fixed"].indexOf(M(i).position)&&O(i)?L(i):i)?a.filter(function(e){return v(e)&&W(e,s)&&"body"!==x(e)}):[]):[].concat(o),(r=(r=[].concat(o,[r])).reduce(function(e,t){return t=H(n,t),e.top=Math.max(t.top,e.top),e.right=Math.min(t.right,e.right),e.bottom=Math.min(t.bottom,e.bottom),e.left=Math.max(t.left,e.left),e},H(n,r[0]))).width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,f=r,l=R({reference:c=b(u),element:m,strategy:"absolute",placement:t}),m=A(Object.assign(Object.assign({},m),l));var h,g={top:f.top-(c="popper"===p?m:c).top+d.top,bottom:c.bottom-f.bottom+d.bottom,left:f.left-c.left+d.left,right:c.right-f.right+d.right};return e=e.modifiersData.offset,"popper"===p&&e&&(h=e[t],Object.keys(g).forEach(function(e){var t=0<=["right","bottom"].indexOf(e)?1:-1,n=0<=["top","bottom"].indexOf(e)?"y":"x";g[e]+=h[n]*t})),g}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function t(e){var t=(e=void 0===e?{}:e).defaultModifiers,m=void 0===t?[]:t,h=void 0===(e=e.defaultOptions)?i:e;return function(s,f,t){function c(){p.forEach(function(e){return e()}),p=[]}void 0===t&&(t=h);var n,o,l={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},i),h),modifiersData:{},elements:{reference:s,popper:f},attributes:{},styles:{}}
1,p=[],d=!1,u={state:l,setOptions:function(e){return c(),l.options=Object.assign(Object.assign(Object.assign({},h),l.options),e),l.scrollParents={reference:v(s)?k(s):s.contextElement?k(s.contextElement):[],popper:k(f)},a=[].concat(m,l.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e},{}),t=t=Object.keys(a).map(function(e){return a[e]}),n=new Map,o=new Set,r=[],t.forEach(function(e){n.set(e.name,e)}),t.forEach(function(e){o.has(e.name)||function t(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){o.has(e)||(e=n.get(e))&&t(e)}),r.push(e)}(e)}),i=r,e=F.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]),l.orderedModifiers=e.filter(function(e){return e.enabled}),l.orderedModifiers.forEach(function(e){var t=e.name,n=void 0===(n=e.options)?{}:n;"function"==typeof(e=e.effect)&&(t=e({state:l,name:t,instance:u,options:n}),p.push(t||function(){}))}),u.update();var t,n,o,r,i,a},forceUpdate:function(){if(!d){var e,t,n=l.elements,o=n.reference;if(N(o,n=n.popper))for(l.rects={reference:(r=o,i=L(n),void 0===(a="fixed"===l.options.strategy)&&(a=!1),s=w(i),r=b(r),f=O(i),c={scrollLeft:0,scrollTop:0},p={x:0,y:0},!f&&a||("body"===x(i)&&!E(s)||(c=i!==g(i)&&O(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:y(i)),O(i)?((p=b(i)).x+=i.clientLeft,p.y+=i.clientTop):s&&(p.x=j(s))),{x:r.left+c.scrollLeft-p.x,y:r.top+c.scrollTop-p.y,width:r.width,height:r.height}),popper:D(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}),o=0;o<l.orderedModifiers.length;o++)!0===l.reset?(l.reset=!1,o=-1):(n=(t=l.orderedModifiers[o]).fn,e=void 0===(e=t.options)?{}:e,t=t.name,"function"==typeof n&&(l=n({state:l,options:e,name:t,instance:u})||l))}var r,i,a,s,f,c,p},update:(n=function(){return new Promise(function(e){u.forceUpdate(),e(l)})},function(){return o=o||new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(n())})})}),destroy:function(){c(),d=!0}};return N(s,f)&&u.setOptions(t).then(function(e){!d&&t.onFirstUpdate&&t.onFirstUpdate(e)}),u}}function r(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.offsets,a=e.position,s=e.gpuAcceleration,f=e.adaptive,c=window.devicePixelRatio||1,p=(e=Math.round(i.x*c)/c||0,c=Math.round(i.y*c)/c||0,i.hasOwnProperty("x")),i=i.hasOwnProperty("y"),l="left",d="top",u=window;return f&&((t=L(n))===g(n)&&(t=w(n)),"top"===r&&(d="bottom",c=(c-(t.clientHeight-o.height))*(s?1:-1)),"left"===r)&&(l="right",e=(e-(t.clientWidth-o.width))*(s?1:-1)),n=Object.assign({position:a},f&&m),s?Object.assign(Object.assign({},n),{},((r={})[d]=i?"0":"",r[l]=p?"0":"",r.transform=(u.devicePixelRatio||1)<2?"translate("+e+"px, "+c+"px)":"translate3d("+e+"px, "+c+"px, 0)",r)):Object.assign(Object.assign({},n),{},((t={})[d]=i?c+"px":"",t[l]=p?e+"px":"",t.transform="",t))}function V(e){return e.replace(/left|right|bottom|top/g,function(e){return n[e]})}function I(e){return e.replace(/start|end/g,function(e){return a[e]})}function s(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function f(t){return["top","right","bottom","left"].some(function(e){return 0<=t[e]})}var _=["top","bottom","right","left"],U=_.reduce(function(e,t){return e.concat([t+"-start",t+"-end"])},[]),z=[].concat(_,["auto"]).reduce(function(e,t){return e.concat([t,t+"-start",t+"-end"])},[]),F="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),i={placement:"bottom",modifiers:[],strategy:"absolute"},c={passive:!0},m={top:"auto",right:"auto",bottom:"auto",left:"auto"},n={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"},p=[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=(e=e.options).scroll,r=void 0===o||o,i=void 0===(e=e.resize)||e,a=g(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);
1return r&&s.forEach(function(e){e.addEventListener("scroll",n.update,c)}),i&&a.addEventListener("resize",n.update,c),function(){r&&s.forEach(function(e){e.removeEventListener("scroll",n.update,c)}),i&&a.removeEventListener("resize",n.update,c)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=R({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options;e=void 0===(e=n.gpuAcceleration)||e,n=void 0===(n=n.adaptive)||n,e={placement:B(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e},null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),r(Object.assign(Object.assign({},e),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),r(Object.assign(Object.assign({},e),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},o=r.elements[e];O(o)&&x(o)&&(Object.assign(o.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var o=e.state,r={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,r.popper),o.elements.arrow&&Object.assign(o.elements.arrow.style,r.arrow),function(){Object.keys(o.elements).forEach(function(e){var t=o.elements[e],n=o.attributes[e]||{};e=Object.keys((o.styles.hasOwnProperty(e)?o.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{}),O(t)&&x(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.name,s=void 0===(e=e.options.offset)?[0,0]:e,n=(o=(e=z.reduce(function(e,t){var n=a.rects,o=B(t),r=0<=["left","top"].indexOf(o)?-1:1,n=(i="function"==typeof s?s(Object.assign(Object.assign({},n),{},{placement:t})):s)[0]||0,i=(i[1]||0)*r,o=0<=["left","right"].indexOf(o)?{x:i,y:n}:{x:n,y:i};return e[t]=o,e},{}))[a.placement]).x,o=o.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=n,a.modifiersData.popperOffsets.y+=o),a.modifiersData[t]=e}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t,n,l=e.state,o=e.options;if(!l.modifiersData[e=e.name]._skip){var r=void 0===(r=o.mainAxis)||r,i=void 0===(i=o.altAxis)||i,a=o.fallbackPlacements,d=o.padding,u=o.boundary,m=o.rootBoundary,s=o.altBoundary,h=void 0===(f=o.flipVariations)||f,g=o.allowedAutoPlacements,f=B(o=l.options.placement),a=a||(f!==o&&h?"auto"===B(t=o)?[]:(n=V(t),[I(t),n,I(n)]):[V(o)]),c=[o].concat(a).reduce(function(e,t){return e.concat("auto"===B(t)?(n=l,o=(e=void 0===(e={placement:t,boundary:u,rootBoundary:m,padding:d,flipVariations:h,allowedAutoPlacements:g})?{}:e).boundary,r=e.rootBoundary,i=e.padding,a=e.flipVariations,s=e.allowedAutoPlacements,f=void 0===s?z:s,c=e.placement.split("-")[1],p=(a=0===(a=(e=c?a?U:U.filter(function(e){return e.split("-")[1]===c}):_).filter(function(e){return 0<=f.indexOf(e)})).length?e:a).reduce(function(e,t){return e[t]=S(n,{placement:t,boundary:o,rootBoundary:r,padding:i})[B(t)],e},{}),Object.keys(p).sort(function(e,t){return p[e]-p[t]})):t);var n,o,r,i,a,s,f,c,p},[]),o=l.rects.reference,p=(a=l.rects.popper,new Map);f=!0;for(var b=c[0],y=0;y<c.length;y++){var v=c[y],O=B(v),x="start"===v.split("-")[1],w=0<=["top","bottom"].indexOf(O),j=w?"width":"height",M=S(l,{placement:v,boundary:u,rootBoundary:m,altBoundary:s,padding:d}),x=w?x?"right":"left":x?"bottom":"top";if(o[j]>a[j]&&(x=V(x)),j=V(x),w=[],r&&w.push(M[O]<=0),i&&w.push(M[x]<=0,M[j]<=0),w.every(function(e){return e})){b=v,f=!1;break}p.set(v,w)}if(f)for(r=function(t){var e=c.find(function(e){if(e=p.get(e))return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"},i=h?3:1;0<i&&"break"!==r(i);i--);l.placement!==b&&(l.modifiersData[e]._skip=!0,l.placement=b,l.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;e=e.name;var o,r,i,a,s,f,c,p,l=void 0===(d=n.mainAxis)||d,d=void 0!==(d=n.altAxis)&&d,u=void 0===(u=n.tether)||u,m=void 0===(h=n.tetherOffset)?0:h,n=S(t,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),h=B(t.placement),g=t.placement.split("-")[1],b=!g,y=T(h),v=(h="x"===y?"y":"x",t.modifiersData.popperOffsets),O=t.rects.reference,x=t.rects.popper,w="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,m={x:0,y:0};v&&(l&&(o="y"===y?"height":"width",l=v[y],r=v[y]+n[c="y"===y?"top":"left"],i=v[y]-n[p="y"===y?"bottom":"right"],a=u?-x[o]/2:0,s=("start"===g?O:x)[o],g="start"===g?-x[o]:-O[o],x=t.elements.arrow,x=u&&x?D(x):{width:0,height:0},c=(f=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[c],p=f[p],x=Math.max(0,Math.min(O[o],x[o])),s=b?O[o]/2-a-x-c-w:s-x-c-w,b=b?-O[o]/2+a+x+p+w:g+x+p+w,w=t.elements.arrow&&L(t.elements.arrow),O=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,w=v[y]+s-O-(w?"y"===y?w.clientTop||0:w.clientLeft||0:0),b=v[y]+b-O,u=Math.max(u?Math.min(r,w):r,Math.min(l,u?Math.max(i,b):i)),v[y]=u,m[y]=u-l),d&&(d=v[h],u=Math.max(d+n["x"===y?"top":"left"],Math.min(d,d-n["x"===y?"bottom":"right"])),v[h]=u,m[h]=u-d),t.modifiersData[e]=m)},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,o,r,i,a=e.state,s=(e=e.name,a.elements.arrow),f=a.modifiersData.popperOffsets,c=B(a.placement),p=T(c);c=0<=["left","right"].indexOf(c)?"height":"width",s&&f&&(t=a.modifiersData[e+"#persistent"].padding,n=D(s),o="y"===p?"to
1p":"left",r="y"===p?"bottom":"right",i=a.rects.reference[c]+a.rects.reference[p]-f[p]-a.rects.popper[c],f=f[p]-a.rects.reference[p],i=(s=(s=L(s))?"y"===p?s.clientHeight||0:s.clientWidth||0:0)/2-n[c]/2+(i/2-f/2),c=Math.max(t[o],Math.min(i,s-n[c]-t[r])),a.modifiersData[e]=((f={})[p]=c,f.centerOffset=c-i,f))},effect:function(e){var t=e.state,n=e.options,o=(e=e.name,n.element),n=void 0===(n=n.padding)?0:n;null!=(o=void 0===o?"[data-popper-arrow]":o)&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&W(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[e+"#persistent"]={padding:q("number"!=typeof n?n:C(n,_))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=(e=e.name,t.rects.reference),o=t.rects.popper,r=t.modifiersData.preventOverflow,i=S(t,{elementContext:"reference"}),a=S(t,{altBoundary:!0}),n=s(i,n),o=s(a,o,r),r=f(n),a=f(o);t.modifiersData[e]={referenceClippingOffsets:n,popperEscapeOffsets:o,isReferenceHidden:r,hasPopperEscaped:a},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":r,"data-popper-escaped":a})}}],l=t({defaultModifiers:p});e.createPopper=l,e.defaultModifiers=p,e.detectOverflow=S,e.popperGenerator=t,Object.defineProperty(e,"__esModule",{value:!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.