Studying all day long)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
58 KiB

2 years ago
function e(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 t="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",n=e(t),o=e(t+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function r(e){return!!e||""===e}const s=/[>/="'\u0009\u000a\u000c\u0020]/,l={};const i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},c=e("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function u(e){if(E(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=I(o)?p(o):u(o);if(r)for(const e in r)t[e]=r[e]}return t}return I(e)||V(e)?e:void 0}const a=/;(?![^(]*\))/g,f=/:(.+)/;function p(e){const t={};return e.split(a).forEach((e=>{if(e){const n=e.split(f);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function d(e){let t="";if(I(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const o=d(e[n]);o&&(t+=o+" ")}else if(V(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const h=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),m=/["'&<>]/;function g(e){const t=""+e,n=m.exec(t);if(!n)return t;let o,r,s="",l=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}l!==r&&(s+=t.slice(l,r)),l=r+1,s+=o}return l!==r?s+t.slice(l,r):s}const v=/^-?>|<!--|-->|--!>|<!-$/g;function y(e,t){if(e===t)return!0;let n=N(e),o=N(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=M(e),o=M(t),n||o)return e===t;if(n=E(e),o=E(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=y(e[o],t[o]);return n}(e,t);if(n=V(e),o=V(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!y(e[n],t[n]))return!1}}return String(e)===String(t)}const _=(e,t)=>t&&t.__v_isRef?_(e,t.value):F(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:j(t)?{[`Set(${t.size})`]:[...t.values()]}:!V(t)||E(t)||L(t)?t:String(t),b={},x=[],w=()=>{},S=()=>!1,C=/^on[^a-z]/,k=e=>C.test(e),$=e=>e.startsWith("onUpdate:"),O=Object.assign,R=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,P=(e,t)=>T.call(e,t),E=Array.isArray,F=e=>"[object Map]"===W(e),j=e=>"[object Set]"===W(e),N=e=>"[object Date]"===W(e),A=e=>"function"==typeof e,I=e=>"string"==typeof e,M=e=>"symbol"==typeof e,V=e=>null!==e&&"object"==typeof e,U=e=>V(e)&&A(e.then)&&A(e.catch),B=Object.prototype.toString,W=e=>B.call(e),L=e=>"[object Object]"===W(e),z=e=>I(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,D=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),H=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},q=/-(\w)/g,K=H((e=>e.replace(q,((e,t)=>t?t.toUpperCase():"")))),G=/\B([A-Z])/g,J=H((e=>e.replace(G,"-$1").toLowerCase())),X=H((e=>e.charAt(0).toUpperCase()+e.slice(1))),Z=H((e=>e?`on${X(e)}`:"")),Q=(e,t)=>!Object.is(e,t),Y=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ee=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},te=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ne;let oe;class re{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&oe&&(this.parent=oe,this.index=(oe.scopes||(oe