MCPcopy
hub / github.com/helloxz/onenav / k7

Function k7

templates/default2/assets/index.js:5–5  ·  view source on GitHub ↗
(e,t)

Source from the content-addressed store, hash-verified

3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**//*! #__NO_SIDE_EFFECTS__ */function r0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Rn={},ld=[],hn=()=>{},c7=()=>!1,hh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),nS=e=>e.startsWith("onUpdate:"),eo=Object.assign,oS=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d7=Object.prototype.hasOwnProperty,tn=(e,t)=>d7.call(e,t),Ve=Array.isArray,sd=e=>Jd(e)==="[object Map]",sc=e=>Jd(e)==="[object Set]",Ni=e=>Jd(e)==="[object Date]",f7=e=>Jd(e)==="[object RegExp]",ft=e=>typeof e=="function",ht=e=>typeof e=="string",Ol=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",Ed=e=>(Nt(e)||ft(e))&&ft(e.then)&&ft(e.catch),nI=Object.prototype.toString,Jd=e=>nI.call(e),p7=e=>Jd(e).slice(8,-1),ju=e=>Jd(e)==="[object Object]",rS=e=>ht(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,id=r0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),a0=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},h7=/-(\w)/g,Yo=a0(e=>e.replace(h7,(t,n)=>n?n.toUpperCase():"")),v7=/\B([A-Z])/g,Nr=a0(e=>e.replace(v7,"-$1").toLowerCase()),Qd=a0(e=>e.charAt(0).toUpperCase()+e.slice(1)),ud=a0(e=>e?`on${Qd(e)}`:""),Ar=(e,t)=>!Object.is(e,t),cd=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},oI=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},rm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},am=e=>{const t=ht(e)?Number(e):NaN;return isNaN(t)?e:t};let px;const l0=()=>px||(px=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),g7="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",m7=r0(g7);function vt(e){if(Ve(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=ht(o)?S7(o):vt(o);if(r)for(const l in r)t[l]=r[l]}return t}else if(ht(e)||Nt(e))return e}const y7=/;(?![^(]*\))/g,b7=/:([^]+)/,w7=/\/\*[^]*?\*\//g;function S7(e){const t={};return e.replace(w7,"").split(y7).forEach(n=>{if(n){const o=n.split(b7);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function F(e){let t="";if(ht(e))t=e;else if(Ve(e))for(let n=0;n<e.length;n++){const o=F(e[n]);o&&(t+=o+" ")}else if(Nt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ya(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ht(t)&&(e.class=F(t)),n&&(e.style=vt(n)),e}const C7="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_7=r0(C7);function rI(e){return!!e||e===""}function k7(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Li(e[o],t[o]);return n}function Li(e,t){if(e===t)return!0;let n=Ni(e),o=Ni(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=Ol(e),o=Ol(t),n||o)return e===t;if(n=Ve(e),o=Ve(t),n||o)return n&&o?k7(e,t):!1;if(n=Nt(e),o=Nt(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,l=Object.keys(t).length;if(r!==l)return!1;for(const a in e){const s=e.hasOwnProperty(a),i=t.hasOwnProperty(a);if(s&&!i||!s&&i||!Li(e[a],t[a]))return!1}}return String(e)===String(t)}function s0(e,t){return e.findIndex(n=>Li(n,t))}const aI=e=>!!(e&&e.__v_isRef===!0),We=e=>ht(e)?e:e==null?"":Ve(e)||Nt(e)&&(e.toString===nI||!ft(e.toString))?aI(e)?We(e.value):JSON.stringify(e,lI,2):String(e),lI=(e,t)=>aI(t)?lI(e,t.value):sd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],l)=>(n[Ib(o,l)+" =>"]=r,n),{})}:sc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ib(n))}:Ol(t)?Ib(t):Nt(t)&&!Ve(t)&&!ju(t)?String(t):t,Ib=(e,t="")=>{var n;return Ol(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6* @vue/reactivity v3.5.13
7* (c) 2018-present Yuxi (Evan) You and Vue contributors
8* @license MIT

Callers 1

LiFunction · 0.85

Calls 1

LiFunction · 0.70

Tested by

no test coverage detected