PageSourceSearch

https://www.ford.com.cn/_nuxt/C-OLeZiW.js

js ford.com.cn collected 2026-09-25 02:35:33 UTC 35,206 bytes, 117 lines download raw bytes

1import{ak as rt,r as P,l as ot,au as ce,ay as re,R as K,e as oe,L as te,aD as $t,S as he,$ as S,aE as xt,G as ee,ao as k,aF as at,n as St,aG as pe,aH as ve,aI as Mt,aJ as At,aK as Ot,aL as Ee,aM as Q,aN as it,aO as R,aP as Ae,aQ as Ct,aR as De,aS as _t,aT as Le,aU as Fe,aV as ue,aW as Bt,aX as Ne,aY as Et,aZ as Pt,a_ as Tt,a$ as zt,b0 as It,b1 as Dt,b2 as Lt,aj as Ft,ad as H,aa as F,ab as ge,ae as me,ac as de,b3 as Nt,b4 as Wt,af as Ht,aq as Pe,N as st,D as ne,an as Xt,X as Kt,W as Yt,P as jt,b5 as kt,b6 as Gt}from"./C1kS4EZ_.js";import{m as lt,d as ut,p as dt,g as Ut,a as We,L as Vt,z as ft,c as He,F as Jt,b as qt}from"./GkxK6p0m.js";import{c as Qt,t as Te,i as ct,g as Zt,b as Rt}from"./DW_br3sZ.js";import{c as ae,a as en,o as tn,u as nn}from"./iC9Qj0s4.js";import{o as q,a as G,g as Xe,X as rn}from"./saw5S83w.js";import{f as we}from"./B-p6aW7q.js";import{i as Ke,a as be,c as ie}from"./juVhbyk3.js";import{b as on}from"./C5Ksf8W7.js";import{u as an}from"./BpoZiVIn.js";import{k as sn}from"./B1eBS8j0.js";const ro=rt("n-internal-select-menu"),ln=rt("n-internal-select-menu-body"),ht="__disabled__";function Z(e){const t=K(lt,null),n=K(ut,null),r=K(dt,null),o=K(ln,null),a=P();if(typeof document<"u"){a.value=document.fullscreenElement;const i=()=>
1{a.value=document.fullscreenElement};ot(()=>{q("fullscreenchange",document,i)}),ce(()=>{G("fullscreenchange",document,i)})}return re(()=>{var i;const{to:l}=e;return l!==void 0?l===!1?ht:l===!0?a.value||"body":l:t!=null&&t.value?(i=t.value.$el)!==null&&i!==void 0?i:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:l??(a.value||"body")})}Z.tdkey=ht;Z.propTo={type:[String,Object,Boolean],default:void 0};let W=null;function pt(){if(W===null&&(W=document.getElementById("v-binder-view-measurer"),W===null)){W=document.createElement("div"),W.id="v-binder-view-measurer";const{style:e}=W;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(W)}return W.getBoundingClientRect()}function un(e,t){const n=pt();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function ye(e){const t=e.getBoundingClientRect(),n=pt();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function dn(e){return e.nodeType===9?null:e.parentNode}function vt(e){if(e===null)return null;const t=dn(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return vt(t)}const fn=oe({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;te("VBinder",(t=$t())===null||t===void 0?void 0:t.proxy);const n=K("VBinder",null),r=P(null),o=f=>{r.value=f,n&&e.syncTargetWithParent&&n.setTargetRef(f)};let a=[];const i=()=>{let f=r.value;for(;f=vt(f),f!==null;)a.push(f);for(const $ of a)q("scroll",$,w,!0)},l=()=>{for(const f of a)G("scroll",f,w,!0);a=[]},s=new Set,p=f=>{s.size===0&&i(),s.has(f)||s.add(f)},g=f=>{s.has(f)&&s.delete(f),s.size===0&&l()},w=()=>{on(u)},u=()=>{s.forEach(f=>f())},h=new Set,v=f=>{h.size===0&&q("resize",window,y),h.has(f)||h.add(f)},d=f=>{h.has(f)&&h.delete(f),h.size===0&&G("resize",window,y)},y=()=>{h.forEach(f=>f())};return ce(()=>{G("resize",window,y),l()}),{targetRef:r,setTargetRef:o,addScrollListener:p,removeScrollListener:g,addResizeListener:v,removeResizeListener:d}},render(){return Ut("binder",this.$slots)}}),cn=oe({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=K("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?he(We("follower",this.$slots),[[t]]):We("follower",this.$slots)}}),J="@@mmoContext",hn={mounted(e,{value:t}){e[J]={handler:void 0},typeof t=="function"&&(e[J].handler=t,q("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[J];typeof t=="function"?n.handler?n.handler!==t&&(G("mousemoveoutside",e,n.handler),n.handler=t,q("mousemoveoutside",e,t)):(e[J].handler=t,q("mousemoveoutside",e,t)):n.handler&&(G("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[J];t&&G("mousemoveoutside",e,t),e[J].handler=void 0}},se={top:"bottom",bottom:"top",left:"right",right:"left"},Ye={start:"end",center:"center",end:"start"},$e={top:"height",bottom:"height",left:"width",right:"width"},pn={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},vn={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},gn={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},je={top:!0,bottom:!1,left:!0,right:!1},ke={top:"end",bottom:"start",left:"end",right:"start"};function mn(e,t,n,r,o,a){if(!o||a)return{placement:e,top:0,left:0};const[i,l]=e.split("-");let s=l??"center",p={top:0,left:0};const g=(h,v,d)=>{let y=0,f=0;const $=n[h]-t[v]-t[h];return $>0&&r&&(d?f=je[v]?$:-$:y=je[v]?$:-$),{left:y,top:f}},w=i==="left"||i==="right";if(s!=="center"){const h=gn[e],v=se[h],d=$e[h];if(n[d]>t[d]){if(t[h]+t[d]<n[d]){const y=(n[d]-t[d])/2;t[h]<y||t[v]<y?t[h]<t[v]?(s=Ye[l],p=g(d,v,w)):p=g(d,h,w):s="center"}}else n[d]<t[d]&&t[v]<0&&t[h]>t[v]&&(s=Ye[l])}else{const h=i==="bottom"||i==="top"?"left":"top",v=se[h],d=$e[h],y=(n[d]-t[d])/2;(t[h]<y||t[v]<y)&&(t[h]>t[v]?(s=ke[h],p=g(d,h,w)):(s=ke[v],p=g(d,v,w)))}let u=i;return t[i]<n[$e[i]]&&t[i]<t[se[i]]&&(u=se[i]),{placement:s!=="center"?`${u}-${s}`:u,left:p.left,top:p.top}}function wn(e,t){return t?vn[e]:pn[e]}function bn(e,t,n,r,o,a){if(a)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const yn=ae([ae(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),ae(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[ae("> *",{pointerEvents:"all"})])]),$n=oe({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=K("VBinder"),n=re(()=>e.enabled!==void 0?e.enabled:e.show),r=P(null),o=P(null),a=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(s),u.includes("resize")&&t.addResizeListener(s)},i=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};ot(()=>{n.value&&(s(),a())});const l=xt();yn.mount({id:"vueuc/binder",head:!0,anchorMetaName:en,ssr:l}),ce(()=>{i()}),tn(()=>{n.value&&s()});const s=()=>
1{if(!n.value)return;const u=r.value;if(u===null)return;const h=t.targetRef,{x:v,y:d,overlap:y}=e,f=v!==void 0&&d!==void 0?un(v,d):ye(h);u.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),u.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:$,minWidth:z,placement:_,internalShift:B,flip:Y}=e;u.setAttribute("v-placement",_),y?u.setAttribute("v-overlap",""):u.removeAttribute("v-overlap");const{style:m}=u;$==="target"?m.width=`${f.width}px`:$!==void 0?m.width=$:m.width="",z==="target"?m.minWidth=`${f.width}px`:z!==void 0?m.minWidth=z:m.minWidth="";const A=ye(u),O=ye(o.value),{left:b,top:N,placement:I}=mn(_,f,A,B,Y,y),T=wn(I,y),{left:j,top:c,transform:x}=bn(I,O,f,N,b,y);u.setAttribute("v-placement",I),u.style.setProperty("--v-offset-left",`${Math.round(b)}px`),u.style.setProperty("--v-offset-top",`${Math.round(N)}px`),u.style.transform=`translateX(${j}) translateY(${c}) ${x}`,u.style.setProperty("--v-transform-origin",T),u.style.transformOrigin=T};ee(n,u=>{u?(a(),p()):i()});const p=()=>{St().then(s).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{ee(k(e,u),s)}),["teleportDisabled"].forEach(u=>{ee(k(e,u),p)}),ee(k(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),u.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const g=at(),w=re(()=>{const{to:u}=e;if(u!==void 0)return u;g.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:w,syncPosition:s}},render(){return S(Vt,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=S("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[S("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?he(n,[[ft,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let xe;function xn(){return xe===void 0&&(xe=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),xe}var Oe=pe(ve,"WeakMap"),Sn=Mt(Object.keys,Object),Mn=Object.prototype,An=Mn.hasOwnProperty;function On(e){if(!At(e))return Sn(e);var t=[];for(var n in Object(e))An.call(e,n)&&n!="constructor"&&t.push(n);return t}function ze(e){return Ee(e)?Ot(e):On(e)}function Cn(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function _n(e,t){for(var n=-1,r=e==null?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}function Bn(){return[]}var En=Object.prototype,Pn=En.propertyIsEnumerable,Ge=Object.getOwnPropertySymbols,Tn=Ge?function(e){return e==null?[]:(e=Object(e),_n(Ge(e),function(t){return Pn.call(e,t)}))}:Bn;function zn(e,t,n){var r=t(e);return Q(e)?r:Cn(r,n(e))}function Ue(e){return zn(e,ze,Tn)}var Ce=pe(ve,"DataView"),_e=pe(ve,"Promise"),Be=pe(ve,"Set"),Ve="[object Map]",In="[object Object]",Je="[object Promise]",qe="[object Set]",Qe="[object WeakMap]",Ze="[object DataView]",Dn=R(Ce),Ln=R(Ae),Fn=R(_e),Nn=R(Be),Wn=R(Oe),X=it;(Ce&&X(new Ce(new ArrayBuffer(1)))!=Ze||Ae&&X(new Ae)!=Ve||_e&&X(_e.resolve())!=Je||Be&&X(new Be)!=qe||Oe&&X(new Oe)!=Qe)&&(X=function(e){var t=it(e),n=t==In?e.constructor:void 0,r=n?R(n):"";if(r)switch(r){case Dn:return Ze;case Ln:return Ve;case Fn:return Je;case Nn:return qe;case Wn:return Qe}return t});var Hn="__lodash_hash_undefined__";function Xn(e){return this.__data__.set(e,Hn),this}function Kn(e){return this.__data__.has(e)}function fe(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ct;++t<n;)this.add(e[t])}fe.prototype.add=fe.prototype.push=Xn;fe.prototype.has=Kn;function Yn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function jn(e,t){return e.has(t)}var kn=1,Gn=2;function gt(e,t,n,r,o,a){var i=n&kn,l=e.length,s=t.length;if(l!=s&&!(i&&s>l))return!1;var p=a.get(e),g=a.get(t);if(p&&g)return p==t&&g==e;var w=-1,u=!0,h=n&Gn?new fe:void 0;for(a.set(e,t),a.set(t,e);++w<l;){var v=e[w],d=t[w];if(r)var y=i?r(d,v,w,t,e,a):r(v,d,w,e,t,a);if(y!==void 0){if(y)continue;u=!1;break}
vendor: 2,284 bytes, line 1
1if(h){if(!Yn(t,function(f,$){if(!jn(h,$)&&(v===f||o(v,f,n,r,a)))return h.push($)})){u=!1;break}}else if(!(v===d||o(v,d,n,r,a))){u=!1;break}}return a.delete(e),a.delete(t),u}function Un(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Vn(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Jn=1,qn=2,Qn="[object Boolean]",Zn="[object Date]",Rn="[object Error]",er="[object Map]",tr="[object Number]",nr="[object RegExp]",rr="[object Set]",or="[object String]",ar="[object Symbol]",ir="[object ArrayBuffer]",sr="[object DataView]",Re=De?De.prototype:void 0,Se=Re?Re.valueOf:void 0;function lr(e,t,n,r,o,a,i){switch(n){case sr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ir:return!(e.byteLength!=t.byteLength||!a(new Le(e),new Le(t)));case Qn:case Zn:case tr:return _t(+e,+t);case Rn:return e.name==t.name&&e.message==t.message;case nr:case or:return e==t+"";case er:var l=Un;case rr:var s=r&Jn;if(l||(l=Vn),e.size!=t.size&&!s)return!1;var p=i.get(e);if(p)return p==t;r|=qn,i.set(e,t);var g=gt(l(e),l(t),r,o,a,i);return i.delete(e),g;case ar:if(Se)return Se.call(e)==Se.call(t)}return!1}var ur=1,dr=Object.prototype,fr=dr.hasOwnProperty;function cr(e,t,n,r,o,a){var i=n&ur,l=Ue(e),s=l.length,p=Ue(t),g=p.length;if(s!=g&&!i)return!1;for(var w=s;w--;){var u=l[w];if(!(i?u in t:fr.call(t,u)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=i;++w<s;){u=l[w];var f=e[u],$=t[u];if(r)var z=i?r($,f,u,t,e,a):r(f,$,u,e,t,a);if(!(z===void 0?f===$||o(f,$,n,r,a):z)){d=!1;break}y||(y=u=="constructor")}if(d&&!y){var _=e.constructor,B=t.constructor;_!=B&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof B=="function"&&B instanceof B)&&(d=!1)}return a.delete(e),a.delete(t),d}var hr=1,et="[object Arguments]",tt="[object Array]",le="[object Object]",pr=Object.prototype,nt=pr.hasOwnProperty;function vr(e,t,n,r,o,a){var i=Q(e),l=Q(t),s=i?tt:X(e),p=l?tt:X(t);s=s==et?le:s,p=p==et?le:p;var g=s==le,w=p==le,u=s==p;if(u&&Fe(e)){if(!Fe(t))return!1;i=!0,g=!1}if(u&&!g)return a||(a=new ue),i||Bt(e)?gt(e,t,n,r,o,a):lr(e,t,s,n,r,o,a);if(!(n&hr)){var h=g&&nt.call(e,"__wrapped__"),v=w&&nt.call(t,"__wrapped__");
1if(h||v){var d=h?e.value():e,y=v?t.value():t;return a||(a=new ue),o(d,y,n,r,a)}}return u?(a||(a=new ue),cr(e,t,n,r,o,a)):!1}function Ie(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ne(e)&&!Ne(t)?e!==e&&t!==t:vr(e,t,n,r,Ie,o)}var gr=1,mr=2;function wr(e,t,n,r){var o=n.length,a=o;if(e==null)return!a;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){i=n[o];var l=i[0],s=e[l],p=i[1];if(i[2]){if(s===void 0&&!(l in e))return!1}else{var g=new ue,w;if(!(w===void 0?Ie(p,s,gr|mr,r,g):w))return!1}}return!0}function mt(e){return e===e&&!Et(e)}function br(e){for(var t=ze(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,mt(o)]}return t}function wt(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yr(e){var t=br(e);return t.length==1&&t[0][2]?wt(t[0][0],t[0][1]):function(n){return n===e||wr(n,e,t)}}function $r(e,t){return e!=null&&t in Object(e)}function xr(e,t,n){t=Qt(t,e);for(var r=-1,o=t.length,a=!1;++r<o;){var i=Te(t[r]);if(!(a=e!=null&&n(e,i)))break;e=e[i]}return a||++r!=o?a:(o=e==null?0:e.length,!!o&&Pt(o)&&Tt(i,o)&&(Q(e)||zt(e)))}function Sr(e,t){return e!=null&&xr(e,t,$r)}var Mr=1,Ar=2;function Or(e,t){return ct(e)&&mt(t)?wt(Te(e),t):function(n){var r=Zt(n,e);return r===void 0&&r===t?Sr(n,e):Ie(t,r,Mr|Ar)}}function Cr(e){return function(t){return t==null?void 0:t[e]}}function _r(e){return function(t){return Rt(t,e)}}function Br(e){return ct(e)?Cr(Te(e)):_r(e)}function Er(e){return typeof e=="function"?e:e==null?It:typeof e=="object"?Q(e)?Or(e[0],e[1]):yr(e):Br(e)}function Pr(e,t){return e&&Dt(e,t,ze)}function Tr(e,t){return function(n,r){if(n==null)return n;if(!Ee(n))return e(n,r);for(var o=n.length,a=-1,i=Object(n);++a<o&&r(i[a],a,i)!==!1;);return n}}var zr=Tr(Pr);function Ir(e,t){var n=-1,r=Ee(e)?Array(e.length):[];return zr(e,function(o,a,i){r[++n]=t(o,a,i)}),r}function Dr(e,t){var n=Q(e)?Lt:Ir;return n(e,Er(t))}const Lr={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function Fr(e){const{boxShadow2:t,popoverColor:n,textColor2:r,borderRadius:o,fontSize:a,dividerColor:i}=e;return Object.assign(Object.assign({},Lr),{fontSize:a,borderRadius:o,color:n,dividerColor:i,textColor:r,boxShadow:t})}const Nr={name:"Popover",common:Ft,self:Fr},Me={top:"bottom",bottom:"top",left:"right",right:"left"},M="var(--n-arrow-height) * 1.414",Wr=H([F("popover",`
2 transition:
3 box-shadow .3s var(--n-bezier),
4 background-color .3s var(--n-bezier),
5 color .3s var(--n-bezier);
6 position: relative;
7 font-size: var(--n-font-size);
8 color: var(--n-text-color);
9 box-shadow: var(--n-box-shadow);
10 word-break: break-word;
11 `,[H(">",[F("scrollbar",`
12 height: inherit;
13 max-height: inherit;
14 `)]),ge("raw",`
15 background-color: var(--n-color);
16 border-radius: var(--n-border-radius);
17 `,[ge("scrollable",[ge("show-header-or-footer","padding: var(--n-padding);")])]),me("header",`
18 padding: var(--n-padding);
19 border-bottom: 1px solid var(--n-divider-color);
20 transition: border-color .3s var(--n-bezier);
21 `),me("footer",`
22 padding: var(--n-padding);
23 border-top: 1px solid var(--n-divider-color);
24 transition: border-color .3s var(--n-bezier);
25 `),de("scrollable, show-header-or-footer",[me("content",`
26 padding: var(--n-padding);
27 `)])]),F("popover-shared",`
28 transform-origin: inherit;
29 `,[F("popover-arrow-wrapper",`
30 position: absolute;
31 overflow: hidden;
32 pointer-events: none;
33 `,[F("popover-arrow",`
34 transition: background-color .3s var(--n-bezier);
35 position: absolute;
36 display: block;
37 width: calc(${M});
38 height: calc(${M});
39 box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
40 transform: rotate(45deg);
41 background-color: var(--n-color);
42 pointer-events: all;
43 `)]),H("&.popover-transition-enter-from, &.popover-transition-leave-to",`
44 opacity: 0;
45 transform: scale(.85);
46 `),H("&.popover-transition-enter-to, &.popover-transition-leave-from",`
47 transform: scale(1);
48 opacity: 1;
49 `),H("&.popover-transition-enter-active",`
50 transition:
51 box-shadow .3s var(--n-bezier),
52 background-color .3s var(--n-bezier),
53 color .3s var(--n-bezier),
54 opacity .15s var(--n-bezier-ease-out),
55 transform .15s var(--n-bezier-ease-out);
56 `),H("&.popover-transition-leave-active",`
57 transition:
58 box-shadow .3s var(--n-bezier),
59 background-color .3s var(--n-bezier),
60 color .3s var(--n-bezier),
61 opacity .15s var(--n-bezier-ease-in),
62 transform .15s var(--n-bezier-ease-in);
63 `)]),E("top-start",`
64 top: calc(${M} / -2);
65 left: calc(${L("top-start")} - var(--v-offset-left));
66 `),E("top",`
67 top: calc(${M} / -2);
68 transform: translateX(calc(${M} / -2)) rotate(45deg);
69 left: 50%;
70 `),E("top-end",`
71 top: calc(${M} / -2);
72 right: calc(${L("top-end")} + var(--v-offset-left));
73 `),E("bottom-start",`
74 bottom: calc(${M} / -2);
75 left: calc(${L("bottom-start")} - var(--v-offset-left));
76 `),E("bottom",`
77 bottom: calc(${M} / -2);
78 transform: translateX(calc(${M} / -2)) rotate(45deg);
79 left: 50%;
80 `),E("bottom-end",`
81 bottom: calc(${M} / -2);
82 right: calc(${L("bottom-end")} + var(--v-offset-left));
83 `),E("left-start",`
84 left: calc(${M} / -2);
85 top: calc(${L("left-start")} - var(--v-offset-top));
86 `),E("left",`
87 left: calc(${M} / -2);
88 transform: translateY(calc(${M} / -2)) rotate(45deg);
89 top: 50%;
90 `),E("left-end",`
91 left: calc(${M} / -2);
92 bottom: calc(${L("left-end")} + var(--v-offset-top));
93 `),E("right-start",`
94 right: calc(${M} / -2);
95 top: calc(${L("right-start")} - var(--v-offset-top));
96 `),E("right",`
97 right: calc(${M} / -2);
98 transform: translateY(calc(${M} / -2)) rotate(45deg);
99 top: 50%;
100 `),E("right-end",`
101 right: calc(${M} / -2);
102 bottom: calc(${L("right-end")} + var(--v-offset-top));
103 `),...Dr({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),r=n?"width":"height";return e.map(o=>{const a=o.split("-")[1]==="end",l=`calc((${`var(--v-target-${r}, 0px)`} - ${M}) / 2)`,s=L(o);return H(`[v-placement="${o}"] >`,[F("popover-shared",[de("center-arrow",[F("popover-arrow",`${t}: calc(max(${l}, ${s}) ${a?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function L(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function E(e,t){const n=e.split("-")[0],r=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return H(`[v-placement="${e}"] >`,[F("popover-shared",`
104 margin-${Me[n]}: var(--n-space);
105 `,[de("show-arrow",`
106 margin-${Me[n]}: var(--n-space-arrow);
107 `),de("overlap",`
108 margin: 0;
109 `),Nt("popover-arrow-wrapper",`
110 right: 0;
111 left: 0;
112 top: 0;
113 bottom: 0;
114 ${n}: 100%;
115 ${Me[n]}: auto;
116 ${r}
117 `,[F("popover-arrow",t)])])])}const bt=Object.assign(Object.assign({},Pe.props),{to:Z.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function Hr({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:r,clsPrefix:o}){return S("div",{key:"__popover-arrow__",style:r,class:[`${o}-popover-arrow-wrapper`,n]},S("div",{class:[`${o}-popover-arrow`,e],style:t}))}const Xr=oe({name:"PopoverBody",inheritAttrs:!1,props:bt,setup(e,{slots:t,attrs:n}){const{namespaceRef:r,mergedClsPrefixRef:o,inlineThemeDisabled:a}=Ht(e),i=Pe("Popover","-popover",Wr,Nr,e,o),l=P(null),s=K("NPopover"),p=P(null),g=P(e.show),w=P(!1);st(()=>{const{show:m}=e;
117m&&!xn()&&!e.internalDeactivateImmediately&&(w.value=!0)});const u=ne(()=>{const{trigger:m,onClickoutside:A}=e,O=[],{positionManuallyRef:{value:b}}=s;return b||(m==="click"&&!A&&O.push([He,_,void 0,{capture:!0}]),m==="hover"&&O.push([hn,z])),A&&O.push([He,_,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&w.value)&&O.push([Kt,e.show]),O}),h=ne(()=>{const{common:{cubicBezierEaseInOut:m,cubicBezierEaseIn:A,cubicBezierEaseOut:O},self:{space:b,spaceArrow:N,padding:I,fontSize:T,textColor:j,dividerColor:c,color:x,boxShadow:C,borderRadius:U,arrowHeight:V,arrowOffset:D,arrowOffsetVertical:yt}}=i.value;return{"--n-box-shadow":C,"--n-bezier":m,"--n-bezier-ease-in":A,"--n-bezier-ease-out":O,"--n-font-size":T,"--n-text-color":j,"--n-color":x,"--n-divider-color":c,"--n-border-radius":U,"--n-arrow-height":V,"--n-arrow-offset":D,"--n-arrow-offset-vertical":yt,"--n-padding":I,"--n-space":b,"--n-space-arrow":N}}),v=ne(()=>{const m=e.width==="trigger"?void 0:we(e.width),A=[];m&&A.push({width:m});const{maxWidth:O,minWidth:b}=e;return O&&A.push({maxWidth:we(O)}),b&&A.push({maxWidth:we(b)}),a||A.push(h.value),A}),d=a?Xt("popover",void 0,h,e):void 0;s.setBodyInstance({syncPosition:y}),ce(()=>{s.setBodyInstance(null)}),ee(k(e,"show"),m=>{e.animated||(m?g.value=!0:g.value=!1)});function y(){var m;(m=l.value)===null||m===void 0||m.syncPosition()}function f(m){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(m)}function $(m){e.trigger==="hover"&&e.keepAliveOnHover&&s.handleMouseLeave(m)}function z(m){e.trigger==="hover"&&!B().contains(Xe(m))&&s.handleMouseMoveOutside(m)}function _(m){(e.trigger==="click"&&!B().contains(Xe(m))||e.onClickoutside)&&s.handleClickOutside(m)}function B(){return s.getTriggerElement()}te(dt,p),te(ut,null),te(lt,null);function Y(){if(d==null||d.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&w.value))return null;let A;const O=s.internalRenderBodyRef.value,{value:b}=o;if(O)A=O([`${b}-popover-shared`,d==null?void 0:d.themeClass.value,e.overlap&&`${b}-popover-shared--overlap`,e.showArrow&&`${b}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${b}-popover-shared--center-arrow`],p,v.value,f,$);else{const{value:N}=s.extraClassRef,{internalTrapFocus:I}=e,T=!Ke(t.header)||!Ke(t.footer),j=()=>{var c,x;const C=T?S(jt,null,be(t.header,D=>D?S("div",{class:[`${b}-popover__header`,e.headerClass],style:e.headerStyle},D):null),be(t.default,D=>D?S("div",{class:[`${b}-popover__content`,e.contentClass],style:e.contentStyle},t):null),be(t.footer,D=>D?S("div",{class:[`${b}-popover__footer`,e.footerClass],style:e.footerStyle},D):null)):e.scrollable?(c=t.default)===null||c===void 0?void 0:c.call(t):S("div",{class:[`${b}-popover__content`,e.contentClass],style:e.contentStyle},t),U=e.scrollable?S(rn,{contentClass:T?void 0:`${b}-popover__content ${(x=e.contentClass)!==null&&x!==void 0?x:""}`,contentStyle:T?void 0:e.contentStyle},{default:()=>C}):C,V=e.showArrow?Hr({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:b}):null;return[U,V]};A=S("div",Yt({class:[`${b}-popover`,`${b}-popover-shared`,d==null?void 0:d.themeClass.value,N.map(c=>`${b}-${c}`),{[`${b}-popover--scrollable`]:e.scrollable,[`${b}-popover--show-header-or-footer`]:T,[`${b}-popover--raw`]:e.raw,[`${b}-popover-shared--overlap`]:e.overlap,[`${b}-popover-shared--show-arrow`]:e.showArrow,[`${b}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:p,style:v.value,onKeydown:s.handleKeydown,onMouseenter:f,onMouseleave:$},n),I?S(Jt,{active:e.show,autoFocus:!0},{default:j}):j())}return he(A,u.value)}return{displayed:w,namespace:r,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:Z(e),followerEnabled:g,renderContentNode:Y}},render(){return S($n,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Z.tdkey},{default:()=>this.animated?S(Wt,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),Kr=Object.keys(bt),Yr={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function jr(e,t,n){Yr[t].forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const o=e.props[r],a=n[r];o?e.props[r]=(...i)=>{o(...i),a(...i)}:e.props[r]=a})}const kr={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Z.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},Gr=Object.assign(Object.assign(Object.assign({},Pe.props),kr),{internalOnAfterLeave:Function,internalRenderBody:Function}),oo=oe({name:"Popover",inheritAttrs:!1,props:Gr,slots:Object,__popover__:!0,setup(e){const t=at(),n=P(null),r=ne(()=>e.show),o=P(e.defaultShow),a=an(r,o),i=re(()=>e.disabled?!1:a.value),l=()=>{if(e.disabled)return!0;const{getDisabled:c}=e;return!!(c!=null&&c())},s=()=>l()?!1:a.value,p=nn(e,["arrow","showArrow"]),g=ne(()=>e.overlap?!1:p.value);let w=null;const u=P(null),h=P(null),v=re(()=>e.x!==void 0&&e.y!==void 0);function d(c){const{"onUpdate:show":x,onUpdateShow:C,onShow:U,on
117Hide:V}=e;o.value=c,x&&ie(x,c),C&&ie(C,c),c&&U&&ie(U,!0),c&&V&&ie(V,!1)}function y(){w&&w.syncPosition()}function f(){const{value:c}=u;c&&(window.clearTimeout(c),u.value=null)}function $(){const{value:c}=h;c&&(window.clearTimeout(c),h.value=null)}function z(){const c=l();if(e.trigger==="focus"&&!c){if(s())return;d(!0)}}function _(){const c=l();if(e.trigger==="focus"&&!c){if(!s())return;d(!1)}}function B(){const c=l();if(e.trigger==="hover"&&!c){if($(),u.value!==null||s())return;const x=()=>{d(!0),u.value=null},{delay:C}=e;C===0?x():u.value=window.setTimeout(x,C)}}function Y(){const c=l();if(e.trigger==="hover"&&!c){if(f(),h.value!==null||!s())return;const x=()=>{d(!1),h.value=null},{duration:C}=e;C===0?x():h.value=window.setTimeout(x,C)}}function m(){Y()}function A(c){var x;s()&&(e.trigger==="click"&&(f(),$(),d(!1)),(x=e.onClickoutside)===null||x===void 0||x.call(e,c))}function O(){if(e.trigger==="click"&&!l()){f(),$();const c=!s();d(c)}}function b(c){e.internalTrapFocus&&c.key==="Escape"&&(f(),$(),d(!1))}function N(c){o.value=c}function I(){var c;return(c=n.value)===null||c===void 0?void 0:c.targetRef}function T(c){w=c}return te("NPopover",{getTriggerElement:I,handleKeydown:b,handleMouseEnter:B,handleMouseLeave:Y,handleClickOutside:A,handleMouseMoveOutside:m,setBodyInstance:T,positionManuallyRef:v,isMountedRef:t,zIndexRef:k(e,"zIndex"),extraClassRef:k(e,"internalExtraClass"),internalRenderBodyRef:k(e,"internalRenderBody")}),st(()=>{a.value&&l()&&d(!1)}),{binderInstRef:n,positionManually:v,mergedShowConsideringDisabledProp:i,uncontrolledShow:o,mergedShowArrow:g,getMergedShow:s,setShow:N,handleClick:O,handleMouseEnter:B,handleMouseLeave:Y,handleFocus:z,handleBlur:_,syncPosition:y}},render(){var e;const{positionManually:t,$slots:n}=this;let r,o=!1;if(!t&&(r=qt(n,"trigger"),r)){r=kt(r),r=r.type===Gt?S("span",[r]):r;const a={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=r.type)===null||e===void 0)&&e.__popover__)o=!0,r.props||(r.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),r.props.internalSyncTargetWithParent=!0,r.props.internalInheritedEventHandlers?r.props.internalInheritedEventHandlers=[a,...r.props.internalInheritedEventHandlers]:r.props.internalInheritedEventHandlers=[a];else{const{internalInheritedEventHandlers:i}=this,l=[a,...i],s={onBlur:p=>{l.forEach(g=>{g.onBlur(p)})},onFocus:p=>{l.forEach(g=>{g.onFocus(p)})},onClick:p=>{l.forEach(g=>{g.onClick(p)})},onMouseenter:p=>{l.forEach(g=>{g.onMouseenter(p)})},onMouseleave:p=>{l.forEach(g=>{g.onMouseleave(p)})}};jr(r,i?"nested":t?"manual":this.trigger,s)}}return S(fn,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const a=this.getMergedShow();return[this.internalTrapFocus&&a?he(S("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[ft,{enabled:a,zIndex:this.zIndex}]]):null,t?null:S(cn,null,{default:()=>r}),S(Xr,sn(this.$props,Kr,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:a})),{default:()=>{var i,l;return(l=(i=this.$slots).default)===null||l===void 0?void 0:l.call(i)},header:()=>{var i,l;return(l=(i=this.$slots).header)===null||l===void 0?void 0:l.call(i)},footer:()=>{var i,l;return(l=(i=this.$slots).footer)===null||l===void 0?void 0:l.call(i)}})]}})}});export{fn as B,cn as V,oo as _,kr as a,$n as b,ln as c,ro as i,Nr as p,Hr as r,Z as u};

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.