зеркало из https://github.com/nextcloud/text.git
3 строки
18 KiB
JavaScript
3 строки
18 KiB
JavaScript
|
/*! third party licenses: js/vendor.LICENSE.txt */
|
||
|
var me=Object.defineProperty;var Le=(t,e,r)=>e in t?me(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var j=(t,e,r)=>Le(t,typeof e!="symbol"?e+"":e,r);import{g as ee}from"./emoji-picker-SoWZqoso.chunk.mjs";const Ne="modulepreload",Re=function(t,e){return new URL(t,e).href},z={},pt=function(t,e,r){let i=Promise.resolve();if(e&&e.length>0){const c=document.getElementsByTagName("link"),E=document.querySelector("meta[property=csp-nonce]"),P=(E==null?void 0:E.nonce)||(E==null?void 0:E.getAttribute("nonce"));i=Promise.allSettled(e.map(n=>{if(n=Re(n,r),n in z)return;z[n]=!0;const s=n.endsWith(".css"),U=s?'[rel="stylesheet"]':"";if(r)for(let L=c.length-1;L>=0;L--){const R=c[L];if(R.href===n&&(!s||R.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(n,'"]').concat(U)))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":Ne,s||(u.as="script"),u.crossOrigin="",u.href=n,P&&u.setAttribute("nonce",P),document.head.appendChild(u),s)return new Promise((L,R)=>{u.addEventListener("load",L),u.addEventListener("error",()=>R(new Error("Unable to preload CSS for ".concat(n))))})}))}function a(c){const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=c,window.dispatchEvent(E),!E.defaultPrevented)throw c}return i.then(c=>{for(const E of c||[])E.status==="rejected"&&a(E.reason);return t().catch(a)})};function Oe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var te={exports:{}},l=te.exports={},p,d;function k(){throw new Error("setTimeout has not been defined")}function x(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?p=setTimeout:p=k}catch{p=k}try{typeof clearTimeout=="function"?d=clearTimeout:d=x}catch{d=x}})();function re(t){if(p===setTimeout)return setTimeout(t,0);if((p===k||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch{try{return p.call(null,t,0)}catch{return p.call(this,t,0)}}}function ve(t){if(d===clearTimeout)return clearTimeout(t);if((d===x||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{return d(t)}catch{try{return d.call(null,t)}catch{return d.call(this,t)}}}var m=[],A=!1,N,D=-1;function Te(){!A||!N||(A=!1,N.length?m=N.concat(m):D=-1,m.length&&ne())}function ne(){if(!A){var t=re(Te);A=!0;for(var e=m.length;e;){for(N=m,m=[];++D<e;)N&&N[D].run();D=-1,e=m.length}N=null,A=!1,ve(t)}}l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];m.push(new se(t,e)),m.length===1&&!A&&re(ne)};function se(t,e){this.fun=t,this.array=e}se.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={};function I(){}l.on=I,l.addListener=I,l.once=I,l.off=I,l.removeListener=I,l.removeAllListeners=I,l.emit=I,l.prependListener=I,l.prependOnceListener=I,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0};var Ae=te.exports;const $e=Oe(Ae);var X={};const we=typeof $e=="object"&&X&&X.NODE_DEBUG&&/\bsemver\b/i.test(X.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var ie=we;const be="2.0.0",oe=256,ge=Number.MAX_SAFE_INTEGER||9007199254740991,Se=16,ye=oe-6,Pe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ae={MAX_LENGTH:oe,MAX_SAFE_COMPONENT_LENGTH:Se,MAX_SAFE_BUILD_LENGTH:ye,MAX_SAFE_INTEGER:ge,RELEASE_TYPES:Pe,SEMVER_SPEC_VERSION:be,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},V={exports:{}};(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:a}=ae,c=ie;e=t.exports={};const E=e.re=[],P=e.safeRe=[],n=e.src=[],s=e.t={};let U=0;const u="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",a],[u,i]],R=O=>{for(const[f,w]of L)O=O.split("".concat(f,"*")).join("".concat(f,"{0,").concat(w,"}")).split("".concat(f,"+")).join("".concat(f,"{1,").concat(w,"}"));return O},o=(O,f,w)=>{const Ie
|