@abtnode/webapp 1.16.14-beta-1936d3d0 → 1.16.14-beta-dc99d0a2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/build/asset-manifest.json +3 -4
- package/build/index.html +1 -1
- package/build/service-worker.js +1 -1
- package/build/static/js/5473.03883656.chunk.js +1 -0
- package/build/static/js/main.69d7d199.js +2 -0
- package/package.json +1 -1
- package/build/static/js/5473.d6145ed2.chunk.js +0 -1
- package/build/static/js/main.2c765c6d.js +0 -2
- package/build/static/media/index.20414a3fa1e6c5498a67.cjs +0 -1
- /package/build/static/js/{main.2c765c6d.js.LICENSE.txt → main.69d7d199.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=/[^\0-\x7E]/,t=/[\x2E\u3002\uFF0E\uFF61]/g,o={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},e=Math.floor,r=String.fromCharCode;function s(e){throw new RangeError(o[e])}const c=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},u=function(t,r,o){let n=0;for(t=o?e(t/700):t>>1,t+=e(t/r);t>455;n+=36)t=e(t/35);return e(n+36*t/(t+38))};function toASCII(o){return function(o,i){const a=o.split("@");let h="";a.length>1&&(h=a[0]+"@",o=a[1]);const l=function(e,t){const r=[];let o=e.length;for(;o--;)r[o]=t(e[o]);return r}((o=o.replace(t,".")).split("."),(function(t){return n.test(t)?"xn--"+function(t){const o=[],n=(t=function(e){const t=[];let r=0;const o=e.length;for(;r<o;){const n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<o){const o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&n)<<10)+(1023&o)+65536):(t.push(n),r--)}else t.push(n)}return t}(t)).length;let i=128,a=0,h=72;for(const e of t)e<128&&o.push(r(e));const l=o.length;let p=l;for(l&&o.push("-");p<n;){let n=2147483647;for(const e of t)e>=i&&e<n&&(n=e);const d=p+1;n-i>e((2147483647-a)/d)&&s("overflow"),a+=(n-i)*d,i=n;for(const f of t)if(f<i&&++a>2147483647&&s("overflow"),f==i){let t=a;for(let n=36;;n+=36){const s=n<=h?1:n>=h+26?26:n-h;if(t<s)break;const i=t-s,a=36-s;o.push(r(c(s+i%a,0))),t=e(i/a)}o.push(r(c(t,0))),h=u(a,d,p==l),a=0,++p}++a,++i}return o.join("")}(t):t})).join(".");return h+l}(o)}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_CARET_RE=/%5e/gi,ENC_BACKTICK_RE=/%60/gi,ENC_CURLY_OPEN_RE=/%7b/gi,ENC_PIPE_RE=/%7c/gi,ENC_CURLY_CLOSE_RE=/%7d/gi,ENC_SPACE_RE=/%20/gi,ENC_SLASH_RE=/%2f/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|")}function encodeHash(e){return encode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return encode("string"===typeof e?e:JSON.stringify(e)).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return encode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE,"%26").replace(PLUS_RE,"%2B")}function encodeParam(e){return encodePath(e).replace(SLASH_RE,"%2F")}function decode(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodePath(e){return decode(e.replace(ENC_SLASH_RE,"%252F"))}function decodeQueryValue(e){return decode(e.replace(PLUS_RE," "))}function encodeHost(e=""){return toASCII(e)}function parseQuery(e=""){const t={};"?"===e[0]&&(e=e.slice(1));for(const r of e.split("&")){const e=r.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;const o=decode(e[1]);if("__proto__"===o||"constructor"===o)continue;const n=decodeQueryValue(e[2]||"");"undefined"!==typeof t[o]?Array.isArray(t[o])?t[o].push(n):t[o]=[t[o],n]:t[o]=n}return t}function encodeQueryItem(e,t){return"number"!==typeof t&&"boolean"!==typeof t||(t=String(t)),t?Array.isArray(t)?t.map((t=>`${encodeQueryKey(e)}=${encodeQueryValue(t)}`)).join("&"):`${encodeQueryKey(e)}=${encodeQueryValue(t)}`:encodeQueryKey(e)}function stringifyQuery(e){return Object.keys(e).filter((t=>void 0!==e[t])).map((t=>encodeQueryItem(t,e[t]))).join("&")}class $URL{constructor(e=""){if(this.query={},"string"!==typeof e)throw new TypeError(`URL input should be string received ${typeof e} (${e})`);const t=parseURL(e);this.protocol=decode(t.protocol),this.host=decode(t.host),this.auth=decode(t.auth),this.pathname=decodePath(t.pathname),this.query=parseQuery(t.search),this.hash=decode(t.hash)}get hostname(){return parseHost(this.host).hostname}get port(){return parseHost(this.host).port||""}get username(){return parseAuth(this.auth).username}get password(){return parseAuth(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||"/"===this.pathname[0]}get search(){const e=stringifyQuery(this.query);return e.length>0?"?"+e:""}get searchParams(){const e=new URLSearchParams;for(const t in this.query){const r=this.query[t];if(Array.isArray(r))for(const o of r)e.append(t,o);else e.append(t,"string"===typeof r?r:JSON.stringify(r))}return e}get origin(){return(this.protocol?this.protocol+"//":"")+encodeHost(this.host)}get fullpath(){return encodePath(this.pathname)+this.search+encodeHash(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:e,password:t}=parseAuth(this.auth);return encodeURIComponent(e)+(t?":"+encodeURIComponent(t):"")}get href(){const e=this.encodedAuth,t=(this.protocol?this.protocol+"//":"")+(e?e+"@":"")+encodeHost(this.host);return this.hasProtocol&&this.isAbsolute?t+this.fullpath:this.fullpath}append(e){if(e.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,e.query),e.pathname&&(this.pathname=withTrailingSlash(this.pathname)+withoutLeadingSlash(e.pathname)),e.hash&&(this.hash=e.hash)}toJSON(){return this.href}toString(){return this.href}}function isRelative(e){return["./","../"].some((t=>e.startsWith(t)))}const PROTOCOL_STRICT_REGEX=/^\w{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^\w{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/;function hasProtocol(e,t={}){return"boolean"===typeof t&&(t={acceptRelative:t}),t.strict?PROTOCOL_STRICT_REGEX.test(e):PROTOCOL_REGEX.test(e)||!!t.acceptRelative&&PROTOCOL_RELATIVE_REGEX.test(e)}const TRAILING_SLASH_RE=/\/$|\/\?/;function hasTrailingSlash(e="",t=!1){return t?TRAILING_SLASH_RE.test(e):e.endsWith("/")}function withoutTrailingSlash(e="",t=!1){if(!t)return(hasTrailingSlash(e)?e.slice(0,-1):e)||"/";if(!hasTrailingSlash(e,!0))return e||"/";const[r,...o]=e.split("?");return(r.slice(0,-1)||"/")+(o.length>0?`?${o.join("?")}`:"")}function withTrailingSlash(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(hasTrailingSlash(e,!0))return e||"/";const[r,...o]=e.split("?");return r+"/"+(o.length>0?`?${o.join("?")}`:"")}function hasLeadingSlash(e=""){return e.startsWith("/")}function withoutLeadingSlash(e=""){return(hasLeadingSlash(e)?e.slice(1):e)||"/"}function withLeadingSlash(e=""){return hasLeadingSlash(e)?e:"/"+e}function cleanDoubleSlashes(e=""){return e.split("://").map((e=>e.replace(/\/{2,}/g,"/"))).join("://")}function withBase(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const r=withoutTrailingSlash(t);return e.startsWith(r)?e:joinURL(r,e)}function withoutBase(e,t){if(isEmptyURL(t))return e;const r=withoutTrailingSlash(t);if(!e.startsWith(r))return e;const o=e.slice(r.length);return"/"===o[0]?o:"/"+o}function withQuery(e,t){const r=parseURL(e),o={...parseQuery(r.search),...t};return r.search=stringifyQuery(o),stringifyParsedURL(r)}function getQuery(e){return parseQuery(parseURL(e).search)}function isEmptyURL(e){return!e||"/"===e}function isNonEmptyURL(e){return e&&"/"!==e}function joinURL(e,...t){let r=e||"";for(const o of t.filter((e=>isNonEmptyURL(e))))r=r?withTrailingSlash(r)+withoutLeadingSlash(o):o;return r}function withHttp(e){return withProtocol(e,"http://")}function withHttps(e){return withProtocol(e,"https://")}function withoutProtocol(e){return withProtocol(e,"")}function withProtocol(e,t){const r=e.match(PROTOCOL_REGEX);return r?t+e.slice(r[0].length):t+e}function createURL(e){return new $URL(e)}function normalizeURL(e){return createURL(e).toString()}function resolveURL(e,...t){const r=createURL(e);for(const o of t.filter((e=>isNonEmptyURL(e))))r.append(createURL(o));return r.toString()}function isSamePath(e,t){return decode(withoutTrailingSlash(e))===decode(withoutTrailingSlash(t))}function isEqual(e,t,r={}){return r.trailingSlash||(e=withTrailingSlash(e),t=withTrailingSlash(t)),r.leadingSlash||(e=withLeadingSlash(e),t=withLeadingSlash(t)),r.encoding||(e=decode(e),t=decode(t)),e===t}function parseURL(e="",t){if(!hasProtocol(e,{acceptRelative:!0}))return t?parseURL(t+e):parsePath(e);const[r="",o,n=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[s="",i=""]=(n.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:h,hash:c}=parsePath(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:h,hash:c}}function parsePath(e=""){const[t="",r="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:o}}function parseAuth(e=""){const[t,r]=e.split(":");return{username:decode(t),password:decode(r)}}function parseHost(e=""){const[t,r]=(e.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:decode(t),port:r}}function stringifyParsedURL(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}exports.$URL=$URL,exports.cleanDoubleSlashes=cleanDoubleSlashes,exports.createURL=createURL,exports.decode=decode,exports.decodePath=decodePath,exports.decodeQueryValue=decodeQueryValue,exports.encode=encode,exports.encodeHash=encodeHash,exports.encodeHost=encodeHost,exports.encodeParam=encodeParam,exports.encodePath=encodePath,exports.encodeQueryItem=encodeQueryItem,exports.encodeQueryKey=encodeQueryKey,exports.encodeQueryValue=encodeQueryValue,exports.getQuery=getQuery,exports.hasLeadingSlash=hasLeadingSlash,exports.hasProtocol=hasProtocol,exports.hasTrailingSlash=hasTrailingSlash,exports.isEmptyURL=isEmptyURL,exports.isEqual=isEqual,exports.isNonEmptyURL=isNonEmptyURL,exports.isRelative=isRelative,exports.isSamePath=isSamePath,exports.joinURL=joinURL,exports.normalizeURL=normalizeURL,exports.parseAuth=parseAuth,exports.parseHost=parseHost,exports.parsePath=parsePath,exports.parseQuery=parseQuery,exports.parseURL=parseURL,exports.resolveURL=resolveURL,exports.stringifyParsedURL=stringifyParsedURL,exports.stringifyQuery=stringifyQuery,exports.withBase=withBase,exports.withHttp=withHttp,exports.withHttps=withHttps,exports.withLeadingSlash=withLeadingSlash,exports.withProtocol=withProtocol,exports.withQuery=withQuery,exports.withTrailingSlash=withTrailingSlash,exports.withoutBase=withoutBase,exports.withoutLeadingSlash=withoutLeadingSlash,exports.withoutProtocol=withoutProtocol,exports.withoutTrailingSlash=withoutTrailingSlash;
|
|
File without changes
|