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.
 
 
 
 
 
 
nextcloud-server/dist/comments-comments-tab.js

2 lines
201 KiB

(()=>{var t,e,r,n={406(t,e,r){"use strict";function n(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw new TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0].match(/^file:\/\/\//)?t[0]=t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0]=t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n<t.length;n++){var o=t[n];if("string"!=typeof o)throw new TypeError("Url must be a string. Received "+o);""!==o&&(n>0&&(o=o.replace(/^[\/]+/,"")),o=n<t.length-1?o.replace(/[\/]+$/,""):o.replace(/[\/]+$/,"/"),e.push(o))}var i=e.join("/"),s=(i=i.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}r.d(e,{A:()=>n})},920(t,e,r){"use strict";var n=r(69675),o=r(58859),i=r(14803),s=r(80507),a=r(72271)||s||i;t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new n("Side channel does not contain "+o(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,r){t||(t=a()),t.set(e,r)}};return e}},4233(t){"use strict";const e=function*(){}.constructor;t.exports=()=>e},4471(t){"use strict";t.exports=class{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}},4951(t,e,r){"use strict";const n=r(56401),o=r(42792),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function s(t){this.options=Object.assign({},i,t),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=o(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=c),this.processTextOrObjNode=a,this.options.format?(this.indentate=u,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(t,e,r,n){const o=this.j2x(t,r+1,n.concat(e));return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,o.attrStr,r):this.buildObjectNode(o.val,e,o.attrStr,r)}function u(t){return this.options.indentBy.repeat(t)}function c(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}s.prototype.build=function(t){return this.options.preserveOrder?n(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0,[]).val)},s.prototype.j2x=function(t,e,r){let n="",o="";const i=r.join(".");for(let s in t)if(Object.prototype.hasOwnProperty.call(t,s))if(void 0===t[s])this.isAttribute(s)&&(o+="");else if(null===t[s])this.isAttribute(s)||s===this.options.cdataPropName?o+="":"?"===s[0]?o+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:o+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if(t[s]instanceof Date)o+=this.buildTextValNode(t[s],s,"",e);else if("object"!=typeof t[s]){const r=this.isAttribute(s);if(r&&!this.ignoreAttributesFn(r,i))n+=this.buildAttrPairStr(r,""+t[s]);else if(!r)if(s===this.options.textNodeName){let e=this.options.tagValueProcessor(s,""+t[s]);o+=this.replaceEntitiesValue(e)}else o+=this.buildTextValNode(t[s],s,"",e)}else if(Array.isArray(t[s])){const n=t[s].length;let i="",a="";for(let u=0;u<n;u++){const n=t[s][u];if(void 0===n);else if(null===n)"?"===s[0]?o+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:o+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){const t=this.j2x(n,e+1,r.concat(s));i+=t.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(a+=t.attrStr)}else i+=this.processTextOrObjNode(n,s,e,r);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(s,n);t=this.replaceEntitiesValue(t),i+=t}else i+=this.buildTextValNode(n,s,"",e)}this.options.oneListGroup&&(i=this.buildObjectNode(i,s,a,e)),o+=i}else if(this.options.attributesGroupName&&s===this.options.attributesGroupName){const e=Object.keys(t[s]),r=e.length;for(let o=0;o<r;o++)n+=this.buildAttrPairStr(e[o],""+t[s][e[o]])}else o+=this.processTextOrObjNode(t[s],s,e,r);return{attrStr:n,val:o}},s.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},s.prototype.buildObjectNode=function(t,e,r,n){if(""===t)return"?"===e[0]?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;{let o="</"+e+this.tagEndChar,i="";return"?"===e[0]&&(i="?",o=""),!r&&""!==r||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===i.length?this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+o:this.indentate(n)+"<"+e+r+i+">"+t+o}},s.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},s.prototype.buildTextValNode=function(t,e,r,n){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(e,t);return o=this.replaceEntitiesValue(o),""===o?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+o+"</"+e+this.tagEndChar}},s.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const r=this.options.entities[e];t=t.replace(r.regex,r.val)}return t},t.exports=s},5e3(t,e,r){"use strict";r.d(e,{HT:()=>s,YQ:()=>i,eh:()=>a,hq:()=>u});var n=r(44916),o=r(79605);function i(t,e=""){const r=new Error(`${e}Invalid response: ${t.status} ${t.statusText}`);return r.status=t.status,r.response=t,r}function s(t,e){const{status:r}=e;if(401===r&&t.digest)return e;if(r>=400)throw i(e);return e}function a(t,e){return t.filter(t=>(0,n.xF)(t.filename,e,{matchBase:!0}))}function u(t,e,r=!1){return r?{data:e,headers:t.headers?(0,o.N)(t.headers):{},status:t.status,statusText:t.statusText}:e}},5428(t,e,r){"use strict";var n,o,i,s,a=r(21777),u=r(36520),c=r(380),l=r(20005),f=r(53334),h=r(65606);function p(){if(o)return n;o=1;const t="object"==typeof h&&h.env&&h.env.NODE_DEBUG&&/\bsemver\b/i.test(h.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};return n=t}function d(){if(s)return i;s=1;const t=Number.MAX_SAFE_INTEGER||9007199254740991;return i={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}Object.freeze({DEFAULT:"default",HIDDEN:"hidden"});var g,y,m,b,v,w,E,O,S,A,x,T,_,R={exports:{}};function N(){if(E)return w;E=1;const t=p(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:r}=d(),{safeRe:n,t:o}=(g||(g=1,function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=d(),i=p(),s=(e=t.exports={}).re=[],a=e.safeRe=[],u=e.src=[],c=e.safeSrc=[],l=e.t={};let f=0;const h="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",o],[h,n]],y=(t,e,r)=>{const n=(t=>{for(const[e,r]of g)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),o=f++;i(t,o,e),l[t]=o,u[o]=e,c[o]=n,s[o]=new RegExp(e,r?"g":void 0),a[o]=new RegExp(n,r?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),y("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${h}+`),y("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),y("FULL",`^${u[l.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),y("LOOSE",`^${u[l.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),y("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?(?:${u[l.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",u[l.COERCE],!0),y("COERCERTLFULL",u[l.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(R,R.exports)),R.exports),i=function(){if(m)return y;m=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return y=r=>r?"object"!=typeof r?t:r:e}(),{compareIdentifiers:s}=function(){if(v)return b;v=1;const t=/^[0-9]+$/,e=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:e<r?-1:1};return b={compareIdentifiers:e,rcompareIdentifiers:(t,r)=>e(r,t)}}();class a{constructor(s,u){if(u=i(u),s instanceof a){if(s.loose===!!u.loose&&s.includePrerelease===!!u.includePrerelease)return s;s=s.version}else if("string"!=typeof s)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>e)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",s,u),this.options=u,this.loose=!!u.loose,this.includePrerelease=!!u.includePrerelease;const c=s.trim().match(u.loose?n[o.LOOSE]:n[o.FULL]);if(!c)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map(t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<r)return e}return t}):this.prerelease=[],this.build=c[5]?c[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(t("SemVer.compare",this.version,this.options,e),!(e instanceof a)){if("string"==typeof e&&e===this.version)return 0;e=new a(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(t){return t instanceof a||(t=new a(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(e){if(e instanceof a||(e=new a(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const n=this.prerelease[r],o=e.prerelease[r];if(t("prerelease compare",r,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return s(n,o)}while(++r)}compareBuild(e){e instanceof a||(e=new a(e,this.options));let r=0;do{const n=this.build[r],o=e.build[r];if(t("build compare",r,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return s(n,o)}while(++r)}inc(t,e,r){if(t.startsWith("pre")){if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(e){const t=`-${e}`.match(this.options.loose?n[o.PRERELEASELOOSE]:n[o.PRERELEASE]);if(!t||t[1]!==e)throw new Error(`invalid identifier: ${e}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===s(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return w=a}!function(){if(S)return O;S=1;const t=N();O=(e,r)=>new t(e,r).major}(),function(){if(_)return T;_=1;const t=function(){if(x)return A;x=1;const t=N();return A=(e,r,n=!1)=>{if(e instanceof t)return e;try{return new t(e,r)}catch(t){if(!n)return null;throw t}}}();T=(e,r)=>{const n=t(e,r);return n?n.version:null}}(),c.m,Object.freeze({UploadFromDevice:0,CreateNew:1,Other:2}),Object.freeze({ReservedName:"reserved name",Character:"character",Extension:"extension"}),Error,Object.freeze({Name:"basename",Modified:"mtime",Size:"size"});var j=r(81222),I=r(26422),P=r(10810),L=r(85471),C=r(51651),k=r(96689),M=r(35906);let $,D;L.Ay.use(P.R2),r.nc=(0,a.aV)();const U="comments_files-sidebar-tab";var F;(0,j.C)("comments","activityEnabled",!1)&&void 0!==OCA?.Activity?.registerSidebarAction?window.addEventListener("DOMContentLoaded",function(){window.OCA.Activity.registerSidebarAction({mount:async(t,{node:e,reload:n})=>{const o=(0,P.Ey)();if(!$){const{default:t}=await Promise.all([r.e(4208),r.e(3556),r.e(4906)]).then(r.bind(r,44906));$=L.Ay.extend(t)}D=new $({el:t,pinia:o,propsData:{reloadCallback:n,resourceId:e.fileid}}),k.A.info("Comments plugin mounted in Activity sidebar action",{node:e})},unmount:()=>{D&&D.$destroy()}}),window.OCA.Activity.registerSidebarEntries(async({node:t,limit:e,offset:n})=>{const{data:o}=await(0,M.v)({resourceType:"files",resourceId:t.fileid},{limit:e,offset:n??0});k.A.debug("Loaded comments",{node:t,comments:o});const{default:i}=await Promise.all([r.e(4208),r.e(3556),r.e(7039)]).then(r.bind(r,57039)),s=L.Ay.extend(i);return o.map(e=>({_CommentsViewInstance:void 0,timestamp:(0,C.A)(e.props?.creationDateTime).toDate().getTime(),mount(r,{reload:n}){this._CommentsViewInstance=new s({el:r,propsData:{comment:e,resourceId:t.fileid,reloadCallback:n}})},unmount(){this._CommentsViewInstance?.$destroy()}}))}),window.OCA.Activity.registerSidebarFilter(t=>"comments"!==t.type),k.A.info("Comments plugin registered for Activity sidebar action")}):(function(t){if("object"!=typeof t)throw new Error("Sidebar tab is not an object");if(!t.id||"string"!=typeof t.id||t.id!==CSS.escape(t.id))throw new Error("Sidebar tabs need to have an id conforming to the HTML id attribute specifications");if(!t.tagName||"string"!=typeof t.tagName)throw new Error("Sidebar tabs need to have the tagName name set");if(!t.tagName.match(/^[a-z][a-z0-9-_]+$/))throw new Error('Sidebar tab "tagName" is invalid');if(!t.displayName||"string"!=typeof t.displayName)throw new Error("Sidebar tabs need to have a name set");if("string"!=typeof t.iconSvgInline||!(0,l.A)(t.iconSvgInline))throw new Error("Sidebar tabs need to have an valid SVG icon");if("number"!=typeof t.order)throw new Error("Sidebar tabs need to have a numeric order set");if(t.enabled&&"function"!=typeof t.enabled)throw new Error('Sidebar tab "enabled" is not a function');if(t.onInit&&"function"!=typeof t.onInit)throw new Error('Sidebar tab "onInit" is not a function')}(F={id:"comments",displayName:(0,f.t)("comments","Comments"),iconSvgInline:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-message-reply-text" viewBox="0 0 24 24"><path d="M18,8H6V6H18V8M18,11H6V9H18V11M18,14H6V12H18V14M22,4A2,2 0 0,0 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z" /></svg>',order:50,tagName:U,async onInit(){const{default:t}=await Promise.all([r.e(4208),r.e(3556),r.e(8124)]).then(r.bind(r,38124));L.Ay.use(P.R2),L.Ay.mixin({pinia:(0,P.Ey)()});const e=(0,I.A)(L.Ay,t);Object.defineProperty(e.prototype,"attachShadow",{value(){return this}}),Object.defineProperty(e.prototype,"shadowRoot",{get(){return this}}),window.customElements.define(U,e)}}),window._nc_files_sidebar_tabs??=new Map,window._nc_files_sidebar_tabs.has(F.id)?u.l.warn(`Sidebar tab with id "${F.id}" already registered. Skipping.`):(window._nc_files_sidebar_tabs.set(F.id,F),u.l.debug(`New sidebar tab with id "${F.id}" registered.`)))},6312(t,e,r){const{buildOptions:n}=r(95109),o=r(52117),{prettify:i}=r(74470),s=r(98957);t.exports=class{constructor(t){this.externalEntities={},this.options=n(t)}parse(t,e){if("string"==typeof t);else{if(!t.toString)throw new Error("XML data is accepted in String or Bytes[] form.");t=t.toString()}if(e){!0===e&&(e={});const r=s.validate(t,e);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const r=new o(this.options);r.addExternalEntities(this.externalEntities);const n=r.parseXml(t);return this.options.preserveOrder||void 0===n?n:i(n,this.options)}addEntity(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}}},6314(t){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},6688(t,e){var r;function n(){if(void 0!==r)return r;if(globalThis.XMLHttpRequest){r=new globalThis.XMLHttpRequest;try{r.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(t){r=null}}else r=null;return r}function o(t){var e=n();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function i(t){return"function"==typeof t}e.fetch=i(globalThis.fetch)&&i(globalThis.ReadableStream),e.writableStream=i(globalThis.WritableStream),e.abortController=i(globalThis.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!n()&&i(n().overrideMimeType),r=null},6917(t,e,r){var n=r(65606),o=r(62045).hp,i=r(6688),s=r(56698),a=r(63242),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(t,e,r,s){var u=this;if(a.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){n.nextTick(function(){u.emit("close")})}),"fetch"===r){if(u._fetchResponse=e,u.url=e.url,u.statusCode=e.status,u.statusMessage=e.statusText,e.headers.forEach(function(t,e){u.headers[e.toLowerCase()]=t,u.rawHeaders.push(e,t)}),i.writableStream){var c=new WritableStream({write:function(t){return s(!1),new Promise(function(e,r){u._destroyed?r():u.push(o.from(t))?e():u._resumeFetch=e})},close:function(){s(!0),u._destroyed||u.push(null)},abort:function(t){s(!0),u._destroyed||u.emit("error",t)}});try{return void e.body.pipeTo(c).catch(function(t){s(!0),u._destroyed||u.emit("error",t)})}catch(t){}}var l=e.body.getReader();!function t(){l.read().then(function(e){u._destroyed||(s(e.done),e.done?u.push(null):(u.push(o.from(e.value)),t()))}).catch(function(t){s(!0),u._destroyed||u.emit("error",t)})}()}else if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(e[2])):void 0!==u.headers[r]?u.headers[r]+=", "+e[2]:u.headers[r]=e[2],u.rawHeaders.push(e[1],e[2])}}),u._charset="x-user-defined",!i.overrideMimeType){var f=u.rawHeaders["mime-type"];if(f){var h=f.match(/;\s*charset=([^;])(;|$)/);h&&(u._charset=h[1].toLowerCase())}u._charset||(u._charset="utf-8")}};s(c,a.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(t){var e=this,r=e._xhr,n=null;switch(e._mode){case"text":if((n=r.responseText).length>e._pos){var i=n.substr(e._pos);if("x-user-defined"===e._charset){for(var s=o.alloc(i.length),a=0;a<i.length;a++)s[a]=255&i.charCodeAt(a);e.push(s)}else e.push(i,e._charset);e._pos=n.length}break;case"arraybuffer":if(r.readyState!==u.DONE||!r.response)break;n=r.response,e.push(o.from(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=r.response,r.readyState!==u.LOADING||!n)break;e.push(o.from(new Uint8Array(n)));break;case"ms-stream":if(n=r.response,r.readyState!==u.LOADING)break;var c=new globalThis.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(o.from(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){t(!0),e.push(null)},c.readAsArrayBuffer(n)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&(t(!0),e.push(null))}},7815(t,e,r){"use strict";r.d(e,{K:()=>o});var n=r(90176);function o(t){try{const[e]=t.multistatus.response,{propstat:{prop:{"quota-used-bytes":r,"quota-available-bytes":o}}}=e;return void 0!==r&&void 0!==o?{used:parseInt(String(r),10),available:(0,n.i5)(o)}:null}catch(t){}return null}},8505(t){"use strict";function e(t,e,o){t instanceof RegExp&&(t=r(t,o)),e instanceof RegExp&&(e=r(e,o));var i=n(t,e,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+t.length,i[1]),post:o.slice(i[1]+e.length)}}function r(t,e){var r=e.match(t);return r?r[0]:null}function n(t,e,r){var n,o,i,s,a,u=r.indexOf(t),c=r.indexOf(e,u+1),l=u;if(u>=0&&c>0){if(t===e)return[u,c];for(n=[],i=r.length;l>=0&&!a;)l==u?(n.push(l),u=r.indexOf(t,l+1)):1==n.length?a=[n.pop(),c]:((o=n.pop())<i&&(i=o,s=c),c=r.indexOf(e,l+1)),l=u<c&&u>=0?u:c;n.length&&(a=[i,s])}return a}t.exports=e,e.range=n},9573(t,e,r){"use strict";var n,o=r(65606);function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e){var r=t.entry;for(t.entry=null;r;){var n=r.callback;e.pendingcb--,n(undefined),r=r.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=x,x.WritableState=A;var s,a={deprecate:r(94643)},u=r(81914),c=r(1048).Buffer,l=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=r(16057),h=r(11922).getHighWaterMark,p=r(73157).F,d=p.ERR_INVALID_ARG_TYPE,g=p.ERR_METHOD_NOT_IMPLEMENTED,y=p.ERR_MULTIPLE_CALLBACK,m=p.ERR_STREAM_CANNOT_PIPE,b=p.ERR_STREAM_DESTROYED,v=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,E=p.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function S(){}function A(t,e,s){n=n||r(63527),t=t||{},"boolean"!=typeof s&&(s=e instanceof n),this.objectMode=!!t.objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new y;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(I,t,e),t._writableState.errorEmitted=!0,O(t,n)):(i(n),t._writableState.errorEmitted=!0,O(t,n),I(t,e))}(t,r,n,e,i);else{var s=N(r)||t.destroyed;s||r.corked||r.bufferProcessing||!r.bufferedRequest||R(t,r),n?o.nextTick(_,t,r,s,i):_(t,r,s,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function x(t){var e=this instanceof(n=n||r(63527));if(!e&&!s.call(x,this))return new x(t);this._writableState=new A(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),u.call(this)}function T(t,e,r,n,o,i,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new b("write")):r?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function _(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),I(t,e)}function R(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)o[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;o.allBuffers=u,T(t,e,!0,e.length,o,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(T(t,e,!1,e.objectMode?1:c.length,c,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function N(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function j(t,e){t._final(function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),I(t,e)})}function I(t,e){var r=N(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,o.nextTick(j,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}r(56698)(x,u),A.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(A.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return!!s.call(this,t)||this===x&&t&&t._writableState instanceof A}})):s=function(t){return t instanceof this},x.prototype.pipe=function(){O(this,new m)},x.prototype.write=function(t,e,r){var n,i=this._writableState,s=!1,a=!i.objectMode&&(n=t,c.isBuffer(n)||n instanceof l);return a&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=S),i.ending?function(t,e){var r=new w;O(t,r),o.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var i;return null===r?i=new v:"string"==typeof r||e.objectMode||(i=new d("chunk",["string","Buffer"],r)),!i||(O(t,i),o.nextTick(n,i),!1)}(this,i,t,r))&&(i.pendingcb++,s=function(t,e,r,n,o,i){if(!r){var s=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=c.from(e,r)),e}(e,n,o);n!==s&&(r=!0,o="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:i,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else T(t,e,!1,a,n,o,i);return u}(this,i,a,t,e,r)),s},x.prototype.cork=function(){this._writableState.corked++},x.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||R(this,t))},x.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new E(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(t,e,r){r(new g("_write()"))},x.prototype._writev=null,x.prototype.end=function(t,e,r){var n=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,I(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),x.prototype.destroy=f.destroy,x.prototype._undestroy=f.undestroy,x.prototype._destroy=function(t,e){e(t)}},9655(t,e,r){var n;t=r.nmd(t),function(){e&&e.nodeType,t&&t.nodeType;var o="object"==typeof globalThis&&globalThis;o.global!==o&&o.window!==o&&o.self;var i,s=2147483647,a=36,u=/^xn--/,c=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function d(t){throw new RangeError(f[t])}function g(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function y(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+g((t=t.replace(l,".")).split("."),e).join(".")}function m(t){for(var e,r,n=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(r=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--):n.push(e);return n}function b(t){return g(t,function(t){var e="";return t>65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+p(t)}).join("")}function v(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:a}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,r){var n=0;for(t=r?h(t/700):t>>1,t+=h(t/e);t>455;n+=a)t=h(t/35);return h(n+36*t/(t+38))}function O(t){var e,r,n,o,i,u,c,l,f,p,g=[],y=t.length,m=0,w=128,O=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&d("not-basic"),g.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=m,u=1,c=a;o>=y&&d("invalid-input"),((l=v(t.charCodeAt(o++)))>=a||l>h((s-m)/u))&&d("overflow"),m+=l*u,!(l<(f=c<=O?1:c>=O+26?26:c-O));c+=a)u>h(s/(p=a-f))&&d("overflow"),u*=p;O=E(m-i,e=g.length+1,0==i),h(m/e)>s-w&&d("overflow"),w+=h(m/e),m%=e,g.splice(m++,0,w)}return b(g)}function S(t){var e,r,n,o,i,u,c,l,f,g,y,b,v,O,S,A=[];for(b=(t=m(t)).length,e=128,r=0,i=72,u=0;u<b;++u)(y=t[u])<128&&A.push(p(y));for(n=o=A.length,o&&A.push("-");n<b;){for(c=s,u=0;u<b;++u)(y=t[u])>=e&&y<c&&(c=y);for(c-e>h((s-r)/(v=n+1))&&d("overflow"),r+=(c-e)*v,e=c,u=0;u<b;++u)if((y=t[u])<e&&++r>s&&d("overflow"),y==e){for(l=r,f=a;!(l<(g=f<=i?1:f>=i+26?26:f-i));f+=a)S=l-g,O=a-g,A.push(p(w(g+S%O,0))),l=h(S/O);A.push(p(w(l,0))),i=E(r,v,n==o),r=0,++n}++r,++e}return A.join("")}i={version:"1.4.1",ucs2:{decode:m,encode:b},decode:O,encode:S,toASCII:function(t){return y(t,function(t){return c.test(t)?"xn--"+S(t):t})},toUnicode:function(t){return y(t,function(t){return u.test(t)?O(t.slice(4).toLowerCase()):t})}},void 0===(n=function(){return i}.call(e,r,e,t))||(t.exports=n)}()},10272(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){i(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function i(t,e,r){return(e=a(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a(n.key),n)}}function a(t){var e=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}var u=r(1048).Buffer,c=r(59169).inspect,l=c&&c.custom||"inspect";function f(t,e,r){u.prototype.copy.call(t,e,r)}t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var e=u.allocUnsafe(t>>>0),r=this.head,n=0;r;)f(r.data,e,n),n+=r.data.length,r=r.next;return e}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var o=e.data,i=t>o.length?o.length:t;if(i===o.length?n+=o:n+=o.slice(0,t),0===(t-=i)){i===o.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=u.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var o=r.data,i=t>o.length?o.length:t;if(o.copy(e,e.length-t,0,i),0===(t-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,e}},{key:l,value:function(t,e){return c(this,o(o({},e),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()},10524(t,e,r){"use strict";r.d(e,{p:()=>a});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3);async function a(t,e,r={}){const a=(0,i.H)({url:(0,n.oq)(t.remoteURL,(0,o.O0)(e)),method:"OPTIONS"},t,r),u=await(0,i.E)(a,t);try{(0,s.HT)(t,u)}catch(t){throw t}return{compliance:(u.headers.get("DAV")??"").split(",").map(t=>t.trim()),server:u.headers.get("Server")??""}}},11083(t,e,r){var n=r(11568),o=r(88835),i=t.exports;for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);function a(t){if("string"==typeof t&&(t=o.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}i.request=function(t,e){return t=a(t),n.request.call(this,t,e)},i.get=function(t,e){return t=a(t),n.get.call(this,t,e)}},11163(t,e,r){"use strict";r.d(e,{z:()=>n});function n(){return"Layerr"}},11568(t,e,r){var n=r(55537),o=r(6917),i=r(57510),s=r(86866),a=r(88835),u=e;u.request=function(t,e){t="string"==typeof t?a.parse(t):i(t);var r=-1===globalThis.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||r,s=t.hostname||t.host,u=t.port,c=t.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),t.url=(s?o+"//"+s:"")+(u?":"+u:"")+c,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var l=new n(t);return e&&l.on("response",e),l},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=o.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},11922(t,e,r){"use strict";var n=r(73157).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,o){var i=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new n(o?r:"highWaterMark",i);return Math.floor(i)}return t.objectMode?16:16384}}},12692(t,e,r){"use strict";var n=r(65606),o=r(40537),i=function(t){return"string"==typeof t};function s(t,e){for(var r=[],n=0;n<t.length;n++){var o=t[n];o&&"."!==o&&(".."===o?r.length&&".."!==r[r.length-1]?r.pop():e&&r.push(".."):r.push(o))}return r}var a=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,u={};function c(t){return a.exec(t).slice(1)}u.resolve=function(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var o=r>=0?arguments[r]:n.cwd();if(!i(o))throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,e="/"===o.charAt(0))}return(e?"/":"")+(t=s(t.split("/"),!e).join("/"))||"."},u.normalize=function(t){var e=u.isAbsolute(t),r="/"===t.substr(-1);return(t=s(t.split("/"),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t},u.isAbsolute=function(t){return"/"===t.charAt(0)},u.join=function(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];if(!i(r))throw new TypeError("Arguments to path.join must be strings");r&&(t+=t?"/"+r:r)}return u.normalize(t)},u.relative=function(t,e){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r+1)}t=u.resolve(t).substr(1),e=u.resolve(e).substr(1);for(var n=r(t.split("/")),o=r(e.split("/")),i=Math.min(n.length,o.length),s=i,a=0;a<i;a++)if(n[a]!==o[a]){s=a;break}var c=[];for(a=s;a<n.length;a++)c.push("..");return(c=c.concat(o.slice(s))).join("/")},u._makeLong=function(t){return t},u.dirname=function(t){var e=c(t),r=e[0],n=e[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},u.basename=function(t,e){var r=c(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},u.extname=function(t){return c(t)[3]},u.format=function(t){if(!o.isObject(t))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof t);var e=t.root||"";if(!i(e))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof t.root);return(t.dir?t.dir+u.sep:"")+(t.base||"")},u.parse=function(t){if(!i(t))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof t);var e=c(t);if(!e||4!==e.length)throw new TypeError("Invalid path '"+t+"'");return e[1]=e[1]||"",e[2]=e[2]||"",e[3]=e[3]||"",{root:e[0],dir:e[0]+e[1].slice(0,e[1].length-1),base:e[2],ext:e[3],name:e[2].slice(0,e[2].length-e[3].length)}},u.sep="/",u.delimiter=":",t.exports=u},13197(t,e,r){"use strict";r(91573),r(40144)},14035(t,e,r){"use strict";var n,o=r(36556),i=r(49092)(),s=r(9957),a=r(75795);if(i){var u=o("RegExp.prototype.exec"),c={},l=function(){throw c},f={toString:l,valueOf:l};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=l),n=function(t){if(!t||"object"!=typeof t)return!1;var e=a(t,"lastIndex");if(!e||!s(e,"value"))return!1;try{u(t,f)}catch(t){return t===c}}}else{var h=o("Object.prototype.toString");n=function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===h(t)}}t.exports=n},14113(t,e,r){"use strict";const n=r(98957),o=r(6312),i=r(4951);t.exports={XMLParser:o,XMLValidator:n,XMLBuilder:i}},14803(t,e,r){"use strict";var n=r(58859),o=r(69675),i=function(t,e,r){for(var n,o=t;null!=(n=o.next);o=n)if(n.key===e)return o.next=n.next,r||(n.next=t.next,t.next=n),n};t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new o("Side channel does not contain "+n(t))},delete:function(e){var r=t&&t.next,n=function(t,e){if(t)return i(t,e,!0)}(t,e);return n&&r&&r===n&&(t=void 0),!!n},get:function(e){return function(t,e){if(t){var r=i(t,e);return r&&r.value}}(t,e)},has:function(e){return function(t,e){return!!t&&!!i(t,e)}(t,e)},set:function(e,r){t||(t={next:void 0}),function(t,e,r){var n=i(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(t,e,r)}};return e}},15723(t,e,r){"use strict";var n,o;r(26549),r(13197),r(40144),function(t){t[t.XML=0]="XML",t[t.HTML=1]="HTML"}(n||(n={})),function(t){t[t.UTF8=0]="UTF8",t[t.ASCII=1]="ASCII",t[t.Extensive=2]="Extensive",t[t.Attribute=3]="Attribute",t[t.Text=4]="Text"}(o||(o={}))},16057(t,e,r){"use strict";var n=r(65606);function o(t,e){s(t,e),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function s(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(s,this,t)):n.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(i,r):(r._writableState.errorEmitted=!0,n.nextTick(o,r,t)):n.nextTick(o,r,t):e?(n.nextTick(i,r),e(t)):n.nextTick(i,r)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},17003(t,e,r){"use strict";r.d(e,{e:()=>o});var n=r(63814);function o(){return(0,n.dC)("dav/comments")}},17356(t,e,r){"use strict";var n,o=r(65606);function i(t,e,r){return(e=function(t){var e=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(19959),a=Symbol("lastResolve"),u=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),f=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream");function d(t,e){return{value:t,done:e}}function g(t){var e=t[a];if(null!==e){var r=t[p].read();null!==r&&(t[f]=null,t[a]=null,t[u]=null,e(d(r,!1)))}}function y(t){o.nextTick(g,t)}var m=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((i(n={get stream(){return this[p]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[l])return Promise.resolve(d(void 0,!0));if(this[p].destroyed)return new Promise(function(e,r){o.nextTick(function(){t[c]?r(t[c]):e(d(void 0,!0))})});var r,n=this[f];if(n)r=new Promise(function(t,e){return function(r,n){t.then(function(){e[l]?r(d(void 0,!0)):e[h](r,n)},n)}}(n,this));else{var i=this[p].read();if(null!==i)return Promise.resolve(d(i,!1));r=new Promise(this[h])}return this[f]=r,r}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var t=this;return new Promise(function(e,r){t[p].destroy(null,function(t){t?r(t):e(d(void 0,!0))})})}),n),m);t.exports=function(t){var e,r=Object.create(b,(i(e={},p,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,u,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,l,{value:t._readableState.endEmitted,writable:!0}),i(e,h,{value:function(t,e){var n=r[p].read();n?(r[f]=null,r[a]=null,r[u]=null,t(d(n,!1))):(r[a]=t,r[u]=e)},writable:!0}),e));return r[f]=null,s(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[u];return null!==e&&(r[f]=null,r[a]=null,r[u]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[f]=null,r[a]=null,r[u]=null,n(d(void 0,!0))),r[l]=!0}),t.on("readable",y.bind(null,r)),r}},17601(t,e,r){"use strict";r.d(e,{G:()=>s});var n=r(93028),o=r(11163),i=r(78049);class s extends Error{constructor(t,e){const r=[...arguments],{options:n,shortMessage:s}=(0,i.W)(r);let a=s;if(n.cause&&(a=`${a}: ${n.cause.message}`),super(a),this.message=a,n.name&&"string"==typeof n.name?this.name=n.name:this.name=(0,o.z)(),n.cause&&Object.defineProperty(this,"_cause",{value:n.cause}),Object.defineProperty(this,"_info",{value:{}}),n.info&&"object"==typeof n.info&&Object.assign(this._info,n.info),Error.captureStackTrace){const t=n.constructorOpt||this.constructor;Error.captureStackTrace(this,t)}}static cause(t){return(0,n.t)(t),t._cause&&(0,n.b)(t._cause)?t._cause:null}static fullStack(t){(0,n.t)(t);const e=s.cause(t);return e?`${t.stack}\ncaused by: ${s.fullStack(e)}`:t.stack??""}static info(t){(0,n.t)(t);const e={},r=s.cause(t);return r&&Object.assign(e,s.info(r)),t._info&&Object.assign(e,t._info),e}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}},17658(t,e,r){"use strict";r.d(e,{F:()=>p,b:()=>d});var n=r(42294),o=r(85394),i=r(36236),s=r(57221),a=r(22921),u=r(89062),c=r(5e3),l=r(38374),f=r(62045).hp;const h=t=>t;async function p(t,e,r={}){const{format:s="binary"}=r;if("binary"!==s&&"text"!==s)throw new n.GU({info:{code:l.O4.InvalidOutputFormat}},`Invalid output format: ${s}`);return"text"===s?async function(t,e,r={}){const n=(0,u.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[h]},t,r),s=await(0,u.E)(n,t);(0,c.HT)(t,s);const a=await s.text();return(0,c.hq)(s,a,r.details)}(t,e,r):async function(t,e,r={}){const n=(0,u.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"GET"},t,r),s=await(0,u.E)(n,t);let l;return(0,c.HT)(t,s),l=(0,a.HZ)()||(0,a.lV)()?await s.arrayBuffer():f.from(await s.arrayBuffer()),(0,c.hq)(s,l,r.details)}(t,e,r)}function d(t,e){let r=(0,o.oq)(t.remoteURL,(0,i.O0)(e));const a=/^https:/i.test(r)?"https":"http";switch(t.authType){case l.hT.None:break;case l.hT.Password:{const e=t.headers.Authorization.replace(/^Basic /i,"").trim(),n=(0,s.Ey)(e);r=r.replace(/^https?:\/\//,`${a}://${n}@`);break}default:throw new n.GU({info:{code:l.O4.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return r}},17908(t,e,r){"use strict";r.d(e,{d:()=>g});var n=r(73733),o=r(24754);const i=new Set(["!","?","+","*","@"]),s=t=>i.has(t),a="(?!\\.)",u=new Set(["[","."]),c=new Set(["..","."]),l=new Set("().*{}+?[]^$\\!"),f=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),h="[^/]",p=h+"*?",d=h+"+?";class g{type;#t;#e;#r=!1;#n=[];#o;#i;#s;#a=!1;#u;#c;#l=!1;constructor(t,e,r={}){this.type=t,t&&(this.#e=!0),this.#o=e,this.#t=this.#o?this.#o.#t:this,this.#u=this.#t===this?r:this.#t.#u,this.#s=this.#t===this?[]:this.#t.#s,"!"!==t||this.#t.#a||this.#s.push(this),this.#i=this.#o?this.#o.#n.length:0}get hasMagic(){if(void 0!==this.#e)return this.#e;for(const t of this.#n)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#e=!0;return this.#e}toString(){return void 0!==this.#c?this.#c:this.type?this.#c=this.type+"("+this.#n.map(t=>String(t)).join("|")+")":this.#c=this.#n.map(t=>String(t)).join("")}#f(){if(this!==this.#t)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#s.pop();){if("!"!==t.type)continue;let e=t,r=e.#o;for(;r;){for(let n=e.#i+1;!r.type&&n<r.#n.length;n++)for(const e of t.#n){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(r.#n[n])}e=r,r=e.#o}}return this}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof g&&e.#o===this))throw new Error("invalid part: "+e);this.#n.push(e)}}toJSON(){const t=null===this.type?this.#n.slice().map(t=>"string"==typeof t?t:t.toJSON()):[this.type,...this.#n.map(t=>t.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#a&&"!"===this.#o?.type)&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#o?.isStart())return!1;if(0===this.#i)return!0;const t=this.#o;for(let e=0;e<this.#i;e++){const r=t.#n[e];if(!(r instanceof g&&"!"===r.type))return!1}return!0}isEnd(){if(this.#t===this)return!0;if("!"===this.#o?.type)return!0;if(!this.#o?.isEnd())return!1;if(!this.type)return this.#o?.isEnd();const t=this.#o?this.#o.#n.length:0;return this.#i===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new g(this.type,t);for(const t of this.#n)e.copyIn(t);return e}static#h(t,e,r,n){let o=!1,i=!1,a=-1,u=!1;if(null===e.type){let c=r,l="";for(;c<t.length;){const r=t.charAt(c++);if(o||"\\"===r)o=!o,l+=r;else if(i)c===a+1?"^"!==r&&"!"!==r||(u=!0):"]"!==r||c===a+2&&u||(i=!1),l+=r;else if("["!==r){if(!n.noext&&s(r)&&"("===t.charAt(c)){e.push(l),l="";const o=new g(r,e);c=g.#h(t,o,c,n),e.push(o);continue}l+=r}else i=!0,a=c,u=!1,l+=r}return e.push(l),c}let c=r+1,l=new g(null,e);const f=[];let h="";for(;c<t.length;){const r=t.charAt(c++);if(o||"\\"===r)o=!o,h+=r;else if(i)c===a+1?"^"!==r&&"!"!==r||(u=!0):"]"!==r||c===a+2&&u||(i=!1),h+=r;else if("["!==r){if(s(r)&&"("===t.charAt(c)){l.push(h),h="";const e=new g(r,l);l.push(e),c=g.#h(t,e,c,n);continue}if("|"!==r){if(")"===r)return""===h&&0===e.#n.length&&(e.#l=!0),l.push(h),h="",e.push(...f,l),c;h+=r}else l.push(h),h="",f.push(l),l=new g(null,e)}else i=!0,a=c,u=!1,h+=r}return e.type=null,e.#e=void 0,e.#n=[t.substring(r-1)],c}static fromGlob(t,e={}){const r=new g(null,void 0,e);return g.#h(t,r,0,e),r}toMMPattern(){if(this!==this.#t)return this.#t.toMMPattern();const t=this.toString(),[e,r,n,o]=this.toRegExpSource();if(!(n||this.#e||this.#u.nocase&&!this.#u.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const i=(this.#u.nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${e}$`,i),{_src:e,_glob:t})}get options(){return this.#u}toRegExpSource(t){const e=t??!!this.#u.dot;if(this.#t===this&&this.#f(),!this.type){const r=this.isStart()&&this.isEnd(),n=this.#n.map(e=>{const[n,o,i,s]="string"==typeof e?g.#p(e,this.#e,r):e.toRegExpSource(t);return this.#e=this.#e||i,this.#r=this.#r||s,n}).join("");let i="";if(this.isStart()&&"string"==typeof this.#n[0]&&(1!==this.#n.length||!c.has(this.#n[0]))){const r=u,o=e&&r.has(n.charAt(0))||n.startsWith("\\.")&&r.has(n.charAt(2))||n.startsWith("\\.\\.")&&r.has(n.charAt(4)),s=!e&&!t&&r.has(n.charAt(0));i=o?"(?!(?:^|/)\\.\\.?(?:$|/))":s?a:""}let s="";return this.isEnd()&&this.#t.#a&&"!"===this.#o?.type&&(s="(?:$|\\/)"),[i+n+s,(0,o.x)(n),this.#e=!!this.#e,this.#r]}const r="*"===this.type||"+"===this.type,n="!"===this.type?"(?:(?!(?:":"(?:";let i=this.#d(e);if(this.isStart()&&this.isEnd()&&!i&&"!"!==this.type){const t=this.toString();return this.#n=[t],this.type=null,this.#e=void 0,[t,(0,o.x)(this.toString()),!1,!1]}let s=!r||t||e?"":this.#d(!0);s===i&&(s=""),s&&(i=`(?:${i})(?:${s})*?`);let l="";return l="!"===this.type&&this.#l?(this.isStart()&&!e?a:"")+d:n+i+("!"===this.type?"))"+(!this.isStart()||e||t?"":a)+p+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&s?")":"*"===this.type&&s?")?":`)${this.type}`),[l,(0,o.x)(i),this.#e=!!this.#e,this.#r]}#d(t){return this.#n.map(e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[r,n,o,i]=e.toRegExpSource(t);return this.#r=this.#r||i,r}).filter(t=>!(this.isStart()&&this.isEnd()&&!t)).join("|")}static#p(t,e,r=!1){let i=!1,s="",a=!1;for(let o=0;o<t.length;o++){const u=t.charAt(o);if(i)i=!1,s+=(l.has(u)?"\\":"")+u;else if("\\"!==u){if("["===u){const[r,i,u,c]=(0,n.U)(t,o);if(u){s+=r,a=a||i,o+=u-1,e=e||c;continue}}"*"!==u?"?"!==u?s+=f(u):(s+=h,e=!0):(s+=r&&"*"===t?d:p,e=!0)}else o===t.length-1?s+="\\\\":i=!0}return[s,(0,o.x)(t),!!e,a]}}},19396(t,e,r){"use strict";r.d(e,{V:()=>o});var n=r(57221);function o(t,e){return`Basic ${(0,n.nk)(`${t}:${e}`)}`}},19621(t,e,r){"use strict";r.d(e,{T:()=>a});var n=r(21657);const o="@@HOTPATCHER",i=()=>{};function s(t){return{original:t,methods:[t],final:!1}}class a{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=o}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t,e=!1){if(!t||t.__type__!==o)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach(r=>{this.configuration.registry.hasOwnProperty(r)?e&&(this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])}),t._configuration=this.configuration,this}execute(t,...e){return(this.get(t)||i)(...e)}get(t){const e=this.configuration.registry[t];if(!e)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error(`Failed handling method request: No method provided for override: ${t}`);default:throw new Error(`Failed handling request which resulted in an empty method: Invalid empty-action specified: ${this.getEmptyAction}`)}return(0,n.K)(...e.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,e,r={}){const{chain:n=!1}=r;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if("function"!=typeof e)throw new Error(`Failed patching '${t}': Provided method is not a function`);if(n)this.configuration.registry[t]?this.configuration.registry[t].methods.push(e):this.configuration.registry[t]=s(e);else if(this.isPatched(t)){const{original:r}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(s(e),{original:r})}else this.configuration.registry[t]=s(e);return this}patchInline(t,e,...r){return this.isPatched(t)||this.patch(t,e),this.execute(t,...r)}plugin(t,...e){return e.forEach(e=>{this.patch(t,e,{chain:!0})}),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if("function"!=typeof this.configuration.registry[t].original)throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}}},19959(t,e,r){"use strict";var n=r(73157).F.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function t(e,r,i){if("function"==typeof r)return t(e,null,r);r||(r={}),i=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(i||o);var s=r.readable||!1!==r.readable&&e.readable,a=r.writable||!1!==r.writable&&e.writable,u=function(){e.writable||l()},c=e._writableState&&e._writableState.finished,l=function(){a=!1,c=!0,s||i.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){s=!1,f=!0,a||i.call(e)},p=function(t){i.call(e,t)},d=function(){var t;return s&&!f?(e._readableState&&e._readableState.ended||(t=new n),i.call(e,t)):a&&!c?(e._writableState&&e._writableState.ended||(t=new n),i.call(e,t)):void 0},g=function(){e.req.on("finish",l)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",l),e.on("abort",d),e.req?g():e.on("request",g)):a&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",p),e.on("close",d),function(){e.removeListener("complete",l),e.removeListener("abort",d),e.removeListener("request",g),e.req&&e.req.removeListener("finish",l),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",p),e.removeListener("close",d)}}},21657(t,e,r){"use strict";function n(...t){if(0===t.length)throw new Error("Failed creating sequence: No functions provided");return function(...e){let r=e;const n=this;for(;t.length>0;)r=[t.shift().apply(n,r)];return r[0]}}r.d(e,{K:()=>n})},22921(t,e,r){"use strict";function n(){return"string"==typeof TARGET&&"react-native"===TARGET}function o(){return"string"==typeof TARGET&&"web"===TARGET}r.d(e,{HZ:()=>o,lV:()=>n})},24754(t,e,r){"use strict";r.d(e,{x:()=>n});const n=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},25093(t,e,r){"use strict";r.d(e,{i:()=>n});const n=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},26549(t,e,r){"use strict";var n,o,i,s;r(75780),r(92148),r(27341),function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"}(n||(n={})),function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"}(o||(o={})),function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"}(i||(i={})),function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"}(s||(s={}))},26602(t){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t){var e="function"==typeof Map?new Map:void 0;return r=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,s)}function s(){return n(t,arguments,i(this).constructor)}return s.prototype=Object.create(t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),o(s,t)},r(t)}function n(t,e,r){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return r&&o(i,r.prototype),i},n.apply(null,arguments)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}var s=function(t){function r(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(n=function(t,r){return!r||"object"!==e(r)&&"function"!=typeof r?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):r}(this,i(r).call(this,t))).name="ObjectPrototypeMutationError",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(r,t),r}(r(Error));function a(t,r){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=r.split("."),i=o.length,s=function(e){var r=o[e];if(!t)return{v:void 0};if("+"===r){if(Array.isArray(t))return{v:t.map(function(r,i){var s=o.slice(e+1);return s.length>0?a(r,s.join("."),n):n(t,i,o,e)})};var i=o.slice(0,e).join(".");throw new Error("Object at wildcard (".concat(i,") is not an array"))}t=n(t,r,o,e)},u=0;u<i;u++){var c=s(u);if("object"===e(c))return c.v}return t}function u(t,e){return t.length===e+1}t.exports={set:function(t,r,n){if("object"!=e(t)||null===t)return t;if(void 0===r)return t;if("number"==typeof r)return t[r]=n,t[r];try{return a(t,r,function(t,e,r,o){if(t===Reflect.getPrototypeOf({}))throw new s("Attempting to mutate Object.prototype");if(!t[e]){var i=Number.isInteger(Number(r[o+1])),a="+"===r[o+1];t[e]=i||a?[]:{}}return u(r,o)&&(t[e]=n),t[e]})}catch(e){if(e instanceof s)throw e;return t}},get:function(t,r){if("object"!=e(t)||null===t)return t;if(void 0===r)return t;if("number"==typeof r)return t[r];try{return a(t,r,function(t,e){return t[e]})}catch(e){return t}},has:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"!=e(t)||null===t)return!1;if(void 0===r)return!1;if("number"==typeof r)return r in t;try{var o=!1;return a(t,r,function(t,e,r,i){if(!u(r,i))return t&&t[e];o=n.own?t.hasOwnProperty(e):e in t}),o}catch(t){return!1}},hasOwn:function(t,e,r){return this.has(t,e,r||{own:!0})},isIn:function(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("object"!=e(t)||null===t)return!1;if(void 0===r)return!1;try{var i=!1,s=!1;return a(t,r,function(t,r,o,a){return i=i||t===n||!!t&&t[r]===n,s=u(o,a)&&"object"===e(t)&&r in t,t&&t[r]}),o.validPath?i&&s:i}catch(t){return!1}},ObjectPrototypeMutationError:s}},27341(t,e,r){"use strict";new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint},27562(t,e,r){"use strict";r.d(e,{A:()=>o,o:()=>s});var n=r(14113);function o(t){return new n.XMLBuilder({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(i({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function i(t,e){const r={...t};for(const t in r)r.hasOwnProperty(t)&&(r[t]&&"object"==typeof r[t]&&-1===t.indexOf(":")?(r[`${e}:${t}`]=i(r[t],e),delete r[t]):!1===/^@_/.test(t)&&(r[`${e}:${t}`]=r[t],delete r[t]));return r}function s(t){return new n.XMLParser({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(t)}},28161(t,e,r){"use strict";r.d(e,{c:()=>u});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3),a=r(84830);async function u(t,e,r={}){if(!0===r.recursive)return async function(t,e,r={}){const n=(0,o.xi)((0,o.qb)(e));n.sort((t,e)=>t.length>e.length?1:e.length>t.length?-1:0);let i=!1;for(const o of n)if(i)await u(t,o,{...r,recursive:!1});else try{if("directory"!==(await(0,a.z)(t,o)).type)throw new Error(`Path includes a file: ${e}`)}catch(e){if(404!==e.status)throw e;i=!0,await u(t,o,{...r,recursive:!1})}}(t,e,r);const c=(0,i.H)({url:(0,n.oq)(t.remoteURL,(f=(0,o.O0)(e),f.endsWith("/")?f:f+"/")),method:"MKCOL"},t,r),l=await(0,i.E)(c,t);var f;(0,s.HT)(t,l)}},30047(t,e,r){"use strict";r.d(e,{g:()=>p,w:()=>d});var n=r(42294),o=r(88310),i=r(57221),s=r(85394),a=r(36236),u=r(71922),c=r(22921),l=r(89062),f=r(5e3),h=r(38374);async function p(t,e,r,n={}){const{contentLength:i=!0,overwrite:h=!0}=n,p={"Content-Type":"application/octet-stream"};!(0,c.HZ)()&&!(0,c.lV)()&&void 0!==o&&void 0!==o?.Readable&&r instanceof o.Readable||!1===i||(p["Content-Length"]="number"==typeof i?`${i}`:`${(0,u.J)(r)}`),h||(p["If-None-Match"]="*");const d=(0,l.H)({url:(0,s.oq)(t.remoteURL,(0,a.O0)(e)),method:"PUT",headers:p,data:r},t,n),g=await(0,l.E)(d,t);try{(0,f.HT)(t,g)}catch(t){const e=t;if(412!==e.status||h)throw e;return!1}return!0}function d(t,e){let r=`${(0,s.oq)(t.remoteURL,(0,a.O0)(e))}?Content-Type=application/octet-stream`;const o=/^https:/i.test(r)?"https":"http";switch(t.authType){case h.hT.None:break;case h.hT.Password:{const e=t.headers.Authorization.replace(/^Basic /i,"").trim(),n=(0,i.Ey)(e);r=r.replace(/^https?:\/\//,`${o}://${n}@`);break}default:throw new n.GU({info:{code:h.O4.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${t.authType}`)}return r}},35550(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(21777),o=r(82415),i=r(17003);const s=(0,o.UU)((0,i.e)());function a(t){s.setHeaders({"X-Requested-With":"XMLHttpRequest",requesttoken:t??""})}(0,n.zo)(a),a((0,n.do)());const u=s},35658(t,e,r){"use strict";r.d(e,{M:()=>o});var n=r(83503);function o(t,e,r,o,i,s,a){const u=a||n(`${e}:${r}:${o}`);return t&&"md5-sess"===t.toLowerCase()?n(`${u}:${i}:${s}`):u}},35906(t,e,r){"use strict";r.d(e,{e:()=>a,v:()=>u});var n=r(82415),o=r(5e3),i=r(90176),s=r(35550);const a=20;async function u({resourceType:t,resourceId:e},r){const u=["",t,e].join("/"),c=r.datetime?`<oc:datetime>${r.datetime.toISOString()}</oc:datetime>`:"",l=await s.A.customRequest(u,{method:"REPORT",data:`<?xml version="1.0"?>\n\t\t\t<oc:filter-comments\n\t\t\t\txmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t\t<oc:limit>${r.limit??a}</oc:limit>\n\t\t\t\t<oc:offset>${r.offset||0}</oc:offset>\n\t\t\t\t${c}\n\t\t\t</oc:filter-comments>`,...r}),f=await l.text(),h=function(t,e=!1){const{multistatus:{response:r}}=t;return r.map(t=>{const r=t.propstat.prop;return(0,i.ch)(r,r.id.toString(),e)})}(await(0,n.h4)(f),!0);return(0,o.hq)(l,h,!0)}},36236(t,e,r){"use strict";r.d(e,{O0:()=>a,dU:()=>c,qb:()=>l,xi:()=>u});var n=r(42294),o=r(12692);const i="__PATH_SEPARATOR_POSIX__",s="__PATH_SEPARATOR_WINDOWS__";function a(t){try{const e=t.replace(/\//g,i).replace(/\\\\/g,s);return encodeURIComponent(e).split(s).join("\\\\").split(i).join("/")}catch(t){throw new n.GU(t,"Failed encoding path")}}function u(t){if(!t||"/"===t)return[];let e=t;const r=[];do{r.push(e),e=o.dirname(e)}while(e&&"/"!==e);return r}function c(t){return t.startsWith("/")?t:"/"+t}function l(t){let e=t;return"/"!==e[0]&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}},36942(t,e,r){"use strict";r.d(e,{e:()=>u});var n=r(42294),o=r(90036),i=r(19396),s=r(89793),a=r(38374);function u(t,e,r,u,c){switch(t.authType){case a.hT.Auto:e&&r&&(t.headers.Authorization=(0,i.V)(e,r));break;case a.hT.Digest:t.digest=(0,o.C8)(e,r,c);break;case a.hT.None:break;case a.hT.Password:t.headers.Authorization=(0,i.V)(e,r);break;case a.hT.Token:t.headers.Authorization=(0,s.O)(u);break;default:throw new n.GU({info:{code:a.O4.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}}},37413(t,e,r){"use strict";var n,o=r(73157).F,i=o.ERR_MISSING_ARGS,s=o.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function u(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var l,f=function(t){return t.length?"function"!=typeof t[t.length-1]?a:t.pop():a}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new i("streams");var h=e.map(function(t,o){var i=o<e.length-1;return function(t,e,o,i){i=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(i);var a=!1;t.on("close",function(){a=!0}),void 0===n&&(n=r(19959)),n(t,{readable:e,writable:o},function(t){if(t)return i(t);a=!0,i()});var u=!1;return function(e){if(!a&&!u)return u=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void i(e||new s("pipe"))}}(t,i,o>0,function(t){l||(l=t),t&&h.forEach(u),i||(h.forEach(u),f(l))})});return e.reduce(c)}},37720(t,e,r){"use strict";var n=r(74765),o=r(920),i=Object.prototype.hasOwnProperty,s=Array.isArray,a=o(),u=function(t,e){return a.set(t,e),t},c=function(t){return a.has(t)},l=function(t){return a.get(t)},f=function(t,e){a.set(t,e)},h=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),p=function(t,e){for(var r=e&&e.plainObjects?{__proto__:null}:{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},d=1024;t.exports={arrayToObject:p,assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},combine:function(t,e,r,n){if(c(t)){var o=l(t)+1;return t[o]=e,f(t,o),t}var i=[].concat(t,e);return i.length>r?u(p(i,{plainObjects:n}),i.length-1):i},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var c=a[u],l=i[c];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:i,prop:c}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(s(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,o,i){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;u+=d){for(var c=s.length>=d?s.slice(u,u+d):s,l=[],f=0;f<c.length;++f){var p=c.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===n.RFC1738&&(40===p||41===p)?l[l.length]=c.charAt(f):p<128?l[l.length]=h[p]:p<2048?l[l.length]=h[192|p>>6]+h[128|63&p]:p<55296||p>=57344?l[l.length]=h[224|p>>12]+h[128|p>>6&63]+h[128|63&p]:(f+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(f)),l[l.length]=h[240|p>>18]+h[128|p>>12&63]+h[128|p>>6&63]+h[128|63&p])}a+=l.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isOverflow:c,isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(s(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r&&"function"!=typeof r){if(s(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];if(c(e)){var o=l(e)+1;e[o]=r,f(e,o)}else(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e){if(c(r)){for(var a=Object.keys(r),h=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},d=0;d<a.length;d++)h[parseInt(a[d],10)+1]=r[a[d]];return u(h,l(r)+1)}return[e].concat(r)}var g=e;return s(e)&&!s(r)&&(g=p(e,n)),s(e)&&s(r)?(r.forEach(function(r,o){if(i.call(e,o)){var s=e[o];s&&"object"==typeof s&&r&&"object"==typeof r?e[o]=t(s,r,n):e.push(r)}else e[o]=r}),e):Object.keys(r).reduce(function(e,o){var s=r[o];return i.call(e,o)?e[o]=t(e[o],s,n):e[o]=s,e},g)}}},38374(t,e,r){"use strict";var n,o;r.d(e,{O4:()=>o,hT:()=>n}),r(97192),function(t){t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token"}(n||(n={})),function(t){t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported"}(o||(o={}))},39299(t,e,r){"use strict";r.d(e,{P:()=>a});var n=r(88310),o=r(47397),i=r(53850),s=r(22921);function a(t){if(!(0,s.HZ)()&&!(0,s.lV)()&&t instanceof n.Readable)return[t,{}];if("string"==typeof t)return[t,{}];if((0,i.P)(t))return[t,{}];if((0,o.m)(t))return[t,{}];if(t&&"object"==typeof t)return[JSON.stringify(t),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof t)}},39615(t,e,r){"use strict";r.d(e,{T:()=>f,s:()=>l});var n=r(26602),o=r(85394),i=r(36236),s=r(27562),a=r(89062),u=r(5e3);const c="Infinite, Second-4100000000";async function l(t,e,r={}){const{refreshToken:l,timeout:f=c}=r,h={Accept:"text/plain,application/xml",Timeout:f};l&&(h.If=l);const p=(0,a.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"LOCK",headers:h,data:(0,s.A)(t.contactHref)},t,r),d=await(0,a.E)(p,t);(0,u.HT)(t,d);const g=await d.text(),y=(0,s.o)(g),m=n.get(y,"prop.lockdiscovery.activelock.locktoken.href"),b=n.get(y,"prop.lockdiscovery.activelock.timeout");if(!m)throw(0,u.YQ)(d,"No lock token received: ");return{token:m,serverTimeout:b}}async function f(t,e,r,n={}){const s=(0,a.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"UNLOCK",headers:{"Lock-Token":r}},t,n),c=await(0,a.E)(s,t);if((0,u.HT)(t,c),204!==c.status&&200!==c.status)throw(0,u.YQ)(c)}},40144(t,e,r){"use strict";new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),String.prototype.codePointAt,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]]),new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])},40537(t,e,r){var n=r(65606),o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},i=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,s=String(t).replace(i,function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),a=n[r];r<o;a=n[++r])m(a)||!O(a)?s+=" "+a:s+=" "+c(a);return s},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return t.apply(this,arguments)}};var s={},a=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+u+"$","i")}function c(t,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&e._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),h(n,t,n.depth)}function l(t,e){var r=c.styles[e];return r?"["+c.colors[r][0]+"m"+t+"["+c.colors[r][1]+"m":t}function f(t,e){return t}function h(t,r,n){if(t.customInspect&&r&&x(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return v(o)||(o=h(t,o,n)),o}var i=function(t,e){if(w(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,r);if(i)return i;var s=Object.keys(r),a=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),A(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(r);if(0===s.length){if(x(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(E(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(A(r))return p(r)}var c,l="",f=!1,O=["{","}"];return g(r)&&(f=!0,O=["[","]"]),x(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),A(r)&&(l=" "+p(r)),0!==s.length||f&&0!=r.length?n<0?E(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=f?function(t,e,r,n,o){for(var i=[],s=0,a=e.length;s<a;++s)N(e,String(s))?i.push(d(t,e,r,n,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(d(t,e,r,n,o,!0))}),i}(t,r,n,a,s):s.map(function(e){return d(t,r,n,a,e,f)}),t.seen.pop(),function(t,e,r){return t.reduce(function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,O)):O[0]+l+O[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,o,i){var s,a,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),N(n,o)||(s="["+o+"]"),a||(t.seen.indexOf(u.value)<0?(a=m(r)?h(t,u.value,null):h(t,u.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),w(s)){if(i&&o.match(/^\d+$/))return a;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function g(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function m(t){return null===t}function b(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return void 0===t}function E(t){return O(t)&&"[object RegExp]"===T(t)}function O(t){return"object"==typeof t&&null!==t}function S(t){return O(t)&&"[object Date]"===T(t)}function A(t){return O(t)&&("[object Error]"===T(t)||t instanceof Error)}function x(t){return"function"==typeof t}function T(t){return Object.prototype.toString.call(t)}function _(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(a.test(t)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(49032),e.isArray=g,e.isBoolean=y,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=v,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=w,e.isRegExp=E,e.types.isRegExp=E,e.isObject=O,e.isDate=S,e.types.isDate=S,e.isError=A,e.types.isNativeError=A,e.isFunction=x,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(81135);var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[_((t=new Date).getHours()),_(t.getMinutes()),_(t.getSeconds())].join(":"),[t.getDate(),R[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(56698),e._extend=function(t,e){if(!e||!O(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var j="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(j&&t[j]){var e;if("function"!=typeof(e=t[j]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(t,n){t?r(t):e(n)});try{t.apply(this,o)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),j&&Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,o(t))},e.promisify.custom=j,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var o=e.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,s=function(){return o.apply(i,arguments)};t.apply(this,e).then(function(t){n.nextTick(s.bind(null,null,t))},function(t){n.nextTick(I.bind(null,t,s))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,o(t)),e}},42294(t,e,r){"use strict";r.d(e,{GU:()=>n.G});var n=r(17601)},42634(){},42792(t){t.exports=function(t){return"function"==typeof t?t:Array.isArray(t)?e=>{for(const r of t){if("string"==typeof r&&e===r)return!0;if(r instanceof RegExp&&r.test(e))return!0}}:()=>!1}},44916(t,e,r){"use strict";r.d(e,{xF:()=>c});var n=r(68928),o=r(84300),i=r(17908),s=r(25093),a=r(24754),u=r(65606);const c=(t,e,r={})=>((0,o.f)(e),!(!r.nocomment&&"#"===e.charAt(0))&&new M(e,r).match(t)),l=/^\*+([^+@!?\*\[\(]*)$/,f=t=>e=>!e.startsWith(".")&&e.endsWith(t),h=t=>e=>e.endsWith(t),p=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),d=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),g=/^\*+\.\*+$/,y=t=>!t.startsWith(".")&&t.includes("."),m=t=>"."!==t&&".."!==t&&t.includes("."),b=/^\.\*+$/,v=t=>"."!==t&&".."!==t&&t.startsWith("."),w=/^\*+$/,E=t=>0!==t.length&&!t.startsWith("."),O=t=>0!==t.length&&"."!==t&&".."!==t,S=/^\?+([^+@!?\*\[\(]*)?$/,A=([t,e=""])=>{const r=R([t]);return e?(e=e.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(e)):r},x=([t,e=""])=>{const r=N([t]);return e?(e=e.toLowerCase(),t=>r(t)&&t.toLowerCase().endsWith(e)):r},T=([t,e=""])=>{const r=N([t]);return e?t=>r(t)&&t.endsWith(e):r},_=([t,e=""])=>{const r=R([t]);return e?t=>r(t)&&t.endsWith(e):r},R=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},N=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},j="object"==typeof u&&u?"object"==typeof u.env&&u.env&&u.env.__MINIMATCH_TESTING_PLATFORM__||u.platform:"posix",I="win32"===j?"\\":"/";c.sep=I;const P=Symbol("globstar **");c.GLOBSTAR=P,c.filter=(t,e={})=>r=>c(r,t,e);const L=(t,e={})=>Object.assign({},t,e);c.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return c;const e=c;return Object.assign((r,n,o={})=>e(r,n,L(t,o)),{Minimatch:class extends e.Minimatch{constructor(e,r={}){super(e,L(t,r))}static defaults(r){return e.defaults(L(t,r)).Minimatch}},AST:class extends e.AST{constructor(e,r,n={}){super(e,r,L(t,n))}static fromGlob(r,n={}){return e.AST.fromGlob(r,L(t,n))}},unescape:(r,n={})=>e.unescape(r,L(t,n)),escape:(r,n={})=>e.escape(r,L(t,n)),filter:(r,n={})=>e.filter(r,L(t,n)),defaults:r=>e.defaults(L(t,r)),makeRe:(r,n={})=>e.makeRe(r,L(t,n)),braceExpand:(r,n={})=>e.braceExpand(r,L(t,n)),match:(r,n,o={})=>e.match(r,n,L(t,o)),sep:e.sep,GLOBSTAR:P})};const C=(t,e={})=>((0,o.f)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:n(t));c.braceExpand=C,c.makeRe=(t,e={})=>new M(t,e).makeRe(),c.match=(t,e,r={})=>{const n=new M(e,r);return t=t.filter(t=>n.match(t)),n.options.nonull&&!t.length&&t.push(e),t};const k=/[?*]|[+@!]\(.*?\)|\[|\]/;class M{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){(0,o.f)(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||j,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const r=this.globSet.map(t=>this.slashSplit(t));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let n=this.globParts.map((t,e,r)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&k.test(t[2])||k.test(t[3])),r=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map(t=>this.parse(t))];if(r)return[t[0],...t.slice(1).map(t=>this.parse(t))]}return t.map(t=>this.parse(t))});if(this.debug(this.pattern,n),this.set=n.filter(t=>-1===t.indexOf(!1)),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let r=0;r<t[e].length;r++)"**"===t[e][r]&&(t[e][r]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let r=e;for(;"**"===t[r+1];)r++;r!==e&&t.splice(e,r-e)}return t})}levelOneOptimize(t){return t.map(t=>0===(t=t.reduce((t,e)=>{const r=t[t.length-1];return"**"===e&&"**"===r?t:".."===e&&r&&".."!==r&&"."!==r&&"**"!==r?(t.pop(),t):(t.push(e),t)},[])).length?[""]:t)}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let r=1;r<t.length-1;r++){const n=t[r];1===r&&""===n&&""===t[0]||"."!==n&&""!==n||(e=!0,t.splice(r,1),r--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let r=0;for(;-1!==(r=t.indexOf("..",r+1));){const n=t[r-1];n&&"."!==n&&".."!==n&&"**"!==n&&(e=!0,t.splice(r-1,2),r-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let r of t){let n=-1;for(;-1!==(n=r.indexOf("**",n+1));){let o=n;for(;"**"===r[o+1];)o++;o>n&&r.splice(n+1,o-n);let i=r[n+1];const s=r[n+2],a=r[n+3];if(".."!==i)continue;if(!s||"."===s||".."===s||!a||"."===a||".."===a)continue;e=!0,r.splice(n,1);const u=r.slice(0);u[n]="**",t.push(u),n--}if(!this.preserveMultipleSlashes){for(let t=1;t<r.length-1;t++){const n=r[t];1===t&&""===n&&""===r[0]||"."!==n&&""!==n||(e=!0,r.splice(t,1),t--)}"."!==r[0]||2!==r.length||"."!==r[1]&&""!==r[1]||(e=!0,r.pop())}let o=0;for(;-1!==(o=r.indexOf("..",o+1));){const t=r[o-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===o&&"**"===r[o+1]?["."]:[];r.splice(o-1,2,...t),0===r.length&&r.push(""),o-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let r=e+1;r<t.length;r++){const n=this.partsMatch(t[e],t[r],!this.preserveMultipleSlashes);if(n){t[e]=[],t[r]=n;break}}return t.filter(t=>t.length)}partsMatch(t,e,r=!1){let n=0,o=0,i=[],s="";for(;n<t.length&&o<e.length;)if(t[n]===e[o])i.push("b"===s?e[o]:t[n]),n++,o++;else if(r&&"**"===t[n]&&e[o]===t[n+1])i.push(t[n]),n++;else if(r&&"**"===e[o]&&t[n]===e[o+1])i.push(e[o]),o++;else if("*"!==t[n]||!e[o]||!this.options.dot&&e[o].startsWith(".")||"**"===e[o]){if("*"!==e[o]||!t[n]||!this.options.dot&&t[n].startsWith(".")||"**"===t[n])return!1;if("a"===s)return!1;s="b",i.push(e[o]),n++,o++}else{if("b"===s)return!1;s="a",i.push(t[n]),n++,o++}return t.length===e.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,r=0;for(let n=0;n<t.length&&"!"===t.charAt(n);n++)e=!e,r++;r&&(this.pattern=t.slice(r)),this.negate=e}matchOne(t,e,r=!1){const n=this.options;if(this.isWindows){const r="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),n=!r&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),i=n?3:r?0:void 0,s=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:o?0:void 0;if("number"==typeof i&&"number"==typeof s){const[r,n]=[t[i],e[s]];r.toLowerCase()===n.toLowerCase()&&(e[s]=r,s>i?e=e.slice(s):i>s&&(t=t.slice(i)))}}const{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,a=t.length,u=e.length;i<a&&s<u;i++,s++){this.debug("matchOne loop");var c=e[s],l=t[i];if(this.debug(e,c,l),!1===c)return!1;if(c===P){this.debug("GLOBSTAR",[e,c,l]);var f=i,h=s+1;if(h===u){for(this.debug("** at the end");i<a;i++)if("."===t[i]||".."===t[i]||!n.dot&&"."===t[i].charAt(0))return!1;return!0}for(;f<a;){var p=t[f];if(this.debug("\nglobstar while",t,f,e,h,p),this.matchOne(t.slice(f),e.slice(h),r))return this.debug("globstar found match!",f,a,p),!0;if("."===p||".."===p||!n.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,f,e,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",t,f,e,h),f!==a))}let o;if("string"==typeof c?(o=l===c,this.debug("string match",c,l,o)):(o=c.test(l),this.debug("pattern match",c,l,o)),!o)return!1}if(i===a&&s===u)return!0;if(i===a)return r;if(s===u)return i===a-1&&""===t[i];throw new Error("wtf?")}braceExpand(){return C(this.pattern,this.options)}parse(t){(0,o.f)(t);const e=this.options;if("**"===t)return P;if(""===t)return"";let r,n=null;(r=t.match(w))?n=e.dot?O:E:(r=t.match(l))?n=(e.nocase?e.dot?d:p:e.dot?h:f)(r[1]):(r=t.match(S))?n=(e.nocase?e.dot?x:A:e.dot?T:_)(r):(r=t.match(g))?n=e.dot?m:y:(r=t.match(b))&&(n=v);const s=i.d.fromGlob(t,this.options).toMMPattern();return n&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:n}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=new Set(e.nocase?["i"]:[]);let o=t.map(t=>{const e=t.map(t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))n.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===P?P:t._src});return e.forEach((t,n)=>{const o=e[n+1],i=e[n-1];t===P&&i!==P&&(void 0===i?void 0!==o&&o!==P?e[n+1]="(?:\\/|"+r+"\\/)?"+o:e[n]=r:void 0===o?e[n-1]=i+"(?:\\/|"+r+")?":o!==P&&(e[n-1]=i+"(?:\\/|\\/"+r+"\\/)"+o,e[n+1]=P))}),e.filter(t=>t!==P).join("/")}).join("|");const[i,s]=t.length>1?["(?:",")"]:["",""];o="^"+i+o+s+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=new RegExp(o,[...n].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const n=this.slashSplit(t);this.debug(this.pattern,"split",n);const o=this.set;this.debug(this.pattern,"set",o);let i=n[n.length-1];if(!i)for(let t=n.length-2;!i&&t>=0;t--)i=n[t];for(let t=0;t<o.length;t++){const s=o[t];let a=n;if(r.matchBase&&1===s.length&&(a=[i]),this.matchOne(a,s,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate}static defaults(t){return c.defaults(t).Minimatch}}c.AST=i.d,c.Minimatch=M,c.escape=s.i,c.unescape=a.x},45212(t){const e=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,n={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(t,o={}){if(o=Object.assign({},n,o),!t||"string"!=typeof t)return t;let i=t.trim();if(void 0!==o.skipLike&&o.skipLike.test(i))return t;if("0"===t)return 0;if(o.hex&&e.test(i))return function(t){if(parseInt)return parseInt(t,16);if(Number.parseInt)return Number.parseInt(t,16);if(window&&window.parseInt)return window.parseInt(t,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(i);if(-1!==i.search(/[eE]/)){const e=i.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(e){if(o.leadingZeros)i=(e[1]||"")+e[3];else if("0"!==e[2]||"."!==e[3][0])return t;return o.eNotation?Number(i):t}return t}{const e=r.exec(i);if(e){const r=e[1],n=e[2];let a=(s=e[3])&&-1!==s.indexOf(".")?("."===(s=s.replace(/0+$/,""))?s="0":"."===s[0]?s="0"+s:"."===s[s.length-1]&&(s=s.substr(0,s.length-1)),s):s;if(!o.leadingZeros&&n.length>0&&r&&"."!==i[2])return t;if(!o.leadingZeros&&n.length>0&&!r&&"."!==i[1])return t;if(o.leadingZeros&&n===t)return 0;{const e=Number(i),s=""+e;return-1!==s.search(/[eE]/)?o.eNotation?e:t:-1!==i.indexOf(".")?"0"===s&&""===a||s===a||r&&s==="-"+a?e:t:n?a===s||r+a===s?e:t:i===s||i===r+s?e:t}}return t}var s}},47244(t,e,r){"use strict";var n=r(49092)(),o=r(36556)("Object.prototype.toString"),i=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},s=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"callee"in t&&"[object Function]"===o(t.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=s,t.exports=a?i:s},47397(t,e,r){"use strict";r.d(e,{m:()=>i});const n="function"==typeof ArrayBuffer,{toString:o}=Object.prototype;function i(t){return n&&(t instanceof ArrayBuffer||"[object ArrayBuffer]"===o.call(t))}},48184(t,e,r){"use strict";var n=r(36556),o=r(99721)(/^\s*(?:function)?\*/),i=r(49092)(),s=r(93628),a=n("Object.prototype.toString"),u=n("Function.prototype.toString"),c=r(4233);t.exports=function(t){if("function"!=typeof t)return!1;if(o(u(t)))return!0;if(!i)return"[object GeneratorFunction]"===a(t);if(!s)return!1;var e=c();return e&&s(t)===e.prototype}},49032(t,e,r){"use strict";var n=r(47244),o=r(48184),i=r(25767),s=r(35680);function a(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=a(Object.prototype.toString),f=a(Number.prototype.valueOf),h=a(String.prototype.valueOf),p=a(Boolean.prototype.valueOf);if(u)var d=a(BigInt.prototype.valueOf);if(c)var g=a(Symbol.prototype.valueOf);function y(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function m(t){return"[object Map]"===l(t)}function b(t){return"[object Set]"===l(t)}function v(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function E(t){return"[object ArrayBuffer]"===l(t)}function O(t){return"undefined"!=typeof ArrayBuffer&&(E.working?E(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===l(t)}function A(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=o,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||A(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),e.isArrayBuffer=O,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=A;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(t){return"[object SharedArrayBuffer]"===l(t)}function _(t){return void 0!==x&&(void 0===T.working&&(T.working=T(new x)),T.working?T(t):t instanceof x)}function R(t){return y(t,f)}function N(t){return y(t,h)}function j(t){return y(t,p)}function I(t){return u&&y(t,d)}function P(t){return c&&y(t,g)}e.isSharedArrayBuffer=_,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=R,e.isStringObject=N,e.isBooleanObject=j,e.isBigIntObject=I,e.isSymbolObject=P,e.isBoxedPrimitive=function(t){return R(t)||N(t)||j(t)||I(t)||P(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(O(t)||_(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})},50335(t,e,r){"use strict";r.d(e,{m:()=>a});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3);async function a(t,e,r,a={}){const u=(0,i.H)({url:(0,n.oq)(t.remoteURL,(0,o.O0)(e)),method:"COPY",headers:{Destination:(0,n.oq)(t.remoteURL,(0,o.O0)(r)),Overwrite:!1===a.overwrite?"F":"T",Depth:a.shallow?"0":"infinity"}},t,a),c=await(0,i.E)(u,t);(0,s.HT)(t,c)}},52117(t,e,r){"use strict";const n=r(88279),o=r(4471),i=r(54779),s=r(45212),a=r(42792);function u(t){const e=Object.keys(t);for(let r=0;r<e.length;r++){const n=e[r];this.lastEntities[n]={regex:new RegExp("&"+n+";","g"),val:t[n]}}}function c(t,e,r,n,o,i,s){if(void 0!==t&&(this.options.trimValues&&!n&&(t=t.trim()),t.length>0)){s||(t=this.replaceEntitiesValue(t));const n=this.options.tagValueProcessor(e,t,r,o,i);return null==n?t:typeof n!=typeof t||n!==t?n:this.options.trimValues||t.trim()===t?E(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function l(t){if(this.options.removeNSPrefix){const e=t.split(":"),r="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=r+e[1])}return t}const f=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function h(t,e,r){if(!0!==this.options.ignoreAttributes&&"string"==typeof t){const r=n.getAllMatches(t,f),o=r.length,i={};for(let t=0;t<o;t++){const n=this.resolveNameSpace(r[t][1]);if(this.ignoreAttributesFn(n,e))continue;let o=r[t][4],s=this.options.attributeNamePrefix+n;if(n.length)if(this.options.transformAttributeName&&(s=this.options.transformAttributeName(s)),"__proto__"===s&&(s="#__proto__"),void 0!==o){this.options.trimValues&&(o=o.trim()),o=this.replaceEntitiesValue(o);const t=this.options.attributeValueProcessor(n,o,e);i[s]=null==t?o:typeof t!=typeof o||t!==o?t:E(o,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[s]=!0)}if(!Object.keys(i).length)return;if(this.options.attributesGroupName){const t={};return t[this.options.attributesGroupName]=i,t}return i}}const p=function(t){t=t.replace(/\r\n?/g,"\n");const e=new o("!xml");let r=e,n="",s="";for(let a=0;a<t.length;a++)if("<"===t[a])if("/"===t[a+1]){const e=b(t,">",a,"Closing Tag is not closed.");let o=t.substring(a+2,e).trim();if(this.options.removeNSPrefix){const t=o.indexOf(":");-1!==t&&(o=o.substr(t+1))}this.options.transformTagName&&(o=this.options.transformTagName(o)),r&&(n=this.saveTextToParentTag(n,r,s));const i=s.substring(s.lastIndexOf(".")+1);if(o&&-1!==this.options.unpairedTags.indexOf(o))throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`);let u=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(u=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=s.lastIndexOf("."),s=s.substring(0,u),r=this.tagsNodeStack.pop(),n="",a=e}else if("?"===t[a+1]){let e=v(t,a,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,s),this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags);else{const t=new o(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,s,e.tagName)),this.addChild(r,t,s)}a=e.closeIndex+1}else if("!--"===t.substr(a+1,3)){const e=b(t,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const o=t.substring(a+4,e-2);n=this.saveTextToParentTag(n,r,s),r.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}a=e}else if("!D"===t.substr(a+1,2)){const e=i(t,a);this.docTypeEntities=e.entities,a=e.i}else if("!["===t.substr(a+1,2)){const e=b(t,"]]>",a,"CDATA is not closed.")-2,o=t.substring(a+9,e);n=this.saveTextToParentTag(n,r,s);let i=this.parseTextData(o,r.tagname,s,!0,!1,!0,!0);null==i&&(i=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}]):r.add(this.options.textNodeName,i),a=e+2}else{let i=v(t,a,this.options.removeNSPrefix),u=i.tagName;const c=i.rawTagName;let l=i.tagExp,f=i.attrExpPresent,h=i.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,s,!1));const p=r;if(p&&-1!==this.options.unpairedTags.indexOf(p.tagname)&&(r=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),u!==e.tagname&&(s+=s?"."+u:u),this.isItStopNode(this.options.stopNodes,s,u)){let e="";if(l.length>0&&l.lastIndexOf("/")===l.length-1)"/"===u[u.length-1]?(u=u.substr(0,u.length-1),s=s.substr(0,s.length-1),l=u):l=l.substr(0,l.length-1),a=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(u))a=i.closeIndex;else{const r=this.readStopNodeData(t,c,h+1);if(!r)throw new Error(`Unexpected end of ${c}`);a=r.i,e=r.tagContent}const n=new o(u);u!==l&&f&&(n[":@"]=this.buildAttributesMap(l,s,u)),e&&(e=this.parseTextData(e,u,s,!0,f,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),n.add(this.options.textNodeName,e),this.addChild(r,n,s)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){"/"===u[u.length-1]?(u=u.substr(0,u.length-1),s=s.substr(0,s.length-1),l=u):l=l.substr(0,l.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));const t=new o(u);u!==l&&f&&(t[":@"]=this.buildAttributesMap(l,s,u)),this.addChild(r,t,s),s=s.substr(0,s.lastIndexOf("."))}else{const t=new o(u);this.tagsNodeStack.push(r),u!==l&&f&&(t[":@"]=this.buildAttributesMap(l,s,u)),this.addChild(r,t,s),r=t}n="",a=h}}else n+=t[a];return e.child};function d(t,e,r){const n=this.options.updateTag(e.tagname,r,e[":@"]);!1===n||("string"==typeof n?(e.tagname=n,t.addChild(e)):t.addChild(e))}const g=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const r=this.docTypeEntities[e];t=t.replace(r.regx,r.val)}for(let e in this.lastEntities){const r=this.lastEntities[e];t=t.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const r=this.htmlEntities[e];t=t.replace(r.regex,r.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function y(t,e,r,n){return t&&(void 0===n&&(n=0===e.child.length),void 0!==(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,n))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function m(t,e,r){const n="*."+r;for(const r in t){const o=t[r];if(n===o||e===o)return!0}return!1}function b(t,e,r,n){const o=t.indexOf(e,r);if(-1===o)throw new Error(n);return o+e.length-1}function v(t,e,r,n=">"){const o=function(t,e,r=">"){let n,o="";for(let i=e;i<t.length;i++){let e=t[i];if(n)e===n&&(n="");else if('"'===e||"'"===e)n=e;else if(e===r[0]){if(!r[1])return{data:o,index:i};if(t[i+1]===r[1])return{data:o,index:i}}else"\t"===e&&(e=" ");o+=e}}(t,e+1,n);if(!o)return;let i=o.data;const s=o.index,a=i.search(/\s/);let u=i,c=!0;-1!==a&&(u=i.substring(0,a),i=i.substring(a+1).trimStart());const l=u;if(r){const t=u.indexOf(":");-1!==t&&(u=u.substr(t+1),c=u!==o.data.substr(t+1))}return{tagName:u,tagExp:i,closeIndex:s,attrExpPresent:c,rawTagName:l}}function w(t,e,r){const n=r;let o=1;for(;r<t.length;r++)if("<"===t[r])if("/"===t[r+1]){const i=b(t,">",r,`${e} is not closed`);if(t.substring(r+2,i).trim()===e&&(o--,0===o))return{tagContent:t.substring(n,r),i};r=i}else if("?"===t[r+1])r=b(t,"?>",r+1,"StopNode is not closed.");else if("!--"===t.substr(r+1,3))r=b(t,"--\x3e",r+3,"StopNode is not closed.");else if("!["===t.substr(r+1,2))r=b(t,"]]>",r,"StopNode is not closed.")-2;else{const n=v(t,r,">");n&&((n&&n.tagName)===e&&"/"!==n.tagExp[n.tagExp.length-1]&&o++,r=n.closeIndex)}}function E(t,e,r){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&s(t,r)}return n.isExist(t)?t:""}t.exports=class{constructor(t){this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,16))}},this.addExternalEntities=u,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=l,this.buildAttributesMap=h,this.isItStopNode=m,this.replaceEntitiesValue=g,this.readStopNodeData=w,this.saveTextToParentTag=y,this.addChild=d,this.ignoreAttributesFn=a(this.options.ignoreAttributes)}}},52341(t,e,r){"use strict";var n,o=r(65606);t.exports=x,x.ReadableState=A,r(37007).EventEmitter;var i,s=function(t,e){return t.listeners(e).length},a=r(81914),u=r(1048).Buffer,c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=r(86833);i=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,p,d=r(10272),g=r(16057),y=r(11922).getHighWaterMark,m=r(73157).F,b=m.ERR_INVALID_ARG_TYPE,v=m.ERR_STREAM_PUSH_AFTER_EOF,w=m.ERR_METHOD_NOT_IMPLEMENTED,E=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(56698)(x,a);var O=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function A(t,e,o){n=n||r(63527),t=t||{},"boolean"!=typeof o&&(o=e instanceof n),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=y(this,t,"readableHighWaterMark",o),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(83141).I),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function x(t){if(n=n||r(63527),!(this instanceof x))return new x(t);var e=this instanceof n;this._readableState=new A(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function T(t,e,r,n,o){i("readableAddChunk",e);var s,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(i("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,I(t)))}}(t,a);else if(o||(s=function(t,e){var r,n;return n=e,u.isBuffer(n)||n instanceof c||"string"==typeof e||void 0===e||t.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],e)),r}(a,e)),s)O(t,s);else if(a.objectMode||e&&e.length>0)if("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n)a.endEmitted?O(t,new E):_(t,a,e,!0);else if(a.ended)O(t,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?_(t,a,e,!1):P(t,a)):_(t,a,e,!1)}else n||(a.reading=!1,P(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function _(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),P(t,e)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),x.prototype.destroy=g.destroy,x.prototype._undestroy=g.undestroy,x.prototype._destroy=function(t,e){e(t)},x.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),T(this,t,e,!1,r)},x.prototype.unshift=function(t){return T(this,t,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(t){f||(f=r(83141).I);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,o="";null!==n;)o+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var R=1073741824;function N(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=R?t=R:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,o.nextTick(I,t))}function I(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,$(t)}function P(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(L,t,e))}function L(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(i("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function C(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function k(t){i("readable nexttick read 0"),t.read(0)}function M(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),$(t),e.flowing&&!e.reading&&t.read(0)}function $(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function D(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function U(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,o.nextTick(F,e,t))}function F(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function H(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}x.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?U(this):j(this),null;if(0===(t=N(t,e))&&e.ended)return 0===e.length&&U(this),null;var n,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=N(r,e))),null===(n=t>0?D(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&U(this)),null!==n&&this.emit("data",n),n},x.prototype._read=function(t){O(this,new w("_read()"))},x.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,e);var a=e&&!1===e.end||t===o.stdout||t===o.stderr?g:u;function u(){i("onend"),t.end()}n.endEmitted?o.nextTick(a):r.once("end",a),t.on("unpipe",function e(o,s){i("onunpipe"),o===r&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,i("cleanup"),t.removeListener("close",p),t.removeListener("finish",d),t.removeListener("drain",c),t.removeListener("error",h),t.removeListener("unpipe",e),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",f),l=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||c())});var c=function(t){return function(){var e=t._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,$(t))}}(r);t.on("drain",c);var l=!1;function f(e){i("ondata");var o=t.write(e);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==H(n.pipes,t))&&!l&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function h(e){i("onerror",e),g(),t.removeListener("error",h),0===s(t,"error")&&O(t,e)}function p(){t.removeListener("finish",d),g()}function d(){i("onfinish"),t.removeListener("close",p),g()}function g(){i("unpipe"),r.unpipe(t)}return r.on("data",f),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",h),t.once("close",p),t.once("finish",d),t.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),t},x.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var s=H(e.pipes,t);return-1===s||(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},x.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?j(this):n.reading||o.nextTick(k,this))),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&o.nextTick(C,this),r},x.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||o.nextTick(C,this),e},x.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(M,t,e))}(this,t)),t.paused=!1,this},x.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var o in t.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var s=0;s<S.length;s++)t.on(S[s],this.emit.bind(this,S[s]));return this._read=function(e){i("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(x.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(17356)),h(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),x._fromList=D,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(x.from=function(t,e){return void 0===p&&(p=r(6314)),p(x,t,e)})},53850(t,e,r){"use strict";function n(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}r.d(e,{P:()=>n})},54779(t,e,r){const n=r(88279);function o(t,e){let r="";for(;e<t.length&&"'"!==t[e]&&'"'!==t[e];e++)r+=t[e];if(r=r.trim(),-1!==r.indexOf(" "))throw new Error("External entites are not supported");const n=t[e++];let o="";for(;e<t.length&&t[e]!==n;e++)o+=t[e];return[r,o,e]}function i(t,e){return"!"===t[e+1]&&"-"===t[e+2]&&"-"===t[e+3]}function s(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"N"===t[e+3]&&"T"===t[e+4]&&"I"===t[e+5]&&"T"===t[e+6]&&"Y"===t[e+7]}function a(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"L"===t[e+3]&&"E"===t[e+4]&&"M"===t[e+5]&&"E"===t[e+6]&&"N"===t[e+7]&&"T"===t[e+8]}function u(t,e){return"!"===t[e+1]&&"A"===t[e+2]&&"T"===t[e+3]&&"T"===t[e+4]&&"L"===t[e+5]&&"I"===t[e+6]&&"S"===t[e+7]&&"T"===t[e+8]}function c(t,e){return"!"===t[e+1]&&"N"===t[e+2]&&"O"===t[e+3]&&"T"===t[e+4]&&"A"===t[e+5]&&"T"===t[e+6]&&"I"===t[e+7]&&"O"===t[e+8]&&"N"===t[e+9]}function l(t){if(n.isName(t))return t;throw new Error(`Invalid entity name ${t}`)}t.exports=function(t,e){const r={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let n=1,f=!1,h=!1,p="";for(;e<t.length;e++)if("<"!==t[e]||h)if(">"===t[e]){if(h?"-"===t[e-1]&&"-"===t[e-2]&&(h=!1,n--):n--,0===n)break}else"["===t[e]?f=!0:p+=t[e];else{if(f&&s(t,e)){let n,i;e+=7,[n,i,e]=o(t,e+1),-1===i.indexOf("&")&&(r[l(n)]={regx:RegExp(`&${n};`,"g"),val:i})}else if(f&&a(t,e))e+=8;else if(f&&u(t,e))e+=8;else if(f&&c(t,e))e+=9;else{if(!i)throw new Error("Invalid DOCTYPE");h=!0}n++,p=""}if(0!==n)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:e}}},55373(t,e,r){"use strict";var n=r(98636),o=r(62642),i=r(74765);t.exports={formats:i,parse:o,stringify:n}},55537(t,e,r){var n=r(62045).hp,o=r(65606),i=r(6688),s=r(56698),a=r(6917),u=r(63242),c=a.IncomingMessage,l=a.readyStates,f=t.exports=function(t){var e,r=this;u.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+n.from(t.auth).toString("base64")),Object.keys(t.headers).forEach(function(e){r.setHeader(e,t.headers[e])});var o=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!i.abortController)o=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!i.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}r._mode=function(t,e){return i.fetch&&e?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&t?"arraybuffer":"text"}(e,o),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};s(f,u.Writable),f.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===h.indexOf(r)&&(this._headers[r]={name:t,value:e})},f.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},f.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},f.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&0!==e.timeout&&t.setTimeout(e.timeout);var r=t._headers,n=null;"GET"!==e.method&&"HEAD"!==e.method&&(n=new Blob(t._body,{type:(r["content-type"]||{}).value||""}));var s=[];if(Object.keys(r).forEach(function(t){var e=r[t].name,n=r[t].value;Array.isArray(n)?n.forEach(function(t){s.push([e,t])}):s.push([e,n])}),"fetch"===t._mode){var a=null;if(i.abortController){var u=new AbortController;a=u.signal,t._fetchAbortController=u,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=globalThis.setTimeout(function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()},e.requestTimeout))}globalThis.fetch(t._opts.url,{method:t._opts.method,headers:s,body:n||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:a}).then(function(e){t._fetchResponse=e,t._resetTimers(!1),t._connect()},function(e){t._resetTimers(!0),t._destroyed||t.emit("error",e)})}else{var c=t._xhr=new globalThis.XMLHttpRequest;try{c.open(t._opts.method,t._opts.url,!0)}catch(e){return void o.nextTick(function(){t.emit("error",e)})}"responseType"in c&&(c.responseType=t._mode),"withCredentials"in c&&(c.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(c.timeout=e.requestTimeout,c.ontimeout=function(){t.emit("requestTimeout")}),s.forEach(function(t){c.setRequestHeader(t[0],t[1])}),t._response=null,c.onreadystatechange=function(){switch(c.readyState){case l.LOADING:case l.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(c.onprogress=function(){t._onXHRProgress()}),c.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{c.send(n)}catch(e){return void o.nextTick(function(){t.emit("error",e)})}}}},f.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))},f.prototype._connect=function(){var t=this;t._destroyed||(t._response=new c(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",function(e){t.emit("error",e)}),t.emit("response",t._response))},f.prototype._write=function(t,e,r){this._body.push(t),r()},f.prototype._resetTimers=function(t){var e=this;globalThis.clearTimeout(e._socketTimer),e._socketTimer=null,t?(globalThis.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=globalThis.setTimeout(function(){e.emit("timeout")},e._socketTimeout))},f.prototype.abort=f.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)},f.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},f.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)},f.prototype.flushHeaders=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},56401(t){function e(t,s,a,u){let c="",l=!1;for(let f=0;f<t.length;f++){const h=t[f],p=r(h);if(void 0===p)continue;let d="";if(d=0===a.length?p:`${a}.${p}`,p===s.textNodeName){let t=h[p];o(d,s)||(t=s.tagValueProcessor(p,t),t=i(t,s)),l&&(c+=u),c+=t,l=!1;continue}if(p===s.cdataPropName){l&&(c+=u),c+=`<![CDATA[${h[p][0][s.textNodeName]}]]>`,l=!1;continue}if(p===s.commentPropName){c+=u+`\x3c!--${h[p][0][s.textNodeName]}--\x3e`,l=!0;continue}if("?"===p[0]){const t=n(h[":@"],s),e="?xml"===p?"":u;let r=h[p][0][s.textNodeName];r=0!==r.length?" "+r:"",c+=e+`<${p}${r}${t}?>`,l=!0;continue}let g=u;""!==g&&(g+=s.indentBy);const y=u+`<${p}${n(h[":@"],s)}`,m=e(h[p],s,d,g);-1!==s.unpairedTags.indexOf(p)?s.suppressUnpairedNode?c+=y+">":c+=y+"/>":m&&0!==m.length||!s.suppressEmptyNode?m&&m.endsWith(">")?c+=y+`>${m}${u}</${p}>`:(c+=y+">",m&&""!==u&&(m.includes("/>")||m.includes("</"))?c+=u+s.indentBy+m+u:c+=m,c+=`</${p}>`):c+=y+"/>",l=!0}return c}function r(t){const e=Object.keys(t);for(let r=0;r<e.length;r++){const n=e[r];if(t.hasOwnProperty(n)&&":@"!==n)return n}}function n(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!t.hasOwnProperty(n))continue;let o=e.attributeValueProcessor(n,t[n]);o=i(o,e),!0===o&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${o}"`}return r}function o(t,e){let r=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let n in e.stopNodes)if(e.stopNodes[n]===t||e.stopNodes[n]==="*."+r)return!0;return!1}function i(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){const n=e.entities[r];t=t.replace(n.regex,n.val)}return t}t.exports=function(t,r){let n="";return r.format&&r.indentBy.length>0&&(n="\n"),e(t,r,"",n)}},57221(t,e,r){"use strict";r.d(e,{Ey:()=>o,nk:()=>i});var n=r(85914);function o(t){return n.decode(t)}function i(t){return n.encode(t)}r(15723)},57510(t){t.exports=function(){for(var t={},r=0;r<arguments.length;r++){var n=arguments[r];for(var o in n)e.call(n,o)&&(t[o]=n[o])}return t};var e=Object.prototype.hasOwnProperty},58859(t,e,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,s=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,O=RegExp.prototype.test,S=Array.prototype.concat,A=Array.prototype.join,x=Array.prototype.slice,T=Math.floor,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,L=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function C(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||O.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-T(-t):T(t);if(n!==t){var o=String(n),i=b.call(e,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var k=r(42634),M=k.custom,$=W(M)?M:null,D={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function F(t,e,r){var n=r.quoteStyle||e,o=D[n];return o+t+o}function H(t){return v.call(String(t),/"/g,"&quot;")}function q(t){return!I||!("object"==typeof t&&(I in t||void 0!==t[I]))}function B(t){return"[object Array]"===X(t)&&q(t)}function G(t){return"[object RegExp]"===X(t)&&q(t)}function W(t){if(j)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!N)return!1;try{return N.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,n,o){var a=r||{};if(z(a,"quoteStyle")&&!z(D,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!z(a,"customInspect")||a.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var g=a.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Z(e,a);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return g?C(e,w):w}if("bigint"==typeof e){var O=String(e)+"n";return g?C(e,O):O}var T=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=T&&T>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var R,M=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=A.call(Array(t.indent+1)," ")}return{base:r,prev:A.call(Array(e+1),r)}}(a,n);if(void 0===o)o=[];else if(K(o,e)>=0)return"[Circular]";function U(e,r,i){if(r&&(o=x.call(o)).push(r),i){var s={depth:a.depth};return z(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,n+1,o)}return t(e,a,n+1,o)}if("function"==typeof e&&!G(e)){var V=function(t){if(t.name)return t.name;var e=m.call(y.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),Y=rt(e,U);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(Y.length>0?" { "+A.call(Y,", ")+" }":"")}if(W(e)){var nt=j?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(e);return"object"!=typeof e||j?nt:J(nt)}if((R=e)&&"object"==typeof R&&("undefined"!=typeof HTMLElement&&R instanceof HTMLElement||"string"==typeof R.nodeName&&"function"==typeof R.getAttribute)){for(var ot="<"+E.call(String(e.nodeName)),it=e.attributes||[],st=0;st<it.length;st++)ot+=" "+it[st].name+"="+F(H(it[st].value),"double",a);return ot+=">",e.childNodes&&e.childNodes.length&&(ot+="..."),ot+"</"+E.call(String(e.nodeName))+">"}if(B(e)){if(0===e.length)return"[]";var at=rt(e,U);return M&&!function(t){for(var e=0;e<t.length;e++)if(K(t[e],"\n")>=0)return!1;return!0}(at)?"["+et(at,M)+"]":"[ "+A.call(at,", ")+" ]"}if(function(t){return"[object Error]"===X(t)&&q(t)}(e)){var ut=rt(e,U);return"cause"in Error.prototype||!("cause"in e)||P.call(e,"cause")?0===ut.length?"["+String(e)+"]":"{ ["+String(e)+"] "+A.call(ut,", ")+" }":"{ ["+String(e)+"] "+A.call(S.call("[cause]: "+U(e.cause),ut),", ")+" }"}if("object"==typeof e&&u){if($&&"function"==typeof e[$]&&k)return k(e,{depth:T-n});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ct=[];return s&&s.call(e,function(t,r){ct.push(U(r,e,!0)+" => "+U(t,e))}),tt("Map",i.call(e),ct,M)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var lt=[];return l&&l.call(e,function(t){lt.push(U(t,e))}),tt("Set",c.call(e),lt,M)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{return p.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if(function(t){return"[object Number]"===X(t)&&q(t)}(e))return J(U(Number(e)));if(function(t){if(!t||"object"!=typeof t||!_)return!1;try{return _.call(t),!0}catch(t){}return!1}(e))return J(U(_.call(e)));if(function(t){return"[object Boolean]"===X(t)&&q(t)}(e))return J(d.call(e));if(function(t){return"[object String]"===X(t)&&q(t)}(e))return J(U(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||"undefined"!=typeof globalThis&&e===globalThis)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===X(t)&&q(t)}(e)&&!G(e)){var ft=rt(e,U),ht=L?L(e)===Object.prototype:e instanceof Object||e.constructor===Object,pt=e instanceof Object?"":"null prototype",dt=!ht&&I&&Object(e)===e&&I in e?b.call(X(e),8,-1):pt?"Object":"",gt=(ht||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(dt||pt?"["+A.call(S.call([],dt||[],pt||[]),": ")+"] ":"");return 0===ft.length?gt+"{}":M?gt+"{"+et(ft,M)+"}":gt+"{ "+A.call(ft,", ")+" }"}return String(e)};var V=Object.prototype.hasOwnProperty||function(t){return t in this};function z(t,e){return V.call(t,e)}function X(t){return g.call(t)}function K(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Z(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Z(b.call(t,0,e.maxStringLength),e)+n}var o=U[e.quoteStyle||"single"];return o.lastIndex=0,F(v.call(v.call(t,o,"\\$1"),/[\x00-\x1f]/g,Y),"single",e)}function Y(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function J(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function tt(t,e,r,n){return t+" ("+e+") {"+(n?et(r,n):A.call(r,", "))+"}"}function et(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+A.call(t,","+r)+"\n"+e.prev}function rt(t,e){var r=B(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=z(t,o)?e(t[o],t):""}var i,s="function"==typeof R?R(t):[];if(j){i={};for(var a=0;a<s.length;a++)i["$"+s[a]]=s[a]}for(var u in t)z(t,u)&&(r&&String(Number(u))===u&&u<t.length||j&&i["$"+u]instanceof Symbol||(O.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if("function"==typeof R)for(var c=0;c<s.length;c++)P.call(t,s[c])&&n.push("["+e(s[c])+"]: "+e(t[s[c]],t));return n}},59169(){},61160(t,e,r){"use strict";var n=r(92063),o=r(73992),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function f(t){return(t||"").toString().replace(i,"")}var h=[["#","hash"],["?","query"],function(t,e){return g(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function d(t){var e,r=("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).location||{},n={},o=typeof(t=t||r);if("blob:"===t.protocol)n=new m(unescape(t.pathname),{});else if("string"===o)for(e in n=new m(t,{}),p)delete n[e];else if("object"===o){for(e in t)e in p||(n[e]=t[e]);void 0===n.slashes&&(n.slashes=a.test(t.href))}return n}function g(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function y(t,e){t=(t=f(t)).replace(s,""),e=e||{};var r,n=c.exec(t),o=n[1]?n[1].toLowerCase():"",i=!!n[2],a=!!n[3],u=0;return i?a?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):a?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===o?u>=2&&(r=r.slice(2)):g(o)?r=n[4]:o?i&&(r=r.slice(2)):u>=2&&g(e.protocol)&&(r=n[4]),{protocol:o,slashes:i||g(o),slashesCount:u,rest:r}}function m(t,e,r){if(t=(t=f(t)).replace(s,""),!(this instanceof m))return new m(t,e,r);var i,a,u,c,p,b,v=h.slice(),w=typeof e,E=this,O=0;for("object"!==w&&"string"!==w&&(r=e,e=null),r&&"function"!=typeof r&&(r=o.parse),i=!(a=y(t||"",e=d(e))).protocol&&!a.slashes,E.slashes=a.slashes||i&&e.slashes,E.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||l.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!g(E.protocol)))&&(v[3]=[/(.*)/,"pathname"]);O<v.length;O++)"function"!=typeof(c=v[O])?(u=c[0],b=c[1],u!=u?E[b]=t:"string"==typeof u?~(p="@"===u?t.lastIndexOf(u):t.indexOf(u))&&("number"==typeof c[2]?(E[b]=t.slice(0,p),t=t.slice(p+c[2])):(E[b]=t.slice(p),t=t.slice(0,p))):(p=u.exec(t))&&(E[b]=p[1],t=t.slice(0,p.index)),E[b]=E[b]||i&&c[3]&&e[b]||"",c[4]&&(E[b]=E[b].toLowerCase())):t=c(t,E);r&&(E.query=r(E.query)),i&&e.slashes&&"/"!==E.pathname.charAt(0)&&(""!==E.pathname||""!==e.pathname)&&(E.pathname=function(t,e){if(""===t)return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,o=r[n-1],i=!1,s=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),s++):s&&(0===n&&(i=!0),r.splice(n,1),s--);return i&&r.unshift(""),"."!==o&&".."!==o||r.push(""),r.join("/")}(E.pathname,e.pathname)),"/"!==E.pathname.charAt(0)&&g(E.protocol)&&(E.pathname="/"+E.pathname),n(E.port,E.protocol)||(E.host=E.hostname,E.port=""),E.username=E.password="",E.auth&&(~(p=E.auth.indexOf(":"))?(E.username=E.auth.slice(0,p),E.username=encodeURIComponent(decodeURIComponent(E.username)),E.password=E.auth.slice(p+1),E.password=encodeURIComponent(decodeURIComponent(E.password))):E.username=encodeURIComponent(decodeURIComponent(E.auth)),E.auth=E.password?E.username+":"+E.password:E.username),E.origin="file:"!==E.protocol&&g(E.protocol)&&E.host?E.protocol+"//"+E.host:"null",E.href=E.toString()}m.prototype={set:function(t,e,r){var i=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(r||o.parse)(e)),i[t]=e;break;case"port":i[t]=e,n(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[t]="");break;case"hostname":i[t]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[t]=e,u.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!r;break;case"pathname":case"hash":if(e){var s="pathname"===t?"/":"#";i[t]=e.charAt(0)!==s?s+e:e}else i[t]=e;break;case"username":case"password":i[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var c=0;c<h.length;c++){var l=h[c];l[4]&&(i[l[1]]=i[l[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&g(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(t){t&&"function"==typeof t||(t=o.stringify);var e,r=this,n=r.host,i=r.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var s=i+(r.protocol&&r.slashes||g(r.protocol)?"//":"");return r.username?(s+=r.username,r.password&&(s+=":"+r.password),s+="@"):r.password?(s+=":"+r.password,s+="@"):"file:"!==r.protocol&&g(r.protocol)&&!n&&"/"!==r.pathname&&(s+="@"),(":"===n[n.length-1]||u.test(r.hostname)&&!r.port)&&(n+=":"),s+=n+r.pathname,(e="object"==typeof r.query?t(r.query):r.query)&&(s+="?"!==e.charAt(0)?"?"+e:e),r.hash&&(s+=r.hash),s}},m.extractProtocol=y,m.location=d,m.trimLeft=f,m.qs=o,t.exports=m},62642(t,e,r){"use strict";var n=r(37720),o=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},u=function(t,e,r){if(t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(1===e.arrayLimit?"":"s")+" allowed in an array.");return t},c=function(t,e,r,i){if(t){var s=function(t,e){var r=e.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(e.depth<=0){if(!e.plainObjects&&o.call(Object.prototype,r)&&!e.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,i=/(\[[^[\]]*])/.exec(r),s=i?r.slice(0,i.index):r,a=[];if(s){if(!e.plainObjects&&o.call(Object.prototype,s)&&!e.allowPrototypes)return;a.push(s)}for(var u=0;null!==(i=n.exec(r))&&u<e.depth;){u+=1;var c=i[1].slice(1,-1);if(!e.plainObjects&&o.call(Object.prototype,c)&&!e.allowPrototypes)return;a.push(i[1])}if(i){if(!0===e.strictDepth)throw new RangeError("Input depth exceeded depth option of "+e.depth+" and strictDepth is true");a.push("["+r.slice(i.index)+"]")}return a}(t,r);if(s)return function(t,e,r,o){var i=0;if(t.length>0&&"[]"===t[t.length-1]){var s=t.slice(0,-1).join("");i=Array.isArray(e)&&e[s]?e[s].length:0}for(var a=o?e:u(e,r,i),c=t.length-1;c>=0;--c){var l,f=t[c];if("[]"===f&&r.parseArrays)l=n.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:n.combine([],a,r.arrayLimit,r.plainObjects);else{l=r.plainObjects?{__proto__:null}:{};var h="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,p=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,d=parseInt(p,10);r.parseArrays||""!==p?!isNaN(d)&&f!==p&&String(d)===p&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(l=[])[d]=a:"__proto__"!==p&&(l[p]=a):l={0:a}}a=l}return a}(s,e,r,i)}};t.exports=function(t,e){var r=function(t){if(!t)return s;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=void 0===t.charset?s.charset:t.charset,r=void 0===t.duplicates?s.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||s.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:s.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:s.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:s.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:s.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:s.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(e);if(""===t||null==t)return r.plainObjects?{__proto__:null}:{};for(var l="string"==typeof t?function(t,e){var r={__proto__:null},c=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=c.split(e.delimiter,e.throwOnLimitExceeded?l+1:l);if(e.throwOnLimitExceeded&&f.length>l)throw new RangeError("Parameter limit exceeded. Only "+l+" parameter"+(1===l?"":"s")+" allowed.");var h,p=-1,d=e.charset;if(e.charsetSentinel)for(h=0;h<f.length;++h)0===f[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[h]?d="utf-8":"utf8=%26%2310003%3B"===f[h]&&(d="iso-8859-1"),p=h,h=f.length);for(h=0;h<f.length;++h)if(h!==p){var g,y,m=f[h],b=m.indexOf("]="),v=-1===b?m.indexOf("="):b+1;if(-1===v?(g=e.decoder(m,s.decoder,d,"key"),y=e.strictNullHandling?null:""):null!==(g=e.decoder(m.slice(0,v),s.decoder,d,"key"))&&(y=n.maybeMap(u(m.slice(v+1),e,i(r[g])?r[g].length:0),function(t){return e.decoder(t,s.decoder,d,"value")})),y&&e.interpretNumericEntities&&"iso-8859-1"===d&&(y=a(String(y))),m.indexOf("[]=")>-1&&(y=i(y)?[y]:y),null!==g){var w=o.call(r,g);w&&"combine"===e.duplicates?r[g]=n.combine(r[g],y,e.arrayLimit,e.plainObjects):w&&"last"!==e.duplicates||(r[g]=y)}}return r}(t,r):t,f=r.plainObjects?{__proto__:null}:{},h=Object.keys(l),p=0;p<h.length;++p){var d=h[p],g=c(d,l[d],r,"string"==typeof t);f=n.merge(f,g,r)}return!0===r.allowSparse?f:n.compact(f)}},63242(t,e,r){(e=t.exports=r(52341)).Stream=e,e.Readable=e,e.Writable=r(9573),e.Duplex=r(63527),e.Transform=r(95689),e.PassThrough=r(82571),e.finished=r(19959),e.pipeline=r(37413)},63527(t,e,r){"use strict";var n=r(65606),o=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=l;var i=r(52341),s=r(9573);r(56698)(l,i);for(var a=o(s.prototype),u=0;u<a.length;u++){var c=a[u];l.prototype[c]||(l.prototype[c]=s.prototype[c])}function l(t){if(!(this instanceof l))return new l(t);i.call(this,t),s.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},63779(){},67691(t,e){"use strict";e.d=function(t){if(!t)return 0;for(var e=(t=t.toString()).length,r=t.length;r--;){var n=t.charCodeAt(r);56320<=n&&n<=57343&&r--,127<n&&n<=2047?e++:2047<n&&n<=65535&&(e+=2)}return e}},68476(t,e,r){"use strict";r.d(e,{V:()=>c,o:()=>l});var n=r(88310),o=r(85394),i=r(36236),s=r(89062),a=r(5e3);const u=()=>{};function c(t,e,r={}){const u=new(0,n.PassThrough);return async function(t,e,r={}){const n={};if("object"==typeof r.range&&"number"==typeof r.range.start){let t=`bytes=${r.range.start}-`;"number"==typeof r.range.end&&(t=`${t}${r.range.end}`),n.Range=t}const u=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"GET",headers:n},t,r),c=await(0,s.E)(u,t);if((0,a.HT)(t,c),n.Range&&206!==c.status){const t=new Error(`Invalid response code for partial request: ${c.status}`);throw t.status=c.status,t}return r.callback&&setTimeout(()=>{r.callback(c)},0),c.body}(t,e,r).then(t=>{t.pipe(u)}).catch(t=>{u.emit("error",t)}),u}function l(t,e,r={},c=u){const l=new(0,n.PassThrough),f={};!1===r.overwrite&&(f["If-None-Match"]="*");const h=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"PUT",headers:f,data:l,maxRedirects:0},t,r);return(0,s.E)(h,t).then(e=>(0,a.HT)(t,e)).then(t=>{setTimeout(()=>{c(t)},0)}).catch(t=>{l.emit("error",t)}),l}},68928(t,e,r){var n=r(8505);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),y(function(t){return t.split("\\\\").join(o).split("\\{").join(i).split("\\}").join(s).split("\\,").join(a).split("\\.").join(u)}(t),!0).map(l)):[]};var o="\0SLASH"+Math.random()+"\0",i="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function l(t){return t.split(o).join("\\").split(i).join("{").split(s).join("}").split(a).join(",").split(u).join(".")}function f(t){if(!t)return[""];var e=[],r=n("{","}",t);if(!r)return t.split(",");var o=r.pre,i=r.body,s=r.post,a=o.split(",");a[a.length-1]+="{"+i+"}";var u=f(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),e.push.apply(e,a),e}function h(t){return"{"+t+"}"}function p(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function g(t,e){return t>=e}function y(t,e){var r=[],o=n("{","}",t);if(!o)return[t];var i=o.pre,a=o.post.length?y(o.post,!1):[""];if(/\$$/.test(o.pre))for(var u=0;u<a.length;u++){var l=i+"{"+o.body+"}"+a[u];r.push(l)}else{var m,b,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),E=v||w,O=o.body.indexOf(",")>=0;if(!E&&!O)return o.post.match(/,(?!,).*\}/)?y(t=o.pre+"{"+o.body+s+o.post):[t];if(E)m=o.body.split(/\.\./);else if(1===(m=f(o.body)).length&&1===(m=y(m[0],!1).map(h)).length)return a.map(function(t){return o.pre+m[0]+t});if(E){var S=c(m[0]),A=c(m[1]),x=Math.max(m[0].length,m[1].length),T=3==m.length?Math.abs(c(m[2])):1,_=d;A<S&&(T*=-1,_=g);var R=m.some(p);b=[];for(var N=S;_(N,A);N+=T){var j;if(w)"\\"===(j=String.fromCharCode(N))&&(j="");else if(j=String(N),R){var I=x-j.length;if(I>0){var P=new Array(I+1).join("0");j=N<0?"-"+P+j.slice(1):P+j}}b.push(j)}}else{b=[];for(var L=0;L<m.length;L++)b.push.apply(b,y(m[L],!1))}for(L=0;L<b.length;L++)for(u=0;u<a.length;u++)l=i+b[L]+a[u],(!e||E||l)&&r.push(l)}return r}},71922(t,e,r){"use strict";r.d(e,{J:()=>u});var n=r(42294),o=r(67691),i=r(47397),s=r(53850),a=r(38374);function u(t){if((0,i.m)(t))return t.byteLength;if((0,s.P)(t))return t.length;if("string"==typeof t)return(0,o.d)(t);throw new n.GU({info:{code:a.O4.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}},72271(t,e,r){"use strict";var n=r(70453),o=r(36556),i=r(58859),s=r(80507),a=r(69675),u=n("%WeakMap%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),h=o("WeakMap.prototype.delete",!0);t.exports=u?function(){var t,e,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+i(t))},delete:function(r){if(u&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(s&&e)return e.delete(r);return!1},get:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&t?c(t,r):e&&e.get(r)},has:function(r){return u&&r&&("object"==typeof r||"function"==typeof r)&&t?f(t,r):!!e&&e.has(r)},set:function(r,n){u&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new u),l(t,r,n)):s&&(e||(e=s()),e.set(r,n))}};return r}:s},73157(t){"use strict";var e={};function r(t,r,n){n||(n=Error);var o=function(t){var e,n;function o(e,n,o){return t.call(this,function(t,e,n){return"string"==typeof r?r:r(t,e,n)}(e,n,o))||this}return n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o}(n);o.prototype.name=n.name,o.prototype.code=t,e[t]=o}function n(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(t){return String(t)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(t,e,r){var o,i,s,a,u;if("string"==typeof e&&(i="not ",e.substr(0,4)===i)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-9,r)===e}(t," argument"))s="The ".concat(t," ").concat(o," ").concat(n(e,"type"));else{var c=("number"!=typeof u&&(u=0),u+1>(a=t).length||-1===a.indexOf(".",u)?"argument":"property");s='The "'.concat(t,'" ').concat(c," ").concat(o," ").concat(n(e,"type"))}return s+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=e},73733(t,e,r){"use strict";r.d(e,{U:()=>s});const n={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},o=t=>t.replace(/[[\]\\-]/g,"\\$&"),i=t=>t.join(""),s=(t,e)=>{const r=e;if("["!==t.charAt(r))throw new Error("not in a brace expression");const s=[],a=[];let u=r+1,c=!1,l=!1,f=!1,h=!1,p=r,d="";t:for(;u<t.length;){const e=t.charAt(u);if("!"!==e&&"^"!==e||u!==r+1){if("]"===e&&c&&!f){p=u+1;break}if(c=!0,"\\"!==e||f){if("["===e&&!f)for(const[e,[o,i,c]]of Object.entries(n))if(t.startsWith(e,u)){if(d)return["$.",!1,t.length-r,!0];u+=e.length,c?a.push(o):s.push(o),l=l||i;continue t}f=!1,d?(e>d?s.push(o(d)+"-"+o(e)):e===d&&s.push(o(e)),d="",u++):t.startsWith("-]",u+1)?(s.push(o(e+"-")),u+=2):t.startsWith("-",u+1)?(d=e,u+=2):(s.push(o(e)),u++)}else f=!0,u++}else h=!0,u++}if(p<u)return["",!1,0,!1];if(!s.length&&!a.length)return["$.",!1,t.length-r,!0];if(0===a.length&&1===s.length&&/^\\?.$/.test(s[0])&&!h){return[(g=2===s[0].length?s[0].slice(-1):s[0],g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,p-r,!1]}var g;const y="["+(h?"^":"")+i(s)+"]",m="["+(h?"":"^")+i(a)+"]";return[s.length&&a.length?"("+y+"|"+m+")":s.length?y:m,l,p-r,!0]}},73992(t,e){"use strict";var r=Object.prototype.hasOwnProperty;function n(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){e=e||"";var n,i,s=[];for(i in"string"!=typeof e&&(e="?"),t)if(r.call(t,i)){if((n=t[i])||null!=n&&!isNaN(n)||(n=""),i=o(i),n=o(n),null===i||null===n)continue;s.push(i+"="+n)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,r=/([^=?#&]+)=?([^&]*)/g,o={};e=r.exec(t);){var i=n(e[1]),s=n(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}},74419(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(12692),o=r(85394),i=r(36236),s=r(90176),a=r(89062),u=r(5e3);async function c(t,e,r={}){const c=(0,a.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:r.deep?"infinity":"1"}},t,r),l=await(0,a.E)(c,t);(0,u.HT)(t,l);const f=await l.text();if(!f)throw new Error("Failed parsing directory contents: Empty response");const h=await(0,s.h4)(f),p=(0,i.dU)(e);let d=function(t,e,r,a=!1,u=!1){const c=n.join(e,"/"),{multistatus:{response:l}}=t,f=l.map(t=>{const e=(0,o.S8)(t.href),{propstat:{prop:r}}=t,u="/"===c?decodeURIComponent((0,i.qb)(e)):(0,i.qb)(n.relative(decodeURIComponent(c),decodeURIComponent(e)));return(0,s.ch)(r,u,a)});return u?f:f.filter(t=>t.basename&&("file"===t.type||t.filename!==r.replace(/\/$/,"")))}(h,(0,i.dU)(t.remoteBasePath||t.remotePath),p,r.details,r.includeSelf);return r.glob&&(d=(0,u.eh)(d,r.glob)),(0,u.hq)(l,d,r.details)}},74470(t,e){"use strict";function r(t,e,s){let a;const u={};for(let c=0;c<t.length;c++){const l=t[c],f=n(l);let h="";if(h=void 0===s?f:s+"."+f,f===e.textNodeName)void 0===a?a=l[f]:a+=""+l[f];else{if(void 0===f)continue;if(l[f]){let t=r(l[f],e,h);const n=i(t,e);l[":@"]?o(t,l[":@"],h,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==u[f]&&u.hasOwnProperty(f)?(Array.isArray(u[f])||(u[f]=[u[f]]),u[f].push(t)):e.isArray(f,h,n)?u[f]=[t]:u[f]=t}}}return"string"==typeof a?a.length>0&&(u[e.textNodeName]=a):void 0!==a&&(u[e.textNodeName]=a),u}function n(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const r=e[t];if(":@"!==r)return r}}function o(t,e,r,n){if(e){const o=Object.keys(e),i=o.length;for(let s=0;s<i;s++){const i=o[s];n.isArray(i,r+"."+i,!0,!0)?t[i]=[e[i]]:t[i]=e[i]}}}function i(t,e){const{textNodeName:r}=e,n=Object.keys(t).length;return 0===n||!(1!==n||!t[r]&&"boolean"!=typeof t[r]&&0!==t[r])}e.prettify=function(t,e){return r(t,e)}},74765(t){"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},75780(t,e,r){},75892(t,e,r){"use strict";r.d(e,{t:()=>o});var n=r(84830);async function o(t,e,r={}){try{return await(0,n.z)(t,e,r),!0}catch(t){if(404===t.status)return!1;throw t}}},76374(t,e,r){"use strict";r.d(e,{J:()=>a});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3);async function a(t,e,r){r.url||(r.url=(0,n.oq)(t.remoteURL,(0,o.O0)(e)));const a=(0,i.H)(r,t,{}),u=await(0,i.E)(a,t);return(0,s.HT)(t,u),u}},77087(t,e,r){"use strict";r.d(e,{m:()=>a});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3);async function a(t,e,r,a={}){const u=(0,i.H)({url:(0,n.oq)(t.remoteURL,(0,o.O0)(e)),method:"MOVE",headers:{Destination:(0,n.oq)(t.remoteURL,(0,o.O0)(r)),Overwrite:!1===a.overwrite?"F":"T"}},t,a),c=await(0,i.E)(u,t);(0,s.HT)(t,c)}},77101(t,e,r){"use strict";r.d(e,{W:()=>a});var n=r(85394),o=r(36236),i=r(89062),s=r(5e3);async function a(t,e,r={}){const a=(0,i.H)({url:(0,n.oq)(t.remoteURL,(0,o.O0)(e)),method:"DELETE"},t,r),u=await(0,i.E)(a,t);(0,s.HT)(t,u)}},77199(){},78049(t,e,r){"use strict";r.d(e,{W:()=>o});var n=r(93028);function o(t){let e,r="";if(0===t.length)e={};else if((0,n.b)(t[0]))e={cause:t[0]},r=t.slice(1).join(" ")||"";else if(t[0]&&"object"==typeof t[0])e=Object.assign({},t[0]),r=t.slice(1).join(" ")||"";else{if("string"!=typeof t[0])throw new Error("Invalid arguments passed to Layerr");e={},r=r=t.join(" ")||""}return{options:e,shortMessage:r}}},79275(t,e,r){"use strict";function n(t){return function(t){if("object"!=typeof t||null===t||"[object Object]"!=Object.prototype.toString.call(t))return!1;if(null===Object.getPrototypeOf(t))return!0;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function o(...t){let e=null,r=[...t];for(;r.length>0;){const t=r.shift();e=e?i(e,t):n(t)}return e}function i(t,e){const r=n(t);return Object.keys(e).forEach(t=>{r.hasOwnProperty(t)?Array.isArray(e[t])?r[t]=Array.isArray(r[t])?[...r[t],...e[t]]:[...e[t]]:"object"==typeof e[t]&&e[t]?r[t]="object"==typeof r[t]&&r[t]?i(r[t],e[t]):n(e[t]):r[t]=e[t]:r[t]=e[t]}),r}r.d(e,{h:()=>o,q:()=>n})},79605(t,e,r){"use strict";function n(t){const e={};for(const r of t.keys())e[r]=t.get(r);return e}function o(...t){if(0===t.length)return{};const e={};return t.reduce((t,r)=>(Object.keys(r).forEach(n=>{const o=n.toLowerCase();e.hasOwnProperty(o)?t[e[o]]=r[n]:(e[o]=n,t[n]=r[n])}),t),{})}r.d(e,{N:()=>n,l:()=>o})},80156(t,e,r){"use strict";r.d(e,{T:()=>u});var n=r(90176),o=r(85394),i=r(36236),s=r(89062),a=r(5e3);async function u(t,e,r={}){const{details:u=!1}=r,c=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,r),l=await(0,s.E)(c,t);(0,a.HT)(t,l);const f=await l.text(),h=await(0,n.h4)(f),p=(0,n.KA)(h,e,u);return(0,a.hq)(l,p,u)}},80507(t,e,r){"use strict";var n=r(70453),o=r(36556),i=r(58859),s=r(69675),a=n("%Map%",!0),u=o("Map.prototype.get",!0),c=o("Map.prototype.set",!0),l=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),h=o("Map.prototype.size",!0);t.exports=!!a&&function(){var t,e={assert:function(t){if(!e.has(t))throw new s("Side channel does not contain "+i(t))},delete:function(e){if(t){var r=f(t,e);return 0===h(t)&&(t=void 0),r}return!1},get:function(e){if(t)return u(t,e)},has:function(e){return!!t&&l(t,e)},set:function(e,r){t||(t=new a),c(t,e,r)}};return e}},81135(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},81838(t,e,r){"use strict";r.d(e,{V:()=>l});var n=r(42294),o=r(85394),i=r(36236),s=r(89062),a=r(5e3),u=r(10524),c=r(38374);async function l(t,e,r,l,f,h={}){const p=await(0,u.p)(t,e,h);if(p.compliance.includes("sabredav-partialupdate"))return await async function(t,e,r,u,l,f={}){if(r>u||r<0)throw new n.GU({info:{code:c.O4.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const h={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(u-r+1),"X-Update-Range":`bytes=${r}-${u}`},p=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"PATCH",headers:h,data:l},t,f),d=await(0,s.E)(p,t);(0,a.HT)(t,d)}(t,e,r,l,f,h);if(p.server.includes("Apache")&&p.compliance.includes("<http://apache.org/dav/propset/fs/1>"))return await async function(t,e,r,u,l,f={}){if(r>u||r<0)throw new n.GU({info:{code:c.O4.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const h={"Content-Type":"application/octet-stream","Content-Length":""+(u-r+1),"Content-Range":`bytes ${r}-${u}/*`},p=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"PUT",headers:h,data:l},t,f),d=await(0,s.E)(p,t);(0,a.HT)(t,d)}(t,e,r,l,f,h);throw new n.GU({info:{code:c.O4.NotSupported}},"Not supported")}},81914(t,e,r){t.exports=r(37007).EventEmitter},82415(t,e,r){"use strict";r.d(e,{UU:()=>n.U,h4:()=>o.h4});var n=r(84997),o=(r(38374),r(90176));r(5e3)},82571(t,e,r){"use strict";t.exports=o;var n=r(95689);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}r(56698)(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},84300(t,e,r){"use strict";r.d(e,{f:()=>n});const n=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")}},84819(t,e,r){"use strict";r.d(e,{G:()=>i});var n=r(19621);let o=null;function i(){return o||(o=new n.T),o}},84830(t,e,r){"use strict";r.d(e,{z:()=>u});var n=r(90176),o=r(85394),i=r(36236),s=r(89062),a=r(5e3);async function u(t,e,r={}){const{details:u=!1}=r,c=(0,s.H)({url:(0,o.oq)(t.remoteURL,(0,i.O0)(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,r),l=await(0,s.E)(c,t);(0,a.HT)(t,l);const f=await l.text(),h=await(0,n.h4)(f),p=(0,n.ky)(h,e,u);return(0,a.hq)(l,p,u)}},84997(t,e,r){"use strict";r.d(e,{U:()=>S});var n=r(85394),o=r(36942),i=r(50335),s=r(28161),a=r(68476),u=r(76374),c=r(77101),l=r(75892),f=r(74419),h=r(17658),p=r(39615),d=r(86772),g=r(84830),y=r(80156),m=r(77087),b=r(30047),v=r(81838),w=r(10524),E=r(38374);const O="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function S(t,e={}){const{authType:r=null,remoteBasePath:S,contactHref:A=O,ha1:x,headers:T={},httpAgent:_,httpsAgent:R,password:N,token:j,username:I,withCredentials:P}=e;let L=r;L||(L=I||N?E.hT.Password:E.hT.None);const C={authType:L,remoteBasePath:S,contactHref:A,ha1:x,headers:Object.assign({},T),httpAgent:_,httpsAgent:R,password:N,remotePath:(0,n.wB)(t),remoteURL:t,token:j,username:I,withCredentials:P};return(0,o.e)(C,I,N,j,x),{copyFile:(t,e,r)=>(0,i.m)(C,t,e,r),createDirectory:(t,e)=>(0,s.c)(C,t,e),createReadStream:(t,e)=>(0,a.V)(C,t,e),createWriteStream:(t,e,r)=>(0,a.o)(C,t,e,r),customRequest:(t,e)=>(0,u.J)(C,t,e),deleteFile:(t,e)=>(0,c.W)(C,t,e),exists:(t,e)=>(0,l.t)(C,t,e),getDirectoryContents:(t,e)=>(0,f.A)(C,t,e),getFileContents:(t,e)=>(0,h.F)(C,t,e),getFileDownloadLink:t=>(0,h.b)(C,t),getFileUploadLink:t=>(0,b.w)(C,t),getHeaders:()=>Object.assign({},C.headers),getQuota:t=>(0,d.T)(C,t),lock:(t,e)=>(0,p.s)(C,t,e),moveFile:(t,e,r)=>(0,m.m)(C,t,e,r),putFileContents:(t,e,r)=>(0,b.g)(C,t,e,r),partialUpdateFileContents:(t,e,r,n,o)=>(0,v.V)(C,t,e,r,n,o),getDAVCompliance:t=>(0,w.p)(C,t),search:(t,e)=>(0,y.T)(C,t,e),setHeaders:t=>{C.headers=Object.assign({},t)},stat:(t,e)=>(0,g.z)(C,t,e),unlock:(t,e,r)=>(0,p.T)(C,t,e,r)}}},85394(t,e,r){"use strict";r.d(e,{S8:()=>c,oq:()=>u,wB:()=>a});var n=r(61160),o=r(42294),i=r(406),s=r(36236);function a(t){let e=new n(t).pathname;return e.length<=0&&(e="/"),(0,s.qb)(e)}function u(...t){return(0,i.A)(t.reduce((t,e,r)=>((0===r||"/"!==e||"/"===e&&"/"!==t[t.length-1])&&t.push(e),t),[]))}function c(t){try{return t.replace(/^https?:\/\/[^\/]+/,"")}catch(t){throw new o.GU(t,"Failed normalising HREF")}}},85914(t,e,r){var n;t=r.nmd(t),function(){var o=(t&&t.exports,"object"==typeof globalThis&&globalThis);o.global!==o&&o.window;var i=function(t){this.message=t};(i.prototype=new Error).name="InvalidCharacterError";var s=function(t){throw new i(t)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,c={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var e,r,n,o,i=t.length%3,u="",c=-1,l=t.length-i;++c<l;)e=t.charCodeAt(c)<<16,r=t.charCodeAt(++c)<<8,n=t.charCodeAt(++c),u+=a.charAt((o=e+r+n)>>18&63)+a.charAt(o>>12&63)+a.charAt(o>>6&63)+a.charAt(63&o);return 2==i?(e=t.charCodeAt(c)<<8,r=t.charCodeAt(++c),u+=a.charAt((o=e+r)>>10)+a.charAt(o>>4&63)+a.charAt(o<<2&63)+"="):1==i&&(o=t.charCodeAt(c),u+=a.charAt(o>>2)+a.charAt(o<<4&63)+"=="),u},decode:function(t){var e=(t=String(t).replace(u,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var r,n,o=0,i="",c=-1;++c<e;)n=a.indexOf(t.charAt(c)),r=o%4?64*r+n:n,o++%4&&(i+=String.fromCharCode(255&r>>(-2*o&6)));return i},version:"1.0.0"};void 0===(n=function(){return c}.call(e,r,e,t))||(t.exports=n)}()},86772(t,e,r){"use strict";r.d(e,{T:()=>u});var n=r(89062),o=r(5e3),i=r(90176),s=r(85394),a=r(7815);async function u(t,e={}){const r=e.path||"/",u=(0,n.H)({url:(0,s.oq)(t.remoteURL,r),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e),c=await(0,n.E)(u,t);(0,o.HT)(t,c);const l=await c.text(),f=await(0,i.h4)(l),h=(0,a.K)(f);return(0,o.hq)(c,h,e.details)}},86833(){},86866(t){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},88279(t,e){"use strict";const r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+n+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,e,r){if(e){const n=Object.keys(e),o=n.length;for(let i=0;i<o;i++)t[n[i]]="strict"===r?[e[n[i]]]:e[n[i]]}},e.getValue=function(t){return e.isExist(t)?t:""},e.isName=function(t){return!(null==o.exec(t))},e.getAllMatches=function(t,e){const r=[];let n=e.exec(t);for(;n;){const o=[];o.startIndex=e.lastIndex-n[0].length;const i=n.length;for(let t=0;t<i;t++)o.push(n[t]);r.push(o),n=e.exec(t)}return r},e.nameRegexp=n},88835(t,e,r){"use strict";var n=r(9655);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),l=["%","/","?",";","#"].concat(c),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(55373);function b(t,e,r){if(t&&"object"==typeof t&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),s=-1!==o&&o<t.indexOf("#")?"?":"#",u=t.split(s);u[0]=u[0].replace(/\\/g,"/");var b=t=u.join(s);if(b=b.trim(),!r&&1===t.split("#").length){var v=a.exec(b);if(v)return this.path=b,this.href=b,this.pathname=v[1],v[2]?(this.search=v[2],this.query=e?m.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=i.exec(b);if(w){var E=(w=w[0]).toLowerCase();this.protocol=E,b=b.substr(w.length)}if(r||w||b.match(/^\/\/[^@/]+@[^@/]+/)){var O="//"===b.substr(0,2);!O||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(O||w&&!y[w])){for(var S,A,x=-1,T=0;T<f.length;T++)-1!==(_=b.indexOf(f[T]))&&(-1===x||_<x)&&(x=_);for(-1!==(A=-1===x?b.lastIndexOf("@"):b.lastIndexOf("@",x))&&(S=b.slice(0,A),b=b.slice(A+1),this.auth=decodeURIComponent(S)),x=-1,T=0;T<l.length;T++){var _;-1!==(_=b.indexOf(l[T]))&&(-1===x||_<x)&&(x=_)}-1===x&&(x=b.length),this.host=b.slice(0,x),b=b.slice(x),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var N=this.hostname.split(/\./),j=(T=0,N.length);T<j;T++){var I=N[T];if(I&&!I.match(h)){for(var P="",L=0,C=I.length;L<C;L++)I.charCodeAt(L)>127?P+="x":P+=I[L];if(!P.match(h)){var k=N.slice(0,T),M=N.slice(T+1),$=I.match(p);$&&(k.push($[1]),M.unshift($[2])),M.length&&(b="/"+M.join(".")+b),this.hostname=k.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+D,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!d[E])for(T=0,j=c.length;T<j;T++){var F=c[T];if(-1!==b.indexOf(F)){var H=encodeURIComponent(F);H===F&&(H=escape(F)),b=b.split(F).join(H)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var B=b.indexOf("?");if(-1!==B?(this.search=b.substr(B),this.query=b.substr(B+1),e&&(this.query=m.parse(this.query)),b=b.slice(0,B)):e&&(this.search="",this.query={}),b&&(this.pathname=b),y[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var G=this.search||"";this.path=D+G}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=m.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),e+o+(r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(s=s.replace("#","%23"))+n},o.prototype.resolve=function(t){return this.resolveObject(b(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if("string"==typeof t){var e=new o;e.parse(t,!1,!0),t=e}for(var r=new o,n=Object.keys(this),i=0;i<n.length;i++){var s=n[i];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),u=0;u<a.length;u++){var c=a[u];"protocol"!==c&&(r[c]=t[c])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!y[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var h=l[f];r[h]=t[h]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||g[t.protocol])r.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var d=r.pathname||"",m=r.search||"";r.path=d+m}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=v||b||r.host&&t.pathname,E=w,O=r.pathname&&r.pathname.split("/")||[],S=(p=t.pathname&&t.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===O[0]?O[0]=r.host:O.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===O[0])),v)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),r.search=t.search,r.query=t.query;else if(null!=t.search)return S&&(r.host=O.shift(),r.hostname=r.host,(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.hostname=R.shift(),r.host=r.hostname)),r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!O.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=O.slice(-1)[0],x=(r.host||t.host||O.length>1)&&("."===A||".."===A)||""===A,T=0,_=O.length;_>=0;_--)"."===(A=O[_])?O.splice(_,1):".."===A?(O.splice(_,1),T++):T&&(O.splice(_,1),T--);if(!w&&!E)for(;T--;T)O.unshift("..");!w||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),x&&"/"!==O.join("/").substr(-1)&&O.push("");var R,N=""===O[0]||O[0]&&"/"===O[0].charAt(0);return S&&(r.hostname=N?"":O.length?O.shift():"",r.host=r.hostname,(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.hostname=R.shift(),r.host=r.hostname)),(w=w||r.host&&O.length)&&!N&&O.unshift(""),O.length>0?r.pathname=O.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.parse=b,e.resolve=function(t,e){return b(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?b(t,!1,!0).resolveObject(e):e},e.format=function(t){return"string"==typeof t&&(t=b(t)),t instanceof o?t.format():o.prototype.format.call(t)},e.Url=o},89062(t,e,r){"use strict";r.d(e,{E:()=>g,H:()=>d});var n=r(11568),o=r(11083),i=r(97192),s=r(84819),a=r(22921),u=r(90036),c=r(79275),l=r(79605),f=r(39299),h=r(38374),p=r(36942);function d(t,e,r){const n=(0,c.q)(t);return n.headers=(0,l.l)(e.headers,n.headers||{},r.headers||{}),void 0!==r.data&&(n.data=r.data),r.signal&&(n.signal=r.signal),e.httpAgent&&(n.httpAgent=e.httpAgent),e.httpsAgent&&(n.httpsAgent=e.httpsAgent),e.digest&&(n._digest=e.digest),"boolean"==typeof e.withCredentials&&(n.withCredentials=e.withCredentials),n}async function g(t,e){return e.authType===h.hT.Auto?async function(t,e){const r=await m(t);return r.ok?(e.authType=h.hT.Password,r):401==r.status&&(0,u.oD)(r)?(e.authType=h.hT.Digest,(0,p.e)(e,e.username,e.password,void 0,void 0),t._digest=e.digest,y(t)):r}(t,e):t._digest?y(t):m(t)}async function y(t){const e=t._digest;delete t._digest,e.hasDigestAuth&&(t=(0,c.h)(t,{headers:{Authorization:(0,u.XX)(t,e)}}));const r=await m(t);if(401==r.status){if(e.hasDigestAuth=(0,u.Wb)(r,e),e.hasDigestAuth){t=(0,c.h)(t,{headers:{Authorization:(0,u.XX)(t,e)}});const r=await m(t);return 401==r.status?e.hasDigestAuth=!1:e.nc++,r}}else e.nc++;return r}function m(t){const e=(0,s.G)();return e.patchInline("request",t=>e.patchInline("fetch",i.hd,t.url,function(t){let e={};const r={method:t.method};if(t.headers&&(e=(0,l.l)(e,t.headers)),void 0!==t.data){const[n,o]=(0,f.P)(t.data);r.body=n,e=(0,l.l)(e,o)}return t.signal&&(r.signal=t.signal),t.withCredentials&&(r.credentials="include"),(0,a.HZ)()||(0,a.lV)()||(t.httpAgent||t.httpsAgent)&&(r.agent=e=>"http:"===e.protocol?t.httpAgent||new n.Agent:t.httpsAgent||new o.Agent),r.headers=e,r}(t)),t)}},89793(t,e,r){"use strict";function n(t){return`${t.token_type} ${t.access_token}`}r.d(e,{O:()=>n})},90036(t,e,r){"use strict";r.d(e,{C8:()=>i,Wb:()=>a,XX:()=>s,oD:()=>u});var n=r(83503),o=r(35658);function i(t,e,r){return{username:t,password:e,ha1:r,nc:0,algorithm:"md5",hasDigestAuth:!1}}function s(t,e){const r=t.url.replace("//",""),i=-1==r.indexOf("/")?"/":r.slice(r.indexOf("/")),s=t.method?t.method.toUpperCase():"GET",a=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",u=`00000000${e.nc}`.slice(-8),c=(0,o.M)(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),l=n(`${s}:${i}`),f=n(a?`${c}:${e.nonce}:${u}:${e.cnonce}:${a}:${l}`:`${c}:${e.nonce}:${l}`),h={username:e.username,realm:e.realm,nonce:e.nonce,uri:i,qop:a,response:f,nc:u,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},p=[];for(const t in h)h[t]&&("qop"===t||"nc"===t||"algorithm"===t?p.push(`${t}=${h[t]}`):p.push(`${t}="${h[t]}"`));return`Digest ${p.join(", ")}`}function a(t,e){if(!u(t))return!1;const r=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;for(;;){const n=t.headers&&t.headers.get("www-authenticate")||"",o=r.exec(n);if(!o)break;e[o[1]]=o[2]||o[3]}return e.nc+=1,e.cnonce=function(){let t="";for(let e=0;e<32;++e)t=`${t}${"abcdef0123456789"[Math.floor(16*Math.random())]}`;return t}(),!0}function u(t){return"digest"===(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()}},90176(t,e,r){"use strict";r.d(e,{KA:()=>h,ch:()=>l,h4:()=>c,i5:()=>p,ky:()=>f});var n,o=r(12692),i=r(14113),s=r(26602),a=r(36236);function u(t,e,r=n.Original){const o=s.get(t,e);return"array"===r&&!1===Array.isArray(o)?[o]:"object"===r&&Array.isArray(o)?o[0]:o}function c(t){return new Promise(e=>{e(function(t){const{multistatus:e}=t;if(""===e)return{multistatus:{response:[]}};if(!e)throw new Error("Invalid response: No root multistatus found");const r={multistatus:Array.isArray(e)?e[0]:e};return s.set(r,"multistatus.response",u(r,"multistatus.response",n.Array)),s.set(r,"multistatus.response",s.get(r,"multistatus.response").map(t=>function(t){const e=Object.assign({},t);return e.status?s.set(e,"status",u(e,"status",n.Object)):(s.set(e,"propstat",u(e,"propstat",n.Object)),s.set(e,"propstat.prop",u(e,"propstat.prop",n.Object))),e}(t))),r}(new i.XMLParser({allowBooleanAttributes:!0,attributeNamePrefix:"",textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor:(t,e,r)=>"true"===e||"false"===e?"true"===e:e,tagValueProcessor(t,e,r){if(!r.endsWith("propstat.prop.displayname"))return e}}).parse(t)))})}function l(t,e,r=!1){const{getlastmodified:n=null,getcontentlength:i="0",resourcetype:s=null,getcontenttype:a=null,getetag:u=null}=t,c=s&&"object"==typeof s&&void 0!==s.collection?"directory":"file",l={filename:e,basename:o.basename(e),lastmod:n,size:parseInt(i,10),type:c,etag:"string"==typeof u?u.replace(/"/g,""):null};return"file"===c&&(l.mime=a&&"string"==typeof a?a.split(";")[0]:""),r&&(void 0!==t.displayname&&(t.displayname=String(t.displayname)),l.props=t),l}function f(t,e,r=!1){let n=null;try{t.multistatus.response[0].propstat&&(n=t.multistatus.response[0])}catch(t){}if(!n)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:o,status:i}}=n,[s,u,c]=i.split(" ",3),f=parseInt(u,10);if(f>=400){const t=new Error(`Invalid response: ${f} ${c}`);throw t.status=f,t}return l(o,(0,a.qb)(e),r)}function h(t,e,r){const n={truncated:!1,results:[]};return n.truncated=t.multistatus.response.some(t=>"507"===(t.status||t.propstat?.status).split(" ",3)?.[1]&&t.href.replace(/\/$/,"").endsWith((0,a.O0)(e).replace(/\/$/,""))),t.multistatus.response.forEach(t=>{if(void 0===t.propstat)return;const e=t.href.split("/").map(decodeURIComponent).join("/");n.results.push(l(t.propstat.prop,e,r))}),n}function p(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}!function(t){t.Array="array",t.Object="object",t.Original="original"}(n||(n={}))},91573(t,e,r){},92063(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},92148(t,e,r){},93028(t,e,r){"use strict";function n(t){if(!o(t))throw new Error("Parameter was not an error")}function o(t){return!!t&&"object"==typeof t&&"[object Error]"===(e=t,Object.prototype.toString.call(e))||t instanceof Error;var e}r.d(e,{b:()=>o,t:()=>n})},95109(t,e){const r={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t}};e.buildOptions=function(t){return Object.assign({},r,t)},e.defaultOptions=r},95689(t,e,r){"use strict";t.exports=l;var n=r(73157).F,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(63527);function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);u.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(e,r){h(t,e,r)})}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new a;if(t._transformState.transforming)throw new s;return t.push(null)}r(56698)(l,u),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,u.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new o("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){u.prototype._destroy.call(this,t,function(t){e(t)})}},96689(t,e,r){"use strict";r.d(e,{A:()=>n});const n=(0,r(35947).YK)().setApp("comments").detectUser().build()},97192(t,e,r){"use strict";r.d(e,{hd:()=>o});const n="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:"undefined"!=typeof window?window:globalThis,o=n.fetch.bind(n);n.Headers,n.Request,n.Response},98636(t,e,r){"use strict";var n=r(920),o=r(37720),i=r(74765),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=Array.prototype.push,l=function(t,e){c.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,h=i.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},d={},g=function t(e,r,i,s,a,c,f,h,g,y,m,b,v,w,E,O,S,A){for(var x,T=e,_=A,R=0,N=!1;void 0!==(_=_.get(d))&&!N;){var j=_.get(e);if(R+=1,void 0!==j){if(j===R)throw new RangeError("Cyclic object value");N=!0}void 0===_.get(d)&&(R=0)}if("function"==typeof y?T=y(r,T):T instanceof Date?T=v(T):"comma"===i&&u(T)&&(T=o.maybeMap(T,function(t){return t instanceof Date?v(t):t})),null===T){if(c)return g&&!O?g(r,p.encoder,S,"key",w):r;T=""}if("string"==typeof(x=T)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||o.isBuffer(T))return g?[E(O?r:g(r,p.encoder,S,"key",w))+"="+E(g(T,p.encoder,S,"value",w))]:[E(r)+"="+E(String(T))];var I,P=[];if(void 0===T)return P;if("comma"===i&&u(T))O&&g&&(T=o.maybeMap(T,g)),I=[{value:T.length>0?T.join(",")||null:void 0}];else if(u(y))I=y;else{var L=Object.keys(T);I=m?L.sort(m):L}var C=h?String(r).replace(/\./g,"%2E"):String(r),k=s&&u(T)&&1===T.length?C+"[]":C;if(a&&u(T)&&0===T.length)return k+"[]";for(var M=0;M<I.length;++M){var $=I[M],D="object"==typeof $&&$&&void 0!==$.value?$.value:T[$];if(!f||null!==D){var U=b&&h?String($).replace(/\./g,"%2E"):String($),F=u(T)?"function"==typeof i?i(k,U):k:k+(b?"."+U:"["+U+"]");A.set(e,R);var H=n();H.set(d,A),l(P,t(D,F,i,s,a,c,f,h,"comma"===i&&O&&u(T)?null:g,y,m,b,v,w,E,O,S,H))}}return P};t.exports=function(t,e){var r,o=t,c=function(t){if(!t)return p;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==t.format){if(!s.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n,o=i.formatters[r],c=p.filter;if(("function"==typeof t.filter||u(t.filter))&&(c=t.filter),n=t.arrayFormat in a?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===t.allowDots?!0===t.encodeDotInKeys||p.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:n,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:c,format:r,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof c.filter?o=(0,c.filter)("",o):u(c.filter)&&(r=c.filter);var f=[];if("object"!=typeof o||null===o)return"";var h=a[c.arrayFormat],d="comma"===h&&c.commaRoundTrip;r||(r=Object.keys(o)),c.sort&&r.sort(c.sort);for(var y=n(),m=0;m<r.length;++m){var b=r[m],v=o[b];c.skipNulls&&null===v||l(f,g(v,b,h,d,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var w=f.join(c.delimiter),E=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),w.length>0?E+w:""}},98957(t,e,r){"use strict";const n=r(88279),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function s(t,e){const r=e;for(;e<t.length;e++)if("?"==t[e]||" "==t[e]){const n=t.substr(r,e-r);if(e>5&&"xml"===n)return h("InvalidXml","XML declaration allowed only at the start of the document.",g(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}continue}return e}function a(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let r=1;for(e+=8;e<t.length;e++)if("<"===t[e])r++;else if(">"===t[e]&&(r--,0===r))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}function u(t,e){let r="",n="",o=!1;for(;e<t.length;e++){if('"'===t[e]||"'"===t[e])""===n?n=t[e]:n!==t[e]||(n="");else if(">"===t[e]&&""===n){o=!0;break}r+=t[e]}return""===n&&{value:r,index:e,tagClosed:o}}e.validate=function(t,e){e=Object.assign({},o,e);const r=[];let n=!1,c=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let o=0;o<t.length;o++)if("<"===t[o]&&"?"===t[o+1]){if(o+=2,o=s(t,o),o.err)return o}else{if("<"!==t[o]){if(i(t[o]))continue;return h("InvalidChar","char '"+t[o]+"' is not expected.",g(t,o))}{let p=o;if(o++,"!"===t[o]){o=a(t,o);continue}{let y=!1;"/"===t[o]&&(y=!0,o++);let m="";for(;o<t.length&&">"!==t[o]&&" "!==t[o]&&"\t"!==t[o]&&"\n"!==t[o]&&"\r"!==t[o];o++)m+=t[o];if(m=m.trim(),"/"===m[m.length-1]&&(m=m.substring(0,m.length-1),o--),!d(m)){let e;return e=0===m.trim().length?"Invalid space after '<'.":"Tag '"+m+"' is an invalid name.",h("InvalidTag",e,g(t,o))}const b=u(t,o);if(!1===b)return h("InvalidAttr","Attributes for '"+m+"' have open quote.",g(t,o));let v=b.value;if(o=b.index,"/"===v[v.length-1]){const r=o-v.length;v=v.substring(0,v.length-1);const i=l(v,e);if(!0!==i)return h(i.err.code,i.err.msg,g(t,r+i.err.line));n=!0}else if(y){if(!b.tagClosed)return h("InvalidTag","Closing tag '"+m+"' doesn't have proper closing.",g(t,o));if(v.trim().length>0)return h("InvalidTag","Closing tag '"+m+"' can't have attributes or invalid starting.",g(t,p));if(0===r.length)return h("InvalidTag","Closing tag '"+m+"' has not been opened.",g(t,p));{const e=r.pop();if(m!==e.tagName){let r=g(t,e.tagStartPos);return h("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+m+"'.",g(t,p))}0==r.length&&(c=!0)}}else{const i=l(v,e);if(!0!==i)return h(i.err.code,i.err.msg,g(t,o-v.length+i.err.line));if(!0===c)return h("InvalidXml","Multiple possible root nodes found.",g(t,o));-1!==e.unpairedTags.indexOf(m)||r.push({tagName:m,tagStartPos:p}),n=!0}for(o++;o<t.length;o++)if("<"===t[o]){if("!"===t[o+1]){o++,o=a(t,o);continue}if("?"!==t[o+1])break;if(o=s(t,++o),o.err)return o}else if("&"===t[o]){const e=f(t,o);if(-1==e)return h("InvalidChar","char '&' is not expected.",g(t,o));o=e}else if(!0===c&&!i(t[o]))return h("InvalidXml","Extra text at the end",g(t,o));"<"===t[o]&&o--}}}return n?1==r.length?h("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",g(t,r[0].tagStartPos)):!(r.length>0)||h("InvalidXml","Invalid '"+JSON.stringify(r.map(t=>t.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):h("InvalidXml","Start tag expected.",1)};const c=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function l(t,e){const r=n.getAllMatches(t,c),o={};for(let t=0;t<r.length;t++){if(0===r[t][1].length)return h("InvalidAttr","Attribute '"+r[t][2]+"' has no space in starting.",y(r[t]));if(void 0!==r[t][3]&&void 0===r[t][4])return h("InvalidAttr","Attribute '"+r[t][2]+"' is without value.",y(r[t]));if(void 0===r[t][3]&&!e.allowBooleanAttributes)return h("InvalidAttr","boolean attribute '"+r[t][2]+"' is not allowed.",y(r[t]));const n=r[t][2];if(!p(n))return h("InvalidAttr","Attribute '"+n+"' is an invalid name.",y(r[t]));if(o.hasOwnProperty(n))return h("InvalidAttr","Attribute '"+n+"' is repeated.",y(r[t]));o[n]=1}return!0}function f(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let r=/\d/;for("x"===t[e]&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(r))break}return-1}(t,++e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(";"===t[e])break;return-1}return e}function h(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function p(t){return n.isName(t)}function d(t){return n.isName(t)}function g(t,e){const r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function y(t){return t.startIndex+t[1].length}},99721(t,e,r){"use strict";var n=r(36556),o=r(14035),i=n("RegExp.prototype.exec"),s=r(69675);t.exports=function(t){if(!o(t))throw new s("`regex` must be a RegExp");return function(e){return null!==i(t,e)}}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=n,t=[],i.O=(e,r,n,o)=>{if(!r){var s=1/0;for(l=0;l<t.length;l++){for(var[r,n,o]=t[l],a=!0,u=0;u<r.length;u++)(!1&o||s>=o)&&Object.keys(i.O).every(t=>i.O[t](r[u]))?r.splice(u--,1):(a=!1,o<s&&(s=o));if(a){t.splice(l--,1);var c=n();void 0!==c&&(e=c)}}return e}o=o||0;for(var l=t.length;l>0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[r,n,o]},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.f={},i.e=t=>Promise.all(Object.keys(i.f).reduce((e,r)=>(i.f[r](t,e),e),[])),i.u=t=>t+"-"+t+".js?v="+{2710:"0c2e26891ac1c05900e0",3556:"920f98152ec7950e8055",4471:"9b3c8620f038b7593241",4508:"4f9ba343a7e7fd00523e",4906:"494ff510a1379d42d106",5528:"4969c40bb399c4a4330d",5862:"580b9c2e231a9169a12f",7004:"da5a822695a273d4d2eb",7039:"9800c2c4f93af8d9465e",7394:"5b773f16893ed80e0246",7859:"cd6f48c919ca307639eb",8124:"7273b44251b9ce503f49",8127:"b62d5791b2d7256af4a8",8453:"0ad2c9a35eee895d5980"}[t],i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),e={},r="nextcloud-ui-legacy:",i.l=(t,n,o,s)=>{if(e[t])e[t].push(n);else{var a,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){a=f;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var h=(r,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(t=>t(n)),r)return r(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),u&&document.head.appendChild(a)}},i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),i.j=2122,(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=t})(),(()=>{i.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={2122:0};i.f.j=(e,r)=>{var n=i.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=t[e]=[r,o]);r.push(n[2]=o);var s=i.p+i.u(e),a=new Error;i.l(s,r=>{if(i.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+s+")",a.name="ChunkLoadError",a.type=o,a.request=s,n[1](a)}},"chunk-"+e,e)}},i.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[s,a,u]=r,c=0;if(s.some(e=>0!==t[e])){for(n in a)i.o(a,n)&&(i.m[n]=a[n]);if(u)var l=u(i)}for(e&&e(r);c<s.length;c++)o=s[c],i.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return i.O(l)},r=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),i.nc=void 0;var s=i.O(void 0,[4208],()=>i(5428));s=i.O(s)})();
//# sourceMappingURL=comments-comments-tab.js.map?v=36fd1625db4285a5dba8