LocalCDN-Firefox-Chrome-Brave/resources/vue/3.3.11/vue.min.jsm

7 lines
130 KiB
JavaScript
Raw Normal View History

2023-12-09 08:38:57 +01:00
var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={},o=[],r=()=>{},s=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,p=(e,t)=>u.call(e,t),f=Array.isArray,d=e=>"[object Map]"===x(e),h=e=>"[object Set]"===x(e),m=e=>"[object Date]"===x(e),g=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),S=Object.prototype.toString,x=e=>S.call(e),C=e=>x(e).slice(8,-1),w=e=>"[object Object]"===x(e),k=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),N=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},A=/-(\w)/g,O=N((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),P=/\B([A-Z])/g,$=N((e=>e.replace(P,"-$1").toLowerCase())),R=N((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=N((e=>e?`on${R(e)}`:"")),M=(e,t)=>!Object.is(e,t),V=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t},L=e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t};let j;const U=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),D=t("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");function H(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?G(o):H(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||b(e))return e}const W=/;(?![^(]*\))/g,z=/:([^]+)/,K=/\/\*[^]*?\*\//g;function G(e){const t={};return e.replace(K,"").split(W).forEach((e=>{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function q(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=q(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const J=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Z=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),Y=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),Q=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function X(e){return!!e||""===e}function ee(e,t){if(e===t)return!0;let n=m(e),o=m(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=y(e),o=y(t),n||o)return e===t;if(n=f(e),o=f
/*! #__NO_SIDE_EFFECTS__ */function Yn(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const Qn=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;function Xn(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=Wr(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const eo=e=>e.type.__isKeepAlive,to={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ns(),o=n.ctx,r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){lo(e),u(e,n,l,!0)}function h(e){r.forEach(((t,n)=>{const o=ms(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&Lr(t,i)?i&&lo(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),dr((()=>{s.isDeactivated=!1,s.a&&V(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Qr(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),dr((()=>{t.da&&V(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Qr(n,t.parent,e),t.isDeactivated=!0}),l)},Rn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>no(e,t))),t&&h((e=>!no(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,co(n.subTree))};return fo(v),mo(v),go((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=co(t);if(e.type!==r.type||e.key!==r.key)d(e);else{lo(r);const e=r.component.da;e&&dr(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Br(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=co(o);const c=l.type,a=ms(Qn(l)?l.type.__asyncResolved||{}:c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!no(u,a))||p&&a&&no(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=Kr(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Jn(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,wn(o.type)?o:l}}};function no(e,t){return f(e)?e.some((e=>no(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function oo(e,t){so(e,"a",t)}function ro(e,t){so(e,"da",t)}function so(e,t,n=ts){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ao(t,o,n),n){let e=n.parent;for(;e&&e.parent;)eo(e.parent.vnode)&&io(o,t,n,e),e=e.parent}}function io(e,t,n,o){const r=ao(t,e,o,!0);vo((()=>{a(o[t],r)}),n)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function co(e){return 128&e.shapeFlag?e.ssContent:e}function ao(e,t,n=ts,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;xe(),rs(n);const r=jt(t,n,e,o);return ss(),Ce(),r});return o?r.unshift(s):r.push(s),s}}const uo=e=>(t,n=ts)=>(!as||"sp"===e)&&ao(e,((...e)=>t(...e)),n),po=uo("bm"),fo=uo("m"),ho=uo("bu"),mo=uo("u"),go=uo("bum"),vo=uo("um"),yo=uo("sp"),bo=uo("rtg"),_o=uo("rtc");function So(e,t=ts){ao("ec",e,t)}function xo(e){return e.some((e=>!Br(e)||e.type!==Nr&&!(e.type===Tr&&!xo(e.children))))?e:null}const Co=e=>e?is(e)?hs(e)||e.proxy:Co(e.parent):null,wo=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Co(e.parent),$root:e=>Co(e.root),$emit:e=>e.emit,$options:e=>Fo(e),$forceUpdate:e=>e.f||(e.f=()=>Qt(e.update)),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>Mn.bind(e)}),ko=(e,t)=>e!==n&&!e.__isScriptSetup&&p(e,t),To={get({_:e},t){const{ctx:o,setupState:r,data:s,props:i,accessCache:l,type:c,appContext:a}=e;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return r[t];case 2:return s[t];case 4:return o[t];case 3:return i[t]}else{if(ko(r,t))return l[t]=1,r[t];if(s!==n&&p(s,t))return l[t]=2,s[t];if((u=e.propsOptions[0])&&p(u,t))return l[t]=3,i[t];if(o!==n&&p(o,t))return l[t]=4,o[t];Oo&&(l[t]=0)}}const f=wo[t];let d,h;return f?("$attrs"===t&&we(e,0,t),f(e)):(d=c.__cssModules)&&(d=d[t])?d:o!==n&&p(o,t)?(l[t]=4,o[t]):(h=a.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,o){const{data:r,setupState:s,ctx:i}=e;return ko(s,t)?(s[t]=o,!0):r!==n&&p(r,t)?(
/*! #__NO_SIDE_EFFECTS__ */
function si(e,t){const n=Yn(e);class o extends li{constructor(e){super(n,e,t)}}return o.def=n,o}
/*! #__NO_SIDE_EFFECTS__ */const ii="undefined"!=typeof HTMLElement?HTMLElement:class{};class li extends ii{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Yt((()=>{this._connected||(Ui(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:o}=e;let r;if(n&&!f(n))for(const s in n){const e=n[s];(e===Number||e&&e.type===Number)&&(s in this._props&&(this._props[s]=L(this._props[s])),(r||(r=Object.create(null)))[O(s)]=!0)}this._numberProps=r,t&&this._resolveProps(e),this._applyStyles(o),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=f(t)?t:Object.keys(t||{});for(const o of Object.keys(this))"_"!==o[0]&&n.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of n.map(O))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=O(e);this._numberProps&&this._numberProps[n]&&(t=L(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute($(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute($(e),t+""):t||this.removeAttribute($(e))))}_update(){Ui(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Wr(this._def,c({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),$(e)!==e&&t($(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof li){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function ci(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ci(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)ai(e.el,t);else if(e.type===Tr)e.children.forEach((e=>ci(e,t)));else if(e.type===Ar){let{el:n,anchor:o}=e;for(;n&&(ai(n,t),n!==o);)n=n.nextSibling}}function ai(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const ui=new WeakMap,pi=new WeakMap,fi=Symbol("_moveCb"),di=Symbol("_enterCb"),hi={name:"TransitionGroup",props:c({},As,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ns(),o=Un();let r,s;return mo((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[Ts];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(o);const{hasTransform:i}=Ls(o);return s.removeChild(o),i}(r[0].el,n.vnode.el,t))return;r.forEach(gi),r.forEach(vi);const o=r.filter(yi);Ds(),o.forEach((e=>{const n=e.el,o=n.style;Fs(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[fi]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[fi]=null,Ms(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=St(e),l=$s(i);let c=i.tag||Tr;r=s,s=t.default?Zn(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&Jn(t,Kn(t,l,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Jn(t,Kn(t,l,o,n